Commit Graph

24 Commits

Author SHA1 Message Date
ralf
445c0b9206 Revert "Fix Et2LinkAdd still tried to use Lion slots" as it seems to break all CSS in 23.1 :(
This reverts commit 874264bc26.
2024-07-13 06:56:54 +02:00
nathan
874264bc26 Fix Et2LinkAdd still tried to use Lion slots 2024-07-12 09:55:30 -06:00
ralf
e9d366aa98 WIP accessibility of widgets:
- fixed fallback-order for aria-attributes (done now in connected callback and not updated, which was not reliable in the order called)
- aria-label set by (in order of priority): ariaLabel, label, placeholder, statustext
- aria-description set by (----- " -----): ariaDescription, helpText, statustext (if not already used for -label)
- following widget work now (incl. focus by click on label): et2-textbox, et2-date*, et2-url*, et2-select*
2024-04-26 12:04:37 +02:00
ralf
8236b03d45 using single link.svg from api and use it by default for all link* buttons 2023-11-24 07:26:49 +02:00
nathan
da92471920 Add default keyboard shortcuts for save & cancel buttons 2023-11-08 14:37:30 -07:00
Nathan Gray
e323cd1d79
Feature/shoelace 2.4 upgrade (#135)
Update shoelace to 2.9.0
2023-09-13 11:55:33 -06:00
nathan
d87e0c7f38 Fix missing default button images 2023-01-16 16:15:57 -07:00
nathan
9a190321c1 Et2Button: Fix class mixup that broke buttons 2023-01-05 09:00:02 -07:00
nathan
acd44a1e0e Get tests for Button passing again 2023-01-04 15:03:43 -07:00
nathan
40278c8827 Get our WebComponent tests running again
Made a lot of "failed to construct htmlelement" errors go away, avoid a bunch of egwIsMobile is undefined errors
2023-01-04 12:01:09 -07:00
nathan
b0bedc8467 Accessability improvements
- Toolbar buttons get label, but it is visually hidden
- Add label to calendar Add button
2022-12-22 14:14:45 -07:00
nathan
e875b9ddf4 Use same background color for primary buttons 2022-12-05 10:54:05 -07:00
nathan
3a1c415ce4 Styling for buttons on dialog 2022-12-02 11:23:09 -07:00
nathan
c81ff8b444 Fix disabled buttons had different styling than normal buttons 2022-12-01 13:03:39 -07:00
nathan
5c3d35aa05 Fix missing SVG icons for some images
They weren't missing, just 0x0px
2022-11-23 14:35:36 -07:00
Hadi Nategh
d1841f9985 Fix hideonreadonly sometimes not being applied (eg. hbox) 2022-10-21 13:29:16 +02:00
ralf
196024a454 stopping buttons in dialog from submitting it to server-side 2022-10-06 13:55:24 +02:00
nathan
91bd7d5a43 Et2Button: Fix disabled was still hiding the event even if hideonreadonly was false 2022-09-22 15:20:21 -06:00
Hadi Nategh
79cec31989 Fix label of button overlaps outside its container if it gets squeezed enough 2022-09-08 12:47:11 +02:00
Hadi Nategh
978d356eed Set background color for buttons used in dialogs footer 2022-09-05 10:10:11 +02:00
Hadi Nategh
e1a87caf6c WIP of better UI 2022-08-30 07:50:43 +02:00
ralf
ffb8354728 move label stuff to Et2Button as Et2ButtonIcon does not need it 2022-08-22 22:00:18 +02:00
ralf
263f2c867f re-add lost label getter and setter to fix not shown labels in buttons 2022-08-22 20:24:40 +02:00
nathan
f0dcc1685d Move our button code into a mixin and extend sl-button to our current et2-button and sl-icon-button to a new et2-button-icon. 2022-08-22 08:44:54 -06:00