@kubetail/ui 2.7.0 → 2.7.1

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 (86) hide show
  1. package/dist/{src/elements → elements}/alert.d.ts +2 -2
  2. package/dist/{src/elements → elements}/button.d.ts +2 -2
  3. package/dist/{src/elements → elements}/form.d.ts +4 -4
  4. package/dist/{src/elements → elements}/link.d.ts +2 -2
  5. package/dist/{src/elements → elements}/pagination.d.ts +1 -1
  6. package/dist/{src/elements → elements}/popover.d.ts +1 -1
  7. package/dist/{src/elements → elements}/search-box.d.ts +2 -2
  8. package/dist/{src/elements → elements}/sidebar.d.ts +6 -6
  9. package/dist/{src/elements → elements}/toggle.d.ts +2 -2
  10. package/dist/{src/lib → lib}/utils.d.ts +1 -1
  11. package/package.json +8 -4
  12. package/dist/src/elements/alert.stories.d.ts +0 -19
  13. package/dist/src/elements/alert.test.d.ts +0 -1
  14. package/dist/src/elements/avatar.stories.d.ts +0 -15
  15. package/dist/src/elements/avatar.test.d.ts +0 -0
  16. package/dist/src/elements/button.stories.d.ts +0 -30
  17. package/dist/src/elements/button.test.d.ts +0 -1
  18. package/dist/src/elements/calendar.stories.d.ts +0 -14
  19. package/dist/src/elements/calendar.test.d.ts +0 -0
  20. package/dist/src/elements/card.stories.d.ts +0 -15
  21. package/dist/src/elements/card.test.d.ts +0 -1
  22. package/dist/src/elements/checkbox.stories.d.ts +0 -15
  23. package/dist/src/elements/checkbox.test.d.ts +0 -0
  24. package/dist/src/elements/context-menu.stories.d.ts +0 -17
  25. package/dist/src/elements/context-menu.test.d.ts +0 -0
  26. package/dist/src/elements/dialog.stories.d.ts +0 -17
  27. package/dist/src/elements/dialog.test.d.ts +0 -1
  28. package/dist/src/elements/dropdown-menu.stories.d.ts +0 -16
  29. package/dist/src/elements/dropdown-menu.test.d.ts +0 -0
  30. package/dist/src/elements/form.stories.d.ts +0 -16
  31. package/dist/src/elements/form.test.d.ts +0 -0
  32. package/dist/src/elements/input.stories.d.ts +0 -35
  33. package/dist/src/elements/input.test.d.ts +0 -0
  34. package/dist/src/elements/label.stories.d.ts +0 -17
  35. package/dist/src/elements/label.test.d.ts +0 -1
  36. package/dist/src/elements/link.stories.d.ts +0 -25
  37. package/dist/src/elements/link.test.d.ts +0 -1
  38. package/dist/src/elements/pagination.stories.d.ts +0 -15
  39. package/dist/src/elements/pagination.test.d.ts +0 -0
  40. package/dist/src/elements/popover.stories.d.ts +0 -17
  41. package/dist/src/elements/popover.test.d.ts +0 -0
  42. package/dist/src/elements/search-box.stories.d.ts +0 -34
  43. package/dist/src/elements/search-box.test.d.ts +0 -0
  44. package/dist/src/elements/select.stories.d.ts +0 -20
  45. package/dist/src/elements/select.test.d.ts +0 -0
  46. package/dist/src/elements/separator.stories.d.ts +0 -15
  47. package/dist/src/elements/separator.test.d.ts +0 -0
  48. package/dist/src/elements/sheet.stories.d.ts +0 -15
  49. package/dist/src/elements/sheet.test.d.ts +0 -0
  50. package/dist/src/elements/sidebar.stories.d.ts +0 -17
  51. package/dist/src/elements/sidebar.test.d.ts +0 -0
  52. package/dist/src/elements/skeleton.stories.d.ts +0 -15
  53. package/dist/src/elements/skeleton.test.d.ts +0 -0
  54. package/dist/src/elements/spinner.stories.d.ts +0 -16
  55. package/dist/src/elements/spinner.test.d.ts +0 -1
  56. package/dist/src/elements/switch.stories.d.ts +0 -15
  57. package/dist/src/elements/switch.test.d.ts +0 -0
  58. package/dist/src/elements/table.stories.d.ts +0 -17
  59. package/dist/src/elements/table.test.d.ts +0 -1
  60. package/dist/src/elements/tabs.stories.d.ts +0 -18
  61. package/dist/src/elements/tabs.test.d.ts +0 -1
  62. package/dist/src/elements/toggle.stories.d.ts +0 -15
  63. package/dist/src/elements/toggle.test.d.ts +0 -0
  64. package/dist/src/elements/tooltip.stories.d.ts +0 -15
  65. package/dist/src/elements/tooltip.test.d.ts +0 -0
  66. package/dist/src/hooks/use-mobile.test.d.ts +0 -1
  67. /package/dist/{src/elements → elements}/avatar.d.ts +0 -0
  68. /package/dist/{src/elements → elements}/calendar.d.ts +0 -0
  69. /package/dist/{src/elements → elements}/card.d.ts +0 -0
  70. /package/dist/{src/elements → elements}/checkbox.d.ts +0 -0
  71. /package/dist/{src/elements → elements}/context-menu.d.ts +0 -0
  72. /package/dist/{src/elements → elements}/dialog.d.ts +0 -0
  73. /package/dist/{src/elements → elements}/dropdown-menu.d.ts +0 -0
  74. /package/dist/{src/elements → elements}/input.d.ts +0 -0
  75. /package/dist/{src/elements → elements}/label.d.ts +0 -0
  76. /package/dist/{src/elements → elements}/select.d.ts +0 -0
  77. /package/dist/{src/elements → elements}/separator.d.ts +0 -0
  78. /package/dist/{src/elements → elements}/sheet.d.ts +0 -0
  79. /package/dist/{src/elements → elements}/skeleton.d.ts +0 -0
  80. /package/dist/{src/elements → elements}/spinner.d.ts +0 -0
  81. /package/dist/{src/elements → elements}/switch.d.ts +0 -0
  82. /package/dist/{src/elements → elements}/table.d.ts +0 -0
  83. /package/dist/{src/elements → elements}/tabs.d.ts +0 -0
  84. /package/dist/{src/elements → elements}/tooltip.d.ts +0 -0
  85. /package/dist/{src/hooks → hooks}/use-mobile.d.ts +0 -0
  86. /package/dist/{src/index.d.ts → index.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
- import { VariantProps } from 'class-variance-authority';
1
+ import { type VariantProps } from 'class-variance-authority';
2
2
  declare const alertVariants: (props?: ({
3
3
  variant?: "default" | "destructive" | null | undefined;
4
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
5
  declare function Alert({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): import("react/jsx-runtime").JSX.Element;
6
6
  declare function AlertTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
7
7
  declare function AlertDescription({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
- import { VariantProps } from 'class-variance-authority';
1
+ import { type VariantProps } from 'class-variance-authority';
2
2
  declare const buttonVariants: (props?: ({
3
3
  variant?: "default" | "destructive" | "link" | "outline" | "secondary" | "ghost" | null | undefined;
4
4
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
5
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  export type ButtonVariantProps = VariantProps<typeof buttonVariants>;
7
7
  /**
8
8
  * `Button` renders a button component
@@ -1,14 +1,14 @@
1
- import { Slot } from '@radix-ui/react-slot';
2
- import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
3
1
  import * as LabelPrimitive from '@radix-ui/react-label';
4
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import('react-hook-form').FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
2
+ import { Slot } from '@radix-ui/react-slot';
3
+ import { type ControllerProps, type FieldPath, type FieldValues } from 'react-hook-form';
4
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
5
5
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
6
6
  declare const useFormField: () => {
7
7
  invalid: boolean;
8
8
  isDirty: boolean;
9
9
  isTouched: boolean;
10
10
  isValidating: boolean;
11
- error?: import('react-hook-form').FieldError;
11
+ error?: import("react-hook-form").FieldError;
12
12
  id: string;
13
13
  name: string;
14
14
  formItemId: string;
@@ -1,7 +1,7 @@
1
- import { VariantProps } from 'class-variance-authority';
1
+ import { type VariantProps } from 'class-variance-authority';
2
2
  declare const linkStyles: (props?: ({
3
3
  variant?: "default" | "external" | null | undefined;
4
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
5
  export type LinkVariantProps = VariantProps<typeof linkStyles>;
6
6
  type LinkComponent = React.ElementType;
7
7
  /**
@@ -1,5 +1,5 @@
1
- import { Button } from '../../elements/button';
2
1
  import * as React from 'react';
2
+ import { Button } from '@/elements/button';
3
3
  declare function Pagination({ className, ...props }: React.ComponentProps<'nav'>): import("react/jsx-runtime").JSX.Element;
4
4
  declare function PaginationContent({ className, ...props }: React.ComponentProps<'ul'>): import("react/jsx-runtime").JSX.Element;
5
5
  declare function PaginationItem({ ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
@@ -3,5 +3,5 @@ declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimit
3
3
  declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
4
4
  declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
5
5
  declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
6
- declare const PopoverClose: import('react').ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & import('react').RefAttributes<HTMLButtonElement>>;
6
+ declare const PopoverClose: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
7
7
  export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger };
@@ -1,4 +1,4 @@
1
- import { Input } from '../../elements/input';
1
+ import { Input } from '@/elements/input';
2
2
  export type SearchBoxProps = React.ComponentProps<typeof Input> & {
3
3
  containerClassName?: string;
4
4
  };
@@ -7,5 +7,5 @@ export type SearchBoxProps = React.ComponentProps<typeof Input> & {
7
7
  * - Uses shadcn <Input/>
8
8
  * - Leading search icon
9
9
  */
10
- declare const SearchBox: import('react').ForwardRefExoticComponent<Omit<SearchBoxProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
10
+ declare const SearchBox: import("react").ForwardRefExoticComponent<Omit<SearchBoxProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
11
11
  export { SearchBox };
@@ -1,8 +1,8 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import { Button } from '../../elements/button';
3
- import { Input } from '../../elements/input';
4
- import { Separator } from '../../elements/separator';
5
- import { TooltipContent } from '../../elements/tooltip';
1
+ import type { VariantProps } from 'class-variance-authority';
2
+ import { Button } from '@/elements/button';
3
+ import { Input } from '@/elements/input';
4
+ import { Separator } from '@/elements/separator';
5
+ import { TooltipContent } from '@/elements/tooltip';
6
6
  type SidebarContextProps = {
7
7
  state: 'expanded' | 'collapsed';
8
8
  open: boolean;
@@ -44,7 +44,7 @@ declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<'
44
44
  declare const sidebarMenuButtonVariants: (props?: ({
45
45
  variant?: "default" | "outline" | null | undefined;
46
46
  size?: "default" | "sm" | "lg" | null | undefined;
47
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
47
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
48
48
  declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<'button'> & {
49
49
  asChild?: boolean;
50
50
  isActive?: boolean;
@@ -1,8 +1,8 @@
1
- import { VariantProps } from 'class-variance-authority';
2
1
  import * as TogglePrimitive from '@radix-ui/react-toggle';
2
+ import { type VariantProps } from 'class-variance-authority';
3
3
  declare const toggleVariants: (props?: ({
4
4
  variant?: "default" | "outline" | null | undefined;
5
5
  size?: "default" | "sm" | "lg" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  declare function Toggle({ className, variant, size, ...props }: React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
8
8
  export { Toggle, toggleVariants };
@@ -1,2 +1,2 @@
1
- import { ClassValue } from 'clsx';
1
+ import { type ClassValue } from 'clsx';
2
2
  export declare function cn(...inputs: ClassValue[]): string;
package/package.json CHANGED
@@ -1,31 +1,36 @@
1
1
  {
2
2
  "name": "@kubetail/ui",
3
- "version": "v2.7.0",
3
+ "version": "v2.7.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/kubetail-org/kubetail-ui"
7
7
  },
8
8
  "type": "module",
9
9
  "sideEffects": false,
10
+ "types": "./dist/index.d.ts",
10
11
  "module": "./dist/index.js",
11
12
  "main": "./dist/index.cjs",
12
13
  "exports": {
13
14
  ".": {
15
+ "types": "./dist/index.d.ts",
14
16
  "style": "./dist/index.css",
15
17
  "import": "./dist/index.js",
16
18
  "require": "./dist/index.cjs"
17
19
  },
18
20
  "./elements": {
21
+ "types": "./dist/elements/index.d.ts",
19
22
  "import": "./dist/elements/index.js",
20
23
  "require": "./dist/elements/index.cjs"
21
24
  },
22
25
  "./elements/*": {
26
+ "types": "./dist/elements/*.d.ts",
23
27
  "import": "./dist/elements/*.js",
24
28
  "require": "./dist/elements/*.cjs"
25
29
  },
26
30
  "./lib*": {
31
+ "types": "./dist/lib/*.d.ts",
27
32
  "import": "./dist/lib/*.js",
28
- "require": "./dist/elements/*.cjs"
33
+ "require": "./dist/lib/*.cjs"
29
34
  },
30
35
  "./package.json": "./package.json"
31
36
  },
@@ -169,7 +174,6 @@
169
174
  "tslib": "^2.8.1",
170
175
  "typescript": "^5",
171
176
  "typescript-eslint": "^8.58.2",
172
- "unplugin-dts": "1.0.0-beta.6",
173
177
  "unplugin-fonts": "^2.0.0",
174
178
  "vite": "^8.0.8",
175
179
  "vitest": "^4.1.4"
@@ -181,7 +185,7 @@
181
185
  },
182
186
  "scripts": {
183
187
  "dev": "vite",
184
- "build": "tsc -b && vite build",
188
+ "build": "tsc -b && vite build && tsc -p tsconfig.build.json",
185
189
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
186
190
  "preview": "vite preview",
187
191
  "storybook": "storybook dev -p 6006",
@@ -1,19 +0,0 @@
1
- import { Alert } from '../../elements/alert';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Alert;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Default(): import("react/jsx-runtime").JSX.Element;
16
- export declare function Destructive(): import("react/jsx-runtime").JSX.Element;
17
- export declare function WithAction(): import("react/jsx-runtime").JSX.Element;
18
- export declare function TitleOnly(): import("react/jsx-runtime").JSX.Element;
19
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { Avatar } from '../../elements/avatar';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Avatar;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,30 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { Button } from '../../elements/button';
3
- declare const meta: {
4
- title: string;
5
- tags: string[];
6
- component: typeof Button;
7
- parameters: {
8
- docs: {
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- argTypes: {
15
- children: {
16
- control: "text";
17
- };
18
- };
19
- };
20
- export default meta;
21
- type Story = StoryObj<typeof meta>;
22
- export declare const Default: Story;
23
- export declare const Secondary: Story;
24
- export declare const Outline: Story;
25
- export declare const Ghost: Story;
26
- export declare const Destructive: Story;
27
- export declare const Link: Story;
28
- export declare const Icon: Story;
29
- export declare const LeadingIcon: Story;
30
- export declare const TrailingIcon: Story;
@@ -1 +0,0 @@
1
- export {};
@@ -1,14 +0,0 @@
1
- declare const meta: {
2
- title: string;
3
- component: ({ className, showOutsideDays, ...props }: import('../../elements/calendar').CalendarProps) => import("react/jsx-runtime").JSX.Element;
4
- tags: string[];
5
- parameters: {
6
- docs: {
7
- description: {
8
- component: string;
9
- };
10
- };
11
- };
12
- };
13
- export default meta;
14
- export declare function Default(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,15 +0,0 @@
1
- import { Card } from '../../elements/card';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Card;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { Checkbox } from '../../elements/checkbox';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Checkbox;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,17 +0,0 @@
1
- import { ContextMenu } from '../../elements/context-menu';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof ContextMenu;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Default(): import("react/jsx-runtime").JSX.Element;
16
- export declare function Checkboxes(): import("react/jsx-runtime").JSX.Element;
17
- export declare function RadioGroup(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,17 +0,0 @@
1
- import { Dialog } from '../../elements/dialog';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Dialog;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
16
- export declare function CustomCloseButton(): import("react/jsx-runtime").JSX.Element;
17
- export declare function InsideDropdownMenu(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
1
- import { DropdownMenu } from '../../elements/dropdown-menu';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof DropdownMenu;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Checkboxes(): import("react/jsx-runtime").JSX.Element;
16
- export declare function RadioGroup(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,16 +0,0 @@
1
- declare const meta: {
2
- title: string;
3
- tags: string[];
4
- component: () => import("react/jsx-runtime").JSX.Element;
5
- parameters: {
6
- docs: {
7
- description: {
8
- component: string;
9
- };
10
- };
11
- };
12
- };
13
- export default meta;
14
- export declare const Demo: {
15
- render: () => import("react/jsx-runtime").JSX.Element;
16
- };
File without changes
@@ -1,35 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { Input } from '../../elements/input';
3
- declare const meta: {
4
- title: string;
5
- tags: string[];
6
- component: typeof Input;
7
- parameters: {
8
- docs: {
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- defaultValue: string;
16
- disabled: false;
17
- placeholder: string;
18
- };
19
- argTypes: {
20
- defaultValue: {
21
- control: "text";
22
- };
23
- disabled: {
24
- control: "boolean";
25
- };
26
- placeholder: {
27
- control: "text";
28
- };
29
- };
30
- };
31
- export default meta;
32
- type Story = StoryObj<typeof meta>;
33
- export declare const Default: Story;
34
- export declare const Filled: Story;
35
- export declare const Disabled: Story;
File without changes
@@ -1,17 +0,0 @@
1
- import { Label } from '../../elements/label';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Label;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare const Demo: {
16
- render: () => import("react/jsx-runtime").JSX.Element;
17
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,25 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { Link } from '../../elements/link';
3
- declare const meta: {
4
- title: string;
5
- tags: string[];
6
- component: typeof Link;
7
- parameters: {
8
- docs: {
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- argTypes: {
15
- children: {
16
- control: "text";
17
- };
18
- };
19
- };
20
- export default meta;
21
- type Story = StoryObj<typeof meta>;
22
- export declare const Default: Story;
23
- export declare const External: Story;
24
- export declare const CustomColor: Story;
25
- export declare const AsChild: Story;
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { Pagination } from '../../elements/pagination';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Pagination;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function BasicDemo(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,17 +0,0 @@
1
- import { Popover } from '../../elements/popover';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Popover;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare const Demo: {
16
- render: () => import("react/jsx-runtime").JSX.Element;
17
- };
File without changes
@@ -1,34 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: import('react').ForwardRefExoticComponent<Omit<import('../../elements/search-box').SearchBoxProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- args: {
14
- defaultValue: string;
15
- disabled: false;
16
- placeholder: string;
17
- };
18
- argTypes: {
19
- defaultValue: {
20
- control: "text";
21
- };
22
- disabled: {
23
- control: "boolean";
24
- };
25
- placeholder: {
26
- control: "text";
27
- };
28
- };
29
- };
30
- export default meta;
31
- type Story = StoryObj<typeof meta>;
32
- export declare const Default: Story;
33
- export declare const Filled: Story;
34
- export declare const Disabled: Story;
File without changes
@@ -1,20 +0,0 @@
1
- import { Select } from '../../elements/select';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Select;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare const Demo: {
16
- render: () => import("react/jsx-runtime").JSX.Element;
17
- };
18
- export declare const AsChild: {
19
- render: () => import("react/jsx-runtime").JSX.Element;
20
- };
File without changes
@@ -1,15 +0,0 @@
1
- import { Separator } from '../../elements/separator';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Separator;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,15 +0,0 @@
1
- import { Sheet } from '../../elements/sheet';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Sheet;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,17 +0,0 @@
1
- import { Sidebar } from '../../elements/sidebar';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Sidebar;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Basic(): import("react/jsx-runtime").JSX.Element;
16
- export declare function FullyFeatured(): import("react/jsx-runtime").JSX.Element;
17
- export declare function FloatingExample(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,15 +0,0 @@
1
- import { Skeleton } from '../../elements/skeleton';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Skeleton;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,16 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: ({ className, size }: {
6
- className?: string;
7
- size?: "sm" | "lg" | "md" | "xs";
8
- }) => import("react/jsx-runtime").JSX.Element;
9
- };
10
- export default meta;
11
- type Story = StoryObj<typeof meta>;
12
- export declare const Default: Story;
13
- export declare const ExtraSmall: Story;
14
- export declare const Small: Story;
15
- export declare const Medium: Story;
16
- export declare const Large: Story;
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { Switch } from '../../elements/switch';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Switch;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,17 +0,0 @@
1
- import { Table } from '../../elements/table';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Table;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare const Demo: {
16
- render: () => import("react/jsx-runtime").JSX.Element;
17
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,18 +0,0 @@
1
- import { Tabs } from '../../elements/tabs';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Tabs;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- source: {
12
- type: string;
13
- };
14
- };
15
- };
16
- };
17
- export default meta;
18
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { Toggle } from '../../elements/toggle';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Toggle;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,15 +0,0 @@
1
- import { Tooltip } from '../../elements/tooltip';
2
- declare const meta: {
3
- title: string;
4
- tags: string[];
5
- component: typeof Tooltip;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- export declare function Demo(): import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1 +0,0 @@
1
- export {};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes