@vtx-ui/react 0.0.1-beta.1 → 0.0.1-beta.10

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 (164) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +1 -1
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/types/components/AdminHeader/AdminHeader.d.ts +179 -0
  6. package/dist/types/components/AdminHeader/AdminHeader.examples.d.ts +44 -0
  7. package/dist/types/components/AdminHeader/AdminHeader.stories.d.ts +53 -0
  8. package/dist/types/components/AdminHeader/AdminHeader.widgets.stories.d.ts +86 -0
  9. package/dist/types/components/AdminHeader/index.d.ts +2 -0
  10. package/dist/types/components/Alert/Alert.d.ts +7 -54
  11. package/dist/types/components/Avatar/Avatar.d.ts +5 -2
  12. package/dist/types/components/Badge/Badge.d.ts +8 -34
  13. package/dist/types/components/Button/Button.d.ts +7 -43
  14. package/dist/types/components/Card/Card.d.ts +7 -64
  15. package/dist/types/components/Checkbox/Checkbox.d.ts +5 -59
  16. package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +5 -53
  17. package/dist/types/components/Chip/Chip.d.ts +7 -33
  18. package/dist/types/components/DataGrid/DataGrid.d.ts +97 -0
  19. package/dist/types/components/DataGrid/index.d.ts +2 -0
  20. package/dist/types/components/Divider/Divider.d.ts +5 -72
  21. package/dist/types/components/Flex/Flex.d.ts +5 -26
  22. package/dist/types/components/Grid/Grid.d.ts +5 -77
  23. package/dist/types/components/Header/Header.d.ts +5 -33
  24. package/dist/types/components/Input/Input.d.ts +8 -54
  25. package/dist/types/components/Menu/Menu.d.ts +5 -32
  26. package/dist/types/components/Modal/Modal.d.ts +7 -73
  27. package/dist/types/components/MultiSelect/MultiSelect.d.ts +5 -41
  28. package/dist/types/components/Radio/Radio.d.ts +8 -57
  29. package/dist/types/components/RadioGroup/RadioGroup.d.ts +8 -59
  30. package/dist/types/components/Select/Select.d.ts +8 -60
  31. package/dist/types/components/SideMenu/SideMenu.d.ts +15 -34
  32. package/dist/types/components/SideMenu/SideMenu.examples.d.ts +18 -0
  33. package/dist/types/components/SideMenu/index.d.ts +1 -3
  34. package/dist/types/components/Table/Table.d.ts +108 -60
  35. package/dist/types/components/Text/Text.d.ts +5 -51
  36. package/dist/types/components/Timeline/Timeline.d.ts +34 -0
  37. package/dist/types/components/Timeline/index.d.ts +2 -0
  38. package/dist/types/components/Toast/Toast.d.ts +5 -51
  39. package/dist/types/hoc/withParsedClasses.d.ts +7 -0
  40. package/dist/types/hooks/useTheme.d.ts +1 -244
  41. package/dist/types/icons/IconComponents.d.ts +55 -0
  42. package/dist/types/icons/index.d.ts +1 -0
  43. package/dist/types/index.d.ts +28 -5
  44. package/dist/types/stories/components/Accordion.stories.d.ts +11 -0
  45. package/dist/types/stories/components/Alert.stories.d.ts +9 -0
  46. package/dist/types/stories/components/Avatar.stories.d.ts +13 -0
  47. package/dist/types/stories/components/Badge.stories.d.ts +8 -0
  48. package/dist/types/stories/components/Button.stories.d.ts +9 -0
  49. package/dist/types/stories/components/Card.stories.d.ts +8 -0
  50. package/dist/types/stories/components/Checkbox.stories.d.ts +17 -0
  51. package/dist/types/stories/components/CheckboxGroup.stories.d.ts +13 -0
  52. package/dist/types/stories/components/Chip.stories.d.ts +22 -0
  53. package/dist/types/stories/components/DataGrid.stories.d.ts +20 -0
  54. package/dist/types/stories/components/Divider.stories.d.ts +15 -0
  55. package/dist/types/stories/components/Flex.stories.d.ts +14 -0
  56. package/dist/types/stories/components/Grid.stories.d.ts +11 -0
  57. package/dist/types/stories/components/Header.stories.d.ts +14 -0
  58. package/dist/types/stories/components/Input.stories.d.ts +9 -0
  59. package/dist/types/stories/components/Menu.stories.d.ts +13 -0
  60. package/dist/types/stories/components/Modal.stories.d.ts +12 -0
  61. package/dist/types/stories/components/MultiSelect.stories.d.ts +19 -0
  62. package/dist/types/stories/components/Radio.stories.d.ts +16 -0
  63. package/dist/types/stories/components/RadioGroup.stories.d.ts +15 -0
  64. package/dist/types/stories/components/Select.stories.d.ts +17 -0
  65. package/dist/types/stories/components/SideMenu.stories.d.ts +62 -0
  66. package/dist/types/stories/components/Table.stories.d.ts +25 -0
  67. package/dist/types/stories/components/Text.stories.d.ts +18 -0
  68. package/dist/types/stories/components/Timeline.stories.d.ts +20 -0
  69. package/dist/types/stories/components/Toast.stories.d.ts +17 -0
  70. package/dist/types/stories/components/Tooltip.stories.d.ts +20 -0
  71. package/dist/types/stories/widgets/InfoCard.stories.d.ts +12 -0
  72. package/dist/types/stories/widgets/InfoListCard.stories.d.ts +19 -0
  73. package/dist/types/stories/widgets/InfoText.stories.d.ts +30 -0
  74. package/dist/types/stories/widgets/OrderCard.stories.d.ts +13 -0
  75. package/dist/types/stories/widgets/OrderConfirmation.stories.d.ts +36 -0
  76. package/dist/types/stories/widgets/OrderDetails.stories.d.ts +11 -0
  77. package/dist/types/stories/widgets/ProductCard.stories.d.ts +25 -0
  78. package/dist/types/theme/ThemeProvider.d.ts +2 -2
  79. package/dist/types/theme/cssVariables.d.ts +5 -2
  80. package/dist/types/theme/index.d.ts +3 -3
  81. package/dist/types/theme/tokens.d.ts +271 -216
  82. package/dist/types/utils/parseClass.d.ts +1 -0
  83. package/dist/types/widgets/Header/Header.d.ts +252 -0
  84. package/dist/types/widgets/Header/Header.stories.d.ts +30 -0
  85. package/dist/types/widgets/Header/index.d.ts +2 -0
  86. package/dist/types/widgets/InfoCard/InfoCard.d.ts +40 -0
  87. package/dist/types/widgets/InfoCard/index.d.ts +1 -0
  88. package/dist/types/widgets/InfoListCard/InfoListCard.d.ts +43 -0
  89. package/dist/types/widgets/InfoListCard/index.d.ts +2 -0
  90. package/dist/types/widgets/InfoText/InfoText.d.ts +144 -0
  91. package/dist/types/widgets/InfoText/InfoText.examples.d.ts +33 -0
  92. package/dist/types/widgets/InfoText/index.d.ts +1 -0
  93. package/dist/types/widgets/OrderCard/OrderCard.d.ts +71 -0
  94. package/dist/types/widgets/OrderCard/index.d.ts +2 -0
  95. package/dist/types/widgets/OrderConfirmation/OrderConfirmation.d.ts +85 -0
  96. package/dist/types/widgets/OrderConfirmation/index.d.ts +3 -0
  97. package/dist/types/widgets/OrderDetails/OrderDetails.d.ts +91 -0
  98. package/dist/types/widgets/OrderDetails/index.d.ts +3 -0
  99. package/dist/types/widgets/ProductCard/ProductCard.d.ts +42 -0
  100. package/dist/types/widgets/ProductCard/index.d.ts +1 -0
  101. package/package.json +113 -59
  102. package/dist/components/Accordion/Accordion.d.ts +0 -31
  103. package/dist/components/Accordion/Accordion.examples.d.ts +0 -3
  104. package/dist/components/Accordion/AccordionItem.d.ts +0 -5
  105. package/dist/components/Accordion/index.d.ts +0 -4
  106. package/dist/components/Accordion/types.d.ts +0 -98
  107. package/dist/components/Alert/Alert.d.ts +0 -119
  108. package/dist/components/Alert/index.d.ts +0 -3
  109. package/dist/components/Avatar/Avatar.d.ts +0 -63
  110. package/dist/components/Avatar/index.d.ts +0 -3
  111. package/dist/components/Badge/Badge.d.ts +0 -81
  112. package/dist/components/Badge/index.d.ts +0 -3
  113. package/dist/components/Button/Button.d.ts +0 -117
  114. package/dist/components/Button/index.d.ts +0 -3
  115. package/dist/components/Card/Card.d.ts +0 -120
  116. package/dist/components/Card/index.d.ts +0 -3
  117. package/dist/components/Checkbox/Checkbox.d.ts +0 -114
  118. package/dist/components/Checkbox/index.d.ts +0 -3
  119. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +0 -121
  120. package/dist/components/CheckboxGroup/index.d.ts +0 -3
  121. package/dist/components/Chip/Chip.d.ts +0 -91
  122. package/dist/components/Chip/index.d.ts +0 -3
  123. package/dist/components/Divider/Divider.d.ts +0 -118
  124. package/dist/components/Divider/index.d.ts +0 -3
  125. package/dist/components/Flex/Flex.d.ts +0 -66
  126. package/dist/components/Flex/index.d.ts +0 -3
  127. package/dist/components/Grid/Grid.d.ts +0 -156
  128. package/dist/components/Grid/index.d.ts +0 -3
  129. package/dist/components/Header/Header.d.ts +0 -138
  130. package/dist/components/Header/index.d.ts +0 -3
  131. package/dist/components/Input/Input.d.ts +0 -129
  132. package/dist/components/Input/index.d.ts +0 -3
  133. package/dist/components/Menu/Menu.d.ts +0 -114
  134. package/dist/components/Menu/index.d.ts +0 -4
  135. package/dist/components/Modal/Modal.d.ts +0 -201
  136. package/dist/components/Modal/index.d.ts +0 -3
  137. package/dist/components/MultiSelect/MultiSelect.d.ts +0 -190
  138. package/dist/components/MultiSelect/index.d.ts +0 -3
  139. package/dist/components/Radio/Radio.d.ts +0 -105
  140. package/dist/components/Radio/index.d.ts +0 -3
  141. package/dist/components/RadioGroup/RadioGroup.d.ts +0 -134
  142. package/dist/components/RadioGroup/index.d.ts +0 -3
  143. package/dist/components/Select/Select.d.ts +0 -169
  144. package/dist/components/Select/index.d.ts +0 -3
  145. package/dist/components/SideMenu/SideMenu.d.ts +0 -118
  146. package/dist/components/SideMenu/index.d.ts +0 -4
  147. package/dist/components/Table/Table.d.ts +0 -211
  148. package/dist/components/Table/index.d.ts +0 -3
  149. package/dist/components/Text/Text.d.ts +0 -160
  150. package/dist/components/Text/index.d.ts +0 -3
  151. package/dist/components/Toast/Toast.d.ts +0 -56
  152. package/dist/components/Toast/ToastContainer.d.ts +0 -6
  153. package/dist/components/Toast/index.d.ts +0 -5
  154. package/dist/components/Toast/types.d.ts +0 -148
  155. package/dist/components/Toast/useToast.d.ts +0 -34
  156. package/dist/components/Tooltip/Tooltip.d.ts +0 -108
  157. package/dist/components/Tooltip/index.d.ts +0 -3
  158. package/dist/hooks/index.d.ts +0 -85
  159. package/dist/hooks/useTheme.d.ts +0 -268
  160. package/dist/index.d.ts +0 -55
  161. package/dist/theme/ThemeProvider.d.ts +0 -39
  162. package/dist/theme/cssVariables.d.ts +0 -9
  163. package/dist/theme/index.d.ts +0 -6
  164. package/dist/theme/tokens.d.ts +0 -258
@@ -105,56 +105,10 @@ export interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'colo
105
105
  */
106
106
  children?: React.ReactNode;
107
107
  }
108
- /**
109
- * Text component - Versatile typography component with theme integration
110
- *
111
- * A comprehensive text component that provides consistent typography across your application
112
- * with full theming support and extensive customization options.
113
- *
114
- * @example
115
- * Basic usage with variants
116
- * ```tsx
117
- * <Text variant="h1">Heading 1</Text>
118
- * <Text variant="body1">Regular body text</Text>
119
- * <Text variant="caption" color="neutral.500">Small caption text</Text>
120
- * ```
121
- *
122
- * @example
123
- * Custom styling
124
- * ```tsx
125
- * <Text
126
- * variant="body1"
127
- * weight="bold"
128
- * align="center"
129
- * color="primary.600"
130
- * >
131
- * Centered bold text
132
- * </Text>
133
- * ```
134
- *
135
- * @example
136
- * Truncation and line clamping
137
- * ```tsx
138
- * <Text truncate>This text will be truncated with ellipsis...</Text>
139
- * <Text lineClamp={3}>This text will show only 3 lines before truncating...</Text>
140
- * ```
141
- *
142
- * @example
143
- * Gradient text
144
- * ```tsx
145
- * <Text variant="h2" gradient={['#667eea', '#764ba2']}>
146
- * Gradient Heading
147
- * </Text>
148
- * ```
149
- *
150
- * @example
151
- * Semantic HTML control
152
- * ```tsx
153
- * <Text variant="h1" as="h2">Visually h1, semantically h2</Text>
154
- * <Text variant="body1" as="label" htmlFor="input">Label with body style</Text>
155
- * ```
156
- */
157
- declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
158
- export { Text };
108
+ declare const TextWithParsedClasses: {
109
+ (props: TextProps & React.RefAttributes<HTMLElement>): import("react/jsx-runtime").JSX.Element;
110
+ displayName: string;
111
+ };
112
+ export { TextWithParsedClasses as Text };
159
113
  declare const _default: React.FC<TextProps & React.RefAttributes<HTMLElement>>;
160
114
  export default _default;
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ import './Timeline.css';
3
+ export interface TimelineStep {
4
+ /** Label for the step */
5
+ label: string;
6
+ /** Optional description */
7
+ description?: string;
8
+ /** Optional custom icon */
9
+ icon?: React.ReactNode;
10
+ /** Optional click handler */
11
+ onClick?: () => void;
12
+ }
13
+ export interface TimelineProps {
14
+ /** Array of timeline steps */
15
+ steps: TimelineStep[] | string[];
16
+ /** Current active step index (0-based) */
17
+ currentStep: number;
18
+ /** Orientation of the timeline */
19
+ orientation?: 'horizontal' | 'vertical';
20
+ /** Visual variant */
21
+ variant?: 'default' | 'circle' | 'numbered' | 'simple';
22
+ /** Show checkmarks on completed steps */
23
+ showCheckmarks?: boolean;
24
+ /** Color scheme for active/completed steps */
25
+ color?: 'primary' | 'success' | 'info' | 'warning' | 'error';
26
+ /** Size of the timeline */
27
+ size?: 'sm' | 'md' | 'lg';
28
+ /** Additional class name */
29
+ className?: string;
30
+ /** Inline styles */
31
+ style?: React.CSSProperties;
32
+ }
33
+ declare const Timeline: React.FC<TimelineProps>;
34
+ export default Timeline;
@@ -0,0 +1,2 @@
1
+ export { default as Timeline } from './Timeline';
2
+ export type { TimelineProps, TimelineStep } from './Timeline';
@@ -1,56 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ToastProps } from './types';
3
3
  import './Toast.css';
4
- /**
5
- * Toast component - Displays brief notifications to users
6
- *
7
- * A comprehensive toast notification component with auto-dismiss, progress bar,
8
- * pause on hover, and various visual variants for different message types.
9
- *
10
- * @example
11
- * Basic success toast
12
- * ```tsx
13
- * <Toast variant="success">
14
- * Your changes have been saved successfully!
15
- * </Toast>
16
- * ```
17
- *
18
- * @example
19
- * Toast with action button
20
- * ```tsx
21
- * <Toast
22
- * variant="warning"
23
- * action={<Button size="sm">Undo</Button>}
24
- * autoClose={false}
25
- * >
26
- * Item moved to trash
27
- * </Toast>
28
- * ```
29
- *
30
- * @example
31
- * Custom toast with icon
32
- * ```tsx
33
- * <Toast
34
- * variant="info"
35
- * icon={<CustomIcon />}
36
- * progressBar={false}
37
- * >
38
- * Update available for download
39
- * </Toast>
40
- * ```
41
- *
42
- * @example
43
- * Toast with custom auto-close duration
44
- * ```tsx
45
- * <Toast
46
- * variant="error"
47
- * autoClose={10000}
48
- * pauseOnHover={false}
49
- * >
50
- * Failed to connect to server
51
- * </Toast>
52
- * ```
53
- */
54
- export declare const Toast: React.ForwardRefExoticComponent<ToastProps & React.RefAttributes<HTMLDivElement>>;
4
+ declare const ToastWithParsedClasses: {
5
+ (props: ToastProps & React.RefAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
55
8
  declare const _default: React.FC<ToastProps & React.RefAttributes<HTMLDivElement>>;
56
9
  export default _default;
10
+ export { ToastWithParsedClasses as Toast };
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ export declare function withParsedClasses<T extends {
3
+ className?: string;
4
+ }>(Component: React.ComponentType<T>): {
5
+ (props: T): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
@@ -19,250 +19,7 @@
19
19
  * ```
20
20
  */
21
21
  export declare const useTheme: () => {
22
- tokens: {
23
- readonly colors: {
24
- readonly primary: {
25
- readonly 50: "#eff6ff";
26
- readonly 100: "#dbeafe";
27
- readonly 200: "#bfdbfe";
28
- readonly 300: "#93c5fd";
29
- readonly 400: "#60a5fa";
30
- readonly 500: "#3b82f6";
31
- readonly 600: "#2563eb";
32
- readonly 700: "#1d4ed8";
33
- readonly 800: "#1e40af";
34
- readonly 900: "#1e3a8a";
35
- };
36
- readonly secondary: {
37
- readonly 50: "#f5f3ff";
38
- readonly 100: "#ede9fe";
39
- readonly 200: "#ddd6fe";
40
- readonly 300: "#c4b5fd";
41
- readonly 400: "#a78bfa";
42
- readonly 500: "#8b5cf6";
43
- readonly 600: "#7c3aed";
44
- readonly 700: "#6d28d9";
45
- readonly 800: "#5b21b6";
46
- readonly 900: "#4c1d95";
47
- };
48
- readonly neutral: {
49
- readonly 50: "#fafafa";
50
- readonly 100: "#f5f5f5";
51
- readonly 200: "#e5e5e5";
52
- readonly 300: "#d4d4d4";
53
- readonly 400: "#a3a3a3";
54
- readonly 500: "#737373";
55
- readonly 600: "#525252";
56
- readonly 700: "#404040";
57
- readonly 800: "#262626";
58
- readonly 900: "#171717";
59
- };
60
- readonly success: {
61
- readonly 50: "#f0fdf4";
62
- readonly 500: "#22c55e";
63
- readonly 600: "#16a34a";
64
- readonly 700: "#15803d";
65
- };
66
- readonly warning: {
67
- readonly 50: "#fffbeb";
68
- readonly 500: "#f59e0b";
69
- readonly 600: "#d97706";
70
- readonly 700: "#b45309";
71
- };
72
- readonly error: {
73
- readonly 50: "#fef2f2";
74
- readonly 500: "#ef4444";
75
- readonly 600: "#dc2626";
76
- readonly 700: "#b91c1c";
77
- };
78
- readonly info: {
79
- readonly 50: "#eff6ff";
80
- readonly 500: "#3b82f6";
81
- readonly 600: "#2563eb";
82
- readonly 700: "#1d4ed8";
83
- };
84
- };
85
- readonly spacing: {
86
- readonly 0: "0";
87
- readonly 1: "0.25rem";
88
- readonly 2: "0.5rem";
89
- readonly 3: "0.75rem";
90
- readonly 4: "1rem";
91
- readonly 5: "1.25rem";
92
- readonly 6: "1.5rem";
93
- readonly 8: "2rem";
94
- readonly 10: "2.5rem";
95
- readonly 12: "3rem";
96
- readonly 16: "4rem";
97
- readonly 20: "5rem";
98
- readonly 24: "6rem";
99
- };
100
- readonly typography: {
101
- readonly fontFamily: {
102
- readonly sans: "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif";
103
- readonly mono: "ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace";
104
- };
105
- readonly fontSize: {
106
- readonly xs: "0.75rem";
107
- readonly sm: "0.875rem";
108
- readonly base: "1rem";
109
- readonly lg: "1.125rem";
110
- readonly xl: "1.25rem";
111
- readonly '2xl': "1.5rem";
112
- readonly '3xl': "1.875rem";
113
- readonly '4xl': "2.25rem";
114
- readonly '5xl': "3rem";
115
- readonly '6xl': "3.75rem";
116
- readonly '7xl': "4.5rem";
117
- readonly '8xl': "6rem";
118
- readonly '9xl': "8rem";
119
- };
120
- readonly fontWeight: {
121
- readonly thin: "100";
122
- readonly extralight: "200";
123
- readonly light: "300";
124
- readonly normal: "400";
125
- readonly medium: "500";
126
- readonly semibold: "600";
127
- readonly bold: "700";
128
- readonly extrabold: "800";
129
- readonly black: "900";
130
- };
131
- readonly lineHeight: {
132
- readonly none: "1";
133
- readonly tight: "1.25";
134
- readonly snug: "1.375";
135
- readonly normal: "1.5";
136
- readonly relaxed: "1.625";
137
- readonly loose: "2";
138
- };
139
- readonly letterSpacing: {
140
- readonly tighter: "-0.05em";
141
- readonly tight: "-0.025em";
142
- readonly normal: "0";
143
- readonly wide: "0.025em";
144
- readonly wider: "0.05em";
145
- readonly widest: "0.1em";
146
- };
147
- readonly textVariants: {
148
- readonly h1: {
149
- readonly fontSize: "3.75rem";
150
- readonly fontWeight: "700";
151
- readonly lineHeight: "1.2";
152
- readonly letterSpacing: "-0.025em";
153
- };
154
- readonly h2: {
155
- readonly fontSize: "3rem";
156
- readonly fontWeight: "700";
157
- readonly lineHeight: "1.25";
158
- readonly letterSpacing: "-0.025em";
159
- };
160
- readonly h3: {
161
- readonly fontSize: "2.25rem";
162
- readonly fontWeight: "600";
163
- readonly lineHeight: "1.3";
164
- readonly letterSpacing: "-0.025em";
165
- };
166
- readonly h4: {
167
- readonly fontSize: "1.875rem";
168
- readonly fontWeight: "600";
169
- readonly lineHeight: "1.35";
170
- readonly letterSpacing: "0";
171
- };
172
- readonly h5: {
173
- readonly fontSize: "1.5rem";
174
- readonly fontWeight: "600";
175
- readonly lineHeight: "1.4";
176
- readonly letterSpacing: "0";
177
- };
178
- readonly h6: {
179
- readonly fontSize: "1.25rem";
180
- readonly fontWeight: "600";
181
- readonly lineHeight: "1.5";
182
- readonly letterSpacing: "0";
183
- };
184
- readonly body1: {
185
- readonly fontSize: "1rem";
186
- readonly fontWeight: "400";
187
- readonly lineHeight: "1.5";
188
- readonly letterSpacing: "0";
189
- };
190
- readonly body2: {
191
- readonly fontSize: "0.875rem";
192
- readonly fontWeight: "400";
193
- readonly lineHeight: "1.5";
194
- readonly letterSpacing: "0";
195
- };
196
- readonly subtitle1: {
197
- readonly fontSize: "1.125rem";
198
- readonly fontWeight: "500";
199
- readonly lineHeight: "1.5";
200
- readonly letterSpacing: "0";
201
- };
202
- readonly subtitle2: {
203
- readonly fontSize: "1rem";
204
- readonly fontWeight: "500";
205
- readonly lineHeight: "1.5";
206
- readonly letterSpacing: "0";
207
- };
208
- readonly caption: {
209
- readonly fontSize: "0.75rem";
210
- readonly fontWeight: "400";
211
- readonly lineHeight: "1.5";
212
- readonly letterSpacing: "0.025em";
213
- };
214
- readonly overline: {
215
- readonly fontSize: "0.75rem";
216
- readonly fontWeight: "600";
217
- readonly lineHeight: "1.5";
218
- readonly letterSpacing: "0.1em";
219
- readonly textTransform: "uppercase";
220
- };
221
- readonly button: {
222
- readonly fontSize: "0.875rem";
223
- readonly fontWeight: "600";
224
- readonly lineHeight: "1.5";
225
- readonly letterSpacing: "0.025em";
226
- };
227
- readonly label: {
228
- readonly fontSize: "0.875rem";
229
- readonly fontWeight: "500";
230
- readonly lineHeight: "1.5";
231
- readonly letterSpacing: "0";
232
- };
233
- };
234
- };
235
- readonly borderRadius: {
236
- readonly none: "0";
237
- readonly sm: "0.125rem";
238
- readonly base: "0.25rem";
239
- readonly md: "0.375rem";
240
- readonly lg: "0.5rem";
241
- readonly xl: "0.75rem";
242
- readonly '2xl': "1rem";
243
- readonly full: "9999px";
244
- };
245
- readonly shadows: {
246
- readonly sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
247
- readonly base: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
248
- readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
249
- readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
250
- readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
251
- readonly none: "none";
252
- };
253
- readonly transitions: {
254
- readonly fast: "150ms cubic-bezier(0.4, 0, 0.2, 1)";
255
- readonly base: "200ms cubic-bezier(0.4, 0, 0.2, 1)";
256
- readonly slow: "300ms cubic-bezier(0.4, 0, 0.2, 1)";
257
- };
258
- readonly zIndex: {
259
- readonly dropdown: 1000;
260
- readonly sticky: 1100;
261
- readonly modal: 1200;
262
- readonly tooltip: 1300;
263
- readonly notification: 1400;
264
- };
265
- };
22
+ tokens: import("..").Tokens;
266
23
  mode: "light" | "dark";
267
24
  setMode: (mode: "light" | "dark") => void;
268
25
  };
@@ -0,0 +1,55 @@
1
+ export declare const SpinnerIcon: (props: {
2
+ size?: number;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const CheckIcon: import("react-icons/lib").IconType;
5
+ export declare const CloseSmallIcon: (props: {
6
+ size?: number;
7
+ }) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const ChevronDownIcon: import("react-icons/lib").IconType;
9
+ export declare const PlusIcon: import("react-icons/lib").IconType;
10
+ export declare const MinusIcon: import("react-icons/lib").IconType;
11
+ export declare const BellIcon: import("react-icons/lib").IconType;
12
+ export declare const MenuIcon: import("react-icons/lib").IconType;
13
+ export declare const ChevronUpIcon: import("react-icons/lib").IconType;
14
+ export declare const ChevronLeftIcon: import("react-icons/lib").IconType;
15
+ export declare const ChevronRightIcon: import("react-icons/lib").IconType;
16
+ export declare const CheckCircleIcon: import("react-icons/lib").IconType;
17
+ export declare const ErrorIcon: import("react-icons/lib").IconType;
18
+ export declare const WarningIcon: import("react-icons/lib").IconType;
19
+ export declare const InfoIcon: import("react-icons/lib").IconType;
20
+ export declare const NeutralIcon: import("react-icons/lib").IconType;
21
+ export declare const DownloadIcon: import("react-icons/lib").IconType;
22
+ export declare const PackageIcon: import("react-icons/lib").IconType;
23
+ export declare const ShoppingBagIcon: import("react-icons/lib").IconType;
24
+ export declare const ShareIcon: import("react-icons/lib").IconType;
25
+ export declare const EyeIcon: import("react-icons/lib").IconType;
26
+ export declare const CreditCardIcon: import("react-icons/lib").IconType;
27
+ export declare const MessageIcon: import("react-icons/lib").IconType;
28
+ export declare const MapPinIcon: import("react-icons/lib").IconType;
29
+ export declare const PhoneIcon: import("react-icons/lib").IconType;
30
+ export declare const TruckIcon: import("react-icons/lib").IconType;
31
+ export declare const CloseIcon: import("react-icons/lib").IconType;
32
+ export declare const ReturnIcon: import("react-icons/lib").IconType;
33
+ export declare const RefreshIcon: import("react-icons/lib").IconType;
34
+ export declare const StarIcon: import("react-icons/lib").IconType;
35
+ export declare const SearchIcon: import("react-icons/lib").IconType;
36
+ export declare const UserIcon: import("react-icons/lib").IconType;
37
+ export declare const HomeIcon: import("react-icons/lib").IconType;
38
+ export declare const ShoppingCartIcon: import("react-icons/lib").IconType;
39
+ export declare const HeartIcon: import("react-icons/lib").IconType;
40
+ export declare const SettingsIcon: import("react-icons/lib").IconType;
41
+ export declare const HelpCircleIcon: import("react-icons/lib").IconType;
42
+ export declare const LogOutIcon: import("react-icons/lib").IconType;
43
+ export declare const TrendingUpIcon: import("react-icons/lib").IconType;
44
+ export declare const LayersIcon: import("react-icons/lib").IconType;
45
+ export declare const ServerIcon: import("react-icons/lib").IconType;
46
+ export declare const CodeIcon: import("react-icons/lib").IconType;
47
+ export declare const ZapIcon: import("react-icons/lib").IconType;
48
+ export declare const ChartBarIcon: import("react-icons/lib").IconType;
49
+ export declare const InboxIcon: import("react-icons/lib").IconType;
50
+ export declare const DocumentIcon: import("react-icons/lib").IconType;
51
+ export declare const ArrowUpIcon: import("react-icons/lib").IconType;
52
+ export declare const ArrowDownIcon: import("react-icons/lib").IconType;
53
+ export declare const FilterIcon: import("react-icons/lib").IconType;
54
+ export declare const ChevronsLeftIcon: import("react-icons/lib").IconType;
55
+ export declare const ChevronsRightIcon: import("react-icons/lib").IconType;
@@ -0,0 +1 @@
1
+ export * from './IconComponents';
@@ -25,31 +25,54 @@ export type { MenuItemProps, MenuProps } from './components/Menu';
25
25
  export { Modal } from './components/Modal';
26
26
  export type { ModalProps } from './components/Modal';
27
27
  export { Toast, toast, ToastContainer, useToast } from './components/Toast';
28
- export type { ToastContainerProps, ToastOptions, ToastProps } from './components/Toast/types';
28
+ export type { ToastContainerProps, ToastOptions, ToastProps, ToastVariant, ToastPosition, ToastInstance } from './components/Toast/types';
29
29
  export { Tooltip } from './components/Tooltip';
30
30
  export type { TooltipProps } from './components/Tooltip';
31
+ export { AdminHeader } from './components/AdminHeader';
32
+ export type { AdminHeaderProps, NotificationItem as AdminNotificationItem, UserMenuItem, QuickAction, SearchSuggestion } from './components/AdminHeader';
31
33
  export { Avatar } from './components/Avatar';
32
34
  export type { AvatarProps } from './components/Avatar';
33
35
  export { Badge } from './components/Badge';
34
36
  export type { BadgeProps } from './components/Badge';
35
37
  export { Card } from './components/Card';
36
38
  export type { CardProps } from './components/Card';
39
+ export { DataGrid } from './components/DataGrid';
40
+ export type { DataGridColumn, DataGridProps, GridFilterItem, GridFilterModel, GridFilterOperator, GridRowSelectionModel, } from './components/DataGrid';
37
41
  export { Divider } from './components/Divider';
38
42
  export type { DividerProps } from './components/Divider';
39
43
  export { Header } from './components/Header';
40
44
  export type { HeaderProps, NotificationItem } from './components/Header';
41
- export { SideMenu, SideMenuItem } from './components/SideMenu';
45
+ export { SideMenu } from './components/SideMenu';
42
46
  export type { SideMenuItemProps, SideMenuProps } from './components/SideMenu';
47
+ export { SideMenuItem } from './components/SideMenu';
43
48
  export { Table } from './components/Table';
44
49
  export type { TableColumn, TableProps } from './components/Table';
45
50
  export { Text } from './components/Text';
46
51
  export type { TextProps } from './components/Text';
52
+ export { Timeline } from './components/Timeline';
53
+ export type { TimelineProps, TimelineStep } from './components/Timeline';
47
54
  export { Flex } from './components/Flex';
48
55
  export type { FlexProps } from './components/Flex';
49
56
  export { Grid } from './components/Grid';
50
57
  export type { GridProps } from './components/Grid';
51
58
  export { ThemeProvider, useThemeContext } from './theme';
52
- export type { Theme, ThemeProviderProps } from './theme';
53
- export { tokens, generateCSSVariables, injectCSSVariables } from './theme';
54
- export type { Tokens, ColorScale, ColorShade } from './theme';
59
+ export type { Theme, ThemeProviderProps, Size } from './theme';
60
+ export { tokens, generateCSSVariables, injectCSSVariables, createCustomTokens, generateColorShades, normalizeColors } from './theme';
61
+ export type { Tokens, ColorScale, ColorShade, CustomTokens, CustomColors, ColorPalette } from './theme';
55
62
  export { useBodyScrollLock, useClickOutside, useDebounce, useEscapeKey, useFocusTrap, useId, } from './hooks';
63
+ export { InfoCard } from './widgets/InfoCard';
64
+ export type { InfoCardBaseProps, InfoCardMetricProps } from './widgets/InfoCard';
65
+ export { InfoText } from './widgets/InfoText';
66
+ export type { InfoTextBaseProps, InfoTextStatProps, InfoTextFeatureProps, InfoTextCompactProps, InfoTextVerticalProps, } from './widgets/InfoText';
67
+ export { ProductCard } from './widgets/ProductCard';
68
+ export type { ProductCardProps, ProductCardWideProps } from './widgets/ProductCard';
69
+ export { OrderCard } from './widgets/OrderCard';
70
+ export type { OrderCardProps, OrderItem } from './widgets/OrderCard';
71
+ export { InfoListCard } from './widgets/InfoListCard';
72
+ export type { InfoListCardProps, InfoListItem } from './widgets/InfoListCard';
73
+ export { OrderConfirmation } from './widgets/OrderConfirmation';
74
+ export type { OrderConfirmationProps, OrderConfirmationItem, OrderConfirmationAddress } from './widgets/OrderConfirmation';
75
+ export { OrderDetails } from './widgets/OrderDetails';
76
+ export type { OrderDetailsProps, OrderDetailsItem, OrderDetailsAddress } from './widgets/OrderDetails';
77
+ export { Header as HomeHeader } from './widgets/Header';
78
+ export type { NavigationItem, HeaderDesktopProps, HeaderMobileProps, HeaderResponsiveProps } from './widgets/Header';
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Accordion } from '../../components/Accordion';
3
+ declare const meta: Meta<typeof Accordion>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const AllowMultiple: Story;
8
+ export declare const WithDefaultOpen: Story;
9
+ export declare const Bordered: Story;
10
+ export declare const Large: Story;
11
+ export declare const LeftChevron: Story;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Alert } from '../../components/Alert';
3
+ declare const meta: Meta<typeof Alert>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Success: Story;
7
+ export declare const Error: Story;
8
+ export declare const Warning: Story;
9
+ export declare const Info: Story;
@@ -0,0 +1,13 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Avatar } from '../../components/Avatar';
3
+ declare const meta: Meta<typeof Avatar>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const WithFallback: Story;
8
+ export declare const Small: Story;
9
+ export declare const Large: Story;
10
+ export declare const Square: Story;
11
+ export declare const BrokenImage: Story;
12
+ export declare const LongFallbackText: Story;
13
+ export declare const AllSizes: Story;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Badge } from '../../components/Badge';
3
+ declare const meta: Meta<typeof Badge>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Success: Story;
8
+ export declare const AllVariants: Story;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Button } from '../../components/Button';
3
+ declare const meta: Meta<typeof Button>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Secondary: Story;
8
+ export declare const Loading: Story;
9
+ export declare const AllVariants: Story;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Card } from '../../components/Card';
3
+ declare const meta: Meta<typeof Card>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const Elevated: Story;
8
+ export declare const Outlined: Story;
@@ -0,0 +1,17 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Checkbox } from '../../components/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 Indeterminate: Story;
9
+ export declare const Disabled: Story;
10
+ export declare const DisabledChecked: Story;
11
+ export declare const WithHelperText: Story;
12
+ export declare const WithError: Story;
13
+ export declare const Small: Story;
14
+ export declare const Large: Story;
15
+ export declare const Success: Story;
16
+ export declare const Warning: Story;
17
+ export declare const AllSizes: Story;
@@ -0,0 +1,13 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { CheckboxGroup } from '../../components/CheckboxGroup';
3
+ declare const meta: Meta<typeof CheckboxGroup>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const WithDefaultValues: Story;
8
+ export declare const Horizontal: Story;
9
+ export declare const Disabled: Story;
10
+ export declare const WithDisabledOptions: Story;
11
+ export declare const WithError: Story;
12
+ export declare const Small: Story;
13
+ export declare const Large: Story;