@eintrek/erp-theme 1.0.0 → 1.0.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.
- package/dist/components/command-block.d.ts +3 -0
- package/dist/components/data-table/data-table-action-bar.d.ts +20 -0
- package/dist/components/data-table/data-table-advanced-toolbar.d.ts +7 -0
- package/dist/components/data-table/data-table-column-header.d.ts +8 -0
- package/dist/components/data-table/data-table-date-filter.d.ts +8 -0
- package/dist/components/data-table/data-table-faceted-filter.d.ts +10 -0
- package/dist/components/data-table/data-table-filter-list.d.ts +11 -0
- package/dist/components/data-table/data-table-filter-menu.d.ts +11 -0
- package/dist/components/data-table/data-table-pagination.d.ts +7 -0
- package/dist/components/data-table/data-table-range-filter.d.ts +11 -0
- package/dist/components/data-table/data-table-skeleton.d.ts +11 -0
- package/dist/components/data-table/data-table-slider-filter.d.ts +7 -0
- package/dist/components/data-table/data-table-sort-list.d.ts +8 -0
- package/dist/components/data-table/data-table-toolbar.d.ts +7 -0
- package/dist/components/data-table/data-table-view-options.d.ts +6 -0
- package/dist/components/data-table/data-table.d.ts +8 -0
- package/dist/components/footer.d.ts +1 -0
- package/dist/components/header.d.ts +1 -0
- package/dist/components/registry_item_row.d.ts +10 -0
- package/dist/components/ui/accordion.d.ts +7 -0
- package/dist/components/ui/alert-dialog.d.ts +14 -0
- package/dist/components/ui/alert.d.ts +9 -0
- package/dist/components/ui/aspect-ratio.d.ts +3 -0
- package/dist/components/ui/avatar.d.ts +6 -0
- package/dist/components/ui/badge.d.ts +9 -0
- package/dist/components/ui/breadcrumb.d.ts +11 -0
- package/dist/components/ui/button.d.ts +4 -8
- package/dist/components/ui/calendar.d.ts +8 -0
- package/dist/components/ui/card.d.ts +8 -7
- package/dist/components/ui/carousel.d.ts +19 -0
- package/dist/components/ui/chart.d.ts +40 -0
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/collapsible.d.ts +5 -0
- package/dist/components/ui/command.d.ts +18 -0
- package/dist/components/ui/context-menu.d.ts +25 -0
- package/dist/components/ui/dialog.d.ts +15 -0
- package/dist/components/ui/drawer.d.ts +13 -0
- package/dist/components/ui/dropdown-menu.d.ts +25 -0
- package/dist/components/ui/faceted.d.ts +33 -0
- package/dist/components/ui/form.d.ts +23 -0
- package/dist/components/ui/hover-card.d.ts +6 -0
- package/dist/components/ui/input-otp.d.ts +11 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/menubar.d.ts +26 -0
- package/dist/components/ui/navigation-menu.d.ts +14 -0
- package/dist/components/ui/pagination.d.ts +13 -0
- package/dist/components/ui/popover.d.ts +7 -0
- package/dist/components/ui/progress.d.ts +4 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/resizable.d.ts +8 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/select.d.ts +15 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/sheet.d.ts +13 -0
- package/dist/components/ui/sidebar.d.ts +69 -0
- package/dist/components/ui/skeleton.d.ts +2 -0
- package/dist/components/ui/slider.d.ts +4 -0
- package/dist/components/ui/sonner.d.ts +3 -0
- package/dist/components/ui/sortable.d.ts +53 -0
- package/dist/components/ui/switch.d.ts +4 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/tabs.d.ts +7 -0
- package/dist/components/ui/textarea.d.ts +3 -0
- package/dist/components/ui/toggle-group.d.ts +7 -0
- package/dist/components/ui/toggle.d.ts +9 -0
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/config/data-table.d.ts +124 -0
- package/dist/config/flag.d.ts +16 -0
- package/dist/config/site.d.ts +9 -0
- package/dist/hooks/use-callback-ref.d.ts +9 -0
- package/dist/hooks/use-data-table.d.ts +23 -0
- package/dist/hooks/use-debounced-callback.d.ts +4 -0
- package/dist/hooks/use-media-query.d.ts +1 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +65 -9
- package/dist/index.esm.css +1 -0
- package/dist/index.esm.js +48678 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +48048 -10383
- package/dist/index.js.map +1 -1
- package/dist/lib/composition.d.ts +23 -0
- package/dist/lib/constants.d.ts +2 -0
- package/dist/lib/data-table.d.ts +12 -0
- package/dist/lib/export.d.ts +6 -0
- package/dist/lib/filter-columns.d.ts +8 -0
- package/dist/lib/fonts.d.ts +2 -0
- package/dist/lib/format.d.ts +1 -0
- package/dist/lib/handle-error.d.ts +1 -0
- package/dist/lib/id.d.ts +7 -0
- package/dist/lib/parsers.d.ts +25 -0
- package/dist/lib/unstable-cache.d.ts +10 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/registry/alert.stories.d.ts +34 -0
- package/dist/registry/aspect-ratio.stories.d.ts +24 -0
- package/dist/registry/badge.stories.d.ts +42 -0
- package/dist/registry/breadcrumb.stories.d.ts +26 -0
- package/dist/registry/button.stories.d.ts +82 -0
- package/dist/registry/calendar.stories.d.ts +43 -0
- package/dist/registry/card.stories.d.ts +24 -0
- package/dist/registry/carousel.stories.d.ts +17 -0
- package/dist/registry/chart.stories.d.ts +32 -0
- package/dist/registry/checkbox.stories.d.ts +17 -0
- package/dist/registry/command.stories.d.ts +41 -0
- package/dist/registry/data-table.stories.d.ts +59 -0
- package/dist/registry/date-picker.stories.d.ts +32 -0
- package/dist/registry/drawer.stories.d.ts +27 -0
- package/dist/registry/form.stories.d.ts +14 -0
- package/dist/registry/input-otp.stories.d.ts +41 -0
- package/dist/registry/input.stories.d.ts +47 -0
- package/dist/registry/label.stories.d.ts +27 -0
- package/dist/registry/pagination.stories.d.ts +91 -0
- package/dist/registry/progress.stories.d.ts +31 -0
- package/dist/registry/resizable.stories.d.ts +12 -0
- package/dist/registry/scroll-area.stories.d.ts +41 -0
- package/dist/registry/select.stories.d.ts +13 -0
- package/dist/registry/separator.stories.d.ts +21 -0
- package/dist/registry/sheet.stories.d.ts +16 -0
- package/dist/registry/sidebar.stories.d.ts +336 -0
- package/dist/registry/skeleton.stories.d.ts +20 -0
- package/dist/registry/slider.stories.d.ts +30 -0
- package/dist/registry/sonner.stories.d.ts +14 -0
- package/dist/registry/table.stories.d.ts +104 -0
- package/dist/registry/textarea.stories.d.ts +40 -0
- package/dist/registry/toggle.stories.d.ts +35 -0
- package/dist/registry/tokens/color.stories.d.ts +23 -0
- package/dist/registry/tokens/radius.stories.d.ts +17 -0
- package/dist/registry/tokens/typography.stories.d.ts +28 -0
- package/dist/registry/tooltip.stories.d.ts +26 -0
- package/dist/types/data-table.d.ts +33 -0
- package/dist/types/doc.d.ts +195 -0
- package/dist/types/index.d.ts +26 -0
- package/package.json +54 -40
- package/dist/components/ui/Form.d.ts +0 -25
- package/dist/components/ui/Form.stories.d.ts +0 -8
- package/dist/components/ui/Input.d.ts +0 -17
- package/dist/components/ui/Input.stories.d.ts +0 -10
- package/dist/components/ui/InputDropdown.d.ts +0 -19
- package/dist/components/ui/InputDropdown.stories.d.ts +0 -9
- package/dist/components/ui/Label.d.ts +0 -8
- package/dist/components/ui/Label.stories.d.ts +0 -8
- package/dist/components/ui/Modal.d.ts +0 -12
- package/dist/components/ui/Modal.stories.d.ts +0 -13
- package/dist/components/ui/badge/Badge.d.ts +0 -6
- package/dist/components/ui/button/Button.d.ts +0 -7
- package/dist/components/ui/button.stories.d.ts +0 -25
- package/dist/components/ui/card.stories.d.ts +0 -8
- package/dist/components/ui/table/Table.d.ts +0 -5
- package/dist/components/ui/table/Table.stories.d.ts +0 -6
- package/dist/components/ui/table/TableBody.d.ts +0 -3
- package/dist/components/ui/table/TableBody.stories.d.ts +0 -7
- package/dist/components/ui/table/TableFilter.d.ts +0 -3
- package/dist/components/ui/table/TableFilter.stories.d.ts +0 -6
- package/dist/components/ui/table/TablePagination.d.ts +0 -10
- package/dist/components/ui/table/TablePagination.stories.d.ts +0 -6
- package/dist/components/ui/table/index.d.ts +0 -13
- package/dist/components/ui/table/types.d.ts +0 -54
- package/dist/components/ui/tabs/Tabs.d.ts +0 -11
|
@@ -0,0 +1,41 @@
|
|
|
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;
|
|
@@ -0,0 +1,47 @@
|
|
|
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;
|
|
@@ -0,0 +1,27 @@
|
|
|
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;
|
|
@@ -0,0 +1,91 @@
|
|
|
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;
|
|
@@ -0,0 +1,31 @@
|
|
|
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;
|
|
@@ -0,0 +1,12 @@
|
|
|
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;
|
|
@@ -0,0 +1,41 @@
|
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1,21 @@
|
|
|
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;
|
|
@@ -0,0 +1,16 @@
|
|
|
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;
|