@eintrek/erp-theme 1.0.3 → 1.0.4

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 (78) hide show
  1. package/dist/components/ui/calendar.d.ts +23 -8
  2. package/dist/components/ui/carousel.d.ts +1 -1
  3. package/dist/components/ui/command.d.ts +1 -1
  4. package/dist/components/ui/faceted.d.ts +2 -2
  5. package/dist/components/ui/pagination.d.ts +1 -1
  6. package/dist/components/ui/sidebar.d.ts +4 -4
  7. package/dist/components/ui/tabs.d.ts +1 -1
  8. package/dist/components/ui/toggle-group.d.ts +1 -1
  9. package/dist/index.css +1 -1
  10. package/dist/index.d.ts +16 -19
  11. package/dist/index.esm.css +1 -1
  12. package/dist/index.esm.js +17658 -41957
  13. package/dist/index.esm.js.map +1 -1
  14. package/dist/index.js +17681 -41971
  15. package/dist/index.js.map +1 -1
  16. package/package.json +36 -23
  17. package/scripts/enforce-pnpm.js +18 -0
  18. package/dist/components/data-table/data-table-action-bar.d.ts +0 -20
  19. package/dist/components/data-table/data-table-advanced-toolbar.d.ts +0 -7
  20. package/dist/components/data-table/data-table-column-header.d.ts +0 -8
  21. package/dist/components/data-table/data-table-date-filter.d.ts +0 -8
  22. package/dist/components/data-table/data-table-faceted-filter.d.ts +0 -10
  23. package/dist/components/data-table/data-table-filter-list.d.ts +0 -11
  24. package/dist/components/data-table/data-table-filter-menu.d.ts +0 -11
  25. package/dist/components/data-table/data-table-pagination.d.ts +0 -7
  26. package/dist/components/data-table/data-table-range-filter.d.ts +0 -11
  27. package/dist/components/data-table/data-table-skeleton.d.ts +0 -11
  28. package/dist/components/data-table/data-table-slider-filter.d.ts +0 -7
  29. package/dist/components/data-table/data-table-sort-list.d.ts +0 -8
  30. package/dist/components/data-table/data-table-toolbar.d.ts +0 -7
  31. package/dist/components/data-table/data-table-view-options.d.ts +0 -6
  32. package/dist/components/data-table/data-table.d.ts +0 -8
  33. package/dist/config/data-table.d.ts +0 -124
  34. package/dist/hooks/use-data-table.d.ts +0 -23
  35. package/dist/lib/data-table.d.ts +0 -12
  36. package/dist/lib/filter-columns.d.ts +0 -8
  37. package/dist/lib/parsers.d.ts +0 -25
  38. package/dist/registry/alert.stories.d.ts +0 -34
  39. package/dist/registry/aspect-ratio.stories.d.ts +0 -24
  40. package/dist/registry/badge.stories.d.ts +0 -42
  41. package/dist/registry/breadcrumb.stories.d.ts +0 -26
  42. package/dist/registry/button.stories.d.ts +0 -82
  43. package/dist/registry/calendar.stories.d.ts +0 -43
  44. package/dist/registry/card.stories.d.ts +0 -24
  45. package/dist/registry/carousel.stories.d.ts +0 -17
  46. package/dist/registry/chart.stories.d.ts +0 -32
  47. package/dist/registry/checkbox.stories.d.ts +0 -17
  48. package/dist/registry/command.stories.d.ts +0 -41
  49. package/dist/registry/data-table.stories.d.ts +0 -59
  50. package/dist/registry/date-picker.stories.d.ts +0 -32
  51. package/dist/registry/drawer.stories.d.ts +0 -27
  52. package/dist/registry/form.stories.d.ts +0 -14
  53. package/dist/registry/input-otp.stories.d.ts +0 -41
  54. package/dist/registry/input.stories.d.ts +0 -47
  55. package/dist/registry/label.stories.d.ts +0 -27
  56. package/dist/registry/pagination.stories.d.ts +0 -91
  57. package/dist/registry/progress.stories.d.ts +0 -31
  58. package/dist/registry/resizable.stories.d.ts +0 -12
  59. package/dist/registry/scroll-area.stories.d.ts +0 -41
  60. package/dist/registry/select.stories.d.ts +0 -13
  61. package/dist/registry/separator.stories.d.ts +0 -21
  62. package/dist/registry/sheet.stories.d.ts +0 -16
  63. package/dist/registry/sidebar.stories.d.ts +0 -336
  64. package/dist/registry/skeleton.stories.d.ts +0 -20
  65. package/dist/registry/slider.stories.d.ts +0 -30
  66. package/dist/registry/sonner.stories.d.ts +0 -14
  67. package/dist/registry/table.stories.d.ts +0 -104
  68. package/dist/registry/textarea.stories.d.ts +0 -40
  69. package/dist/registry/toggle.stories.d.ts +0 -35
  70. package/dist/registry/tokens/color.stories.d.ts +0 -23
  71. package/dist/registry/tokens/radius.stories.d.ts +0 -17
  72. package/dist/registry/tokens/typography.stories.d.ts +0 -28
  73. package/dist/registry/tooltip.stories.d.ts +0 -26
  74. package/dist/types/data-table.d.ts +0 -33
  75. package/dist/types/doc.d.ts +0 -195
  76. /package/dist/components/ui/{form.d.ts → Form.d.ts} +0 -0
  77. /package/dist/components/ui/{input.d.ts → Input.d.ts} +0 -0
  78. /package/dist/components/ui/{label.d.ts → Label.d.ts} +0 -0
@@ -1,82 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Button } from "@/components/ui/button";
3
- /**
4
- * Displays a button or a component that looks like a button.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: typeof Button;
9
- tags: string[];
10
- argTypes: {
11
- children: {
12
- control: "text";
13
- };
14
- };
15
- parameters: {
16
- layout: string;
17
- };
18
- args: {
19
- variant: "default";
20
- size: "default";
21
- children: string;
22
- };
23
- };
24
- export default meta;
25
- type Story = StoryObj<typeof meta>;
26
- /**
27
- * The default form of the button, used for primary actions and commands.
28
- */
29
- export declare const Default: Story;
30
- /**
31
- * Use the `outline` button to reduce emphasis on secondary actions, such as
32
- * canceling or dismissing a dialog.
33
- */
34
- export declare const Outline: Story;
35
- /**
36
- * Use the `ghost` button is minimalistic and subtle, for less intrusive
37
- * actions.
38
- */
39
- export declare const Ghost: Story;
40
- /**
41
- * Use the `secondary` button to call for less emphasized actions, styled to
42
- * complement the primary button while being less conspicuous.
43
- */
44
- export declare const Secondary: Story;
45
- /**
46
- * Use the `destructive` button to indicate errors, alerts, or the need for
47
- * immediate attention.
48
- */
49
- export declare const Destructive: Story;
50
- /**
51
- * Use the `link` button to reduce emphasis on tertiary actions, such as
52
- * hyperlink or navigation, providing a text-only interactive element.
53
- */
54
- export declare const Link: Story;
55
- /**
56
- * Add the `disabled` prop to a button to prevent interactions and add a
57
- * loading indicator, such as a spinner, to signify an in-progress action.
58
- */
59
- export declare const Loading: Story;
60
- /**
61
- * Add an icon element to a button to enhance visual communication and
62
- * providing additional context for the action.
63
- */
64
- export declare const WithIcon: Story;
65
- /**
66
- * Use the `sm` size for a smaller button, suitable for interfaces needing
67
- * compact elements without sacrificing usability.
68
- */
69
- export declare const Small: Story;
70
- /**
71
- * Use the `lg` size for a larger button, offering better visibility and
72
- * easier interaction for users.
73
- */
74
- export declare const Large: Story;
75
- /**
76
- * Use the "icon" size for a button with only an icon.
77
- */
78
- export declare const Icon: Story;
79
- /**
80
- * Add the `disabled` prop to prevent interactions with the button.
81
- */
82
- export declare const Disabled: Story;
@@ -1,43 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Calendar } from "@/components/ui/calendar";
3
- /**
4
- * A date field component that allows users to enter and edit date.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: typeof Calendar;
9
- tags: string[];
10
- argTypes: {};
11
- args: {
12
- mode: "single";
13
- selected: Date;
14
- onSelect: import("storybook/internal/actions").HandlerFunction;
15
- className: string;
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 calendar.
25
- */
26
- export declare const Default: Story;
27
- /**
28
- * Use the `multiple` mode to select multiple dates.
29
- */
30
- export declare const Multiple: Story;
31
- /**
32
- * Use the `range` mode to select a range of dates.
33
- */
34
- export declare const Range: Story;
35
- /**
36
- * Use the `disabled` prop to disable specific dates.
37
- */
38
- export declare const Disabled: Story;
39
- /**
40
- * Use the `numberOfMonths` prop to display multiple months.
41
- */
42
- export declare const MultipleMonths: Story;
43
- export declare const ShouldChangeMonths: Story;
@@ -1,24 +0,0 @@
1
- import type { StoryObj } from "@storybook/nextjs-vite";
2
- import { Card } from "@/components/ui/card";
3
- /**
4
- * Displays a card with header, content, and footer.
5
- */
6
- declare const meta: {
7
- title: string;
8
- component: typeof Card;
9
- tags: string[];
10
- argTypes: {};
11
- args: {
12
- className: string;
13
- };
14
- render: (args: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
15
- parameters: {
16
- layout: string;
17
- };
18
- };
19
- export default meta;
20
- type Story = StoryObj<typeof meta>;
21
- /**
22
- * The default form of the card.
23
- */
24
- export declare const Default: Story;
@@ -1,17 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/nextjs-vite";
2
- import { Carousel } from "@/components/ui/carousel";
3
- /**
4
- * A carousel with motion and swipe built using Embla.
5
- */
6
- declare const meta: Meta<typeof Carousel>;
7
- export default meta;
8
- type Story = StoryObj<typeof meta>;
9
- /**
10
- * The default form of the carousel.
11
- */
12
- export declare const Default: Story;
13
- /**
14
- * Use the `basis` utility class to change the size of the carousel.
15
- */
16
- export declare const Size: Story;
17
- export declare const ShouldNavigate: Story;
@@ -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;