iryx-ui 0.12.0 → 0.14.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 -1315
- 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 +7 -7
- 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/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.d.ts +1 -1
- package/dist/components/Button.vue.d.ts +2 -2
- package/dist/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/components/Card.vue.d.ts +1 -1
- 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 +40 -13
- package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +172 -103
- 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.d.ts +1 -1
- package/dist/components/DateRangePicker.vue.d.ts +2 -2
- package/dist/components/Dialog.vue.d.ts +1 -1
- package/dist/components/Drawer.vue.d.ts +2 -2
- package/dist/components/EmptyState.vue.d.ts +1 -1
- package/dist/components/FileUpload.vue.d.ts +2 -2
- package/dist/components/Icon.vue.d.ts +6 -0
- package/dist/components/Icon.vue_vue_type_script_setup_true_lang.js +11 -9
- package/dist/components/Input.vue.d.ts +1 -1
- package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +4 -4
- 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 +2 -2
- 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.d.ts +1 -1
- 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 +84 -44
- 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/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 +2 -2
- 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/Switch.vue.d.ts +1 -0
- package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js +7 -3
- package/dist/components/Table.vue.d.ts +7 -1
- package/dist/components/Table.vue_vue_type_script_setup_true_lang.js +73 -58
- 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/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 +146 -86
- 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 -12
- 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 +37 -0
- package/dist/index.js +155 -93
- 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/combobox.d.ts +48 -0
- package/dist/theme/combobox.js +23 -3
- 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/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 +25 -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 +2 -2
- package/theme.css +221 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
export { componentNames } from './component-names';
|
|
2
2
|
export type { ComponentName } from './component-names';
|
|
3
3
|
export * from './components';
|
|
4
|
+
export type { AccordionItemData, AccordionProps } from './components/Accordion.vue';
|
|
4
5
|
export type { AlertProps } from './components/Alert.vue';
|
|
5
6
|
export type { AppProps } from './components/App.vue';
|
|
7
|
+
export type { AppShellProps } from './components/AppShell.vue';
|
|
8
|
+
export type { AspectRatioProps } from './components/AspectRatio.vue';
|
|
9
|
+
export type { AvatarProps } from './components/Avatar.vue';
|
|
10
|
+
export type { AvatarGroupItem, AvatarGroupProps } from './components/AvatarGroup.vue';
|
|
6
11
|
export type { BadgeProps } from './components/Badge.vue';
|
|
7
12
|
export type { BannerProps } from './components/Banner.vue';
|
|
8
13
|
export type { BarChartDatum, BarChartProps } from './components/BarChart.vue';
|
|
@@ -12,8 +17,13 @@ export type { ButtonGroupProps } from './components/ButtonGroup.vue';
|
|
|
12
17
|
export type { CardProps } from './components/Card.vue';
|
|
13
18
|
export type { ChartLegendProps } from './components/ChartLegend.vue';
|
|
14
19
|
export type { CheckboxProps } from './components/Checkbox.vue';
|
|
20
|
+
export type { CollapsibleProps } from './components/Collapsible.vue';
|
|
21
|
+
export type { ColorPickerProps } from './components/ColorPicker.vue';
|
|
15
22
|
export type { ComboboxItemGroup, ComboboxItemOption, ComboboxItems, ComboboxProps } from './components/Combobox.vue';
|
|
23
|
+
export type { CommandPaletteProps } from './components/CommandPalette.vue';
|
|
16
24
|
export type { ConfirmDialogProps } from './components/ConfirmDialog.vue';
|
|
25
|
+
export type { ContainerProps } from './components/Container.vue';
|
|
26
|
+
export type { ContextMenuProps } from './components/ContextMenu.vue';
|
|
17
27
|
export type { DatePickerProps } from './components/DatePicker.vue';
|
|
18
28
|
export type { DateRange, DateRangePickerProps } from './components/DateRangePicker.vue';
|
|
19
29
|
export type { DialogProps } from './components/Dialog.vue';
|
|
@@ -23,29 +33,50 @@ export type { EmptyStateProps } from './components/EmptyState.vue';
|
|
|
23
33
|
export type { FileRejection, FileUploadProps } from './components/FileUpload.vue';
|
|
24
34
|
export type { FormProps } from './components/Form.vue';
|
|
25
35
|
export type { FormFieldProps } from './components/FormField.vue';
|
|
36
|
+
export type { IconProps } from './components/Icon.vue';
|
|
26
37
|
export type { InputProps } from './components/Input.vue';
|
|
38
|
+
export type { KbdProps } from './components/Kbd.vue';
|
|
27
39
|
export type { LabelProps } from './components/Label.vue';
|
|
28
40
|
export type { LineChartDatum, LineChartProps } from './components/LineChart.vue';
|
|
41
|
+
export type { MenubarMenuOption, MenubarProps } from './components/Menubar.vue';
|
|
42
|
+
export type { NavigationMenuProps } from './components/NavigationMenu.vue';
|
|
29
43
|
export type { NumberInputProps } from './components/NumberInput.vue';
|
|
44
|
+
export type { PageHeaderProps } from './components/PageHeader.vue';
|
|
30
45
|
export type { PaginationProps } from './components/Pagination.vue';
|
|
31
46
|
export type { PasswordInputProps } from './components/PasswordInput.vue';
|
|
47
|
+
export type { PinInputProps } from './components/PinInput.vue';
|
|
48
|
+
export type { PopoverProps } from './components/Popover.vue';
|
|
32
49
|
export type { ProgressProps } from './components/Progress.vue';
|
|
33
50
|
export type { RadioGroupItemOption, RadioGroupProps } from './components/RadioGroup.vue';
|
|
51
|
+
export type { ScrollAreaProps } from './components/ScrollArea.vue';
|
|
52
|
+
export type { ScrollFadeProps } from './components/ScrollFade.vue';
|
|
34
53
|
export type { SelectItemGroup, SelectItemOption, SelectItems, SelectProps } from './components/Select.vue';
|
|
35
54
|
export type { SeparatorProps } from './components/Separator.vue';
|
|
55
|
+
export type { SidebarProps } from './components/Sidebar.vue';
|
|
56
|
+
export type { SignaturePadProps } from './components/SignaturePad.vue';
|
|
36
57
|
export type { SkeletonProps } from './components/Skeleton.vue';
|
|
58
|
+
export type { SliderProps } from './components/Slider.vue';
|
|
37
59
|
export type { SparklineProps } from './components/Sparkline.vue';
|
|
60
|
+
export type { SplitterPanelOption, SplitterProps } from './components/Splitter.vue';
|
|
38
61
|
export type { StatProps } from './components/Stat.vue';
|
|
39
62
|
export type { StepperItemOption, StepperProps } from './components/Stepper.vue';
|
|
40
63
|
export type { SwitchProps } from './components/Switch.vue';
|
|
41
64
|
export type { TableProps } from './components/Table.vue';
|
|
42
65
|
export type { TabsItem, TabsProps } from './components/Tabs.vue';
|
|
66
|
+
export type { TagsInputProps } from './components/TagsInput.vue';
|
|
43
67
|
export type { TextareaProps } from './components/Textarea.vue';
|
|
68
|
+
export type { TimeFieldProps } from './components/TimeField.vue';
|
|
69
|
+
export type { TimelineItem, TimelineProps, TimelineVariant } from './components/Timeline.vue';
|
|
44
70
|
export type { ToasterProps } from './components/Toaster.vue';
|
|
71
|
+
export type { ToggleProps } from './components/Toggle.vue';
|
|
72
|
+
export type { ToggleGroupItemOption, ToggleGroupProps } from './components/ToggleGroup.vue';
|
|
73
|
+
export type { ToolbarButtonOption, ToolbarEntry, ToolbarProps } from './components/Toolbar.vue';
|
|
45
74
|
export type { TooltipProps } from './components/Tooltip.vue';
|
|
75
|
+
export type { TreeItemOption, TreeProps } from './components/Tree.vue';
|
|
46
76
|
export * from './composables/appearance';
|
|
47
77
|
export * from './composables/button-group';
|
|
48
78
|
export * from './composables/cartesian';
|
|
79
|
+
export * from './composables/command-palette';
|
|
49
80
|
export * from './composables/confirm';
|
|
50
81
|
export * from './composables/data-table';
|
|
51
82
|
export * from './composables/date';
|
|
@@ -53,7 +84,13 @@ export * from './composables/decimal';
|
|
|
53
84
|
export * from './composables/dropdown-menu';
|
|
54
85
|
export * from './composables/element-size';
|
|
55
86
|
export * from './composables/form';
|
|
87
|
+
export * from './composables/icon';
|
|
88
|
+
export * from './composables/kbd';
|
|
89
|
+
export * from './composables/navigation-menu';
|
|
56
90
|
export * from './composables/scale';
|
|
91
|
+
export * from './composables/scroll-fade';
|
|
92
|
+
export * from './composables/sidebar';
|
|
93
|
+
export * from './composables/signature';
|
|
57
94
|
export * from './composables/toast';
|
|
58
95
|
export { defaultConfig, iryxUiConfigKey, useIryxUiConfig } from './config';
|
|
59
96
|
export type { IryxUiConfig } from './config';
|
package/dist/index.js
CHANGED
|
@@ -1,95 +1,157 @@
|
|
|
1
1
|
import { componentNames as e } from "./component-names.js";
|
|
2
2
|
import { defaultConfig as t, iryxUiConfigKey as n, useIryxUiConfig as r } from "./config.js";
|
|
3
|
-
import {
|
|
4
|
-
import a from "./
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import h from "./components/
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import U from "./
|
|
26
|
-
import {
|
|
27
|
-
import G from "./components/
|
|
28
|
-
import
|
|
29
|
-
import q from "./
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import
|
|
34
|
-
import {
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import {
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import {
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import {
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import {
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import Ne from "./
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import {
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import {
|
|
62
|
-
import
|
|
63
|
-
import {
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import {
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import {
|
|
76
|
-
import
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import {
|
|
80
|
-
import
|
|
81
|
-
import {
|
|
82
|
-
import
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import
|
|
86
|
-
import {
|
|
87
|
-
import
|
|
88
|
-
import
|
|
89
|
-
import {
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
|
|
3
|
+
import { accordionTheme as i } from "./theme/accordion.js";
|
|
4
|
+
import { isIconArray as a } from "./composables/icon.js";
|
|
5
|
+
import o from "./components/Icon.js";
|
|
6
|
+
import s from "./components/Accordion.js";
|
|
7
|
+
import { alertTheme as c } from "./theme/alert.js";
|
|
8
|
+
import l from "./components/Alert.js";
|
|
9
|
+
import { initAppearance as u, useAppearance as d } from "./composables/appearance.js";
|
|
10
|
+
import { applyTheme as f, clearTheme as p, themes as m } from "./theme/presets.js";
|
|
11
|
+
import h from "./components/App.js";
|
|
12
|
+
import { useElementSize as g } from "./composables/element-size.js";
|
|
13
|
+
import { appShellTheme as _ } from "./theme/app-shell.js";
|
|
14
|
+
import v from "./components/AppShell.js";
|
|
15
|
+
import y from "./components/AspectRatio.js";
|
|
16
|
+
import { avatarGroupTheme as b, avatarTheme as x } from "./theme/avatar.js";
|
|
17
|
+
import S from "./components/Avatar.js";
|
|
18
|
+
import C from "./components/AvatarGroup.js";
|
|
19
|
+
import { badgeTheme as w } from "./theme/badge.js";
|
|
20
|
+
import T from "./components/Badge.js";
|
|
21
|
+
import { bannerTheme as E } from "./theme/banner.js";
|
|
22
|
+
import D from "./components/Banner.js";
|
|
23
|
+
import { extent as O, finiteValues as k, linearScale as A, niceTicks as j } from "./composables/scale.js";
|
|
24
|
+
import { AXIS_GAP as M, CATEGORY_HEIGHT as N, CHAR_WIDTH as P, SERIES_SLOTS as F, TOP_PAD as I, cartesianLayout as L, clampTooltip as R, seriesColor as z, slotOf as B, tooltipHalfWidth as V, warnOnSlotOverflow as H } from "./composables/cartesian.js";
|
|
25
|
+
import { barChartTheme as U } from "./theme/bar-chart.js";
|
|
26
|
+
import { chartLegendTheme as W } from "./theme/chart-legend.js";
|
|
27
|
+
import G from "./components/ChartLegend.js";
|
|
28
|
+
import K from "./components/BarChart.js";
|
|
29
|
+
import { breadcrumbTheme as q } from "./theme/breadcrumb.js";
|
|
30
|
+
import J from "./components/Breadcrumb.js";
|
|
31
|
+
import { buttonGroupContextKey as Y, useButtonGroup as X } from "./composables/button-group.js";
|
|
32
|
+
import { buttonTheme as Z } from "./theme/button.js";
|
|
33
|
+
import Q from "./components/Button.js";
|
|
34
|
+
import { buttonGroupTheme as $ } from "./theme/button-group.js";
|
|
35
|
+
import ee from "./components/ButtonGroup.js";
|
|
36
|
+
import { cardTheme as te } from "./theme/card.js";
|
|
37
|
+
import ne from "./components/Card.js";
|
|
38
|
+
import { checkboxTheme as re } from "./theme/checkbox.js";
|
|
39
|
+
import ie from "./components/Checkbox.js";
|
|
40
|
+
import { collapsibleTheme as ae } from "./theme/collapsible.js";
|
|
41
|
+
import oe from "./components/Collapsible.js";
|
|
42
|
+
import { fieldBase as se, inputTheme as ce, textareaTheme as le } from "./theme/input.js";
|
|
43
|
+
import { colorPickerTheme as ue } from "./theme/color-picker.js";
|
|
44
|
+
import de from "./components/ColorPicker.js";
|
|
45
|
+
import { formContextKey as fe, formFieldContextKey as pe, getByPath as me, isStandardSchema as he, issuePath as ge, useForm as _e, useFormField as ve } from "./composables/form.js";
|
|
46
|
+
import { comboboxTheme as ye } from "./theme/combobox.js";
|
|
47
|
+
import be from "./components/Combobox.js";
|
|
48
|
+
import { isApplePlatform as xe, parseHotkey as Se, useApplePlatform as Ce } from "./composables/kbd.js";
|
|
49
|
+
import { commandHaystack as we, isCommandGroup as Te, matchesHotkey as Ee, toCommandGroups as De } from "./composables/command-palette.js";
|
|
50
|
+
import { commandPaletteTheme as Oe } from "./theme/command-palette.js";
|
|
51
|
+
import { kbdTheme as ke } from "./theme/kbd.js";
|
|
52
|
+
import Ae from "./components/Kbd.js";
|
|
53
|
+
import je from "./components/CommandPalette.js";
|
|
54
|
+
import { resolveConfirm as Me, useConfirm as Ne, useConfirmState as Pe } from "./composables/confirm.js";
|
|
55
|
+
import { dialogTheme as Fe } from "./theme/dialog.js";
|
|
56
|
+
import Ie from "./components/Dialog.js";
|
|
57
|
+
import Le from "./components/ConfirmDialog.js";
|
|
58
|
+
import { containerTheme as Re } from "./theme/container.js";
|
|
59
|
+
import ze from "./components/Container.js";
|
|
60
|
+
import { dropdownMenuTheme as Be } from "./theme/dropdown-menu.js";
|
|
61
|
+
import { isSeparator as Ve, isSubmenu as He } from "./composables/dropdown-menu.js";
|
|
62
|
+
import Ue from "./components/ContextMenu.js";
|
|
63
|
+
import { CalendarDate as We, Time as Ge, formatIsoDate as Ke, isoToday as qe, toCalendarDate as Je, toIsoDate as Ye, toIsoTime as Xe, toTime as Ze } from "./composables/date.js";
|
|
64
|
+
import { datePickerTheme as Qe } from "./theme/date-picker.js";
|
|
65
|
+
import $e from "./components/DatePicker.js";
|
|
66
|
+
import et from "./components/DateRangePicker.js";
|
|
67
|
+
import { drawerTheme as tt } from "./theme/drawer.js";
|
|
68
|
+
import nt from "./components/Drawer.js";
|
|
69
|
+
import rt from "./components/DropdownMenu.js";
|
|
70
|
+
import { emptyStateTheme as it } from "./theme/empty-state.js";
|
|
71
|
+
import at from "./components/EmptyState.js";
|
|
72
|
+
import { fileUploadTheme as ot } from "./theme/file-upload.js";
|
|
73
|
+
import st from "./components/FileUpload.js";
|
|
74
|
+
import ct from "./components/Form.js";
|
|
75
|
+
import { labelTheme as lt } from "./theme/label.js";
|
|
76
|
+
import ut from "./components/Label.js";
|
|
77
|
+
import dt from "./components/FormField.js";
|
|
78
|
+
import ft from "./components/Input.js";
|
|
79
|
+
import { lineChartTheme as pt } from "./theme/line-chart.js";
|
|
80
|
+
import mt from "./components/LineChart.js";
|
|
81
|
+
import { menubarTheme as ht } from "./theme/menubar.js";
|
|
82
|
+
import gt from "./components/Menubar.js";
|
|
83
|
+
import { isNavigationGroup as _t } from "./composables/navigation-menu.js";
|
|
84
|
+
import { navigationMenuTheme as vt } from "./theme/navigation-menu.js";
|
|
85
|
+
import yt from "./components/NavigationMenu.js";
|
|
86
|
+
import { addDecimals as bt, clampDecimal as xt, compareDecimals as St, formatDecimal as Ct, formatForLocale as wt, isDecimal as Tt, localeSeparators as Et, parseDecimal as Dt, parseFromLocale as Ot, roundDecimal as kt, toEditable as At } from "./composables/decimal.js";
|
|
87
|
+
import { numberInputTheme as jt } from "./theme/number-input.js";
|
|
88
|
+
import Mt from "./components/NumberInput.js";
|
|
89
|
+
import { pageHeaderTheme as Nt } from "./theme/page-header.js";
|
|
90
|
+
import Pt from "./components/PageHeader.js";
|
|
91
|
+
import { paginationTheme as Ft } from "./theme/pagination.js";
|
|
92
|
+
import It from "./components/Pagination.js";
|
|
93
|
+
import { passwordInputTheme as Lt } from "./theme/password-input.js";
|
|
94
|
+
import Rt from "./components/PasswordInput.js";
|
|
95
|
+
import { pinInputTheme as zt } from "./theme/pin-input.js";
|
|
96
|
+
import Bt from "./components/PinInput.js";
|
|
97
|
+
import { popoverTheme as Vt } from "./theme/popover.js";
|
|
98
|
+
import Ht from "./components/Popover.js";
|
|
99
|
+
import { progressTheme as Ut } from "./theme/progress.js";
|
|
100
|
+
import Wt from "./components/Progress.js";
|
|
101
|
+
import { radioGroupTheme as Gt } from "./theme/radio-group.js";
|
|
102
|
+
import Kt from "./components/RadioGroup.js";
|
|
103
|
+
import { scrollAreaTheme as qt } from "./theme/scroll-area.js";
|
|
104
|
+
import Jt from "./components/ScrollArea.js";
|
|
105
|
+
import { scrollFadeMask as Yt, useScrollEdges as Xt } from "./composables/scroll-fade.js";
|
|
106
|
+
import { scrollFadeTheme as Zt } from "./theme/scroll-fade.js";
|
|
107
|
+
import Qt from "./components/ScrollFade.js";
|
|
108
|
+
import { selectTheme as $t } from "./theme/select.js";
|
|
109
|
+
import en from "./components/Select.js";
|
|
110
|
+
import { separatorTheme as tn } from "./theme/separator.js";
|
|
111
|
+
import nn from "./components/Separator.js";
|
|
112
|
+
import { isSidebarGroup as rn, isSidebarSection as an, toSidebarSections as on } from "./composables/sidebar.js";
|
|
113
|
+
import { sidebarTheme as sn } from "./theme/sidebar.js";
|
|
114
|
+
import cn from "./components/Sidebar.js";
|
|
115
|
+
import { hasInk as ln, strokeWidth as un } from "./composables/signature.js";
|
|
116
|
+
import { signaturePadTheme as dn } from "./theme/signature-pad.js";
|
|
117
|
+
import fn from "./components/SignaturePad.js";
|
|
118
|
+
import { skeletonTheme as pn } from "./theme/skeleton.js";
|
|
119
|
+
import mn from "./components/Skeleton.js";
|
|
120
|
+
import { sliderTheme as hn } from "./theme/slider.js";
|
|
121
|
+
import gn from "./components/Slider.js";
|
|
122
|
+
import { sparklineTheme as _n } from "./theme/sparkline.js";
|
|
123
|
+
import vn from "./components/Sparkline.js";
|
|
124
|
+
import { splitterTheme as yn } from "./theme/splitter.js";
|
|
125
|
+
import bn from "./components/Splitter.js";
|
|
126
|
+
import { statTheme as xn } from "./theme/stat.js";
|
|
127
|
+
import Sn from "./components/Stat.js";
|
|
128
|
+
import { stepperTheme as Cn } from "./theme/stepper.js";
|
|
129
|
+
import wn from "./components/Stepper.js";
|
|
130
|
+
import { switchTheme as Tn } from "./theme/switch.js";
|
|
131
|
+
import En from "./components/Switch.js";
|
|
132
|
+
import { getRowValue as Dn, useDataTable as On } from "./composables/data-table.js";
|
|
133
|
+
import { tableTheme as kn } from "./theme/table.js";
|
|
134
|
+
import An from "./components/Table.js";
|
|
135
|
+
import { tabsTheme as jn } from "./theme/tabs.js";
|
|
136
|
+
import Mn from "./components/Tabs.js";
|
|
137
|
+
import { tagsInputTheme as Nn } from "./theme/tags-input.js";
|
|
138
|
+
import Pn from "./components/TagsInput.js";
|
|
139
|
+
import Fn from "./components/Textarea.js";
|
|
140
|
+
import { timeFieldTheme as In } from "./theme/time-field.js";
|
|
141
|
+
import Ln from "./components/TimeField.js";
|
|
142
|
+
import { timelineTheme as Rn } from "./theme/timeline.js";
|
|
143
|
+
import zn from "./components/Timeline.js";
|
|
144
|
+
import { useToast as Bn, useToastState as Vn } from "./composables/toast.js";
|
|
145
|
+
import { toastTheme as Hn } from "./theme/toast.js";
|
|
146
|
+
import Un from "./components/Toaster.js";
|
|
147
|
+
import { toggleGroupTheme as Wn, toggleTheme as Gn } from "./theme/toggle.js";
|
|
148
|
+
import Kn from "./components/Toggle.js";
|
|
149
|
+
import qn from "./components/ToggleGroup.js";
|
|
150
|
+
import { toolbarTheme as Jn } from "./theme/toolbar.js";
|
|
151
|
+
import Yn from "./components/Toolbar.js";
|
|
152
|
+
import { tooltipTheme as Xn } from "./theme/tooltip.js";
|
|
153
|
+
import Zn from "./components/Tooltip.js";
|
|
154
|
+
import { treeTheme as Qn } from "./theme/tree.js";
|
|
155
|
+
import $n from "./components/Tree.js";
|
|
156
|
+
import { IryxUi as er, createIryxUi as tr } from "./plugin.js";
|
|
157
|
+
export { M as AXIS_GAP, s as Accordion, l as Alert, h as App, v as AppShell, y as AspectRatio, S as Avatar, C as AvatarGroup, T as Badge, D as Banner, K as BarChart, J as Breadcrumb, Q as Button, ee as ButtonGroup, N as CATEGORY_HEIGHT, P as CHAR_WIDTH, We as CalendarDate, ne as Card, G as ChartLegend, ie as Checkbox, oe as Collapsible, de as ColorPicker, be as Combobox, je as CommandPalette, Le as ConfirmDialog, ze as Container, Ue as ContextMenu, $e as DatePicker, et as DateRangePicker, Ie as Dialog, nt as Drawer, rt as DropdownMenu, at as EmptyState, st as FileUpload, ct as Form, dt as FormField, o as Icon, ft as Input, er as IryxUi, Ae as Kbd, ut as Label, mt as LineChart, gt as Menubar, yt as NavigationMenu, Mt as NumberInput, Pt as PageHeader, It as Pagination, Rt as PasswordInput, Bt as PinInput, Ht as Popover, Wt as Progress, Kt as RadioGroup, F as SERIES_SLOTS, Jt as ScrollArea, Qt as ScrollFade, en as Select, nn as Separator, cn as Sidebar, fn as SignaturePad, mn as Skeleton, gn as Slider, vn as Sparkline, bn as Splitter, Sn as Stat, wn as Stepper, En as Switch, I as TOP_PAD, An as Table, Mn as Tabs, Pn as TagsInput, Fn as Textarea, Ge as Time, Ln as TimeField, zn as Timeline, Un as Toaster, Kn as Toggle, qn as ToggleGroup, Yn as Toolbar, Zn as Tooltip, $n as Tree, i as accordionTheme, bt as addDecimals, c as alertTheme, _ as appShellTheme, f as applyTheme, b as avatarGroupTheme, x as avatarTheme, w as badgeTheme, E as bannerTheme, U as barChartTheme, q as breadcrumbTheme, Y as buttonGroupContextKey, $ as buttonGroupTheme, Z as buttonTheme, te as cardTheme, L as cartesianLayout, W as chartLegendTheme, re as checkboxTheme, xt as clampDecimal, R as clampTooltip, p as clearTheme, ae as collapsibleTheme, ue as colorPickerTheme, ye as comboboxTheme, we as commandHaystack, Oe as commandPaletteTheme, St as compareDecimals, e as componentNames, Re as containerTheme, tr as createIryxUi, Qe as datePickerTheme, t as defaultConfig, Fe as dialogTheme, tt as drawerTheme, Be as dropdownMenuTheme, it as emptyStateTheme, O as extent, se as fieldBase, ot as fileUploadTheme, k as finiteValues, fe as formContextKey, pe as formFieldContextKey, Ct as formatDecimal, wt as formatForLocale, Ke as formatIsoDate, me as getByPath, Dn as getRowValue, ln as hasInk, u as initAppearance, ce as inputTheme, n as iryxUiConfigKey, xe as isApplePlatform, Te as isCommandGroup, Tt as isDecimal, a as isIconArray, _t as isNavigationGroup, Ve as isSeparator, rn as isSidebarGroup, an as isSidebarSection, he as isStandardSchema, He as isSubmenu, qe as isoToday, ge as issuePath, ke as kbdTheme, lt as labelTheme, pt as lineChartTheme, A as linearScale, Et as localeSeparators, Ee as matchesHotkey, ht as menubarTheme, vt as navigationMenuTheme, j as niceTicks, jt as numberInputTheme, Nt as pageHeaderTheme, Ft as paginationTheme, Dt as parseDecimal, Ot as parseFromLocale, Se as parseHotkey, Lt as passwordInputTheme, zt as pinInputTheme, Vt as popoverTheme, Ut as progressTheme, Gt as radioGroupTheme, Me as resolveConfirm, kt as roundDecimal, qt as scrollAreaTheme, Yt as scrollFadeMask, Zt as scrollFadeTheme, $t as selectTheme, tn as separatorTheme, z as seriesColor, sn as sidebarTheme, dn as signaturePadTheme, pn as skeletonTheme, hn as sliderTheme, B as slotOf, _n as sparklineTheme, yn as splitterTheme, xn as statTheme, Cn as stepperTheme, un as strokeWidth, Tn as switchTheme, kn as tableTheme, jn as tabsTheme, Nn as tagsInputTheme, le as textareaTheme, m as themes, In as timeFieldTheme, Rn as timelineTheme, Je as toCalendarDate, De as toCommandGroups, At as toEditable, Ye as toIsoDate, Xe as toIsoTime, on as toSidebarSections, Ze as toTime, Hn as toastTheme, Wn as toggleGroupTheme, Gn as toggleTheme, Jn as toolbarTheme, V as tooltipHalfWidth, Xn as tooltipTheme, Qn as treeTheme, d as useAppearance, Ce as useApplePlatform, X as useButtonGroup, Ne as useConfirm, Pe as useConfirmState, On as useDataTable, g as useElementSize, _e as useForm, ve as useFormField, r as useIryxUiConfig, Xt as useScrollEdges, Bn as useToast, Vn as useToastState, H as warnOnSlotOverflow };
|
|
@@ -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 };
|