@jordan-mace/chaser-design-system 2.1.2 → 2.2.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 (224) hide show
  1. package/dist/build-manifest.json +3311 -1978
  2. package/dist/{chunk-DGP64SMQ.mjs → chunk-5EXQ5OSW.mjs} +1 -1
  3. package/dist/{chunk-HIODYNPY.mjs → chunk-CGKVSHV7.mjs} +0 -1
  4. package/dist/{chunk-VXRFKQMB.mjs → chunk-CJ5OBPQ7.mjs} +1 -0
  5. package/dist/{chunk-D62WZ7PJ.mjs → chunk-DLVBLJS5.mjs} +1 -1
  6. package/dist/{chunk-3AD3E4FY.mjs → chunk-GJTMCP2V.mjs} +1 -4
  7. package/dist/{chunk-HOWN3CZF.mjs → chunk-GWMUTYRW.mjs} +1 -1
  8. package/dist/{chunk-DB7I3V3C.mjs → chunk-P6ITY5TK.mjs} +0 -1
  9. package/dist/{chunk-HG3TXGUV.mjs → chunk-WBE75WTG.mjs} +1 -2
  10. package/dist/{chunk-P6A62GCQ.mjs → chunk-WV2TDE35.mjs} +1 -4
  11. package/dist/{chunk-IU6IODBX.mjs → chunk-YKUJ2KUN.mjs} +1 -1
  12. package/dist/{chunk-KVXPG4QT.mjs → chunk-ZT5III36.mjs} +0 -1
  13. package/dist/components/Accordion/Accordion.mjs +3 -1
  14. package/dist/components/Accordion/Accordion.types.mjs +0 -0
  15. package/dist/components/Accordion/index.mjs +4 -2
  16. package/dist/components/Alert/Alert.types.mjs +0 -0
  17. package/dist/components/AspectRatio/AspectRatio.types.mjs +0 -0
  18. package/dist/components/Avatar/Avatar.types.mjs +0 -0
  19. package/dist/components/Badge/Badge.mjs +1 -1
  20. package/dist/components/Badge/Badge.types.mjs +0 -0
  21. package/dist/components/Badge/index.mjs +1 -1
  22. package/dist/components/Box/Box.types.mjs +0 -0
  23. package/dist/components/Breadcrumb/Breadcrumb.mjs +1 -1
  24. package/dist/components/Breadcrumb/Breadcrumb.types.mjs +0 -0
  25. package/dist/components/Breadcrumb/index.mjs +1 -1
  26. package/dist/components/Button/Button.types.mjs +0 -0
  27. package/dist/components/Card/Card.types.mjs +0 -0
  28. package/dist/components/Checkbox/Checkbox.types.mjs +0 -0
  29. package/dist/components/Collapse/Collapse.mjs +1 -1
  30. package/dist/components/Collapse/Collapse.types.mjs +0 -0
  31. package/dist/components/Collapse/index.mjs +1 -1
  32. package/dist/components/Combobox/Combobox.mjs +1 -1
  33. package/dist/components/Combobox/Combobox.types.mjs +0 -0
  34. package/dist/components/Combobox/index.mjs +1 -1
  35. package/dist/components/Container/Container.types.mjs +0 -0
  36. package/dist/components/Divider/Divider.mjs +1 -1
  37. package/dist/components/Divider/Divider.types.mjs +0 -0
  38. package/dist/components/Divider/index.mjs +1 -1
  39. package/dist/components/Drawer/Drawer.types.mjs +0 -0
  40. package/dist/components/DropdownMenu/DropdownMenu.types.mjs +0 -0
  41. package/dist/components/EmptyState/EmptyState.types.mjs +0 -0
  42. package/dist/components/FileUpload/FileUpload.mjs +1 -1
  43. package/dist/components/FileUpload/FileUpload.types.mjs +0 -0
  44. package/dist/components/FileUpload/index.mjs +1 -1
  45. package/dist/components/Form/Form.types.mjs +0 -0
  46. package/dist/components/Form/FormInput.mjs +38 -38
  47. package/dist/components/Form/FormInput.types.mjs +0 -0
  48. package/dist/components/Form/index.mjs +38 -38
  49. package/dist/components/Grid/Grid.types.mjs +0 -0
  50. package/dist/components/Icon/Icon.types.mjs +0 -0
  51. package/dist/components/Input/Input.types.mjs +0 -0
  52. package/dist/components/Kbd/Kbd.types.mjs +0 -0
  53. package/dist/components/List/List.mjs +1 -1
  54. package/dist/components/List/List.types.mjs +0 -0
  55. package/dist/components/List/ListItem.mjs +1 -1
  56. package/dist/components/List/ListItem.types.mjs +0 -0
  57. package/dist/components/List/index.mjs +2 -2
  58. package/dist/components/Modal/Modal.types.mjs +0 -0
  59. package/dist/components/Navbar/Navbar.types.mjs +0 -0
  60. package/dist/components/Navbar/NavbarItem.types.mjs +0 -0
  61. package/dist/components/Navbar/index.mjs +3 -3
  62. package/dist/components/NumberInput/NumberInput.types.mjs +0 -0
  63. package/dist/components/Pagination/Pagination.types.mjs +0 -0
  64. package/dist/components/Popover/Popover.types.mjs +0 -0
  65. package/dist/components/Progress/Progress.types.mjs +0 -0
  66. package/dist/components/Radio/Radio.types.mjs +0 -0
  67. package/dist/components/ScrollArea/ScrollArea.types.mjs +0 -0
  68. package/dist/components/Select/Select.mjs +1 -1
  69. package/dist/components/Select/Select.types.mjs +0 -0
  70. package/dist/components/Select/index.mjs +1 -1
  71. package/dist/components/Separator/Separator.types.mjs +0 -0
  72. package/dist/components/Skeleton/Skeleton.types.mjs +0 -0
  73. package/dist/components/Spinner/Spinner.types.mjs +0 -0
  74. package/dist/components/Stack/Stack.types.mjs +0 -0
  75. package/dist/components/Stepper/Stepper.types.mjs +0 -0
  76. package/dist/components/Table/Table.types.mjs +0 -0
  77. package/dist/components/Tabs/Tabs.types.mjs +0 -0
  78. package/dist/components/Tag/Tag.types.mjs +0 -0
  79. package/dist/components/Text/Text.types.mjs +0 -0
  80. package/dist/components/TextArea/TextArea.types.mjs +0 -0
  81. package/dist/components/Toast/Toast.mjs +1 -1
  82. package/dist/components/Toast/Toast.types.mjs +0 -0
  83. package/dist/components/Toast/index.mjs +1 -1
  84. package/dist/components/Toggle/Toggle.types.mjs +0 -0
  85. package/dist/components/Tooltip/Tooltip.types.mjs +0 -0
  86. package/dist/components/VisuallyHidden/VisuallyHidden.types.mjs +0 -0
  87. package/dist/components/index.mjs +65 -65
  88. package/dist/index.core.mjs +65 -65
  89. package/package.json +1 -1
  90. package/src/components/Accordion/Accordion.tsx +7 -22
  91. package/src/components/Accordion/Accordion.types.ts +21 -0
  92. package/src/components/Accordion/index.ts +2 -1
  93. package/src/components/Alert/Alert.tsx +1 -9
  94. package/src/components/Alert/Alert.types.ts +12 -0
  95. package/src/components/AspectRatio/AspectRatio.tsx +2 -8
  96. package/src/components/AspectRatio/AspectRatio.types.ts +9 -0
  97. package/src/components/Avatar/Avatar.tsx +1 -10
  98. package/src/components/Avatar/Avatar.types.ts +13 -0
  99. package/src/components/Badge/Badge.tsx +1 -13
  100. package/src/components/Badge/Badge.types.ts +13 -0
  101. package/src/components/Box/Box.tsx +2 -8
  102. package/src/components/Box/Box.types.ts +9 -0
  103. package/src/components/Breadcrumb/Breadcrumb.stories.tsx +0 -2
  104. package/src/components/Breadcrumb/Breadcrumb.tsx +1 -14
  105. package/src/components/Breadcrumb/Breadcrumb.types.ts +14 -0
  106. package/src/components/Button/Button.tsx +1 -9
  107. package/src/components/Button/Button.types.ts +12 -0
  108. package/src/components/Card/Card.tsx +1 -8
  109. package/src/components/Card/Card.types.ts +12 -0
  110. package/src/components/Checkbox/Checkbox.tsx +1 -7
  111. package/src/components/Checkbox/Checkbox.types.ts +8 -0
  112. package/src/components/Collapse/Collapse.stories.tsx +0 -2
  113. package/src/components/Collapse/Collapse.tsx +2 -14
  114. package/src/components/Collapse/Collapse.types.ts +13 -0
  115. package/src/components/Collapse/styles.css.ts +1 -2
  116. package/src/components/Combobox/Combobox.stories.tsx +1 -1
  117. package/src/components/Combobox/Combobox.tsx +2 -28
  118. package/src/components/Combobox/Combobox.types.ts +28 -0
  119. package/src/components/Combobox/styles.css.ts +1 -1
  120. package/src/components/Container/Container.tsx +1 -11
  121. package/src/components/Container/Container.types.ts +12 -0
  122. package/src/components/Divider/Divider.tsx +1 -11
  123. package/src/components/Divider/Divider.types.ts +11 -0
  124. package/src/components/Drawer/Drawer.tsx +1 -18
  125. package/src/components/Drawer/Drawer.types.ts +19 -0
  126. package/src/components/Drawer/styles.css.ts +1 -1
  127. package/src/components/DropdownMenu/DropdownMenu.tsx +5 -30
  128. package/src/components/DropdownMenu/DropdownMenu.types.ts +31 -0
  129. package/src/components/DropdownMenu/styles.css.ts +1 -1
  130. package/src/components/EmptyState/EmptyState.tsx +1 -9
  131. package/src/components/EmptyState/EmptyState.types.ts +10 -0
  132. package/src/components/EmptyState/styles.css.ts +1 -1
  133. package/src/components/FileUpload/FileUpload.stories.tsx +1 -1
  134. package/src/components/FileUpload/FileUpload.tsx +2 -30
  135. package/src/components/FileUpload/FileUpload.types.ts +31 -0
  136. package/src/components/FileUpload/styles.css.ts +1 -1
  137. package/src/components/Form/Form.stories.tsx +0 -4
  138. package/src/components/Form/Form.tsx +1 -6
  139. package/src/components/Form/Form.types.ts +7 -0
  140. package/src/components/Form/FormInput.tsx +1 -3
  141. package/src/components/Form/FormInput.types.ts +4 -0
  142. package/src/components/Grid/Grid.tsx +1 -12
  143. package/src/components/Grid/Grid.types.ts +13 -0
  144. package/src/components/Icon/Icon.tsx +1 -8
  145. package/src/components/Icon/Icon.types.ts +9 -0
  146. package/src/components/Icon/styles.css.ts +1 -1
  147. package/src/components/Input/Input.stories.tsx +0 -3
  148. package/src/components/Input/Input.tsx +1 -7
  149. package/src/components/Input/Input.types.ts +8 -0
  150. package/src/components/Input/index.ts +1 -0
  151. package/src/components/Kbd/Kbd.tsx +1 -6
  152. package/src/components/Kbd/Kbd.types.ts +7 -0
  153. package/src/components/Kbd/styles.css.ts +1 -1
  154. package/src/components/List/List.tsx +2 -5
  155. package/src/components/List/List.types.ts +6 -0
  156. package/src/components/List/ListItem.tsx +2 -5
  157. package/src/components/List/ListItem.types.ts +6 -0
  158. package/src/components/Modal/Modal.tsx +1 -15
  159. package/src/components/Modal/Modal.types.ts +16 -0
  160. package/src/components/Navbar/Navbar.stories.tsx +0 -3
  161. package/src/components/Navbar/Navbar.tsx +1 -5
  162. package/src/components/Navbar/Navbar.types.ts +6 -0
  163. package/src/components/Navbar/NavbarItem.tsx +1 -5
  164. package/src/components/Navbar/NavbarItem.types.ts +6 -0
  165. package/src/components/NumberInput/NumberInput.stories.tsx +1 -1
  166. package/src/components/NumberInput/NumberInput.tsx +1 -24
  167. package/src/components/NumberInput/NumberInput.types.ts +25 -0
  168. package/src/components/NumberInput/styles.css.ts +1 -1
  169. package/src/components/Pagination/Pagination.stories.tsx +0 -2
  170. package/src/components/Pagination/Pagination.tsx +1 -11
  171. package/src/components/Pagination/Pagination.types.ts +12 -0
  172. package/src/components/Popover/Popover.stories.tsx +0 -2
  173. package/src/components/Popover/Popover.tsx +1 -27
  174. package/src/components/Popover/Popover.types.ts +28 -0
  175. package/src/components/Popover/styles.css.ts +1 -1
  176. package/src/components/Progress/Progress.stories.tsx +0 -2
  177. package/src/components/Progress/Progress.tsx +1 -10
  178. package/src/components/Progress/Progress.types.ts +13 -0
  179. package/src/components/Radio/Radio.tsx +5 -25
  180. package/src/components/Radio/Radio.types.ts +28 -0
  181. package/src/components/ScrollArea/ScrollArea.tsx +1 -11
  182. package/src/components/ScrollArea/ScrollArea.types.ts +12 -0
  183. package/src/components/ScrollArea/styles.css.ts +1 -1
  184. package/src/components/Select/Select.stories.tsx +0 -2
  185. package/src/components/Select/Select.tsx +2 -16
  186. package/src/components/Select/Select.types.ts +16 -0
  187. package/src/components/Select/styles.css.ts +1 -1
  188. package/src/components/Separator/Separator.tsx +1 -9
  189. package/src/components/Separator/Separator.types.ts +10 -0
  190. package/src/components/Separator/styles.css.ts +1 -1
  191. package/src/components/Skeleton/Skeleton.tsx +1 -15
  192. package/src/components/Skeleton/Skeleton.types.ts +16 -0
  193. package/src/components/Skeleton/styles.css.ts +1 -1
  194. package/src/components/Spinner/Spinner.tsx +1 -17
  195. package/src/components/Spinner/Spinner.types.ts +18 -0
  196. package/src/components/Stack/Stack.tsx +1 -21
  197. package/src/components/Stack/Stack.types.ts +23 -0
  198. package/src/components/Stepper/Stepper.stories.tsx +1 -1
  199. package/src/components/Stepper/Stepper.tsx +1 -20
  200. package/src/components/Stepper/Stepper.types.ts +21 -0
  201. package/src/components/Stepper/styles.css.ts +1 -1
  202. package/src/components/Table/Table.tsx +9 -40
  203. package/src/components/Table/Table.types.ts +40 -0
  204. package/src/components/Tabs/Tabs.tsx +7 -33
  205. package/src/components/Tabs/Tabs.types.ts +36 -0
  206. package/src/components/Tag/Tag.tsx +1 -14
  207. package/src/components/Tag/Tag.types.ts +17 -0
  208. package/src/components/Text/Header.tsx +1 -7
  209. package/src/components/Text/P.stories.tsx +0 -2
  210. package/src/components/Text/P.tsx +1 -6
  211. package/src/components/Text/Text.types.ts +15 -0
  212. package/src/components/TextArea/TextArea.stories.tsx +0 -2
  213. package/src/components/TextArea/TextArea.tsx +1 -7
  214. package/src/components/TextArea/TextArea.types.ts +8 -0
  215. package/src/components/Toast/Toast.tsx +13 -59
  216. package/src/components/Toast/Toast.types.ts +58 -0
  217. package/src/components/Toggle/Toggle.tsx +1 -14
  218. package/src/components/Toggle/Toggle.types.ts +15 -0
  219. package/src/components/Tooltip/Tooltip.tsx +1 -11
  220. package/src/components/Tooltip/Tooltip.types.ts +12 -0
  221. package/src/components/VisuallyHidden/VisuallyHidden.tsx +1 -6
  222. package/src/components/VisuallyHidden/VisuallyHidden.types.ts +7 -0
  223. package/src/components/VisuallyHidden/styles.css.ts +1 -1
  224. package/src/components/index.ts +96 -21
@@ -1,68 +1,143 @@
1
1
  export { Button } from './Button';
2
+ export type { ButtonProps, ButtonVariant } from './Button.types';
3
+
2
4
  export { List, ListItem } from './List';
5
+ export type { ListProps } from './List.types';
6
+ export type { ListItemProps } from './ListItem.types';
7
+
3
8
  export { Input } from './Input';
9
+ export type { InputProps } from './Input.types';
10
+
4
11
  export { Form, FormInput } from './Form';
12
+ export type { FormProps } from './Form.types';
13
+ export type { FormInputProps } from './FormInput.types';
14
+
5
15
  export { Navbar, NavbarItem } from './Navbar';
16
+ export type { NavbarProps } from './Navbar.types';
17
+ export type { NavbarItemProps } from './NavbarItem.types';
18
+
6
19
  export { Card } from './Card';
20
+ export type { CardProps, CardVariant, CardPadding } from './Card.types';
21
+
7
22
  export { Alert } from './Alert';
23
+ export type { AlertProps, AlertSeverity } from './Alert.types';
24
+
8
25
  export { P, Header } from './Text';
26
+ export type { PProps, HeaderProps, HeaderVariant } from './Text.types';
27
+
9
28
  export { Modal } from './Modal';
29
+ export type { ModalProps, ModalSize } from './Modal.types';
30
+
10
31
  export { Badge } from './Badge';
32
+ export type { BadgeProps, BadgeVariant, BadgeSize } from './Badge.types';
33
+
11
34
  export { Divider } from './Divider';
35
+ export type { DividerProps, DividerOrientation, DividerSize } from './Divider.types';
36
+
12
37
  export { Spinner } from './Spinner';
38
+ export type { SpinnerProps, SpinnerColor, SpinnerSize } from './Spinner.types';
39
+
13
40
  export { Tooltip } from './Tooltip';
41
+ export type { TooltipProps, TooltipPosition } from './Tooltip.types';
42
+
14
43
  export { Toggle } from './Toggle';
44
+ export type { ToggleProps, ToggleSize } from './Toggle.types';
45
+
15
46
  export { Checkbox } from './Checkbox';
47
+ export type { CheckboxProps } from './Checkbox.types';
48
+
16
49
  export { Radio } from './Radio';
50
+ export type { RadioProps, RadioGroupProps, RadioLayout, RadioContextType } from './Radio.types';
51
+
17
52
  export { Select } from './Select';
53
+ export type { SelectProps, SelectOption } from './Select.types';
54
+
18
55
  export { Tabs } from './Tabs';
56
+ export type { TabsProps, TabListProps, TabProps, TabPanelProps, TabsOrientation, TabsContextType } from './Tabs.types';
57
+
19
58
  export { Avatar } from './Avatar';
59
+ export type { AvatarProps, AvatarSize } from './Avatar.types';
60
+
20
61
  export { Tag } from './Tag';
62
+ export type { TagProps, TagGroupProps, TagVariant } from './Tag.types';
63
+
21
64
  export { Breadcrumb } from './Breadcrumb';
65
+ export type { BreadcrumbProps, BreadcrumbItem } from './Breadcrumb.types';
66
+
22
67
  export { Accordion } from './Accordion';
68
+ export type { AccordionProps, AccordionItemProps, AccordionContextType } from './Accordion.types';
69
+
23
70
  export { Progress } from './Progress';
71
+ export type { ProgressProps, ProgressVariant } from './Progress.types';
72
+
24
73
  export { Icon } from './Icon';
74
+ export type { IconProps } from './Icon.types';
75
+
25
76
  export { ToastProvider, Toast, useToast } from './Toast';
77
+ export type { ToastProps, ToastOptions, ToastVariant, ToastPosition, ToastProviderProps, ToastComponentProps, ToastContextType, ToastItem } from './Toast.types';
78
+
26
79
  export { default as Box } from './Box';
27
- export type { BoxProps } from './Box';
80
+ export type { BoxProps } from './Box.types';
81
+
28
82
  export { Table } from './Table';
83
+ export type { TableProps, TheadProps, TbodyProps, TfootProps, TrProps, ThProps, TdProps } from './Table.types';
84
+
29
85
  export { TextArea } from './TextArea';
30
- export type { TextAreaProps } from './TextArea';
86
+ export type { TextAreaProps } from './TextArea.types';
87
+
31
88
  export { Pagination } from './Pagination';
32
- export type { PaginationProps } from './Pagination';
89
+ export type { PaginationProps } from './Pagination.types';
90
+
33
91
  export { Skeleton } from './Skeleton';
34
- export type { SkeletonProps, SkeletonVariant, SkeletonSize, SkeletonAnimation } from './Skeleton';
92
+ export type { SkeletonProps, SkeletonVariant, SkeletonSize, SkeletonAnimation } from './Skeleton.types';
93
+
35
94
  export { Drawer } from './Drawer';
36
- export type { DrawerProps, DrawerPosition, DrawerSize } from './Drawer';
95
+ export type { DrawerProps, DrawerPosition, DrawerSize } from './Drawer.types';
96
+
37
97
  export { DropdownMenu } from './DropdownMenu';
38
- export type { DropdownMenuProps, DropdownMenuItemProps, DropdownMenuGroupProps, DropdownMenuPosition, DropdownMenuItemVariant } from './DropdownMenu';
98
+ export type { DropdownMenuProps, DropdownMenuItemProps, DropdownMenuGroupProps, DropdownMenuPosition, DropdownMenuItemVariant } from './DropdownMenu.types';
99
+
39
100
  export { Popover } from './Popover';
40
- export type { PopoverProps, PopoverPosition, PopoverTriggerType } from './Popover';
101
+ export type { PopoverProps, PopoverPosition, PopoverTriggerType } from './Popover.types';
102
+
41
103
  export { Stepper } from './Stepper';
42
- export type { StepperProps, Step, StepperOrientation, StepStatus } from './Stepper';
104
+ export type { StepperProps, Step, StepperOrientation, StepStatus } from './Stepper.types';
105
+
43
106
  export { Combobox } from './Combobox';
44
- export type { ComboboxProps, ComboboxOption } from './Combobox';
107
+ export type { ComboboxProps, ComboboxOption } from './Combobox.types';
108
+
45
109
  export { NumberInput } from './NumberInput';
46
- export type { NumberInputProps, NumberInputPosition } from './NumberInput';
110
+ export type { NumberInputProps, NumberInputPosition } from './NumberInput.types';
111
+
47
112
  export { FileUpload } from './FileUpload';
48
- export type { FileUploadProps, FileUploadFile } from './FileUpload';
113
+ export type { FileUploadProps, FileUploadFile, FileUploadStatus } from './FileUpload.types';
114
+
49
115
  export { Stack } from './Stack';
50
- export type { StackProps, StackDirection, StackAlign, StackJustify } from './Stack';
116
+ export type { StackProps, StackDirection, StackAlign, StackJustify, StackGap } from './Stack.types';
117
+
51
118
  export { Grid } from './Grid';
52
- export type { GridProps, GridColumns, GridGap } from './Grid';
119
+ export type { GridProps, GridColumns, GridGap } from './Grid.types';
120
+
53
121
  export { Container } from './Container';
54
- export type { ContainerProps, ContainerSize } from './Container';
122
+ export type { ContainerProps, ContainerSize } from './Container.types';
123
+
55
124
  export { AspectRatio } from './AspectRatio';
56
- export type { AspectRatioProps, AspectRatioValue } from './AspectRatio';
125
+ export type { AspectRatioProps, AspectRatioValue } from './AspectRatio.types';
126
+
57
127
  export { Collapse } from './Collapse';
58
- export type { CollapseProps, CollapseAnimation } from './Collapse';
128
+ export type { CollapseProps, CollapseAnimation } from './Collapse.types';
129
+
59
130
  export { VisuallyHidden } from './VisuallyHidden';
60
- export type { VisuallyHiddenProps } from './VisuallyHidden';
131
+ export type { VisuallyHiddenProps } from './VisuallyHidden.types';
132
+
61
133
  export { EmptyState } from './EmptyState';
62
- export type { EmptyStateProps } from './EmptyState';
134
+ export type { EmptyStateProps } from './EmptyState.types';
135
+
63
136
  export { Separator } from './Separator';
64
- export type { SeparatorProps, SeparatorOrientation } from './Separator';
137
+ export type { SeparatorProps, SeparatorOrientation } from './Separator.types';
138
+
65
139
  export { ScrollArea } from './ScrollArea';
66
- export type { ScrollAreaProps, ScrollAreaOrientation } from './ScrollArea';
140
+ export type { ScrollAreaProps, ScrollAreaOrientation } from './ScrollArea.types';
141
+
67
142
  export { Kbd } from './Kbd';
68
- export type { KbdProps } from './Kbd';
143
+ export type { KbdProps } from './Kbd.types';