@motiadev/ui 0.13.0-beta.162-380543 → 0.13.0-beta.162-415452

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 (142) hide show
  1. package/LICENSE +93 -21
  2. package/dist/components/ui/background-effect.d.ts +4 -7
  3. package/dist/components/ui/background-effect.d.ts.map +1 -1
  4. package/dist/components/ui/background-effect.stories.d.ts +12 -0
  5. package/dist/components/ui/background-effect.stories.d.ts.map +1 -0
  6. package/dist/components/ui/badge.d.ts +8 -11
  7. package/dist/components/ui/badge.d.ts.map +1 -1
  8. package/dist/components/ui/badge.stories.d.ts +19 -0
  9. package/dist/components/ui/badge.stories.d.ts.map +1 -0
  10. package/dist/components/ui/breadcrumb.d.ts +20 -24
  11. package/dist/components/ui/breadcrumb.d.ts.map +1 -1
  12. package/dist/components/ui/breadcrumb.stories.d.ts +21 -0
  13. package/dist/components/ui/breadcrumb.stories.d.ts.map +1 -0
  14. package/dist/components/ui/button.d.ts +9 -14
  15. package/dist/components/ui/button.d.ts.map +1 -1
  16. package/dist/components/ui/button.stories.d.ts +25 -0
  17. package/dist/components/ui/button.stories.d.ts.map +1 -0
  18. package/dist/components/ui/checkbox.d.ts +3 -7
  19. package/dist/components/ui/checkbox.d.ts.map +1 -1
  20. package/dist/components/ui/checkbox.stories.d.ts +25 -0
  21. package/dist/components/ui/checkbox.stories.d.ts.map +1 -0
  22. package/dist/components/ui/collapsible-panel.d.ts +13 -17
  23. package/dist/components/ui/collapsible-panel.d.ts.map +1 -1
  24. package/dist/components/ui/collapsible-panel.stories.d.ts +12 -0
  25. package/dist/components/ui/collapsible-panel.stories.d.ts.map +1 -0
  26. package/dist/components/ui/container.d.ts +13 -17
  27. package/dist/components/ui/container.d.ts.map +1 -1
  28. package/dist/components/ui/container.stories.d.ts +10 -0
  29. package/dist/components/ui/container.stories.d.ts.map +1 -0
  30. package/dist/components/ui/dropdown-menu.d.ts +21 -23
  31. package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
  32. package/dist/components/ui/dropdown-menu.stories.d.ts +18 -0
  33. package/dist/components/ui/dropdown-menu.stories.d.ts.map +1 -0
  34. package/dist/components/ui/empty.d.ts +10 -34
  35. package/dist/components/ui/empty.d.ts.map +1 -1
  36. package/dist/components/ui/input.d.ts +8 -12
  37. package/dist/components/ui/input.d.ts.map +1 -1
  38. package/dist/components/ui/input.stories.d.ts +23 -0
  39. package/dist/components/ui/input.stories.d.ts.map +1 -0
  40. package/dist/components/ui/label.d.ts +3 -7
  41. package/dist/components/ui/label.d.ts.map +1 -1
  42. package/dist/components/ui/label.stories.d.ts +17 -0
  43. package/dist/components/ui/label.stories.d.ts.map +1 -0
  44. package/dist/components/ui/level-dot.d.ts +3 -7
  45. package/dist/components/ui/level-dot.d.ts.map +1 -1
  46. package/dist/components/ui/level-dot.stories.d.ts +19 -0
  47. package/dist/components/ui/level-dot.stories.d.ts.map +1 -0
  48. package/dist/components/ui/panel.d.ts +28 -32
  49. package/dist/components/ui/panel.d.ts.map +1 -1
  50. package/dist/components/ui/panel.stories.d.ts +24 -0
  51. package/dist/components/ui/panel.stories.d.ts.map +1 -0
  52. package/dist/components/ui/select.d.ts +13 -11
  53. package/dist/components/ui/select.d.ts.map +1 -1
  54. package/dist/components/ui/select.stories.d.ts +18 -0
  55. package/dist/components/ui/select.stories.d.ts.map +1 -0
  56. package/dist/components/ui/side-panel-detail.d.ts +5 -8
  57. package/dist/components/ui/side-panel-detail.d.ts.map +1 -1
  58. package/dist/components/ui/side-panel-detail.stories.d.ts +12 -0
  59. package/dist/components/ui/side-panel-detail.stories.d.ts.map +1 -0
  60. package/dist/components/ui/side-panel.d.ts +18 -18
  61. package/dist/components/ui/side-panel.d.ts.map +1 -1
  62. package/dist/components/ui/side-panel.stories.d.ts +13 -0
  63. package/dist/components/ui/side-panel.stories.d.ts.map +1 -0
  64. package/dist/components/ui/sidebar.d.ts +8 -12
  65. package/dist/components/ui/sidebar.d.ts.map +1 -1
  66. package/dist/components/ui/sidebar.stories.d.ts +14 -0
  67. package/dist/components/ui/sidebar.stories.d.ts.map +1 -0
  68. package/dist/components/ui/table.d.ts +4 -5
  69. package/dist/components/ui/table.d.ts.map +1 -1
  70. package/dist/components/ui/table.stories.d.ts +18 -0
  71. package/dist/components/ui/table.stories.d.ts.map +1 -0
  72. package/dist/components/ui/tabs.d.ts +6 -10
  73. package/dist/components/ui/tabs.d.ts.map +1 -1
  74. package/dist/components/ui/tabs.stories.d.ts +16 -0
  75. package/dist/components/ui/tabs.stories.d.ts.map +1 -0
  76. package/dist/components/ui/textarea.d.ts +2 -6
  77. package/dist/components/ui/textarea.d.ts.map +1 -1
  78. package/dist/components/ui/textarea.stories.d.ts +21 -0
  79. package/dist/components/ui/textarea.stories.d.ts.map +1 -0
  80. package/dist/components/ui/tooltip.d.ts +5 -10
  81. package/dist/components/ui/tooltip.d.ts.map +1 -1
  82. package/dist/components/ui/tooltip.stories.d.ts +21 -0
  83. package/dist/components/ui/tooltip.stories.d.ts.map +1 -0
  84. package/dist/index.cjs +122 -0
  85. package/dist/index.d.ts +24 -24
  86. package/dist/index.d.ts.map +1 -0
  87. package/dist/index.js +11031 -25
  88. package/dist/lib/utils.d.ts +2 -6
  89. package/dist/lib/utils.d.ts.map +1 -1
  90. package/dist/stores/use-theme-store.d.ts +17 -22
  91. package/dist/stores/use-theme-store.d.ts.map +1 -1
  92. package/dist/ui.css +1 -0
  93. package/package.json +15 -13
  94. package/dist/components/ui/background-effect.js +0 -31
  95. package/dist/components/ui/background-effect.js.map +0 -1
  96. package/dist/components/ui/badge.js +0 -57
  97. package/dist/components/ui/badge.js.map +0 -1
  98. package/dist/components/ui/breadcrumb.js +0 -168
  99. package/dist/components/ui/breadcrumb.js.map +0 -1
  100. package/dist/components/ui/button.js +0 -88
  101. package/dist/components/ui/button.js.map +0 -1
  102. package/dist/components/ui/checkbox.js +0 -53
  103. package/dist/components/ui/checkbox.js.map +0 -1
  104. package/dist/components/ui/collapsible-panel.js +0 -252
  105. package/dist/components/ui/collapsible-panel.js.map +0 -1
  106. package/dist/components/ui/container.js +0 -143
  107. package/dist/components/ui/container.js.map +0 -1
  108. package/dist/components/ui/dropdown-menu.js +0 -430
  109. package/dist/components/ui/dropdown-menu.js.map +0 -1
  110. package/dist/components/ui/empty.js +0 -219
  111. package/dist/components/ui/empty.js.map +0 -1
  112. package/dist/components/ui/input.js +0 -66
  113. package/dist/components/ui/input.js.map +0 -1
  114. package/dist/components/ui/label.js +0 -43
  115. package/dist/components/ui/label.js.map +0 -1
  116. package/dist/components/ui/level-dot.js +0 -35
  117. package/dist/components/ui/level-dot.js.map +0 -1
  118. package/dist/components/ui/panel.js +0 -284
  119. package/dist/components/ui/panel.js.map +0 -1
  120. package/dist/components/ui/select.js +0 -341
  121. package/dist/components/ui/select.js.map +0 -1
  122. package/dist/components/ui/side-panel-detail.js +0 -54
  123. package/dist/components/ui/side-panel-detail.js.map +0 -1
  124. package/dist/components/ui/side-panel.js +0 -138
  125. package/dist/components/ui/side-panel.js.map +0 -1
  126. package/dist/components/ui/sidebar.js +0 -153
  127. package/dist/components/ui/sidebar.js.map +0 -1
  128. package/dist/components/ui/table.js +0 -285
  129. package/dist/components/ui/table.js.map +0 -1
  130. package/dist/components/ui/tabs.js +0 -142
  131. package/dist/components/ui/tabs.js.map +0 -1
  132. package/dist/components/ui/textarea.js +0 -42
  133. package/dist/components/ui/textarea.js.map +0 -1
  134. package/dist/components/ui/tooltip.js +0 -54
  135. package/dist/components/ui/tooltip.js.map +0 -1
  136. package/dist/lib/utils.js +0 -11
  137. package/dist/lib/utils.js.map +0 -1
  138. package/dist/stores/use-theme-store.js +0 -30
  139. package/dist/stores/use-theme-store.js.map +0 -1
  140. package/dist/styles.css +0 -2647
  141. package/dist/styles.css.map +0 -1
  142. package/dist/styles.js +0 -0
package/LICENSE CHANGED
@@ -1,21 +1,93 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Motia
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ Elastic License 2.0
2
+
3
+ URL: https://www.elastic.co/licensing/elastic-license
4
+
5
+ ## Acceptance
6
+
7
+ By using the software, you agree to all of the terms and conditions below.
8
+
9
+ ## Copyright License
10
+
11
+ The licensor grants you a non-exclusive, royalty-free, worldwide,
12
+ non-sublicensable, non-transferable license to use, copy, distribute, make
13
+ available, and prepare derivative works of the software, in each case subject
14
+ to the limitations and conditions below.
15
+
16
+ ## Limitations
17
+
18
+ You may not provide the software to third parties as a hosted or managed
19
+ service, where the service provides users with access to any substantial set of
20
+ the features or functionality of the software.
21
+
22
+ You may not move, change, disable, or circumvent the license key functionality
23
+ in the software, and you may not remove or obscure any functionality in the
24
+ software that is protected by the license key.
25
+
26
+ You may not alter, remove, or obscure any licensing, copyright, or other notices
27
+ of the licensor in the software. Any use of the licensor's trademarks is subject
28
+ to applicable law.
29
+
30
+ ## Patents
31
+
32
+ The licensor grants you a license, under any patent claims the licensor can
33
+ license, or becomes able to license, to make, have made, use, sell, offer for
34
+ sale, import and have imported the software, in each case subject to the
35
+ limitations and conditions in this license. This license does not cover any
36
+ patent claims that you cause to be infringed by modifications or additions to
37
+ the software. If you or your company make any written claim that the software
38
+ infringes or contributes to infringement of any patent, your patent license for
39
+ the software granted under these terms ends immediately. If your company makes
40
+ such a claim, your patent license ends immediately for work on behalf of your
41
+ company.
42
+
43
+ ## Notices
44
+
45
+ You must ensure that anyone who gets a copy of any part of the software from you
46
+ also gets a copy of these terms.
47
+
48
+ If you modify the software, you must include in any modified copies of the
49
+ software prominent notices stating that you have modified the software.
50
+
51
+ ## No Other Rights
52
+
53
+ These terms do not imply any licenses other than those expressly granted in
54
+ these terms.
55
+
56
+ ## Termination
57
+
58
+ If you use the software in violation of these terms, such use is not licensed,
59
+ and your licenses will automatically terminate. If the licensor provides you
60
+ with a notice of your violation, and you cease all violation of this license no
61
+ later than 30 days after you receive that notice, your licenses will be
62
+ reinstated retroactively. However, if you violate these terms after such
63
+ reinstatement, any additional violation of these terms will cause your licenses
64
+ to terminate automatically and permanently.
65
+
66
+ ## No Liability
67
+
68
+ *As far as the law allows, the software comes as is, without any warranty or
69
+ condition, and the licensor will not be liable to you for any damages arising
70
+ out of these terms or the use or nature of the software, under any kind of
71
+ legal claim.*
72
+
73
+ ## Definitions
74
+
75
+ The **licensor** is the entity offering these terms, and the **software** is the
76
+ software the licensor makes available under these terms, including any portion
77
+ of it.
78
+
79
+ **you** refers to the individual or entity agreeing to these terms.
80
+
81
+ **your company** is any legal entity, sole proprietorship, or other kind of
82
+ organization that you work for, plus all organizations that have control over,
83
+ are under the control of, or are under common control with that organization.
84
+ **control** means ownership of substantially all the assets of an entity, or the
85
+ power to direct its management and policies by vote, contract, or otherwise.
86
+ Control can be direct or indirect.
87
+
88
+ **your licenses** are all the licenses granted to you for the software under
89
+ these terms.
90
+
91
+ **use** means anything you do with the software requiring one of your licenses.
92
+
93
+ **trademark** means trademarks, service marks, and similar rights.
@@ -1,11 +1,8 @@
1
- import React from "react";
2
-
3
- //#region src/components/ui/background-effect.d.ts
1
+ import { default as React } from 'react';
4
2
  type PatternType = 'subtle';
5
3
  type BackgroundEffectProps = {
6
- patternType?: PatternType;
4
+ patternType?: PatternType;
7
5
  };
8
- declare const BackgroundEffect: React.FC<BackgroundEffectProps>;
9
- //#endregion
10
- export { BackgroundEffect };
6
+ export declare const BackgroundEffect: React.FC<BackgroundEffectProps>;
7
+ export {};
11
8
  //# sourceMappingURL=background-effect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"background-effect.d.ts","names":[],"sources":["../../../src/components/ui/background-effect.tsx"],"sourcesContent":[],"mappings":";;;KAGK,WAAA;KAEA,qBAAA;EAFA,WAAA,CAAA,EAGW,WAHA;AAAA,CAAA;AAaH,cAAA,gBAA2B,EAAT,KAAA,CAAM,EAAG,CAAA,qBAAD,CAAA"}
1
+ {"version":3,"file":"background-effect.d.ts","sourceRoot":"","sources":["../../../src/components/ui/background-effect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,KAAK,WAAW,GAAG,QAAQ,CAAA;AAE3B,KAAK,qBAAqB,GAAG;IAC3B,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AASD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAc5D,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { BackgroundEffect } from './background-effect';
3
+ declare const meta: Meta<typeof BackgroundEffect>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const WithHeroSection: Story;
8
+ export declare const WithContentSection: Story;
9
+ export declare const UseCases: Story;
10
+ export declare const AccessibilityExample: Story;
11
+ export declare const DecorativeAndNonInteractive: Story;
12
+ //# sourceMappingURL=background-effect.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-effect.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ui/background-effect.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAGtD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAyBvC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAoB7B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAuDhC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAgDtB,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAiElC,CAAA;AAGD,eAAO,MAAM,2BAA2B,EAAE,KAczC,CAAA"}
@@ -1,13 +1,10 @@
1
- import { VariantProps } from "class-variance-authority";
2
- import { FC, HTMLAttributes } from "react";
3
- import * as class_variance_authority_types0 from "class-variance-authority/types";
4
-
5
- //#region src/components/ui/badge.d.ts
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { FC, HTMLAttributes } from 'react';
6
3
  declare const badgeVariants: (props?: ({
7
- variant?: "info" | "success" | "error" | "default" | "outline" | "warning" | null | undefined;
8
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
9
- interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {}
10
- declare const Badge: FC<BadgeProps>;
11
- //#endregion
12
- export { Badge, BadgeProps };
4
+ variant?: "info" | "success" | "error" | "default" | "outline" | "warning" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
+ }
8
+ export declare const Badge: FC<BadgeProps>;
9
+ export {};
13
10
  //# sourceMappingURL=badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.ts","names":[],"sources":["../../../src/components/ui/badge.tsx"],"sourcesContent":[],"mappings":";;;;;cAIM;;IAcJ,+BAAA,CAAA;AAdI,UAgBW,UAAA,SAAmB,cAFlC,CAEiD,cAFjD,CAAA,EAEkE,YAFlE,CAAA,OAEsF,aAFtF,CAAA,CAAA,CAEF;AAAmD,cAEtC,KAFsC,EAE/B,EAF+B,CAE5B,UAF4B,CAAA"}
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAG/C,QAAA,MAAM,aAAa;;8EAcjB,CAAA;AAEF,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzG,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAEhC,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Badge } from './badge';
3
+ declare const meta: Meta<typeof Badge>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const Info: Story;
8
+ export declare const Success: Story;
9
+ export declare const Error: Story;
10
+ export declare const Outline: Story;
11
+ export declare const Warning: Story;
12
+ export declare const WithCounts: Story;
13
+ export declare const StatusIndicators: Story;
14
+ export declare const AllVariants: Story;
15
+ export declare const UseCases: Story;
16
+ export declare const AccessibilityExample: Story;
17
+ export declare const DarkModeExample: Story;
18
+ export declare const VariantRendering: Story;
19
+ //# sourceMappingURL=badge.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA4B5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAYlB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAYnB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAkBxB,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAqB9B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KA+CzB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAyFtB,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAoClC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KA0B7B,CAAA;AAGD,eAAO,MAAM,gBAAgB,EAAE,KAqB9B,CAAA"}
@@ -1,31 +1,27 @@
1
- import { ComponentProps, FC, ReactNode } from "react";
2
-
3
- //#region src/components/ui/breadcrumb.d.ts
4
- interface BreadcrumbItemProps {
5
- label: string | ReactNode;
6
- icon?: ReactNode;
7
- onClick?: () => void;
8
- isLast: boolean;
9
- dropdownItems?: {
10
- label: string | ReactNode;
11
- icon?: ReactNode;
12
- onClick?: () => void;
13
- }[];
14
- }
15
- declare const BreadcrumbItem: FC<BreadcrumbItemProps>;
16
- interface BreadcrumbProps extends ComponentProps<'div'> {
17
- items: {
1
+ import { ComponentProps, FC, ReactNode } from 'react';
2
+ export interface BreadcrumbItemProps {
18
3
  label: string | ReactNode;
19
4
  icon?: ReactNode;
20
5
  onClick?: () => void;
6
+ isLast: boolean;
21
7
  dropdownItems?: {
22
- label: string | ReactNode;
23
- icon?: ReactNode;
24
- onClick?: () => void;
8
+ label: string | ReactNode;
9
+ icon?: ReactNode;
10
+ onClick?: () => void;
11
+ }[];
12
+ }
13
+ export declare const BreadcrumbItem: FC<BreadcrumbItemProps>;
14
+ export interface BreadcrumbProps extends ComponentProps<'div'> {
15
+ items: {
16
+ label: string | ReactNode;
17
+ icon?: ReactNode;
18
+ onClick?: () => void;
19
+ dropdownItems?: {
20
+ label: string | ReactNode;
21
+ icon?: ReactNode;
22
+ onClick?: () => void;
23
+ }[];
25
24
  }[];
26
- }[];
27
25
  }
28
- declare const Breadcrumb: FC<BreadcrumbProps>;
29
- //#endregion
30
- export { Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps };
26
+ export declare const Breadcrumb: FC<BreadcrumbProps>;
31
27
  //# sourceMappingURL=breadcrumb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.d.ts","names":[],"sources":["../../../src/components/ui/breadcrumb.tsx"],"sourcesContent":[],"mappings":";;;UAOiB,mBAAA;kBACC;EADD,IAAA,CAAA,EAER,SAFQ;EACC,OAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EACT,MAAA,EAAA,OAAA;EAIW,aAAA,CAAA,EAAA;IACT,KAAA,EAAA,MAAA,GADS,SACT;IAAS,IAAA,CAAA,EAAT,SAAS;IAKP,OAAA,CAAA,EAAA,GA4CZ,GAAA,IAAA;EAIgB,CAAA,EAAA;;AAGN,cAnDE,cAmDF,EAnDkB,EAmDlB,CAnDqB,mBAmDrB,CAAA;AAGW,UANL,eAAA,SAAwB,cAMnB,CAAA,KAAA,CAAA,CAAA;EACT,KAAA,EAAA;IAP4B,KAAA,EAAA,MAAA,GAErB,SAFqB;IAAc,IAAA,CAAA,EAG5C,SAH4C;IAa1C,OAAA,CAAA,EAsBZ,GAAA,GAAA,IAAA;;sBA7BqB;aACT;;;;;cAMA,YAAY,GAAG"}
1
+ {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/components/ui/breadcrumb.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAM1D,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,MAAM,EAAE,OAAO,CAAA;IACf,aAAa,CAAC,EAAE;QACd,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;QACzB,IAAI,CAAC,EAAE,SAAS,CAAA;QAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KACrB,EAAE,CAAA;CACJ;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA4ClD,CAAA;AAID,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC5D,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;QACzB,IAAI,CAAC,EAAE,SAAS,CAAA;QAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;QACpB,aAAa,CAAC,EAAE;YACd,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;YACzB,IAAI,CAAC,EAAE,SAAS,CAAA;YAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;SACrB,EAAE,CAAA;KACJ,EAAE,CAAA;CACJ;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAsB1C,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Breadcrumb } from './breadcrumb';
3
+ declare const meta: Meta<typeof Breadcrumb>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Breadcrumb>;
6
+ export declare const Default: Story;
7
+ export declare const WithLinks: Story;
8
+ export declare const WithIcons: Story;
9
+ export declare const WithDropdown: Story;
10
+ export declare const SingleItem: Story;
11
+ export declare const LongPath: Story;
12
+ export declare const WithClickHandlers: Story;
13
+ export declare const TruncatedLabels: Story;
14
+ export declare const MixedTypes: Story;
15
+ export declare const AllVariants: Story;
16
+ export declare const UseCases: Story;
17
+ export declare const AccessibilityExample: Story;
18
+ export declare const Interactive: Story;
19
+ export declare const ClickBreadcrumb: Story;
20
+ export declare const DropdownSelection: Story;
21
+ //# sourceMappingURL=breadcrumb.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ui/breadcrumb.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAmBjC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAiB1B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAiB/B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAe7B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAyBxB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAkFzB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KA0FtB,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAmGlC,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KA+EzB,CAAA;AAGD,eAAO,MAAM,eAAe,EAAE,KAkB7B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KA6B/B,CAAA"}
@@ -1,17 +1,12 @@
1
- import { VariantProps } from "class-variance-authority";
2
- import * as react0 from "react";
3
- import { ButtonHTMLAttributes } from "react";
4
- import * as class_variance_authority_types0 from "class-variance-authority/types";
5
-
6
- //#region src/components/ui/button.d.ts
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ButtonHTMLAttributes } from 'react';
7
3
  declare const buttonVariants: (props?: ({
8
- variant?: "link" | "default" | "outline" | "accent" | "light" | "secondary" | "destructive" | "ghost" | "icon" | null | undefined;
9
- size?: "default" | "icon" | "sm" | "md" | "lg" | null | undefined;
10
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
11
- interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
12
- asChild?: boolean;
4
+ variant?: "link" | "default" | "outline" | "accent" | "light" | "secondary" | "destructive" | "ghost" | "icon" | null | undefined;
5
+ size?: "default" | "icon" | "sm" | "md" | "lg" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
+ asChild?: boolean;
13
9
  }
14
- declare const Button: react0.ForwardRefExoticComponent<ButtonProps & react0.RefAttributes<HTMLButtonElement>>;
15
- //#endregion
16
- export { Button, ButtonProps };
10
+ export declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
11
+ export {};
17
12
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","names":[],"sources":["../../../src/components/ui/button.tsx"],"sourcesContent":[],"mappings":";;;;;;cAMM;;;IA4BL,+BAAA,CAAA;AA5BK,UA8BW,WAAA,SAAoB,oBAFpC,CAEyD,iBAFzD,CAAA,EAE6E,YAF7E,CAAA,OAEiG,cAFjG,CAAA,CAAA;EAEgB,OAAA,CAAA,EAAA,OAAY;;AAAqE,cAIrF,MAJqF,EAI/E,MAAA,CAAA,yBAJ+E,CAI/E,WAJ+E,GAI/E,MAAA,CAAA,aAJ+E,CAI/E,iBAJ+E,CAAA,CAAA"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,KAAK,oBAAoB,EAAc,MAAM,OAAO,CAAA;AAI7D,QAAA,MAAM,cAAc;;;8EA4BnB,CAAA;AAED,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC;IAC/G,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,MAAM,2GAKlB,CAAA"}
@@ -0,0 +1,25 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Button } from './button';
3
+ declare const meta: Meta<typeof Button>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const Accent: Story;
8
+ export declare const Light: Story;
9
+ export declare const Secondary: Story;
10
+ export declare const Destructive: Story;
11
+ export declare const Outline: Story;
12
+ export declare const Ghost: Story;
13
+ export declare const Link: Story;
14
+ export declare const Small: Story;
15
+ export declare const Medium: Story;
16
+ export declare const Large: Story;
17
+ export declare const Icon: Story;
18
+ export declare const WithIcon: Story;
19
+ export declare const Disabled: Story;
20
+ export declare const AllVariants: Story;
21
+ export declare const States: Story;
22
+ export declare const ClickInteraction: Story;
23
+ export declare const DisabledNoClick: Story;
24
+ export declare const KeyboardInteraction: Story;
25
+ //# sourceMappingURL=button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGtD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAqC7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAA;AAGD,eAAO,MAAM,WAAW,EAAE,KAiJzB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KA8CpB,CAAA;AAGD,eAAO,MAAM,gBAAgB,EAAE,KAW9B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAcjC,CAAA"}
@@ -1,8 +1,4 @@
1
- import { ComponentProps, FC } from "react";
2
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
-
4
- //#region src/components/ui/checkbox.d.ts
5
- declare const Checkbox: FC<ComponentProps<typeof CheckboxPrimitive.Root>>;
6
- //#endregion
7
- export { Checkbox };
1
+ import { ComponentProps, FC } from 'react';
2
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
+ export declare const Checkbox: FC<ComponentProps<typeof CheckboxPrimitive.Root>>;
8
4
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","names":[],"sources":["../../../src/components/ui/checkbox.tsx"],"sourcesContent":[],"mappings":";;;;cAKa,UAAU,GAAG,sBAAsB,iBAAA,CAAkB"}
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/C,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAkBtE,CAAA"}
@@ -0,0 +1,25 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Checkbox } from './checkbox';
3
+ declare const meta: Meta<typeof Checkbox>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const Checked: Story;
8
+ export declare const Unchecked: Story;
9
+ export declare const Indeterminate: Story;
10
+ export declare const Disabled: Story;
11
+ export declare const DisabledChecked: Story;
12
+ export declare const DisabledIndeterminate: Story;
13
+ export declare const Error: Story;
14
+ export declare const ErrorChecked: Story;
15
+ export declare const Controlled: Story;
16
+ export declare const WithLabel: Story;
17
+ export declare const WithLabelAndDescription: Story;
18
+ export declare const AllStates: Story;
19
+ export declare const FormExample: Story;
20
+ export declare const CheckboxList: Story;
21
+ export declare const AccessibilityExample: Story;
22
+ export declare const CheckInteraction: Story;
23
+ export declare const KeyboardCheck: Story;
24
+ export declare const IndeterminateInteraction: Story;
25
+ //# sourceMappingURL=checkbox.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAoC/B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAM7B,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAMnC,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAYvB,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,KAerC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAkEvB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KA0FzB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAgF1B,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAqDlC,CAAA;AAGD,eAAO,MAAM,gBAAgB,EAAE,KAa9B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAY3B,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,KAatC,CAAA"}
@@ -1,19 +1,15 @@
1
- import { ContainerHeaderProps } from "./container.js";
2
- import React, { PropsWithChildren, ReactNode } from "react";
3
- import { PanelGroup } from "react-resizable-panels";
4
-
5
- //#region src/components/ui/collapsible-panel.d.ts
6
- interface CollapsiblePanelProps extends PropsWithChildren {
7
- id: string;
8
- header: ReactNode;
9
- withResizeHandle?: boolean;
10
- className?: string;
11
- variant?: ContainerHeaderProps['variant'];
12
- defaultTab?: string;
13
- onTabChange?: (tab: string) => void;
1
+ import { default as React, PropsWithChildren, ReactNode } from 'react';
2
+ import { PanelGroup } from 'react-resizable-panels';
3
+ import { ContainerHeaderProps } from './container.tsx';
4
+ export interface CollapsiblePanelProps extends PropsWithChildren {
5
+ id: string;
6
+ header: ReactNode;
7
+ withResizeHandle?: boolean;
8
+ className?: string;
9
+ variant?: ContainerHeaderProps['variant'];
10
+ defaultTab?: string;
11
+ onTabChange?: (tab: string) => void;
14
12
  }
15
- declare const CollapsiblePanel: React.FC<CollapsiblePanelProps>;
16
- declare const CollapsiblePanelGroup: React.FC<React.ComponentProps<typeof PanelGroup>>;
17
- //#endregion
18
- export { CollapsiblePanel, CollapsiblePanelGroup };
13
+ export declare const CollapsiblePanel: React.FC<CollapsiblePanelProps>;
14
+ export declare const CollapsiblePanelGroup: React.FC<React.ComponentProps<typeof PanelGroup>>;
19
15
  //# sourceMappingURL=collapsible-panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"collapsible-panel.d.ts","names":[],"sources":["../../../src/components/ui/collapsible-panel.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,qBAAA,SAA8B;;EAA9B,MAAA,EAEP,SAFO;EAEP,gBAAA,CAAA,EAAA,OAAA;EAGE,SAAA,CAAA,EAAA,MAAA;EALmC,OAAA,CAAA,EAKnC,oBALmC,CAAA,SAAA,CAAA;EAAiB,UAAA,CAAA,EAAA,MAAA;EAkDnD,WAAA,CAAA,EAAA,CAAA,GAAA,EA+DZ,MAAA,EAAA,GA/DuC,IAAA;AAiExC;AAAyE,cAjE5D,gBAiE4D,EAjE1C,KAAA,CAAM,EAiEoC,CAjEjC,qBAiEiC,CAAA;AAAtB,cAAtC,qBAAsC,EAAf,KAAA,CAAM,EAAS,CAAN,KAAA,CAAM,cAAA,CAAA,OAAsB,UAAtB,CAAA,CAAA"}
1
+ {"version":3,"file":"collapsible-panel.d.ts","sourceRoot":"","sources":["../../../src/components/ui/collapsible-panel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAA0C,MAAM,OAAO,CAAA;AAC7G,OAAO,EAAqC,UAAU,EAAqB,MAAM,wBAAwB,CAAA;AAEzG,OAAO,EAAgD,KAAK,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AAIvH,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,SAAS,CAAA;IACjB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAA;IACzC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;CACpC;AA0CD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA+D5D,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,CAmBnF,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { CollapsiblePanel } from './collapsible-panel';
3
+ declare const meta: Meta<typeof CollapsiblePanel>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const MultiplePanels: Story;
8
+ export declare const WithTabs: Story;
9
+ export declare const UseCases: Story;
10
+ export declare const AccessibilityExample: Story;
11
+ export declare const CollapseExpandPanel: Story;
12
+ //# sourceMappingURL=collapsible-panel.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible-panel.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ui/collapsible-panel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAKtD,OAAO,EAAE,gBAAgB,EAAyB,MAAM,qBAAqB,CAAA;AAG7E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAmDvC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAkCrB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KA2F5B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAmFtB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAsEtB,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KA2DlC,CAAA;AAGD,eAAO,MAAM,mBAAmB,EAAE,KAiCjC,CAAA"}
@@ -1,19 +1,15 @@
1
- import { VariantProps } from "class-variance-authority";
2
- import * as react1 from "react";
3
- import { HTMLAttributes } from "react";
4
- import * as class_variance_authority_types1 from "class-variance-authority/types";
5
-
6
- //#region src/components/ui/container.d.ts
7
- interface ContainerProps extends HTMLAttributes<HTMLDivElement> {}
8
- declare const Container: react1.ForwardRefExoticComponent<ContainerProps & react1.RefAttributes<HTMLDivElement>>;
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { HTMLAttributes } from 'react';
3
+ interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
4
+ }
5
+ export declare const Container: import('react').ForwardRefExoticComponent<ContainerProps & import('react').RefAttributes<HTMLDivElement>>;
9
6
  declare const containerHeaderVariants: (props?: ({
10
- variant?: "default" | "tabs" | null | undefined;
11
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
12
- type ContainerHeaderProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof containerHeaderVariants>;
13
- declare const ContainerHeader: react1.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
14
- variant?: "default" | "tabs" | null | undefined;
15
- } & class_variance_authority_types1.ClassProp) | undefined) => string> & react1.RefAttributes<HTMLDivElement>>;
16
- declare const ContainerContent: react1.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react1.RefAttributes<HTMLDivElement>>;
17
- //#endregion
18
- export { Container, ContainerContent, ContainerHeader, ContainerHeaderProps };
7
+ variant?: "default" | "tabs" | null | undefined;
8
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
+ export type ContainerHeaderProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof containerHeaderVariants>;
10
+ export declare const ContainerHeader: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
11
+ variant?: "default" | "tabs" | null | undefined;
12
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('react').RefAttributes<HTMLDivElement>>;
13
+ export declare const ContainerContent: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
14
+ export {};
19
15
  //# sourceMappingURL=container.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"container.d.ts","names":[],"sources":["../../../src/components/ui/container.tsx"],"sourcesContent":[],"mappings":";;;;;;UAKU,cAAA,SAAuB,eAAe;cAEnC,WAAS,MAAA,CAAA,0BAAA,iBAAA,MAAA,CAAA,cAAA;cAgBhB,+BAHJ;EAfQ,OAAA,CAAA,EAAA,SAAe,GAAA,MAAA,GAAuB,IAAA,GAAA,SAAf;AAEjC,CAAA,GA0BE,+BAAA,CAAA,SAbA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;AAboB,KA4BV,oBAAA,GAAuB,cA5Bb,CA4B4B,cA5B5B,CAAA,GA4B8C,YA5B9C,CAAA,OA4BkE,uBA5BlE,CAAA;AAAA,cA8BT,eA9BS,SA8BM,yBA9BN,CA8BM,cA9BN,CA8BM,cA9BN,CAAA,GA8BM,YA9BN,CAAA,CAAA,KAAA,CAAA,EAAA,CAAA;EAAA,OAAA,CAAA,EAAA,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;CAAA,GA8BM,+BAAA,CAAA,SA9BN,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA,CAAA,uBAAA,eAAA,CAAA,CAAA;AAAA,cA0CT,gBA1CS,EA0CO,MAAA,CAAA,yBA1CP,CA0CO,cA1CP,CA0CO,cA1CP,CAAA,GA0CO,MAAA,CAAA,aA1CP,CA0CO,cA1CP,CAAA,CAAA"}
1
+ {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../src/components/ui/container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAIvD,UAAU,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;CAAG;AAElE,eAAO,MAAM,SAAS,2GAapB,CAAA;AAGF,QAAA,MAAM,uBAAuB;;8EAU3B,CAAA;AAEF,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEhH,eAAO,MAAM,eAAe;;gIAS3B,CAAA;AAGD,eAAO,MAAM,gBAAgB,2HAM5B,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Container } from './container';
3
+ declare const meta: Meta<typeof Container>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Container>;
6
+ export declare const Default: Story;
7
+ export declare const WithTabs: Story;
8
+ export declare const WorkbenchLayout: Story;
9
+ export declare const TabSwitchingInContainer: Story;
10
+ //# sourceMappingURL=container.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ui/container.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAetD,OAAO,EAAE,SAAS,EAAqC,MAAM,aAAa,CAAA;AAG1E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAwBhC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAA;AAEvC,eAAO,MAAM,OAAO,EAAE,KAqBrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KA6CtB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAuH7B,CAAA;AAGD,eAAO,MAAM,uBAAuB,EAAE,KAuBrC,CAAA"}
@@ -1,27 +1,25 @@
1
- import { ComponentProps, FC } from "react";
2
- import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3
-
4
- //#region src/components/ui/dropdown-menu.d.ts
5
- declare const DropdownMenu: FC<ComponentProps<typeof DropdownMenuPrimitive.Root>>;
6
- declare const DropdownMenuTrigger: FC<ComponentProps<typeof DropdownMenuPrimitive.Trigger>>;
7
- declare const DropdownMenuContent: FC<ComponentProps<typeof DropdownMenuPrimitive.Content>>;
8
- declare const DropdownMenuGroup: FC<ComponentProps<typeof DropdownMenuPrimitive.Group>>;
9
- declare const DropdownMenuItem: FC<ComponentProps<typeof DropdownMenuPrimitive.Item> & {
10
- inset?: boolean;
11
- variant?: 'default' | 'destructive';
1
+ import { ComponentProps, FC } from 'react';
2
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
+ export declare const DropdownMenu: FC<ComponentProps<typeof DropdownMenuPrimitive.Root>>;
4
+ export declare const DropdownMenuPortal: FC<ComponentProps<typeof DropdownMenuPrimitive.Portal>>;
5
+ export declare const DropdownMenuTrigger: FC<ComponentProps<typeof DropdownMenuPrimitive.Trigger>>;
6
+ export declare const DropdownMenuContent: FC<ComponentProps<typeof DropdownMenuPrimitive.Content>>;
7
+ export declare const DropdownMenuGroup: FC<ComponentProps<typeof DropdownMenuPrimitive.Group>>;
8
+ export declare const DropdownMenuItem: FC<ComponentProps<typeof DropdownMenuPrimitive.Item> & {
9
+ inset?: boolean;
10
+ variant?: 'default' | 'destructive';
12
11
  }>;
13
- declare const DropdownMenuCheckboxItem: FC<ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>>;
14
- declare const DropdownMenuRadioGroup: FC<ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>>;
15
- declare const DropdownMenuRadioItem: FC<ComponentProps<typeof DropdownMenuPrimitive.RadioItem>>;
16
- declare const DropdownMenuLabel: FC<ComponentProps<typeof DropdownMenuPrimitive.Label> & {
17
- inset?: boolean;
12
+ export declare const DropdownMenuCheckboxItem: FC<ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>>;
13
+ export declare const DropdownMenuRadioGroup: FC<ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>>;
14
+ export declare const DropdownMenuRadioItem: FC<ComponentProps<typeof DropdownMenuPrimitive.RadioItem>>;
15
+ export declare const DropdownMenuLabel: FC<ComponentProps<typeof DropdownMenuPrimitive.Label> & {
16
+ inset?: boolean;
18
17
  }>;
19
- declare const DropdownMenuSeparator: FC<ComponentProps<typeof DropdownMenuPrimitive.Separator>>;
20
- declare const DropdownMenuSub: FC<ComponentProps<typeof DropdownMenuPrimitive.Sub>>;
21
- declare const DropdownMenuSubTrigger: FC<ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
22
- inset?: boolean;
18
+ export declare const DropdownMenuSeparator: FC<ComponentProps<typeof DropdownMenuPrimitive.Separator>>;
19
+ export declare const DropdownMenuShortcut: FC<ComponentProps<'span'>>;
20
+ export declare const DropdownMenuSub: FC<ComponentProps<typeof DropdownMenuPrimitive.Sub>>;
21
+ export declare const DropdownMenuSubTrigger: FC<ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
22
+ inset?: boolean;
23
23
  }>;
24
- declare const DropdownMenuSubContent: FC<ComponentProps<typeof DropdownMenuPrimitive.SubContent>>;
25
- //#endregion
26
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
24
+ export declare const DropdownMenuSubContent: FC<ComponentProps<typeof DropdownMenuPrimitive.SubContent>>;
27
25
  //# sourceMappingURL=dropdown-menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-menu.d.ts","names":[],"sources":["../../../src/components/ui/dropdown-menu.tsx"],"sourcesContent":[],"mappings":";;;;cAKa,cAAc,GAAG,sBAAsB,qBAAA,CAAsB;AAA7D,cAQA,mBANZ,EAMiC,EANjC,CAMoC,cANpC,CAAA,OAM0D,qBAAA,CAAsB,OANhF,CAAA,CAAA;AAFmD,cAYvC,mBAZ6D,EAYxC,EAZwC,CAYrC,cAZqC,CAAA,OAYf,qBAAA,CAAsB,OAZP,CAAA,CAAA;AAA5C,cAgCjB,iBAhCiB,EAgCE,EAhCF,CAgCK,cAhCL,CAAA,OAgC2B,qBAAA,CAAsB,KAhCjD,CAAA,CAAA;AAAH,cAoCd,gBApCc,EAoCI,EApCJ,CAqCzB,cArCyB,CAAA,OAqCH,qBAAA,CAAsB,IArCnB,CAAA,GAAA;EAAE,KAAA,CAAA,EAAA,OAAA;EAQhB,OAAA,CAAA,EAAA,SAAA,GAEZ,aAAA;CAF0D,CAAA;AAAtB,cAgDxB,wBAhDwB,EAgDE,EAhDF,CAgDK,cAhDL,CAAA,OAgD2B,qBAAA,CAAsB,YAhDjD,CAAA,CAAA;AAAH,cA0ErB,sBA1EqB,EA0EG,EA1EH,CA0EM,cA1EN,CAAA,OA0E4B,qBAAA,CAAsB,UA1ElD,CAAA,CAAA;AAAE,cA8EvB,qBA9EuB,EA8EA,EA9EA,CA8EG,cA9EH,CAAA,OA8EyB,qBAAA,CAAsB,SA9E/C,CAAA,CAAA;AAIvB,cAkGA,iBAhFZ,EAgF+B,EAhF/B,CAiFC,cAjFD,CAAA,OAiFuB,qBAAA,CAAsB,KAjF7C,CAAA,GAAA;EAlB0D,KAAA,CAAA,EAAA,OAAA;CAAtB,CAAA;AAAH,cAiHrB,qBAjHqB,EAiHE,EAjHF,CAiHK,cAjHL,CAAA,OAiH2B,qBAAA,CAAsB,SAjHjD,CAAA,CAAA;AAoBrB,cAoHA,eAlHZ,EAkH6B,EAlH7B,CAkHgC,cAlHhC,CAAA,OAkHsD,qBAAA,CAAsB,GAlH5E,CAAA,CAAA;AAFwD,cAwH5C,sBAxHkE,EAwH1C,EAxH0C,CAyH7E,cAzH6E,CAAA,OAyHvD,qBAAA,CAAsB,UAzHiC,CAAA,GAAA;EAA5C,KAAA,CAAA,EAAA,OAAA;CAAH,CAAA;AAAE,cA6IrB,sBA7IqB,EA6IG,EA7IH,CA6IM,cA7IN,CAAA,OA6I4B,qBAAA,CAAsB,UA7IlD,CAAA,CAAA"}
1
+ {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAA;AAEtE,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/C,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAE9E,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAEtF,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,OAAO,CAAC,CAExF,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,OAAO,CAAC,CAkBxF,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,KAAK,CAAC,CAEpF,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAC/B,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,GAAG;IAClD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAA;CACpC,CAcF,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,YAAY,CAAC,CAwBlG,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,CAE9F,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,SAAS,CAAC,CAsB5F,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAChC,cAAc,CAAC,OAAO,qBAAqB,CAAC,KAAK,CAAC,GAAG;IACnD,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAUF,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,SAAS,CAAC,CAW5F,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,CAQ3D,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,GAAG,CAAC,CAEhF,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,EAAE,CACrC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,GAAG;IACxD,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAgBF,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,CAc9F,CAAA"}