@threadlabs/looma 0.42.0 → 0.43.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/components/ui-action-bar/ui-action-bar.html +1 -7
- package/components/ui-affordance-scope/ui-affordance-scope.html +4 -4
- package/components/ui-avatar/ui-avatar.html +0 -22
- package/components/ui-avatar-group/ui-avatar-group.html +1 -11
- package/components/ui-badge/ui-badge.html +57 -78
- package/components/ui-button/ui-button.html +36 -81
- package/components/ui-callout/ui-callout.html +30 -68
- package/components/ui-card/ui-card.html +41 -15
- package/components/ui-checkbox/ui-checkbox.html +1 -15
- package/components/ui-cluster/ui-cluster.html +1 -7
- package/components/ui-combobox/ui-combobox.html +7 -70
- package/components/ui-container/ui-container.html +2 -12
- package/components/ui-context-menu/ui-context-menu.html +1 -23
- package/components/ui-dialog/ui-dialog.html +1 -31
- package/components/ui-disclosure/ui-disclosure.html +1 -15
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -2
- package/components/ui-floating-action-button/ui-floating-action-button.html +0 -14
- package/components/ui-form-field/ui-form-field.html +2 -32
- package/components/ui-grid/ui-grid.html +1 -11
- package/components/ui-icon/ui-icon.html +1 -12
- package/components/ui-icon-button/ui-icon-button.html +52 -87
- package/components/ui-input/ui-input.html +5 -55
- package/components/ui-input-group/ui-input-group.html +1 -13
- package/components/ui-list/ui-list.html +0 -10
- package/components/ui-list-item/ui-list-item.html +1 -19
- package/components/ui-listbox/ui-listbox.html +0 -21
- package/components/ui-menu/ui-menu.html +0 -22
- package/components/ui-menu-item/ui-menu-item.html +0 -26
- package/components/ui-meter/ui-meter.html +11 -6
- package/components/ui-nav-item/ui-nav-item.html +0 -18
- package/components/ui-popover/ui-popover.html +0 -30
- package/components/ui-radio/ui-radio.html +7 -13
- package/components/ui-radio-group/ui-radio-group.html +0 -5
- package/components/ui-reel/ui-reel.html +1 -11
- package/components/ui-search-result-row/ui-search-result-row.html +0 -34
- package/components/ui-search-shell/ui-search-shell.html +1 -43
- package/components/ui-select/ui-select.html +0 -42
- package/components/ui-separator/ui-separator.html +0 -6
- package/components/ui-sidebar/ui-sidebar.html +2 -24
- package/components/ui-site-header/ui-site-header.html +0 -25
- package/components/ui-skeleton/ui-skeleton.html +0 -9
- package/components/ui-stack/ui-stack.html +6 -11
- package/components/ui-swatch/ui-swatch.html +0 -5
- package/components/ui-switch/ui-switch.html +1 -15
- package/components/ui-switcher/ui-switcher.html +1 -11
- package/components/ui-tabs/ui-tabs.html +1 -19
- package/components/ui-text/ui-text.html +19 -6
- package/components/ui-textarea/ui-textarea.html +0 -50
- package/components/ui-toast/ui-toast.html +12 -27
- package/components/ui-toast-region/ui-toast-region.html +13 -34
- package/components/ui-tooltip/ui-tooltip.html +1 -43
- package/components/ui-top-bar/ui-top-bar.html +1 -31
- package/components/ui-tree/ui-tree.html +1 -16
- package/components/ui-tree-item/ui-tree-item.html +1 -23
- package/components/ui-tree-item/ui-tree-item.js +0 -1
- package/dist/index.js +1 -1
- package/docs/README.md +11 -9
- package/docs/catalog.json +606 -191
- package/docs/customizer-render.mjs +20 -8
- package/docs/customizer.js +40 -2
- package/docs/palette.mjs +5 -4
- package/docs/theme.mjs +97 -35
- package/docs/value-editors.mjs +2 -1
- package/package.json +2 -2
- package/styles/ui-action-bar.css +3 -11
- package/styles/ui-affordance-scope.css +4 -4
- package/styles/ui-avatar-group.css +3 -15
- package/styles/ui-avatar.css +2 -26
- package/styles/ui-badge.css +56 -80
- package/styles/ui-button.css +35 -83
- package/styles/ui-callout.css +32 -72
- package/styles/ui-card.css +36 -12
- package/styles/ui-checkbox.css +3 -19
- package/styles/ui-cluster.css +2 -10
- package/styles/ui-combobox.css +7 -140
- package/styles/ui-container.css +2 -14
- package/styles/ui-context-menu.css +3 -27
- package/styles/ui-dialog.css +5 -67
- package/styles/ui-disclosure.css +3 -19
- package/styles/ui-editor-table-overlay.css +2 -2
- package/styles/ui-floating-action-button.css +2 -18
- package/styles/ui-form-field.css +4 -36
- package/styles/ui-grid.css +2 -14
- package/styles/ui-icon-button.css +51 -89
- package/styles/ui-icon.css +3 -16
- package/styles/ui-input-group.css +2 -14
- package/styles/ui-input.css +6 -57
- package/styles/ui-list-item.css +3 -23
- package/styles/ui-list.css +2 -14
- package/styles/ui-listbox.css +2 -44
- package/styles/ui-menu-item.css +2 -30
- package/styles/ui-menu.css +2 -26
- package/styles/ui-meter.css +8 -4
- package/styles/ui-nav-item.css +2 -22
- package/styles/ui-popover.css +2 -34
- package/styles/ui-radio-group.css +1 -6
- package/styles/ui-radio.css +9 -17
- package/styles/ui-reel.css +2 -14
- package/styles/ui-search-result-row.css +2 -38
- package/styles/ui-search-shell.css +3 -47
- package/styles/ui-select.css +2 -46
- package/styles/ui-separator.css +2 -10
- package/styles/ui-sidebar.css +4 -28
- package/styles/ui-site-header.css +1 -26
- package/styles/ui-skeleton.css +2 -12
- package/styles/ui-stack.css +4 -12
- package/styles/ui-swatch.css +1 -6
- package/styles/ui-switch.css +3 -19
- package/styles/ui-switcher.css +2 -14
- package/styles/ui-tabs.css +3 -23
- package/styles/ui-text.css +10 -2
- package/styles/ui-textarea.css +2 -54
- package/styles/ui-toast-region.css +29 -73
- package/styles/ui-toast.css +24 -54
- package/styles/ui-tooltip.css +3 -47
- package/styles/ui-top-bar.css +3 -35
- package/styles/ui-tree-item.css +5 -51
- package/styles/ui-tree.css +3 -20
- package/theme-system.css +6 -2
- package/tokens.css +55 -21
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vue/UiActionBar.vue +3 -9
- package/vue/UiAffordanceScope.vue +4 -4
- package/vue/UiAvatar.vue +1 -28
- package/vue/UiAvatarGroup.vue +1 -11
- package/vue/UiBadge.d.ts +2 -2
- package/vue/UiBadge.vue +84 -81
- package/vue/UiButton.d.ts +2 -2
- package/vue/UiButton.vue +78 -97
- package/vue/UiCallout.vue +30 -71
- package/vue/UiCard.d.ts +2 -2
- package/vue/UiCard.vue +71 -20
- package/vue/UiCheckbox.vue +1 -15
- package/vue/UiCluster.vue +1 -10
- package/vue/UiCombobox.vue +13 -72
- package/vue/UiContainer.vue +1 -13
- package/vue/UiContextMenu.vue +1 -30
- package/vue/UiDialog.vue +3 -33
- package/vue/UiDisclosure.vue +1 -15
- package/vue/UiEditorTableOverlay.vue +2 -2
- package/vue/UiFloatingActionButton.vue +0 -22
- package/vue/UiFormField.vue +6 -33
- package/vue/UiGrid.vue +1 -13
- package/vue/UiIcon.vue +1 -16
- package/vue/UiIconButton.d.ts +2 -2
- package/vue/UiIconButton.vue +103 -99
- package/vue/UiInput.vue +1 -54
- package/vue/UiInputGroup.vue +8 -20
- package/vue/UiList.vue +2 -12
- package/vue/UiListItem.vue +8 -26
- package/vue/UiListbox.vue +0 -23
- package/vue/UiMenu.vue +1 -23
- package/vue/UiMenuItem.vue +0 -26
- package/vue/UiMeter.d.ts +2 -2
- package/vue/UiMeter.vue +47 -12
- package/vue/UiNavItem.vue +3 -21
- package/vue/UiPopover.vue +1 -32
- package/vue/UiRadio.vue +1 -11
- package/vue/UiRadioGroup.vue +0 -11
- package/vue/UiReel.vue +1 -11
- package/vue/UiSearchResultRow.vue +0 -35
- package/vue/UiSearchShell.vue +1 -53
- package/vue/UiSelect.vue +0 -42
- package/vue/UiSeparator.vue +0 -7
- package/vue/UiSidebar.vue +3 -26
- package/vue/UiSiteHeader.vue +0 -24
- package/vue/UiSkeleton.vue +0 -9
- package/vue/UiStack.vue +6 -11
- package/vue/UiSwatch.vue +1 -6
- package/vue/UiSwitch.vue +1 -15
- package/vue/UiSwitcher.vue +1 -14
- package/vue/UiTabs.vue +1 -19
- package/vue/UiText.d.ts +2 -2
- package/vue/UiText.vue +29 -4
- package/vue/UiTextarea.vue +0 -50
- package/vue/UiToast.vue +26 -34
- package/vue/UiToastRegion.vue +26 -55
- package/vue/UiTooltip.vue +1 -43
- package/vue/UiTopBar.vue +1 -34
- package/vue/UiTree.vue +2 -17
- package/vue/UiTreeItem.vue +2 -28
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +4 -2
- package/vue/chunks/UiButton.js +4 -2
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +5 -3
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +2 -2
- package/vue/chunks/UiCombobox.js +3 -3
- package/vue/chunks/UiContainer.js +2 -2
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +2 -2
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +4 -2
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +4 -2
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +2 -2
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSiteHeader.js +1 -1
- package/vue/chunks/UiSkeleton.js +1 -1
- package/vue/chunks/UiStack.js +3 -3
- package/vue/chunks/UiSwatch.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +2 -2
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +4 -2
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/components.css +581 -2017
- package/vue/editor/index.js +7 -1
|
@@ -7,85 +7,7 @@
|
|
|
7
7
|
[data-component~="ui-icon-button"] { --html-next-scope-owner: "ui-icon-button" !important; }
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-icon-button"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
|
|
11
|
-
@property --ui-icon-button-active-scale {
|
|
12
|
-
syntax: "*";
|
|
13
|
-
inherits: false;
|
|
14
|
-
}
|
|
15
|
-
@property --ui-icon-button-active-surface {
|
|
16
|
-
syntax: "*";
|
|
17
|
-
inherits: false;
|
|
18
|
-
}
|
|
19
|
-
@property --ui-icon-button-border {
|
|
20
|
-
syntax: "*";
|
|
21
|
-
inherits: false;
|
|
22
|
-
}
|
|
23
|
-
@property --ui-icon-button-disabled-filter {
|
|
24
|
-
syntax: "*";
|
|
25
|
-
inherits: false;
|
|
26
|
-
}
|
|
27
|
-
@property --ui-icon-button-disabled-opacity {
|
|
28
|
-
syntax: "*";
|
|
29
|
-
inherits: false;
|
|
30
|
-
}
|
|
31
|
-
@property --ui-icon-button-hover-border {
|
|
32
|
-
syntax: "*";
|
|
33
|
-
inherits: false;
|
|
34
|
-
}
|
|
35
|
-
@property --ui-icon-button-hover-surface {
|
|
36
|
-
syntax: "*";
|
|
37
|
-
inherits: false;
|
|
38
|
-
}
|
|
39
|
-
@property --ui-icon-button-hover-text {
|
|
40
|
-
syntax: "*";
|
|
41
|
-
inherits: false;
|
|
42
|
-
}
|
|
43
|
-
@property --ui-icon-button-icon-size {
|
|
44
|
-
syntax: "*";
|
|
45
|
-
inherits: false;
|
|
46
|
-
}
|
|
47
|
-
@property --ui-icon-button-icon-stroke-width {
|
|
48
|
-
syntax: "*";
|
|
49
|
-
inherits: false;
|
|
50
|
-
}
|
|
51
|
-
@property --ui-icon-button-outline-surface {
|
|
52
|
-
syntax: "*";
|
|
53
|
-
inherits: false;
|
|
54
|
-
}
|
|
55
|
-
@property --ui-icon-button-outline-text {
|
|
56
|
-
syntax: "*";
|
|
57
|
-
inherits: false;
|
|
58
|
-
}
|
|
59
|
-
@property --ui-icon-button-radius {
|
|
60
|
-
syntax: "*";
|
|
61
|
-
inherits: false;
|
|
62
|
-
}
|
|
63
|
-
@property --ui-icon-button-size {
|
|
64
|
-
syntax: "*";
|
|
65
|
-
inherits: false;
|
|
66
|
-
}
|
|
67
|
-
@property --ui-icon-button-solid-hover-surface {
|
|
68
|
-
syntax: "*";
|
|
69
|
-
inherits: false;
|
|
70
|
-
}
|
|
71
|
-
@property --ui-icon-button-solid-shadow {
|
|
72
|
-
syntax: "*";
|
|
73
|
-
inherits: false;
|
|
74
|
-
}
|
|
75
|
-
@property --ui-icon-button-solid-surface {
|
|
76
|
-
syntax: "*";
|
|
77
|
-
inherits: false;
|
|
78
|
-
}
|
|
79
|
-
@property --ui-icon-button-solid-text {
|
|
80
|
-
syntax: "*";
|
|
81
|
-
inherits: false;
|
|
82
|
-
}
|
|
83
|
-
@property --ui-icon-button-surface {
|
|
84
|
-
syntax: "*";
|
|
85
|
-
inherits: false;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
:scope:where([data-component~="ui-icon-button"]) {
|
|
10
|
+
:scope:where([data-component~="ui-icon-button"]) {
|
|
89
11
|
/* Optional inherited action-group values keep text and icon actions under the same light.
|
|
90
12
|
One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
|
|
91
13
|
The shared theme supplies reflections and glow independently of the resting lift. */
|
|
@@ -102,7 +24,7 @@
|
|
|
102
24
|
inset calc(-1 * var(--_ui-action-start)) -1px 0 light-dark(rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.08))
|
|
103
25
|
);
|
|
104
26
|
--_ui-action-shadow: var(--_ui-action-edge), 0 1px 2px light-dark(rgb(0 0 0 / 0.10), rgb(0 0 0 / 0.20));
|
|
105
|
-
/*
|
|
27
|
+
/* Resolve shared part values at the component root. */
|
|
106
28
|
--_ui-icon-button-icon-size: var(--ui-icon-button-icon-size);
|
|
107
29
|
--_ui-icon-button-icon-stroke-width: var(--ui-icon-button-icon-stroke-width);
|
|
108
30
|
|
|
@@ -114,6 +36,40 @@
|
|
|
114
36
|
--_ui-action-start: -1px;
|
|
115
37
|
}
|
|
116
38
|
|
|
39
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="accent-secondary"] {
|
|
40
|
+
--_solid-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
41
|
+
--_solid-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
|
|
42
|
+
--_solid-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
|
|
43
|
+
--_solid-active-surface: var(--ui-accent-secondary-active, var(--ui-accent-secondary-hover));
|
|
44
|
+
--_tone-highlight: var(--ui-accent-secondary-highlight, none);
|
|
45
|
+
--_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
|
|
46
|
+
--_icon-button-border: var(--ui-accent-secondary-subtle-text);
|
|
47
|
+
--_icon-button-hover-border: var(--ui-accent-secondary-subtle-text);
|
|
48
|
+
--_icon-button-text: var(--ui-accent-secondary-subtle-text, var(--ui-accent-secondary-solid));
|
|
49
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-secondary-solid) 5%, var(--ui-surface-default));
|
|
50
|
+
--_icon-button-solid-surface: var(--ui-accent-secondary);
|
|
51
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-secondary-hover);
|
|
52
|
+
--_icon-button-solid-text: var(--ui-on-accent-secondary);
|
|
53
|
+
color: var(--_icon-button-text);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="accent-tertiary"] {
|
|
57
|
+
--_solid-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
58
|
+
--_solid-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
59
|
+
--_solid-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
|
|
60
|
+
--_solid-active-surface: var(--ui-accent-tertiary-active, var(--ui-accent-tertiary-hover));
|
|
61
|
+
--_tone-highlight: var(--ui-accent-tertiary-highlight, none);
|
|
62
|
+
--_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
|
|
63
|
+
--_icon-button-border: var(--ui-accent-tertiary-subtle-text);
|
|
64
|
+
--_icon-button-hover-border: var(--ui-accent-tertiary-subtle-text);
|
|
65
|
+
--_icon-button-text: var(--ui-accent-tertiary-subtle-text, var(--ui-accent-tertiary-solid));
|
|
66
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-tertiary-solid) 5%, var(--ui-surface-default));
|
|
67
|
+
--_icon-button-solid-surface: var(--ui-accent-tertiary);
|
|
68
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-tertiary-hover);
|
|
69
|
+
--_icon-button-solid-text: var(--ui-on-accent-tertiary);
|
|
70
|
+
color: var(--_icon-button-text);
|
|
71
|
+
}
|
|
72
|
+
|
|
117
73
|
:scope:where([data-component~="ui-icon-button"])[data-tone="accent"] {
|
|
118
74
|
--_solid-border: var(--ui-accent-border, var(--ui-accent));
|
|
119
75
|
--_solid-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
|
|
@@ -196,17 +152,17 @@
|
|
|
196
152
|
color: var(--_icon-button-text);
|
|
197
153
|
}
|
|
198
154
|
|
|
199
|
-
/* Neutral actions
|
|
155
|
+
/* Neutral actions and form fields share the control boundary. */
|
|
200
156
|
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"] {
|
|
201
|
-
--_solid-border: var(--ui-
|
|
202
|
-
--_solid-hover-border: var(--ui-
|
|
203
|
-
--_solid-active-border: var(--ui-
|
|
157
|
+
--_solid-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
158
|
+
--_solid-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
159
|
+
--_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
204
160
|
--_solid-active-surface: var(--ui-neutral-active, var(--ui-neutral-hover));
|
|
205
161
|
--_tone-highlight: var(--ui-neutral-highlight, none);
|
|
206
162
|
--_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
|
|
207
163
|
--_icon-button-outline-surface: transparent;
|
|
208
164
|
--_icon-button-border: var(--ui-control-border);
|
|
209
|
-
--_icon-button-hover-border: var(--ui-control-border-hover
|
|
165
|
+
--_icon-button-hover-border: var(--ui-control-border-hover);
|
|
210
166
|
--_icon-button-text: var(--ui-text);
|
|
211
167
|
--_icon-button-solid-surface: var(--ui-neutral-surface);
|
|
212
168
|
--_icon-button-solid-hover-surface: var(--ui-neutral-hover);
|
|
@@ -226,7 +182,7 @@
|
|
|
226
182
|
block-size: var(--ui-affordance-guide-size);
|
|
227
183
|
border-radius: var(--ui-radius-round);
|
|
228
184
|
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
229
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
185
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
230
186
|
transform: translate(-50%, -50%);
|
|
231
187
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
232
188
|
pointer-events: none;
|
|
@@ -387,6 +343,14 @@
|
|
|
387
343
|
var(--_tone-glow);
|
|
388
344
|
}
|
|
389
345
|
|
|
346
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"] {
|
|
347
|
+
box-shadow: var(--ui-neutral-shadow);
|
|
348
|
+
}
|
|
349
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="solid"] {
|
|
350
|
+
border-color: var(--ui-icon-button-border, var(--ui-control-border));
|
|
351
|
+
box-shadow: var(--ui-icon-button-solid-shadow, var(--ui-neutral-shadow));
|
|
352
|
+
}
|
|
353
|
+
|
|
390
354
|
:scope:where([data-component~="ui-icon-button"]):hover:enabled:not([aria-disabled="true"]) {
|
|
391
355
|
/* Derived from the text colour so the ghost hover shows on any background. */
|
|
392
356
|
background-color: var(--ui-icon-button-hover-surface, color-mix(in srgb, currentColor 8%, transparent));
|
|
@@ -530,9 +494,7 @@
|
|
|
530
494
|
}
|
|
531
495
|
}
|
|
532
496
|
@scope ([data-component~="ui-icon-button"]) to ([data-component]) {
|
|
533
|
-
/*
|
|
534
|
-
|
|
535
|
-
/* Neutral actions share the same quiet surface and border roles as fields. */
|
|
497
|
+
/* Neutral actions and form fields share the control boundary. */
|
|
536
498
|
|
|
537
499
|
/* At rest an anticipatory button shows only its guide dot. The icon grows into place when
|
|
538
500
|
proximity, hover, or focus reveals it; the button's hit area and guide remain stable. */
|
package/styles/ui-icon.css
CHANGED
|
@@ -7,19 +7,8 @@
|
|
|
7
7
|
[data-component~="ui-icon"] { --html-next-scope-owner: "ui-icon" !important; }
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-icon"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
syntax: "*";
|
|
13
|
-
inherits: false;
|
|
14
|
-
}
|
|
15
|
-
@property --ui-icon-stroke-width {
|
|
16
|
-
syntax: "*";
|
|
17
|
-
inherits: false;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
:scope:where([data-component~="ui-icon"]) {
|
|
21
|
-
/* Hooks do not inherit, so the svg reads the stroke from the root. A Looma component that
|
|
22
|
-
sizes the icons it renders sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
10
|
+
:scope:where([data-component~="ui-icon"]) {
|
|
11
|
+
/* Resolve the SVG stroke at the root. A Looma component that sizes its icons sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
23
12
|
--_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
|
|
24
13
|
|
|
25
14
|
display: inline-flex !important;
|
|
@@ -48,7 +37,5 @@
|
|
|
48
37
|
}
|
|
49
38
|
}
|
|
50
39
|
@scope ([data-component~="ui-icon"]) to ([data-component]) {
|
|
51
|
-
/*
|
|
52
|
-
|
|
53
|
-
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
40
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
54
41
|
}
|
|
@@ -7,19 +7,7 @@
|
|
|
7
7
|
[data-component~="ui-input-group"] { --html-next-scope-owner: "ui-input-group" !important; }
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-input-group"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
|
|
11
|
-
syntax: "*";
|
|
12
|
-
inherits: false;
|
|
13
|
-
}
|
|
14
|
-
@property --ui-input-group-invalid-border {
|
|
15
|
-
syntax: "*";
|
|
16
|
-
inherits: false;
|
|
17
|
-
}
|
|
18
|
-
@property --ui-input-group-invalid-focus-shadow {
|
|
19
|
-
syntax: "*";
|
|
20
|
-
inherits: false;
|
|
21
|
-
}
|
|
22
|
-
/* An input with fixed text before or after it, such as a domain after a site's name
|
|
10
|
+
/* An input with fixed text before or after it, such as a domain after a site's name
|
|
23
11
|
("acme" + ".example.com") or slashes around a path. The group draws the field's border and
|
|
24
12
|
focus ring around the input and its affixes together; the input inside drops its own through
|
|
25
13
|
its custom properties, so it is still the one ui-input, with its form behaviour intact. The
|
|
@@ -29,7 +17,7 @@
|
|
|
29
17
|
and not the form's. */
|
|
30
18
|
:scope:where([data-component~="ui-input-group"]) {
|
|
31
19
|
/* The group's own border and height stand for the input's, so the group is a lone Input's height.
|
|
32
|
-
|
|
20
|
+
These are defaults for the input; public hooks still win. */
|
|
33
21
|
--_ui-default-input-border-width: 0;
|
|
34
22
|
--_ui-default-input-min-block-size: 0;
|
|
35
23
|
--_ui-default-input-frame-width: calc(2 * var(--ui-border-width));
|
package/styles/ui-input.css
CHANGED
|
@@ -7,60 +7,7 @@
|
|
|
7
7
|
[data-component~="ui-input"] { --html-next-scope-owner: "ui-input" !important; }
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-input"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
/*
|
|
11
|
-
Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
12
|
-
@property --ui-input-border {
|
|
13
|
-
syntax: "*";
|
|
14
|
-
inherits: false;
|
|
15
|
-
}
|
|
16
|
-
@property --ui-input-border-hover {
|
|
17
|
-
syntax: "*";
|
|
18
|
-
inherits: false;
|
|
19
|
-
}
|
|
20
|
-
@property --ui-input-border-width {
|
|
21
|
-
syntax: "*";
|
|
22
|
-
inherits: false;
|
|
23
|
-
}
|
|
24
|
-
@property --ui-input-focus-border {
|
|
25
|
-
syntax: "*";
|
|
26
|
-
inherits: false;
|
|
27
|
-
}
|
|
28
|
-
@property --ui-input-focus-outline {
|
|
29
|
-
syntax: "*";
|
|
30
|
-
inherits: false;
|
|
31
|
-
}
|
|
32
|
-
@property --ui-input-focus-shadow {
|
|
33
|
-
syntax: "*";
|
|
34
|
-
inherits: false;
|
|
35
|
-
}
|
|
36
|
-
@property --ui-input-inline-size {
|
|
37
|
-
syntax: "*";
|
|
38
|
-
inherits: false;
|
|
39
|
-
}
|
|
40
|
-
@property --ui-input-invalid-border {
|
|
41
|
-
syntax: "*";
|
|
42
|
-
inherits: false;
|
|
43
|
-
}
|
|
44
|
-
@property --ui-input-invalid-focus-shadow {
|
|
45
|
-
syntax: "*";
|
|
46
|
-
inherits: false;
|
|
47
|
-
}
|
|
48
|
-
@property --ui-input-min-block-size {
|
|
49
|
-
syntax: "*";
|
|
50
|
-
inherits: false;
|
|
51
|
-
}
|
|
52
|
-
@property --ui-input-radius {
|
|
53
|
-
syntax: "*";
|
|
54
|
-
inherits: false;
|
|
55
|
-
}
|
|
56
|
-
@property --ui-input-shadow {
|
|
57
|
-
syntax: "*";
|
|
58
|
-
inherits: false;
|
|
59
|
-
}
|
|
60
|
-
@property --ui-input-surface {
|
|
61
|
-
syntax: "*";
|
|
62
|
-
inherits: false;
|
|
63
|
-
}
|
|
10
|
+
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
64
11
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
65
12
|
@property --_ui-input-stroke {
|
|
66
13
|
syntax: "<length>";
|
|
@@ -98,7 +45,10 @@
|
|
|
98
45
|
|
|
99
46
|
/* Cap Safari's excess text metrics without changing native date, file, color or range widgets. */
|
|
100
47
|
:scope:where([data-component~="ui-input"]):is([type="text"], [type="search"], [type="tel"], [type="url"], [type="email"], [type="password"], [type="number"]) {
|
|
101
|
-
max-block-size: max(
|
|
48
|
+
max-block-size: max(
|
|
49
|
+
calc(var(--_ui-input-size) - var(--_ui-default-input-frame-width, 0px)),
|
|
50
|
+
calc(1em * var(--ui-line-height-tight) + 2 * var(--_ui-input-inset-block) + 2 * var(--_ui-input-stroke))
|
|
51
|
+
);
|
|
102
52
|
}
|
|
103
53
|
|
|
104
54
|
/* Each size reads the hook and then an Input Group's default first, so a group, which draws the frame, can zero it. */
|
|
@@ -193,8 +143,7 @@
|
|
|
193
143
|
}
|
|
194
144
|
}
|
|
195
145
|
@scope ([data-component~="ui-input"]) to ([data-component]) {
|
|
196
|
-
/*
|
|
197
|
-
Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
146
|
+
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
198
147
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
199
148
|
|
|
200
149
|
/* Cap Safari's excess text metrics without changing native date, file, color or range widgets. */
|
package/styles/ui-list-item.css
CHANGED
|
@@ -7,25 +7,7 @@
|
|
|
7
7
|
[data-component~="ui-list-item"] { --html-next-scope-owner: "ui-list-item" !important; }
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-list-item"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
/*
|
|
11
|
-
@property --ui-list-item-gap {
|
|
12
|
-
syntax: "*";
|
|
13
|
-
inherits: false;
|
|
14
|
-
}
|
|
15
|
-
@property --ui-list-item-icon-size {
|
|
16
|
-
syntax: "*";
|
|
17
|
-
inherits: false;
|
|
18
|
-
}
|
|
19
|
-
@property --ui-list-item-padding-block {
|
|
20
|
-
syntax: "*";
|
|
21
|
-
inherits: false;
|
|
22
|
-
}
|
|
23
|
-
@property --ui-list-item-padding-inline {
|
|
24
|
-
syntax: "*";
|
|
25
|
-
inherits: false;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* One entry in a list: something to recognise (leading, usually an icon), its name (the default
|
|
10
|
+
/* One entry in a list: something to recognise (leading, usually an icon), its name (the default
|
|
29
11
|
slot), one line about it (description), and what it offers (trailing, such as a button or a
|
|
30
12
|
badge). The title and description are one line each and end in an ellipsis, so every item in a
|
|
31
13
|
list has the same height.
|
|
@@ -35,7 +17,7 @@
|
|
|
35
17
|
a router, a modified click, and "open in new tab" all work. Trailing controls sit above it and
|
|
36
18
|
stay their own. */
|
|
37
19
|
:scope:where([data-component~="ui-list-item"]) {
|
|
38
|
-
/*
|
|
20
|
+
/* Resolve shared part values at the component root. */
|
|
39
21
|
--_ui-list-item-icon-size: var(--ui-list-item-icon-size);
|
|
40
22
|
|
|
41
23
|
position: relative;
|
|
@@ -184,9 +166,7 @@
|
|
|
184
166
|
}
|
|
185
167
|
}
|
|
186
168
|
@scope ([data-component~="ui-list-item"]) to ([data-component]) {
|
|
187
|
-
/*
|
|
188
|
-
|
|
189
|
-
/* One entry in a list: something to recognise (leading, usually an icon), its name (the default
|
|
169
|
+
/* One entry in a list: something to recognise (leading, usually an icon), its name (the default
|
|
190
170
|
slot), one line about it (description), and what it offers (trailing, such as a button or a
|
|
191
171
|
badge). The title and description are one line each and end in an ellipsis, so every item in a
|
|
192
172
|
list has the same height.
|
package/styles/ui-list.css
CHANGED
|
@@ -7,17 +7,7 @@
|
|
|
7
7
|
[data-component~="ui-list"] { --html-next-scope-owner: "ui-list" !important; }
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-list"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
/*
|
|
11
|
-
@property --ui-list-gap {
|
|
12
|
-
syntax: "*";
|
|
13
|
-
inherits: false;
|
|
14
|
-
}
|
|
15
|
-
@property --ui-list-min-item-width {
|
|
16
|
-
syntax: "*";
|
|
17
|
-
inherits: false;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
10
|
+
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
21
11
|
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
22
12
|
markers. */
|
|
23
13
|
:scope:where([data-component~="ui-list"]) {
|
|
@@ -69,9 +59,7 @@
|
|
|
69
59
|
}
|
|
70
60
|
}
|
|
71
61
|
@scope ([data-component~="ui-list"]) to ([data-component]) {
|
|
72
|
-
/*
|
|
73
|
-
|
|
74
|
-
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
62
|
+
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
75
63
|
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
76
64
|
markers. */
|
|
77
65
|
|
package/styles/ui-listbox.css
CHANGED
|
@@ -7,28 +7,7 @@
|
|
|
7
7
|
[data-component~="ui-listbox"] { --html-next-scope-owner: "ui-listbox" !important; }
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-listbox"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
|
|
11
|
-
syntax: "*";
|
|
12
|
-
inherits: false;
|
|
13
|
-
}
|
|
14
|
-
@property --ui-listbox-border {
|
|
15
|
-
syntax: "*";
|
|
16
|
-
inherits: false;
|
|
17
|
-
}
|
|
18
|
-
@property --ui-listbox-surface {
|
|
19
|
-
syntax: "*";
|
|
20
|
-
inherits: false;
|
|
21
|
-
}
|
|
22
|
-
@property --ui-listbox-focus-shadow {
|
|
23
|
-
syntax: "*";
|
|
24
|
-
inherits: false;
|
|
25
|
-
}
|
|
26
|
-
@property --ui-listbox-invalid-border {
|
|
27
|
-
syntax: "*";
|
|
28
|
-
inherits: false;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
:scope:where([data-component~="ui-listbox"]) {
|
|
10
|
+
:scope:where([data-component~="ui-listbox"]) {
|
|
32
11
|
position: relative;
|
|
33
12
|
box-sizing: border-box !important;
|
|
34
13
|
display: block !important;
|
|
@@ -107,28 +86,7 @@
|
|
|
107
86
|
/* Its own box around the nested Scroll Area, which it shrinks into so the choices scroll. */
|
|
108
87
|
}
|
|
109
88
|
@scope ([data-slotted~="ui-listbox"]:not([data-component])) to ([data-component], [data-slotted]) {
|
|
110
|
-
|
|
111
|
-
syntax: "*";
|
|
112
|
-
inherits: false;
|
|
113
|
-
}
|
|
114
|
-
@property --ui-listbox-border {
|
|
115
|
-
syntax: "*";
|
|
116
|
-
inherits: false;
|
|
117
|
-
}
|
|
118
|
-
@property --ui-listbox-surface {
|
|
119
|
-
syntax: "*";
|
|
120
|
-
inherits: false;
|
|
121
|
-
}
|
|
122
|
-
@property --ui-listbox-focus-shadow {
|
|
123
|
-
syntax: "*";
|
|
124
|
-
inherits: false;
|
|
125
|
-
}
|
|
126
|
-
@property --ui-listbox-invalid-border {
|
|
127
|
-
syntax: "*";
|
|
128
|
-
inherits: false;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
:where([data-component~="ui-listbox"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-listbox"]))) {
|
|
89
|
+
:where([data-component~="ui-listbox"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-listbox"]))) {
|
|
132
90
|
position: relative;
|
|
133
91
|
box-sizing: border-box !important;
|
|
134
92
|
display: block !important;
|
package/styles/ui-menu-item.css
CHANGED
|
@@ -7,33 +7,7 @@
|
|
|
7
7
|
[data-component~="ui-menu-item"] { --html-next-scope-owner: "ui-menu-item" !important; }
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-menu-item"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
|
|
11
|
-
@property --ui-menu-item-font-size {
|
|
12
|
-
syntax: "*";
|
|
13
|
-
inherits: false;
|
|
14
|
-
}
|
|
15
|
-
@property --ui-menu-item-hover-surface {
|
|
16
|
-
syntax: "*";
|
|
17
|
-
inherits: false;
|
|
18
|
-
}
|
|
19
|
-
@property --ui-menu-item-min-block-size {
|
|
20
|
-
syntax: "*";
|
|
21
|
-
inherits: false;
|
|
22
|
-
}
|
|
23
|
-
@property --ui-menu-item-padding-block {
|
|
24
|
-
syntax: "*";
|
|
25
|
-
inherits: false;
|
|
26
|
-
}
|
|
27
|
-
@property --ui-menu-item-padding-inline {
|
|
28
|
-
syntax: "*";
|
|
29
|
-
inherits: false;
|
|
30
|
-
}
|
|
31
|
-
@property --ui-menu-item-radius {
|
|
32
|
-
syntax: "*";
|
|
33
|
-
inherits: false;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
:scope:where([data-component~="ui-menu-item"]) {
|
|
10
|
+
:scope:where([data-component~="ui-menu-item"]) {
|
|
37
11
|
display: flex !important;
|
|
38
12
|
align-items: center !important;
|
|
39
13
|
gap: var(--ui-space-2) !important;
|
|
@@ -172,9 +146,7 @@
|
|
|
172
146
|
}
|
|
173
147
|
}
|
|
174
148
|
@scope ([data-component~="ui-menu-item"]) to ([data-component]) {
|
|
175
|
-
/*
|
|
176
|
-
|
|
177
|
-
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
149
|
+
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
178
150
|
|
|
179
151
|
.icon :where([data-slotted], [data-slotted] *):is(svg) {
|
|
180
152
|
inline-size: 100%;
|
package/styles/ui-menu.css
CHANGED
|
@@ -7,29 +7,7 @@
|
|
|
7
7
|
[data-component~="ui-menu"] { --html-next-scope-owner: "ui-menu" !important; }
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-menu"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
/*
|
|
11
|
-
@property --ui-menu-surface {
|
|
12
|
-
syntax: "*";
|
|
13
|
-
inherits: false;
|
|
14
|
-
}
|
|
15
|
-
@property --ui-menu-border {
|
|
16
|
-
syntax: "*";
|
|
17
|
-
inherits: false;
|
|
18
|
-
}
|
|
19
|
-
@property --ui-menu-radius {
|
|
20
|
-
syntax: "*";
|
|
21
|
-
inherits: false;
|
|
22
|
-
}
|
|
23
|
-
@property --ui-menu-shadow {
|
|
24
|
-
syntax: "*";
|
|
25
|
-
inherits: false;
|
|
26
|
-
}
|
|
27
|
-
@property --ui-menu-viewport-gap {
|
|
28
|
-
syntax: "*";
|
|
29
|
-
inherits: false;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
10
|
+
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
33
11
|
still win. */
|
|
34
12
|
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="density=compact"] {
|
|
35
13
|
--_ui-default-menu-item-padding-block: var(--ui-space-1);
|
|
@@ -209,9 +187,7 @@
|
|
|
209
187
|
}
|
|
210
188
|
}
|
|
211
189
|
@scope ([data-component~="ui-menu"]) to ([data-component]) {
|
|
212
|
-
/*
|
|
213
|
-
|
|
214
|
-
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
190
|
+
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
215
191
|
still win. */
|
|
216
192
|
|
|
217
193
|
/* Small follows its trigger down: an item's own hooks still win. */
|
package/styles/ui-meter.css
CHANGED
|
@@ -10,10 +10,6 @@
|
|
|
10
10
|
/* How far along something is: a track, filled from the start in the tone's colour. The track is a
|
|
11
11
|
quiet border colour, so an empty meter still shows; every tone's fill keeps 3:1 against the
|
|
12
12
|
track and the page. */
|
|
13
|
-
@property --ui-meter-inline-size {
|
|
14
|
-
syntax: "*";
|
|
15
|
-
inherits: false;
|
|
16
|
-
}
|
|
17
13
|
|
|
18
14
|
:scope:where([data-component~="ui-meter"]) {
|
|
19
15
|
--_meter-fill: var(--ui-text-muted);
|
|
@@ -45,6 +41,14 @@
|
|
|
45
41
|
box-shadow: inset 0 1px rgb(255 255 255 / 0.26), inset 0 -1px rgb(0 0 0 / 0.1);
|
|
46
42
|
}
|
|
47
43
|
|
|
44
|
+
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="tone=accent-secondary"] {
|
|
45
|
+
--_meter-fill: var(--ui-accent-secondary-solid);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="tone=accent-tertiary"] {
|
|
49
|
+
--_meter-fill: var(--ui-accent-tertiary-solid);
|
|
50
|
+
}
|
|
51
|
+
|
|
48
52
|
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="tone=accent"] {
|
|
49
53
|
--_meter-fill: var(--ui-accent-solid);
|
|
50
54
|
}
|
package/styles/ui-nav-item.css
CHANGED
|
@@ -7,25 +7,7 @@
|
|
|
7
7
|
[data-component~="ui-nav-item"] { --html-next-scope-owner: "ui-nav-item" !important; }
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-nav-item"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
/*
|
|
11
|
-
@property --ui-nav-item-current-surface {
|
|
12
|
-
syntax: "*";
|
|
13
|
-
inherits: false;
|
|
14
|
-
}
|
|
15
|
-
@property --ui-nav-item-indicator-color {
|
|
16
|
-
syntax: "*";
|
|
17
|
-
inherits: false;
|
|
18
|
-
}
|
|
19
|
-
@property --ui-nav-item-indicator-width {
|
|
20
|
-
syntax: "*";
|
|
21
|
-
inherits: false;
|
|
22
|
-
}
|
|
23
|
-
@property --ui-nav-item-inline-size {
|
|
24
|
-
syntax: "*";
|
|
25
|
-
inherits: false;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* One destination in a side or rail navigation: an icon to find it by (leading), its name (the
|
|
10
|
+
/* One destination in a side or rail navigation: an icon to find it by (leading), its name (the
|
|
29
11
|
default slot), and an optional line under it (description), such as the record a section
|
|
30
12
|
belongs to. Label and description are one line each and end in an ellipsis, so every item in a
|
|
31
13
|
navigation has the same height and the rail never grows sideways. */
|
|
@@ -179,9 +161,7 @@
|
|
|
179
161
|
}
|
|
180
162
|
}
|
|
181
163
|
@scope ([data-component~="ui-nav-item"]) to ([data-component]) {
|
|
182
|
-
/*
|
|
183
|
-
|
|
184
|
-
/* One destination in a side or rail navigation: an icon to find it by (leading), its name (the
|
|
164
|
+
/* One destination in a side or rail navigation: an icon to find it by (leading), its name (the
|
|
185
165
|
default slot), and an optional line under it (description), such as the record a section
|
|
186
166
|
belongs to. Label and description are one line each and end in an ellipsis, so every item in a
|
|
187
167
|
navigation has the same height and the rail never grows sideways. */
|