@dimasbaguspm/versaur 0.0.0

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 (260) hide show
  1. package/README.md +81 -0
  2. package/dist/alert-DzSPXqwS.js +167 -0
  3. package/dist/app-bar-B4nQkgdL.js +92 -0
  4. package/dist/avatar-Bsn24V6g.js +91 -0
  5. package/dist/badge-DqLCHm9q.js +184 -0
  6. package/dist/bottom-bar-DOQ3gVwW.js +73 -0
  7. package/dist/breadcrumbs-PJV3izUu.js +59 -0
  8. package/dist/button-C8OibEPE.js +81 -0
  9. package/dist/button-float-B8tdLJkX.js +107 -0
  10. package/dist/button-icon-CWji4cBA.js +89 -0
  11. package/dist/calendar-CkLj89o2.js +112 -0
  12. package/dist/checkbox-input-CSboebwt.js +167 -0
  13. package/dist/chip-input-C1PJPDFq.js +189 -0
  14. package/dist/cn-Ca4KprQ1.js +2730 -0
  15. package/dist/components/alert/alert.atoms.d.ts +6 -0
  16. package/dist/components/alert/alert.d.ts +31 -0
  17. package/dist/components/alert/alert.stories.d.ts +42 -0
  18. package/dist/components/alert/helpers.d.ts +14 -0
  19. package/dist/components/alert/index.d.ts +2 -0
  20. package/dist/components/alert/types.d.ts +50 -0
  21. package/dist/components/alert.js +4 -0
  22. package/dist/components/app-bar/app-bar.atoms.d.ts +21 -0
  23. package/dist/components/app-bar/app-bar.d.ts +8 -0
  24. package/dist/components/app-bar/app-bar.stories.d.ts +19 -0
  25. package/dist/components/app-bar/helpers.d.ts +6 -0
  26. package/dist/components/app-bar/index.d.ts +2 -0
  27. package/dist/components/app-bar/types.d.ts +39 -0
  28. package/dist/components/app-bar.js +4 -0
  29. package/dist/components/avatar/avatar.atoms.d.ts +13 -0
  30. package/dist/components/avatar/avatar.d.ts +24 -0
  31. package/dist/components/avatar/avatar.stories.d.ts +42 -0
  32. package/dist/components/avatar/helpers.d.ts +14 -0
  33. package/dist/components/avatar/index.d.ts +2 -0
  34. package/dist/components/avatar/types.d.ts +46 -0
  35. package/dist/components/avatar.js +4 -0
  36. package/dist/components/badge/badge.d.ts +24 -0
  37. package/dist/components/badge/badge.stories.d.ts +46 -0
  38. package/dist/components/badge/helpers.d.ts +10 -0
  39. package/dist/components/badge/index.d.ts +2 -0
  40. package/dist/components/badge/types.d.ts +44 -0
  41. package/dist/components/badge.js +4 -0
  42. package/dist/components/bottom-bar/bottom-bar.atoms.d.ts +2 -0
  43. package/dist/components/bottom-bar/bottom-bar.d.ts +4 -0
  44. package/dist/components/bottom-bar/bottom-bar.stories.d.ts +6 -0
  45. package/dist/components/bottom-bar/helpers.d.ts +7 -0
  46. package/dist/components/bottom-bar/index.d.ts +2 -0
  47. package/dist/components/bottom-bar/types.d.ts +32 -0
  48. package/dist/components/bottom-bar.js +4 -0
  49. package/dist/components/breadcrumbs/breadcrumbs.atoms.d.ts +9 -0
  50. package/dist/components/breadcrumbs/breadcrumbs.d.ts +16 -0
  51. package/dist/components/breadcrumbs/breadcrumbs.stories.d.ts +7 -0
  52. package/dist/components/breadcrumbs/helpers.d.ts +7 -0
  53. package/dist/components/breadcrumbs/index.d.ts +2 -0
  54. package/dist/components/breadcrumbs/types.d.ts +21 -0
  55. package/dist/components/breadcrumbs.js +4 -0
  56. package/dist/components/button/button.d.ts +3 -0
  57. package/dist/components/button/button.stories.d.ts +50 -0
  58. package/dist/components/button/index.d.ts +2 -0
  59. package/dist/components/button/types.d.ts +30 -0
  60. package/dist/components/button-float/button-float.d.ts +8 -0
  61. package/dist/components/button-float/button-float.stories.d.ts +27 -0
  62. package/dist/components/button-float/helpers.d.ts +4 -0
  63. package/dist/components/button-float/index.d.ts +2 -0
  64. package/dist/components/button-float/types.d.ts +31 -0
  65. package/dist/components/button-float.js +4 -0
  66. package/dist/components/button-icon/button-icon.d.ts +3 -0
  67. package/dist/components/button-icon/button-icon.stories.d.ts +45 -0
  68. package/dist/components/button-icon/index.d.ts +2 -0
  69. package/dist/components/button-icon/types.d.ts +48 -0
  70. package/dist/components/button-icon.js +4 -0
  71. package/dist/components/button.js +4 -0
  72. package/dist/components/calendar/calendar.d.ts +8 -0
  73. package/dist/components/calendar/calendar.stories.d.ts +6 -0
  74. package/dist/components/calendar/index.d.ts +2 -0
  75. package/dist/components/calendar/types.d.ts +20 -0
  76. package/dist/components/calendar.js +4 -0
  77. package/dist/components/checkbox-input/checkbox-input.atoms.d.ts +9 -0
  78. package/dist/components/checkbox-input/checkbox-input.d.ts +5 -0
  79. package/dist/components/checkbox-input/checkbox-input.stories.d.ts +44 -0
  80. package/dist/components/checkbox-input/context.d.ts +10 -0
  81. package/dist/components/checkbox-input/helpers.d.ts +11 -0
  82. package/dist/components/checkbox-input/index.d.ts +2 -0
  83. package/dist/components/checkbox-input/types.d.ts +46 -0
  84. package/dist/components/checkbox-input.js +4 -0
  85. package/dist/components/chip-input/chip-input.atoms.d.ts +10 -0
  86. package/dist/components/chip-input/chip-input.d.ts +5 -0
  87. package/dist/components/chip-input/chip-input.stories.d.ts +12 -0
  88. package/dist/components/chip-input/context.d.ts +11 -0
  89. package/dist/components/chip-input/helpers.d.ts +4 -0
  90. package/dist/components/chip-input/index.d.ts +2 -0
  91. package/dist/components/chip-input/types.d.ts +51 -0
  92. package/dist/components/chip-input.js +4 -0
  93. package/dist/components/date-single-picker-input/date-single-picker-input.atoms.d.ts +13 -0
  94. package/dist/components/date-single-picker-input/date-single-picker-input.d.ts +10 -0
  95. package/dist/components/date-single-picker-input/date-single-picker-input.docked.d.ts +14 -0
  96. package/dist/components/date-single-picker-input/date-single-picker-input.docked.stories.d.ts +10 -0
  97. package/dist/components/date-single-picker-input/date-single-picker-input.modal.d.ts +15 -0
  98. package/dist/components/date-single-picker-input/date-single-picker-input.modal.stories.d.ts +10 -0
  99. package/dist/components/date-single-picker-input/helpers.d.ts +3 -0
  100. package/dist/components/date-single-picker-input/index.d.ts +2 -0
  101. package/dist/components/date-single-picker-input/types.d.ts +75 -0
  102. package/dist/components/date-single-picker-input/use-date-single-picker.d.ts +10 -0
  103. package/dist/components/date-single-picker-input.js +4 -0
  104. package/dist/components/drawer/context.d.ts +11 -0
  105. package/dist/components/drawer/drawer.atoms.d.ts +23 -0
  106. package/dist/components/drawer/drawer.d.ts +16 -0
  107. package/dist/components/drawer/drawer.stories.d.ts +41 -0
  108. package/dist/components/drawer/helpers.d.ts +39 -0
  109. package/dist/components/drawer/index.d.ts +10 -0
  110. package/dist/components/drawer/types.d.ts +93 -0
  111. package/dist/components/drawer.js +9 -0
  112. package/dist/components/icon/helpers.d.ts +4 -0
  113. package/dist/components/icon/icon.d.ts +8 -0
  114. package/dist/components/icon/icon.stories.d.ts +39 -0
  115. package/dist/components/icon/index.d.ts +2 -0
  116. package/dist/components/icon/types.d.ts +13 -0
  117. package/dist/components/icon.js +4 -0
  118. package/dist/components/index.d.ts +29 -0
  119. package/dist/components/loading-indicator/helpers.d.ts +9 -0
  120. package/dist/components/loading-indicator/index.d.ts +1 -0
  121. package/dist/components/loading-indicator/loading-indicator.atoms.d.ts +10 -0
  122. package/dist/components/loading-indicator/loading-indicator.d.ts +7 -0
  123. package/dist/components/loading-indicator/loading-indicator.stories.d.ts +16 -0
  124. package/dist/components/loading-indicator/types.d.ts +29 -0
  125. package/dist/components/loading-indicator.js +4 -0
  126. package/dist/components/menu/context.d.ts +13 -0
  127. package/dist/components/menu/helpers.d.ts +8 -0
  128. package/dist/components/menu/index.d.ts +2 -0
  129. package/dist/components/menu/menu.atoms.d.ts +14 -0
  130. package/dist/components/menu/menu.d.ts +7 -0
  131. package/dist/components/menu/menu.stories.d.ts +22 -0
  132. package/dist/components/menu/types.d.ts +36 -0
  133. package/dist/components/menu/use-menu.d.ts +3 -0
  134. package/dist/components/menu.js +4 -0
  135. package/dist/components/modal/helpers.d.ts +7 -0
  136. package/dist/components/modal/index.d.ts +2 -0
  137. package/dist/components/modal/modal.atoms.d.ts +8 -0
  138. package/dist/components/modal/modal.d.ts +7 -0
  139. package/dist/components/modal/modal.stories.d.ts +13 -0
  140. package/dist/components/modal/types.d.ts +48 -0
  141. package/dist/components/modal/use-escape-close.d.ts +6 -0
  142. package/dist/components/modal/use-focus-trap.d.ts +6 -0
  143. package/dist/components/modal.js +4 -0
  144. package/dist/components/radio-input/context.d.ts +11 -0
  145. package/dist/components/radio-input/helpers.d.ts +11 -0
  146. package/dist/components/radio-input/index.d.ts +2 -0
  147. package/dist/components/radio-input/radio-input.atoms.d.ts +9 -0
  148. package/dist/components/radio-input/radio-input.d.ts +5 -0
  149. package/dist/components/radio-input/radio-input.stories.d.ts +74 -0
  150. package/dist/components/radio-input/types.d.ts +54 -0
  151. package/dist/components/radio-input.js +4 -0
  152. package/dist/components/segment-multiple-input/context.d.ts +12 -0
  153. package/dist/components/segment-multiple-input/helpers.d.ts +15 -0
  154. package/dist/components/segment-multiple-input/index.d.ts +2 -0
  155. package/dist/components/segment-multiple-input/segment-multiple-input.atoms.d.ts +12 -0
  156. package/dist/components/segment-multiple-input/segment-multiple-input.d.ts +7 -0
  157. package/dist/components/segment-multiple-input/segment-multiple-input.stories.d.ts +66 -0
  158. package/dist/components/segment-multiple-input/types.d.ts +55 -0
  159. package/dist/components/segment-multiple-input.js +4 -0
  160. package/dist/components/segment-single-input/context.d.ts +12 -0
  161. package/dist/components/segment-single-input/helpers.d.ts +15 -0
  162. package/dist/components/segment-single-input/index.d.ts +2 -0
  163. package/dist/components/segment-single-input/segment-single-input.atoms.d.ts +11 -0
  164. package/dist/components/segment-single-input/segment-single-input.d.ts +7 -0
  165. package/dist/components/segment-single-input/segment-single-input.stories.d.ts +57 -0
  166. package/dist/components/segment-single-input/types.d.ts +55 -0
  167. package/dist/components/segment-single-input.js +4 -0
  168. package/dist/components/select-input/helpers.d.ts +3 -0
  169. package/dist/components/select-input/index.d.ts +2 -0
  170. package/dist/components/select-input/select-input.d.ts +9 -0
  171. package/dist/components/select-input/select-input.stories.d.ts +50 -0
  172. package/dist/components/select-input/types.d.ts +29 -0
  173. package/dist/components/select-input.js +4 -0
  174. package/dist/components/skeleton/helpers.d.ts +6 -0
  175. package/dist/components/skeleton/index.d.ts +2 -0
  176. package/dist/components/skeleton/skeleton.d.ts +6 -0
  177. package/dist/components/skeleton/skeleton.stories.d.ts +25 -0
  178. package/dist/components/skeleton/types.d.ts +17 -0
  179. package/dist/components/skeleton.js +4 -0
  180. package/dist/components/snackbar/helpers.d.ts +8 -0
  181. package/dist/components/snackbar/index.d.ts +2 -0
  182. package/dist/components/snackbar/snackbar.atoms.d.ts +10 -0
  183. package/dist/components/snackbar/snackbar.d.ts +6 -0
  184. package/dist/components/snackbar/snackbar.stories.d.ts +8 -0
  185. package/dist/components/snackbar/types.d.ts +40 -0
  186. package/dist/components/snackbar.js +4 -0
  187. package/dist/components/switch-input/helpers.d.ts +18 -0
  188. package/dist/components/switch-input/index.d.ts +3 -0
  189. package/dist/components/switch-input/switch-input.atoms.d.ts +28 -0
  190. package/dist/components/switch-input/switch-input.d.ts +6 -0
  191. package/dist/components/switch-input/switch-input.stories.d.ts +10 -0
  192. package/dist/components/switch-input/types.d.ts +49 -0
  193. package/dist/components/switch-input.js +7 -0
  194. package/dist/components/tabs/context.d.ts +3 -0
  195. package/dist/components/tabs/helpers.d.ts +8 -0
  196. package/dist/components/tabs/index.d.ts +2 -0
  197. package/dist/components/tabs/tabs.atoms.d.ts +10 -0
  198. package/dist/components/tabs/tabs.d.ts +5 -0
  199. package/dist/components/tabs/tabs.stories.d.ts +17 -0
  200. package/dist/components/tabs/types.d.ts +41 -0
  201. package/dist/components/tabs/use-tab-indicator.d.ts +13 -0
  202. package/dist/components/tabs.js +4 -0
  203. package/dist/components/text/helpers.d.ts +18 -0
  204. package/dist/components/text/index.d.ts +2 -0
  205. package/dist/components/text/text.d.ts +7 -0
  206. package/dist/components/text/text.stories.d.ts +14 -0
  207. package/dist/components/text/types.d.ts +30 -0
  208. package/dist/components/text-input/helpers.d.ts +3 -0
  209. package/dist/components/text-input/index.d.ts +2 -0
  210. package/dist/components/text-input/text-input.d.ts +9 -0
  211. package/dist/components/text-input/text-input.stories.d.ts +20 -0
  212. package/dist/components/text-input/types.d.ts +33 -0
  213. package/dist/components/text-input.js +4 -0
  214. package/dist/components/text.js +4 -0
  215. package/dist/components/textarea-input/helpers.d.ts +4 -0
  216. package/dist/components/textarea-input/index.d.ts +2 -0
  217. package/dist/components/textarea-input/textarea-input.d.ts +10 -0
  218. package/dist/components/textarea-input/textarea-input.stories.d.ts +50 -0
  219. package/dist/components/textarea-input/types.d.ts +40 -0
  220. package/dist/components/textarea-input.js +4 -0
  221. package/dist/components/tile/helpers.d.ts +8 -0
  222. package/dist/components/tile/index.d.ts +2 -0
  223. package/dist/components/tile/tile.d.ts +11 -0
  224. package/dist/components/tile/tile.stories.d.ts +35 -0
  225. package/dist/components/tile/types.d.ts +23 -0
  226. package/dist/components/tile.js +4 -0
  227. package/dist/components/top-bar/helpers.d.ts +26 -0
  228. package/dist/components/top-bar/index.d.ts +2 -0
  229. package/dist/components/top-bar/top-bar.atoms.d.ts +6 -0
  230. package/dist/components/top-bar/top-bar.d.ts +8 -0
  231. package/dist/components/top-bar/top-bar.stories.d.ts +15 -0
  232. package/dist/components/top-bar/types.d.ts +38 -0
  233. package/dist/components/top-bar.js +4 -0
  234. package/dist/date-single-picker-input--Ew0O9NQ.js +252 -0
  235. package/dist/drawer-DrnAR2a4.js +218 -0
  236. package/dist/helpers-CEDtBUGM.js +37 -0
  237. package/dist/hooks/index.d.ts +1 -0
  238. package/dist/hooks/index.js +1 -0
  239. package/dist/icon-D-lTZMHY.js +44 -0
  240. package/dist/index-DU1SCUkk.js +329 -0
  241. package/dist/index.d.ts +2 -0
  242. package/dist/index.js +68 -0
  243. package/dist/loading-indicator-BZMnT5PA.js +168 -0
  244. package/dist/menu-BZvilMF7.js +174 -0
  245. package/dist/modal-BGAtqMl9.js +149 -0
  246. package/dist/radio-input-BRGoevZY.js +173 -0
  247. package/dist/segment-multiple-input-VwHCqFd6.js +229 -0
  248. package/dist/segment-single-input-Cqoo7-C2.js +228 -0
  249. package/dist/select-input-DCb0usvK.js +108 -0
  250. package/dist/skeleton-D4X5USf_.js +59 -0
  251. package/dist/snackbar-CYias-fJ.js +79 -0
  252. package/dist/styles.css +115 -0
  253. package/dist/switch-input-C5s1lvYh.js +186 -0
  254. package/dist/tabs-C8aRKfxS.js +216 -0
  255. package/dist/text-B7e-au41.js +120 -0
  256. package/dist/text-input-BsWvUk_H.js +73 -0
  257. package/dist/textarea-input-DZExXEE8.js +102 -0
  258. package/dist/tile-Du7YciCG.js +51 -0
  259. package/dist/top-bar-ErHvwR4K.js +62 -0
  260. package/package.json +97 -0
@@ -0,0 +1,6 @@
1
+ import { AlertIconProps } from './types';
2
+ /**
3
+ * Alert.Icon component for displaying icons within alerts
4
+ * User-controlled icon content with proper sizing and positioning
5
+ */
6
+ export declare const AlertIcon: import('react').ForwardRefExoticComponent<AlertIconProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,31 @@
1
+ import { AlertProps } from './types';
2
+ /**
3
+ * Alert compound component with sub-components
4
+ *
5
+ * @example
6
+ * ```tsx
7
+ * // Simple usage with icon prop
8
+ * <Alert color="danger" icon={<XCircleIcon />}>
9
+ * Record Not Available - The requested record could not be found.
10
+ * </Alert>
11
+ *
12
+ * // Even simpler with just text
13
+ * <Alert color="info" icon={<InfoIcon />}>
14
+ * Information message
15
+ * </Alert>
16
+ *
17
+ * // Advanced usage with Alert.Icon sub-component (for complex layouts)
18
+ * <Alert color="warning">
19
+ * <Alert.Icon>
20
+ * <AlertTriangleIcon />
21
+ * </Alert.Icon>
22
+ * <div>
23
+ * <h4>Warning</h4>
24
+ * <p>Please review your input.</p>
25
+ * </div>
26
+ * </Alert>
27
+ * ```
28
+ */
29
+ export declare const Alert: import('react').ForwardRefExoticComponent<AlertProps & import('react').RefAttributes<HTMLDivElement>> & {
30
+ Icon: import('react').ForwardRefExoticComponent<import('./types').AlertIconProps & import('react').RefAttributes<HTMLDivElement>>;
31
+ };
@@ -0,0 +1,42 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Alert } from './alert';
3
+ /**
4
+ * Alert component provides inline notifications and status messages.
5
+ * Perfect for "Record not available" messages, form validation feedback,
6
+ * and general status information with user-controlled icons.
7
+ */
8
+ declare const meta: Meta<typeof Alert>;
9
+ export default meta;
10
+ type Story = StoryObj<typeof Alert>;
11
+ /**
12
+ * Default alert with neutral styling for general information
13
+ */
14
+ export declare const Default: Story;
15
+ /**
16
+ * Error alert for displaying error messages and unavailable records
17
+ */
18
+ export declare const RecordNotAvailable: Story;
19
+ /**
20
+ * Success alert for positive feedback
21
+ */
22
+ export declare const Success: Story;
23
+ /**
24
+ * Warning alert for caution messages
25
+ */
26
+ export declare const Warning: Story;
27
+ /**
28
+ * Information alert using the info color
29
+ */
30
+ export declare const Info: Story;
31
+ /**
32
+ * Outline variant demonstration across all colors
33
+ */
34
+ export declare const OutlineVariants: Story;
35
+ /**
36
+ * All color variations in default style
37
+ */
38
+ export declare const AllColors: Story;
39
+ /**
40
+ * Alert without icon for text-only content
41
+ */
42
+ export declare const WithoutIcon: Story;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Alert component variants using Versaur color system
3
+ * Supports both default (soft) and outline variants for all colors
4
+ */
5
+ export declare const alertVariants: (props?: ({
6
+ variant?: "default" | "outline" | null | undefined;
7
+ color?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | "success" | "info" | "warning" | "danger" | null | undefined;
8
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
+ /**
10
+ * Alert icon variants for proper sizing and spacing
11
+ */
12
+ export declare const alertIconVariants: (props?: ({
13
+ size?: "sm" | "md" | "lg" | null | undefined;
14
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Alert } from './alert';
2
+ export type { AlertProps, AlertIconProps } from './types';
@@ -0,0 +1,50 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ /**
3
+ * AlertProps defines the props for the Alert component
4
+ * @property variant - Visual style variant (default or outline)
5
+ * @property color - Color theme for the alert
6
+ * @property icon - Icon element to display (optional)
7
+ * @property className - Additional CSS classes
8
+ * @property children - Alert content including Alert.Title or plain text
9
+ */
10
+ export interface AlertProps extends HTMLAttributes<HTMLDivElement> {
11
+ /**
12
+ * Visual style variant
13
+ * - default: Soft background color with colored text
14
+ * - outline: Bordered style with transparent background
15
+ */
16
+ variant?: 'default' | 'outline';
17
+ /**
18
+ * Color theme based on Versaur color system
19
+ * - primary: Coral color for main actions and brand identity
20
+ * - secondary: Sage color for secondary information
21
+ * - tertiary: Mist color for subtle professional elements
22
+ * - ghost: Slate color for minimal styling
23
+ * - neutral: Light gray for neutral information
24
+ * - success: Green for positive feedback
25
+ * - info: Blue for information
26
+ * - warning: Orange for caution
27
+ * - danger: Red for errors and destructive actions
28
+ */
29
+ color?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'neutral' | 'success' | 'info' | 'warning' | 'danger';
30
+ /**
31
+ * Icon element to display at the start of the alert
32
+ * Can be any React element (typically an SVG icon)
33
+ */
34
+ icon?: ReactNode;
35
+ /**
36
+ * Alert content - can be plain text, Alert.Title, or mixed content
37
+ */
38
+ children?: ReactNode;
39
+ }
40
+ /**
41
+ * AlertIconProps defines the props for the Alert.Icon component
42
+ * @property className - Additional CSS classes
43
+ * @property children - Icon content (typically an SVG icon)
44
+ */
45
+ export interface AlertIconProps extends HTMLAttributes<HTMLDivElement> {
46
+ /**
47
+ * Icon content - user-controlled icon element
48
+ */
49
+ children?: ReactNode;
50
+ }
@@ -0,0 +1,4 @@
1
+ import { A as o } from "../alert-DzSPXqwS.js";
2
+ export {
3
+ o as Alert
4
+ };
@@ -0,0 +1,21 @@
1
+ import { AppBarLeadingProps, AppBarHeadlineProps, AppBarSubtitleProps, AppBarTrailingProps, AppBarCenterProps } from './types';
2
+ /**
3
+ * Leading section (logo, nav icon)
4
+ */
5
+ export declare const AppBarLeading: import('react').ForwardRefExoticComponent<AppBarLeadingProps & import('react').RefAttributes<HTMLDivElement>>;
6
+ /**
7
+ * Headline section (main title)
8
+ */
9
+ export declare const AppBarHeadline: import('react').ForwardRefExoticComponent<AppBarHeadlineProps & import('react').RefAttributes<HTMLDivElement>>;
10
+ /**
11
+ * Subtitle section (secondary text)
12
+ */
13
+ export declare const AppBarSubtitle: import('react').ForwardRefExoticComponent<AppBarSubtitleProps & import('react').RefAttributes<HTMLDivElement>>;
14
+ /**
15
+ * Trailing section (actions, avatar, etc.)
16
+ */
17
+ export declare const AppBarTrailing: import('react').ForwardRefExoticComponent<AppBarTrailingProps & import('react').RefAttributes<HTMLDivElement>>;
18
+ /**
19
+ * Center section (vertical stack of headline/subtitle)
20
+ */
21
+ export declare const AppBarCenter: import('react').ForwardRefExoticComponent<AppBarCenterProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,8 @@
1
+ import { AppBarProps } from './types';
2
+ export declare const AppBar: (({ children, className, variant, }: AppBarProps) => import("react/jsx-runtime").JSX.Element) & {
3
+ Leading: import('react').ForwardRefExoticComponent<import('./types').AppBarLeadingProps & import('react').RefAttributes<HTMLDivElement>>;
4
+ Headline: import('react').ForwardRefExoticComponent<import('./types').AppBarHeadlineProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ Subtitle: import('react').ForwardRefExoticComponent<import('./types').AppBarSubtitleProps & import('react').RefAttributes<HTMLDivElement>>;
6
+ Trailing: import('react').ForwardRefExoticComponent<import('./types').AppBarTrailingProps & import('react').RefAttributes<HTMLDivElement>>;
7
+ Center: import('react').ForwardRefExoticComponent<import('./types').AppBarCenterProps & import('react').RefAttributes<HTMLDivElement>>;
8
+ };
@@ -0,0 +1,19 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { AppBar } from './app-bar';
3
+ declare const meta: {
4
+ title: string;
5
+ component: (({ children, className, variant, }: import('./types').AppBarProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ Leading: import('react').ForwardRefExoticComponent<import('./types').AppBarLeadingProps & import('react').RefAttributes<HTMLDivElement>>;
7
+ Headline: import('react').ForwardRefExoticComponent<import('./types').AppBarHeadlineProps & import('react').RefAttributes<HTMLDivElement>>;
8
+ Subtitle: import('react').ForwardRefExoticComponent<import('./types').AppBarSubtitleProps & import('react').RefAttributes<HTMLDivElement>>;
9
+ Trailing: import('react').ForwardRefExoticComponent<import('./types').AppBarTrailingProps & import('react').RefAttributes<HTMLDivElement>>;
10
+ Center: import('react').ForwardRefExoticComponent<import('./types').AppBarCenterProps & import('react').RefAttributes<HTMLDivElement>>;
11
+ };
12
+ parameters: {
13
+ layout: string;
14
+ };
15
+ };
16
+ export default meta;
17
+ type Story = StoryObj<typeof AppBar>;
18
+ export declare const Home: Story;
19
+ export declare const Detail: Story;
@@ -0,0 +1,6 @@
1
+ export declare const appBarVariants: (props?: ({
2
+ variant?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
+ export declare const appBarCenterVariants: (props?: ({
5
+ placement?: "start" | "center" | "end" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { AppBar } from './app-bar';
2
+ export * from './types';
@@ -0,0 +1,39 @@
1
+ import { ReactNode, HTMLAttributes } from 'react';
2
+ /**
3
+ * Props for AppBarLeading
4
+ */
5
+ export interface AppBarLeadingProps extends HTMLAttributes<HTMLDivElement> {
6
+ children: ReactNode;
7
+ }
8
+ /**
9
+ * Props for AppBarHeadline
10
+ */
11
+ export interface AppBarHeadlineProps extends HTMLAttributes<HTMLDivElement> {
12
+ children: ReactNode;
13
+ }
14
+ /**
15
+ * Props for AppBarSubtitle
16
+ */
17
+ export interface AppBarSubtitleProps extends HTMLAttributes<HTMLDivElement> {
18
+ children: ReactNode;
19
+ }
20
+ /**
21
+ * Props for AppBarTrailing
22
+ */
23
+ export interface AppBarTrailingProps extends HTMLAttributes<HTMLDivElement> {
24
+ children: ReactNode;
25
+ }
26
+ /**
27
+ * Props for AppBarCenter (vertical stack of headline/subtitle)
28
+ */
29
+ export interface AppBarCenterProps extends HTMLAttributes<HTMLDivElement> {
30
+ children: ReactNode;
31
+ placement?: 'start' | 'center' | 'end';
32
+ }
33
+ /**
34
+ * AppBarProps for the main AppBar container
35
+ */
36
+ export interface AppBarProps extends HTMLAttributes<HTMLDivElement> {
37
+ children: React.ReactNode;
38
+ variant?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'neutral';
39
+ }
@@ -0,0 +1,4 @@
1
+ import { A as a } from "../app-bar-B4nQkgdL.js";
2
+ export {
3
+ a as AppBar
4
+ };
@@ -0,0 +1,13 @@
1
+ import { AvatarProps, AvatarImageProps } from './types';
2
+ /**
3
+ * Avatar component - provides the container and fallback display
4
+ * Shows fallback content (children) when no image is provided or image fails to load
5
+ */
6
+ export declare const Avatar: import('react').ForwardRefExoticComponent<AvatarProps & import('react').RefAttributes<HTMLDivElement>>;
7
+ /**
8
+ * AvatarImage component - displays an image with fallback behavior
9
+ * Automatically hides when image fails to load, allowing Avatar fallback content to show
10
+ * Shape is inherited from the parent Avatar container through CSS overflow
11
+ * Error state is reset when src changes to allow new images to load
12
+ */
13
+ export declare const AvatarImage: import('react').ForwardRefExoticComponent<AvatarImageProps & import('react').RefAttributes<HTMLImageElement>>;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Avatar component - displays user avatars with fallback support
3
+ * Uses simple compound pattern for flexible composition
4
+ *
5
+ * @example
6
+ * ```tsx
7
+ * // Basic avatar with fallback text
8
+ * <Avatar>
9
+ * JD
10
+ * </Avatar>
11
+ *
12
+ * // Different variants and sizes
13
+ * <Avatar variant="secondary" size="lg" shape="rounded">
14
+ * <Avatar.Image src="/avatar.jpg" alt="Jane Smith" />
15
+ * JS
16
+ * </Avatar>
17
+ * ```
18
+ */
19
+ export declare const Avatar: import('react').ForwardRefExoticComponent<import('./types').AvatarProps & import('react').RefAttributes<HTMLDivElement>> & {
20
+ /**
21
+ * AvatarImage sub-component for displaying images with fallback behavior
22
+ */
23
+ Image: import('react').ForwardRefExoticComponent<import('./types').AvatarImageProps & import('react').RefAttributes<HTMLImageElement>>;
24
+ };
@@ -0,0 +1,42 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Avatar } from './avatar';
3
+ /**
4
+ * Avatar component displays user avatars with fallback support.
5
+ * It supports multiple variants based on the Versaur color system,
6
+ * different sizes, and shapes with automatic image fallback behavior.
7
+ */
8
+ declare const meta: Meta<typeof Avatar>;
9
+ export default meta;
10
+ type Story = StoryObj<typeof meta>;
11
+ /**
12
+ * Default avatar with fallback text
13
+ */
14
+ export declare const Default: Story;
15
+ /**
16
+ * Avatar with image that loads successfully
17
+ */
18
+ export declare const WithImage: Story;
19
+ /**
20
+ * Avatar with image that fails to load (demonstrates fallback)
21
+ */
22
+ export declare const WithFailedImage: Story;
23
+ /**
24
+ * Different avatar variants showcasing the color system
25
+ */
26
+ export declare const Variants: Story;
27
+ /**
28
+ * Different avatar sizes
29
+ */
30
+ export declare const Sizes: Story;
31
+ /**
32
+ * Different avatar shapes
33
+ */
34
+ export declare const Shapes: Story;
35
+ /**
36
+ * Avatar group showing multiple avatars together
37
+ */
38
+ export declare const Group: Story;
39
+ /**
40
+ * Avatar with different content types
41
+ */
42
+ export declare const ContentTypes: Story;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Avatar variants configuration using CVA
3
+ * Supports different visual styles, sizes, and shapes for flexible avatar displays
4
+ */
5
+ export declare const avatarVariants: (props?: ({
6
+ variant?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | "success" | "info" | "warning" | "danger" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
8
+ shape?: "circle" | "square" | "rounded" | null | undefined;
9
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
10
+ /**
11
+ * Avatar image variants configuration
12
+ * Ensures the image fills the avatar container properly and inherits shape from parent
13
+ */
14
+ export declare const avatarImageVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Avatar } from './avatar';
2
+ export type { AvatarProps, AvatarImageProps } from './types';
@@ -0,0 +1,46 @@
1
+ import { HTMLAttributes, ImgHTMLAttributes } from 'react';
2
+ /**
3
+ * AvatarProps defines the props for the Avatar component
4
+ * @property variant - Visual style variant based on Versaur color system
5
+ * @property size - Size of the avatar (xs, sm, md, lg, xl)
6
+ * @property shape - Shape of the avatar (circle, square, rounded)
7
+ */
8
+ export interface AvatarProps extends HTMLAttributes<HTMLDivElement> {
9
+ /**
10
+ * Visual style variant supporting Versaur color system
11
+ * Core variants: primary (coral), secondary (sage), tertiary (mist), ghost (slate), neutral (light gray)
12
+ * Semantic variants: success, info, warning, danger
13
+ */
14
+ variant?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'neutral' | 'success' | 'info' | 'warning' | 'danger';
15
+ /**
16
+ * Size of the avatar
17
+ * xs: 24px, sm: 32px, md: 40px, lg: 48px, xl: 64px
18
+ */
19
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
20
+ /**
21
+ * Shape of the avatar
22
+ * circle: fully rounded, square: no border radius, rounded: slight border radius
23
+ */
24
+ shape?: 'circle' | 'square' | 'rounded';
25
+ }
26
+ /**
27
+ * AvatarImageProps defines the props for the AvatarImage component
28
+ * @property src - Image source URL
29
+ * @property alt - Alternative text for the image
30
+ * @property onError - Error handler for failed image loads
31
+ */
32
+ export interface AvatarImageProps extends ImgHTMLAttributes<HTMLImageElement> {
33
+ /**
34
+ * Image source URL
35
+ */
36
+ src: string;
37
+ /**
38
+ * Alternative text for the image
39
+ */
40
+ alt: string;
41
+ /**
42
+ * Error handler for failed image loads
43
+ * Called when the image fails to load, triggering fallback to Avatar
44
+ */
45
+ onError?: (event: React.SyntheticEvent<HTMLImageElement, Event>) => void;
46
+ }
@@ -0,0 +1,4 @@
1
+ import { A as o } from "../avatar-Bsn24V6g.js";
2
+ export {
3
+ o as Avatar
4
+ };
@@ -0,0 +1,24 @@
1
+ import { BadgeProps } from './types';
2
+ /**
3
+ * Badge component for presenting or highlighting values with various styles and configurations
4
+ *
5
+ * Follows the Regular Pattern - a simple styled wrapper that aligns with standard HTML behavior.
6
+ * Supports variants (default/outline), sizes, shapes, colors, and icon positioning.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * // Basic usage
11
+ * <Badge>New</Badge>
12
+ *
13
+ * // With variants and colors
14
+ * <Badge variant="outline" color="success">Verified</Badge>
15
+ *
16
+ * // With icons
17
+ * <Badge iconLeft={<CheckIcon />} color="success">Completed</Badge>
18
+ * <Badge iconRight={<ArrowIcon />}>Continue</Badge>
19
+ *
20
+ * // Icon only
21
+ * <Badge iconOnly iconLeft={<StarIcon />} shape="rounded" />
22
+ * ```
23
+ */
24
+ export declare const Badge: import('react').ForwardRefExoticComponent<BadgeProps & import('react').RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,46 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Badge } from './badge';
3
+ /**
4
+ * The Badge component is used to present or highlight values with various styles and configurations.
5
+ * It supports different variants (default/outline), sizes, shapes, colors, and icon positioning.
6
+ * Perfect for status indicators, labels, tags, and highlighting important information.
7
+ */
8
+ declare const meta: Meta<typeof Badge>;
9
+ export default meta;
10
+ type Story = StoryObj<typeof meta>;
11
+ /**
12
+ * The default badge with primary color and medium size.
13
+ */
14
+ export declare const Default: Story;
15
+ /**
16
+ * Showcase all available color variants with default styling.
17
+ */
18
+ export declare const Colors: Story;
19
+ /**
20
+ * Outline variant badges with transparent backgrounds and colored borders.
21
+ */
22
+ export declare const Outline: Story;
23
+ /**
24
+ * Different badge shapes - square (default) and fully rounded.
25
+ */
26
+ export declare const Shapes: Story;
27
+ /**
28
+ * Badges with icons positioned on the left side.
29
+ */
30
+ export declare const WithLeftIcon: Story;
31
+ /**
32
+ * Badges with icons positioned on the right side.
33
+ */
34
+ export declare const WithRightIcon: Story;
35
+ /**
36
+ * Icon-only badges without text content, perfect for compact interfaces.
37
+ */
38
+ export declare const IconOnly: Story;
39
+ /**
40
+ * Real-world usage examples showing common badge patterns.
41
+ */
42
+ export declare const Examples: Story;
43
+ /**
44
+ * Interactive playground for testing different badge configurations.
45
+ */
46
+ export declare const Playground: Story;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Badge component variants using Versaur color system
3
+ * Supports default and outline variants with various colors and sizes
4
+ */
5
+ export declare const badgeVariants: (props?: ({
6
+ variant?: "default" | "outline" | null | undefined;
7
+ color?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | "success" | "info" | "warning" | "danger" | null | undefined;
8
+ shape?: "square" | "rounded" | null | undefined;
9
+ iconOnly?: boolean | null | undefined;
10
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Badge } from './badge';
2
+ export type { BadgeProps } from './types';
@@ -0,0 +1,44 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ /**
3
+ * BadgeProps defines the props for the Badge component
4
+ * @property variant - Visual style variant (default or outline)
5
+ * @property shape - Shape of the badge (rounded or square)
6
+ * @property color - Color variant based on Versaur color system
7
+ * @property iconLeft - Icon to display on the left side
8
+ * @property iconRight - Icon to display on the right side
9
+ */
10
+ export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
11
+ /**
12
+ * Visual style variant
13
+ * - default: Solid background with text
14
+ * - outline: Border with transparent background
15
+ */
16
+ variant?: 'default' | 'outline';
17
+ /**
18
+ * Shape of the badge
19
+ * - rounded: Fully rounded corners (pill-shaped)
20
+ * - square: Standard rounded corners
21
+ */
22
+ shape?: 'rounded' | 'square';
23
+ /**
24
+ * Color variant based on Versaur color system
25
+ * Core colors: primary (coral), secondary (sage), tertiary (mist), ghost (slate), neutral (light gray)
26
+ * Semantic colors: success, info, warning, danger
27
+ */
28
+ color?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'neutral' | 'success' | 'info' | 'warning' | 'danger';
29
+ /**
30
+ * Icon element to display on the left side of the badge
31
+ * When no children are provided and an icon is present, badge automatically becomes icon-only
32
+ */
33
+ iconLeft?: ReactNode;
34
+ /**
35
+ * Icon element to display on the right side of the badge
36
+ * When no children are provided and an icon is present, badge automatically becomes icon-only
37
+ */
38
+ iconRight?: ReactNode;
39
+ /**
40
+ * Content to display in the badge
41
+ * When empty and an icon is provided, badge automatically becomes icon-only
42
+ */
43
+ children?: ReactNode;
44
+ }
@@ -0,0 +1,4 @@
1
+ import { B as o } from "../badge-DqLCHm9q.js";
2
+ export {
3
+ o as Badge
4
+ };
@@ -0,0 +1,2 @@
1
+ import { BottomBarItemProps } from './types';
2
+ export declare const BottomBarItem: import('react').ForwardRefExoticComponent<BottomBarItemProps & import('react').RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,4 @@
1
+ import { BottomBarProps } from './types';
2
+ export declare const BottomBar: (({ children, variant, size, className, ...props }: BottomBarProps) => import("react/jsx-runtime").JSX.Element) & {
3
+ Item: import('react').ForwardRefExoticComponent<import('./types').BottomBarItemProps & import('react').RefAttributes<HTMLButtonElement>>;
4
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { BottomBar } from './bottom-bar';
3
+ declare const meta: Meta<typeof BottomBar>;
4
+ export default meta;
5
+ export declare const ThreeItems: StoryObj<typeof BottomBar>;
6
+ export declare const FiveItems: StoryObj<typeof BottomBar>;
@@ -0,0 +1,7 @@
1
+ export declare const bottomBarVariants: (props?: ({
2
+ variant?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | null | undefined;
3
+ size?: "sm" | "md" | "lg" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
+ export declare const bottomBarItemVariants: (props?: ({
6
+ active?: boolean | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { BottomBar } from './bottom-bar';
2
+ export type { BottomBarProps, BottomBarItemProps } from './types';
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Props for the BottomBar container
3
+ */
4
+ export interface BottomBarProps extends React.HTMLAttributes<HTMLElement> {
5
+ /**
6
+ * Visual variant for the BottomBar
7
+ * @default 'primary'
8
+ */
9
+ variant?: 'primary' | 'secondary' | 'ghost' | 'neutral' | 'tertiary';
10
+ /**
11
+ * Size of the BottomBar
12
+ * @default 'md'
13
+ */
14
+ size?: 'sm' | 'md' | 'lg';
15
+ }
16
+ /**
17
+ * Props for each BottomBar.Item
18
+ */
19
+ export interface BottomBarItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
20
+ /**
21
+ * Icon element for the item
22
+ */
23
+ icon: React.ReactNode;
24
+ /**
25
+ * Label for the item
26
+ */
27
+ label?: string;
28
+ /**
29
+ * Whether the item is active
30
+ */
31
+ active?: boolean;
32
+ }
@@ -0,0 +1,4 @@
1
+ import { B as t } from "../bottom-bar-DOQ3gVwW.js";
2
+ export {
3
+ t as BottomBar
4
+ };
@@ -0,0 +1,9 @@
1
+ import { BreadcrumbsItemProps } from './types';
2
+ /**
3
+ * Single breadcrumb item, used within <Breadcrumbs>
4
+ */
5
+ export declare const BreadcrumbsItem: import('react').ForwardRefExoticComponent<BreadcrumbsItemProps & import('react').RefAttributes<HTMLAnchorElement>>;
6
+ /**
7
+ * Separator between breadcrumb items
8
+ */
9
+ export declare function BreadcrumbsSeparator(): import("react/jsx-runtime").JSX.Element;