iryx-ui 0.11.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -1235
- package/dist/component-names.d.ts +1 -1
- package/dist/component-names.js +1 -1
- package/dist/components/Accordion.js +5 -0
- package/dist/components/Accordion.vue.d.ts +80 -0
- package/dist/components/Accordion.vue_vue_type_script_setup_true_lang.js +87 -0
- package/dist/components/Alert.vue.d.ts +1 -1
- package/dist/components/Alert.vue_vue_type_script_setup_true_lang.js +43 -43
- package/dist/components/App.vue.d.ts +1 -1
- package/dist/components/AppShell.js +5 -0
- package/dist/components/AppShell.vue.d.ts +46 -0
- package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/components/AspectRatio.js +5 -0
- package/dist/components/AspectRatio.vue.d.ts +26 -0
- package/dist/components/AspectRatio.vue_vue_type_script_setup_true_lang.js +27 -0
- package/dist/components/Avatar.js +5 -0
- package/dist/components/Avatar.vue.d.ts +52 -0
- package/dist/components/Avatar.vue_vue_type_script_setup_true_lang.js +67 -0
- package/dist/components/AvatarGroup.js +5 -0
- package/dist/components/AvatarGroup.vue.d.ts +39 -0
- package/dist/components/AvatarGroup.vue_vue_type_script_setup_true_lang.js +45 -0
- package/dist/components/Badge.vue.d.ts +1 -1
- package/dist/components/Banner.vue.d.ts +2 -2
- package/dist/components/Banner.vue_vue_type_script_setup_true_lang.js +40 -40
- package/dist/components/BarChart.vue.d.ts +1 -1
- package/dist/components/BarChart.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/components/Breadcrumb.vue_vue_type_script_setup_true_lang.js +28 -28
- package/dist/components/Button.vue.d.ts +2 -2
- package/dist/components/Button.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/components/Card.vue.d.ts +1 -1
- package/dist/components/Checkbox.vue_vue_type_script_setup_true_lang.js +37 -30
- package/dist/components/Collapsible.js +5 -0
- package/dist/components/Collapsible.vue.d.ts +58 -0
- package/dist/components/Collapsible.vue_vue_type_script_setup_true_lang.js +67 -0
- package/dist/components/ColorPicker.js +5 -0
- package/dist/components/ColorPicker.vue.d.ts +49 -0
- package/dist/components/ColorPicker.vue_vue_type_script_setup_true_lang.js +172 -0
- package/dist/components/Combobox.vue.d.ts +6 -6
- package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +62 -60
- package/dist/components/CommandPalette.js +5 -0
- package/dist/components/CommandPalette.vue.d.ts +63 -0
- package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js +185 -0
- package/dist/components/Container.js +5 -0
- package/dist/components/Container.vue.d.ts +33 -0
- package/dist/components/Container.vue_vue_type_script_setup_true_lang.js +40 -0
- package/dist/components/ContextMenu.js +5 -0
- package/dist/components/ContextMenu.vue.d.ts +42 -0
- package/dist/components/ContextMenu.vue_vue_type_script_setup_true_lang.js +49 -0
- package/dist/components/DatePicker.vue_vue_type_script_setup_true_lang.js +65 -65
- package/dist/components/DateRangePicker.vue.d.ts +1 -1
- package/dist/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +74 -74
- package/dist/components/Dialog.vue.d.ts +1 -1
- package/dist/components/Dialog.vue_vue_type_script_setup_true_lang.js +34 -34
- package/dist/components/Drawer.js +5 -0
- package/dist/components/Drawer.vue.d.ts +94 -0
- package/dist/components/Drawer.vue_vue_type_script_setup_true_lang.js +144 -0
- package/dist/components/DropdownMenuItems.vue_vue_type_script_setup_true_lang.js +42 -42
- package/dist/components/EmptyState.vue.d.ts +1 -1
- package/dist/components/FileUpload.vue_vue_type_script_setup_true_lang.js +77 -77
- package/dist/components/Icon.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/components/Input.vue.d.ts +1 -1
- package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +33 -33
- package/dist/components/Kbd.js +5 -0
- package/dist/components/Kbd.vue.d.ts +46 -0
- package/dist/components/Kbd.vue_vue_type_script_setup_true_lang.js +41 -0
- package/dist/components/LineChart.vue_vue_type_script_setup_true_lang.js +19 -19
- package/dist/components/Menubar.js +5 -0
- package/dist/components/Menubar.vue.d.ts +62 -0
- package/dist/components/Menubar.vue_vue_type_script_setup_true_lang.js +79 -0
- package/dist/components/NavigationMenu.js +5 -0
- package/dist/components/NavigationMenu.vue.d.ts +75 -0
- package/dist/components/NavigationMenu.vue_vue_type_script_setup_true_lang.js +167 -0
- package/dist/components/NumberInput.vue_vue_type_script_setup_true_lang.js +68 -66
- package/dist/components/PageHeader.js +5 -0
- package/dist/components/PageHeader.vue.d.ts +52 -0
- package/dist/components/PageHeader.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/components/Pagination.vue_vue_type_script_setup_true_lang.js +37 -37
- package/dist/components/PasswordInput.vue_vue_type_script_setup_true_lang.js +37 -37
- package/dist/components/PinInput.js +5 -0
- package/dist/components/PinInput.vue.d.ts +65 -0
- package/dist/components/PinInput.vue_vue_type_script_setup_true_lang.js +76 -0
- package/dist/components/Popover.js +5 -0
- package/dist/components/Popover.vue.d.ts +75 -0
- package/dist/components/Popover.vue_vue_type_script_setup_true_lang.js +99 -0
- package/dist/components/Progress.vue.d.ts +20 -1
- package/dist/components/Progress.vue_vue_type_script_setup_true_lang.js +85 -42
- package/dist/components/RadioGroup.vue_vue_type_script_setup_true_lang.js +4 -1
- package/dist/components/ScrollArea.js +5 -0
- package/dist/components/ScrollArea.vue.d.ts +41 -0
- package/dist/components/ScrollArea.vue_vue_type_script_setup_true_lang.js +68 -0
- package/dist/components/ScrollFade.js +5 -0
- package/dist/components/ScrollFade.vue.d.ts +36 -0
- package/dist/components/ScrollFade.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/components/Select.vue.d.ts +2 -2
- package/dist/components/Select.vue_vue_type_script_setup_true_lang.js +47 -45
- package/dist/components/Sidebar.js +5 -0
- package/dist/components/Sidebar.vue.d.ts +72 -0
- package/dist/components/Sidebar.vue_vue_type_script_setup_true_lang.js +183 -0
- package/dist/components/SignaturePad.js +5 -0
- package/dist/components/SignaturePad.vue.d.ts +60 -0
- package/dist/components/SignaturePad.vue_vue_type_script_setup_true_lang.js +158 -0
- package/dist/components/Skeleton.vue.d.ts +1 -1
- package/dist/components/Skeleton.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/components/Slider.js +5 -0
- package/dist/components/Slider.vue.d.ts +80 -0
- package/dist/components/Slider.vue_vue_type_script_setup_true_lang.js +115 -0
- package/dist/components/Splitter.js +5 -0
- package/dist/components/Splitter.vue.d.ts +59 -0
- package/dist/components/Splitter.vue_vue_type_script_setup_true_lang.js +69 -0
- package/dist/components/Stat.vue.d.ts +1 -1
- package/dist/components/Stat.vue_vue_type_script_setup_true_lang.js +27 -27
- package/dist/components/Stepper.vue_vue_type_script_setup_true_lang.js +38 -38
- package/dist/components/Switch.vue.d.ts +1 -0
- package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js +16 -5
- package/dist/components/Table.vue.d.ts +7 -1
- package/dist/components/Table.vue_vue_type_script_setup_true_lang.js +120 -105
- package/dist/components/TagsInput.js +5 -0
- package/dist/components/TagsInput.vue.d.ts +71 -0
- package/dist/components/TagsInput.vue_vue_type_script_setup_true_lang.js +119 -0
- package/dist/components/Textarea.vue_vue_type_script_setup_true_lang.js +3 -3
- package/dist/components/TimeField.js +5 -0
- package/dist/components/TimeField.vue.d.ts +50 -0
- package/dist/components/TimeField.vue_vue_type_script_setup_true_lang.js +85 -0
- package/dist/components/Timeline.js +5 -0
- package/dist/components/Timeline.vue.d.ts +61 -0
- package/dist/components/Timeline.vue_vue_type_script_setup_true_lang.js +60 -0
- package/dist/components/Toaster.vue.d.ts +1 -1
- package/dist/components/Toaster.vue_vue_type_script_setup_true_lang.js +41 -41
- package/dist/components/Toggle.js +5 -0
- package/dist/components/Toggle.vue.d.ts +42 -0
- package/dist/components/Toggle.vue_vue_type_script_setup_true_lang.js +52 -0
- package/dist/components/ToggleGroup.js +5 -0
- package/dist/components/ToggleGroup.vue.d.ts +64 -0
- package/dist/components/ToggleGroup.vue_vue_type_script_setup_true_lang.js +78 -0
- package/dist/components/Toolbar.js +5 -0
- package/dist/components/Toolbar.vue.d.ts +52 -0
- package/dist/components/Toolbar.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/components/Tree.js +5 -0
- package/dist/components/Tree.vue.d.ts +70 -0
- package/dist/components/Tree.vue_vue_type_script_setup_true_lang.js +112 -0
- package/dist/components/index.d.ts +30 -0
- package/dist/components/index.js +144 -84
- package/dist/composables/appearance.js +5 -1
- package/dist/composables/cartesian.d.ts +11 -0
- package/dist/composables/cartesian.js +18 -19
- package/dist/composables/command-palette.d.ts +42 -0
- package/dist/composables/command-palette.js +32 -0
- package/dist/composables/date.d.ts +18 -2
- package/dist/composables/date.js +23 -15
- package/dist/composables/kbd.d.ts +26 -0
- package/dist/composables/kbd.js +161 -0
- package/dist/composables/navigation-menu.d.ts +29 -0
- package/dist/composables/navigation-menu.js +6 -0
- package/dist/composables/scroll-fade.d.ts +35 -0
- package/dist/composables/scroll-fade.js +36 -0
- package/dist/composables/sidebar.d.ts +35 -0
- package/dist/composables/sidebar.js +23 -0
- package/dist/composables/signature.d.ts +22 -0
- package/dist/composables/signature.js +13 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +153 -92
- package/dist/theme/accordion.d.ts +68 -0
- package/dist/theme/accordion.js +24 -0
- package/dist/theme/alert.d.ts +0 -3
- package/dist/theme/app-shell.d.ts +77 -0
- package/dist/theme/app-shell.js +35 -0
- package/dist/theme/avatar.d.ts +253 -0
- package/dist/theme/avatar.js +84 -0
- package/dist/theme/banner.d.ts +0 -9
- package/dist/theme/bar-chart.d.ts +0 -16
- package/dist/theme/breadcrumb.d.ts +3 -3
- package/dist/theme/button-group.d.ts +0 -3
- package/dist/theme/button.d.ts +0 -3
- package/dist/theme/card.js +2 -2
- package/dist/theme/chart-legend.d.ts +3 -11
- package/dist/theme/collapsible.d.ts +44 -0
- package/dist/theme/collapsible.js +17 -0
- package/dist/theme/color-picker.d.ts +98 -0
- package/dist/theme/color-picker.js +19 -0
- package/dist/theme/command-palette.d.ts +122 -0
- package/dist/theme/command-palette.js +22 -0
- package/dist/theme/container.d.ts +101 -0
- package/dist/theme/container.js +26 -0
- package/dist/theme/date-picker.d.ts +12 -0
- package/dist/theme/date-picker.js +1 -1
- package/dist/theme/drawer.d.ts +110 -0
- package/dist/theme/drawer.js +100 -0
- package/dist/theme/dropdown-menu.d.ts +0 -9
- package/dist/theme/file-upload.d.ts +0 -3
- package/dist/theme/form.d.ts +12 -12
- package/dist/theme/index.d.ts +26 -0
- package/dist/theme/kbd.d.ts +71 -0
- package/dist/theme/kbd.js +29 -0
- package/dist/theme/line-chart.d.ts +0 -9
- package/dist/theme/menubar.d.ts +29 -0
- package/dist/theme/menubar.js +11 -0
- package/dist/theme/navigation-menu.d.ts +161 -0
- package/dist/theme/navigation-menu.js +43 -0
- package/dist/theme/number-input.d.ts +0 -3
- package/dist/theme/page-header.d.ts +47 -0
- package/dist/theme/page-header.js +17 -0
- package/dist/theme/pagination.d.ts +0 -3
- package/dist/theme/pin-input.d.ts +86 -0
- package/dist/theme/pin-input.js +32 -0
- package/dist/theme/popover.d.ts +119 -0
- package/dist/theme/popover.js +31 -0
- package/dist/theme/presets.d.ts +0 -2
- package/dist/theme/progress.d.ts +93 -0
- package/dist/theme/progress.js +37 -7
- package/dist/theme/radio-group.d.ts +24 -0
- package/dist/theme/radio-group.js +23 -14
- package/dist/theme/scroll-area.d.ts +65 -0
- package/dist/theme/scroll-area.js +57 -0
- package/dist/theme/scroll-fade.d.ts +35 -0
- package/dist/theme/scroll-fade.js +12 -0
- package/dist/theme/sidebar.d.ts +167 -0
- package/dist/theme/sidebar.js +43 -0
- package/dist/theme/signature-pad.d.ts +50 -0
- package/dist/theme/signature-pad.js +17 -0
- package/dist/theme/slider.d.ts +128 -0
- package/dist/theme/slider.js +49 -0
- package/dist/theme/sparkline.d.ts +0 -6
- package/dist/theme/splitter.d.ts +59 -0
- package/dist/theme/splitter.js +25 -0
- package/dist/theme/stat.d.ts +0 -3
- package/dist/theme/stepper.js +2 -2
- package/dist/theme/switch.d.ts +53 -29
- package/dist/theme/switch.js +33 -8
- package/dist/theme/table.d.ts +51 -3
- package/dist/theme/table.js +8 -3
- package/dist/theme/tabs.d.ts +0 -3
- package/dist/theme/tags-input.d.ts +110 -0
- package/dist/theme/tags-input.js +42 -0
- package/dist/theme/time-field.d.ts +68 -0
- package/dist/theme/time-field.js +21 -0
- package/dist/theme/timeline.d.ts +182 -0
- package/dist/theme/timeline.js +83 -0
- package/dist/theme/toggle.d.ts +145 -0
- package/dist/theme/toggle.js +84 -0
- package/dist/theme/toolbar.d.ts +56 -0
- package/dist/theme/toolbar.js +21 -0
- package/dist/theme/tree.d.ts +68 -0
- package/dist/theme/tree.js +28 -0
- package/package.json +4 -3
- package/theme.css +335 -0
- package/dist/node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js +0 -377
- package/dist/node_modules/.pnpm/@hugeicons_vue@1.0.7_vue@3.5.35_typescript@6.0.3_/node_modules/@hugeicons/vue/dist/esm/_virtual/_plugin-vue_export-helper.js +0 -8
- package/dist/node_modules/.pnpm/@hugeicons_vue@1.0.7_vue@3.5.35_typescript@6.0.3_/node_modules/@hugeicons/vue/dist/esm/components/HugeiconsIcon.vue.js +0 -25
- package/dist/node_modules/.pnpm/@hugeicons_vue@1.0.7_vue@3.5.35_typescript@6.0.3_/node_modules/@hugeicons/vue/dist/esm/components/HugeiconsIcon.vue2.js +0 -63
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/CalendarDate.js +0 -122
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/DateFormatter.js +0 -84
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.js +0 -91
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/conversion.js +0 -107
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/manipulation.js +0 -159
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/queries.js +0 -29
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/string.js +0 -37
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/utils.js +0 -6
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare const accordionTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
plain: {};
|
|
4
|
+
outline: {
|
|
5
|
+
root: string;
|
|
6
|
+
item: string;
|
|
7
|
+
content: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
root: string;
|
|
12
|
+
item: string;
|
|
13
|
+
header: string;
|
|
14
|
+
trigger: string;
|
|
15
|
+
icon: string;
|
|
16
|
+
/**
|
|
17
|
+
* The animated element carries no spacing of its own — margin is not part
|
|
18
|
+
* of an animated height, so it survives the close as a gap under a panel
|
|
19
|
+
* that is supposedly shut. All padding lives on the inner wrapper.
|
|
20
|
+
*/
|
|
21
|
+
content: string;
|
|
22
|
+
contentInner: string;
|
|
23
|
+
}, undefined, {
|
|
24
|
+
variant: {
|
|
25
|
+
plain: {};
|
|
26
|
+
outline: {
|
|
27
|
+
root: string;
|
|
28
|
+
item: string;
|
|
29
|
+
content: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
root: string;
|
|
34
|
+
item: string;
|
|
35
|
+
header: string;
|
|
36
|
+
trigger: string;
|
|
37
|
+
icon: string;
|
|
38
|
+
/**
|
|
39
|
+
* The animated element carries no spacing of its own — margin is not part
|
|
40
|
+
* of an animated height, so it survives the close as a gap under a panel
|
|
41
|
+
* that is supposedly shut. All padding lives on the inner wrapper.
|
|
42
|
+
*/
|
|
43
|
+
content: string;
|
|
44
|
+
contentInner: string;
|
|
45
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
46
|
+
variant: {
|
|
47
|
+
plain: {};
|
|
48
|
+
outline: {
|
|
49
|
+
root: string;
|
|
50
|
+
item: string;
|
|
51
|
+
content: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
root: string;
|
|
56
|
+
item: string;
|
|
57
|
+
header: string;
|
|
58
|
+
trigger: string;
|
|
59
|
+
icon: string;
|
|
60
|
+
/**
|
|
61
|
+
* The animated element carries no spacing of its own — margin is not part
|
|
62
|
+
* of an animated height, so it survives the close as a gap under a panel
|
|
63
|
+
* that is supposedly shut. All padding lives on the inner wrapper.
|
|
64
|
+
*/
|
|
65
|
+
content: string;
|
|
66
|
+
contentInner: string;
|
|
67
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
68
|
+
export type AccordionSlots = keyof ReturnType<typeof accordionTheme>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
//#region src/theme/accordion.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "w-full",
|
|
6
|
+
item: "border-b border-border last:border-b-0",
|
|
7
|
+
header: "flex",
|
|
8
|
+
trigger: "group/trigger flex flex-1 items-center justify-between gap-4 py-4 text-left text-sm font-medium transition-colors outline-none hover:text-muted-foreground focus-visible:ring-2 focus-visible:ring-primary/50 disabled:pointer-events-none disabled:opacity-50",
|
|
9
|
+
icon: "size-4 shrink-0 text-muted-foreground transition-[rotate] duration-200 ease-out group-data-[state=open]/trigger:rotate-180",
|
|
10
|
+
content: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",
|
|
11
|
+
contentInner: "pb-4"
|
|
12
|
+
},
|
|
13
|
+
variants: { variant: {
|
|
14
|
+
plain: {},
|
|
15
|
+
outline: {
|
|
16
|
+
root: "flex flex-col gap-2",
|
|
17
|
+
item: "rounded-xl border border-border px-4 last:border-b",
|
|
18
|
+
content: "pb-0"
|
|
19
|
+
}
|
|
20
|
+
} },
|
|
21
|
+
defaultVariants: { variant: "plain" }
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { t as accordionTheme };
|
package/dist/theme/alert.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ export declare const alertTheme: import("tailwind-variants").TVReturnType<{
|
|
|
25
25
|
content: string;
|
|
26
26
|
title: string;
|
|
27
27
|
description: string;
|
|
28
|
-
/** Buttons or links under the body — "Retry", "Undo", "View invoice". */
|
|
29
28
|
actions: string;
|
|
30
29
|
close: string;
|
|
31
30
|
}, undefined, {
|
|
@@ -55,7 +54,6 @@ export declare const alertTheme: import("tailwind-variants").TVReturnType<{
|
|
|
55
54
|
content: string;
|
|
56
55
|
title: string;
|
|
57
56
|
description: string;
|
|
58
|
-
/** Buttons or links under the body — "Retry", "Undo", "View invoice". */
|
|
59
57
|
actions: string;
|
|
60
58
|
close: string;
|
|
61
59
|
}, import("tailwind-variants").TVReturnType<{
|
|
@@ -85,7 +83,6 @@ export declare const alertTheme: import("tailwind-variants").TVReturnType<{
|
|
|
85
83
|
content: string;
|
|
86
84
|
title: string;
|
|
87
85
|
description: string;
|
|
88
|
-
/** Buttons or links under the body — "Retry", "Undo", "View invoice". */
|
|
89
86
|
actions: string;
|
|
90
87
|
close: string;
|
|
91
88
|
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
scroll: {
|
|
3
|
+
main: {
|
|
4
|
+
root: string;
|
|
5
|
+
main: string;
|
|
6
|
+
};
|
|
7
|
+
page: {
|
|
8
|
+
root: string;
|
|
9
|
+
header: string;
|
|
10
|
+
sidebar: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
sidebarPosition: {
|
|
14
|
+
left: {};
|
|
15
|
+
right: {
|
|
16
|
+
body: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
root: string;
|
|
21
|
+
header: string;
|
|
22
|
+
body: string;
|
|
23
|
+
sidebar: string;
|
|
24
|
+
main: string;
|
|
25
|
+
footer: string;
|
|
26
|
+
}, undefined, {
|
|
27
|
+
scroll: {
|
|
28
|
+
main: {
|
|
29
|
+
root: string;
|
|
30
|
+
main: string;
|
|
31
|
+
};
|
|
32
|
+
page: {
|
|
33
|
+
root: string;
|
|
34
|
+
header: string;
|
|
35
|
+
sidebar: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
sidebarPosition: {
|
|
39
|
+
left: {};
|
|
40
|
+
right: {
|
|
41
|
+
body: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
root: string;
|
|
46
|
+
header: string;
|
|
47
|
+
body: string;
|
|
48
|
+
sidebar: string;
|
|
49
|
+
main: string;
|
|
50
|
+
footer: string;
|
|
51
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
52
|
+
scroll: {
|
|
53
|
+
main: {
|
|
54
|
+
root: string;
|
|
55
|
+
main: string;
|
|
56
|
+
};
|
|
57
|
+
page: {
|
|
58
|
+
root: string;
|
|
59
|
+
header: string;
|
|
60
|
+
sidebar: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
sidebarPosition: {
|
|
64
|
+
left: {};
|
|
65
|
+
right: {
|
|
66
|
+
body: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}, {
|
|
70
|
+
root: string;
|
|
71
|
+
header: string;
|
|
72
|
+
body: string;
|
|
73
|
+
sidebar: string;
|
|
74
|
+
main: string;
|
|
75
|
+
footer: string;
|
|
76
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
77
|
+
export type AppShellSlots = keyof ReturnType<typeof appShellTheme>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
//#region src/theme/app-shell.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "flex w-full flex-col bg-background text-foreground",
|
|
6
|
+
header: "z-30 shrink-0",
|
|
7
|
+
body: "flex min-h-0 w-full flex-1",
|
|
8
|
+
sidebar: "shrink-0",
|
|
9
|
+
main: "flex min-w-0 flex-1 flex-col",
|
|
10
|
+
footer: "shrink-0"
|
|
11
|
+
},
|
|
12
|
+
variants: {
|
|
13
|
+
scroll: {
|
|
14
|
+
main: {
|
|
15
|
+
root: "h-svh overflow-hidden",
|
|
16
|
+
main: "overflow-y-auto"
|
|
17
|
+
},
|
|
18
|
+
page: {
|
|
19
|
+
root: "min-h-svh",
|
|
20
|
+
header: "sticky top-0",
|
|
21
|
+
sidebar: "sticky top-[var(--iryx-shell-header-height,0px)] max-h-[calc(100svh-var(--iryx-shell-header-height,0px))] self-start overflow-y-auto"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
sidebarPosition: {
|
|
25
|
+
left: {},
|
|
26
|
+
right: { body: "flex-row-reverse" }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
defaultVariants: {
|
|
30
|
+
scroll: "main",
|
|
31
|
+
sidebarPosition: "left"
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { t as appShellTheme };
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
export declare const avatarTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
|
+
root: string;
|
|
5
|
+
fallback: string;
|
|
6
|
+
status: string;
|
|
7
|
+
};
|
|
8
|
+
sm: {
|
|
9
|
+
root: string;
|
|
10
|
+
fallback: string;
|
|
11
|
+
status: string;
|
|
12
|
+
};
|
|
13
|
+
md: {
|
|
14
|
+
root: string;
|
|
15
|
+
fallback: string;
|
|
16
|
+
status: string;
|
|
17
|
+
};
|
|
18
|
+
lg: {
|
|
19
|
+
root: string;
|
|
20
|
+
fallback: string;
|
|
21
|
+
status: string;
|
|
22
|
+
};
|
|
23
|
+
xl: {
|
|
24
|
+
root: string;
|
|
25
|
+
fallback: string;
|
|
26
|
+
status: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
shape: {
|
|
30
|
+
circle: {
|
|
31
|
+
root: string;
|
|
32
|
+
};
|
|
33
|
+
square: {
|
|
34
|
+
root: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
status: {
|
|
38
|
+
online: {
|
|
39
|
+
status: string;
|
|
40
|
+
};
|
|
41
|
+
busy: {
|
|
42
|
+
status: string;
|
|
43
|
+
};
|
|
44
|
+
away: {
|
|
45
|
+
status: string;
|
|
46
|
+
};
|
|
47
|
+
offline: {
|
|
48
|
+
status: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
root: string;
|
|
53
|
+
image: string;
|
|
54
|
+
fallback: string;
|
|
55
|
+
status: string;
|
|
56
|
+
}, undefined, {
|
|
57
|
+
size: {
|
|
58
|
+
xs: {
|
|
59
|
+
root: string;
|
|
60
|
+
fallback: string;
|
|
61
|
+
status: string;
|
|
62
|
+
};
|
|
63
|
+
sm: {
|
|
64
|
+
root: string;
|
|
65
|
+
fallback: string;
|
|
66
|
+
status: string;
|
|
67
|
+
};
|
|
68
|
+
md: {
|
|
69
|
+
root: string;
|
|
70
|
+
fallback: string;
|
|
71
|
+
status: string;
|
|
72
|
+
};
|
|
73
|
+
lg: {
|
|
74
|
+
root: string;
|
|
75
|
+
fallback: string;
|
|
76
|
+
status: string;
|
|
77
|
+
};
|
|
78
|
+
xl: {
|
|
79
|
+
root: string;
|
|
80
|
+
fallback: string;
|
|
81
|
+
status: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
shape: {
|
|
85
|
+
circle: {
|
|
86
|
+
root: string;
|
|
87
|
+
};
|
|
88
|
+
square: {
|
|
89
|
+
root: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
status: {
|
|
93
|
+
online: {
|
|
94
|
+
status: string;
|
|
95
|
+
};
|
|
96
|
+
busy: {
|
|
97
|
+
status: string;
|
|
98
|
+
};
|
|
99
|
+
away: {
|
|
100
|
+
status: string;
|
|
101
|
+
};
|
|
102
|
+
offline: {
|
|
103
|
+
status: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}, {
|
|
107
|
+
root: string;
|
|
108
|
+
image: string;
|
|
109
|
+
fallback: string;
|
|
110
|
+
status: string;
|
|
111
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
112
|
+
size: {
|
|
113
|
+
xs: {
|
|
114
|
+
root: string;
|
|
115
|
+
fallback: string;
|
|
116
|
+
status: string;
|
|
117
|
+
};
|
|
118
|
+
sm: {
|
|
119
|
+
root: string;
|
|
120
|
+
fallback: string;
|
|
121
|
+
status: string;
|
|
122
|
+
};
|
|
123
|
+
md: {
|
|
124
|
+
root: string;
|
|
125
|
+
fallback: string;
|
|
126
|
+
status: string;
|
|
127
|
+
};
|
|
128
|
+
lg: {
|
|
129
|
+
root: string;
|
|
130
|
+
fallback: string;
|
|
131
|
+
status: string;
|
|
132
|
+
};
|
|
133
|
+
xl: {
|
|
134
|
+
root: string;
|
|
135
|
+
fallback: string;
|
|
136
|
+
status: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
shape: {
|
|
140
|
+
circle: {
|
|
141
|
+
root: string;
|
|
142
|
+
};
|
|
143
|
+
square: {
|
|
144
|
+
root: string;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
status: {
|
|
148
|
+
online: {
|
|
149
|
+
status: string;
|
|
150
|
+
};
|
|
151
|
+
busy: {
|
|
152
|
+
status: string;
|
|
153
|
+
};
|
|
154
|
+
away: {
|
|
155
|
+
status: string;
|
|
156
|
+
};
|
|
157
|
+
offline: {
|
|
158
|
+
status: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
}, {
|
|
162
|
+
root: string;
|
|
163
|
+
image: string;
|
|
164
|
+
fallback: string;
|
|
165
|
+
status: string;
|
|
166
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
167
|
+
export type AvatarSlots = keyof ReturnType<typeof avatarTheme>;
|
|
168
|
+
export declare const avatarGroupTheme: import("tailwind-variants").TVReturnType<{
|
|
169
|
+
size: {
|
|
170
|
+
xs: {
|
|
171
|
+
root: string;
|
|
172
|
+
overflow: string;
|
|
173
|
+
};
|
|
174
|
+
sm: {
|
|
175
|
+
root: string;
|
|
176
|
+
overflow: string;
|
|
177
|
+
};
|
|
178
|
+
md: {
|
|
179
|
+
root: string;
|
|
180
|
+
overflow: string;
|
|
181
|
+
};
|
|
182
|
+
lg: {
|
|
183
|
+
root: string;
|
|
184
|
+
overflow: string;
|
|
185
|
+
};
|
|
186
|
+
xl: {
|
|
187
|
+
root: string;
|
|
188
|
+
overflow: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
}, {
|
|
192
|
+
root: string;
|
|
193
|
+
item: string;
|
|
194
|
+
/** The "+3" chip closing the stack. */
|
|
195
|
+
overflow: string;
|
|
196
|
+
}, undefined, {
|
|
197
|
+
size: {
|
|
198
|
+
xs: {
|
|
199
|
+
root: string;
|
|
200
|
+
overflow: string;
|
|
201
|
+
};
|
|
202
|
+
sm: {
|
|
203
|
+
root: string;
|
|
204
|
+
overflow: string;
|
|
205
|
+
};
|
|
206
|
+
md: {
|
|
207
|
+
root: string;
|
|
208
|
+
overflow: string;
|
|
209
|
+
};
|
|
210
|
+
lg: {
|
|
211
|
+
root: string;
|
|
212
|
+
overflow: string;
|
|
213
|
+
};
|
|
214
|
+
xl: {
|
|
215
|
+
root: string;
|
|
216
|
+
overflow: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
}, {
|
|
220
|
+
root: string;
|
|
221
|
+
item: string;
|
|
222
|
+
/** The "+3" chip closing the stack. */
|
|
223
|
+
overflow: string;
|
|
224
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
225
|
+
size: {
|
|
226
|
+
xs: {
|
|
227
|
+
root: string;
|
|
228
|
+
overflow: string;
|
|
229
|
+
};
|
|
230
|
+
sm: {
|
|
231
|
+
root: string;
|
|
232
|
+
overflow: string;
|
|
233
|
+
};
|
|
234
|
+
md: {
|
|
235
|
+
root: string;
|
|
236
|
+
overflow: string;
|
|
237
|
+
};
|
|
238
|
+
lg: {
|
|
239
|
+
root: string;
|
|
240
|
+
overflow: string;
|
|
241
|
+
};
|
|
242
|
+
xl: {
|
|
243
|
+
root: string;
|
|
244
|
+
overflow: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
}, {
|
|
248
|
+
root: string;
|
|
249
|
+
item: string;
|
|
250
|
+
/** The "+3" chip closing the stack. */
|
|
251
|
+
overflow: string;
|
|
252
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
253
|
+
export type AvatarGroupSlots = keyof ReturnType<typeof avatarGroupTheme>;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
//#region src/theme/avatar.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "relative inline-flex shrink-0 items-center justify-center bg-muted align-middle select-none",
|
|
6
|
+
image: "size-full rounded-[inherit] object-cover",
|
|
7
|
+
fallback: "flex size-full items-center justify-center overflow-hidden rounded-[inherit] font-medium text-muted-foreground uppercase",
|
|
8
|
+
status: "absolute right-0 bottom-0 rounded-full ring-2 ring-background"
|
|
9
|
+
},
|
|
10
|
+
variants: {
|
|
11
|
+
size: {
|
|
12
|
+
xs: {
|
|
13
|
+
root: "size-6",
|
|
14
|
+
fallback: "text-[0.625rem]",
|
|
15
|
+
status: "size-1.5"
|
|
16
|
+
},
|
|
17
|
+
sm: {
|
|
18
|
+
root: "size-8",
|
|
19
|
+
fallback: "text-xs",
|
|
20
|
+
status: "size-2"
|
|
21
|
+
},
|
|
22
|
+
md: {
|
|
23
|
+
root: "size-10",
|
|
24
|
+
fallback: "text-sm",
|
|
25
|
+
status: "size-2.5"
|
|
26
|
+
},
|
|
27
|
+
lg: {
|
|
28
|
+
root: "size-12",
|
|
29
|
+
fallback: "text-base",
|
|
30
|
+
status: "size-3"
|
|
31
|
+
},
|
|
32
|
+
xl: {
|
|
33
|
+
root: "size-16",
|
|
34
|
+
fallback: "text-xl",
|
|
35
|
+
status: "size-4"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
shape: {
|
|
39
|
+
circle: { root: "rounded-full" },
|
|
40
|
+
square: { root: "rounded-xl" }
|
|
41
|
+
},
|
|
42
|
+
status: {
|
|
43
|
+
online: { status: "bg-success" },
|
|
44
|
+
busy: { status: "bg-danger" },
|
|
45
|
+
away: { status: "bg-warning" },
|
|
46
|
+
offline: { status: "bg-muted-foreground" }
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
defaultVariants: {
|
|
50
|
+
size: "md",
|
|
51
|
+
shape: "circle"
|
|
52
|
+
}
|
|
53
|
+
}), n = e({
|
|
54
|
+
slots: {
|
|
55
|
+
root: "flex flex-row-reverse items-center justify-end",
|
|
56
|
+
item: "ring-2 ring-background",
|
|
57
|
+
overflow: "flex shrink-0 items-center justify-center rounded-full bg-muted font-medium text-muted-foreground ring-2 ring-background"
|
|
58
|
+
},
|
|
59
|
+
variants: { size: {
|
|
60
|
+
xs: {
|
|
61
|
+
root: "-space-x-1.5 space-x-reverse",
|
|
62
|
+
overflow: "size-6 text-[0.625rem]"
|
|
63
|
+
},
|
|
64
|
+
sm: {
|
|
65
|
+
root: "-space-x-2 space-x-reverse",
|
|
66
|
+
overflow: "size-8 text-xs"
|
|
67
|
+
},
|
|
68
|
+
md: {
|
|
69
|
+
root: "-space-x-2.5 space-x-reverse",
|
|
70
|
+
overflow: "size-10 text-sm"
|
|
71
|
+
},
|
|
72
|
+
lg: {
|
|
73
|
+
root: "-space-x-3 space-x-reverse",
|
|
74
|
+
overflow: "size-12 text-base"
|
|
75
|
+
},
|
|
76
|
+
xl: {
|
|
77
|
+
root: "-space-x-4 space-x-reverse",
|
|
78
|
+
overflow: "size-16 text-xl"
|
|
79
|
+
}
|
|
80
|
+
} },
|
|
81
|
+
defaultVariants: { size: "md" }
|
|
82
|
+
});
|
|
83
|
+
//#endregion
|
|
84
|
+
export { n as avatarGroupTheme, t as avatarTheme };
|
package/dist/theme/banner.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
20
20
|
root: string;
|
|
21
21
|
icon: string;
|
|
22
22
|
};
|
|
23
|
-
/** Brand-coloured, for announcements rather than status. */
|
|
24
23
|
primary: {
|
|
25
24
|
root: string;
|
|
26
25
|
icon: string;
|
|
@@ -28,7 +27,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
28
27
|
};
|
|
29
28
|
position: {
|
|
30
29
|
static: {};
|
|
31
|
-
/** Sticks under the top of the scroll container. */
|
|
32
30
|
top: {
|
|
33
31
|
root: string;
|
|
34
32
|
};
|
|
@@ -52,7 +50,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
52
50
|
};
|
|
53
51
|
}, {
|
|
54
52
|
root: string;
|
|
55
|
-
/** Keeps the text off the viewport edge without constraining the fill. */
|
|
56
53
|
container: string;
|
|
57
54
|
icon: string;
|
|
58
55
|
content: string;
|
|
@@ -81,7 +78,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
81
78
|
root: string;
|
|
82
79
|
icon: string;
|
|
83
80
|
};
|
|
84
|
-
/** Brand-coloured, for announcements rather than status. */
|
|
85
81
|
primary: {
|
|
86
82
|
root: string;
|
|
87
83
|
icon: string;
|
|
@@ -89,7 +85,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
89
85
|
};
|
|
90
86
|
position: {
|
|
91
87
|
static: {};
|
|
92
|
-
/** Sticks under the top of the scroll container. */
|
|
93
88
|
top: {
|
|
94
89
|
root: string;
|
|
95
90
|
};
|
|
@@ -113,7 +108,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
113
108
|
};
|
|
114
109
|
}, {
|
|
115
110
|
root: string;
|
|
116
|
-
/** Keeps the text off the viewport edge without constraining the fill. */
|
|
117
111
|
container: string;
|
|
118
112
|
icon: string;
|
|
119
113
|
content: string;
|
|
@@ -142,7 +136,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
142
136
|
root: string;
|
|
143
137
|
icon: string;
|
|
144
138
|
};
|
|
145
|
-
/** Brand-coloured, for announcements rather than status. */
|
|
146
139
|
primary: {
|
|
147
140
|
root: string;
|
|
148
141
|
icon: string;
|
|
@@ -150,7 +143,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
150
143
|
};
|
|
151
144
|
position: {
|
|
152
145
|
static: {};
|
|
153
|
-
/** Sticks under the top of the scroll container. */
|
|
154
146
|
top: {
|
|
155
147
|
root: string;
|
|
156
148
|
};
|
|
@@ -174,7 +166,6 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
|
|
|
174
166
|
};
|
|
175
167
|
}, {
|
|
176
168
|
root: string;
|
|
177
|
-
/** Keeps the text off the viewport edge without constraining the fill. */
|
|
178
169
|
container: string;
|
|
179
170
|
icon: string;
|
|
180
171
|
content: string;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Everything recessive except the bars. Grid and axis text sit one step off
|
|
3
|
-
* the surface; the data is the only thing allowed to be loud.
|
|
4
|
-
*/
|
|
5
1
|
export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
6
2
|
[key: string]: {
|
|
7
3
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
@@ -47,20 +43,16 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
47
43
|
*/
|
|
48
44
|
plot: string;
|
|
49
45
|
svg: string;
|
|
50
|
-
/** Hairline and solid — a dashed grid competes with the marks. */
|
|
51
46
|
grid: string;
|
|
52
|
-
/** Text never wears the series colour; identity comes from the mark. */
|
|
53
47
|
tick: string;
|
|
54
48
|
category: string;
|
|
55
49
|
bar: string;
|
|
56
50
|
/** Hit target, deliberately wider than the mark it selects. */
|
|
57
51
|
hit: string;
|
|
58
|
-
/** Dims the rest of the series so the hovered bar reads as selected. */
|
|
59
52
|
faded: string;
|
|
60
53
|
tooltip: string;
|
|
61
54
|
tooltipLabel: string;
|
|
62
55
|
tooltipValue: string;
|
|
63
|
-
/** Reachable by screen readers and by nobody's eyes. */
|
|
64
56
|
table: string;
|
|
65
57
|
}, undefined, {
|
|
66
58
|
[key: string]: {
|
|
@@ -89,20 +81,16 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
89
81
|
*/
|
|
90
82
|
plot: string;
|
|
91
83
|
svg: string;
|
|
92
|
-
/** Hairline and solid — a dashed grid competes with the marks. */
|
|
93
84
|
grid: string;
|
|
94
|
-
/** Text never wears the series colour; identity comes from the mark. */
|
|
95
85
|
tick: string;
|
|
96
86
|
category: string;
|
|
97
87
|
bar: string;
|
|
98
88
|
/** Hit target, deliberately wider than the mark it selects. */
|
|
99
89
|
hit: string;
|
|
100
|
-
/** Dims the rest of the series so the hovered bar reads as selected. */
|
|
101
90
|
faded: string;
|
|
102
91
|
tooltip: string;
|
|
103
92
|
tooltipLabel: string;
|
|
104
93
|
tooltipValue: string;
|
|
105
|
-
/** Reachable by screen readers and by nobody's eyes. */
|
|
106
94
|
table: string;
|
|
107
95
|
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
108
96
|
root: string;
|
|
@@ -113,20 +101,16 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
|
|
|
113
101
|
*/
|
|
114
102
|
plot: string;
|
|
115
103
|
svg: string;
|
|
116
|
-
/** Hairline and solid — a dashed grid competes with the marks. */
|
|
117
104
|
grid: string;
|
|
118
|
-
/** Text never wears the series colour; identity comes from the mark. */
|
|
119
105
|
tick: string;
|
|
120
106
|
category: string;
|
|
121
107
|
bar: string;
|
|
122
108
|
/** Hit target, deliberately wider than the mark it selects. */
|
|
123
109
|
hit: string;
|
|
124
|
-
/** Dims the rest of the series so the hovered bar reads as selected. */
|
|
125
110
|
faded: string;
|
|
126
111
|
tooltip: string;
|
|
127
112
|
tooltipLabel: string;
|
|
128
113
|
tooltipValue: string;
|
|
129
|
-
/** Reachable by screen readers and by nobody's eyes. */
|
|
130
114
|
table: string;
|
|
131
115
|
}, undefined, unknown, unknown, undefined>>;
|
|
132
116
|
export type BarChartSlots = keyof ReturnType<typeof barChartTheme>;
|