@eintrek/erp-theme 1.0.3 → 1.4.3

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.
Files changed (98) hide show
  1. package/dist/components/data-table/data-table-cell.d.ts +35 -0
  2. package/dist/components/data-table/data-table-column-header.d.ts +3 -2
  3. package/dist/components/data-table/data-table-faceted-filter.d.ts +1 -1
  4. package/dist/components/data-table/data-table-filter-dropdown.d.ts +12 -0
  5. package/dist/components/data-table/data-table-filter-list.d.ts +1 -1
  6. package/dist/components/data-table/data-table-pagination.d.ts +15 -1
  7. package/dist/components/data-table/data-table-range-filter.d.ts +1 -1
  8. package/dist/components/data-table/data-table-slider-filter.d.ts +1 -2
  9. package/dist/components/data-table/data-table-sort-list.d.ts +1 -1
  10. package/dist/components/data-table/data-table-toolbar.d.ts +6 -1
  11. package/dist/components/data-table/data-table-types.d.ts +115 -0
  12. package/dist/components/data-table/data-table.d.ts +5 -2
  13. package/dist/components/data-table/hooks/use-callback-ref.d.ts +9 -0
  14. package/dist/{hooks → components/data-table/hooks}/use-data-table.d.ts +4 -3
  15. package/dist/components/data-table/hooks/use-debounced-callback.d.ts +4 -0
  16. package/dist/components/data-table/hooks/use-media-query.d.ts +1 -0
  17. package/dist/components/data-table/index.d.ts +17 -0
  18. package/dist/components/ui/calendar.d.ts +23 -8
  19. package/dist/components/ui/carousel.d.ts +1 -1
  20. package/dist/components/ui/command.d.ts +1 -1
  21. package/dist/components/ui/custom-select-field2.d.ts +18 -0
  22. package/dist/components/ui/date-picker-field.d.ts +13 -0
  23. package/dist/components/ui/date-picker.d.ts +19 -0
  24. package/dist/components/ui/faceted.d.ts +2 -2
  25. package/dist/components/ui/file-uploader.d.ts +33 -0
  26. package/dist/components/ui/form-skeleton.d.ts +11 -0
  27. package/dist/components/ui/input-field.d.ts +13 -0
  28. package/dist/components/ui/loading-screen.d.ts +1 -0
  29. package/dist/components/ui/page-header.d.ts +7 -0
  30. package/dist/components/ui/pagination.d.ts +1 -1
  31. package/dist/components/ui/select-field.d.ts +31 -0
  32. package/dist/components/ui/sidebar.d.ts +4 -4
  33. package/dist/components/ui/tabs.d.ts +1 -1
  34. package/dist/components/ui/textarea-field.d.ts +13 -0
  35. package/dist/components/ui/toggle-group.d.ts +1 -1
  36. package/dist/components/ui/validation-errors.d.ts +25 -0
  37. package/dist/hooks/use-debounce.d.ts +1 -0
  38. package/dist/index.css +1 -1
  39. package/dist/index.d.ts +32 -19
  40. package/dist/index.esm.css +1 -1
  41. package/dist/index.esm.js +30773 -44919
  42. package/dist/index.esm.js.map +1 -1
  43. package/dist/index.js +30837 -44920
  44. package/dist/index.js.map +1 -1
  45. package/dist/lib/baht-text.d.ts +1 -0
  46. package/dist/lib/date-utils.d.ts +71 -0
  47. package/dist/lib/file.d.ts +20 -0
  48. package/dist/lib/format.d.ts +35 -0
  49. package/package.json +38 -22
  50. package/scripts/enforce-pnpm.js +18 -0
  51. package/dist/components/data-table/data-table-action-bar.d.ts +0 -20
  52. package/dist/components/data-table/data-table-advanced-toolbar.d.ts +0 -7
  53. package/dist/components/data-table/data-table-filter-menu.d.ts +0 -11
  54. package/dist/lib/data-table.d.ts +0 -12
  55. package/dist/lib/filter-columns.d.ts +0 -8
  56. package/dist/lib/parsers.d.ts +0 -25
  57. package/dist/registry/alert.stories.d.ts +0 -34
  58. package/dist/registry/aspect-ratio.stories.d.ts +0 -24
  59. package/dist/registry/badge.stories.d.ts +0 -42
  60. package/dist/registry/breadcrumb.stories.d.ts +0 -26
  61. package/dist/registry/button.stories.d.ts +0 -82
  62. package/dist/registry/calendar.stories.d.ts +0 -43
  63. package/dist/registry/card.stories.d.ts +0 -24
  64. package/dist/registry/carousel.stories.d.ts +0 -17
  65. package/dist/registry/chart.stories.d.ts +0 -32
  66. package/dist/registry/checkbox.stories.d.ts +0 -17
  67. package/dist/registry/command.stories.d.ts +0 -41
  68. package/dist/registry/data-table.stories.d.ts +0 -59
  69. package/dist/registry/date-picker.stories.d.ts +0 -32
  70. package/dist/registry/drawer.stories.d.ts +0 -27
  71. package/dist/registry/form.stories.d.ts +0 -14
  72. package/dist/registry/input-otp.stories.d.ts +0 -41
  73. package/dist/registry/input.stories.d.ts +0 -47
  74. package/dist/registry/label.stories.d.ts +0 -27
  75. package/dist/registry/pagination.stories.d.ts +0 -91
  76. package/dist/registry/progress.stories.d.ts +0 -31
  77. package/dist/registry/resizable.stories.d.ts +0 -12
  78. package/dist/registry/scroll-area.stories.d.ts +0 -41
  79. package/dist/registry/select.stories.d.ts +0 -13
  80. package/dist/registry/separator.stories.d.ts +0 -21
  81. package/dist/registry/sheet.stories.d.ts +0 -16
  82. package/dist/registry/sidebar.stories.d.ts +0 -336
  83. package/dist/registry/skeleton.stories.d.ts +0 -20
  84. package/dist/registry/slider.stories.d.ts +0 -30
  85. package/dist/registry/sonner.stories.d.ts +0 -14
  86. package/dist/registry/table.stories.d.ts +0 -104
  87. package/dist/registry/textarea.stories.d.ts +0 -40
  88. package/dist/registry/toggle.stories.d.ts +0 -35
  89. package/dist/registry/tokens/color.stories.d.ts +0 -23
  90. package/dist/registry/tokens/radius.stories.d.ts +0 -17
  91. package/dist/registry/tokens/typography.stories.d.ts +0 -28
  92. package/dist/registry/tooltip.stories.d.ts +0 -26
  93. package/dist/types/data-table.d.ts +0 -33
  94. package/dist/types/doc.d.ts +0 -195
  95. /package/dist/{config/data-table.d.ts → components/data-table/data-table-config.d.ts} +0 -0
  96. /package/dist/components/ui/{form.d.ts → Form.d.ts} +0 -0
  97. /package/dist/components/ui/{input.d.ts → Input.d.ts} +0 -0
  98. /package/dist/components/ui/{label.d.ts → Label.d.ts} +0 -0
@@ -1,32 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { ChartContainer } from "@/components/ui/chart";
3
- /**
4
- * Beautiful charts. Built using Recharts. Copy and paste into your apps.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: typeof ChartContainer;
9
- tags: string[];
10
- argTypes: {};
11
- args: {
12
- children: import("react/jsx-runtime").JSX.Element;
13
- };
14
- };
15
- export default meta;
16
- type Story = StoryObj<typeof meta>;
17
- /**
18
- * Combine multiple Area components to create a stacked area chart.
19
- */
20
- export declare const StackedAreaChart: Story;
21
- /**
22
- * Combine multiple Bar components to create a stacked bar chart.
23
- */
24
- export declare const StackedBarChart: Story;
25
- /**
26
- * Combine multiple Line components to create a single line chart.
27
- */
28
- export declare const MultiLineChart: Story;
29
- /**
30
- * Combine Pie and Label components to create a doughnut chart.
31
- */
32
- export declare const DoughnutChart: Story;
@@ -1,17 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/nextjs-vite";
2
- import { Checkbox } from "@/components/ui/checkbox";
3
- /**
4
- * A control that allows the user to toggle between checked and not checked.
5
- */
6
- declare const meta: Meta<typeof Checkbox>;
7
- export default meta;
8
- type Story = StoryObj<typeof meta>;
9
- /**
10
- * The default form of the checkbox.
11
- */
12
- export declare const Default: Story;
13
- /**
14
- * Use the `disabled` prop to disable the checkbox.
15
- */
16
- export declare const Disabled: Story;
17
- export declare const ShouldToggleCheck: Story;
@@ -1,41 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Command } from "@/components/ui/command";
3
- /**
4
- * Fast, composable, unstyled command menu for React.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: typeof Command;
9
- tags: string[];
10
- argTypes: {};
11
- args: {
12
- className: string;
13
- };
14
- render: (args: {
15
- children?: React.ReactNode;
16
- } & Pick<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
17
- ref?: React.Ref<HTMLDivElement>;
18
- } & {
19
- asChild?: boolean;
20
- }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "asChild"> & {
21
- label?: string;
22
- shouldFilter?: boolean;
23
- filter?: (value: string, search: string, keywords?: string[]) => number;
24
- defaultValue?: string;
25
- value?: string;
26
- onValueChange?: (value: string) => void;
27
- loop?: boolean;
28
- disablePointerSelection?: boolean;
29
- vimBindings?: boolean;
30
- } & import("react").RefAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
31
- parameters: {
32
- layout: string;
33
- };
34
- };
35
- export default meta;
36
- type Story = StoryObj<typeof meta>;
37
- /**
38
- * The default form of the command.
39
- */
40
- export declare const Default: Story;
41
- export declare const TypingInCombobox: Story;
@@ -1,59 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import type { Supplier } from "@/types";
3
- interface DataTableStoryArgs {
4
- enableAdvancedFilter?: boolean;
5
- filterFlag?: "advancedFilters" | "filterMenu";
6
- showActionBar?: boolean;
7
- data?: Supplier[];
8
- }
9
- /**
10
- * ต้องเขียนเชื่อมกับ API ด้วยเพื่อที่จะดึงข้อมูลมาแสดงในตาราง.
11
- *
12
- * ตัวอย่างตรงนี้คือแสดงแค่หน้าตาเฉยๆ ของตาราง ไม่มีการเชื่อมกับ API จริง ต้องไปเขียนเชื่อม api ด้วยเองในฝั่งfrontend
13
- */
14
- declare const meta: {
15
- title: string;
16
- tags: string[];
17
- argTypes: {
18
- enableAdvancedFilter: {
19
- control: "boolean";
20
- description: string;
21
- };
22
- filterFlag: {
23
- control: {
24
- type: "select";
25
- };
26
- options: string[];
27
- description: string;
28
- };
29
- showActionBar: {
30
- control: "boolean";
31
- description: string;
32
- };
33
- };
34
- parameters: {
35
- layout: string;
36
- };
37
- };
38
- export default meta;
39
- type Story = StoryObj<DataTableStoryArgs>;
40
- /**
41
- * DataTable with advanced filtering, sorting, and toolbar features.
42
- */
43
- export declare const AdvancedFilter: Story;
44
- /**
45
- * DataTable with simple toolbar - basic filtering and sorting.
46
- */
47
- export declare const SimpleToolbar: Story;
48
- /**
49
- * Minimal DataTable without any toolbars - just the table with data.
50
- */
51
- export declare const Minimal: Story;
52
- /**
53
- * DataTable with filter menu instead of advanced filters.
54
- */
55
- export declare const FilterMenu: Story;
56
- /**
57
- * Empty state - DataTable with no data.
58
- */
59
- export declare const EmptyState: Story;
@@ -1,32 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Calendar } from "@/components/ui/calendar";
3
- /**
4
- * A window overlaid on either the primary window or another dialog window,
5
- * rendering the content underneath inert.
6
- */
7
- declare const meta: {
8
- title: string;
9
- component: typeof Calendar;
10
- tags: string[];
11
- argTypes: {};
12
- parameters: {
13
- layout: string;
14
- };
15
- };
16
- export default meta;
17
- type Story = StoryObj<typeof meta>;
18
- /**
19
- * Combination of the calendar and a button that opens a popover.
20
- */
21
- export declare const WithPopover: Story;
22
- export declare const ShouldOpenPopover: Story;
23
- /**
24
- * Combination of the calendar and an input field that allows typing a date.
25
- */
26
- export declare const WithInput: Story;
27
- export declare const ShouldEnterTextDate: Story;
28
- /**
29
- * Combination of the calendar and an input field that allows changing the time.
30
- */
31
- export declare const WithDateTime: Story;
32
- export declare const ShouldOpenCalendar: Story;
@@ -1,27 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Drawer } from "@/components/ui/drawer";
3
- /**
4
- * A drawer component for React.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: typeof Drawer;
9
- tags: string[];
10
- args: {
11
- onOpenChange: import("storybook/internal/test").Mock<(...args: any[]) => any>;
12
- onClose: import("storybook/internal/test").Mock<(...args: any[]) => any>;
13
- onAnimationEnd: import("storybook/internal/test").Mock<(...args: any[]) => any>;
14
- };
15
- render: (args: import("vaul").DialogProps) => import("react/jsx-runtime").JSX.Element;
16
- parameters: {
17
- layout: string;
18
- };
19
- };
20
- export default meta;
21
- type Story = StoryObj<typeof meta>;
22
- /**
23
- * The default form of the drawer.
24
- */
25
- export declare const Default: Story;
26
- export declare const ShouldOpenCloseWithSubmit: Story;
27
- export declare const ShouldOpenCloseWithCancel: Story;
@@ -1,14 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/nextjs-vite";
2
- import { Form } from "@/components/ui/form";
3
- /**
4
- * Building forms with React Hook Form and Zod.
5
- */
6
- declare const meta: Meta<typeof Form>;
7
- export default meta;
8
- type Story = StoryObj<typeof meta>;
9
- /**
10
- * The default form of the form.
11
- */
12
- export declare const Default: Story;
13
- export declare const ShouldSucceedOnSubmit: Story;
14
- export declare const ShouldWarnOnSubmit: Story;
@@ -1,41 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { InputOTP } from "@/components/ui/input-otp";
3
- /**
4
- * Accessible one-time password component with copy paste functionality.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: typeof InputOTP;
9
- tags: string[];
10
- argTypes: {};
11
- args: {
12
- maxLength: number;
13
- onChange: import("storybook/internal/test").Mock<(...args: any[]) => any>;
14
- onComplete: import("storybook/internal/test").Mock<(...args: any[]) => any>;
15
- pattern: string;
16
- children: null;
17
- "aria-label": string;
18
- };
19
- render: (args: (import("input-otp").OTPInputProps & import("react").RefAttributes<HTMLInputElement>) & {
20
- containerClassName?: string;
21
- }) => import("react/jsx-runtime").JSX.Element;
22
- parameters: {
23
- layout: string;
24
- };
25
- };
26
- export default meta;
27
- type Story = StoryObj<typeof meta>;
28
- /**
29
- * The default form of the InputOTP field.
30
- */
31
- export declare const Default: Story;
32
- /**
33
- * The number form of the InputOTP field.
34
- */
35
- export declare const OnlyNumbers: Story;
36
- /**
37
- * Use multiple groups to separate the input slots.
38
- */
39
- export declare const SeparatedGroup: Story;
40
- export declare const ShouldEnterText: Story;
41
- export declare const ShouldEnterOnlyNumbers: Story;
@@ -1,47 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Input } from "@/components/ui/input";
3
- /**
4
- * Displays a form input field or a component that looks like an input field.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: typeof Input;
9
- tags: string[];
10
- argTypes: {};
11
- args: {
12
- className: string;
13
- type: "email";
14
- placeholder: string;
15
- disabled: false;
16
- };
17
- parameters: {
18
- layout: string;
19
- };
20
- };
21
- export default meta;
22
- type Story = StoryObj<typeof meta>;
23
- /**
24
- * The default form of the input field.
25
- */
26
- export declare const Default: Story;
27
- /**
28
- * Use the `disabled` prop to make the input non-interactive and appears faded,
29
- * indicating that input is not currently accepted.
30
- */
31
- export declare const Disabled: Story;
32
- /**
33
- * Use the `Label` component to includes a clear, descriptive label above or
34
- * alongside the input area to guide users.
35
- */
36
- export declare const WithLabel: Story;
37
- /**
38
- * Use a text element below the input field to provide additional instructions
39
- * or information to users.
40
- */
41
- export declare const WithHelperText: Story;
42
- /**
43
- * Use the `Button` component to indicate that the input field can be submitted
44
- * or used to trigger an action.
45
- */
46
- export declare const WithButton: Story;
47
- export declare const ShouldEnterText: Story;
@@ -1,27 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Label } from "@/components/ui/label";
3
- /**
4
- * Renders an accessible label associated with controls.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-label").LabelProps & import("react").RefAttributes<HTMLLabelElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & import("react").RefAttributes<HTMLLabelElement>>;
9
- tags: string[];
10
- argTypes: {
11
- children: {
12
- control: {
13
- type: "text";
14
- };
15
- };
16
- };
17
- args: {
18
- children: string;
19
- htmlFor: string;
20
- };
21
- };
22
- export default meta;
23
- type Story = StoryObj<typeof Label>;
24
- /**
25
- * The default form of the label.
26
- */
27
- export declare const Default: Story;
@@ -1,91 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Pagination } from "@/components/ui/pagination";
3
- interface PaginationStoryArgs {
4
- className?: string;
5
- currentPage?: number;
6
- totalPages?: number;
7
- showEllipsis?: boolean;
8
- size?: "default" | "sm" | "lg";
9
- variant?: "default" | "outline" | "ghost";
10
- }
11
- /**
12
- * Pagination with page navigation, next and previous links.
13
- */
14
- declare const meta: {
15
- title: string;
16
- component: typeof Pagination;
17
- tags: string[];
18
- argTypes: {
19
- className: {
20
- control: "text";
21
- description: string;
22
- };
23
- currentPage: {
24
- control: {
25
- type: "number";
26
- min: number;
27
- max: number;
28
- };
29
- description: string;
30
- };
31
- totalPages: {
32
- control: {
33
- type: "number";
34
- min: number;
35
- max: number;
36
- };
37
- description: string;
38
- };
39
- showEllipsis: {
40
- control: "boolean";
41
- description: string;
42
- };
43
- size: {
44
- control: {
45
- type: "select";
46
- };
47
- options: string[];
48
- description: string;
49
- };
50
- variant: {
51
- control: {
52
- type: "select";
53
- };
54
- options: string[];
55
- description: string;
56
- };
57
- };
58
- parameters: {
59
- layout: string;
60
- };
61
- };
62
- export default meta;
63
- type Story = StoryObj<PaginationStoryArgs>;
64
- /**
65
- * The default form of the pagination.
66
- */
67
- export declare const Default: Story;
68
- /**
69
- * Pagination with ellipsis for large page counts.
70
- */
71
- export declare const WithEllipsis: Story;
72
- /**
73
- * Small pagination variant.
74
- */
75
- export declare const Small: Story;
76
- /**
77
- * Large pagination variant.
78
- */
79
- export declare const Large: Story;
80
- /**
81
- * Pagination with outline variant.
82
- */
83
- export declare const Outline: Story;
84
- /**
85
- * Pagination with ghost variant.
86
- */
87
- export declare const Ghost: Story;
88
- /**
89
- * Simple pagination with just previous/next buttons.
90
- */
91
- export declare const Simple: Story;
@@ -1,31 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Progress } from "@/components/ui/progress";
3
- /**
4
- * Displays an indicator showing the completion progress of a task, typically
5
- * displayed as a progress bar.
6
- */
7
- declare const meta: {
8
- title: string;
9
- component: typeof Progress;
10
- tags: string[];
11
- argTypes: {};
12
- args: {
13
- "aria-label": string;
14
- value: number;
15
- max: number;
16
- };
17
- };
18
- export default meta;
19
- type Story = StoryObj<typeof meta>;
20
- /**
21
- * The default form of the progress.
22
- */
23
- export declare const Default: Story;
24
- /**
25
- * When the progress is indeterminate.
26
- */
27
- export declare const Indeterminate: Story;
28
- /**
29
- * When the progress is completed.
30
- */
31
- export declare const Completed: Story;
@@ -1,12 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/nextjs-vite";
2
- import { ResizablePanelGroup } from "@/components/ui/resizable";
3
- /**
4
- * Accessible resizable panel groups and layouts with keyboard support.
5
- */
6
- declare const meta: Meta<typeof ResizablePanelGroup>;
7
- export default meta;
8
- type Story = StoryObj<typeof meta>;
9
- /**
10
- * The default form of the resizable panel group.
11
- */
12
- export declare const Default: Story;
@@ -1,41 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { ScrollArea } from "@/components/ui/scroll-area";
3
- /**
4
- * Augments native scroll functionality for custom, cross-browser styling.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: typeof ScrollArea;
9
- tags: string[];
10
- argTypes: {
11
- children: {
12
- control: "text";
13
- };
14
- };
15
- args: {
16
- className: string;
17
- type: "auto";
18
- children: string;
19
- };
20
- parameters: {
21
- layout: string;
22
- };
23
- };
24
- export default meta;
25
- type Story = StoryObj<typeof meta>;
26
- /**
27
- * The default form of the scroll area.
28
- */
29
- export declare const Default: Story;
30
- /**
31
- * Use the `type` prop with `always` to always show the scroll area.
32
- */
33
- export declare const Always: Story;
34
- /**
35
- * Use the `type` prop with `hover` to show the scroll area on hover.
36
- */
37
- export declare const Hover: Story;
38
- /**
39
- * Use the `type` prop with `scroll` to show the scroll area when scrolling.
40
- */
41
- export declare const Scroll: Story;
@@ -1,13 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/nextjs-vite";
2
- import { Select } from "@/components/ui/select";
3
- /**
4
- * Displays a list of options for the user to pick from—triggered by a button.
5
- */
6
- declare const meta: Meta<typeof Select>;
7
- export default meta;
8
- type Story = StoryObj<typeof meta>;
9
- /**
10
- * The default form of the select.
11
- */
12
- export declare const Default: Story;
13
- export declare const ShouldSelectOption: Story;
@@ -1,21 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Separator } from "@/components/ui/separator";
3
- /**
4
- * Visually or semantically separates content.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: typeof Separator;
9
- tags: string[];
10
- argTypes: {};
11
- };
12
- export default meta;
13
- type Story = StoryObj<typeof meta>;
14
- /**
15
- * A separator between horizontal items.
16
- */
17
- export declare const Horizontal: Story;
18
- /**
19
- * A separator between vertical items.
20
- */
21
- export declare const Vertical: Story;
@@ -1,16 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/nextjs-vite";
2
- import { SheetContent } from "@/components/ui/sheet";
3
- /**
4
- * Extends the Dialog component to display content that complements the main
5
- * content of the screen.
6
- */
7
- declare const meta: Meta<typeof SheetContent>;
8
- export default meta;
9
- type Story = StoryObj<typeof meta>;
10
- /**
11
- * The default form of the sheet.
12
- */
13
- export declare const Default: Story;
14
- export declare const ShouldOpenCloseWithSubmit: Story;
15
- export declare const ShouldOpenCloseWithCancel: Story;
16
- export declare const ShouldOpenCloseWithClose: Story;