@autoguru/overdrive 4.43.4 → 4.43.5

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 (308) hide show
  1. package/dist/components/Actions/Actions.stories.d.ts +2 -2
  2. package/dist/components/Actions/Actions.stories.d.ts.map +1 -1
  3. package/dist/components/Alert/Alert.js +4 -4
  4. package/dist/components/Alert/Alert.stories.d.ts +1 -1
  5. package/dist/components/Alert/Alert.stories.d.ts.map +1 -1
  6. package/dist/components/Anchor/Anchor.d.ts +7 -7
  7. package/dist/components/Anchor/Anchor.d.ts.map +1 -1
  8. package/dist/components/Anchor/Anchor.js +32 -32
  9. package/dist/components/Anchor/Anchor.stories.d.ts +9 -16
  10. package/dist/components/Anchor/Anchor.stories.d.ts.map +1 -1
  11. package/dist/components/AutoSuggest/AutoSuggest.js +1 -1
  12. package/dist/components/AutoSuggest/AutoSuggest.stories.d.ts +1 -1
  13. package/dist/components/AutoSuggest/AutoSuggest.stories.d.ts.map +1 -1
  14. package/dist/components/Badge/Badge.css.d.ts +11 -5
  15. package/dist/components/Badge/Badge.css.d.ts.map +1 -1
  16. package/dist/components/Badge/Badge.css.js +13 -7
  17. package/dist/components/Badge/Badge.stories.d.ts +1 -2
  18. package/dist/components/Badge/Badge.stories.d.ts.map +1 -1
  19. package/dist/components/Box/Box.spec.d.ts +2 -0
  20. package/dist/components/Box/Box.spec.d.ts.map +1 -0
  21. package/dist/components/Box/Box.stories.d.ts +1 -1
  22. package/dist/components/Box/Box.stories.d.ts.map +1 -1
  23. package/dist/components/Box/boxStyles.d.ts +8 -1
  24. package/dist/components/Box/boxStyles.d.ts.map +1 -1
  25. package/dist/components/Box/boxStyles.js +24 -14
  26. package/dist/components/Box/useBox.d.ts.map +1 -1
  27. package/dist/components/Box/useBox.js +7 -6
  28. package/dist/components/BulletList/Bullet.css.d.ts.map +1 -1
  29. package/dist/components/BulletList/Bullet.css.js +6 -5
  30. package/dist/components/BulletList/Bullet.stories.d.ts +2 -2
  31. package/dist/components/BulletList/Bullet.stories.d.ts.map +1 -1
  32. package/dist/components/BulletText/BulletText.stories.d.ts +1 -1
  33. package/dist/components/BulletText/BulletText.stories.d.ts.map +1 -1
  34. package/dist/components/Button/Button.css.d.ts +27 -27
  35. package/dist/components/Button/Button.js +2 -2
  36. package/dist/components/Button/Button.stories.d.ts +1 -1
  37. package/dist/components/Button/Button.stories.d.ts.map +1 -1
  38. package/dist/components/CheckBox/CheckBox.stories.d.ts +1 -1
  39. package/dist/components/CheckBox/CheckBox.stories.d.ts.map +1 -1
  40. package/dist/components/ColourInput/ColourInput.stories.d.ts +1 -1
  41. package/dist/components/ColourInput/ColourInput.stories.d.ts.map +1 -1
  42. package/dist/components/Columns/Columns.css.d.ts.map +1 -1
  43. package/dist/components/Columns/Columns.css.js +3 -2
  44. package/dist/components/Columns/Columns.stories.d.ts +1 -1
  45. package/dist/components/Columns/Columns.stories.d.ts.map +1 -1
  46. package/dist/components/DateInput/DateInput.stories.d.ts +1 -1
  47. package/dist/components/DateInput/DateInput.stories.d.ts.map +1 -1
  48. package/dist/components/DatePicker/DatePicker.stories.d.ts +2 -1
  49. package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
  50. package/dist/components/DateTimePicker/DateTimePicker.css.d.ts +0 -2
  51. package/dist/components/DateTimePicker/DateTimePicker.css.d.ts.map +1 -1
  52. package/dist/components/DateTimePicker/DateTimePicker.css.js +21 -30
  53. package/dist/components/DateTimePicker/DateTimePicker.d.ts.map +1 -1
  54. package/dist/components/DateTimePicker/DateTimePicker.js +14 -7
  55. package/dist/components/DateTimePicker/DateTimePicker.stories.d.ts +1 -1
  56. package/dist/components/DateTimePicker/DateTimePicker.stories.d.ts.map +1 -1
  57. package/dist/components/DividerLine/DividerLine.stories.d.ts +2 -2
  58. package/dist/components/DividerLine/DividerLine.stories.d.ts.map +1 -1
  59. package/dist/components/DropDown/DropDown.stories.d.ts +2 -2
  60. package/dist/components/DropDown/DropDown.stories.d.ts.map +1 -1
  61. package/dist/components/DropDown/DropDownOption.js +3 -3
  62. package/dist/components/EditableText/EditableText.d.ts +1 -1
  63. package/dist/components/EditableText/EditableText.js +7 -7
  64. package/dist/components/EditableText/EditableText.stories.d.ts +1 -1
  65. package/dist/components/EditableText/EditableText.stories.d.ts.map +1 -1
  66. package/dist/components/FillHeightBox/FillHeightBox.stories.d.ts +1 -1
  67. package/dist/components/FillHeightBox/FillHeightBox.stories.d.ts.map +1 -1
  68. package/dist/components/Flyout/Flyout.stories.d.ts +1 -1
  69. package/dist/components/Flyout/Flyout.stories.d.ts.map +1 -1
  70. package/dist/components/Heading/Heading.d.ts +6 -9
  71. package/dist/components/Heading/Heading.d.ts.map +1 -1
  72. package/dist/components/Heading/Heading.js +25 -28
  73. package/dist/components/Heading/Heading.stories.d.ts +700 -62
  74. package/dist/components/Heading/Heading.stories.d.ts.map +1 -1
  75. package/dist/components/Heading/index.d.ts +1 -1
  76. package/dist/components/Heading/index.d.ts.map +1 -1
  77. package/dist/components/Heading/index.js +1 -1
  78. package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.stories.d.ts +2 -2
  79. package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.stories.d.ts.map +1 -1
  80. package/dist/components/Icon/Icon.stories.d.ts +2 -1
  81. package/dist/components/Icon/Icon.stories.d.ts.map +1 -1
  82. package/dist/components/Image/Image.stories.d.ts +1 -1
  83. package/dist/components/Image/Image.stories.d.ts.map +1 -1
  84. package/dist/components/Inline/Inline.js +1 -1
  85. package/dist/components/Inline/Inline.stories.d.ts +1 -1
  86. package/dist/components/Inline/Inline.stories.d.ts.map +1 -1
  87. package/dist/components/IntentStripe/IntentStripe.stories.d.ts +1 -1
  88. package/dist/components/IntentStripe/IntentStripe.stories.d.ts.map +1 -1
  89. package/dist/components/LinearProgressIndicator/LinearProgressIndicator.stories.d.ts +2 -2
  90. package/dist/components/LinearProgressIndicator/LinearProgressIndicator.stories.d.ts.map +1 -1
  91. package/dist/components/LoadingBox/LoadingBox.stories.d.ts +16 -14
  92. package/dist/components/LoadingBox/LoadingBox.stories.d.ts.map +1 -1
  93. package/dist/components/Meta/Meta.stories.d.ts +2 -1
  94. package/dist/components/Meta/Meta.stories.d.ts.map +1 -1
  95. package/dist/components/MinimalModal/MinimalModal.stories.d.ts +3 -3
  96. package/dist/components/MinimalModal/MinimalModal.stories.d.ts.map +1 -1
  97. package/dist/components/Modal/Modal.stories.d.ts +1 -1
  98. package/dist/components/Modal/Modal.stories.d.ts.map +1 -1
  99. package/dist/components/NumberBubble/NumberBubble.stories.d.ts +1 -1
  100. package/dist/components/NumberBubble/NumberBubble.stories.d.ts.map +1 -1
  101. package/dist/components/NumberInput/NumberInput.stories.d.ts +1 -1
  102. package/dist/components/NumberInput/NumberInput.stories.d.ts.map +1 -1
  103. package/dist/components/OptionGrid/OptionGrid.stories.d.ts +1 -1
  104. package/dist/components/OptionGrid/OptionGrid.stories.d.ts.map +1 -1
  105. package/dist/components/OptionList/OptionList.stories.d.ts +1 -1
  106. package/dist/components/OptionList/OptionList.stories.d.ts.map +1 -1
  107. package/dist/components/OrderedList/OrderedList.js +2 -2
  108. package/dist/components/OrderedList/OrderedList.stories.d.ts +1 -1
  109. package/dist/components/OrderedList/OrderedList.stories.d.ts.map +1 -1
  110. package/dist/components/OutsideClick/OutsideClick.stories.d.ts +1 -1
  111. package/dist/components/OutsideClick/OutsideClick.stories.d.ts.map +1 -1
  112. package/dist/components/OverdriveProvider/OverdriveProvider.stories.d.ts +1 -1
  113. package/dist/components/OverdriveProvider/OverdriveProvider.stories.d.ts.map +1 -1
  114. package/dist/components/Pagination/Bubble.js +2 -2
  115. package/dist/components/Pagination/Pagination.js +2 -2
  116. package/dist/components/Pagination/Pagination.stories.d.ts +1 -1
  117. package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -1
  118. package/dist/components/Portal/Portal.stories.d.ts +1 -1
  119. package/dist/components/Portal/Portal.stories.d.ts.map +1 -1
  120. package/dist/components/Positioner/Positioner.stories.d.ts +1 -1
  121. package/dist/components/Positioner/Positioner.stories.d.ts.map +1 -1
  122. package/dist/components/ProgressBar/ProgressBar.stories.d.ts +1 -1
  123. package/dist/components/ProgressBar/ProgressBar.stories.d.ts.map +1 -1
  124. package/dist/components/ProgressBarGroup/ProgressBarGroup.css.d.ts +1 -0
  125. package/dist/components/ProgressBarGroup/ProgressBarGroup.css.d.ts.map +1 -1
  126. package/dist/components/ProgressBarGroup/ProgressBarGroup.css.js +3 -0
  127. package/dist/components/ProgressBarGroup/ProgressBarGroup.js +1 -2
  128. package/dist/components/ProgressBarGroup/ProgressBarGroup.stories.d.ts +1 -1
  129. package/dist/components/ProgressBarGroup/ProgressBarGroup.stories.d.ts.map +1 -1
  130. package/dist/components/ProgressSpinner/ProgressSpinner.stories.d.ts +2 -2
  131. package/dist/components/ProgressSpinner/ProgressSpinner.stories.d.ts.map +1 -1
  132. package/dist/components/Radio/Radio.stories.d.ts +1 -1
  133. package/dist/components/Radio/Radio.stories.d.ts.map +1 -1
  134. package/dist/components/ScrollPane/ScrollPane.stories.d.ts +1 -1
  135. package/dist/components/ScrollPane/ScrollPane.stories.d.ts.map +1 -1
  136. package/dist/components/SearchBar/SearchBar.stories.d.ts +1 -1
  137. package/dist/components/SearchBar/SearchBar.stories.d.ts.map +1 -1
  138. package/dist/components/Section/Section.stories.d.ts +16 -13
  139. package/dist/components/Section/Section.stories.d.ts.map +1 -1
  140. package/dist/components/SelectInput/SelectInput.stories.d.ts +1 -1
  141. package/dist/components/SelectInput/SelectInput.stories.d.ts.map +1 -1
  142. package/dist/components/SimplePagination/SimplePagination.stories.d.ts +2 -2
  143. package/dist/components/SimplePagination/SimplePagination.stories.d.ts.map +1 -1
  144. package/dist/components/SliderProgress/SliderProgress.stories.d.ts +3 -3
  145. package/dist/components/SliderProgress/SliderProgress.stories.d.ts.map +1 -1
  146. package/dist/components/Stack/Stack.stories.d.ts +1 -1
  147. package/dist/components/Stack/Stack.stories.d.ts.map +1 -1
  148. package/dist/components/StandardModal/StandardModal.js +2 -2
  149. package/dist/components/StandardModal/StandardModal.stories.d.ts +1 -1
  150. package/dist/components/StandardModal/StandardModal.stories.d.ts.map +1 -1
  151. package/dist/components/StarRating/StarRating.stories.d.ts +1 -1
  152. package/dist/components/StarRating/StarRating.stories.d.ts.map +1 -1
  153. package/dist/components/Stepper/Stepper.js +2 -2
  154. package/dist/components/Stepper/Stepper.stories.d.ts +1 -1
  155. package/dist/components/Stepper/Stepper.stories.d.ts.map +1 -1
  156. package/dist/components/StickyBox/StickyBox.stories.d.ts +1 -1
  157. package/dist/components/StickyBox/StickyBox.stories.d.ts.map +1 -1
  158. package/dist/components/Switch/Switch.js +2 -2
  159. package/dist/components/Switch/Switch.stories.d.ts +1 -1
  160. package/dist/components/Switch/Switch.stories.d.ts.map +1 -1
  161. package/dist/components/Table/Table.stories.d.ts +1 -1
  162. package/dist/components/Table/Table.stories.d.ts.map +1 -1
  163. package/dist/components/Table/TableCell.css.d.ts.map +1 -1
  164. package/dist/components/Table/TableCell.css.js +0 -1
  165. package/dist/components/Table/TableCell.d.ts.map +1 -1
  166. package/dist/components/Table/TableCell.js +2 -2
  167. package/dist/components/Table/TableHeadCell.js +1 -1
  168. package/dist/components/Tabs/Tab.css.d.ts +8 -8
  169. package/dist/components/Tabs/Tab.d.ts.map +1 -1
  170. package/dist/components/Tabs/Tab.js +3 -4
  171. package/dist/components/Tabs/TabList.css.d.ts +2 -2
  172. package/dist/components/Tabs/TabList.js +2 -2
  173. package/dist/components/Tabs/Tabs.stories.d.ts +1 -1
  174. package/dist/components/Tabs/Tabs.stories.d.ts.map +1 -1
  175. package/dist/components/Text/Text.d.ts +10 -9
  176. package/dist/components/Text/Text.d.ts.map +1 -1
  177. package/dist/components/Text/Text.js +34 -26
  178. package/dist/components/Text/Text.stories.d.ts +1 -1
  179. package/dist/components/Text/Text.stories.d.ts.map +1 -1
  180. package/dist/components/Text/index.d.ts +2 -3
  181. package/dist/components/Text/index.d.ts.map +1 -1
  182. package/dist/components/Text/index.js +2 -2
  183. package/dist/components/Text/textStyles.d.ts +16 -0
  184. package/dist/components/Text/textStyles.d.ts.map +1 -0
  185. package/dist/components/Text/textStyles.js +32 -0
  186. package/dist/components/TextAreaInput/TextAreaInput.stories.d.ts +1 -1
  187. package/dist/components/TextAreaInput/TextAreaInput.stories.d.ts.map +1 -1
  188. package/dist/components/TextBubble/TextBubble.css.d.ts.map +1 -1
  189. package/dist/components/TextBubble/TextBubble.css.js +1 -0
  190. package/dist/components/TextBubble/TextBubble.d.ts.map +1 -1
  191. package/dist/components/TextBubble/TextBubble.js +0 -1
  192. package/dist/components/TextBubble/TextBubble.stories.d.ts +1 -1
  193. package/dist/components/TextBubble/TextBubble.stories.d.ts.map +1 -1
  194. package/dist/components/TextContainer/TextContainer.stories.d.ts +1 -1
  195. package/dist/components/TextContainer/TextContainer.stories.d.ts.map +1 -1
  196. package/dist/components/TextInput/TextInput.stories.d.ts +1 -1
  197. package/dist/components/TextInput/TextInput.stories.d.ts.map +1 -1
  198. package/dist/components/TextLink/TextLink.d.ts +11 -11
  199. package/dist/components/TextLink/TextLink.d.ts.map +1 -1
  200. package/dist/components/TextLink/TextLink.js +31 -32
  201. package/dist/components/TextLink/TextLink.stories.d.ts +605 -206
  202. package/dist/components/TextLink/TextLink.stories.d.ts.map +1 -1
  203. package/dist/components/Tooltip/Tooltip.stories.d.ts +3 -3
  204. package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  205. package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +2 -1
  206. package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts.map +1 -1
  207. package/dist/components/private/CheckableBase/CheckableBase.js +3 -3
  208. package/dist/index.d.ts +2 -0
  209. package/dist/index.d.ts.map +1 -1
  210. package/dist/index.js +1 -0
  211. package/dist/stories/borders.stories.d.ts +1 -1
  212. package/dist/stories/borders.stories.d.ts.map +1 -1
  213. package/dist/stories/helpers/stack.css.d.ts +5 -5
  214. package/dist/stories/helpers/styles.css.d.ts +7 -7
  215. package/dist/stories/icons.stories.d.ts +1 -1
  216. package/dist/stories/icons.stories.d.ts.map +1 -1
  217. package/dist/stories/intentional-colours.stories.d.ts +1 -1
  218. package/dist/stories/intentional-colours.stories.d.ts.map +1 -1
  219. package/dist/stories/palette.stories.d.ts +1 -1
  220. package/dist/stories/palette.stories.d.ts.map +1 -1
  221. package/dist/stories/shared/argTypes-box.d.ts +1 -1
  222. package/dist/stories/shared/argTypes-box.d.ts.map +1 -1
  223. package/dist/stories/shared/argTypes.d.ts +1 -0
  224. package/dist/stories/shared/argTypes.d.ts.map +1 -1
  225. package/dist/stories/space.stories.d.ts +1 -1
  226. package/dist/stories/space.stories.d.ts.map +1 -1
  227. package/dist/stories/theme.stories.d.ts +1 -1
  228. package/dist/stories/theme.stories.d.ts.map +1 -1
  229. package/dist/styles/global.css.d.ts +2 -0
  230. package/dist/styles/global.css.d.ts.map +1 -0
  231. package/dist/styles/global.css.js +71 -0
  232. package/dist/styles/{intentional.css.d.ts → intentColorset.css.d.ts} +2 -11
  233. package/dist/styles/intentColorset.css.d.ts.map +1 -0
  234. package/dist/styles/intentColorset.css.js +67 -0
  235. package/dist/styles/layers.css.d.ts +1 -0
  236. package/dist/styles/layers.css.d.ts.map +1 -1
  237. package/dist/styles/layers.css.js +1 -0
  238. package/dist/styles/reset.css.d.ts +89 -0
  239. package/dist/styles/reset.css.d.ts.map +1 -0
  240. package/dist/{reset → styles}/reset.css.js +72 -73
  241. package/dist/styles/resetStyles.d.ts +4 -0
  242. package/dist/styles/resetStyles.d.ts.map +1 -0
  243. package/dist/styles/resetStyles.js +13 -0
  244. package/dist/styles/sprinkles.css.d.ts +30 -12
  245. package/dist/styles/sprinkles.css.d.ts.map +1 -1
  246. package/dist/styles/sprinkles.css.js +31 -4
  247. package/dist/styles/typography.css.d.ts +20 -76
  248. package/dist/styles/typography.css.d.ts.map +1 -1
  249. package/dist/styles/typography.css.js +26 -44
  250. package/dist/styles/vars.css.d.ts +1 -1
  251. package/dist/styles/vars.css.d.ts.map +1 -1
  252. package/dist/themes/base/index.d.ts +274 -278
  253. package/dist/themes/base/index.d.ts.map +1 -1
  254. package/dist/themes/base/tokens.d.ts +4 -6
  255. package/dist/themes/base/tokens.d.ts.map +1 -1
  256. package/dist/themes/base/tokens.js +4 -6
  257. package/dist/themes/flat_red/index.d.ts +274 -278
  258. package/dist/themes/flat_red/index.d.ts.map +1 -1
  259. package/dist/themes/flat_red/tokens.d.ts +4 -6
  260. package/dist/themes/flat_red/tokens.d.ts.map +1 -1
  261. package/dist/themes/index.d.ts +274 -278
  262. package/dist/themes/index.d.ts.map +1 -1
  263. package/dist/themes/makeTheme.d.ts +268 -270
  264. package/dist/themes/makeTheme.d.ts.map +1 -1
  265. package/dist/themes/neutral/index.d.ts +273 -277
  266. package/dist/themes/neutral/index.d.ts.map +1 -1
  267. package/dist/themes/neutral/tokens.d.ts +4 -6
  268. package/dist/themes/neutral/tokens.d.ts.map +1 -1
  269. package/dist/themes/theme.css.d.ts +269 -271
  270. package/dist/themes/theme.css.d.ts.map +1 -1
  271. package/dist/themes/theme.css.js +15 -17
  272. package/dist/utils/propGuards.d.ts +2 -0
  273. package/dist/utils/propGuards.d.ts.map +1 -0
  274. package/dist/utils/propGuards.js +5 -0
  275. package/dist/utils/sprinkles.d.ts +1 -1
  276. package/dist/utils/sprinkles.d.ts.map +1 -1
  277. package/dist/utils/sprinkles.js +3 -3
  278. package/package.json +36 -42
  279. package/readme.md +6 -5
  280. package/dist/components/Anchor/Anchor.css.d.ts +0 -2
  281. package/dist/components/Anchor/Anchor.css.d.ts.map +0 -1
  282. package/dist/components/Anchor/Anchor.css.js +0 -10
  283. package/dist/components/Anchor/Anchor.spec.d.ts +0 -2
  284. package/dist/components/Anchor/Anchor.spec.d.ts.map +0 -1
  285. package/dist/components/Box/Box.test.d.ts +0 -2
  286. package/dist/components/Box/Box.test.d.ts.map +0 -1
  287. package/dist/components/Box/Box.test.js +0 -114
  288. package/dist/components/Text/useTextStyles.css.d.ts +0 -8
  289. package/dist/components/Text/useTextStyles.css.d.ts.map +0 -1
  290. package/dist/components/Text/useTextStyles.css.js +0 -44
  291. package/dist/components/Text/useTextStyles.d.ts +0 -21
  292. package/dist/components/Text/useTextStyles.d.ts.map +0 -1
  293. package/dist/components/Text/useTextStyles.js +0 -23
  294. package/dist/components/TextLink/TextLink.spec.d.ts +0 -2
  295. package/dist/components/TextLink/TextLink.spec.d.ts.map +0 -1
  296. package/dist/reset/globalFonts.css.d.ts +0 -2
  297. package/dist/reset/globalFonts.css.d.ts.map +0 -1
  298. package/dist/reset/globalFonts.css.js +0 -24
  299. package/dist/reset/globalReset.css.d.ts +0 -2
  300. package/dist/reset/globalReset.css.d.ts.map +0 -1
  301. package/dist/reset/globalReset.css.js +0 -45
  302. package/dist/reset/reset.css.d.ts +0 -50
  303. package/dist/reset/reset.css.d.ts.map +0 -1
  304. package/dist/styles/intentional.css.d.ts.map +0 -1
  305. package/dist/styles/intentional.css.js +0 -134
  306. package/dist/utils/refs.d.ts +0 -2
  307. package/dist/utils/refs.d.ts.map +0 -1
  308. package/dist/utils/refs.js +0 -12
@@ -1,10 +1,10 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
3
  import { Actions } from './Actions';
4
4
  declare const meta: {
5
5
  title: string;
6
6
  component: React.FunctionComponent<import("./Actions").ActiontsProps>;
7
- decorators: ((story: import("@storybook/core/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
7
+ decorators: ((story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-vite").ReactRenderer, {
8
8
  children: React.ReactElement | React.ReactElement[];
9
9
  className?: string | undefined;
10
10
  wrappingDirection?: "default" | "reverse" | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Actions/Actions.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,QAAA,MAAM,IAAI;;;;;;;;;CAQsB,CAAC;AAEjC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,QAAQ,EAAE,KAkBtB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAC"}
1
+ {"version":3,"file":"Actions.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Actions/Actions.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,QAAA,MAAM,IAAI;;;;;;;;;CAQsB,CAAC;AAEjC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,QAAQ,EAAE,KAkBtB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAC"}
@@ -9,7 +9,7 @@ import { Button } from "../Button/Button.js";
9
9
  import { Icon } from "../Icon/Icon.js";
10
10
  import { IntentStripe } from "../IntentStripe/IntentStripe.js";
11
11
  import { Text } from "../Text/Text.js";
12
- import { useTextStyles } from "../Text/useTextStyles.js";
12
+ import { textStyles } from "../Text/textStyles.js";
13
13
  import * as styles from "./Alert.css.js";
14
14
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  const iconMapForIntent = {
@@ -27,10 +27,10 @@ export const Alert = _ref => {
27
27
  onRequestClose,
28
28
  dismissible = typeof onRequestClose === 'function'
29
29
  } = _ref;
30
- const dismissBtnStyles = useTextStyles({
30
+ const dismissBtnStyles = textStyles({
31
31
  colour: 'muted'
32
32
  });
33
- const intentColourStyles = useTextStyles({
33
+ const intentColourStyles = textStyles({
34
34
  colour: intent
35
35
  });
36
36
  return _jsxs(Box, {
@@ -65,7 +65,7 @@ export const Alert = _ref => {
65
65
  }), _jsx(Box, {
66
66
  alignSelf: "center",
67
67
  width: "auto",
68
- className: useTextStyles({
68
+ className: textStyles({
69
69
  colour: 'dark'
70
70
  }),
71
71
  children: typeof children === 'string' ? _jsx(Text, {
@@ -1,4 +1,4 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { StoryObj } from '@storybook/react-vite';
2
2
  import React, { type ComponentProps } from 'react';
3
3
  import { Alert } from './Alert';
4
4
  type Intent = ComponentProps<typeof Alert>['intent'];
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Alert/Alert.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,KAAK,MAAM,GAAG,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC;AAErD,QAAA,MAAM,IAAI;;;;;;;;qBAaF,MAAM,EAAE;;;;;;;CAOc,CAAC;AAE/B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAsBtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAsEhC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAK9B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAKvC,CAAC"}
1
+ {"version":3,"file":"Alert.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Alert/Alert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAKnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,KAAK,MAAM,GAAG,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC;AAErD,QAAA,MAAM,IAAI;;;;;;;;qBAaF,MAAM,EAAE;;;;;;;CAOc,CAAC;AAE/B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAsBtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAsEhC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAK9B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAKvC,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { IconType } from '@autoguru/icons';
2
- import { AnchorHTMLAttributes, ElementType, FunctionComponent, ReactElement, ReactNode } from 'react';
3
- export interface AnchorProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'children' | 'style' | 'is'> {
4
- className?: string;
5
- is?: ElementType | ReactElement;
6
- disabled?: boolean;
7
- children?: ReactNode;
2
+ import React, { type ElementType } from 'react';
3
+ import { type BoxLikeProps } from '../Box/useBox';
4
+ declare const ANCHOR_TAG = "a";
5
+ interface CustomProps {
8
6
  icon?: IconType;
9
7
  }
10
- export declare const Anchor: FunctionComponent<AnchorProps>;
8
+ export type AnchorProps<E extends ElementType = typeof ANCHOR_TAG> = BoxLikeProps<E, CustomProps>;
9
+ export declare const Anchor: <E extends ElementType = typeof ANCHOR_TAG>({ as, children, icon, ...props }: AnchorProps<E>) => React.JSX.Element;
10
+ export {};
11
11
  //# sourceMappingURL=Anchor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Anchor.d.ts","sourceRoot":"","sources":["../../../lib/components/Anchor/Anchor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,OAAO,EACN,oBAAoB,EAGpB,WAAW,EACX,iBAAiB,EAEjB,YAAY,EACZ,SAAS,EACT,MAAM,OAAO,CAAC;AAUf,MAAM,WAAW,WAChB,SAAQ,IAAI,CACX,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,UAAU,GAAG,OAAO,GAAG,IAAI,CAC3B;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,IAAI,CAAC,EAAE,QAAQ,CAAC;CAChB;AAED,eAAO,MAAM,MAAM,EAAE,iBAAiB,CAAC,WAAW,CAyCjD,CAAC"}
1
+ {"version":3,"file":"Anchor.d.ts","sourceRoot":"","sources":["../../../lib/components/Anchor/Anchor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAE,EAAgB,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAG9D,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAGvE,QAAA,MAAM,UAAU,MAAM,CAAC;AAEvB,UAAU,WAAW;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;CAChB;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,GAAG,OAAO,UAAU,IAChE,YAAY,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;AAK9B,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,WAAW,GAAG,OAAO,UAAU,EAAE,kCAK/D,WAAW,CAAC,CAAC,CAAC,sBAgChB,CAAC"}
@@ -2,50 +2,50 @@
2
2
 
3
3
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
5
- const _excluded = ["className", "is", "disabled", "children", "icon"];
5
+ const _excluded = ["as", "children", "icon"];
6
6
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7
7
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
- import clsx from 'clsx';
9
- import * as React from 'react';
10
- import { cloneElement, createElement, isValidElement } from 'react';
11
- import { boxStyles } from "../Box/boxStyles.js";
8
+ import React, { cloneElement } from 'react';
9
+ import { Box } from "../Box/Box.js";
10
+ import { useBox } from "../Box/useBox.js";
12
11
  import { Icon } from "../Icon/Icon.js";
13
- import { Inline } from "../Inline/Inline.js";
14
- import { Text } from "../Text/Text.js";
15
- import { useTextStyles } from "../Text/useTextStyles.js";
16
- import * as styles from "./Anchor.css.js";
17
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ const ANCHOR_TAG = 'a';
18
14
  export const Anchor = _ref => {
19
15
  let {
20
- className = '',
21
- is: Component = 'a',
22
- disabled = false,
16
+ as = ANCHOR_TAG,
23
17
  children,
24
18
  icon
25
19
  } = _ref,
26
- rest = _objectWithoutProperties(_ref, _excluded);
27
- const textStyles = useTextStyles({
28
- colour: 'link'
29
- });
30
- const props = _objectSpread({
31
- className: clsx(styles.root, textStyles, boxStyles({
32
- as: typeof Component === 'string' ? Component : undefined,
33
- display: 'inline'
34
- }), className),
35
- disabled
36
- }, rest);
37
- const childs = _jsxs(Inline, {
38
- space: "2",
20
+ props = _objectWithoutProperties(_ref, _excluded);
21
+ const {
22
+ Component,
23
+ componentProps,
24
+ reactElement
25
+ } = useBox(_objectSpread(_objectSpread({}, props), {}, {
26
+ alignItems: 'center',
27
+ as,
28
+ odComponent: 'anchor'
29
+ }));
30
+ const Content = () => _jsxs(Box, {
31
+ as: "span",
32
+ alignItems: "center",
33
+ colour: "link",
34
+ display: "inline-flex",
35
+ fontSize: "4",
36
+ fontWeight: "bold",
37
+ gap: "2",
39
38
  children: [icon && _jsx(Icon, {
40
39
  icon: icon,
41
- size: "small",
42
- className: textStyles
43
- }), _jsx(Text, {
44
- fontWeight: "bold",
45
- size: "4",
46
- colour: "link",
40
+ size: "small"
41
+ }), _jsx("span", {
47
42
  children: children
48
43
  })]
49
44
  });
50
- return isValidElement(Component) ? cloneElement(Component, props, childs) : createElement(Component, props, childs);
45
+ if (reactElement) {
46
+ return cloneElement(reactElement, componentProps, _jsx(Content, {}));
47
+ }
48
+ return _jsx(Component, _objectSpread(_objectSpread({}, componentProps), {}, {
49
+ children: _jsx(Content, {})
50
+ }));
51
51
  };
@@ -1,7 +1,13 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: import("react").FunctionComponent<import("./Anchor").AnchorProps>;
4
+ tags: string[];
5
+ component: <E extends import("react").ElementType = "a">({ as, children, icon, ...props }: import("./Anchor").AnchorProps<E>) => import("react").JSX.Element;
6
+ args: {
7
+ href: string;
8
+ icon: string;
9
+ children: string;
10
+ };
5
11
  argTypes: {
6
12
  icon: {
7
13
  options: string[];
@@ -9,6 +15,7 @@ declare const meta: {
9
15
  None: null;
10
16
  Magnify: import("react").ReactElement<import("react").SVGAttributes<SVGElement>, "svg">;
11
17
  Car: import("react").ReactElement<import("react").SVGAttributes<SVGElement>, "svg">;
18
+ Phone: import("react").ReactElement<import("react").SVGAttributes<SVGElement>, "svg">;
12
19
  'Car Multiple': import("react").ReactElement<import("react").SVGAttributes<SVGElement>, "svg">;
13
20
  Calendar: import("react").ReactElement<import("react").SVGAttributes<SVGElement>, "svg">;
14
21
  'Account Edit': import("react").ReactElement<import("react").SVGAttributes<SVGElement>, "svg">;
@@ -18,25 +25,11 @@ declare const meta: {
18
25
  Star: import("react").ReactElement<import("react").SVGAttributes<SVGElement>, "svg">;
19
26
  Check: import("react").ReactElement<import("react").SVGAttributes<SVGElement>, "svg">;
20
27
  };
21
- defaultValue: null;
22
28
  description: string;
23
29
  };
24
- is: {
25
- control: {
26
- disable: true;
27
- };
28
- };
29
- children: {
30
- defaultValue: string;
31
- control: {
32
- type: "text";
33
- };
34
- };
35
30
  };
36
31
  };
37
32
  export default meta;
38
33
  type Story = StoryObj<typeof meta>;
39
- export declare const Standard: Story;
40
34
  export declare const WithIcon: Story;
41
- export declare const WithButton: Story;
42
35
  //# sourceMappingURL=Anchor.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Anchor.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Anchor/Anchor.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC"}
1
+ {"version":3,"file":"Anchor.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Anchor/Anchor.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAO5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAqBtB,CAAC"}
@@ -573,7 +573,7 @@ const DefaultSuggestion = _ref8 => {
573
573
  [styles.suggestionHighlight]: highlight
574
574
  }),
575
575
  children: _jsx(Text, {
576
- is: "span",
576
+ as: "span",
577
577
  children: text
578
578
  })
579
579
  });
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { AutoSuggest } from './AutoSuggest';
3
3
  declare const meta: Meta<typeof AutoSuggest>;
4
4
  export default meta;
@@ -1 +1 @@
1
- {"version":3,"file":"AutoSuggest.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/AutoSuggest/AutoSuggest.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AA+B5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAyElC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAMnC,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAC;AAElC,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
1
+ {"version":3,"file":"AutoSuggest.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/AutoSuggest/AutoSuggest.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAO5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AA+B5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAyElC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAMnC,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAC;AAElC,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
@@ -12,11 +12,17 @@ export declare const styledBadge: import("@vanilla-extract/recipes").RuntimeFn<{
12
12
  false: {};
13
13
  };
14
14
  size: {
15
- small: string[];
16
- standard: string[];
17
- large: (string | {
18
- padding: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
19
- })[];
15
+ small: {
16
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
17
+ fontWeight: `var(--${string})` | `var(--${string}, ${string})`;
18
+ };
19
+ standard: {
20
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
21
+ };
22
+ large: {
23
+ fontSize: `var(--${string})` | `var(--${string}, ${string})`;
24
+ padding: `var(--${string})` | `var(--${string}, ${string})`;
25
+ };
20
26
  };
21
27
  }>;
22
28
  export type StyledBadgeProps = NonNullable<RecipeVariants<typeof styledBadge>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.css.d.ts","sourceRoot":"","sources":["../../../lib/components/Badge/Badge.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAMvE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;EA6GtB,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"Badge.css.d.ts","sourceRoot":"","sources":["../../../lib/components/Badge/Badge.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAKvE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;EAgHtB,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC"}
@@ -3,20 +3,20 @@
3
3
  import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
4
4
  __vanilla_filescope__.setFileScope("lib/components/Badge/Badge.css.ts", "@autoguru/overdrive");
5
5
  import { recipe } from '@vanilla-extract/recipes';
6
- import { styledIntentionalElement } from "../../styles/intentional.css.js";
7
- import { fontSize, fontWeight } from "../../styles/typography.css.js";
6
+ import { styledIntentionalElement } from "../../styles/intentColorset.css.js";
8
7
  import { overdriveTokens as tokens } from "../../themes/theme.css.js";
9
8
  export const styledBadge = recipe({
10
9
  base: [{
11
10
  display: 'inline-block',
12
11
  overflow: 'hidden',
12
+ fontWeight: tokens.typography.fontWeight.semiBold,
13
13
  textOverflow: 'ellipsis',
14
14
  textTransform: 'uppercase',
15
15
  letterSpacing: '0.5px',
16
16
  lineHeight: '1',
17
17
  whiteSpace: 'nowrap',
18
18
  padding: tokens.space[1]
19
- }, fontWeight.semiBold],
19
+ }],
20
20
  variants: {
21
21
  colour: {
22
22
  neutral: {},
@@ -30,11 +30,17 @@ export const styledBadge = recipe({
30
30
  false: {}
31
31
  },
32
32
  size: {
33
- small: [fontSize.xxs, fontWeight.bold],
34
- standard: [fontSize.xs],
35
- large: [fontSize.md, {
33
+ small: {
34
+ fontSize: tokens.typography.size[1].fontSize,
35
+ fontWeight: tokens.typography.fontWeight.bold
36
+ },
37
+ standard: {
38
+ fontSize: tokens.typography.size[2].fontSize
39
+ },
40
+ large: {
41
+ fontSize: tokens.typography.size[4].fontSize,
36
42
  padding: tokens.space[4]
37
- }]
43
+ }
38
44
  }
39
45
  },
40
46
  compoundVariants: [{
@@ -1,11 +1,10 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
3
  import { Badge } from './Badge';
4
4
  type Story = StoryObj<typeof Badge>;
5
5
  declare const _default: {
6
6
  title: string;
7
7
  component: ({ label, colour, look, size, className, testId, }: import("../../types").WithTestId<import("./Badge").BadgeProps>) => React.JSX.Element;
8
- tags: string[];
9
8
  };
10
9
  export default _default;
11
10
  export declare const Standard: Story;
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Badge/Badge.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;;;;;;AAUpC,wBAI+B;AAE/B,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAiChC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAahC,CAAC"}
1
+ {"version":3,"file":"Badge.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Badge/Badge.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;;;;;AAUpC,wBAG+B;AAE/B,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAiChC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAahC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Box.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Box.spec.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/Box.spec.tsx"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Box } from './Box';
3
3
  declare const meta: Meta<typeof Box>;
4
4
  export default meta;
@@ -1 +1 @@
1
- {"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/Box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,CAgB1B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAC;AAKlC,eAAO,MAAM,eAAe,EAAE,KAK7B,CAAC;AAKF,eAAO,MAAM,cAAc,EAAE,KAW5B,CAAC;AAKF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC"}
1
+ {"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/Box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,CAiB1B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAC;AAKlC,eAAO,MAAM,eAAe,EAAE,KAK7B,CAAC;AAKF,eAAO,MAAM,cAAc,EAAE,KAW5B,CAAC;AAKF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC"}
@@ -1,5 +1,12 @@
1
1
  import type { ElementType } from 'react';
2
2
  import type { AsPolyProp, CommonBoxProps, StyleProps } from './';
3
3
  export type BoxStylesProps<E extends ElementType = 'div'> = AsPolyProp<E> & Pick<CommonBoxProps, 'className'> & StyleProps;
4
- export declare const boxStyles: <E extends ElementType = "div">({ as, className, ...props }: BoxStylesProps<E>) => string;
4
+ export type BoxStylesReturn<P extends object> = [string, P];
5
+ export declare const boxStylesWithFilteredProps: <E extends ElementType = "div">({ as, className, ...props }: BoxStylesProps<E>) => {
6
+ className: string;
7
+ baseProps: {
8
+ is?: never | undefined;
9
+ };
10
+ };
11
+ export declare const boxStyles: <E extends ElementType = "div">(props: BoxStylesProps<E>) => string;
5
12
  //# sourceMappingURL=boxStyles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"boxStyles.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/boxStyles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAUzC,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAEjE,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IAAI,UAAU,CAAC,CAAC,CAAC,GACxE,IAAI,CAAC,cAAc,EAAE,WAAW,CAAC,GACjC,UAAU,CAAC;AA4BZ,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,6BAItD,cAAc,CAAC,CAAC,CAAC,WA4BnB,CAAC"}
1
+ {"version":3,"file":"boxStyles.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/boxStyles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAUzC,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAEjE,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IAAI,UAAU,CAAC,CAAC,CAAC,GACxE,IAAI,CAAC,cAAc,EAAE,WAAW,CAAC,GACjC,UAAU,CAAC;AAEZ,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAe5D,eAAO,MAAM,0BAA0B,GAAI,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,6BAIvE,cAAc,CAAC,CAAC,CAAC;;;;;CA2BnB,CAAC;AASF,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,WAAW,GAAG,KAAK,EACtD,OAAO,cAAc,CAAC,CAAC,CAAC,WAIxB,CAAC"}
@@ -3,30 +3,40 @@
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
4
  const _excluded = ["as", "className"];
5
5
  import clsx from 'clsx';
6
- import { element } from "../../reset/reset.css.js";
6
+ import { resetStyles } from "../../styles/resetStyles.js";
7
7
  import { sprinkles, sprinklesLegacyColours, sprinklesResponsive } from "../../styles/sprinkles.css.js";
8
8
  import { filterPropsWithStyles } from "../../utils/sprinkles.js";
9
- const borderColorProps = ['borderColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor'];
10
- const borderStyleProps = ['borderStyle', 'borderBottomStyle', 'borderLeftStyle', 'borderRightStyle', 'borderTopStyle'];
11
- const borderWidthProps = ['borderWidth', 'borderBottomWidth', 'borderLeftWidth', 'borderRightWidth', 'borderTopWidth'];
12
- export const boxStyles = _ref => {
13
- var _as$toString;
9
+ const borderProperties = ['Color', 'Colour', 'Width'];
10
+ const borderPostfixes = ['', 'Bottom', 'Left', 'Right', 'Top'];
11
+ export const boxStylesWithFilteredProps = _ref => {
14
12
  let {
15
13
  as,
16
14
  className
17
15
  } = _ref,
18
16
  props = _objectWithoutProperties(_ref, _excluded);
19
- const tagName = (_as$toString = as === null || as === void 0 ? void 0 : as.toString()) !== null && _as$toString !== void 0 ? _as$toString : 'div';
20
- const resets = tagName in element ? element[tagName] : '';
21
- const hasBorderStyle = borderStyleProps.some(key => !!props[key]);
22
- const hasBorderColorOrWidth = [].concat(borderColorProps, borderWidthProps).some(key => !!props[key]);
23
17
  const {
24
18
  sprinklesProps,
25
19
  sprinklesResponsiveProps,
26
- sprinklesLegacyColourProps
20
+ sprinklesLegacyColourProps,
21
+ baseProps
27
22
  } = filterPropsWithStyles(props);
28
- if (hasBorderColorOrWidth && !hasBorderStyle) {
29
- sprinklesProps['borderStyle'] = 'solid';
23
+ for (const postfix of borderPostfixes) {
24
+ for (const property of borderProperties) {
25
+ if (props[`border${postfix}${property}`]) {
26
+ sprinklesProps[`border${postfix}Style`] = 'solid';
27
+ }
28
+ }
30
29
  }
31
- return clsx(resets, sprinkles(sprinklesProps), sprinklesResponsive(sprinklesResponsiveProps), sprinklesLegacyColours(sprinklesLegacyColourProps), className);
30
+ return {
31
+ className: clsx(resetStyles({
32
+ as: as ? `${as}` : as
33
+ }), sprinkles(sprinklesProps), sprinklesResponsive(sprinklesResponsiveProps), sprinklesLegacyColours(sprinklesLegacyColourProps), className),
34
+ baseProps
35
+ };
36
+ };
37
+ export const boxStyles = props => {
38
+ const {
39
+ className
40
+ } = boxStylesWithFilteredProps(props);
41
+ return className;
32
42
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useBox.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/useBox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AACpD,OAAO,EAEN,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAEhB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACX,SAAS,EACT,mBAAmB,EACnB,sBAAsB,EACtB,MAAM,4BAA4B,CAAC;AAOpC,MAAM,MAAM,UAAU,GAAG,SAAS,GACjC,mBAAmB,GACnB,sBAAsB,CAAC;AAMxB,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IAIxD,SAAS,CAAC,EAAE,SAAS,CAAC;IAItB,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,WAAW,IAC/C,qBAAqB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAGjC,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,WAAW,IAAI;IAC/C,EAAE,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC;IAEtB,EAAE,CAAC,EAAE,KAAK,CAAC;CACX,CAAC;AAGF,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,IAAI;IAChD,GAAG,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;CACxB,CAAC;AAGF,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAO9E,MAAM,MAAM,yBAAyB,CACpC,CAAC,SAAS,WAAW,EACrB,KAAK,GAAG,MAAM,IACX,iBAAiB,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,GAC5D,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;AAG1D,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IACpD,yBAAyB,CAAC,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,CAAC;AAM3D,MAAM,MAAM,YAAY,CACvB,CAAC,SAAS,WAAW,EACrB,CAAC,GAAG,MAAM,IACP,yBAAyB,CAC5B,CAAC,EACD,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,GAAG,cAAc,GAAG,CAAC,CAC9C,CAAC;AAkBF,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,mEAMnD,WAAW,CAAC,CAAC,CAAC;;;;;CA2ChB,CAAC"}
1
+ {"version":3,"file":"useBox.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/useBox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AACpD,OAAO,EAEN,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAEhB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACX,SAAS,EACT,mBAAmB,EACnB,sBAAsB,EACtB,MAAM,4BAA4B,CAAC;AAYpC,MAAM,MAAM,UAAU,GAAG,SAAS,GACjC,mBAAmB,GACnB,sBAAsB,CAAC;AAMxB,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IAIxD,SAAS,CAAC,EAAE,SAAS,CAAC;IAItB,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,WAAW,IAC/C,qBAAqB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAGjC,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,WAAW,IAAI;IAC/C,EAAE,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC;IAEtB,EAAE,CAAC,EAAE,KAAK,CAAC;CACX,CAAC;AAGF,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,IAAI;IAChD,GAAG,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;CACxB,CAAC;AAGF,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAO9E,MAAM,MAAM,yBAAyB,CACpC,CAAC,SAAS,WAAW,EACrB,KAAK,GAAG,MAAM,IACX,iBAAiB,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,GAC5D,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;AAG1D,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IACpD,yBAAyB,CAAC,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,CAAC;AAM3D,MAAM,MAAM,YAAY,CACvB,CAAC,SAAS,WAAW,EACrB,CAAC,GAAG,MAAM,IACP,yBAAyB,CAC5B,CAAC,EACD,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,GAAG,cAAc,GAAG,CAAC,CAC9C,CAAC;AAYF,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,mEAMnD,WAAW,CAAC,CAAC,CAAC;;;;;CAmChB,CAAC"}
@@ -8,8 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
8
8
  import { isValidElement } from 'react';
9
9
  import { useDeepCompareMemo } from "../../hooks/index.js";
10
10
  import { dataAttrs } from "../../utils/dataAttrs.js";
11
- import { filterNonSprinklesProps } from "../../utils/sprinkles.js";
12
- import { boxStyles } from "./boxStyles.js";
11
+ import { boxStylesWithFilteredProps } from "./boxStyles.js";
13
12
  const DEFAULT_TAG = 'div';
14
13
  const LIST_ITEM_TAG = 'li';
15
14
  const LIST_TAGS = ['ul', 'ol'];
@@ -27,15 +26,17 @@ export const useBox = _ref => {
27
26
  const Component = as !== null && as !== void 0 ? as : DEFAULT_TAG;
28
27
  const isList = LIST_TAGS.includes(Component);
29
28
  const SemanticChild = isList ? LIST_ITEM_TAG : undefined;
30
- const className = useDeepCompareMemo(() => boxStyles(_objectSpread({
29
+ const {
30
+ className,
31
+ baseProps
32
+ } = useDeepCompareMemo(() => boxStylesWithFilteredProps(_objectSpread({
31
33
  as,
32
34
  className: _className
33
35
  }, props)), [as, _className, props]);
34
- const remainingProps = useDeepCompareMemo(() => _objectSpread(_objectSpread({}, filterNonSprinklesProps(props)), dataAttrs({
36
+ const componentProps = _objectSpread(_objectSpread(_objectSpread({}, baseProps), dataAttrs({
35
37
  [OD_COMPONENT_ATTR]: odComponent === null || odComponent === void 0 ? void 0 : odComponent.toLocaleLowerCase(),
36
38
  testId
37
- })), [odComponent, props, testId]);
38
- const componentProps = _objectSpread(_objectSpread({}, remainingProps), {}, {
39
+ })), {}, {
39
40
  className
40
41
  });
41
42
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"Bullet.css.d.ts","sourceRoot":"","sources":["../../../lib/components/BulletList/Bullet.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0DAuCf,CAAC;AAEH,eAAO,MAAM,KAAK,QAIhB,CAAC"}
1
+ {"version":3,"file":"Bullet.css.d.ts","sourceRoot":"","sources":["../../../lib/components/BulletList/Bullet.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0DAwCf,CAAC;AAEH,eAAO,MAAM,KAAK,QAIhB,CAAC"}
@@ -13,7 +13,8 @@ export const root = styleVariants({
13
13
  ':last-of-type': {
14
14
  marginBottom: 0
15
15
  },
16
- ':before': {
16
+ '::before': {
17
+ boxSizing: 'content-box',
17
18
  display: 'block',
18
19
  alignSelf: 'flex-start',
19
20
  width: vars.space['2'],
@@ -24,26 +25,26 @@ export const root = styleVariants({
24
25
  }
25
26
  },
26
27
  circle: {
27
- ':before': {
28
+ '::before': {
28
29
  borderRadius: '50%'
29
30
  }
30
31
  },
31
32
  disc: {
32
- ':before': {
33
+ '::before': {
33
34
  border: `2px solid ${vars.typography.colour.dark}`,
34
35
  borderRadius: '50%',
35
36
  backgroundColor: 'transparent'
36
37
  }
37
38
  },
38
39
  square: {
39
- ':before': {
40
+ '::before': {
40
41
  border: `2px solid ${vars.typography.colour.dark}`,
41
42
  backgroundColor: 'transparent'
42
43
  }
43
44
  }
44
45
  }, "root");
45
46
  export const noDot = style({
46
- ':before': {
47
+ '::before': {
47
48
  visibility: 'hidden'
48
49
  }
49
50
  }, "noDot");
@@ -1,9 +1,9 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: React.FunctionComponent<import("./BulletList").BulletListProps>;
6
- decorators: ((Story: import("@storybook/core/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-vite").ReactRenderer, {
7
7
  className?: string | undefined;
8
8
  children?: React.ReactNode;
9
9
  }>) => React.JSX.Element)[];
@@ -1 +1 @@
1
- {"version":3,"file":"Bullet.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/BulletList/Bullet.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,QAAA,MAAM,IAAI;;;;;;;CAUyB,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAsBtB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KA0DpB,CAAC"}
1
+ {"version":3,"file":"Bullet.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/BulletList/Bullet.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,QAAA,MAAM,IAAI;;;;;;;CAUyB,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAsBtB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KA0DpB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  import * as React from 'react';
3
3
  import { BulletText } from './BulletText';
4
4
  declare const meta: {
@@ -1 +1 @@
1
- {"version":3,"file":"BulletText.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/BulletText/BulletText.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAoByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAsB9B,CAAC"}
1
+ {"version":3,"file":"BulletText.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/BulletText/BulletText.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAoByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAsB9B,CAAC"}