@threadlabs/looma 0.42.0 → 0.43.1
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 +47 -21
- 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-mention-menu/ui-editor-mention-menu.js +3 -0
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +4 -0
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -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 +13 -11
- package/docs/card.html +2 -6
- package/docs/card.js +7 -37
- package/docs/catalog.json +821 -202
- package/docs/catalog.mjs +1 -1
- package/docs/customizer-render.mjs +27 -14
- package/docs/customizer.js +42 -9
- package/docs/documentation.css +3 -7
- package/docs/examples/ui-button/examples/08-loading.behavior.js +1 -1
- package/docs/examples/ui-checkbox/examples/02-checked-indeterminate-and-disabled.behavior.js +1 -1
- package/docs/examples/ui-editor-mention-menu/examples/00-preview.behavior.js +1 -0
- package/docs/examples/ui-editor-slash-menu/examples/00-preview.behavior.js +81 -0
- package/docs/examples/ui-editor-table-overlay/examples/00-preview.behavior.js +24 -0
- package/docs/examples/ui-search-shell/examples/00-preview.behavior.js +14 -0
- package/docs/examples/ui-search-shell/examples/02-label-dismissible-status-and-footer.behavior.js +7 -7
- package/docs/examples/ui-toast/examples/01-authored.behavior.js +2 -2
- package/docs/index.d.ts +1 -1
- package/docs/local-server.mjs +2 -5
- package/docs/palette.mjs +5 -4
- package/docs/pastoral.svg +54 -0
- package/docs/portrait.svg +15 -0
- package/docs/render.mjs +33 -3
- package/docs/site.mjs +22 -54
- 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 +42 -18
- 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/UiEditorTableOverlay.js +50 -36
- 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 +77 -26
- 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.d.ts +11 -1
- package/vue/UiEditorTableOverlay.vue +100 -65
- 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 +41 -13
- 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 +633 -2068
- package/vue/editor/index.js +7 -1
- package/docs/preview.js +0 -22
|
@@ -25,50 +25,8 @@
|
|
|
25
25
|
</dialog>
|
|
26
26
|
</div>
|
|
27
27
|
<style>
|
|
28
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
29
|
-
@property --ui-search-shell-border {
|
|
30
|
-
syntax: "*";
|
|
31
|
-
inherits: false;
|
|
32
|
-
}
|
|
33
|
-
@property --ui-search-shell-focus-color {
|
|
34
|
-
syntax: "*";
|
|
35
|
-
inherits: false;
|
|
36
|
-
}
|
|
37
|
-
@property --ui-search-shell-max-height {
|
|
38
|
-
syntax: "*";
|
|
39
|
-
inherits: false;
|
|
40
|
-
}
|
|
41
|
-
@property --ui-search-shell-max-width {
|
|
42
|
-
syntax: "*";
|
|
43
|
-
inherits: false;
|
|
44
|
-
}
|
|
45
|
-
@property --ui-search-shell-padding-top {
|
|
46
|
-
syntax: "*";
|
|
47
|
-
inherits: false;
|
|
48
|
-
}
|
|
49
|
-
@property --ui-search-shell-radius {
|
|
50
|
-
syntax: "*";
|
|
51
|
-
inherits: false;
|
|
52
|
-
}
|
|
53
|
-
@property --ui-search-shell-shadow {
|
|
54
|
-
syntax: "*";
|
|
55
|
-
inherits: false;
|
|
56
|
-
}
|
|
57
|
-
@property --ui-search-shell-surface {
|
|
58
|
-
syntax: "*";
|
|
59
|
-
inherits: false;
|
|
60
|
-
}
|
|
61
|
-
@property --ui-search-shell-viewport-gap {
|
|
62
|
-
syntax: "*";
|
|
63
|
-
inherits: false;
|
|
64
|
-
}
|
|
65
|
-
@property --ui-search-shell-z-index {
|
|
66
|
-
syntax: "*";
|
|
67
|
-
inherits: false;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
28
|
:host {
|
|
71
|
-
/*
|
|
29
|
+
/* Resolve shared part values at the component root. */
|
|
72
30
|
--_ui-search-shell-z-index: var(--ui-search-shell-z-index);
|
|
73
31
|
--_ui-search-shell-padding-top: var(--ui-search-shell-padding-top);
|
|
74
32
|
--_ui-search-shell-viewport-gap: var(--ui-search-shell-viewport-gap);
|
|
@@ -17,48 +17,6 @@
|
|
|
17
17
|
</defs>
|
|
18
18
|
<select from:disabled="$disabled" from:required="$required" from:aria-invalid="$invalid"><slot></slot></select>
|
|
19
19
|
<style>
|
|
20
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
21
|
-
@property --ui-select-border {
|
|
22
|
-
syntax: "*";
|
|
23
|
-
inherits: false;
|
|
24
|
-
}
|
|
25
|
-
@property --ui-select-border-hover {
|
|
26
|
-
syntax: "*";
|
|
27
|
-
inherits: false;
|
|
28
|
-
}
|
|
29
|
-
@property --ui-select-focus-border {
|
|
30
|
-
syntax: "*";
|
|
31
|
-
inherits: false;
|
|
32
|
-
}
|
|
33
|
-
@property --ui-select-focus-shadow {
|
|
34
|
-
syntax: "*";
|
|
35
|
-
inherits: false;
|
|
36
|
-
}
|
|
37
|
-
@property --ui-select-inline-size {
|
|
38
|
-
syntax: "*";
|
|
39
|
-
inherits: false;
|
|
40
|
-
}
|
|
41
|
-
@property --ui-select-invalid-border {
|
|
42
|
-
syntax: "*";
|
|
43
|
-
inherits: false;
|
|
44
|
-
}
|
|
45
|
-
@property --ui-select-invalid-focus-shadow {
|
|
46
|
-
syntax: "*";
|
|
47
|
-
inherits: false;
|
|
48
|
-
}
|
|
49
|
-
@property --ui-select-radius {
|
|
50
|
-
syntax: "*";
|
|
51
|
-
inherits: false;
|
|
52
|
-
}
|
|
53
|
-
@property --ui-select-shadow {
|
|
54
|
-
syntax: "*";
|
|
55
|
-
inherits: false;
|
|
56
|
-
}
|
|
57
|
-
@property --ui-select-surface {
|
|
58
|
-
syntax: "*";
|
|
59
|
-
inherits: false;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
20
|
:host {
|
|
63
21
|
--_ui-select-size: var(--ui-control-size-md);
|
|
64
22
|
--_ui-select-inset-block: var(--ui-control-inset-block-md, var(--ui-space-2));
|
|
@@ -9,12 +9,6 @@
|
|
|
9
9
|
</defs>
|
|
10
10
|
<hr from:aria-orientation="$orientation">
|
|
11
11
|
<style>
|
|
12
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
13
|
-
@property --ui-separator-color {
|
|
14
|
-
syntax: "*";
|
|
15
|
-
inherits: false;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
12
|
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
19
13
|
:host {
|
|
20
14
|
box-sizing: border-box !important;
|
|
@@ -39,30 +39,8 @@
|
|
|
39
39
|
</div>
|
|
40
40
|
</aside>
|
|
41
41
|
<style>
|
|
42
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
43
|
-
@property --ui-sidebar-backdrop {
|
|
44
|
-
syntax: "*";
|
|
45
|
-
inherits: false;
|
|
46
|
-
}
|
|
47
|
-
@property --ui-sidebar-border {
|
|
48
|
-
syntax: "*";
|
|
49
|
-
inherits: false;
|
|
50
|
-
}
|
|
51
|
-
@property --ui-sidebar-surface {
|
|
52
|
-
syntax: "*";
|
|
53
|
-
inherits: false;
|
|
54
|
-
}
|
|
55
|
-
@property --ui-sidebar-width {
|
|
56
|
-
syntax: "*";
|
|
57
|
-
inherits: false;
|
|
58
|
-
}
|
|
59
|
-
@property --ui-sidebar-collapsed-width {
|
|
60
|
-
syntax: "*";
|
|
61
|
-
inherits: false;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
42
|
:host {
|
|
65
|
-
/*
|
|
43
|
+
/* Resolve shared part values at the component root. */
|
|
66
44
|
--_ui-sidebar-backdrop: var(--ui-sidebar-backdrop);
|
|
67
45
|
--_ui-sidebar-expanded-width: var(--_sidebar-width, var(--ui-sidebar-width, 280px));
|
|
68
46
|
|
|
@@ -161,7 +139,7 @@
|
|
|
161
139
|
inset-inline-start: 3px;
|
|
162
140
|
inline-size: 2px;
|
|
163
141
|
background: color-mix(in srgb, var(--ui-affordance-guide-color, var(--ui-border-strong)) 45%, transparent);
|
|
164
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
142
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
165
143
|
transition:
|
|
166
144
|
background-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
167
145
|
opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
@@ -15,31 +15,6 @@
|
|
|
15
15
|
<div class="actions"><slot name="actions"></slot></div>
|
|
16
16
|
</header>
|
|
17
17
|
<style>
|
|
18
|
-
@property --ui-site-header-height {
|
|
19
|
-
syntax: "*";
|
|
20
|
-
inherits: false;
|
|
21
|
-
}
|
|
22
|
-
@property --ui-site-header-compact-height {
|
|
23
|
-
syntax: "*";
|
|
24
|
-
inherits: false;
|
|
25
|
-
}
|
|
26
|
-
@property --ui-site-header-padding-inline {
|
|
27
|
-
syntax: "*";
|
|
28
|
-
inherits: false;
|
|
29
|
-
}
|
|
30
|
-
@property --ui-site-header-surface {
|
|
31
|
-
syntax: "*";
|
|
32
|
-
inherits: false;
|
|
33
|
-
}
|
|
34
|
-
@property --ui-site-header-border {
|
|
35
|
-
syntax: "*";
|
|
36
|
-
inherits: false;
|
|
37
|
-
}
|
|
38
|
-
@property --ui-site-header-z-index {
|
|
39
|
-
syntax: "*";
|
|
40
|
-
inherits: false;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
18
|
:host {
|
|
44
19
|
box-sizing: border-box !important;
|
|
45
20
|
display: flex !important;
|
|
@@ -17,15 +17,6 @@
|
|
|
17
17
|
</defs>
|
|
18
18
|
<span aria-hidden="true" style:--ui-skeleton-width="$width" style:--ui-skeleton-height="$height"></span>
|
|
19
19
|
<style>
|
|
20
|
-
/* Dimensions belong to this placeholder, never a nested or neighbouring one. */
|
|
21
|
-
@property --ui-skeleton-width {
|
|
22
|
-
syntax: "*";
|
|
23
|
-
inherits: false;
|
|
24
|
-
}
|
|
25
|
-
@property --ui-skeleton-height {
|
|
26
|
-
syntax: "*";
|
|
27
|
-
inherits: false;
|
|
28
|
-
}
|
|
29
20
|
@property --_ui-skeleton-viewport-x {
|
|
30
21
|
syntax: "<length>";
|
|
31
22
|
inherits: false;
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
<prop name="height" type="number">An optional measured height in CSS pixels, for a viewport-bounded composition. Omit it to retain intrinsic sizing.</prop>
|
|
5
5
|
<prop name="gap" type="keyword" values="none, xs, s, m, l, xl"
|
|
6
6
|
>Space between items, on the spacing scale: none is zero, xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-stack-gap
|
|
7
|
-
custom property, set on the
|
|
7
|
+
custom property, set on :root, an ancestor, or the component itself, overrides it. Theme rhythm scales these vertical gaps, while an explicit gap override
|
|
8
|
+
stays exact.</prop>
|
|
8
9
|
<prop name="align" type="keyword" values="start, center, end, stretch"
|
|
9
10
|
>How items sit across the stack: stretch (the default) makes each fill the stack's width; start, center, and end keep each at its own width, against the
|
|
10
11
|
start, in the middle, or against the end.</prop>
|
|
@@ -12,15 +13,9 @@
|
|
|
12
13
|
>Where items sit along a stack that is taller than its content: start (the default), center, end, or between, which spreads the spare space between items.
|
|
13
14
|
It has no effect unless the stack is given a height or stretched to one.</prop>
|
|
14
15
|
</defs>
|
|
15
|
-
<div style:--
|
|
16
|
+
<div style:--_ui-stack-height="$height"><slot></slot></div>
|
|
16
17
|
<style>
|
|
17
|
-
|
|
18
|
-
@property --ui-stack-height {
|
|
19
|
-
syntax: "*";
|
|
20
|
-
inherits: false;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@property --ui-stack-gap {
|
|
18
|
+
@property --_ui-stack-height {
|
|
24
19
|
syntax: "*";
|
|
25
20
|
inherits: false;
|
|
26
21
|
}
|
|
@@ -30,7 +25,7 @@
|
|
|
30
25
|
display: flex !important;
|
|
31
26
|
flex-direction: column !important;
|
|
32
27
|
align-items: stretch !important;
|
|
33
|
-
gap: var(--ui-stack-gap, var(--_layout-gap)) !important;
|
|
28
|
+
gap: var(--ui-stack-gap, calc(var(--_layout-gap) * clamp(0.75, var(--ui-rhythm, 1), 1.5))) !important;
|
|
34
29
|
min-inline-size: 0;
|
|
35
30
|
max-inline-size: 100%;
|
|
36
31
|
margin: 0 !important;
|
|
@@ -41,7 +36,7 @@
|
|
|
41
36
|
min-block-size: 0;
|
|
42
37
|
}
|
|
43
38
|
:host([height]) {
|
|
44
|
-
block-size: calc(var(--
|
|
39
|
+
block-size: calc(var(--_ui-stack-height, 0) * 1px);
|
|
45
40
|
min-block-size: 0;
|
|
46
41
|
}
|
|
47
42
|
|
|
@@ -6,11 +6,6 @@
|
|
|
6
6
|
</defs>
|
|
7
7
|
<input type="radio" from:value="$tone" from:aria-label="$toneName">
|
|
8
8
|
<style>
|
|
9
|
-
@property --ui-swatch-size {
|
|
10
|
-
syntax: "*";
|
|
11
|
-
inherits: false;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
9
|
/* A native radio drawn as a round dot. Inside a ui-radio-group the group names it, applies its
|
|
15
10
|
value, and moves between swatches with the arrow keys. */
|
|
16
11
|
:host {
|
|
@@ -37,22 +37,8 @@
|
|
|
37
37
|
</span>
|
|
38
38
|
</label>
|
|
39
39
|
<style>
|
|
40
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
41
|
-
@property --ui-switch-gap {
|
|
42
|
-
syntax: "*";
|
|
43
|
-
inherits: false;
|
|
44
|
-
}
|
|
45
|
-
@property --ui-switch-track-height {
|
|
46
|
-
syntax: "*";
|
|
47
|
-
inherits: false;
|
|
48
|
-
}
|
|
49
|
-
@property --ui-switch-track-width {
|
|
50
|
-
syntax: "*";
|
|
51
|
-
inherits: false;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
40
|
:host {
|
|
55
|
-
/*
|
|
41
|
+
/* Resolve shared part values at the component root. */
|
|
56
42
|
--_ui-switch-track-width: var(--ui-switch-track-width, var(--ui-choice-track-width));
|
|
57
43
|
--_ui-switch-track-height: var(--ui-switch-track-height, var(--ui-choice-track-height));
|
|
58
44
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<defs>
|
|
3
3
|
<prop name="gap" type="keyword" values="xs, s, m, l, xl"
|
|
4
4
|
>Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-switcher-gap custom
|
|
5
|
-
property, set on
|
|
5
|
+
property, set on :root, an ancestor, or the component itself, overrides it.</prop>
|
|
6
6
|
<prop name="threshold" type="keyword" values="xs, sm, md, lg"
|
|
7
7
|
>The container width at which items switch between a row and a stack: wider, they all sit side by side; narrower, each takes the full width. xs is 20rem, sm
|
|
8
8
|
is 30rem (also the default), md is 45rem, and lg is 60rem.</prop>
|
|
@@ -15,16 +15,6 @@
|
|
|
15
15
|
</defs>
|
|
16
16
|
<div><slot></slot></div>
|
|
17
17
|
<style>
|
|
18
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
19
|
-
@property --ui-switcher-gap {
|
|
20
|
-
syntax: "*";
|
|
21
|
-
inherits: false;
|
|
22
|
-
}
|
|
23
|
-
@property --ui-switcher-threshold {
|
|
24
|
-
syntax: "*";
|
|
25
|
-
inherits: false;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
18
|
:host {
|
|
29
19
|
--_switcher-gap: var(--ui-space-4);
|
|
30
20
|
--_switcher-threshold: 30rem;
|
|
@@ -46,27 +46,9 @@
|
|
|
46
46
|
<div class="panels" $ref="panels"><slot></slot></div>
|
|
47
47
|
</div>
|
|
48
48
|
<style>
|
|
49
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
50
|
-
@property --ui-tabs-tab-min-block-size {
|
|
51
|
-
syntax: "*";
|
|
52
|
-
inherits: false;
|
|
53
|
-
}
|
|
54
|
-
@property --ui-tabs-tab-padding-block {
|
|
55
|
-
syntax: "*";
|
|
56
|
-
inherits: false;
|
|
57
|
-
}
|
|
58
|
-
@property --ui-tabs-tab-padding-inline {
|
|
59
|
-
syntax: "*";
|
|
60
|
-
inherits: false;
|
|
61
|
-
}
|
|
62
|
-
@property --ui-tabs-panel-padding {
|
|
63
|
-
syntax: "*";
|
|
64
|
-
inherits: false;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
49
|
/* Density resolves into the tab row's own values; the public tokens still override them. */
|
|
68
50
|
:host {
|
|
69
|
-
/*
|
|
51
|
+
/* Resolve shared part values at the component root. */
|
|
70
52
|
--_ui-tabs-tab-min-block-size: var(--ui-tabs-tab-min-block-size);
|
|
71
53
|
--_ui-tabs-tab-padding-block: var(--ui-tabs-tab-padding-block);
|
|
72
54
|
--_ui-tabs-tab-padding-inline: var(--ui-tabs-tab-padding-inline);
|
|
@@ -11,10 +11,15 @@
|
|
|
11
11
|
<prop name="size" type="keyword" values="inherit, xs, sm, md, lg" default="inherit"
|
|
12
12
|
>The step on the type scale. inherit (the default) keeps the size of the text around it; xs is for fine print, sm for supporting text such as help and
|
|
13
13
|
metadata, md is body text, and lg is a lead paragraph.</prop>
|
|
14
|
-
<prop
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
<prop
|
|
15
|
+
name="tone"
|
|
16
|
+
type="keyword"
|
|
17
|
+
values="default, secondary, muted, accent, accent-secondary, accent-tertiary, danger, success, info, warning"
|
|
18
|
+
default="default"
|
|
19
|
+
>The text's colour, by meaning. default inherits its containing surface or control's foreground. secondary is supporting prose such as a description; muted
|
|
20
|
+
is quieter still, for metadata and hints; accent draws the eye; danger states an error; success confirms one; info marks something moving forward
|
|
21
|
+
normally; warning marks something that needs attention. Colour alone does not carry the meaning, so the words must say it too. Supporting brand families
|
|
22
|
+
use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.</prop>
|
|
18
23
|
<prop name="weight" type="keyword" values="inherit, normal, medium, semibold" default="inherit"
|
|
19
24
|
>The weight. inherit keeps the surrounding weight; medium and semibold emphasise a name or a figure.</prop>
|
|
20
25
|
<prop name="variant" type="keyword" values="body, display, heading, label, caption, eyebrow, code" default="body"
|
|
@@ -53,7 +58,7 @@
|
|
|
53
58
|
:host {
|
|
54
59
|
margin: 0 !important;
|
|
55
60
|
min-inline-size: 0;
|
|
56
|
-
color:
|
|
61
|
+
color: inherit;
|
|
57
62
|
text-align: start;
|
|
58
63
|
}
|
|
59
64
|
|
|
@@ -94,6 +99,14 @@
|
|
|
94
99
|
:host([tone="muted"]) {
|
|
95
100
|
color: var(--ui-text-muted);
|
|
96
101
|
}
|
|
102
|
+
:host([tone="accent-secondary"]) {
|
|
103
|
+
color: var(--ui-accent-secondary-subtle-text);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
:host([tone="accent-tertiary"]) {
|
|
107
|
+
color: var(--ui-accent-tertiary-subtle-text);
|
|
108
|
+
}
|
|
109
|
+
|
|
97
110
|
:host([tone="accent"]) {
|
|
98
111
|
color: var(--ui-accent-subtle-text);
|
|
99
112
|
}
|
|
@@ -157,7 +170,7 @@
|
|
|
157
170
|
/* A link in running text is underlined, so it stands apart from the words around it by more than
|
|
158
171
|
colour. */
|
|
159
172
|
:host :slotted(a) {
|
|
160
|
-
color: var(--ui-accent-subtle-text);
|
|
173
|
+
color: var(--ui-link-color, var(--ui-accent-subtle-text));
|
|
161
174
|
text-decoration: underline;
|
|
162
175
|
text-decoration-thickness: 0.06em;
|
|
163
176
|
text-underline-offset: 0.18em;
|
|
@@ -28,56 +28,6 @@
|
|
|
28
28
|
style:--_max-rows="$maxRows"
|
|
29
29
|
></textarea>
|
|
30
30
|
<style>
|
|
31
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
32
|
-
@property --ui-textarea-border-width {
|
|
33
|
-
syntax: "*";
|
|
34
|
-
inherits: false;
|
|
35
|
-
}
|
|
36
|
-
@property --ui-textarea-border {
|
|
37
|
-
syntax: "*";
|
|
38
|
-
inherits: false;
|
|
39
|
-
}
|
|
40
|
-
@property --ui-textarea-border-hover {
|
|
41
|
-
syntax: "*";
|
|
42
|
-
inherits: false;
|
|
43
|
-
}
|
|
44
|
-
@property --ui-textarea-focus-border {
|
|
45
|
-
syntax: "*";
|
|
46
|
-
inherits: false;
|
|
47
|
-
}
|
|
48
|
-
@property --ui-textarea-focus-outline {
|
|
49
|
-
syntax: "*";
|
|
50
|
-
inherits: false;
|
|
51
|
-
}
|
|
52
|
-
@property --ui-textarea-surface {
|
|
53
|
-
syntax: "*";
|
|
54
|
-
inherits: false;
|
|
55
|
-
}
|
|
56
|
-
@property --ui-textarea-focus-shadow {
|
|
57
|
-
syntax: "*";
|
|
58
|
-
inherits: false;
|
|
59
|
-
}
|
|
60
|
-
@property --ui-textarea-invalid-border {
|
|
61
|
-
syntax: "*";
|
|
62
|
-
inherits: false;
|
|
63
|
-
}
|
|
64
|
-
@property --ui-textarea-invalid-focus-shadow {
|
|
65
|
-
syntax: "*";
|
|
66
|
-
inherits: false;
|
|
67
|
-
}
|
|
68
|
-
@property --ui-textarea-radius {
|
|
69
|
-
syntax: "*";
|
|
70
|
-
inherits: false;
|
|
71
|
-
}
|
|
72
|
-
@property --ui-textarea-shadow {
|
|
73
|
-
syntax: "*";
|
|
74
|
-
inherits: false;
|
|
75
|
-
}
|
|
76
|
-
@property --ui-textarea-padding-inline-end {
|
|
77
|
-
syntax: "*";
|
|
78
|
-
inherits: false;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
31
|
:host {
|
|
82
32
|
box-sizing: border-box !important;
|
|
83
33
|
display: inline-block !important;
|
|
@@ -22,30 +22,11 @@
|
|
|
22
22
|
</div>
|
|
23
23
|
<style>
|
|
24
24
|
/* Component hooks stay on this toast; group overlay values may inherit from the region. */
|
|
25
|
-
@property --ui-toast-surface {
|
|
26
|
-
syntax: "*";
|
|
27
|
-
inherits: false;
|
|
28
|
-
}
|
|
29
|
-
@property --ui-toast-border {
|
|
30
|
-
syntax: "*";
|
|
31
|
-
inherits: false;
|
|
32
|
-
}
|
|
33
|
-
@property --ui-toast-radius {
|
|
34
|
-
syntax: "*";
|
|
35
|
-
inherits: false;
|
|
36
|
-
}
|
|
37
|
-
@property --ui-toast-shadow {
|
|
38
|
-
syntax: "*";
|
|
39
|
-
inherits: false;
|
|
40
|
-
}
|
|
41
|
-
@property --ui-toast-accent {
|
|
42
|
-
syntax: "*";
|
|
43
|
-
inherits: false;
|
|
44
|
-
}
|
|
45
25
|
|
|
46
26
|
:host {
|
|
47
|
-
--_ui-toast-accent: var(--ui-border-strong);
|
|
48
|
-
--_ui-
|
|
27
|
+
--_ui-toast-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
28
|
+
--_ui-surface-text: var(--ui-text-primary);
|
|
29
|
+
--_ui-toast-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
49
30
|
|
|
50
31
|
display: flex !important;
|
|
51
32
|
align-items: center !important;
|
|
@@ -59,7 +40,7 @@
|
|
|
59
40
|
border: var(--ui-border-width) solid var(--ui-toast-border, var(--ui-overlay-border, var(--ui-toast-accent, var(--_ui-toast-accent))));
|
|
60
41
|
border-radius: var(--ui-toast-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
61
42
|
background: var(--ui-toast-surface, var(--ui-overlay-surface, var(--_ui-toast-surface)));
|
|
62
|
-
color: var(--
|
|
43
|
+
color: var(--_ui-surface-text);
|
|
63
44
|
font-family: var(--ui-font-family-sans);
|
|
64
45
|
font-size: var(--ui-font-size-sm);
|
|
65
46
|
font-weight: var(--ui-font-normal);
|
|
@@ -69,19 +50,23 @@
|
|
|
69
50
|
}
|
|
70
51
|
|
|
71
52
|
:host([tone="info"]) {
|
|
72
|
-
--_ui-toast-accent: var(--ui-info-
|
|
53
|
+
--_ui-toast-accent: var(--ui-info-soft-border);
|
|
54
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
73
55
|
--_ui-toast-surface: var(--ui-info-soft);
|
|
74
56
|
}
|
|
75
57
|
:host([tone="success"]) {
|
|
76
|
-
--_ui-toast-accent: var(--ui-success-
|
|
58
|
+
--_ui-toast-accent: var(--ui-success-soft-border);
|
|
59
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
77
60
|
--_ui-toast-surface: var(--ui-success-soft);
|
|
78
61
|
}
|
|
79
62
|
:host([tone="warning"]) {
|
|
80
|
-
--_ui-toast-accent: var(--ui-warning-
|
|
63
|
+
--_ui-toast-accent: var(--ui-warning-soft-border);
|
|
64
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
81
65
|
--_ui-toast-surface: var(--ui-warning-soft);
|
|
82
66
|
}
|
|
83
67
|
:host([tone="danger"]) {
|
|
84
|
-
--_ui-toast-accent: var(--ui-danger-
|
|
68
|
+
--_ui-toast-accent: var(--ui-danger-soft-border);
|
|
69
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
85
70
|
--_ui-toast-surface: var(--ui-danger-soft);
|
|
86
71
|
}
|
|
87
72
|
|
|
@@ -51,34 +51,8 @@
|
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
53
|
<style>
|
|
54
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
55
|
-
@property --ui-toast-region-surface {
|
|
56
|
-
syntax: "*";
|
|
57
|
-
inherits: false;
|
|
58
|
-
}
|
|
59
|
-
@property --ui-toast-region-border {
|
|
60
|
-
syntax: "*";
|
|
61
|
-
inherits: false;
|
|
62
|
-
}
|
|
63
|
-
@property --ui-toast-region-radius {
|
|
64
|
-
syntax: "*";
|
|
65
|
-
inherits: false;
|
|
66
|
-
}
|
|
67
|
-
@property --ui-toast-region-shadow {
|
|
68
|
-
syntax: "*";
|
|
69
|
-
inherits: false;
|
|
70
|
-
}
|
|
71
|
-
@property --ui-toast-region-enter-duration {
|
|
72
|
-
syntax: "*";
|
|
73
|
-
inherits: false;
|
|
74
|
-
}
|
|
75
|
-
@property --ui-toast-region-exit-duration {
|
|
76
|
-
syntax: "*";
|
|
77
|
-
inherits: false;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
54
|
:host {
|
|
81
|
-
/*
|
|
55
|
+
/* Resolve shared part values at the component root. */
|
|
82
56
|
--_ui-toast-region-surface: var(--ui-toast-region-surface);
|
|
83
57
|
--_ui-toast-region-border: var(--ui-toast-region-border);
|
|
84
58
|
--_ui-toast-region-radius: var(--ui-toast-region-radius);
|
|
@@ -141,8 +115,9 @@
|
|
|
141
115
|
}
|
|
142
116
|
|
|
143
117
|
.toast {
|
|
144
|
-
--_ui-toast-region-accent: var(--ui-border-strong);
|
|
145
|
-
--_ui-
|
|
118
|
+
--_ui-toast-region-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
119
|
+
--_ui-surface-text: var(--ui-text-primary);
|
|
120
|
+
--_ui-toast-region-tone-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
146
121
|
display: grid !important;
|
|
147
122
|
grid-template-columns: 1fr auto;
|
|
148
123
|
gap: var(--ui-space-2) !important;
|
|
@@ -153,7 +128,7 @@
|
|
|
153
128
|
/* The close button's internal space supplies the rest of the trailing inset. */
|
|
154
129
|
padding-inline-end: var(--ui-space-2) !important;
|
|
155
130
|
background: var(--_ui-toast-region-surface, var(--ui-overlay-surface, var(--_ui-toast-region-tone-surface)));
|
|
156
|
-
color: var(--
|
|
131
|
+
color: var(--_ui-surface-text);
|
|
157
132
|
font-family: var(--ui-font-family-sans);
|
|
158
133
|
font-size: var(--ui-font-size-sm);
|
|
159
134
|
font-weight: var(--ui-font-normal);
|
|
@@ -163,19 +138,23 @@
|
|
|
163
138
|
}
|
|
164
139
|
|
|
165
140
|
.toast[data-tone="info"] {
|
|
166
|
-
--_ui-toast-region-accent: var(--ui-info-
|
|
141
|
+
--_ui-toast-region-accent: var(--ui-info-soft-border);
|
|
142
|
+
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
167
143
|
--_ui-toast-region-tone-surface: var(--ui-info-soft);
|
|
168
144
|
}
|
|
169
145
|
.toast[data-tone="success"] {
|
|
170
|
-
--_ui-toast-region-accent: var(--ui-success-
|
|
146
|
+
--_ui-toast-region-accent: var(--ui-success-soft-border);
|
|
147
|
+
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
171
148
|
--_ui-toast-region-tone-surface: var(--ui-success-soft);
|
|
172
149
|
}
|
|
173
150
|
.toast[data-tone="warning"] {
|
|
174
|
-
--_ui-toast-region-accent: var(--ui-warning-
|
|
151
|
+
--_ui-toast-region-accent: var(--ui-warning-soft-border);
|
|
152
|
+
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
175
153
|
--_ui-toast-region-tone-surface: var(--ui-warning-soft);
|
|
176
154
|
}
|
|
177
155
|
.toast[data-tone="danger"] {
|
|
178
|
-
--_ui-toast-region-accent: var(--ui-danger-
|
|
156
|
+
--_ui-toast-region-accent: var(--ui-danger-soft-border);
|
|
157
|
+
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
179
158
|
--_ui-toast-region-tone-surface: var(--ui-danger-soft);
|
|
180
159
|
}
|
|
181
160
|
|
|
@@ -38,51 +38,9 @@
|
|
|
38
38
|
<span class="shortcut"><slot name="shortcut"></slot></span>
|
|
39
39
|
</div></span>
|
|
40
40
|
<style>
|
|
41
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
42
|
-
@property --ui-tooltip-arrow-size {
|
|
43
|
-
syntax: "*";
|
|
44
|
-
inherits: false;
|
|
45
|
-
}
|
|
46
|
-
@property --ui-tooltip-border {
|
|
47
|
-
syntax: "*";
|
|
48
|
-
inherits: false;
|
|
49
|
-
}
|
|
50
|
-
@property --ui-tooltip-inverse-surface {
|
|
51
|
-
syntax: "*";
|
|
52
|
-
inherits: false;
|
|
53
|
-
}
|
|
54
|
-
@property --ui-tooltip-inverse-text {
|
|
55
|
-
syntax: "*";
|
|
56
|
-
inherits: false;
|
|
57
|
-
}
|
|
58
|
-
@property --ui-tooltip-max-inline-size {
|
|
59
|
-
syntax: "*";
|
|
60
|
-
inherits: false;
|
|
61
|
-
}
|
|
62
|
-
@property --ui-tooltip-offset {
|
|
63
|
-
syntax: "*";
|
|
64
|
-
inherits: false;
|
|
65
|
-
}
|
|
66
|
-
@property --ui-tooltip-radius {
|
|
67
|
-
syntax: "*";
|
|
68
|
-
inherits: false;
|
|
69
|
-
}
|
|
70
|
-
@property --ui-tooltip-shadow {
|
|
71
|
-
syntax: "*";
|
|
72
|
-
inherits: false;
|
|
73
|
-
}
|
|
74
|
-
@property --ui-tooltip-surface {
|
|
75
|
-
syntax: "*";
|
|
76
|
-
inherits: false;
|
|
77
|
-
}
|
|
78
|
-
@property --ui-tooltip-text {
|
|
79
|
-
syntax: "*";
|
|
80
|
-
inherits: false;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
41
|
:host {
|
|
84
42
|
--_ui-material-scale: 0.08;
|
|
85
|
-
/*
|
|
43
|
+
/* Resolve shared part values at the component root. */
|
|
86
44
|
--_ui-tooltip-border: var(--ui-tooltip-border);
|
|
87
45
|
--_ui-tooltip-max-inline-size: var(--ui-tooltip-max-inline-size);
|
|
88
46
|
--_ui-tooltip-radius: var(--ui-tooltip-radius);
|