@radui/ui 1.0.0 → 1.1.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/dist/components/Accordion.cjs +1 -0
- package/dist/components/Accordion.js +1 -1
- package/dist/components/AlertDialog.cjs +1 -0
- package/dist/components/AlertDialog.d.ts +61 -24
- package/dist/components/AlertDialog.js +1 -1
- package/dist/components/AspectRatio.cjs +1 -0
- package/dist/components/Avatar.cjs +1 -0
- package/dist/components/Avatar.d.ts +36 -6
- package/dist/components/Avatar.js +1 -1
- package/dist/components/AvatarGroup.cjs +1 -0
- package/dist/components/AvatarGroup.d.ts +39 -18
- package/dist/components/AvatarGroup.js +1 -1
- package/dist/components/AvatarPrimitiveFallback-BpUU1vNV.cjs +1 -0
- package/dist/components/{AvatarPrimitiveFallback-C1siRii4.js → AvatarPrimitiveFallback-DIXB9Tnm.js} +1 -1
- package/dist/components/Badge.cjs +1 -0
- package/dist/components/Badge.js +1 -1
- package/dist/components/BlockQuote.cjs +1 -0
- package/dist/components/Breadcrumb.cjs +1 -0
- package/dist/components/Breadcrumb.js +1 -1
- package/dist/components/Button.cjs +1 -0
- package/dist/components/Button.js +1 -1
- package/dist/components/Callout.cjs +1 -0
- package/dist/components/Callout.d.ts +32 -18
- package/dist/components/Callout.js +1 -1
- package/dist/components/Card.cjs +1 -0
- package/dist/components/Card.d.ts +31 -16
- package/dist/components/Card.js +1 -1
- package/dist/components/Checkbox.cjs +8 -0
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/CheckboxCards.cjs +1 -0
- package/dist/components/CheckboxCards.js +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -0
- package/dist/components/CheckboxGroup.d.ts +6 -2
- package/dist/components/CheckboxGroup.js +1 -1
- package/dist/components/{CheckboxGroupPrimitive-DfHQYkep.js → CheckboxGroupPrimitive-BRCGIztp.js} +1 -1
- package/dist/components/CheckboxGroupPrimitive-C21WO4L3.cjs +1 -0
- package/dist/components/Code.cjs +1 -0
- package/dist/components/Collapsible.cjs +1 -0
- package/dist/components/Collapsible.d.ts +34 -4
- package/dist/components/Collapsible.js +1 -1
- package/dist/components/Combobox.cjs +1 -0
- package/dist/components/Combobox.d.ts +57 -45
- package/dist/components/Combobox.js +1 -1
- package/dist/components/ComboboxPrimitive-BdX2jgpQ.js +1 -0
- package/dist/components/ComboboxPrimitive-CyO6ZH5T.cjs +1 -0
- package/dist/components/Command.cjs +1 -0
- package/dist/components/Command.d.ts +36 -8
- package/dist/components/Command.js +1 -1
- package/dist/components/ContextMenu.cjs +1 -0
- package/dist/components/ContextMenu.d.ts +25 -11
- package/dist/components/ContextMenu.js +1 -1
- package/dist/components/DataList.cjs +1 -0
- package/dist/components/Dialog.cjs +1 -0
- package/dist/components/Dialog.d.ts +29 -4
- package/dist/components/Dialog.js +1 -1
- package/dist/components/Disclosure.cjs +1 -0
- package/dist/components/Disclosure.js +1 -1
- package/dist/components/Drawer.cjs +1 -0
- package/dist/components/Drawer.d.ts +31 -3
- package/dist/components/Drawer.js +1 -1
- package/dist/components/DropdownMenu.cjs +1 -0
- package/dist/components/DropdownMenu.d.ts +25 -11
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/Em.cjs +1 -0
- package/dist/components/Fieldset.cjs +1 -0
- package/dist/components/Heading.cjs +1 -0
- package/dist/components/HoverCard.cjs +1 -0
- package/dist/components/HoverCard.d.ts +15 -1
- package/dist/components/HoverCard.js +1 -1
- package/dist/components/Kbd.cjs +1 -0
- package/dist/components/Label.cjs +1 -0
- package/dist/components/Label.d.ts +18 -0
- package/dist/components/Label.js +1 -0
- package/dist/components/Link.cjs +1 -0
- package/dist/components/Link.js +1 -1
- package/dist/components/LiveRegion.cjs +1 -0
- package/dist/components/LiveRegion.d.ts +2 -5
- package/dist/components/LiveRegion.js +1 -1
- package/dist/components/MenuPrimitive-Ctqo21Vd.cjs +1 -0
- package/dist/components/MenuPrimitive-Cy_MJfjG.js +1 -0
- package/dist/components/Menubar.cjs +1 -0
- package/dist/components/Menubar.d.ts +45 -16
- package/dist/components/Menubar.js +1 -1
- package/dist/components/Meter.cjs +1 -0
- package/dist/components/Meter.d.ts +44 -0
- package/dist/components/Meter.js +1 -0
- package/dist/components/Minimap.cjs +1 -0
- package/dist/components/Minimap.js +1 -1
- package/dist/components/NavigationMenu.cjs +1 -0
- package/dist/components/NavigationMenu.d.ts +2 -0
- package/dist/components/NavigationMenu.js +1 -1
- package/dist/components/NumberField.cjs +1 -0
- package/dist/components/Popover.cjs +1 -0
- package/dist/components/Popover.d.ts +64 -5
- package/dist/components/Popover.js +1 -1
- package/dist/components/Progress.cjs +1 -0
- package/dist/components/Progress.d.ts +14 -2
- package/dist/components/Progress.js +1 -1
- package/dist/components/Quote.cjs +1 -0
- package/dist/components/Radio.cjs +1 -0
- package/dist/components/Radio.js +1 -1
- package/dist/components/RadioCards.cjs +1 -0
- package/dist/components/RadioCards.d.ts +22 -1
- package/dist/components/RadioCards.js +1 -1
- package/dist/components/RadioGroup.cjs +1 -0
- package/dist/components/RadioGroup.d.ts +27 -7
- package/dist/components/RadioGroup.js +1 -1
- package/dist/components/RadioGroupPrimitive-B0CrM2bi.cjs +1 -0
- package/dist/components/RadioGroupPrimitive-CnPy0zgW.js +1 -0
- package/dist/components/ScrollArea.cjs +1 -0
- package/dist/components/ScrollArea.d.ts +24 -13
- package/dist/components/ScrollArea.js +1 -1
- package/dist/components/Select.cjs +1 -0
- package/dist/components/Select.d.ts +52 -44
- package/dist/components/Select.js +1 -1
- package/dist/components/Separator.cjs +1 -0
- package/dist/components/Separator.d.ts +8 -1
- package/dist/components/Separator.js +1 -1
- package/dist/components/Skeleton.cjs +1 -0
- package/dist/components/Slider.cjs +1 -0
- package/dist/components/Slider.js +1 -1
- package/dist/components/Spinner.cjs +1 -0
- package/dist/components/Splitter.cjs +1 -0
- package/dist/components/Steps.cjs +1 -0
- package/dist/components/Steps.d.ts +33 -16
- package/dist/components/Steps.js +1 -1
- package/dist/components/Strong.cjs +1 -0
- package/dist/components/Switch.cjs +1 -0
- package/dist/components/Switch.d.ts +14 -2
- package/dist/components/Switch.js +1 -1
- package/dist/components/TabNav.cjs +1 -0
- package/dist/components/TabNav.d.ts +5 -0
- package/dist/components/TabNav.js +1 -1
- package/dist/components/Table.cjs +1 -0
- package/dist/components/Table.d.ts +23 -12
- package/dist/components/Table.js +1 -1
- package/dist/components/Tabs.cjs +1 -0
- package/dist/components/Tabs.js +1 -1
- package/dist/components/Text.cjs +1 -0
- package/dist/components/TextArea.cjs +1 -0
- package/dist/components/TextField.cjs +1 -0
- package/dist/components/Theme.cjs +1 -0
- package/dist/components/Theme.d.ts +2 -0
- package/dist/components/Theme.js +1 -1
- package/dist/components/ThemeContext-t7IX-w6i.cjs +1 -0
- package/dist/components/Toast.cjs +1 -0
- package/dist/components/Toast.js +1 -1
- package/dist/components/Toggle.cjs +1 -0
- package/dist/components/Toggle.js +1 -1
- package/dist/components/ToggleGroup.cjs +1 -0
- package/dist/components/ToggleGroup.js +1 -1
- package/dist/components/Toolbar.cjs +1 -0
- package/dist/components/Toolbar.d.ts +8 -1
- package/dist/components/Toolbar.js +1 -1
- package/dist/components/Tooltip.cjs +1 -0
- package/dist/components/Tooltip.d.ts +7 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Tree.cjs +1 -0
- package/dist/components/Tree.d.ts +8 -1
- package/dist/components/Tree.js +1 -1
- package/dist/components/VisuallyHidden.cjs +1 -0
- package/dist/components/VisuallyHidden.d.ts +6 -1
- package/dist/components/VisuallyHidden.js +1 -1
- package/dist/components/check-BazcmpuG.cjs +44 -0
- package/dist/components/documentOverlayOpen-BbC6uByx.cjs +1 -0
- package/dist/components/{floating-ui.react-2kiGB4sW.js → floating-ui.react-CZf-mCiA.js} +1 -1
- package/dist/components/floating-ui.react-Kw0_L48Q.cjs +5 -0
- package/dist/components/index-7Bjw6jmo.cjs +1 -0
- package/dist/components/index-BZO29jsF.cjs +1 -0
- package/dist/components/index-B_OPdW20.js +1 -0
- package/dist/components/index-BbvJO-A-.cjs +1 -0
- package/dist/components/index-Bg-UeWCo.cjs +1 -0
- package/dist/components/index-BidxkqdT.js +1 -0
- package/dist/components/index-BudP4FIn.cjs +1 -0
- package/dist/components/index-BwNOI8cB.cjs +1 -0
- package/dist/components/{index-DMX7gpdp.js → index-CAD0hWja.js} +1 -1
- package/dist/components/{index-xlB--dex.js → index-CXv1Y-O3.js} +1 -1
- package/dist/components/index-C_Yiql9j.cjs +1 -0
- package/dist/components/index-CbdoW3TC.cjs +1 -0
- package/dist/components/{index-nYRBURkR.js → index-Cp5L_alO.js} +1 -1
- package/dist/components/{index-C7dBo_Ry.js → index-D8QLtYJh.js} +1 -1
- package/dist/components/{index-FITGoHty.js → index-DH-14XDv.js} +1 -1
- package/dist/components/index-DrMwbB8q.cjs +1 -0
- package/dist/components/index-K0sE1H4u.cjs +1 -0
- package/dist/components/index-c6NFMS_0.cjs +1 -0
- package/dist/components/index-rUSzFrhJ.cjs +1 -0
- package/dist/components/keyboard-BBlFllyi.cjs +1 -0
- package/dist/components/mergeProps-DW5qFqqJ.cjs +1 -0
- package/dist/components/mergeRefs-BUn-enYe.cjs +1 -0
- package/dist/components/useComponentClass-B0DF90tm.cjs +1 -0
- package/dist/index.cjs +70 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.js +69 -0
- package/dist/styles/clarity/Accordion/accordion.clarity.scss +147 -0
- package/dist/styles/clarity/AlertDialog/alert-dialog.clarity.scss +199 -0
- package/dist/styles/clarity/Avatar/_avatar-base.clarity.scss +87 -0
- package/dist/styles/clarity/Avatar/avatar.clarity.scss +1 -0
- package/dist/styles/clarity/AvatarGroup/avatar-group.clarity.scss +122 -0
- package/dist/styles/clarity/Badge/badge.clarity.scss +118 -0
- package/dist/styles/clarity/BlockQuote/blockquote.clarity.scss +123 -0
- package/dist/styles/clarity/Breadcrumb/breadcrumb.clarity.scss +50 -0
- package/dist/styles/clarity/Button/button.clarity.scss +132 -0
- package/dist/styles/clarity/Callout/callout.clarity.scss +183 -0
- package/dist/styles/clarity/Card/card.clarity.scss +121 -0
- package/dist/styles/clarity/Checkbox/checkbox.clarity.scss +75 -0
- package/dist/styles/clarity/CheckboxCards/checkbox-cards.clarity.scss +143 -0
- package/dist/styles/clarity/CheckboxGroup/checkbox-group.clarity.scss +92 -0
- package/dist/styles/clarity/Code/code.clarity.scss +42 -0
- package/dist/styles/clarity/Collapsible/collapsible.clarity.scss +84 -0
- package/dist/styles/clarity/Combobox/combobox.clarity.scss +157 -0
- package/dist/styles/clarity/Command/command.clarity.scss +231 -0
- package/dist/styles/clarity/ContextMenu/context-menu.clarity.scss +272 -0
- package/dist/styles/clarity/DataList/data-list.clarity.scss +60 -0
- package/dist/styles/clarity/Dialog/dialog.clarity.scss +205 -0
- package/dist/styles/clarity/Disclosure/disclosure.clarity.scss +56 -0
- package/dist/styles/clarity/Drawer/drawer.clarity.scss +331 -0
- package/dist/styles/clarity/DropdownMenu/dropdown-menu.clarity.scss +187 -0
- package/dist/styles/clarity/Em/em.clarity.scss +3 -0
- package/dist/styles/clarity/Fieldset/fieldset.clarity.scss +49 -0
- package/dist/styles/clarity/Heading/heading.clarity.scss +46 -0
- package/dist/styles/clarity/HoverCard/hover-card.clarity.scss +43 -0
- package/dist/styles/clarity/Kbd/kbd.clarity.scss +55 -0
- package/dist/styles/clarity/Label/label.clarity.scss +11 -0
- package/dist/styles/clarity/Link/link.clarity.scss +41 -0
- package/dist/styles/clarity/Menubar/menubar.clarity.scss +149 -0
- package/dist/styles/clarity/Meter/meter.clarity.scss +39 -0
- package/dist/styles/clarity/Minimap/minimap.clarity.scss +92 -0
- package/dist/styles/clarity/NavigationMenu/navigation-menu.clarity.scss +128 -0
- package/dist/styles/clarity/NumberField/number-field.clarity.scss +135 -0
- package/dist/styles/clarity/Popover/popover.clarity.scss +106 -0
- package/dist/styles/clarity/Progress/progress.clarity.scss +38 -0
- package/dist/styles/clarity/Quote/quote.clarity.scss +26 -0
- package/dist/styles/clarity/Radio/radio.clarity.scss +76 -0
- package/dist/styles/clarity/RadioCards/radiocards.clarity.scss +134 -0
- package/dist/styles/clarity/RadioGroup/radio-group.clarity.scss +99 -0
- package/dist/styles/clarity/ScrollArea/scroll-area.clarity.scss +112 -0
- package/dist/styles/clarity/Select/select.clarity.scss +228 -0
- package/dist/styles/clarity/Separator/separator.clarity.scss +23 -0
- package/dist/styles/clarity/Skeleton/skeleton.clarity.scss +33 -0
- package/dist/styles/clarity/Slider/slider.clarity.scss +203 -0
- package/dist/styles/clarity/Spinner/spinner.clarity.scss +52 -0
- package/dist/styles/clarity/Splitter/splitter.clarity.scss +151 -0
- package/dist/styles/clarity/Steps/steps.clarity.scss +143 -0
- package/dist/styles/clarity/Strong/strong.clarity.scss +6 -0
- package/dist/styles/clarity/Switch/switch.clarity.scss +89 -0
- package/dist/styles/clarity/TabNav/tab-nav.clarity.scss +69 -0
- package/dist/styles/clarity/Table/table.clarity.scss +128 -0
- package/dist/styles/clarity/Tabs/tabs.clarity.scss +91 -0
- package/dist/styles/clarity/Text/text.clarity.scss +5 -0
- package/dist/styles/clarity/TextArea/textarea.clarity.scss +146 -0
- package/dist/styles/clarity/TextField/text-field.clarity.scss +120 -0
- package/dist/styles/clarity/Toast/toast.clarity.scss +203 -0
- package/dist/styles/clarity/Toggle/toggle.clarity.scss +51 -0
- package/dist/styles/clarity/ToggleGroup/toggle-group.clarity.scss +103 -0
- package/dist/styles/clarity/Toolbar/toolbar.clarity.scss +140 -0
- package/dist/styles/clarity/Tooltip/tooltip.clarity.scss +37 -0
- package/dist/styles/clarity/Tree/tree.clarity.scss +103 -0
- package/dist/themes/baremetal.css +1 -1
- package/dist/themes/default.css +1 -1
- package/package.json +21 -2
- package/dist/components/ComboboxPrimitive-DQcJ8pzQ.js +0 -1
- package/dist/components/MenuPrimitive-D9VMz2TZ.js +0 -1
- package/dist/components/RadioGroupPrimitive-D1PP4y2M.js +0 -1
- package/dist/components/index-D8I-rMwz.js +0 -1
- package/dist/components/index-XF8itt-H.js +0 -1
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
.rad-ui-dropdown-menu-root {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: inline-block;
|
|
4
|
+
width: max-content;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.rad-ui-dropdown-menu-trigger {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
border-radius: var(--rad-ui-radius-md);
|
|
12
|
+
padding: 0 0.875rem;
|
|
13
|
+
min-height: 2.25rem;
|
|
14
|
+
font-size: var(--rad-ui-font-size-2);
|
|
15
|
+
background-color: var(--rad-ui-surface-panel);
|
|
16
|
+
color: var(--rad-ui-text-primary);
|
|
17
|
+
border: 1px solid var(--rad-ui-border);
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
width: 100%;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
box-shadow: var(--rad-ui-shadow-xs);
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
border-color: var(--rad-ui-border-strong);
|
|
25
|
+
background-color: var(--rad-ui-surface-subtle);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:focus-visible, &:focus {
|
|
29
|
+
outline: none;
|
|
30
|
+
box-shadow: var(--rad-ui-focus-ring-shadow);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&[aria-disabled="true"] {
|
|
34
|
+
opacity: 0.5;
|
|
35
|
+
cursor: not-allowed;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.rad-ui-dropdown-menu-content {
|
|
40
|
+
z-index: var(--rad-ui-z-index-portal);
|
|
41
|
+
background-color: var(--rad-ui-surface-panel);
|
|
42
|
+
border-radius: var(--rad-ui-radius-lg);
|
|
43
|
+
border: 1px solid var(--rad-ui-border);
|
|
44
|
+
box-shadow: var(--rad-ui-elevation-lg-shadow);
|
|
45
|
+
min-width: 12.25rem;
|
|
46
|
+
width: max-content;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
padding: 0.375rem;
|
|
50
|
+
|
|
51
|
+
&[data-state="closed"] {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:focus-visible, &:focus {
|
|
56
|
+
outline: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.rad-ui-dropdown-menu-sub-trigger {
|
|
62
|
+
font-size: var(--rad-ui-font-size-2);
|
|
63
|
+
line-height: 1.4;
|
|
64
|
+
color: var(--rad-ui-text-primary);
|
|
65
|
+
padding: 0.5rem 0.625rem;
|
|
66
|
+
user-select: none;
|
|
67
|
+
outline: none;
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
border-radius: var(--rad-ui-radius-md);
|
|
70
|
+
display: flex;
|
|
71
|
+
justify-content: space-between;
|
|
72
|
+
align-items: center;
|
|
73
|
+
width: 100%;
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
text-align: left;
|
|
76
|
+
gap: var(--rad-ui-spacing-3);
|
|
77
|
+
background: none;
|
|
78
|
+
border: none;
|
|
79
|
+
white-space: nowrap;
|
|
80
|
+
|
|
81
|
+
> *:last-child:not(:first-child) {
|
|
82
|
+
margin-inline-start: auto;
|
|
83
|
+
flex-shrink: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&:hover {
|
|
87
|
+
background-color: var(--rad-ui-surface-hover);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:focus-visible, &:focus {
|
|
91
|
+
outline: none;
|
|
92
|
+
background-color: var(--rad-ui-surface-hover);
|
|
93
|
+
box-shadow: var(--rad-ui-focus-ring-shadow-inset);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&[data-highlighted] {
|
|
97
|
+
background-color: var(--rad-ui-surface-hover);
|
|
98
|
+
color: var(--rad-ui-text-primary);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&[data-disabled] {
|
|
102
|
+
color: var(--rad-ui-text-muted);
|
|
103
|
+
pointer-events: none;
|
|
104
|
+
opacity: 0.5;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.rad-ui-dropdown-menu-item {
|
|
109
|
+
font-size: var(--rad-ui-font-size-2);
|
|
110
|
+
line-height: 1.4;
|
|
111
|
+
color: var(--rad-ui-text-primary);
|
|
112
|
+
padding: 0.5rem 0.625rem;
|
|
113
|
+
user-select: none;
|
|
114
|
+
outline: none;
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
border-radius: var(--rad-ui-radius-md);
|
|
117
|
+
display: flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
justify-content: space-between;
|
|
120
|
+
width: 100%;
|
|
121
|
+
box-sizing: border-box;
|
|
122
|
+
text-align: left;
|
|
123
|
+
gap: var(--rad-ui-spacing-3);
|
|
124
|
+
background: none;
|
|
125
|
+
border: none;
|
|
126
|
+
white-space: nowrap;
|
|
127
|
+
|
|
128
|
+
&:hover {
|
|
129
|
+
background-color: var(--rad-ui-surface-hover);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&:focus-visible, &:focus {
|
|
133
|
+
outline: none;
|
|
134
|
+
background-color: var(--rad-ui-surface-hover);
|
|
135
|
+
box-shadow: var(--rad-ui-focus-ring-shadow-inset);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&[data-highlighted] {
|
|
139
|
+
background-color: var(--rad-ui-surface-hover);
|
|
140
|
+
color: var(--rad-ui-text-primary);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&[data-disabled] {
|
|
144
|
+
color: var(--rad-ui-text-muted);
|
|
145
|
+
pointer-events: none;
|
|
146
|
+
opacity: 0.5;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&[aria-selected="true"] {
|
|
150
|
+
background-color: var(--rad-ui-surface-hover);
|
|
151
|
+
color: var(--rad-ui-text-primary);
|
|
152
|
+
font-weight: 500;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.rad-ui-dropdown-menu-separator {
|
|
157
|
+
background-color: var(--rad-ui-border-soft);
|
|
158
|
+
align-self: stretch;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.rad-ui-dropdown-menu-separator-vertical{
|
|
162
|
+
margin: 0 8px;
|
|
163
|
+
width: 1px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.rad-ui-dropdown-menu-separator-horizontal{
|
|
167
|
+
margin: 0.375rem -0.375rem;
|
|
168
|
+
height: 1px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.rad-ui-dropdown-menu-label {
|
|
172
|
+
font-size: var(--rad-ui-font-size-1);
|
|
173
|
+
font-weight: 500;
|
|
174
|
+
color: var(--rad-ui-text-muted);
|
|
175
|
+
padding: 0.375rem 0.625rem 0.125rem;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.rad-ui-dropdown-menu-shortcut {
|
|
179
|
+
margin-left: 1.25rem;
|
|
180
|
+
font-size: var(--rad-ui-font-size-1);
|
|
181
|
+
color: var(--rad-ui-text-muted);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.rad-ui-dropdown-menu-sub-icon {
|
|
185
|
+
flex-shrink: 0;
|
|
186
|
+
color: var(--rad-ui-text-muted);
|
|
187
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* Fieldset had no recipe in either theme: the component emits `data-slot`,
|
|
2
|
+
`data-invalid` and `data-disabled`, but nothing consumed them, so it rendered
|
|
3
|
+
with the UA default border and `invalid` did nothing visually. Styling is kept
|
|
4
|
+
to the reset plus typography so a bare <Fieldset> no longer looks like a
|
|
5
|
+
browser-default form group. */
|
|
6
|
+
|
|
7
|
+
.rad-ui-fieldset {
|
|
8
|
+
min-width: 0; // UA sets min-inline-size: min-content, which breaks flex/grid parents
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
border: 0;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: var(--rad-ui-spacing-2);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rad-ui-fieldset-legend {
|
|
18
|
+
padding: 0;
|
|
19
|
+
font-size: var(--rad-ui-font-size-3);
|
|
20
|
+
font-weight: 600;
|
|
21
|
+
line-height: var(--rad-ui-line-height-2);
|
|
22
|
+
color: var(--rad-ui-text-primary);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rad-ui-fieldset-description {
|
|
26
|
+
margin: 0;
|
|
27
|
+
font-size: var(--rad-ui-font-size-2);
|
|
28
|
+
line-height: var(--rad-ui-line-height-3);
|
|
29
|
+
color: var(--rad-ui-text-secondary);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.rad-ui-fieldset-message {
|
|
33
|
+
margin: 0;
|
|
34
|
+
font-size: var(--rad-ui-font-size-2);
|
|
35
|
+
line-height: var(--rad-ui-line-height-3);
|
|
36
|
+
color: var(--rad-ui-text-secondary);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// The root carries `invalid`; the message is the part that reads as an error,
|
|
40
|
+
// so it takes the red only when the fieldset is invalid.
|
|
41
|
+
.rad-ui-fieldset-message[data-invalid] {
|
|
42
|
+
color: var(--rad-ui-danger-text);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.rad-ui-fieldset[data-disabled],
|
|
46
|
+
.rad-ui-fieldset:disabled {
|
|
47
|
+
opacity: 0.45;
|
|
48
|
+
cursor: not-allowed;
|
|
49
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
.rad-ui-h1{
|
|
3
|
+
font-weight: bold;
|
|
4
|
+
font-size: 60px;
|
|
5
|
+
letter-spacing: -3px;
|
|
6
|
+
line-height:72px;
|
|
7
|
+
color: var(--rad-ui-text-strong);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rad-ui-h2{
|
|
11
|
+
font-weight: bold;
|
|
12
|
+
font-size: 35px;
|
|
13
|
+
letter-spacing: -1px;
|
|
14
|
+
line-height:42px;
|
|
15
|
+
color: var(--rad-ui-text-strong);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rad-ui-h3{
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
font-size: 28px;
|
|
21
|
+
line-height:34px;
|
|
22
|
+
color: var(--rad-ui-text-strong);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rad-ui-h4{
|
|
26
|
+
font-weight: bold;
|
|
27
|
+
font-size: 24px;
|
|
28
|
+
line-height: var(--rad-ui-line-height-1); // 24px at 24px
|
|
29
|
+
color: var(--rad-ui-text-strong);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.rad-ui-h5{
|
|
33
|
+
font-weight: bold;
|
|
34
|
+
font-size: var(--rad-ui-font-size-5); // 20px
|
|
35
|
+
letter-spacing: 1px;
|
|
36
|
+
line-height: calc(var(--rad-ui-font-size-3) * var(--rad-ui-line-height-3)); // 24px
|
|
37
|
+
color: var(--rad-ui-text-strong);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.rad-ui-h6{
|
|
41
|
+
font-weight: bold;
|
|
42
|
+
font-size: var(--rad-ui-font-size-4); // 18px
|
|
43
|
+
line-height: calc(var(--rad-ui-font-size-3) * var(--rad-ui-line-height-3)); // 24px
|
|
44
|
+
letter-spacing: 1px;
|
|
45
|
+
color: var(--rad-ui-text-strong);
|
|
46
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.rad-ui-hover-card {
|
|
2
|
+
background-color: var(--rad-ui-surface);
|
|
3
|
+
padding: 0.875rem 1rem 0.9375rem;
|
|
4
|
+
box-shadow: var(--rad-ui-elevation-lg-shadow);
|
|
5
|
+
border-radius: var(--rad-ui-radius-xl);
|
|
6
|
+
border: 1px solid var(--rad-ui-border-soft);
|
|
7
|
+
max-width: 21rem;
|
|
8
|
+
color: var(--rad-ui-text-primary);
|
|
9
|
+
font-size: var(--rad-ui-font-size-2);
|
|
10
|
+
|
|
11
|
+
.rad-ui-hover-card-arrow {
|
|
12
|
+
fill: var(--rad-ui-surface);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&[data-size="small"] {
|
|
16
|
+
padding: 0.625rem 0.75rem;
|
|
17
|
+
max-width: 16rem;
|
|
18
|
+
font-size: var(--rad-ui-font-size-1);
|
|
19
|
+
border-radius: var(--rad-ui-radius-lg);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&[data-size="medium"] {
|
|
23
|
+
padding: 0.875rem 1rem 0.9375rem;
|
|
24
|
+
max-width: 21rem;
|
|
25
|
+
font-size: var(--rad-ui-font-size-2);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&[data-size="large"] {
|
|
29
|
+
padding: 1.25rem 1.375rem 1.375rem;
|
|
30
|
+
max-width: 28rem;
|
|
31
|
+
font-size: var(--rad-ui-font-size-3);
|
|
32
|
+
border-radius: calc(var(--rad-ui-radius-xl) + 0.25rem);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.rad-ui-hover-card-trigger {
|
|
37
|
+
color: var(--rad-ui-text-primary);
|
|
38
|
+
text-decoration: underline;
|
|
39
|
+
text-underline-offset: 0.18em;
|
|
40
|
+
font-size: 0.95rem;
|
|
41
|
+
font-weight: 500;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.rad-ui-kbd{
|
|
2
|
+
--rad-ui-kbd-inset-shadow: inset 0 calc(var(--rad-ui-border-width-default) * -1) 0 var(--rad-ui-border-default);
|
|
3
|
+
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
font-family: inherit;
|
|
9
|
+
font-weight: 400;
|
|
10
|
+
vertical-align: text-top;
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
user-select: none;
|
|
13
|
+
position: relative;
|
|
14
|
+
top: -0.03em;
|
|
15
|
+
font-size: .75em;
|
|
16
|
+
min-width: 1.75em;
|
|
17
|
+
line-height: 1.7em;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
padding-left: .5em;
|
|
20
|
+
padding-right: .5em;
|
|
21
|
+
padding-bottom: .05em;
|
|
22
|
+
word-spacing: -.1em;
|
|
23
|
+
border-radius: calc(2* .35em);
|
|
24
|
+
height: fit-content;
|
|
25
|
+
color: var(--rad-ui-text-primary);
|
|
26
|
+
background-color: var(--rad-ui-surface-panel);
|
|
27
|
+
border: var(--rad-ui-border-width-default) solid var(--rad-ui-border-soft);
|
|
28
|
+
box-shadow: var(--rad-ui-kbd-inset-shadow), var(--rad-ui-control-shadow-hover);
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/** Kbd Sizes */
|
|
32
|
+
&[data-size="small"]{
|
|
33
|
+
font-size: small;
|
|
34
|
+
padding: calc(var(--rad-ui-spacing-1) / 2) var(--rad-ui-spacing-2);
|
|
35
|
+
height: var(--rad-ui-control-height-xs);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&[data-size="medium"]{
|
|
39
|
+
font-size: medium;
|
|
40
|
+
padding: var(--rad-ui-spacing-1) var(--rad-ui-spacing-3);
|
|
41
|
+
height: var(--rad-ui-control-height-sm);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&[data-size="large"]{
|
|
45
|
+
font-size: large;
|
|
46
|
+
padding: var(--rad-ui-spacing-1) var(--rad-ui-spacing-4);
|
|
47
|
+
height: var(--rad-ui-size-10);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&[data-size="x-large"]{
|
|
51
|
+
font-size: x-large;
|
|
52
|
+
padding: var(--rad-ui-spacing-1) var(--rad-ui-spacing-6);
|
|
53
|
+
height: var(--rad-ui-size-12);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Label — Clarity design system aligned. Text that names a form control.
|
|
2
|
+
.rad-ui-label {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: var(--rad-ui-spacing-2);
|
|
6
|
+
color: var(--rad-ui-text-primary);
|
|
7
|
+
font-family: var(--rad-ui-font-sans);
|
|
8
|
+
font-size: var(--rad-ui-font-size-2);
|
|
9
|
+
font-weight: 500;
|
|
10
|
+
line-height: var(--rad-ui-line-height-2);
|
|
11
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.rad-ui-link {
|
|
2
|
+
color: var(--rad-ui-color-accent-1000);
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
text-decoration: underline;
|
|
5
|
+
text-decoration-color: currentcolor;
|
|
6
|
+
text-decoration-thickness: 1px;
|
|
7
|
+
text-underline-offset: 0.14em;
|
|
8
|
+
|
|
9
|
+
// Hover keeps a readable text step (950); 900 drops below 4.5:1 for most scales.
|
|
10
|
+
&:hover {
|
|
11
|
+
color: var(--rad-ui-color-accent-950);
|
|
12
|
+
text-decoration-color: currentcolor;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&:focus-visible {
|
|
16
|
+
outline: none;
|
|
17
|
+
|
|
18
|
+
// Outset ring: a 1px contained ring on inline text overlaps the glyphs and
|
|
19
|
+
// underline and is hard to see.
|
|
20
|
+
box-shadow: var(--rad-ui-focus-ring-shadow-outset);
|
|
21
|
+
border-radius: 0.2rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** link Sizes */
|
|
25
|
+
&[data-size="small"]{
|
|
26
|
+
font-size: small;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&[data-size="medium"]{
|
|
30
|
+
font-size: medium;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&[data-size="large"]{
|
|
34
|
+
font-size: large;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&[data-size="x-large"]{
|
|
38
|
+
font-size: x-large;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
@use '../Button/button.clarity';
|
|
2
|
+
|
|
3
|
+
// Menubar root is a compact in-flow bar: it hugs its triggers instead of
|
|
4
|
+
// stretching to its flex/grid line, and stays flat (no elevation) because it
|
|
5
|
+
// is not a floating surface.
|
|
6
|
+
.rad-ui-menubar-root {
|
|
7
|
+
// Concentric radius: trigger radius plus the root padding.
|
|
8
|
+
--rad-ui-menubar-padding: var(--rad-ui-spacing-1);
|
|
9
|
+
--rad-ui-menubar-trigger-radius: var(--rad-ui-control-radius-sm);
|
|
10
|
+
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
height: fit-content;
|
|
14
|
+
gap: var(--rad-ui-density-gap-xs);
|
|
15
|
+
padding: var(--rad-ui-menubar-padding);
|
|
16
|
+
border-radius: calc(var(--rad-ui-menubar-trigger-radius) + var(--rad-ui-menubar-padding));
|
|
17
|
+
background-color: var(--rad-ui-surface-panel);
|
|
18
|
+
border: var(--rad-ui-border-width-default) solid var(--rad-ui-border-soft);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rad-ui-menubar-menu {
|
|
22
|
+
display: contents;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rad-ui-menubar-trigger {
|
|
26
|
+
all: unset;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
min-height: var(--rad-ui-control-height-sm);
|
|
32
|
+
padding: 0 var(--rad-ui-control-padding-x-sm);
|
|
33
|
+
outline: none;
|
|
34
|
+
user-select: none;
|
|
35
|
+
font-family: inherit;
|
|
36
|
+
font-weight: var(--rad-ui-component-font-weight-medium);
|
|
37
|
+
line-height: var(--rad-ui-component-line-height-tight);
|
|
38
|
+
border-radius: var(--rad-ui-menubar-trigger-radius);
|
|
39
|
+
font-size: var(--rad-ui-component-font-size-sm);
|
|
40
|
+
color: var(--rad-ui-text-primary);
|
|
41
|
+
background: transparent;
|
|
42
|
+
cursor: default;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
transition:
|
|
45
|
+
background-color var(--rad-ui-motion-duration-fast) ease,
|
|
46
|
+
box-shadow var(--rad-ui-motion-duration-fast) ease;
|
|
47
|
+
|
|
48
|
+
&:hover {
|
|
49
|
+
background-color: var(--rad-ui-surface-hover);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&[data-state="open"] {
|
|
53
|
+
background-color: var(--rad-ui-surface-canvas);
|
|
54
|
+
box-shadow: var(--rad-ui-selected-control-shadow);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:focus-visible {
|
|
58
|
+
box-shadow: var(--rad-ui-focus-ring-shadow-sm);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&[data-state="open"]:focus-visible {
|
|
62
|
+
box-shadow: var(--rad-ui-selected-control-shadow), var(--rad-ui-focus-ring-shadow-sm);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&[data-disabled] {
|
|
66
|
+
pointer-events: none;
|
|
67
|
+
color: var(--rad-ui-disabled-text);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.rad-ui-menubar-content {
|
|
72
|
+
/* Must not animate `transform` here — Floating UI positions via inline transform. */
|
|
73
|
+
z-index: var(--rad-ui-z-index-portal);
|
|
74
|
+
min-width: 12.75rem;
|
|
75
|
+
background-color: var(--rad-ui-surface-panel);
|
|
76
|
+
border-radius: var(--rad-ui-radius-lg);
|
|
77
|
+
border: 1px solid var(--rad-ui-border);
|
|
78
|
+
padding: 0.375rem;
|
|
79
|
+
box-shadow: var(--rad-ui-elevation-lg-shadow);
|
|
80
|
+
animation: rad-ui-menubar-content-enter var(--rad-ui-motion-duration-normal) var(--rad-ui-motion-easing-entrance);
|
|
81
|
+
|
|
82
|
+
&[data-state="closed"] {
|
|
83
|
+
display: none;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.rad-ui-menubar-item,
|
|
88
|
+
.rad-ui-menubar-sub-trigger {
|
|
89
|
+
position: relative;
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: space-between;
|
|
93
|
+
width: 100%;
|
|
94
|
+
box-sizing: border-box;
|
|
95
|
+
gap: var(--rad-ui-spacing-3);
|
|
96
|
+
border-radius: var(--rad-ui-radius-md);
|
|
97
|
+
padding: 0.5rem 0.625rem;
|
|
98
|
+
font-size: var(--rad-ui-font-size-2);
|
|
99
|
+
line-height: 1.4;
|
|
100
|
+
color: var(--rad-ui-text-primary);
|
|
101
|
+
user-select: none;
|
|
102
|
+
outline: none;
|
|
103
|
+
cursor: default;
|
|
104
|
+
white-space: nowrap;
|
|
105
|
+
text-align: left;
|
|
106
|
+
|
|
107
|
+
> *:last-child:not(:first-child) {
|
|
108
|
+
margin-inline-start: auto;
|
|
109
|
+
flex-shrink: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&[data-highlighted], &:focus, &:hover {
|
|
113
|
+
background-color: var(--rad-ui-surface-hover);
|
|
114
|
+
color: var(--rad-ui-text-primary);
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&[data-disabled] {
|
|
119
|
+
color: var(--rad-ui-text-muted);
|
|
120
|
+
pointer-events: none;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.rad-ui-menubar-separator {
|
|
125
|
+
height: 1px;
|
|
126
|
+
background-color: var(--rad-ui-border-soft);
|
|
127
|
+
margin: 0.375rem 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.rad-ui-menubar-shortcut {
|
|
131
|
+
margin-left: 1.25rem;
|
|
132
|
+
font-size: var(--rad-ui-font-size-1);
|
|
133
|
+
color: var(--rad-ui-text-muted);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.rad-ui-menubar-sub-icon {
|
|
137
|
+
flex-shrink: 0;
|
|
138
|
+
color: var(--rad-ui-text-muted);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@keyframes rad-ui-menubar-content-enter {
|
|
142
|
+
from {
|
|
143
|
+
opacity: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
to {
|
|
147
|
+
opacity: 1;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Meter — Clarity design system aligned (same track/fill recipe as Progress)
|
|
2
|
+
// Track: subtle muted surface; indicator: semantic fill by state.
|
|
3
|
+
.rad-ui-meter {
|
|
4
|
+
background: var(--rad-ui-surface-muted);
|
|
5
|
+
border: none;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
height: var(--rad-ui-spacing-1);
|
|
8
|
+
border-radius: var(--rad-ui-control-radius-pill);
|
|
9
|
+
width: 100%;
|
|
10
|
+
max-width: calc(var(--rad-ui-overlay-width-md) + var(--rad-ui-size-10) + var(--rad-ui-spacing-1));
|
|
11
|
+
|
|
12
|
+
.rad-ui-meter-indicator {
|
|
13
|
+
background: var(--rad-ui-color-accent-800);
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
border-radius: inherit;
|
|
17
|
+
transition: transform var(--rad-ui-motion-duration-normal) var(--rad-ui-motion-easing-standard);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Semantic state (relative to low / high / optimum) is also exposed via
|
|
21
|
+
// data-state, so the color is never the only signal.
|
|
22
|
+
.rad-ui-meter-indicator[data-state="low"] {
|
|
23
|
+
background: var(--rad-ui-warning-solid);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.rad-ui-meter-indicator[data-state="high"] {
|
|
27
|
+
background: var(--rad-ui-info-solid);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.rad-ui-meter-indicator[data-state="optimum"] {
|
|
31
|
+
background: var(--rad-ui-success-solid);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media (prefers-reduced-motion: reduce) {
|
|
36
|
+
.rad-ui-meter .rad-ui-meter-indicator {
|
|
37
|
+
transition: none;
|
|
38
|
+
}
|
|
39
|
+
}
|