@ecopages/radiant-ui 0.1.0-beta.7 → 0.1.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/ui/alert/alert.css +88 -50
- package/dist/components/ui/alert/alert.d.ts +43 -5
- package/dist/components/ui/alert/alert.script.d.ts +51 -4
- package/dist/components/ui/alert/index.d.ts +2 -2
- package/dist/components/ui/alert/index.js +1 -1
- package/dist/components/ui/alert/index.js.map +4 -4
- package/dist/components/ui/autocomplete/autocomplete.css +4 -4
- package/dist/components/ui/autocomplete/autocomplete.d.ts +15 -5
- package/dist/components/ui/autocomplete/autocomplete.script.d.ts +9 -0
- package/dist/components/ui/autocomplete/index.js +1 -1
- package/dist/components/ui/autocomplete/index.js.map +4 -4
- package/dist/components/ui/avatar/avatar.d.ts +15 -1
- package/dist/components/ui/avatar/index.js +1 -1
- package/dist/components/ui/avatar/index.js.map +4 -4
- package/dist/components/ui/breadcrumb/breadcrumb.d.ts +32 -6
- package/dist/components/ui/breadcrumb/index.js +1 -1
- package/dist/components/ui/breadcrumb/index.js.map +4 -4
- package/dist/{styles/components → components/ui/button}/button.css +45 -31
- package/dist/components/ui/button/button.d.ts +21 -4
- package/dist/components/ui/button-group/button-group.d.ts +7 -1
- package/dist/components/ui/button-group/index.js +1 -1
- package/dist/components/ui/button-group/index.js.map +4 -4
- package/dist/components/ui/calendar/calendar.css +7 -7
- package/dist/components/ui/calendar/calendar.d.ts +3 -2
- package/dist/components/ui/calendar/calendar.script.d.ts +39 -1
- package/dist/components/ui/calendar/index.js +1 -1
- package/dist/components/ui/calendar/index.js.map +4 -4
- package/dist/components/ui/carousel/carousel.d.ts +32 -6
- package/dist/components/ui/carousel/carousel.script.d.ts +44 -0
- package/dist/components/ui/carousel/index.js +1 -1
- package/dist/components/ui/carousel/index.js.map +4 -4
- package/dist/components/ui/checkbox/checkbox.css +1 -1
- package/dist/components/ui/checkbox/checkbox.d.ts +3 -2
- package/dist/components/ui/checkbox/checkbox.script.d.ts +4 -0
- package/dist/components/ui/checkbox/index.js +1 -1
- package/dist/components/ui/checkbox/index.js.map +4 -4
- package/dist/components/ui/chip/chip.d.ts +8 -0
- package/dist/components/ui/chip/index.js +1 -1
- package/dist/components/ui/chip/index.js.map +4 -4
- package/dist/components/ui/chip-list/chip-list.d.ts +10 -2
- package/dist/components/ui/chip-list/index.js +1 -1
- package/dist/components/ui/chip-list/index.js.map +4 -4
- package/dist/components/ui/combobox/combobox.css +39 -1
- package/dist/components/ui/combobox/combobox.d.ts +15 -5
- package/dist/components/ui/combobox/combobox.script.d.ts +13 -1
- package/dist/components/ui/combobox/index.js +1 -1
- package/dist/components/ui/combobox/index.js.map +4 -4
- package/dist/components/ui/cycle-toggle/cycle-toggle.css +15 -0
- package/dist/components/ui/cycle-toggle/cycle-toggle.d.ts +29 -0
- package/dist/components/ui/cycle-toggle/cycle-toggle.script.d.ts +61 -0
- package/dist/components/ui/cycle-toggle/index.d.ts +5 -0
- package/dist/components/ui/cycle-toggle/index.js +2 -0
- package/dist/components/ui/cycle-toggle/index.js.map +7 -0
- package/dist/components/ui/cycle-toggle/theme-preference-icons.d.ts +12 -0
- package/dist/components/ui/date-field/date-field.css +37 -0
- package/dist/components/ui/date-field/date-field.d.ts +22 -3
- package/dist/components/ui/date-field/date-field.script.d.ts +29 -5
- package/dist/components/ui/date-field/index.d.ts +1 -1
- package/dist/components/ui/date-field/index.js +1 -1
- package/dist/components/ui/date-field/index.js.map +4 -4
- package/dist/components/ui/date-range-picker/date-range-picker.css +37 -0
- package/dist/components/ui/date-range-picker/date-range-picker.d.ts +37 -4
- package/dist/components/ui/date-range-picker/date-range-picker.script.d.ts +31 -5
- package/dist/components/ui/date-range-picker/index.d.ts +1 -1
- package/dist/components/ui/date-range-picker/index.js +1 -1
- package/dist/components/ui/date-range-picker/index.js.map +4 -4
- package/dist/components/ui/dialog/dialog.css +1 -1
- package/dist/components/ui/dialog/dialog.d.ts +30 -5
- package/dist/components/ui/dialog/dialog.script.d.ts +3 -0
- package/dist/components/ui/dialog/index.js +1 -1
- package/dist/components/ui/dialog/index.js.map +4 -4
- package/dist/components/ui/disclosure/disclosure-group.css +1 -1
- package/dist/components/ui/disclosure/disclosure-group.script.d.ts +6 -0
- package/dist/components/ui/disclosure/disclosure.d.ts +26 -7
- package/dist/components/ui/disclosure/disclosure.script.d.ts +5 -0
- package/dist/components/ui/disclosure/index.js +1 -1
- package/dist/components/ui/disclosure/index.js.map +4 -4
- package/dist/components/ui/feed/feed.d.ts +37 -7
- package/dist/components/ui/feed/index.js +1 -1
- package/dist/components/ui/feed/index.js.map +4 -4
- package/dist/components/ui/field/field-description.d.ts +5 -1
- package/dist/components/ui/field/field-error.d.ts +5 -0
- package/dist/components/ui/field/field.d.ts +8 -1
- package/dist/components/ui/field/field.script.d.ts +35 -0
- package/dist/components/ui/field/index.js +1 -1
- package/dist/components/ui/field/index.js.map +4 -4
- package/dist/components/ui/form/control-protocol.d.ts +6 -0
- package/dist/components/ui/form/form.d.ts +2 -1
- package/dist/components/ui/form/form.script.d.ts +16 -1
- package/dist/components/ui/form/index.d.ts +1 -1
- package/dist/components/ui/form/index.js +1 -1
- package/dist/components/ui/form/index.js.map +4 -4
- package/dist/components/ui/grid/grid.d.ts +12 -2
- package/dist/components/ui/grid/grid.script.d.ts +14 -0
- package/dist/components/ui/grid/index.js +1 -1
- package/dist/components/ui/grid/index.js.map +4 -4
- package/dist/components/ui/heading/heading.d.ts +26 -4
- package/dist/components/ui/heading/index.js +1 -1
- package/dist/components/ui/heading/index.js.map +4 -4
- package/dist/components/ui/headline/headline.d.ts +9 -1
- package/dist/components/ui/headline/index.js +1 -1
- package/dist/components/ui/headline/index.js.map +4 -4
- package/dist/components/ui/input/index.d.ts +1 -1
- package/dist/components/ui/input/index.js +1 -1
- package/dist/components/ui/input/index.js.map +4 -4
- package/dist/components/ui/input/input.css +2 -7
- package/dist/components/ui/input/input.d.ts +7 -2
- package/dist/components/ui/label/index.js +1 -1
- package/dist/components/ui/label/index.js.map +4 -4
- package/dist/components/ui/label/label.d.ts +8 -1
- package/dist/components/ui/listbox/index.js +1 -1
- package/dist/components/ui/listbox/index.js.map +4 -4
- package/dist/components/ui/listbox/listbox.css +2 -5
- package/dist/components/ui/listbox/listbox.d.ts +7 -3
- package/dist/components/ui/listbox/listbox.script.d.ts +14 -1
- package/dist/components/ui/menu-button/index.d.ts +1 -1
- package/dist/components/ui/menu-button/index.js +1 -1
- package/dist/components/ui/menu-button/index.js.map +4 -4
- package/dist/components/ui/menu-button/menu-button.css +2 -2
- package/dist/components/ui/menu-button/menu-button.d.ts +27 -5
- package/dist/components/ui/menu-button/menu-button.script.d.ts +8 -3
- package/dist/components/ui/menubar/index.js +1 -1
- package/dist/components/ui/menubar/index.js.map +4 -4
- package/dist/components/ui/menubar/menubar.css +4 -4
- package/dist/components/ui/menubar/menubar.d.ts +14 -2
- package/dist/components/ui/menubar/menubar.script.d.ts +10 -1
- package/dist/components/ui/meter/index.js +1 -1
- package/dist/components/ui/meter/index.js.map +4 -4
- package/dist/components/ui/meter/meter.css +1 -1
- package/dist/components/ui/meter/meter.d.ts +7 -2
- package/dist/components/ui/meter/meter.script.d.ts +21 -0
- package/dist/components/ui/navigation-menu/index.js +1 -1
- package/dist/components/ui/navigation-menu/index.js.map +4 -4
- package/dist/components/ui/navigation-menu/navigation-menu.css +2 -2
- package/dist/components/ui/navigation-menu/navigation-menu.d.ts +3 -2
- package/dist/components/ui/navigation-menu/navigation-menu.script.d.ts +4 -0
- package/dist/components/ui/number-field/index.d.ts +1 -1
- package/dist/components/ui/number-field/index.js +1 -1
- package/dist/components/ui/number-field/index.js.map +4 -4
- package/dist/components/ui/number-field/number-field.css +18 -3
- package/dist/components/ui/number-field/number-field.d.ts +36 -8
- package/dist/components/ui/number-field/number-field.script.d.ts +28 -1
- package/dist/components/ui/popover/index.js +1 -1
- package/dist/components/ui/popover/index.js.map +4 -4
- package/dist/components/ui/popover/popover.d.ts +5 -4
- package/dist/components/ui/popover/popover.script.d.ts +4 -0
- package/dist/components/ui/radio-group/index.d.ts +1 -1
- package/dist/components/ui/radio-group/index.js +1 -1
- package/dist/components/ui/radio-group/index.js.map +4 -4
- package/dist/components/ui/radio-group/radio-group.d.ts +29 -4
- package/dist/components/ui/radio-group/radio-group.script.d.ts +14 -9
- package/dist/components/ui/select/index.js +1 -1
- package/dist/components/ui/select/index.js.map +4 -4
- package/dist/components/ui/select/select.css +48 -6
- package/dist/components/ui/select/select.d.ts +29 -8
- package/dist/components/ui/select/select.script.d.ts +7 -0
- package/dist/components/ui/sidebar/index.js +1 -1
- package/dist/components/ui/sidebar/index.js.map +4 -4
- package/dist/components/ui/sidebar/sidebar-trigger.script.d.ts +4 -0
- package/dist/components/ui/sidebar/sidebar.css +41 -24
- package/dist/components/ui/sidebar/sidebar.d.ts +68 -14
- package/dist/components/ui/sidebar/sidebar.docs.css +5 -2
- package/dist/components/ui/sidebar/sidebar.script.d.ts +9 -0
- package/dist/components/ui/slider/index.js +1 -1
- package/dist/components/ui/slider/index.js.map +4 -4
- package/dist/components/ui/slider/slider.d.ts +2 -1
- package/dist/components/ui/slider/slider.script.d.ts +29 -1
- package/dist/components/ui/switch/index.js +1 -1
- package/dist/components/ui/switch/index.js.map +4 -4
- package/dist/components/ui/switch/switch.css +3 -3
- package/dist/components/ui/switch/switch.d.ts +11 -2
- package/dist/components/ui/switch/switch.script.d.ts +5 -0
- package/dist/components/ui/tabs/index.js +1 -1
- package/dist/components/ui/tabs/index.js.map +4 -4
- package/dist/components/ui/tabs/tabs.css +9 -10
- package/dist/components/ui/tabs/tabs.d.ts +30 -9
- package/dist/components/ui/tag-group/index.js +1 -1
- package/dist/components/ui/tag-group/index.js.map +4 -4
- package/dist/components/ui/tag-group/tag-group.css +2 -11
- package/dist/components/ui/tag-group/tag-group.d.ts +18 -5
- package/dist/components/ui/tag-group/tag-group.script.d.ts +9 -2
- package/dist/components/ui/textarea/index.d.ts +1 -1
- package/dist/components/ui/textarea/index.js +1 -1
- package/dist/components/ui/textarea/index.js.map +4 -4
- package/dist/components/ui/textarea/textarea.d.ts +7 -2
- package/dist/components/ui/toast/index.d.ts +1 -1
- package/dist/components/ui/toast/index.js +1 -1
- package/dist/components/ui/toast/index.js.map +4 -4
- package/dist/components/ui/toast/stack-layout.d.ts +18 -0
- package/dist/components/ui/toast/toast-context.d.ts +10 -0
- package/dist/components/ui/toast/toast.css +30 -9
- package/dist/components/ui/toast/toast.d.ts +12 -2
- package/dist/components/ui/toast/toast.script.d.ts +60 -4
- package/dist/components/ui/toast/toaster.script.d.ts +71 -2
- package/dist/components/ui/toc/index.js +1 -1
- package/dist/components/ui/toc/index.js.map +4 -4
- package/dist/components/ui/toc/toc.css +3 -0
- package/dist/components/ui/toc/toc.d.ts +2 -1
- package/dist/components/ui/toc/toc.script.d.ts +15 -0
- package/dist/components/ui/toolbar/index.js +1 -1
- package/dist/components/ui/toolbar/index.js.map +4 -4
- package/dist/components/ui/toolbar/toolbar.d.ts +3 -2
- package/dist/components/ui/toolbar/toolbar.script.d.ts +8 -0
- package/dist/components/ui/tooltip/index.js +1 -1
- package/dist/components/ui/tooltip/index.js.map +4 -4
- package/dist/components/ui/tooltip/tooltip.d.ts +3 -2
- package/dist/components/ui/tooltip/tooltip.script.d.ts +3 -0
- package/dist/components/ui/tree/index.js +1 -1
- package/dist/components/ui/tree/index.js.map +4 -4
- package/dist/components/ui/tree/tree.d.ts +12 -2
- package/dist/components/ui/tree/tree.script.d.ts +18 -1
- package/dist/components/ui/treegrid/index.js +1 -1
- package/dist/components/ui/treegrid/index.js.map +4 -4
- package/dist/components/ui/treegrid/treegrid.d.ts +15 -2
- package/dist/components/ui/treegrid/treegrid.script.d.ts +22 -1
- package/dist/components/ui/window-splitter/index.js +1 -1
- package/dist/components/ui/window-splitter/index.js.map +4 -4
- package/dist/components/ui/window-splitter/window-splitter.css +1 -1
- package/dist/components/ui/window-splitter/window-splitter.d.ts +3 -2
- package/dist/components/ui/window-splitter/window-splitter.script.d.ts +22 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/lib/cycle-value.d.ts +8 -0
- package/dist/lib/intl-number/range.d.ts +8 -0
- package/dist/styles/radiant-ui-core.css +110 -341
- package/dist/styles/radiant-ui.css +413 -377
- package/dist/styles/styles.css +839 -2731
- package/dist/styles/tailwind.css +626 -530
- package/dist/styles/tokens/colors/aurora.css +2 -2
- package/dist/styles/tokens/colors/basalt.css +2 -1
- package/dist/styles/tokens/colors/glacier.css +2 -1
- package/dist/styles/tokens/presets/colors/aurora.css +42 -14
- package/dist/styles/tokens/presets/colors/basalt.css +28 -0
- package/dist/styles/tokens/presets/colors/ember.css +28 -0
- package/dist/styles/tokens/presets/colors/glacier.css +28 -0
- package/dist/styles/tokens/semantic.css +22 -2
- package/dist/styles/tokens/spacing/compact.css +12 -12
- package/package.json +21 -8
- package/dist/components/ui/dialog/dialog-registry.test.d.ts +0 -1
- package/dist/components/ui/field/field-ssr-hydration.test.d.ts +0 -1
- package/dist/components/ui/form/form-field.test.d.ts +0 -4
- package/dist/components/ui/form/form-store.test.d.ts +0 -1
- package/dist/components/ui/shared/collection-navigation.test.d.ts +0 -1
- package/dist/components/ui/shared/floating-position.test.d.ts +0 -1
- package/dist/components/ui/shared/listbox-popover-behavior.test.d.ts +0 -1
- package/dist/components/ui/shared/popover-controller.test.d.ts +0 -1
- package/dist/components/ui/shared/portal.test.d.ts +0 -1
- package/dist/components/ui/sidebar/sidebar.ssr.test.d.ts +0 -2
- package/dist/components/ui/sidebar/sidebar.test.d.ts +0 -1
- package/dist/components/ui/toast/toast.test.d.ts +0 -2
- package/dist/components/ui/toc/toc-helpers.test.d.ts +0 -1
- package/dist/components/ui/toc/toc.ssr.test.d.ts +0 -1
- package/dist/components/ui/toc/toc.test.d.ts +0 -1
- package/dist/lib/intl-date/parts.test.d.ts +0 -1
- package/dist/lib/intl-date/segments.test.d.ts +0 -1
- package/dist/lib/intl-date/selection.test.d.ts +0 -1
- package/dist/lib/mask/date-mask.test.d.ts +0 -1
- package/dist/lib/mask/input-mask.test.d.ts +0 -1
- package/dist/lib/radiant-view.d.ts +0 -43
- package/dist/lib/text-filter.test.d.ts +0 -1
- package/dist/styles/tokens/presets/radius.css +0 -45
- package/dist/styles/tokens/presets/spacing.css +0 -57
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the next value in a cyclic list, wrapping from the last item to the first.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* When `current` is missing or not found in `values`, returns the first entry so
|
|
6
|
+
* callers can recover from stale or unset state.
|
|
7
|
+
*/
|
|
8
|
+
export declare function cycleValue<T extends string>(values: readonly T[], current: T | undefined): T;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Snap `value` to the nearest step within `[min, max]`.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* When `min` is non-finite (NumberField default `-Infinity`), use `0` as the
|
|
6
|
+
* step origin. `Math.round((value - (-Infinity)) / step)` is `NaN` and would
|
|
7
|
+
* collapse every stepper commit to an invalid number.
|
|
8
|
+
*/
|
|
1
9
|
export declare function snapToStep(value: number, min: number, max: number, step: number): number;
|
|
2
10
|
export declare function isWithinRange(value: number, min: number, max: number): boolean;
|
|
3
11
|
export declare function isOnStep(value: number, min: number, step: number): boolean;
|
|
@@ -1,7 +1,46 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
|
-
@layer theme
|
|
4
|
+
@layer theme {
|
|
5
|
+
:root, :host {
|
|
6
|
+
--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
|
|
7
|
+
"Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
8
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
9
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
10
|
+
"Courier New", monospace;
|
|
11
|
+
--color-black: #000;
|
|
12
|
+
--color-white: #fff;
|
|
13
|
+
--spacing: 0.25rem;
|
|
14
|
+
--container-md: 28rem;
|
|
15
|
+
--container-xl: 36rem;
|
|
16
|
+
--container-2xl: 42rem;
|
|
17
|
+
--container-3xl: 48rem;
|
|
18
|
+
--container-4xl: 56rem;
|
|
19
|
+
--container-5xl: 64rem;
|
|
20
|
+
--text-xs: 0.75rem;
|
|
21
|
+
--text-xs--line-height: calc(1 / 0.75);
|
|
22
|
+
--text-sm: 0.875rem;
|
|
23
|
+
--text-sm--line-height: calc(1.25 / 0.875);
|
|
24
|
+
--text-base: 1rem;
|
|
25
|
+
--text-base--line-height: calc(1.5 / 1);
|
|
26
|
+
--text-lg: 1.125rem;
|
|
27
|
+
--text-xl: 1.25rem;
|
|
28
|
+
--text-2xl: 1.5rem;
|
|
29
|
+
--text-2xl--line-height: calc(2 / 1.5);
|
|
30
|
+
--text-3xl: 1.875rem;
|
|
31
|
+
--text-4xl: 2.25rem;
|
|
32
|
+
--font-weight-medium: 500;
|
|
33
|
+
--font-weight-semibold: 600;
|
|
34
|
+
--font-weight-bold: 700;
|
|
35
|
+
--leading-relaxed: 1.625;
|
|
36
|
+
--radius-md: 0.375rem;
|
|
37
|
+
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
38
|
+
--default-transition-duration: 150ms;
|
|
39
|
+
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
40
|
+
--default-font-family: var(--font-sans);
|
|
41
|
+
--default-mono-font-family: var(--font-mono);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
5
44
|
@layer base {
|
|
6
45
|
*, ::after, ::before, ::backdrop, ::file-selector-button {
|
|
7
46
|
box-sizing: border-box;
|
|
@@ -13,9 +52,9 @@
|
|
|
13
52
|
line-height: 1.5;
|
|
14
53
|
-webkit-text-size-adjust: 100%;
|
|
15
54
|
tab-size: 4;
|
|
16
|
-
font-family: var(--default-font-family,
|
|
17
|
-
font-feature-settings: var(--default-font-feature-settings,
|
|
18
|
-
font-variation-settings: var(--default-font-variation-settings,
|
|
55
|
+
font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
56
|
+
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
57
|
+
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
19
58
|
-webkit-tap-highlight-color: transparent;
|
|
20
59
|
}
|
|
21
60
|
hr {
|
|
@@ -40,9 +79,9 @@
|
|
|
40
79
|
font-weight: bolder;
|
|
41
80
|
}
|
|
42
81
|
code, kbd, samp, pre {
|
|
43
|
-
font-family: var(--default-mono-font-family,
|
|
44
|
-
font-feature-settings: var(--default-mono-font-feature-settings,
|
|
45
|
-
font-variation-settings: var(--default-mono-font-variation-settings,
|
|
82
|
+
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
83
|
+
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
84
|
+
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
46
85
|
font-size: 1em;
|
|
47
86
|
}
|
|
48
87
|
small {
|
|
@@ -177,6 +216,9 @@
|
|
|
177
216
|
.relative {
|
|
178
217
|
position: relative;
|
|
179
218
|
}
|
|
219
|
+
.static {
|
|
220
|
+
position: static;
|
|
221
|
+
}
|
|
180
222
|
.container {
|
|
181
223
|
width: 100%;
|
|
182
224
|
@media (width >= 40rem) {
|
|
@@ -199,22 +241,22 @@
|
|
|
199
241
|
margin: 0px;
|
|
200
242
|
}
|
|
201
243
|
.m-1 {
|
|
202
|
-
margin: var(--spacing
|
|
244
|
+
margin: var(--spacing);
|
|
203
245
|
}
|
|
204
246
|
.mx-auto {
|
|
205
247
|
margin-inline: auto;
|
|
206
248
|
}
|
|
207
249
|
.mt-1 {
|
|
208
|
-
margin-top: var(--spacing
|
|
250
|
+
margin-top: var(--spacing);
|
|
209
251
|
}
|
|
210
252
|
.mt-2 {
|
|
211
|
-
margin-top: var(--spacing
|
|
253
|
+
margin-top: calc(var(--spacing) * 2);
|
|
212
254
|
}
|
|
213
255
|
.mb-2 {
|
|
214
|
-
margin-bottom: var(--spacing
|
|
256
|
+
margin-bottom: calc(var(--spacing) * 2);
|
|
215
257
|
}
|
|
216
258
|
.mb-4 {
|
|
217
|
-
margin-bottom: var(--spacing
|
|
259
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
218
260
|
}
|
|
219
261
|
.block {
|
|
220
262
|
display: block;
|
|
@@ -241,27 +283,27 @@
|
|
|
241
283
|
display: table;
|
|
242
284
|
}
|
|
243
285
|
.size-4 {
|
|
244
|
-
width: var(--spacing
|
|
245
|
-
height: var(--spacing
|
|
286
|
+
width: calc(var(--spacing) * 4);
|
|
287
|
+
height: calc(var(--spacing) * 4);
|
|
246
288
|
}
|
|
247
289
|
.size-6 {
|
|
248
|
-
width: var(--spacing
|
|
249
|
-
height: var(--spacing
|
|
290
|
+
width: calc(var(--spacing) * 6);
|
|
291
|
+
height: calc(var(--spacing) * 6);
|
|
250
292
|
}
|
|
251
293
|
.h-14 {
|
|
252
|
-
height: calc(var(--spacing
|
|
294
|
+
height: calc(var(--spacing) * 14);
|
|
253
295
|
}
|
|
254
296
|
.h-full {
|
|
255
297
|
height: 100%;
|
|
256
298
|
}
|
|
257
299
|
.max-h-64 {
|
|
258
|
-
max-height: calc(var(--spacing
|
|
300
|
+
max-height: calc(var(--spacing) * 64);
|
|
259
301
|
}
|
|
260
302
|
.min-h-72 {
|
|
261
|
-
min-height: calc(var(--spacing
|
|
303
|
+
min-height: calc(var(--spacing) * 72);
|
|
262
304
|
}
|
|
263
305
|
.w-64 {
|
|
264
|
-
width: calc(var(--spacing
|
|
306
|
+
width: calc(var(--spacing) * 64);
|
|
265
307
|
}
|
|
266
308
|
.w-\[calc\(100\%-0\.5rem\)\] {
|
|
267
309
|
width: calc(100% - 0.5rem);
|
|
@@ -270,25 +312,25 @@
|
|
|
270
312
|
width: 100%;
|
|
271
313
|
}
|
|
272
314
|
.max-w-2xl {
|
|
273
|
-
max-width: var(--container-2xl
|
|
315
|
+
max-width: var(--container-2xl);
|
|
274
316
|
}
|
|
275
317
|
.max-w-3xl {
|
|
276
|
-
max-width: var(--container-3xl
|
|
318
|
+
max-width: var(--container-3xl);
|
|
277
319
|
}
|
|
278
320
|
.max-w-4xl {
|
|
279
|
-
max-width: var(--container-4xl
|
|
321
|
+
max-width: var(--container-4xl);
|
|
280
322
|
}
|
|
281
323
|
.max-w-5xl {
|
|
282
|
-
max-width: var(--container-5xl
|
|
324
|
+
max-width: var(--container-5xl);
|
|
283
325
|
}
|
|
284
326
|
.max-w-md {
|
|
285
|
-
max-width: var(--container-md
|
|
327
|
+
max-width: var(--container-md);
|
|
286
328
|
}
|
|
287
329
|
.max-w-prose {
|
|
288
330
|
max-width: 65ch;
|
|
289
331
|
}
|
|
290
332
|
.max-w-xl {
|
|
291
|
-
max-width: var(--container-xl
|
|
333
|
+
max-width: var(--container-xl);
|
|
292
334
|
}
|
|
293
335
|
.min-w-0 {
|
|
294
336
|
min-width: 0px;
|
|
@@ -317,6 +359,9 @@
|
|
|
317
359
|
.items-center {
|
|
318
360
|
align-items: center;
|
|
319
361
|
}
|
|
362
|
+
.items-start {
|
|
363
|
+
align-items: flex-start;
|
|
364
|
+
}
|
|
320
365
|
.justify-between {
|
|
321
366
|
justify-content: space-between;
|
|
322
367
|
}
|
|
@@ -324,34 +369,28 @@
|
|
|
324
369
|
justify-content: center;
|
|
325
370
|
}
|
|
326
371
|
.gap-0\.5 {
|
|
327
|
-
gap: calc(var(--spacing
|
|
372
|
+
gap: calc(var(--spacing) * 0.5);
|
|
328
373
|
}
|
|
329
374
|
.gap-1 {
|
|
330
|
-
gap: var(--spacing
|
|
375
|
+
gap: var(--spacing);
|
|
331
376
|
}
|
|
332
377
|
.gap-1\.5 {
|
|
333
|
-
gap: calc(var(--spacing
|
|
378
|
+
gap: calc(var(--spacing) * 1.5);
|
|
334
379
|
}
|
|
335
380
|
.gap-2 {
|
|
336
|
-
gap: var(--spacing
|
|
381
|
+
gap: calc(var(--spacing) * 2);
|
|
337
382
|
}
|
|
338
383
|
.gap-3 {
|
|
339
|
-
gap: var(--spacing
|
|
384
|
+
gap: calc(var(--spacing) * 3);
|
|
340
385
|
}
|
|
341
386
|
.gap-4 {
|
|
342
|
-
gap: var(--spacing
|
|
387
|
+
gap: calc(var(--spacing) * 4);
|
|
343
388
|
}
|
|
344
389
|
.gap-8 {
|
|
345
|
-
gap: var(--spacing
|
|
390
|
+
gap: calc(var(--spacing) * 8);
|
|
346
391
|
}
|
|
347
392
|
.gap-10 {
|
|
348
|
-
gap: calc(var(--spacing
|
|
349
|
-
}
|
|
350
|
-
.gap-inline {
|
|
351
|
-
gap: var(--spacing-inline, var(--space-inline));
|
|
352
|
-
}
|
|
353
|
-
.gap-stack {
|
|
354
|
-
gap: var(--spacing-stack, var(--space-stack));
|
|
393
|
+
gap: calc(var(--spacing) * 10);
|
|
355
394
|
}
|
|
356
395
|
:where(.divide-y > :not(:last-child)) {
|
|
357
396
|
--tw-divide-y-reverse: 0;
|
|
@@ -360,9 +399,6 @@
|
|
|
360
399
|
border-top-width: calc(1px * var(--tw-divide-y-reverse));
|
|
361
400
|
border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
|
|
362
401
|
}
|
|
363
|
-
:where(.divide-border > :not(:last-child)) {
|
|
364
|
-
border-color: var(--color-border, var(--border));
|
|
365
|
-
}
|
|
366
402
|
.truncate {
|
|
367
403
|
overflow: hidden;
|
|
368
404
|
text-overflow: ellipsis;
|
|
@@ -374,14 +410,8 @@
|
|
|
374
410
|
.overflow-y-auto {
|
|
375
411
|
overflow-y: auto;
|
|
376
412
|
}
|
|
377
|
-
.rounded-container {
|
|
378
|
-
border-radius: var(--radius-container, var(--radius-container));
|
|
379
|
-
}
|
|
380
|
-
.rounded-control {
|
|
381
|
-
border-radius: var(--radius-control, var(--radius-control));
|
|
382
|
-
}
|
|
383
413
|
.rounded-md {
|
|
384
|
-
border-radius: var(--radius-md
|
|
414
|
+
border-radius: var(--radius-md);
|
|
385
415
|
}
|
|
386
416
|
.border {
|
|
387
417
|
border-style: var(--tw-border-style);
|
|
@@ -399,103 +429,67 @@
|
|
|
399
429
|
border-left-style: var(--tw-border-style);
|
|
400
430
|
border-left-width: 2px;
|
|
401
431
|
}
|
|
402
|
-
.border-border {
|
|
403
|
-
border-color: var(--color-border, var(--border));
|
|
404
|
-
}
|
|
405
|
-
.border-primary {
|
|
406
|
-
border-color: var(--color-primary, var(--primary));
|
|
407
|
-
}
|
|
408
|
-
.bg-background {
|
|
409
|
-
background-color: var(--color-background, var(--background));
|
|
410
|
-
}
|
|
411
|
-
.bg-primary {
|
|
412
|
-
background-color: var(--color-primary, var(--primary));
|
|
413
|
-
}
|
|
414
|
-
.bg-surface {
|
|
415
|
-
background-color: var(--color-surface, var(--surface));
|
|
416
|
-
}
|
|
417
|
-
.bg-surface-container-low {
|
|
418
|
-
background-color: var(--color-surface-container-low, var(--surface-container-low));
|
|
419
|
-
}
|
|
420
432
|
.p-2 {
|
|
421
|
-
padding: var(--spacing
|
|
433
|
+
padding: calc(var(--spacing) * 2);
|
|
422
434
|
}
|
|
423
435
|
.p-4 {
|
|
424
|
-
padding: var(--spacing
|
|
425
|
-
}
|
|
426
|
-
.p-inset {
|
|
427
|
-
padding: var(--spacing-inset, var(--space-inset));
|
|
436
|
+
padding: calc(var(--spacing) * 4);
|
|
428
437
|
}
|
|
429
438
|
.px-4 {
|
|
430
|
-
padding-inline: var(--spacing
|
|
439
|
+
padding-inline: calc(var(--spacing) * 4);
|
|
431
440
|
}
|
|
432
441
|
.px-8 {
|
|
433
|
-
padding-inline: var(--spacing
|
|
442
|
+
padding-inline: calc(var(--spacing) * 8);
|
|
434
443
|
}
|
|
435
444
|
.py-2 {
|
|
436
|
-
padding-block: var(--spacing
|
|
445
|
+
padding-block: calc(var(--spacing) * 2);
|
|
437
446
|
}
|
|
438
447
|
.py-8 {
|
|
439
|
-
padding-block: var(--spacing
|
|
448
|
+
padding-block: calc(var(--spacing) * 8);
|
|
440
449
|
}
|
|
441
450
|
.py-16 {
|
|
442
|
-
padding-block: calc(var(--spacing
|
|
451
|
+
padding-block: calc(var(--spacing) * 16);
|
|
443
452
|
}
|
|
444
453
|
.pt-1\.5 {
|
|
445
|
-
padding-top: calc(var(--spacing
|
|
454
|
+
padding-top: calc(var(--spacing) * 1.5);
|
|
446
455
|
}
|
|
447
456
|
.pl-6 {
|
|
448
|
-
padding-left: var(--spacing
|
|
457
|
+
padding-left: calc(var(--spacing) * 6);
|
|
449
458
|
}
|
|
450
459
|
.text-2xl {
|
|
451
|
-
font-size: var(--text-2xl
|
|
452
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height
|
|
460
|
+
font-size: var(--text-2xl);
|
|
461
|
+
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
453
462
|
}
|
|
454
463
|
.text-base {
|
|
455
|
-
font-size: var(--text-base
|
|
456
|
-
line-height: var(--tw-leading, var(--text-base--line-height
|
|
464
|
+
font-size: var(--text-base);
|
|
465
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
457
466
|
}
|
|
458
467
|
.text-sm {
|
|
459
|
-
font-size: var(--text-sm
|
|
460
|
-
line-height: var(--tw-leading, var(--text-sm--line-height
|
|
468
|
+
font-size: var(--text-sm);
|
|
469
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
461
470
|
}
|
|
462
471
|
.text-xs {
|
|
463
|
-
font-size: var(--text-xs
|
|
464
|
-
line-height: var(--tw-leading, var(--text-xs--line-height
|
|
472
|
+
font-size: var(--text-xs);
|
|
473
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
465
474
|
}
|
|
466
475
|
.font-bold {
|
|
467
|
-
--tw-font-weight: var(--font-weight-bold
|
|
468
|
-
font-weight: var(--font-weight-bold
|
|
476
|
+
--tw-font-weight: var(--font-weight-bold);
|
|
477
|
+
font-weight: var(--font-weight-bold);
|
|
469
478
|
}
|
|
470
479
|
.font-medium {
|
|
471
|
-
--tw-font-weight: var(--font-weight-medium
|
|
472
|
-
font-weight: var(--font-weight-medium
|
|
480
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
481
|
+
font-weight: var(--font-weight-medium);
|
|
473
482
|
}
|
|
474
483
|
.font-semibold {
|
|
475
|
-
--tw-font-weight: var(--font-weight-semibold
|
|
476
|
-
font-weight: var(--font-weight-semibold
|
|
477
|
-
}
|
|
478
|
-
.text-on-background {
|
|
479
|
-
color: var(--color-on-background, var(--on-background));
|
|
480
|
-
}
|
|
481
|
-
.text-on-background\/80 {
|
|
482
|
-
color: var(--color-on-background, var(--on-background));
|
|
483
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
484
|
-
color: color-mix(in oklab, var(--color-on-background, var(--on-background)) 80%, transparent);
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
.text-on-primary {
|
|
488
|
-
color: var(--color-on-primary, var(--on-primary));
|
|
489
|
-
}
|
|
490
|
-
.text-on-surface {
|
|
491
|
-
color: var(--color-on-surface, var(--on-surface));
|
|
484
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
485
|
+
font-weight: var(--font-weight-semibold);
|
|
492
486
|
}
|
|
493
487
|
.shadow {
|
|
494
488
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
495
489
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
496
490
|
}
|
|
497
491
|
.shadow-md {
|
|
498
|
-
--tw-shadow: var(--shadow-
|
|
492
|
+
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
499
493
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
500
494
|
}
|
|
501
495
|
.ring {
|
|
@@ -515,8 +509,8 @@
|
|
|
515
509
|
}
|
|
516
510
|
.transition {
|
|
517
511
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
|
|
518
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function
|
|
519
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration
|
|
512
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
513
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
520
514
|
}
|
|
521
515
|
.duration-150 {
|
|
522
516
|
--tw-duration: 150ms;
|
|
@@ -530,10 +524,10 @@
|
|
|
530
524
|
}
|
|
531
525
|
@media (width >= 40rem) {
|
|
532
526
|
.sm\:p-6 {
|
|
533
|
-
padding: var(--spacing
|
|
527
|
+
padding: calc(var(--spacing) * 6);
|
|
534
528
|
}
|
|
535
529
|
.sm\:px-6 {
|
|
536
|
-
padding-inline: var(--spacing
|
|
530
|
+
padding-inline: calc(var(--spacing) * 6);
|
|
537
531
|
}
|
|
538
532
|
}
|
|
539
533
|
@media (width >= 48rem) {
|
|
@@ -546,232 +540,12 @@
|
|
|
546
540
|
}
|
|
547
541
|
@media (width >= 64rem) {
|
|
548
542
|
.lg\:p-8 {
|
|
549
|
-
padding: var(--spacing
|
|
543
|
+
padding: calc(var(--spacing) * 8);
|
|
550
544
|
}
|
|
551
545
|
.lg\:px-8 {
|
|
552
|
-
padding-inline: var(--spacing
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
@layer components {
|
|
557
|
-
.rui-button {
|
|
558
|
-
display: inline-flex;
|
|
559
|
-
height: fit-content;
|
|
560
|
-
width: fit-content;
|
|
561
|
-
align-items: center;
|
|
562
|
-
justify-content: center;
|
|
563
|
-
gap: var(--spacing-2, var(--space-2));
|
|
564
|
-
border-radius: var(--radius-button, var(--radius-control));
|
|
565
|
-
border-style: var(--tw-border-style);
|
|
566
|
-
border-width: 1px;
|
|
567
|
-
border-color: transparent;
|
|
568
|
-
font-size: var(--text-sm, var(--text-sm));
|
|
569
|
-
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
570
|
-
--tw-font-weight: var(--font-weight-medium, var(--weight-medium));
|
|
571
|
-
font-weight: var(--font-weight-medium, var(--weight-medium));
|
|
572
|
-
transition-property: background-color,color,box-shadow;
|
|
573
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
574
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
575
|
-
--tw-duration: 300ms;
|
|
576
|
-
transition-duration: 300ms;
|
|
577
|
-
--tw-ease: var(--ease-out, cubic-bezier(0, 0, 0.2, 1));
|
|
578
|
-
transition-timing-function: var(--ease-out, cubic-bezier(0, 0, 0.2, 1));
|
|
579
|
-
cursor: pointer;
|
|
580
|
-
white-space: nowrap;
|
|
581
|
-
}
|
|
582
|
-
.rui-button > svg {
|
|
583
|
-
pointer-events: none;
|
|
584
|
-
}
|
|
585
|
-
.rui-button:focus-visible {
|
|
586
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
587
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
588
|
-
--tw-ring-color: var(--color-focus-ring, var(--focus-ring));
|
|
589
|
-
--tw-outline-style: none;
|
|
590
|
-
outline-style: none;
|
|
591
|
-
@media (forced-colors: active) {
|
|
592
|
-
outline: 2px solid transparent;
|
|
593
|
-
outline-offset: 2px;
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
.rui-button:disabled {
|
|
597
|
-
cursor: not-allowed;
|
|
598
|
-
opacity: 50%;
|
|
599
|
-
}
|
|
600
|
-
.rui-button--filled {
|
|
601
|
-
background-color: var(--color-primary, var(--primary));
|
|
602
|
-
@media (forced-colors: active) {
|
|
603
|
-
background-image: none;
|
|
604
|
-
}
|
|
605
|
-
background-image: var(--sheen-image);
|
|
606
|
-
@media (forced-colors: active) {
|
|
607
|
-
background-image: none;
|
|
608
|
-
}
|
|
609
|
-
color: var(--color-on-primary, var(--on-primary));
|
|
610
|
-
}
|
|
611
|
-
.rui-button--filled:hover:not(:disabled) {
|
|
612
|
-
background-color: var(--color-primary, var(--primary));
|
|
613
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
614
|
-
background-color: color-mix(in oklab, var(--color-primary, var(--primary)) 90%, transparent);
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
.rui-button--filled:active:not(:disabled) {
|
|
618
|
-
background-color: var(--color-primary-dark, var(--primary-dark));
|
|
619
|
-
}
|
|
620
|
-
.rui-button--filled[aria-pressed='true'] {
|
|
621
|
-
background-color: var(--color-primary-dark, var(--primary-dark));
|
|
622
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
623
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
624
|
-
--tw-ring-color: var(--color-focus-ring, var(--focus-ring));
|
|
625
|
-
}
|
|
626
|
-
.rui-button--outline {
|
|
627
|
-
border-color: var(--color-border, var(--border));
|
|
628
|
-
background-color: transparent;
|
|
629
|
-
color: var(--color-on-background, var(--on-background));
|
|
630
|
-
}
|
|
631
|
-
.rui-button--outline:hover:not(:disabled) {
|
|
632
|
-
background-color: var(--color-surface, var(--surface));
|
|
633
|
-
@media (forced-colors: active) {
|
|
634
|
-
background-image: none;
|
|
635
|
-
}
|
|
636
|
-
background-image: var(--sheen-image);
|
|
637
|
-
@media (forced-colors: active) {
|
|
638
|
-
background-image: none;
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
.rui-button--outline:active:not(:disabled) {
|
|
642
|
-
background-color: var(--color-surface, var(--surface));
|
|
643
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
644
|
-
background-color: color-mix(in oklab, var(--color-surface, var(--surface)) 80%, transparent);
|
|
645
|
-
}
|
|
646
|
-
@media (forced-colors: active) {
|
|
647
|
-
background-image: none;
|
|
648
|
-
}
|
|
649
|
-
background-image: var(--sheen-image);
|
|
650
|
-
@media (forced-colors: active) {
|
|
651
|
-
background-image: none;
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
.rui-button--outline[aria-pressed='true'] {
|
|
655
|
-
background-color: var(--color-background, var(--background));
|
|
656
|
-
@media (forced-colors: active) {
|
|
657
|
-
background-image: none;
|
|
658
|
-
}
|
|
659
|
-
background-image: var(--sheen-image);
|
|
660
|
-
@media (forced-colors: active) {
|
|
661
|
-
background-image: none;
|
|
662
|
-
}
|
|
663
|
-
--tw-font-weight: var(--font-weight-medium, var(--weight-medium));
|
|
664
|
-
font-weight: var(--font-weight-medium, var(--weight-medium));
|
|
665
|
-
color: var(--color-on-background, var(--on-background));
|
|
666
|
-
--tw-shadow: var(--shadow-control);
|
|
667
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
668
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
669
|
-
--tw-ring-color: var(--color-focus-ring, var(--focus-ring));
|
|
670
|
-
}
|
|
671
|
-
.rui-button--ghost {
|
|
672
|
-
background-color: transparent;
|
|
673
|
-
color: var(--color-on-surface, var(--on-surface));
|
|
674
|
-
}
|
|
675
|
-
.rui-button--ghost:hover:not(:disabled) {
|
|
676
|
-
background-color: var(--color-surface-container-low, var(--surface-container-low));
|
|
677
|
-
@media (forced-colors: active) {
|
|
678
|
-
background-image: none;
|
|
679
|
-
}
|
|
680
|
-
background-image: var(--sheen-image);
|
|
681
|
-
@media (forced-colors: active) {
|
|
682
|
-
background-image: none;
|
|
546
|
+
padding-inline: calc(var(--spacing) * 8);
|
|
683
547
|
}
|
|
684
548
|
}
|
|
685
|
-
.rui-button--ghost:active:not(:disabled) {
|
|
686
|
-
background-color: var(--color-surface-container, var(--surface-container));
|
|
687
|
-
}
|
|
688
|
-
.rui-button--ghost[aria-pressed='true'] {
|
|
689
|
-
background-color: var(--color-background, var(--background));
|
|
690
|
-
--tw-font-weight: var(--font-weight-medium, var(--weight-medium));
|
|
691
|
-
font-weight: var(--font-weight-medium, var(--weight-medium));
|
|
692
|
-
color: var(--color-on-background, var(--on-background));
|
|
693
|
-
--tw-shadow: var(--shadow-control);
|
|
694
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
695
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
696
|
-
--tw-ring-color: var(--color-border, var(--border));
|
|
697
|
-
--tw-ring-inset: inset;
|
|
698
|
-
}
|
|
699
|
-
.rui-button--destructive {
|
|
700
|
-
background-color: var(--color-error, var(--error));
|
|
701
|
-
@media (forced-colors: active) {
|
|
702
|
-
background-image: none;
|
|
703
|
-
}
|
|
704
|
-
background-image: var(--sheen-image);
|
|
705
|
-
@media (forced-colors: active) {
|
|
706
|
-
background-image: none;
|
|
707
|
-
}
|
|
708
|
-
color: var(--color-on-error, var(--on-error));
|
|
709
|
-
}
|
|
710
|
-
.rui-button--destructive:hover:not(:disabled) {
|
|
711
|
-
background-color: var(--color-error, var(--error));
|
|
712
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
713
|
-
background-color: color-mix(in oklab, var(--color-error, var(--error)) 90%, transparent);
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
.rui-button--destructive:active:not(:disabled) {
|
|
717
|
-
background-color: var(--color-error-dark, var(--error-dark));
|
|
718
|
-
}
|
|
719
|
-
.rui-button--sm {
|
|
720
|
-
padding-inline: var(--spacing-2, var(--space-2));
|
|
721
|
-
padding-block: var(--spacing-1, var(--space-1));
|
|
722
|
-
font-size: var(--text-xs, var(--text-xs));
|
|
723
|
-
line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
|
|
724
|
-
}
|
|
725
|
-
.rui-button--md {
|
|
726
|
-
padding-inline: var(--spacing-4, var(--space-4));
|
|
727
|
-
padding-block: var(--spacing-2, var(--space-2));
|
|
728
|
-
font-size: var(--text-sm, var(--text-sm));
|
|
729
|
-
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
730
|
-
}
|
|
731
|
-
.rui-button--lg {
|
|
732
|
-
padding-inline: var(--spacing-6, var(--space-6));
|
|
733
|
-
padding-block: var(--spacing-3, var(--space-3));
|
|
734
|
-
font-size: var(--text-base, 1rem);
|
|
735
|
-
line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
|
|
736
|
-
}
|
|
737
|
-
.rui-button--icon {
|
|
738
|
-
padding: var(--spacing-2, var(--space-2));
|
|
739
|
-
font-size: var(--text-sm, var(--text-sm));
|
|
740
|
-
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
741
|
-
}
|
|
742
|
-
.rui-button--primary {
|
|
743
|
-
background-color: var(--color-primary, var(--primary));
|
|
744
|
-
@media (forced-colors: active) {
|
|
745
|
-
background-image: none;
|
|
746
|
-
}
|
|
747
|
-
background-image: var(--sheen-image);
|
|
748
|
-
@media (forced-colors: active) {
|
|
749
|
-
background-image: none;
|
|
750
|
-
}
|
|
751
|
-
color: var(--color-on-primary, var(--on-primary));
|
|
752
|
-
}
|
|
753
|
-
.rui-button--secondary {
|
|
754
|
-
background-color: var(--color-secondary, var(--secondary));
|
|
755
|
-
@media (forced-colors: active) {
|
|
756
|
-
background-image: none;
|
|
757
|
-
}
|
|
758
|
-
background-image: var(--sheen-image);
|
|
759
|
-
@media (forced-colors: active) {
|
|
760
|
-
background-image: none;
|
|
761
|
-
}
|
|
762
|
-
color: var(--color-on-secondary, var(--on-secondary));
|
|
763
|
-
}
|
|
764
|
-
.rui-button--error {
|
|
765
|
-
background-color: var(--color-error, var(--error));
|
|
766
|
-
@media (forced-colors: active) {
|
|
767
|
-
background-image: none;
|
|
768
|
-
}
|
|
769
|
-
background-image: var(--sheen-image);
|
|
770
|
-
@media (forced-colors: active) {
|
|
771
|
-
background-image: none;
|
|
772
|
-
}
|
|
773
|
-
color: var(--color-on-error, var(--on-error));
|
|
774
|
-
}
|
|
775
549
|
}
|
|
776
550
|
@property --tw-rotate-x {
|
|
777
551
|
syntax: "*";
|
|
@@ -934,10 +708,6 @@
|
|
|
934
708
|
syntax: "*";
|
|
935
709
|
inherits: false;
|
|
936
710
|
}
|
|
937
|
-
@property --tw-ease {
|
|
938
|
-
syntax: "*";
|
|
939
|
-
inherits: false;
|
|
940
|
-
}
|
|
941
711
|
@layer properties {
|
|
942
712
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
943
713
|
*, ::before, ::after, ::backdrop {
|
|
@@ -978,7 +748,6 @@
|
|
|
978
748
|
--tw-drop-shadow-alpha: 100%;
|
|
979
749
|
--tw-drop-shadow-size: initial;
|
|
980
750
|
--tw-duration: initial;
|
|
981
|
-
--tw-ease: initial;
|
|
982
751
|
}
|
|
983
752
|
}
|
|
984
753
|
}
|