luxen-ui 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/bin/cli.mjs +16 -1
- package/cdn/custom-elements.json +295 -169
- package/cdn/elements/alert-dialog/alert-dialog.d.ts +3 -2
- package/cdn/elements/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/cdn/elements/alert-dialog/alert-dialog.js.map +1 -1
- package/cdn/elements/avatar/avatar.js +1 -1
- package/cdn/elements/avatar/avatar.js.map +1 -1
- package/cdn/elements/carousel/carousel.js +1 -1
- package/cdn/elements/carousel/carousel.js.map +1 -1
- package/cdn/elements/combobox/combobox.d.ts.map +1 -1
- package/cdn/elements/combobox/combobox.js +2 -1
- package/cdn/elements/combobox/combobox.js.map +1 -1
- package/cdn/elements/dialog/dialog.d.ts +2 -1
- package/cdn/elements/dialog/dialog.d.ts.map +1 -1
- package/cdn/elements/dialog/dialog.js.map +1 -1
- package/cdn/elements/dialog/dialog.styles.js +1 -1
- package/cdn/elements/dialog/dialog.styles.js.map +1 -1
- package/cdn/elements/drawer/drawer.d.ts +7 -7
- package/cdn/elements/drawer/drawer.js +1 -1
- package/cdn/elements/drawer/drawer.js.map +1 -1
- package/cdn/elements/dropdown-item/dropdown-item.js +1 -1
- package/cdn/elements/dropdown-item/dropdown-item.js.map +1 -1
- package/cdn/elements/input-otp/input-otp.d.ts +2 -2
- package/cdn/elements/input-otp/input-otp.js.map +1 -1
- package/cdn/elements/prose-editor/prose-editor.js +1 -1
- package/cdn/elements/prose-editor/prose-editor.js.map +1 -1
- package/cdn/elements/rating/rating.js +1 -1
- package/cdn/elements/rating/rating.js.map +1 -1
- package/cdn/elements/select/select.d.ts.map +1 -1
- package/cdn/elements/select/select.js +2 -1
- package/cdn/elements/select/select.js.map +1 -1
- package/cdn/elements/slider/slider.js +1 -1
- package/cdn/elements/slider/slider.js.map +1 -1
- package/cdn/elements/stories-viewer/stories-viewer.js +1 -1
- package/cdn/elements/stories-viewer/stories-viewer.js.map +1 -1
- package/cdn/elements/table/table.meta.d.ts +55 -0
- package/cdn/elements/table/table.meta.d.ts.map +1 -0
- package/cdn/elements/table/table.meta.js +0 -0
- package/cdn/elements/tag/tag.js +1 -1
- package/cdn/elements/tag/tag.js.map +1 -1
- package/cdn/elements/tree/tree.js +1 -1
- package/cdn/elements/tree/tree.js.map +1 -1
- package/cdn/elements/tree-item/tree-item.js +1 -1
- package/cdn/elements/tree-item/tree-item.js.map +1 -1
- package/cdn/shared/controllers/listbox-nav.d.ts +7 -0
- package/cdn/shared/controllers/listbox-nav.d.ts.map +1 -1
- package/cdn/shared/controllers/listbox-nav.js +1 -1
- package/cdn/shared/controllers/listbox-nav.js.map +1 -1
- package/cdn/shared/styles/button-core.styles.js +1 -1
- package/cdn/shared/styles/button-core.styles.js.map +1 -1
- package/cdn/shared/styles/checkbox-appearance.styles.js +1 -1
- package/cdn/shared/styles/checkbox-appearance.styles.js.map +1 -1
- package/cdn/shared/styles/picker-core.styles.js +1 -1
- package/cdn/shared/styles/picker-core.styles.js.map +1 -1
- package/cdn/standalone.css +392 -86
- package/cdn/standalone.js +38 -28
- package/cdn/standalone.js.map +1 -1
- package/cdn/styles/base.css +11 -0
- package/cdn/styles/elements/breadcrumb.css +2 -2
- package/cdn/styles/elements/button.css +2 -2
- package/cdn/styles/elements/checkbox.css +2 -2
- package/cdn/styles/elements/close-button/circle.css +2 -2
- package/cdn/styles/elements/close-button/ring.css +2 -2
- package/cdn/styles/elements/close-button/square.css +2 -2
- package/cdn/styles/elements/disclosure.css +2 -2
- package/cdn/styles/elements/input-otp.css +20 -4
- package/cdn/styles/elements/input-stepper/default.css +2 -2
- package/cdn/styles/elements/input-stepper/pill.css +2 -2
- package/cdn/styles/elements/input-stepper/rounded.css +2 -2
- package/cdn/styles/elements/input.css +50 -17
- package/cdn/styles/elements/prose-editor.css +26 -11
- package/cdn/styles/elements/radio-group.css +2 -2
- package/cdn/styles/elements/radio.css +2 -2
- package/cdn/styles/elements/segmented-control.css +2 -2
- package/cdn/styles/elements/select.css +26 -5
- package/cdn/styles/elements/story.css +2 -2
- package/cdn/styles/elements/switch.css +2 -2
- package/cdn/styles/elements/table.css +186 -0
- package/cdn/styles/elements/tabs/enclosed.css +4 -4
- package/cdn/styles/elements/tabs/line.css +4 -4
- package/cdn/styles/elements/textarea.css +23 -9
- package/cdn/styles/preset.css +21 -2
- package/cdn/styles/tokens/aliases.css +6 -2
- package/cdn/styles/tokens/forms.css +4 -0
- package/cdn/styles/tokens.css +10 -2
- package/dist/css/base.css +11 -0
- package/dist/css/elements/breadcrumb.css +2 -2
- package/dist/css/elements/button.css +2 -2
- package/dist/css/elements/checkbox.css +2 -2
- package/dist/css/elements/close-button/circle.css +2 -2
- package/dist/css/elements/close-button/ring.css +2 -2
- package/dist/css/elements/close-button/square.css +2 -2
- package/dist/css/elements/disclosure.css +2 -2
- package/dist/css/elements/input-otp.css +20 -4
- package/dist/css/elements/input-stepper/default.css +2 -2
- package/dist/css/elements/input-stepper/pill.css +2 -2
- package/dist/css/elements/input-stepper/rounded.css +2 -2
- package/dist/css/elements/input.css +50 -17
- package/dist/css/elements/prose-editor.css +26 -11
- package/dist/css/elements/radio-group.css +2 -2
- package/dist/css/elements/radio.css +2 -2
- package/dist/css/elements/segmented-control.css +2 -2
- package/dist/css/elements/select.css +26 -5
- package/dist/css/elements/story.css +2 -2
- package/dist/css/elements/switch.css +2 -2
- package/dist/css/elements/table.css +186 -0
- package/dist/css/elements/tabs/enclosed.css +4 -4
- package/dist/css/elements/tabs/line.css +4 -4
- package/dist/css/elements/textarea.css +23 -9
- package/dist/css/preset.css +21 -2
- package/dist/css/tokens/aliases.css +6 -2
- package/dist/css/tokens/forms.css +4 -0
- package/dist/css/tokens.css +10 -2
- package/dist/custom-elements.json +295 -169
- package/dist/elements/alert-dialog/alert-dialog.d.ts +3 -2
- package/dist/elements/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/dist/elements/alert-dialog/alert-dialog.js +3 -2
- package/dist/elements/avatar/avatar.css +2 -2
- package/dist/elements/carousel/carousel.css +18 -0
- package/dist/elements/combobox/combobox.css +9 -0
- package/dist/elements/combobox/combobox.d.ts.map +1 -1
- package/dist/elements/combobox/combobox.js +1 -0
- package/dist/elements/dialog/dialog.css +12 -0
- package/dist/elements/dialog/dialog.d.ts +2 -1
- package/dist/elements/dialog/dialog.d.ts.map +1 -1
- package/dist/elements/dialog/dialog.js +2 -1
- package/dist/elements/drawer/drawer.css +11 -1
- package/dist/elements/drawer/drawer.d.ts +7 -7
- package/dist/elements/drawer/drawer.js +7 -7
- package/dist/elements/dropdown-item/dropdown-item.css +5 -4
- package/dist/elements/input-otp/input-otp.d.ts +2 -2
- package/dist/elements/input-otp/input-otp.js +2 -2
- package/dist/elements/prose-editor/prose-editor.css +5 -3
- package/dist/elements/rating/rating.css +9 -10
- package/dist/elements/select/select.css +10 -9
- package/dist/elements/select/select.d.ts.map +1 -1
- package/dist/elements/select/select.js +1 -0
- package/dist/elements/slider/slider.css +5 -1
- package/dist/elements/stories-viewer/stories-viewer.css +10 -2
- package/dist/elements/table/table.meta.d.ts +55 -0
- package/dist/elements/table/table.meta.d.ts.map +1 -0
- package/dist/elements/table/table.meta.js +65 -0
- package/dist/elements/tag/tag.css +4 -4
- package/dist/elements/tree/tree.css +3 -3
- package/dist/elements/tree-item/tree-item.css +5 -3
- package/dist/metadata/alert-dialog.json +90 -85
- package/dist/metadata/alert.json +22 -22
- package/dist/metadata/avatar.json +26 -26
- package/dist/metadata/badge.json +13 -13
- package/dist/metadata/breadcrumb.json +9 -9
- package/dist/metadata/button.json +40 -40
- package/dist/metadata/carousel.json +133 -133
- package/dist/metadata/checkbox.json +13 -13
- package/dist/metadata/close-button.json +15 -15
- package/dist/metadata/color-scheme-icon.json +13 -13
- package/dist/metadata/combobox.json +77 -94
- package/dist/metadata/dialog.json +49 -44
- package/dist/metadata/disclosure.json +17 -17
- package/dist/metadata/divider.json +12 -12
- package/dist/metadata/drawer.json +61 -61
- package/dist/metadata/dropdown-item.json +50 -50
- package/dist/metadata/dropdown.json +32 -32
- package/dist/metadata/form-field.json +15 -15
- package/dist/metadata/icon.json +8 -8
- package/dist/metadata/index.json +1761 -1765
- package/dist/metadata/input-group.json +5 -5
- package/dist/metadata/input-otp.json +17 -17
- package/dist/metadata/input-stepper.json +24 -24
- package/dist/metadata/input.json +31 -31
- package/dist/metadata/popover.json +49 -49
- package/dist/metadata/progress.json +15 -15
- package/dist/metadata/prose-editor.json +110 -116
- package/dist/metadata/radio.json +15 -15
- package/dist/metadata/rating.json +25 -47
- package/dist/metadata/segmented-control.json +24 -46
- package/dist/metadata/select.json +81 -98
- package/dist/metadata/skeleton.json +12 -12
- package/dist/metadata/slider.json +60 -78
- package/dist/metadata/spinner.json +5 -5
- package/dist/metadata/sticky-bar.json +13 -13
- package/dist/metadata/stories-viewer.json +105 -105
- package/dist/metadata/stories.json +17 -17
- package/dist/metadata/story.json +41 -41
- package/dist/metadata/switch.json +9 -9
- package/dist/metadata/table.json +88 -0
- package/dist/metadata/tabs.json +26 -26
- package/dist/metadata/tag.json +50 -50
- package/dist/metadata/textarea.json +28 -28
- package/dist/metadata/toast.json +16 -16
- package/dist/metadata/tooltip.json +49 -49
- package/dist/metadata/tree-item.json +73 -73
- package/dist/metadata/tree.json +39 -39
- package/dist/shared/controllers/listbox-nav.d.ts +7 -0
- package/dist/shared/controllers/listbox-nav.d.ts.map +1 -1
- package/dist/shared/controllers/listbox-nav.js +12 -0
- package/dist/shared/styles/button-core.css +2 -2
- package/dist/shared/styles/checkbox-appearance.css +2 -2
- package/dist/shared/styles/picker-core.css +31 -7
- package/dist/templates/elements/alert-dialog.md +19 -18
- package/dist/templates/elements/alert.md +4 -4
- package/dist/templates/elements/avatar.md +9 -9
- package/dist/templates/elements/badge.md +4 -4
- package/dist/templates/elements/breadcrumb.md +4 -4
- package/dist/templates/elements/button.md +8 -8
- package/dist/templates/elements/carousel.md +32 -32
- package/dist/templates/elements/checkbox.md +4 -4
- package/dist/templates/elements/close-button.md +2 -2
- package/dist/templates/elements/color-scheme-icon.md +13 -13
- package/dist/templates/elements/combobox.md +19 -19
- package/dist/templates/elements/dialog.md +11 -10
- package/dist/templates/elements/disclosure.md +3 -3
- package/dist/templates/elements/divider.md +2 -2
- package/dist/templates/elements/drawer.md +15 -15
- package/dist/templates/elements/dropdown.md +15 -15
- package/dist/templates/elements/form-field.md +3 -3
- package/dist/templates/elements/icon.md +1 -1
- package/dist/templates/elements/input-otp.md +5 -5
- package/dist/templates/elements/input-stepper.md +4 -4
- package/dist/templates/elements/input.md +15 -8
- package/dist/templates/elements/popover.md +8 -8
- package/dist/templates/elements/progress.md +3 -3
- package/dist/templates/elements/prose-editor.md +38 -39
- package/dist/templates/elements/radio.md +6 -6
- package/dist/templates/elements/rating.md +5 -13
- package/dist/templates/elements/segmented-control.md +4 -4
- package/dist/templates/elements/select.md +23 -23
- package/dist/templates/elements/skeleton.md +2 -2
- package/dist/templates/elements/slider.md +13 -13
- package/dist/templates/elements/spinner.md +1 -1
- package/dist/templates/elements/sticky-bar.md +2 -2
- package/dist/templates/elements/stories-viewer.md +29 -29
- package/dist/templates/elements/stories.md +4 -4
- package/dist/templates/elements/story.md +11 -11
- package/dist/templates/elements/switch.md +5 -5
- package/dist/templates/elements/table.md +210 -0
- package/dist/templates/elements/tabs.md +4 -4
- package/dist/templates/elements/tag.md +14 -14
- package/dist/templates/elements/textarea.md +8 -8
- package/dist/templates/elements/toast.md +4 -4
- package/dist/templates/elements/tooltip.md +9 -9
- package/dist/templates/elements/tree-item.md +18 -18
- package/dist/templates/elements/tree.md +13 -13
- package/dist/templates/foundations/focus.md +303 -0
- package/elements.json +9 -0
- package/package.json +1 -1
- package/postcss-plugin-prefix.js +2 -2
- package/templates/SKILL.md.tpl +1 -0
- package/templates/choosing-elements.md.tpl +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.d.ts","sourceRoot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;CACT"}
|
|
@@ -488,6 +488,7 @@ export class Combobox extends LuxenFormAssociatedElement {
|
|
|
488
488
|
role="listbox"
|
|
489
489
|
id=${this._listId}
|
|
490
490
|
aria-label=${this.label || this._localize.term('suggestions')}
|
|
491
|
+
data-nav=${this._nav.keyboard ? 'keyboard' : 'pointer'}
|
|
491
492
|
@pointermove=${this._nav.onPointerMove}
|
|
492
493
|
@pointerleave=${this._nav.onPointerLeave}
|
|
493
494
|
>
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
--easing: cubic-bezier(0.32, 0.72, 0, 1);
|
|
12
12
|
--backdrop: var(--l-backdrop);
|
|
13
13
|
--backdrop-blur: 0;
|
|
14
|
+
/* No shadow by default: on the standard backdrop the contrast already lifts
|
|
15
|
+
the surface. A lighter backdrop needs one to keep the edge readable. */
|
|
16
|
+
--shadow: none;
|
|
14
17
|
|
|
15
18
|
display: contents;
|
|
16
19
|
}
|
|
@@ -28,6 +31,15 @@ dialog {
|
|
|
28
31
|
border-radius: var(--border-radius);
|
|
29
32
|
background-color: var(--l-color-surface-overlay);
|
|
30
33
|
color: var(--l-color-text-primary);
|
|
34
|
+
box-shadow: var(--shadow);
|
|
35
|
+
|
|
36
|
+
/* Forced colors repaint the panel and the page with the same Canvas color
|
|
37
|
+
and drop every box-shadow (the --shadow ring included), so a borderless
|
|
38
|
+
panel loses its edge entirely. An outline survives, takes no layout space
|
|
39
|
+
and follows the border radius; CanvasText is the system foreground. */
|
|
40
|
+
@media (forced-colors: active) {
|
|
41
|
+
outline: 1px solid CanvasText;
|
|
42
|
+
}
|
|
31
43
|
|
|
32
44
|
/* EXIT STATE */
|
|
33
45
|
opacity: 0;
|
|
@@ -23,8 +23,9 @@ import { LuxenElement } from '../../shared/luxen-element.js';
|
|
|
23
23
|
* @cssproperty [--show-duration=200ms] - Open transition duration.
|
|
24
24
|
* @cssproperty [--hide-duration=200ms] - Close transition duration.
|
|
25
25
|
* @cssproperty [--easing=cubic-bezier(0.32, 0.72, 0, 1)] - Timing function of the open and close transitions, backdrop included.
|
|
26
|
-
* @cssproperty --backdrop - Backdrop color.
|
|
26
|
+
* @cssproperty [--backdrop=var(--l-backdrop)] - Backdrop color.
|
|
27
27
|
* @cssproperty [--backdrop-blur=0] - Backdrop blur amount (any CSS length). `0` means no blur; set e.g. `4px` for a subtle frost.
|
|
28
|
+
* @cssproperty [--shadow=none] - Drop shadow of the dialog panel (any `box-shadow` value). Raise it when the backdrop is light, where the panel edge would otherwise fade into the page.
|
|
28
29
|
*
|
|
29
30
|
* @event show - Fired when the dialog is about to open. Cancelable — call `event.preventDefault()` to keep it closed.
|
|
30
31
|
* @event after-show - Fired after the open animation completes. Not cancelable.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/html/elements/dialog/dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAkC7D
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/html/elements/dialog/dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAkC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAa,MAAO,SAAQ,YAAY;IACtC,MAAM,CAAC,MAAM,4BAAwB;IAErC,oFAAoF;IAEpF,KAAK,SAAM;IAEX,kCAAkC;IAElC,IAAI,UAAS;IAEb,0CAA0C;IAE1C,YAAY,UAAS;IAErB,uDAAuD;IAEvD,aAAa,UAAS;IAMtB,OAAO,CAAC,MAAM,CAAyC;IAGvD,MAAM,EAAG,iBAAiB,CAAC;IAI3B,SAAS,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAAc;IAMvD,SAAS,KAAK,KAAK,IAAI,MAAM,CAE5B;IACD,SAAS,KAAK,OAAO,IAAI,MAAM,CAE9B;IAED,OAAO,CAAC,gBAAgB,CAA4B;IAEpD,OAAO,CAAC,gBAAgB,CAEtB;IAIF,iBAAiB,SAGhB;IAED,oBAAoB,SAGnB;IAED,YAAY,SAOX;IAED,OAAO,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,QA8BpC;IAOD,OAAO,CAAC,UAAU;IAclB,SAAS,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,QAI3B;IAED,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,eAAe,CAAC,CAAY;IAEpC,OAAO,CAAC,aAAa;YAcP,UAAU;IAWxB,SAAS,CAAC,aAAa,SAGtB;IAED,MAAM,oCAmCL;IAID,SAAS,CAAC,YAAY,oCASrB;CACF"}
|
|
@@ -54,8 +54,9 @@ if (typeof document !== 'undefined' && !(SCROLL_LOCK_SHEET in document)) {
|
|
|
54
54
|
* @cssproperty [--show-duration=200ms] - Open transition duration.
|
|
55
55
|
* @cssproperty [--hide-duration=200ms] - Close transition duration.
|
|
56
56
|
* @cssproperty [--easing=cubic-bezier(0.32, 0.72, 0, 1)] - Timing function of the open and close transitions, backdrop included.
|
|
57
|
-
* @cssproperty --backdrop - Backdrop color.
|
|
57
|
+
* @cssproperty [--backdrop=var(--l-backdrop)] - Backdrop color.
|
|
58
58
|
* @cssproperty [--backdrop-blur=0] - Backdrop blur amount (any CSS length). `0` means no blur; set e.g. `4px` for a subtle frost.
|
|
59
|
+
* @cssproperty [--shadow=none] - Drop shadow of the dialog panel (any `box-shadow` value). Raise it when the backdrop is light, where the panel edge would otherwise fade into the page.
|
|
59
60
|
*
|
|
60
61
|
* @event show - Fired when the dialog is about to open. Cancelable — call `event.preventDefault()` to keep it closed.
|
|
61
62
|
* @event after-show - Fired after the open animation completes. Not cancelable.
|
|
@@ -103,7 +103,17 @@ dialog[open] {
|
|
|
103
103
|
still clears the viewport edge during the slide (it no longer sits flush). */
|
|
104
104
|
:host([inset]) dialog {
|
|
105
105
|
border-radius: var(--border-radius);
|
|
106
|
-
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* dialog.css casts --shadow on every panel. An edge drawer sits flush against
|
|
109
|
+
the viewport and its backdrop already separates it, so it keeps no shadow:
|
|
110
|
+
--shadow only applies once the panel floats ([inset]).
|
|
111
|
+
The property is reset here, not the variable: `:host(:not([inset])) {
|
|
112
|
+
--shadow: none }` would lose to any `l-drawer { --shadow: … }` in the page
|
|
113
|
+
(outer styles beat :host rules), so a consumer tuning the shadow of their
|
|
114
|
+
inset drawers would put it on every edge drawer too. */
|
|
115
|
+
:host(:not([inset])) dialog {
|
|
116
|
+
box-shadow: none;
|
|
107
117
|
}
|
|
108
118
|
|
|
109
119
|
/* Inline-edge drawers (start/end): inset the block edges, shrink height to fit. */
|
|
@@ -16,13 +16,13 @@ import { Dialog } from '../dialog/dialog.js';
|
|
|
16
16
|
* @csspart body - The body wrapper around the default slot.
|
|
17
17
|
* @csspart footer - The footer wrapper around the footer slot.
|
|
18
18
|
*
|
|
19
|
-
* @cssproperty --size - Drawer size on the axis perpendicular to its edge (width for `start`/`end`, height for `top`/`bottom`).
|
|
20
|
-
* @cssproperty --border-radius - Drawer border radius on the inner edges (all corners when `inset`).
|
|
21
|
-
* @cssproperty --inset-gap - Gap between the drawer and the viewport edges when `inset` is set.
|
|
22
|
-
* @cssproperty --shadow - Drop shadow applied to the floating panel when `inset` is set. Set to `none` to remove it.
|
|
23
|
-
* @cssproperty --show-duration - Open transition duration.
|
|
24
|
-
* @cssproperty --hide-duration - Close transition duration.
|
|
25
|
-
* @cssproperty --easing - Timing function of the open and close transitions, backdrop included.
|
|
19
|
+
* @cssproperty [--size=320px] - Drawer size on the axis perpendicular to its edge (width for `start`/`end`, height for `top`/`bottom`).
|
|
20
|
+
* @cssproperty [--border-radius=0.375rem] - Drawer border radius on the inner edges (all corners when `inset`).
|
|
21
|
+
* @cssproperty [--inset-gap=1rem] - Gap between the drawer and the viewport edges when `inset` is set.
|
|
22
|
+
* @cssproperty [--shadow=var(--l-shadow-lg)] - Drop shadow applied to the floating panel when `inset` is set (an edge drawer casts none). Set to `none` to remove it.
|
|
23
|
+
* @cssproperty [--show-duration=300ms] - Open transition duration.
|
|
24
|
+
* @cssproperty [--hide-duration=200ms] - Close transition duration.
|
|
25
|
+
* @cssproperty [--easing=cubic-bezier(0.32, 0.72, 0, 1)] - Timing function of the open and close transitions, backdrop included.
|
|
26
26
|
* @cssproperty --backdrop - Backdrop color.
|
|
27
27
|
*
|
|
28
28
|
* @event show - Fired when the drawer is about to open. Cancelable — call `event.preventDefault()` to keep it closed.
|
|
@@ -28,13 +28,13 @@ const drawerStyles = unsafeCSS(rawDrawerStyles);
|
|
|
28
28
|
* @csspart body - The body wrapper around the default slot.
|
|
29
29
|
* @csspart footer - The footer wrapper around the footer slot.
|
|
30
30
|
*
|
|
31
|
-
* @cssproperty --size - Drawer size on the axis perpendicular to its edge (width for `start`/`end`, height for `top`/`bottom`).
|
|
32
|
-
* @cssproperty --border-radius - Drawer border radius on the inner edges (all corners when `inset`).
|
|
33
|
-
* @cssproperty --inset-gap - Gap between the drawer and the viewport edges when `inset` is set.
|
|
34
|
-
* @cssproperty --shadow - Drop shadow applied to the floating panel when `inset` is set. Set to `none` to remove it.
|
|
35
|
-
* @cssproperty --show-duration - Open transition duration.
|
|
36
|
-
* @cssproperty --hide-duration - Close transition duration.
|
|
37
|
-
* @cssproperty --easing - Timing function of the open and close transitions, backdrop included.
|
|
31
|
+
* @cssproperty [--size=320px] - Drawer size on the axis perpendicular to its edge (width for `start`/`end`, height for `top`/`bottom`).
|
|
32
|
+
* @cssproperty [--border-radius=0.375rem] - Drawer border radius on the inner edges (all corners when `inset`).
|
|
33
|
+
* @cssproperty [--inset-gap=1rem] - Gap between the drawer and the viewport edges when `inset` is set.
|
|
34
|
+
* @cssproperty [--shadow=var(--l-shadow-lg)] - Drop shadow applied to the floating panel when `inset` is set (an edge drawer casts none). Set to `none` to remove it.
|
|
35
|
+
* @cssproperty [--show-duration=300ms] - Open transition duration.
|
|
36
|
+
* @cssproperty [--hide-duration=200ms] - Close transition duration.
|
|
37
|
+
* @cssproperty [--easing=cubic-bezier(0.32, 0.72, 0, 1)] - Timing function of the open and close transitions, backdrop included.
|
|
38
38
|
* @cssproperty --backdrop - Backdrop color.
|
|
39
39
|
*
|
|
40
40
|
* @event show - Fired when the drawer is about to open. Cancelable — call `event.preventDefault()` to keep it closed.
|
|
@@ -25,11 +25,12 @@
|
|
|
25
25
|
|
|
26
26
|
.item:focus-visible {
|
|
27
27
|
/* A ring distinct from the hover tint (which is the same low-contrast fill).
|
|
28
|
-
|
|
29
|
-
the panel edge or a
|
|
28
|
+
A negative offset equal to the ring width keeps the ring inside the row, at
|
|
29
|
+
any --l-focus-ring-width, so it never collides with the panel edge or a
|
|
30
|
+
neighboring item. */
|
|
30
31
|
background: var(--l-color-bg-state-hover);
|
|
31
|
-
outline:
|
|
32
|
-
outline-offset: -
|
|
32
|
+
outline: var(--l-focus-ring-width) solid var(--l-focus-ring-color);
|
|
33
|
+
outline-offset: calc(var(--l-focus-ring-width) * -1);
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
@media (hover: hover) {
|
|
@@ -16,8 +16,8 @@ import { LuxenElement } from '../../shared/luxen-element.js';
|
|
|
16
16
|
* @cssproperty --cell-bg-color - Cell background color (default: a faint ink tint over `--l-form-control-background-color`).
|
|
17
17
|
* @cssproperty --cell-border-color - Cell border color (default: `var(--l-form-control-border-color)`).
|
|
18
18
|
* @cssproperty --cell-border-radius - Cell border-radius (default: `var(--l-form-control-border-radius)`, like the other text fields).
|
|
19
|
-
* @cssproperty --cell-focus-color - Border
|
|
20
|
-
* @cssproperty --cell-focus-ring - `box-shadow` of the active cell
|
|
19
|
+
* @cssproperty --cell-focus-color - Border, stroke and halo color of the active (focused) cell. Defaults to `--l-focus-ring-color`.
|
|
20
|
+
* @cssproperty --cell-focus-ring - `box-shadow` of the active cell (defaults to the text-field focus halo, `--l-form-control-focus-halo-width` wide; set to `none` to disable).
|
|
21
21
|
*/
|
|
22
22
|
export declare class InputOtp extends LuxenElement {
|
|
23
23
|
createRenderRoot(): this;
|
|
@@ -24,8 +24,8 @@ import { cls } from '../../registry.js';
|
|
|
24
24
|
* @cssproperty --cell-bg-color - Cell background color (default: a faint ink tint over `--l-form-control-background-color`).
|
|
25
25
|
* @cssproperty --cell-border-color - Cell border color (default: `var(--l-form-control-border-color)`).
|
|
26
26
|
* @cssproperty --cell-border-radius - Cell border-radius (default: `var(--l-form-control-border-radius)`, like the other text fields).
|
|
27
|
-
* @cssproperty --cell-focus-color - Border
|
|
28
|
-
* @cssproperty --cell-focus-ring - `box-shadow` of the active cell
|
|
27
|
+
* @cssproperty --cell-focus-color - Border, stroke and halo color of the active (focused) cell. Defaults to `--l-focus-ring-color`.
|
|
28
|
+
* @cssproperty --cell-focus-ring - `box-shadow` of the active cell (defaults to the text-field focus halo, `--l-form-control-focus-halo-width` wide; set to `none` to disable).
|
|
29
29
|
*/
|
|
30
30
|
export class InputOtp extends LuxenElement {
|
|
31
31
|
constructor() {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--border-color: var(--l-color-border);
|
|
4
4
|
/* Consumed from the light-DOM stylesheet (luxen-ui/css/prose-editor), which
|
|
5
5
|
is the only place that can see .ProseMirror's focus state. */
|
|
6
|
-
--border-color-focus: var(--l-focus-ring);
|
|
6
|
+
--border-color-focus: var(--l-focus-ring-color);
|
|
7
7
|
--border-width: 1px;
|
|
8
8
|
--border-radius: var(--l-radius-md);
|
|
9
9
|
--background: var(--l-color-surface);
|
|
@@ -139,8 +139,10 @@
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
&:focus-visible {
|
|
142
|
-
outline:
|
|
143
|
-
|
|
142
|
+
outline: var(--l-focus-ring-width) solid var(--l-focus-ring-color);
|
|
143
|
+
/* Half the gap: rows/buttons sit edge to edge, a full offset would
|
|
144
|
+
reach into the neighbour. */
|
|
145
|
+
outline-offset: calc(var(--l-focus-ring-offset) / 2);
|
|
144
146
|
}
|
|
145
147
|
|
|
146
148
|
&.is-active {
|
|
@@ -33,6 +33,8 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.icon-wrapper {
|
|
36
|
+
display: block;
|
|
37
|
+
border-radius: var(--l-radius-sm);
|
|
36
38
|
cursor: pointer;
|
|
37
39
|
}
|
|
38
40
|
|
|
@@ -67,16 +69,13 @@
|
|
|
67
69
|
scale: 1.2;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
:
|
|
77
|
-
outline: 2px solid var(--active-color);
|
|
78
|
-
outline-offset: 2px;
|
|
79
|
-
border-radius: 2px;
|
|
72
|
+
/* One ring, around the focused star — the radio the keyboard is on. On the
|
|
73
|
+
label, not the star: the star is drawn by a mask, which would clip its own
|
|
74
|
+
outline away. The global ring color, not --active-color: gold is ~1.6:1 on
|
|
75
|
+
white, under the 3:1 a focus indicator needs (WCAG 1.4.11). */
|
|
76
|
+
.icon-wrapper:has(input:focus-visible) {
|
|
77
|
+
outline: var(--l-focus-ring-width) solid var(--l-focus-ring-color);
|
|
78
|
+
outline-offset: var(--l-focus-ring-offset);
|
|
80
79
|
}
|
|
81
80
|
|
|
82
81
|
/* — Disabled — */
|
|
@@ -27,10 +27,6 @@
|
|
|
27
27
|
padding-inline-start: 0.375rem;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.trigger:focus-visible {
|
|
31
|
-
outline: none;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
30
|
/* Selection display fills the trigger; the chevron (and overlaid clear) sit at the end. */
|
|
35
31
|
.value {
|
|
36
32
|
flex: 1;
|
|
@@ -117,11 +113,6 @@
|
|
|
117
113
|
font: inherit;
|
|
118
114
|
}
|
|
119
115
|
|
|
120
|
-
.search:focus-visible {
|
|
121
|
-
outline: none;
|
|
122
|
-
border-color: var(--l-focus-ring);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
116
|
.search::placeholder {
|
|
126
117
|
color: var(--l-form-control-placeholder-color);
|
|
127
118
|
}
|
|
@@ -131,6 +122,16 @@
|
|
|
131
122
|
background-color: var(--l-color-bg-state-hover);
|
|
132
123
|
}
|
|
133
124
|
|
|
125
|
+
/* Moved there with the arrow keys: the active option is where the keyboard
|
|
126
|
+
is, though DOM focus stays on the search box or the listbox
|
|
127
|
+
(aria-activedescendant), so it draws the focus ring itself — inside, like a
|
|
128
|
+
menu item. A tint alone is the hover look, barely 1.1:1, and forced colors
|
|
129
|
+
drops it. */
|
|
130
|
+
.listbox[data-nav='keyboard'] .option[data-active] {
|
|
131
|
+
outline: var(--l-focus-ring-width) solid var(--l-focus-ring-color);
|
|
132
|
+
outline-offset: calc(var(--l-focus-ring-width) * -1);
|
|
133
|
+
}
|
|
134
|
+
|
|
134
135
|
/* Selected indicator in the reserved inline-start column, pinned to the first
|
|
135
136
|
* line so a wrapping description never shifts it (matches the native
|
|
136
137
|
* `::checkmark` in src/css/elements/select.css). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/html/elements/select/select.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAe3F,OAAO,iBAAiB,CAAC;AAIzB,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1D,kDAAkD;AAClD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB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ACP,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,cAAc,CAAC,CAAC,CAAC,KAAK,IAAI,EACvD,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;IACR,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;CACT"}
|
|
@@ -556,6 +556,7 @@ export class Select extends LuxenFormAssociatedElement {
|
|
|
556
556
|
aria-label=${this.label || this._localize.term('suggestions')}
|
|
557
557
|
aria-multiselectable=${this.multiple ? 'true' : nothing}
|
|
558
558
|
aria-activedescendant=${!this.searchable ? (activeId ?? nothing) : nothing}
|
|
559
|
+
data-nav=${this._nav.keyboard ? 'keyboard' : 'pointer'}
|
|
559
560
|
@pointermove=${this._nav.onPointerMove}
|
|
560
561
|
@pointerleave=${this._nav.onPointerLeave}
|
|
561
562
|
>
|
|
@@ -114,8 +114,12 @@ thumb's hit box is ≥24px (WCAG 2.5.8) while the visible disc stays smaller.
|
|
|
114
114
|
outline: none;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
/* The ring goes on the visible disc, not on the larger hit box. An outline, not
|
|
118
|
+
a box-shadow halo: it keeps full contrast and survives forced colors, where
|
|
119
|
+
box-shadows are dropped. */
|
|
117
120
|
.thumb:focus-visible::before {
|
|
118
|
-
|
|
121
|
+
outline: var(--l-focus-ring-width) solid var(--l-focus-ring-color);
|
|
122
|
+
outline-offset: var(--l-focus-ring-offset);
|
|
119
123
|
}
|
|
120
124
|
|
|
121
125
|
/*
|
|
@@ -239,9 +239,17 @@ dialog {
|
|
|
239
239
|
background: rgb(0 0 0 / 45%);
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
+
/* Two-color ring (WCAG technique C40): these buttons float over the story
|
|
243
|
+
media, whose brightness is unknown, so no single color is sure to
|
|
244
|
+
contrast. A light ring between two dark bands — the shadow fills the gap
|
|
245
|
+
and edges the ring — reads on any frame. Width and offset follow the
|
|
246
|
+
global tokens; in forced colors the shadow is dropped and the outline is
|
|
247
|
+
repainted. */
|
|
242
248
|
&:focus-visible {
|
|
243
|
-
outline:
|
|
244
|
-
outline-offset:
|
|
249
|
+
outline: var(--l-focus-ring-width) solid var(--progress-color);
|
|
250
|
+
outline-offset: var(--l-focus-ring-offset);
|
|
251
|
+
box-shadow: 0 0 0 calc(var(--l-focus-ring-offset) + var(--l-focus-ring-width) * 2)
|
|
252
|
+
rgb(0 0 0 / 75%);
|
|
245
253
|
}
|
|
246
254
|
|
|
247
255
|
/* WCAG 2.1 SC 2.5.5 / RGAA 13.4 — 44×44 hit area without changing the visible 32×32 disc. The pseudo carries no paint, only hit testing. */
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @summary Tables display data in rows and columns, so it is easy to scan and compare.
|
|
3
|
+
*
|
|
4
|
+
* @nativeElement table
|
|
5
|
+
* @selector .l-table
|
|
6
|
+
*
|
|
7
|
+
* @cssClass .l-table - Applied to the `<table>`. Name it with a `<caption>` (visible or `.l-visually-hidden`) or `aria-label`; head the columns with `<th scope="col">` and each row with the `<th scope="row">` that identifies it.
|
|
8
|
+
*
|
|
9
|
+
* @attribute data-size - sm | lg — Row height, on the control size scale: a control of the same size fits a row. Defaults to the medium size.
|
|
10
|
+
* @attribute data-align - start | center | end — On a column's `<th>` and `<td>`s: aligns the column. Use `end` for figures; digits are tabular across the table, so they line up. A sort button in an `end` header puts its glyph before the label, keeping the label flush with the figures.
|
|
11
|
+
* @attribute aria-sort - ascending | descending — On the sorted column's `<th>`, which holds a `<button>` (or a link, when the server sorts): shows the direction. A disabled button marks a column the current query cannot sort by; an `.l-button` in a header is another action and keeps its own look.
|
|
12
|
+
*
|
|
13
|
+
* @cssproperty [--row-height=calc(var(--l-size-control-md) + 2 * var(--l-spacing-1))] - Minimum row height; content taller than it grows the row.
|
|
14
|
+
* @cssproperty [--background-color=var(--l-color-surface)] - Background of the table. The sticky header repeats it, so it stays opaque over the rows scrolling under it.
|
|
15
|
+
* @cssproperty [--border-color=var(--l-color-divider)] - Rules between rows. The stronger rules under the header and above the totals use `--l-color-border`.
|
|
16
|
+
*
|
|
17
|
+
* @example Basic
|
|
18
|
+
* <table class="l-table">
|
|
19
|
+
* <caption>Products</caption>
|
|
20
|
+
* <thead>
|
|
21
|
+
* <tr>
|
|
22
|
+
* <th scope="col">SKU</th>
|
|
23
|
+
* <th scope="col">Name</th>
|
|
24
|
+
* <th scope="col" data-align="end">In stock</th>
|
|
25
|
+
* </tr>
|
|
26
|
+
* </thead>
|
|
27
|
+
* <tbody>
|
|
28
|
+
* <tr>
|
|
29
|
+
* <th scope="row">SKU-1042</th>
|
|
30
|
+
* <td>Desk lamp</td>
|
|
31
|
+
* <td data-align="end">4,210</td>
|
|
32
|
+
* </tr>
|
|
33
|
+
* </tbody>
|
|
34
|
+
* </table>
|
|
35
|
+
*
|
|
36
|
+
* @example Sortable
|
|
37
|
+
* <table class="l-table">
|
|
38
|
+
* <caption>Products</caption>
|
|
39
|
+
* <thead>
|
|
40
|
+
* <tr>
|
|
41
|
+
* <th scope="col" aria-sort="ascending"><button type="button">SKU</button></th>
|
|
42
|
+
* <th scope="col"><button type="button">Name</button></th>
|
|
43
|
+
* </tr>
|
|
44
|
+
* </thead>
|
|
45
|
+
* <tbody>
|
|
46
|
+
* <tr>
|
|
47
|
+
* <th scope="row">SKU-1042</th>
|
|
48
|
+
* <td>Desk lamp</td>
|
|
49
|
+
* </tr>
|
|
50
|
+
* </tbody>
|
|
51
|
+
* </table>
|
|
52
|
+
*/
|
|
53
|
+
export declare class TableMeta {
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=table.meta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.meta.d.ts","sourceRoot":"","sources":["../../../src/html/elements/table/table.meta.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AAIH,qBAAa,SAAS;CAAG"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Metadata sidecar for the table (CSS-only, styled via `.l-table` on a native
|
|
3
|
+
* `<table>`). The JSDoc below is the single source of truth for its reference
|
|
4
|
+
* docs and the generated skill, read by the `native-meta` CEM plugin and emitted
|
|
5
|
+
* into dist/metadata/table.json.
|
|
6
|
+
*
|
|
7
|
+
* Keep this in sync with src/css/elements/table.css.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @summary Tables display data in rows and columns, so it is easy to scan and compare.
|
|
11
|
+
*
|
|
12
|
+
* @nativeElement table
|
|
13
|
+
* @selector .l-table
|
|
14
|
+
*
|
|
15
|
+
* @cssClass .l-table - Applied to the `<table>`. Name it with a `<caption>` (visible or `.l-visually-hidden`) or `aria-label`; head the columns with `<th scope="col">` and each row with the `<th scope="row">` that identifies it.
|
|
16
|
+
*
|
|
17
|
+
* @attribute data-size - sm | lg — Row height, on the control size scale: a control of the same size fits a row. Defaults to the medium size.
|
|
18
|
+
* @attribute data-align - start | center | end — On a column's `<th>` and `<td>`s: aligns the column. Use `end` for figures; digits are tabular across the table, so they line up. A sort button in an `end` header puts its glyph before the label, keeping the label flush with the figures.
|
|
19
|
+
* @attribute aria-sort - ascending | descending — On the sorted column's `<th>`, which holds a `<button>` (or a link, when the server sorts): shows the direction. A disabled button marks a column the current query cannot sort by; an `.l-button` in a header is another action and keeps its own look.
|
|
20
|
+
*
|
|
21
|
+
* @cssproperty [--row-height=calc(var(--l-size-control-md) + 2 * var(--l-spacing-1))] - Minimum row height; content taller than it grows the row.
|
|
22
|
+
* @cssproperty [--background-color=var(--l-color-surface)] - Background of the table. The sticky header repeats it, so it stays opaque over the rows scrolling under it.
|
|
23
|
+
* @cssproperty [--border-color=var(--l-color-divider)] - Rules between rows. The stronger rules under the header and above the totals use `--l-color-border`.
|
|
24
|
+
*
|
|
25
|
+
* @example Basic
|
|
26
|
+
* <table class="l-table">
|
|
27
|
+
* <caption>Products</caption>
|
|
28
|
+
* <thead>
|
|
29
|
+
* <tr>
|
|
30
|
+
* <th scope="col">SKU</th>
|
|
31
|
+
* <th scope="col">Name</th>
|
|
32
|
+
* <th scope="col" data-align="end">In stock</th>
|
|
33
|
+
* </tr>
|
|
34
|
+
* </thead>
|
|
35
|
+
* <tbody>
|
|
36
|
+
* <tr>
|
|
37
|
+
* <th scope="row">SKU-1042</th>
|
|
38
|
+
* <td>Desk lamp</td>
|
|
39
|
+
* <td data-align="end">4,210</td>
|
|
40
|
+
* </tr>
|
|
41
|
+
* </tbody>
|
|
42
|
+
* </table>
|
|
43
|
+
*
|
|
44
|
+
* @example Sortable
|
|
45
|
+
* <table class="l-table">
|
|
46
|
+
* <caption>Products</caption>
|
|
47
|
+
* <thead>
|
|
48
|
+
* <tr>
|
|
49
|
+
* <th scope="col" aria-sort="ascending"><button type="button">SKU</button></th>
|
|
50
|
+
* <th scope="col"><button type="button">Name</button></th>
|
|
51
|
+
* </tr>
|
|
52
|
+
* </thead>
|
|
53
|
+
* <tbody>
|
|
54
|
+
* <tr>
|
|
55
|
+
* <th scope="row">SKU-1042</th>
|
|
56
|
+
* <td>Desk lamp</td>
|
|
57
|
+
* </tr>
|
|
58
|
+
* </tbody>
|
|
59
|
+
* </table>
|
|
60
|
+
*/
|
|
61
|
+
// JSDoc-only metadata carrier — the CEM analyzer reads the doc comment above; the
|
|
62
|
+
// class body is intentionally empty.
|
|
63
|
+
// oxlint-disable-next-line typescript/no-extraneous-class
|
|
64
|
+
export class TableMeta {
|
|
65
|
+
}
|
|
@@ -263,8 +263,8 @@
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
.base:has(:is(.toggle, .checkbox):focus-visible) {
|
|
266
|
-
outline:
|
|
267
|
-
outline-offset:
|
|
266
|
+
outline: var(--l-focus-ring-width) solid var(--l-focus-ring-color);
|
|
267
|
+
outline-offset: var(--l-focus-ring-offset);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
/* The skin comes from the shared `.l-checkbox` appearance, applied through
|
|
@@ -400,8 +400,8 @@
|
|
|
400
400
|
chip's border on three sides, so an outset ring would sit half outside
|
|
401
401
|
the chip and clip against its neighbour in a wrapped filter bar. */
|
|
402
402
|
&:focus-visible {
|
|
403
|
-
outline:
|
|
404
|
-
outline-offset: -
|
|
403
|
+
outline: var(--l-focus-ring-width) solid var(--l-focus-ring-color);
|
|
404
|
+
outline-offset: calc(var(--l-focus-ring-width) * -1);
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
&:disabled {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.tree:focus-visible {
|
|
23
|
-
outline:
|
|
24
|
-
outline-offset:
|
|
25
|
-
border-radius:
|
|
23
|
+
outline: var(--l-focus-ring-width) solid var(--l-focus-ring-color);
|
|
24
|
+
outline-offset: var(--l-focus-ring-offset);
|
|
25
|
+
border-radius: var(--l-radius-md);
|
|
26
26
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
min-block-size: var(--row-height);
|
|
25
25
|
padding-inline: var(--row-padding-inline);
|
|
26
26
|
padding-inline-start: calc(var(--indent-size) * var(--_depth, 0) + var(--row-padding-inline));
|
|
27
|
-
border-radius:
|
|
27
|
+
border-radius: var(--l-radius-md);
|
|
28
28
|
cursor: pointer;
|
|
29
29
|
user-select: none;
|
|
30
30
|
transition:
|
|
@@ -35,8 +35,10 @@
|
|
|
35
35
|
|
|
36
36
|
.item:focus-visible,
|
|
37
37
|
:host(:focus-visible) .item {
|
|
38
|
-
outline:
|
|
39
|
-
|
|
38
|
+
outline: var(--l-focus-ring-width) solid var(--l-focus-ring-color);
|
|
39
|
+
/* Half the gap: rows/buttons sit edge to edge, a full offset would
|
|
40
|
+
reach into the neighbour. */
|
|
41
|
+
outline-offset: calc(var(--l-focus-ring-offset) / 2);
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
@media (hover: hover) {
|