@kubetail/ui 2.6.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 (100) hide show
  1. package/dist/elements/alert.cjs +2 -0
  2. package/dist/elements/alert.cjs.map +1 -0
  3. package/dist/elements/alert.d.ts +9 -0
  4. package/dist/elements/alert.js +44 -0
  5. package/dist/elements/alert.js.map +1 -0
  6. package/dist/elements/avatar.cjs +1 -1
  7. package/dist/elements/avatar.cjs.map +1 -1
  8. package/dist/elements/button.d.ts +3 -3
  9. package/dist/elements/checkbox.cjs +1 -1
  10. package/dist/elements/checkbox.cjs.map +1 -1
  11. package/dist/elements/context-menu.cjs +1 -1
  12. package/dist/elements/context-menu.cjs.map +1 -1
  13. package/dist/elements/dialog.cjs +1 -1
  14. package/dist/elements/dialog.cjs.map +1 -1
  15. package/dist/elements/dropdown-menu.cjs +1 -1
  16. package/dist/elements/dropdown-menu.cjs.map +1 -1
  17. package/dist/elements/form.cjs +1 -1
  18. package/dist/elements/form.cjs.map +1 -1
  19. package/dist/elements/form.d.ts +4 -4
  20. package/dist/elements/label.cjs +1 -1
  21. package/dist/elements/label.cjs.map +1 -1
  22. package/dist/elements/link.d.ts +2 -2
  23. package/dist/elements/pagination.cjs +1 -1
  24. package/dist/elements/pagination.cjs.map +1 -1
  25. package/dist/elements/pagination.d.ts +1 -1
  26. package/dist/elements/popover.cjs +1 -1
  27. package/dist/elements/popover.cjs.map +1 -1
  28. package/dist/elements/popover.d.ts +1 -1
  29. package/dist/elements/search-box.d.ts +2 -2
  30. package/dist/elements/select.cjs +1 -1
  31. package/dist/elements/select.cjs.map +1 -1
  32. package/dist/elements/separator.cjs +1 -1
  33. package/dist/elements/separator.cjs.map +1 -1
  34. package/dist/elements/sheet.cjs +1 -1
  35. package/dist/elements/sheet.cjs.map +1 -1
  36. package/dist/elements/sidebar.d.ts +6 -6
  37. package/dist/elements/switch.cjs +1 -1
  38. package/dist/elements/switch.cjs.map +1 -1
  39. package/dist/elements/tabs.cjs +1 -1
  40. package/dist/elements/tabs.cjs.map +1 -1
  41. package/dist/elements/toggle.cjs +1 -1
  42. package/dist/elements/toggle.cjs.map +1 -1
  43. package/dist/elements/toggle.d.ts +2 -2
  44. package/dist/elements/tooltip.cjs +1 -1
  45. package/dist/elements/tooltip.cjs.map +1 -1
  46. package/dist/lib/utils.d.ts +1 -1
  47. package/package.json +18 -14
  48. package/dist/elements/avatar.stories.d.ts +0 -15
  49. package/dist/elements/avatar.test.d.ts +0 -0
  50. package/dist/elements/button.stories.d.ts +0 -30
  51. package/dist/elements/button.test.d.ts +0 -1
  52. package/dist/elements/calendar.stories.d.ts +0 -14
  53. package/dist/elements/calendar.test.d.ts +0 -0
  54. package/dist/elements/card.stories.d.ts +0 -15
  55. package/dist/elements/card.test.d.ts +0 -1
  56. package/dist/elements/checkbox.stories.d.ts +0 -15
  57. package/dist/elements/checkbox.test.d.ts +0 -0
  58. package/dist/elements/context-menu.stories.d.ts +0 -17
  59. package/dist/elements/context-menu.test.d.ts +0 -0
  60. package/dist/elements/dialog.stories.d.ts +0 -17
  61. package/dist/elements/dialog.test.d.ts +0 -1
  62. package/dist/elements/dropdown-menu.stories.d.ts +0 -16
  63. package/dist/elements/dropdown-menu.test.d.ts +0 -0
  64. package/dist/elements/form.stories.d.ts +0 -16
  65. package/dist/elements/form.test.d.ts +0 -0
  66. package/dist/elements/input.stories.d.ts +0 -35
  67. package/dist/elements/input.test.d.ts +0 -0
  68. package/dist/elements/label.stories.d.ts +0 -17
  69. package/dist/elements/label.test.d.ts +0 -1
  70. package/dist/elements/link.stories.d.ts +0 -25
  71. package/dist/elements/link.test.d.ts +0 -1
  72. package/dist/elements/pagination.stories.d.ts +0 -15
  73. package/dist/elements/pagination.test.d.ts +0 -0
  74. package/dist/elements/popover.stories.d.ts +0 -17
  75. package/dist/elements/popover.test.d.ts +0 -0
  76. package/dist/elements/search-box.stories.d.ts +0 -34
  77. package/dist/elements/search-box.test.d.ts +0 -0
  78. package/dist/elements/select.stories.d.ts +0 -20
  79. package/dist/elements/select.test.d.ts +0 -0
  80. package/dist/elements/separator.stories.d.ts +0 -15
  81. package/dist/elements/separator.test.d.ts +0 -0
  82. package/dist/elements/sheet.stories.d.ts +0 -15
  83. package/dist/elements/sheet.test.d.ts +0 -0
  84. package/dist/elements/sidebar.stories.d.ts +0 -17
  85. package/dist/elements/sidebar.test.d.ts +0 -0
  86. package/dist/elements/skeleton.stories.d.ts +0 -15
  87. package/dist/elements/skeleton.test.d.ts +0 -0
  88. package/dist/elements/spinner.stories.d.ts +0 -16
  89. package/dist/elements/spinner.test.d.ts +0 -1
  90. package/dist/elements/switch.stories.d.ts +0 -15
  91. package/dist/elements/switch.test.d.ts +0 -0
  92. package/dist/elements/table.stories.d.ts +0 -17
  93. package/dist/elements/table.test.d.ts +0 -1
  94. package/dist/elements/tabs.stories.d.ts +0 -18
  95. package/dist/elements/tabs.test.d.ts +0 -1
  96. package/dist/elements/toggle.stories.d.ts +0 -15
  97. package/dist/elements/toggle.test.d.ts +0 -0
  98. package/dist/elements/tooltip.stories.d.ts +0 -15
  99. package/dist/elements/tooltip.test.d.ts +0 -0
  100. package/dist/hooks/use-mobile.test.d.ts +0 -1
@@ -1,35 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { Input } from './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 './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 './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 './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 './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('./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 './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 './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 './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 './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 './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 './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 './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 './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 './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 './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 {};