@utilitywarehouse/hearth-react-native 0.34.5 → 0.35.1

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 (1036) hide show
  1. package/LICENSE +194 -0
  2. package/README.md +52 -0
  3. package/SKILL.md +361 -0
  4. package/build/components/Alert/AlertIcon.js +4 -4
  5. package/build/components/Badge/BadgeIcon.js +4 -4
  6. package/build/components/Card/CardAction/CardActionIcon.js +2 -2
  7. package/build/components/Card/CardAction/CardActionTrailingIcon.js +2 -2
  8. package/build/components/Carousel/CarouselControlItem.js +2 -2
  9. package/build/components/Carousel/CarouselControls.js +2 -2
  10. package/build/components/Checkbox/CheckboxGroup.d.ts +1 -1
  11. package/build/components/Checkbox/CheckboxGroup.js +5 -2
  12. package/build/components/Checkbox/CheckboxGroup.props.d.ts +4 -0
  13. package/build/components/Combobox/Combobox.js +2 -9
  14. package/build/components/Combobox/Combobox.utils.d.ts +2 -0
  15. package/build/components/Combobox/Combobox.utils.js +8 -0
  16. package/build/components/Combobox/Combobox.utils.test.d.ts +1 -0
  17. package/build/components/Combobox/Combobox.utils.test.js +27 -0
  18. package/build/components/DatePicker/DatePickerHeader/DatePickerNextButton.js +2 -2
  19. package/build/components/DatePicker/DatePickerHeader/DatePickerPrevButton.js +2 -2
  20. package/build/components/DatePicker/DatePickerHeader/DatePickerSelectors.js +2 -2
  21. package/build/components/DatePicker/utils.test.d.ts +1 -0
  22. package/build/components/DatePicker/utils.test.js +191 -0
  23. package/build/components/DatePickerInput/DatePickerInput.js +1 -8
  24. package/build/components/DatePickerInput/DatePickerInput.utils.d.ts +2 -0
  25. package/build/components/DatePickerInput/DatePickerInput.utils.js +8 -0
  26. package/build/components/DatePickerInput/DatePickerInput.utils.test.d.ts +1 -0
  27. package/build/components/DatePickerInput/DatePickerInput.utils.test.js +22 -0
  28. package/build/components/ExpandableCard/ExpandableCardIcon.js +2 -2
  29. package/build/components/FormField/FormField.d.ts +5 -5
  30. package/build/components/Helper/HelperIcon.js +2 -2
  31. package/build/components/IconButton/IconButtonIcon.js +4 -4
  32. package/build/components/List/ListAction/ListActionTrailingIcon.js +2 -2
  33. package/build/components/List/ListItem/ListItemIcon.js +2 -2
  34. package/build/components/PillGroup/PillGroup.d.ts +1 -1
  35. package/build/components/PillGroup/PillGroup.js +4 -2
  36. package/build/components/PillGroup/PillGroup.props.d.ts +10 -0
  37. package/build/components/Radio/RadioGroup.d.ts +1 -1
  38. package/build/components/Radio/RadioGroup.js +5 -2
  39. package/build/components/Radio/RadioGroup.props.d.ts +4 -0
  40. package/build/components/RadioCard/RadioCard.d.ts +5 -24
  41. package/build/components/RadioCard/RadioCard.js +5 -1
  42. package/build/components/RadioCard/RadioCardGroup.props.d.ts +4 -0
  43. package/build/components/Rating/Rating.d.ts +1 -1
  44. package/build/components/Rating/Rating.js +3 -2
  45. package/build/components/Rating/Rating.props.d.ts +5 -0
  46. package/build/components/SegmentedControl/SegmentedControl.js +2 -2
  47. package/build/components/Select/Select.js +2 -3
  48. package/build/components/Select/Select.utils.d.ts +2 -0
  49. package/build/components/Select/Select.utils.js +1 -0
  50. package/build/components/Select/Select.utils.test.d.ts +1 -0
  51. package/build/components/Select/Select.utils.test.js +21 -0
  52. package/build/components/StepperInput/StepperInput.js +1 -62
  53. package/build/components/StepperInput/StepperInput.utils.d.ts +6 -0
  54. package/build/components/StepperInput/StepperInput.utils.js +62 -0
  55. package/build/components/StepperInput/StepperInput.utils.test.d.ts +1 -0
  56. package/build/components/StepperInput/StepperInput.utils.test.js +99 -0
  57. package/build/components/Switch/Switch.js +10 -8
  58. package/build/components/Switch/Switch.props.d.ts +11 -1
  59. package/build/components/Switch/Switch.web.js +10 -8
  60. package/build/components/TimePickerInput/TimePickerInput.js +1 -8
  61. package/build/components/TimePickerInput/TimePickerInput.utils.d.ts +3 -0
  62. package/build/components/TimePickerInput/TimePickerInput.utils.js +8 -0
  63. package/build/components/TimePickerInput/TimePickerInput.utils.test.d.ts +1 -0
  64. package/build/components/TimePickerInput/TimePickerInput.utils.test.js +20 -0
  65. package/build/components/Toast/ToastItem.js +2 -2
  66. package/build/components/ToggleButton/ToggleButtonRoot.js +1 -1
  67. package/build/components/ToggleButtonCard/ToggleButtonCard.d.ts +5 -1
  68. package/build/components/ToggleButtonCard/ToggleButtonCard.js +5 -1
  69. package/build/components/ToggleButtonCard/ToggleButtonCardGroup.props.d.ts +4 -0
  70. package/build/tokens/components/dark/chip.d.ts +14 -0
  71. package/build/tokens/components/dark/chip.js +13 -0
  72. package/build/tokens/components/dark/icon.d.ts +26 -0
  73. package/build/tokens/components/dark/icon.js +25 -0
  74. package/build/tokens/components/dark/index.d.ts +2 -0
  75. package/build/tokens/components/dark/index.js +2 -0
  76. package/build/tokens/components/light/chip.d.ts +14 -0
  77. package/build/tokens/components/light/chip.js +13 -0
  78. package/build/tokens/components/light/icon.d.ts +26 -0
  79. package/build/tokens/components/light/icon.js +25 -0
  80. package/build/tokens/components/light/index.d.ts +2 -0
  81. package/build/tokens/components/light/index.js +2 -0
  82. package/build/tokens/semantic-dark.d.ts +4 -4
  83. package/build/tokens/semantic-dark.js +4 -4
  84. package/build/tokens/semantic-light.d.ts +4 -4
  85. package/build/tokens/semantic-light.js +4 -4
  86. package/build/utils/formatThousands.test.d.ts +1 -0
  87. package/build/utils/formatThousands.test.js +31 -0
  88. package/build/utils/getFlattenedColorValue.test.d.ts +1 -0
  89. package/build/utils/getFlattenedColorValue.test.js +21 -0
  90. package/build/utils/getInitials.test.d.ts +1 -0
  91. package/build/utils/getInitials.test.js +23 -0
  92. package/build/utils/hexWithOpacity.test.d.ts +1 -0
  93. package/build/utils/hexWithOpacity.test.js +22 -0
  94. package/build/utils/isEqual.test.d.ts +1 -0
  95. package/build/utils/isEqual.test.js +44 -0
  96. package/build/utils/themeValueHelpers.test.d.ts +1 -0
  97. package/build/utils/themeValueHelpers.test.js +82 -0
  98. package/package.json +25 -7
  99. package/{src/components/Accordion/Accordion.docs.mdx → public/llms/components/accordion.md} +62 -97
  100. package/{src/components/Alert/Alert.docs.mdx → public/llms/components/alert.md} +46 -49
  101. package/{src/components/Avatar/Avatar.docs.mdx → public/llms/components/avatar.md} +18 -50
  102. package/{src/components/Badge/Badge.docs.mdx → public/llms/components/badge.md} +56 -38
  103. package/{src/components/Banner/Banner.docs.mdx → public/llms/components/banner.md} +487 -40
  104. package/{src/components/BodyText/BodyText.docs.mdx → public/llms/components/body-text.md} +32 -25
  105. package/{src/components/BottomSheet/BottomSheet.docs.mdx → public/llms/components/bottom-sheet.md} +25 -33
  106. package/{src/components/Box/Box.docs.mdx → public/llms/components/box.md} +7 -21
  107. package/{src/components/Button/Button.docs.mdx → public/llms/components/button.md} +118 -109
  108. package/{src/components/Card/Card.docs.mdx → public/llms/components/card.md} +281 -47
  109. package/{src/components/Carousel/Carousel.docs.mdx → public/llms/components/carousel.md} +14 -92
  110. package/public/llms/components/center.md +24 -0
  111. package/{src/components/Checkbox/Checkbox.docs.mdx → public/llms/components/checkbox.md} +114 -155
  112. package/{src/components/Combobox/Combobox.docs.mdx → public/llms/components/combobox.md} +53 -47
  113. package/{src/components/Container/Container.docs.mdx → public/llms/components/container.md} +59 -26
  114. package/{src/components/CurrencyInput/CurrencyInput.docs.mdx → public/llms/components/currency-input.md} +48 -44
  115. package/{src/components/DateInput/DateInput.docs.mdx → public/llms/components/date-input.md} +162 -29
  116. package/{src/components/DatePickerInput/DatePickerInput.docs.mdx → public/llms/components/date-picker-input.md} +11 -51
  117. package/{src/components/DatePicker/DatePicker.docs.mdx → public/llms/components/date-picker.md} +49 -26
  118. package/{src/components/DescriptionList/DescriptionList.docs.mdx → public/llms/components/description-list.md} +64 -31
  119. package/{src/components/DetailText/DetailText.docs.mdx → public/llms/components/detail-text.md} +47 -25
  120. package/{src/components/Divider/Divider.docs.mdx → public/llms/components/divider.md} +10 -22
  121. package/{src/components/ExpandableCard/ExpandableCard.docs.mdx → public/llms/components/expandable-card.md} +213 -28
  122. package/{src/components/Expandable/Expandable.docs.mdx → public/llms/components/expandable.md} +165 -21
  123. package/{src/components/Flex/Flex.docs.mdx → public/llms/components/flex.md} +18 -24
  124. package/{src/components/FormField/FormField.docs.mdx → public/llms/components/form-field.md} +57 -109
  125. package/{src/components/Grid/Grid.docs.mdx → public/llms/components/grid.md} +15 -79
  126. package/{src/components/Heading/Heading.docs.mdx → public/llms/components/heading.md} +32 -21
  127. package/{src/components/HighlightBanner/HighlightBanner.docs.mdx → public/llms/components/highlight-banner.md} +204 -41
  128. package/{src/components/HTMLElements/Lists.docs.mdx → public/llms/components/html-elements/lists.md} +20 -43
  129. package/{src/components/IconButton/IconButton.docs.mdx → public/llms/components/icon-button.md} +134 -32
  130. package/{src/components/IconContainer/IconContainer.docs.mdx → public/llms/components/icon-container.md} +44 -35
  131. package/{src/components/Icon/Icon.docs.mdx → public/llms/components/icon.md} +6 -30
  132. package/public/llms/components/indicator-icon-button.md +138 -0
  133. package/{src/components/InlineLink/InlineLink.docs.mdx → public/llms/components/inline-link.md} +7 -26
  134. package/{src/components/Input/Input.docs.mdx → public/llms/components/input.md} +73 -75
  135. package/{src/components/Link/Link.docs.mdx → public/llms/components/link.md} +5 -20
  136. package/{src/components/List/List.docs.mdx → public/llms/components/list.md} +192 -127
  137. package/{src/components/Menu/Menu.docs.mdx → public/llms/components/menu.md} +52 -29
  138. package/{src/components/Modal/Modal.docs.mdx → public/llms/components/modal.md} +119 -50
  139. package/{src/components/NavModal/NavModal.docs.mdx → public/llms/components/nav-modal.md} +65 -24
  140. package/{src/components/Pagination/Pagination.docs.mdx → public/llms/components/pagination.md} +38 -27
  141. package/public/llms/components/pill-group.md +162 -0
  142. package/{src/components/ProgressBar/ProgressBar.docs.mdx → public/llms/components/progress-bar.md} +42 -28
  143. package/public/llms/components/progress-stepper.md +144 -0
  144. package/{src/components/RadioCard/RadioCard.docs.mdx → public/llms/components/radio-card.md} +19 -50
  145. package/{src/components/Radio/Radio.docs.mdx → public/llms/components/radio.md} +146 -132
  146. package/public/llms/components/rating.md +147 -0
  147. package/{src/components/Roundel/Roundel.docs.mdx → public/llms/components/roundel.md} +19 -19
  148. package/{src/components/SectionHeader/Sectionheader.docs.mdx → public/llms/components/section-header.md} +46 -19
  149. package/{src/components/SegmentedControl/SegmentedControl.docs.mdx → public/llms/components/segmented-control.md} +40 -28
  150. package/{src/components/Select/Select.docs.mdx → public/llms/components/select.md} +70 -57
  151. package/{src/components/Skeleton/Skeleton.docs.mdx → public/llms/components/skeleton.md} +5 -9
  152. package/{src/components/Spinner/Spinner.docs.mdx → public/llms/components/spinner.md} +22 -22
  153. package/{src/components/StepperInput/StepperInput.docs.mdx → public/llms/components/stepper-input.md} +102 -29
  154. package/{src/components/Switch/Switch.docs.mdx → public/llms/components/switch.md} +56 -60
  155. package/public/llms/components/table.md +408 -0
  156. package/{src/components/Tabs/Tabs.docs.mdx → public/llms/components/tabs.md} +176 -41
  157. package/{src/components/Textarea/Textarea.docs.mdx → public/llms/components/textarea.md} +7 -49
  158. package/{src/components/ThemedImage/ThemedImage.docs.mdx → public/llms/components/themed-image.md} +79 -14
  159. package/{src/components/TimePickerInput/TimePickerInput.docs.mdx → public/llms/components/time-picker-input.md} +10 -48
  160. package/{src/components/TimePicker/TimePicker.docs.mdx → public/llms/components/time-picker.md} +17 -20
  161. package/{src/components/Timeline/Timeline.docs.mdx → public/llms/components/timeline.md} +30 -73
  162. package/{src/components/Toast/Toast.docs.mdx → public/llms/components/toast.md} +50 -31
  163. package/{src/components/ToggleButtonCard/ToggleButtonCard.docs.mdx → public/llms/components/toggle-button-card.md} +34 -56
  164. package/{src/components/VerificationInput/VerificationInput.docs.mdx → public/llms/components/verification-input.md} +106 -21
  165. package/{docs/adding-shadows.mdx → public/llms/docs/adding-shadows.md} +2 -29
  166. package/public/llms/docs/ai-tooling.md +188 -0
  167. package/public/llms/docs/all-components.md +3 -0
  168. package/{docs/dark-mode-best-practice.mdx → public/llms/docs/dark-mode-best-practice.md} +10 -139
  169. package/{docs/getting-started.mdx → public/llms/docs/getting-started.md} +2 -13
  170. package/{docs/hooks.mdx → public/llms/docs/hooks.md} +16 -13
  171. package/{docs/introduction.mdx → public/llms/docs/introduction.md} +6 -12
  172. package/{docs/layout-components.docs.mdx → public/llms/docs/layout-components.md} +59 -26
  173. package/{docs/styling.mdx → public/llms/docs/styling.md} +21 -17
  174. package/{docs/theme-tokens.mdx → public/llms/docs/theme-tokens.md} +23 -18
  175. package/public/llms.txt +128 -0
  176. package/scripts/init-ai.js +157 -0
  177. package/.storybook/main.ts +0 -81
  178. package/.storybook/manager.ts +0 -11
  179. package/.storybook/preview.tsx +0 -174
  180. package/.storybook/prism-setup.ts +0 -104
  181. package/.storybook/vitest.setup.ts +0 -31
  182. package/.turbo/turbo-build.log +0 -1
  183. package/CHANGELOG.md +0 -2083
  184. package/CLAUDE.md +0 -109
  185. package/chromatic.config.json +0 -6
  186. package/docs/all-components.mdx +0 -19
  187. package/docs/assets/bank-logo.png +0 -0
  188. package/docs/assets/bank-logo1.png +0 -0
  189. package/docs/assets/modal-android.mp4 +0 -0
  190. package/docs/assets/modal-ios.mp4 +0 -0
  191. package/docs/assets/pigs.png +0 -0
  192. package/docs/assets/toast-ios.MP4 +0 -0
  193. package/docs/changelog.mdx +0 -2100
  194. package/docs/components/AdvancedInputExample.tsx +0 -39
  195. package/docs/components/AllComponents.web.tsx +0 -1005
  196. package/docs/components/BackToTopButton.tsx +0 -58
  197. package/docs/components/BadgeList.tsx +0 -30
  198. package/docs/components/DocComponentWrap.tsx +0 -7
  199. package/docs/components/InputShadowExample.tsx +0 -19
  200. package/docs/components/NextPrevPage.tsx +0 -54
  201. package/docs/components/SwitchExample.tsx +0 -13
  202. package/docs/components/SwitchList.tsx +0 -52
  203. package/docs/components/UsageWrap.tsx +0 -21
  204. package/docs/components/VariantTitle.tsx +0 -40
  205. package/docs/components/ViewFigmaButton.tsx +0 -43
  206. package/docs/components/ViewWrap.tsx +0 -32
  207. package/docs/components/index.ts +0 -13
  208. package/docs/heplers/addReactNativePrefix.ts +0 -8
  209. package/docs/heplers/index.ts +0 -1
  210. package/docs/llm-docs/unistyles-llms-full.txt +0 -9135
  211. package/docs/llm-docs/unistyles-llms-small.txt +0 -247
  212. package/eslint.config.js +0 -35
  213. package/figma.config.json +0 -11
  214. package/scripts/copyChangelog.js +0 -57
  215. package/scripts/copyTokens.js +0 -96
  216. package/src/components/Accordion/Accordion.context.tsx +0 -13
  217. package/src/components/Accordion/Accordion.figma.tsx +0 -21
  218. package/src/components/Accordion/Accordion.props.ts +0 -43
  219. package/src/components/Accordion/Accordion.stories.tsx +0 -118
  220. package/src/components/Accordion/Accordion.tsx +0 -127
  221. package/src/components/Accordion/AccordionContent.tsx +0 -44
  222. package/src/components/Accordion/AccordionContentText.tsx +0 -10
  223. package/src/components/Accordion/AccordionHeader.tsx +0 -18
  224. package/src/components/Accordion/AccordionIcon.tsx +0 -11
  225. package/src/components/Accordion/AccordionItem.context.tsx +0 -11
  226. package/src/components/Accordion/AccordionItem.figma.tsx +0 -27
  227. package/src/components/Accordion/AccordionItem.props.ts +0 -20
  228. package/src/components/Accordion/AccordionItemRoot.tsx +0 -27
  229. package/src/components/Accordion/AccordionRoot.tsx +0 -35
  230. package/src/components/Accordion/AccordionTitleText.tsx +0 -19
  231. package/src/components/Accordion/AccordionTrigger.tsx +0 -54
  232. package/src/components/Accordion/index.ts +0 -10
  233. package/src/components/Alert/Alert.context.ts +0 -8
  234. package/src/components/Alert/Alert.figma.tsx +0 -47
  235. package/src/components/Alert/Alert.props.ts +0 -67
  236. package/src/components/Alert/Alert.stories.tsx +0 -87
  237. package/src/components/Alert/Alert.tsx +0 -109
  238. package/src/components/Alert/AlertCloseButton.tsx +0 -54
  239. package/src/components/Alert/AlertContent.tsx +0 -22
  240. package/src/components/Alert/AlertIcon.tsx +0 -54
  241. package/src/components/Alert/AlertIconButton.tsx +0 -49
  242. package/src/components/Alert/AlertLink.tsx +0 -60
  243. package/src/components/Alert/AlertText.tsx +0 -39
  244. package/src/components/Alert/AlertTitle.tsx +0 -39
  245. package/src/components/Alert/index.ts +0 -8
  246. package/src/components/Avatar/Avatar.figma.tsx +0 -23
  247. package/src/components/Avatar/Avatar.props.ts +0 -31
  248. package/src/components/Avatar/Avatar.stories.tsx +0 -76
  249. package/src/components/Avatar/Avatar.tsx +0 -134
  250. package/src/components/Avatar/index.ts +0 -2
  251. package/src/components/Badge/Badge.context.ts +0 -11
  252. package/src/components/Badge/Badge.figma.tsx +0 -47
  253. package/src/components/Badge/Badge.props.ts +0 -26
  254. package/src/components/Badge/Badge.stories.tsx +0 -184
  255. package/src/components/Badge/Badge.tsx +0 -300
  256. package/src/components/Badge/BadgeIcon.tsx +0 -158
  257. package/src/components/Badge/BadgeText.tsx +0 -166
  258. package/src/components/Badge/index.ts +0 -3
  259. package/src/components/Banner/Banner.context.ts +0 -11
  260. package/src/components/Banner/Banner.figma.tsx +0 -23
  261. package/src/components/Banner/Banner.props.ts +0 -99
  262. package/src/components/Banner/Banner.stories.tsx +0 -650
  263. package/src/components/Banner/Banner.tsx +0 -337
  264. package/src/components/Banner/BannerIllustration.figma.tsx +0 -30
  265. package/src/components/Banner/BannerIllustration.tsx +0 -58
  266. package/src/components/Banner/BannerImage.tsx +0 -63
  267. package/src/components/Banner/index.ts +0 -4
  268. package/src/components/BodyText/BodyText.props.ts +0 -10
  269. package/src/components/BodyText/BodyText.stories.tsx +0 -147
  270. package/src/components/BodyText/BodyText.tsx +0 -144
  271. package/src/components/BodyText/index.ts +0 -2
  272. package/src/components/BottomSheet/BottomSheet.context.ts +0 -15
  273. package/src/components/BottomSheet/BottomSheet.props.ts +0 -49
  274. package/src/components/BottomSheet/BottomSheet.stories.tsx +0 -335
  275. package/src/components/BottomSheet/BottomSheet.tsx +0 -71
  276. package/src/components/BottomSheet/BottomSheetBackdrop.tsx +0 -29
  277. package/src/components/BottomSheet/BottomSheetFlatList.tsx +0 -65
  278. package/src/components/BottomSheet/BottomSheetHandle.tsx +0 -48
  279. package/src/components/BottomSheet/BottomSheetModal.figma.tsx +0 -20
  280. package/src/components/BottomSheet/BottomSheetModal.tsx +0 -70
  281. package/src/components/BottomSheet/BottomSheetModalProvider.tsx +0 -33
  282. package/src/components/BottomSheet/BottomSheetScrollView.tsx +0 -74
  283. package/src/components/BottomSheet/BottomSheetView.tsx +0 -67
  284. package/src/components/BottomSheet/index.ts +0 -20
  285. package/src/components/BottomSheet/useBottomSheetLogic.tsx +0 -53
  286. package/src/components/Box/Box.props.ts +0 -13
  287. package/src/components/Box/Box.stories.tsx +0 -70
  288. package/src/components/Box/Box.tsx +0 -107
  289. package/src/components/Box/index.ts +0 -1
  290. package/src/components/Button/Button.context.ts +0 -13
  291. package/src/components/Button/Button.figma.tsx +0 -132
  292. package/src/components/Button/Button.props.tsx +0 -84
  293. package/src/components/Button/Button.stories.tsx +0 -293
  294. package/src/components/Button/Button.tsx +0 -83
  295. package/src/components/Button/ButtonGroup.context.ts +0 -5
  296. package/src/components/Button/ButtonGroup.tsx +0 -25
  297. package/src/components/Button/ButtonGroupRoot.tsx +0 -85
  298. package/src/components/Button/ButtonIcon.tsx +0 -141
  299. package/src/components/Button/ButtonRoot.tsx +0 -451
  300. package/src/components/Button/ButtonSpinner.tsx +0 -60
  301. package/src/components/Button/ButtonText.tsx +0 -134
  302. package/src/components/Button/index.ts +0 -3
  303. package/src/components/Card/Card.context.ts +0 -19
  304. package/src/components/Card/Card.figma.tsx +0 -29
  305. package/src/components/Card/Card.props.ts +0 -34
  306. package/src/components/Card/Card.stories.tsx +0 -370
  307. package/src/components/Card/Card.tsx +0 -10
  308. package/src/components/Card/CardAction/CardAction.context.ts +0 -22
  309. package/src/components/Card/CardAction/CardAction.figma.tsx +0 -44
  310. package/src/components/Card/CardAction/CardAction.props.ts +0 -86
  311. package/src/components/Card/CardAction/CardAction.stories.tsx +0 -412
  312. package/src/components/Card/CardAction/CardAction.tsx +0 -10
  313. package/src/components/Card/CardAction/CardActionContent.tsx +0 -20
  314. package/src/components/Card/CardAction/CardActionHelperText.tsx +0 -21
  315. package/src/components/Card/CardAction/CardActionIcon.tsx +0 -32
  316. package/src/components/Card/CardAction/CardActionLeadingContent.tsx +0 -9
  317. package/src/components/Card/CardAction/CardActionRoot.tsx +0 -270
  318. package/src/components/Card/CardAction/CardActionText.tsx +0 -17
  319. package/src/components/Card/CardAction/CardActionTrailingContent.tsx +0 -9
  320. package/src/components/Card/CardAction/CardActionTrailingIcon.tsx +0 -32
  321. package/src/components/Card/CardAction/index.ts +0 -10
  322. package/src/components/Card/CardActions.context.ts +0 -12
  323. package/src/components/Card/CardActions.tsx +0 -40
  324. package/src/components/Card/CardContent.tsx +0 -40
  325. package/src/components/Card/CardPressHandler.context.ts +0 -12
  326. package/src/components/Card/CardPressHandler.tsx +0 -20
  327. package/src/components/Card/CardRoot.tsx +0 -357
  328. package/src/components/Card/helpers.tsx +0 -195
  329. package/src/components/Card/index.ts +0 -7
  330. package/src/components/Carousel/Carousel.context.tsx +0 -8
  331. package/src/components/Carousel/Carousel.figma.tsx +0 -22
  332. package/src/components/Carousel/Carousel.props.ts +0 -89
  333. package/src/components/Carousel/Carousel.stories.tsx +0 -317
  334. package/src/components/Carousel/Carousel.tsx +0 -448
  335. package/src/components/Carousel/CarouselControlItem.tsx +0 -87
  336. package/src/components/Carousel/CarouselControls.tsx +0 -150
  337. package/src/components/Carousel/CarouselItem.tsx +0 -68
  338. package/src/components/Carousel/index.ts +0 -6
  339. package/src/components/Center/Center.docs.mdx +0 -42
  340. package/src/components/Center/Center.stories.tsx +0 -30
  341. package/src/components/Center/Center.tsx +0 -12
  342. package/src/components/Center/index.ts +0 -1
  343. package/src/components/Checkbox/Checkbox.context.ts +0 -9
  344. package/src/components/Checkbox/Checkbox.figma.tsx +0 -26
  345. package/src/components/Checkbox/Checkbox.props.ts +0 -47
  346. package/src/components/Checkbox/Checkbox.stories.tsx +0 -217
  347. package/src/components/Checkbox/Checkbox.tsx +0 -110
  348. package/src/components/Checkbox/CheckboxGroup.context.ts +0 -10
  349. package/src/components/Checkbox/CheckboxGroup.figma.tsx +0 -73
  350. package/src/components/Checkbox/CheckboxGroup.props.ts +0 -23
  351. package/src/components/Checkbox/CheckboxGroup.stories.tsx +0 -100
  352. package/src/components/Checkbox/CheckboxGroup.tsx +0 -114
  353. package/src/components/Checkbox/CheckboxGroupRoot.tsx +0 -36
  354. package/src/components/Checkbox/CheckboxGroupTextContent.tsx +0 -14
  355. package/src/components/Checkbox/CheckboxIcon.tsx +0 -30
  356. package/src/components/Checkbox/CheckboxImage.figma.tsx +0 -27
  357. package/src/components/Checkbox/CheckboxImage.tsx +0 -14
  358. package/src/components/Checkbox/CheckboxIndicator.tsx +0 -63
  359. package/src/components/Checkbox/CheckboxLabel.tsx +0 -14
  360. package/src/components/Checkbox/CheckboxRoot.tsx +0 -64
  361. package/src/components/Checkbox/CheckboxTextContent.tsx +0 -21
  362. package/src/components/Checkbox/CheckboxTileRoot.figma.tsx +0 -29
  363. package/src/components/Checkbox/CheckboxTileRoot.tsx +0 -50
  364. package/src/components/Checkbox/index.ts +0 -12
  365. package/src/components/Combobox/Combobox.context.ts +0 -26
  366. package/src/components/Combobox/Combobox.figma.tsx +0 -60
  367. package/src/components/Combobox/Combobox.props.ts +0 -187
  368. package/src/components/Combobox/Combobox.stories.tsx +0 -233
  369. package/src/components/Combobox/Combobox.tsx +0 -446
  370. package/src/components/Combobox/ComboboxOption.tsx +0 -100
  371. package/src/components/Combobox/index.ts +0 -9
  372. package/src/components/Container/Container.props.ts +0 -32
  373. package/src/components/Container/Container.stories.tsx +0 -290
  374. package/src/components/Container/Container.tsx +0 -52
  375. package/src/components/Container/index.tsx +0 -2
  376. package/src/components/CurrencyInput/CurrencyInput.figma.tsx +0 -72
  377. package/src/components/CurrencyInput/CurrencyInput.props.ts +0 -27
  378. package/src/components/CurrencyInput/CurrencyInput.stories.tsx +0 -147
  379. package/src/components/CurrencyInput/CurrencyInput.tsx +0 -101
  380. package/src/components/CurrencyInput/index.ts +0 -1
  381. package/src/components/DateInput/DateInput.figma.tsx +0 -88
  382. package/src/components/DateInput/DateInput.props.ts +0 -125
  383. package/src/components/DateInput/DateInput.stories.tsx +0 -314
  384. package/src/components/DateInput/DateInput.tsx +0 -135
  385. package/src/components/DateInput/DateInputSegment.tsx +0 -69
  386. package/src/components/DateInput/index.ts +0 -2
  387. package/src/components/DatePicker/DatePicker.context.ts +0 -23
  388. package/src/components/DatePicker/DatePicker.figma.tsx +0 -47
  389. package/src/components/DatePicker/DatePicker.props.ts +0 -139
  390. package/src/components/DatePicker/DatePicker.stories.tsx +0 -98
  391. package/src/components/DatePicker/DatePicker.tsx +0 -673
  392. package/src/components/DatePicker/DatePickerCalendar.tsx +0 -58
  393. package/src/components/DatePicker/DatePickerDay.tsx +0 -302
  394. package/src/components/DatePicker/DatePickerDays.tsx +0 -241
  395. package/src/components/DatePicker/DatePickerFooter.tsx +0 -35
  396. package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.props.ts +0 -8
  397. package/src/components/DatePicker/DatePickerHeader/DatePickerMonthButton.tsx +0 -29
  398. package/src/components/DatePicker/DatePickerHeader/DatePickerNextButton.tsx +0 -46
  399. package/src/components/DatePicker/DatePickerHeader/DatePickerPrevButton.tsx +0 -46
  400. package/src/components/DatePicker/DatePickerHeader/DatePickerSelectors.tsx +0 -96
  401. package/src/components/DatePicker/DatePickerHeader/DatePickerTimeButton.tsx +0 -48
  402. package/src/components/DatePicker/DatePickerHeader/DatePickerYearButton.tsx +0 -50
  403. package/src/components/DatePicker/DatePickerHeader/index.tsx +0 -64
  404. package/src/components/DatePicker/DatePickerMonths.tsx +0 -101
  405. package/src/components/DatePicker/DatePickerWeekdays.tsx +0 -49
  406. package/src/components/DatePicker/DatePickerYears.tsx +0 -119
  407. package/src/components/DatePicker/enums.ts +0 -14
  408. package/src/components/DatePicker/index.ts +0 -15
  409. package/src/components/DatePicker/polyfill.ts +0 -21
  410. package/src/components/DatePicker/utils.ts +0 -549
  411. package/src/components/DatePickerInput/DatePickerInput.figma.tsx +0 -34
  412. package/src/components/DatePickerInput/DatePickerInput.props.ts +0 -56
  413. package/src/components/DatePickerInput/DatePickerInput.stories.tsx +0 -178
  414. package/src/components/DatePickerInput/DatePickerInput.tsx +0 -277
  415. package/src/components/DatePickerInput/DatePickerInputDoneButton.tsx +0 -42
  416. package/src/components/DatePickerInput/DatePickerInputDoneButton.web.tsx +0 -7
  417. package/src/components/DatePickerInput/index.ts +0 -2
  418. package/src/components/DescriptionList/DescriptionList.context.ts +0 -18
  419. package/src/components/DescriptionList/DescriptionList.figma.tsx +0 -47
  420. package/src/components/DescriptionList/DescriptionList.props.ts +0 -14
  421. package/src/components/DescriptionList/DescriptionList.stories.tsx +0 -172
  422. package/src/components/DescriptionList/DescriptionList.tsx +0 -54
  423. package/src/components/DescriptionList/DescriptionListItem.figma.tsx +0 -42
  424. package/src/components/DescriptionList/DescriptionListItem.props.ts +0 -15
  425. package/src/components/DescriptionList/DescriptionListItem.tsx +0 -106
  426. package/src/components/DescriptionList/index.ts +0 -4
  427. package/src/components/DetailText/DetailText.props.ts +0 -8
  428. package/src/components/DetailText/DetailText.stories.tsx +0 -148
  429. package/src/components/DetailText/DetailText.tsx +0 -147
  430. package/src/components/DetailText/index.ts +0 -1
  431. package/src/components/Divider/Divider.figma.tsx +0 -12
  432. package/src/components/Divider/Divider.props.ts +0 -19
  433. package/src/components/Divider/Divider.stories.tsx +0 -60
  434. package/src/components/Divider/Divider.tsx +0 -240
  435. package/src/components/Divider/index.ts +0 -1
  436. package/src/components/Expandable/Expandable.props.ts +0 -46
  437. package/src/components/Expandable/Expandable.stories.tsx +0 -284
  438. package/src/components/Expandable/Expandable.tsx +0 -92
  439. package/src/components/Expandable/index.ts +0 -2
  440. package/src/components/ExpandableCard/ExpandableCard.figma.tsx +0 -49
  441. package/src/components/ExpandableCard/ExpandableCard.props.ts +0 -108
  442. package/src/components/ExpandableCard/ExpandableCard.stories.tsx +0 -376
  443. package/src/components/ExpandableCard/ExpandableCard.tsx +0 -84
  444. package/src/components/ExpandableCard/ExpandableCardContent.tsx +0 -21
  445. package/src/components/ExpandableCard/ExpandableCardExpandedContent.tsx +0 -42
  446. package/src/components/ExpandableCard/ExpandableCardGroup.figma.tsx +0 -40
  447. package/src/components/ExpandableCard/ExpandableCardGroup.props.ts +0 -36
  448. package/src/components/ExpandableCard/ExpandableCardGroup.tsx +0 -42
  449. package/src/components/ExpandableCard/ExpandableCardHelperText.tsx +0 -21
  450. package/src/components/ExpandableCard/ExpandableCardIcon.tsx +0 -32
  451. package/src/components/ExpandableCard/ExpandableCardLeadingContent.tsx +0 -9
  452. package/src/components/ExpandableCard/ExpandableCardText.tsx +0 -14
  453. package/src/components/ExpandableCard/ExpandableCardTrailingContent.tsx +0 -9
  454. package/src/components/ExpandableCard/ExpandableCardTrailingIcon.tsx +0 -30
  455. package/src/components/ExpandableCard/ExpandableCardTrigger.props.ts +0 -76
  456. package/src/components/ExpandableCard/ExpandableCardTrigger.tsx +0 -9
  457. package/src/components/ExpandableCard/ExpandableCardTriggerRoot.tsx +0 -173
  458. package/src/components/ExpandableCard/index.ts +0 -14
  459. package/src/components/Flex/Flex.props.ts +0 -31
  460. package/src/components/Flex/Flex.stories.tsx +0 -78
  461. package/src/components/Flex/Flex.tsx +0 -46
  462. package/src/components/Flex/index.ts +0 -1
  463. package/src/components/FormField/FormFielInvalidIcon.tsx +0 -11
  464. package/src/components/FormField/FormField.context.ts +0 -11
  465. package/src/components/FormField/FormField.figma.tsx +0 -23
  466. package/src/components/FormField/FormField.props.ts +0 -20
  467. package/src/components/FormField/FormField.stories.tsx +0 -134
  468. package/src/components/FormField/FormField.tsx +0 -123
  469. package/src/components/FormField/FormFieldHelper.tsx +0 -23
  470. package/src/components/FormField/FormFieldInvalid.tsx +0 -33
  471. package/src/components/FormField/FormFieldLabel.tsx +0 -16
  472. package/src/components/FormField/FormFieldRoot.tsx +0 -21
  473. package/src/components/FormField/FormFieldValid.tsx +0 -33
  474. package/src/components/FormField/FormFieldValidIcon.tsx +0 -11
  475. package/src/components/FormField/index.ts +0 -16
  476. package/src/components/Grid/Grid.props.ts +0 -62
  477. package/src/components/Grid/Grid.stories.tsx +0 -199
  478. package/src/components/Grid/Grid.tsx +0 -146
  479. package/src/components/Grid/index.ts +0 -2
  480. package/src/components/HTMLElements/ListItem.tsx +0 -33
  481. package/src/components/HTMLElements/OrderedList.stories.tsx +0 -86
  482. package/src/components/HTMLElements/OrderedList.tsx +0 -98
  483. package/src/components/HTMLElements/UnorderedList.stories.tsx +0 -110
  484. package/src/components/HTMLElements/UnorderedList.tsx +0 -92
  485. package/src/components/HTMLElements/index.ts +0 -3
  486. package/src/components/Heading/Heading.props.ts +0 -8
  487. package/src/components/Heading/Heading.stories.tsx +0 -128
  488. package/src/components/Heading/Heading.tsx +0 -193
  489. package/src/components/Heading/index.ts +0 -1
  490. package/src/components/Helper/Helper.props.ts +0 -24
  491. package/src/components/Helper/Helper.tsx +0 -66
  492. package/src/components/Helper/HelperContext.ts +0 -6
  493. package/src/components/Helper/HelperIcon.tsx +0 -44
  494. package/src/components/Helper/HelperText.figma.tsx +0 -23
  495. package/src/components/Helper/HelperText.tsx +0 -46
  496. package/src/components/Helper/index.ts +0 -3
  497. package/src/components/HighlightBanner/HighlightBanner.figma.tsx +0 -46
  498. package/src/components/HighlightBanner/HighlightBanner.props.ts +0 -29
  499. package/src/components/HighlightBanner/HighlightBanner.stories.tsx +0 -314
  500. package/src/components/HighlightBanner/HighlightBanner.tsx +0 -127
  501. package/src/components/HighlightBanner/HighlightBannerImage.tsx +0 -20
  502. package/src/components/HighlightBanner/index.ts +0 -3
  503. package/src/components/Icon/Icon.props.ts +0 -17
  504. package/src/components/Icon/Icon.stories.tsx +0 -44
  505. package/src/components/Icon/Icon.tsx +0 -52
  506. package/src/components/Icon/index.tsx +0 -2
  507. package/src/components/IconButton/IconButton.context.ts +0 -13
  508. package/src/components/IconButton/IconButton.figma.tsx +0 -45
  509. package/src/components/IconButton/IconButton.props.ts +0 -45
  510. package/src/components/IconButton/IconButton.stories.tsx +0 -271
  511. package/src/components/IconButton/IconButton.tsx +0 -37
  512. package/src/components/IconButton/IconButtonIcon.tsx +0 -156
  513. package/src/components/IconButton/IconButtonRoot.tsx +0 -478
  514. package/src/components/IconButton/IconButtonSpinner.tsx +0 -68
  515. package/src/components/IconButton/index.tsx +0 -2
  516. package/src/components/IconContainer/IconContainer.figma.tsx +0 -44
  517. package/src/components/IconContainer/IconContainer.props.ts +0 -17
  518. package/src/components/IconContainer/IconContainer.stories.tsx +0 -135
  519. package/src/components/IconContainer/IconContainer.tsx +0 -178
  520. package/src/components/IconContainer/index.tsx +0 -2
  521. package/src/components/Icons/CircleIcon.tsx +0 -21
  522. package/src/components/Icons/index.ts +0 -1
  523. package/src/components/IndicatorIconButton/IndicatorIconButton.docs.mdx +0 -85
  524. package/src/components/IndicatorIconButton/IndicatorIconButton.figma.tsx +0 -16
  525. package/src/components/IndicatorIconButton/IndicatorIconButton.props.ts +0 -12
  526. package/src/components/IndicatorIconButton/IndicatorIconButton.stories.tsx +0 -150
  527. package/src/components/IndicatorIconButton/IndicatorIconButton.tsx +0 -36
  528. package/src/components/IndicatorIconButton/index.tsx +0 -2
  529. package/src/components/InlineLink/InlineLink.context.ts +0 -10
  530. package/src/components/InlineLink/InlineLink.props.ts +0 -10
  531. package/src/components/InlineLink/InlineLink.stories.tsx +0 -91
  532. package/src/components/InlineLink/InlineLink.tsx +0 -26
  533. package/src/components/InlineLink/InlineLinkRoot.tsx +0 -87
  534. package/src/components/InlineLink/index.ts +0 -3
  535. package/src/components/Input/Input.context.ts +0 -6
  536. package/src/components/Input/Input.figma.tsx +0 -123
  537. package/src/components/Input/Input.props.ts +0 -118
  538. package/src/components/Input/Input.stories.tsx +0 -235
  539. package/src/components/Input/Input.tsx +0 -215
  540. package/src/components/Input/InputField.tsx +0 -75
  541. package/src/components/Input/InputIcon.tsx +0 -30
  542. package/src/components/Input/InputRoot.tsx +0 -89
  543. package/src/components/Input/InputSlot.tsx +0 -32
  544. package/src/components/Input/index.ts +0 -1
  545. package/src/components/Label/Label.figma.tsx +0 -24
  546. package/src/components/Label/Label.props.ts +0 -9
  547. package/src/components/Label/Label.tsx +0 -44
  548. package/src/components/Label/index.ts +0 -1
  549. package/src/components/Link/Link.context.ts +0 -10
  550. package/src/components/Link/Link.figma.tsx +0 -35
  551. package/src/components/Link/Link.props.ts +0 -18
  552. package/src/components/Link/Link.stories.tsx +0 -75
  553. package/src/components/Link/Link.tsx +0 -44
  554. package/src/components/Link/LinkIcon.tsx +0 -60
  555. package/src/components/Link/LinkRoot.tsx +0 -65
  556. package/src/components/Link/LinkText.tsx +0 -59
  557. package/src/components/Link/index.ts +0 -4
  558. package/src/components/List/List.context.ts +0 -16
  559. package/src/components/List/List.figma.tsx +0 -45
  560. package/src/components/List/List.props.ts +0 -13
  561. package/src/components/List/List.stories.tsx +0 -535
  562. package/src/components/List/List.tsx +0 -109
  563. package/src/components/List/ListAction/ListAction.figma.tsx +0 -21
  564. package/src/components/List/ListAction/ListAction.props.ts +0 -10
  565. package/src/components/List/ListAction/ListAction.tsx +0 -165
  566. package/src/components/List/ListAction/ListActionContent.tsx +0 -21
  567. package/src/components/List/ListAction/ListActionText.tsx +0 -14
  568. package/src/components/List/ListAction/ListActionTrailingContent.tsx +0 -9
  569. package/src/components/List/ListAction/ListActionTrailingIcon.tsx +0 -33
  570. package/src/components/List/ListAction/index.ts +0 -6
  571. package/src/components/List/ListItem/ListItem.context.ts +0 -11
  572. package/src/components/List/ListItem/ListItem.figma.tsx +0 -56
  573. package/src/components/List/ListItem/ListItem.props.ts +0 -38
  574. package/src/components/List/ListItem/ListItem.tsx +0 -10
  575. package/src/components/List/ListItem/ListItemContent.tsx +0 -21
  576. package/src/components/List/ListItem/ListItemHeading.tsx +0 -20
  577. package/src/components/List/ListItem/ListItemHelperText.tsx +0 -20
  578. package/src/components/List/ListItem/ListItemIcon.tsx +0 -32
  579. package/src/components/List/ListItem/ListItemLeadingContent.figma.tsx +0 -29
  580. package/src/components/List/ListItem/ListItemLeadingContent.tsx +0 -9
  581. package/src/components/List/ListItem/ListItemRoot.tsx +0 -221
  582. package/src/components/List/ListItem/ListItemTrailingContent.figma.tsx +0 -27
  583. package/src/components/List/ListItem/ListItemTrailingContent.tsx +0 -9
  584. package/src/components/List/ListItem/ListItemTrailingIcon.tsx +0 -31
  585. package/src/components/List/ListItem/index.ts +0 -9
  586. package/src/components/List/index.ts +0 -4
  587. package/src/components/Menu/Menu.context.ts +0 -15
  588. package/src/components/Menu/Menu.figma.tsx +0 -30
  589. package/src/components/Menu/Menu.props.ts +0 -20
  590. package/src/components/Menu/Menu.stories.tsx +0 -292
  591. package/src/components/Menu/Menu.tsx +0 -51
  592. package/src/components/Menu/MenuItem.figma.tsx +0 -39
  593. package/src/components/Menu/MenuItem.props.ts +0 -29
  594. package/src/components/Menu/MenuItem.tsx +0 -145
  595. package/src/components/Menu/MenuTrigger.props.ts +0 -14
  596. package/src/components/Menu/MenuTrigger.tsx +0 -20
  597. package/src/components/Menu/index.ts +0 -7
  598. package/src/components/Modal/Modal.figma.tsx +0 -67
  599. package/src/components/Modal/Modal.props.ts +0 -25
  600. package/src/components/Modal/Modal.shared.types.ts +0 -43
  601. package/src/components/Modal/Modal.stories.tsx +0 -405
  602. package/src/components/Modal/Modal.tsx +0 -423
  603. package/src/components/Modal/Modal.web.tsx +0 -250
  604. package/src/components/Modal/ModalImage.tsx +0 -20
  605. package/src/components/Modal/index.ts +0 -3
  606. package/src/components/NavModal/NavModal.figma.tsx +0 -13
  607. package/src/components/NavModal/NavModal.props.ts +0 -31
  608. package/src/components/NavModal/NavModal.stories.tsx +0 -200
  609. package/src/components/NavModal/NavModal.tsx +0 -436
  610. package/src/components/NavModal/index.ts +0 -2
  611. package/src/components/Pagination/Pagination.figma.tsx +0 -20
  612. package/src/components/Pagination/Pagination.props.ts +0 -28
  613. package/src/components/Pagination/Pagination.stories.tsx +0 -88
  614. package/src/components/Pagination/Pagination.tsx +0 -248
  615. package/src/components/Pagination/Pagination.utils.test.ts +0 -20
  616. package/src/components/Pagination/Pagination.utils.ts +0 -37
  617. package/src/components/Pagination/index.ts +0 -2
  618. package/src/components/PillGroup/Pill.figma.tsx +0 -12
  619. package/src/components/PillGroup/Pill.props.ts +0 -13
  620. package/src/components/PillGroup/Pill.tsx +0 -118
  621. package/src/components/PillGroup/PillGroup.context.tsx +0 -12
  622. package/src/components/PillGroup/PillGroup.docs.mdx +0 -96
  623. package/src/components/PillGroup/PillGroup.figma.tsx +0 -20
  624. package/src/components/PillGroup/PillGroup.props.ts +0 -36
  625. package/src/components/PillGroup/PillGroup.stories.tsx +0 -158
  626. package/src/components/PillGroup/PillGroup.tsx +0 -70
  627. package/src/components/PillGroup/index.ts +0 -4
  628. package/src/components/ProgressBar/ProgressBar.figma.tsx +0 -79
  629. package/src/components/ProgressBar/ProgressBar.props.ts +0 -60
  630. package/src/components/ProgressBar/ProgressBar.stories.tsx +0 -117
  631. package/src/components/ProgressBar/ProgressBar.tsx +0 -74
  632. package/src/components/ProgressBar/ProgressBarCircular.tsx +0 -181
  633. package/src/components/ProgressBar/ProgressBarLinear.tsx +0 -127
  634. package/src/components/ProgressBar/index.ts +0 -7
  635. package/src/components/ProgressStepper/ProgressStep.figma.tsx +0 -19
  636. package/src/components/ProgressStepper/ProgressStep.tsx +0 -134
  637. package/src/components/ProgressStepper/ProgressStepper.docs.mdx +0 -87
  638. package/src/components/ProgressStepper/ProgressStepper.figma.tsx +0 -13
  639. package/src/components/ProgressStepper/ProgressStepper.props.ts +0 -27
  640. package/src/components/ProgressStepper/ProgressStepper.stories.tsx +0 -107
  641. package/src/components/ProgressStepper/ProgressStepper.tsx +0 -26
  642. package/src/components/ProgressStepper/ProgressStepperRoot.tsx +0 -32
  643. package/src/components/ProgressStepper/index.ts +0 -3
  644. package/src/components/Radio/Radio.context.ts +0 -9
  645. package/src/components/Radio/Radio.figma.tsx +0 -38
  646. package/src/components/Radio/Radio.props.ts +0 -38
  647. package/src/components/Radio/Radio.stories.tsx +0 -254
  648. package/src/components/Radio/Radio.tsx +0 -98
  649. package/src/components/Radio/RadioGroup.context.ts +0 -10
  650. package/src/components/Radio/RadioGroup.figma.tsx +0 -82
  651. package/src/components/Radio/RadioGroup.props.ts +0 -23
  652. package/src/components/Radio/RadioGroup.stories.tsx +0 -131
  653. package/src/components/Radio/RadioGroup.tsx +0 -113
  654. package/src/components/Radio/RadioGroupRoot.tsx +0 -36
  655. package/src/components/Radio/RadioGroupTextContent.tsx +0 -14
  656. package/src/components/Radio/RadioIcon.tsx +0 -37
  657. package/src/components/Radio/RadioImage.figma.tsx +0 -27
  658. package/src/components/Radio/RadioImage.tsx +0 -14
  659. package/src/components/Radio/RadioIndicator.tsx +0 -63
  660. package/src/components/Radio/RadioLabel.tsx +0 -14
  661. package/src/components/Radio/RadioRoot.tsx +0 -65
  662. package/src/components/Radio/RadioTextContent.tsx +0 -21
  663. package/src/components/Radio/RadioTile.figma.tsx +0 -38
  664. package/src/components/Radio/RadioTileRoot.tsx +0 -46
  665. package/src/components/Radio/index.ts +0 -6
  666. package/src/components/RadioCard/RadioCard.context.ts +0 -8
  667. package/src/components/RadioCard/RadioCard.figma.tsx +0 -24
  668. package/src/components/RadioCard/RadioCard.props.ts +0 -19
  669. package/src/components/RadioCard/RadioCard.stories.tsx +0 -45
  670. package/src/components/RadioCard/RadioCard.tsx +0 -62
  671. package/src/components/RadioCard/RadioCardGroup.context.ts +0 -16
  672. package/src/components/RadioCard/RadioCardGroup.props.ts +0 -36
  673. package/src/components/RadioCard/RadioCardGroup.stories.tsx +0 -94
  674. package/src/components/RadioCard/RadioCardGroup.tsx +0 -57
  675. package/src/components/RadioCard/RadioCardIcon.tsx +0 -33
  676. package/src/components/RadioCard/RadioCardIndicator.tsx +0 -63
  677. package/src/components/RadioCard/RadioCardLabel.tsx +0 -19
  678. package/src/components/RadioCard/RadioCardRoot.tsx +0 -85
  679. package/src/components/RadioCard/index.ts +0 -8
  680. package/src/components/Rating/Rating.docs.mdx +0 -217
  681. package/src/components/Rating/Rating.figma.tsx +0 -39
  682. package/src/components/Rating/Rating.props.ts +0 -28
  683. package/src/components/Rating/Rating.stories.tsx +0 -112
  684. package/src/components/Rating/Rating.tsx +0 -198
  685. package/src/components/Rating/Rating.utils.test.ts +0 -15
  686. package/src/components/Rating/Rating.utils.ts +0 -14
  687. package/src/components/Rating/RatingEmoji.tsx +0 -28
  688. package/src/components/Rating/RatingStarEmpty.tsx +0 -22
  689. package/src/components/Rating/RatingStarFilled.tsx +0 -27
  690. package/src/components/Rating/index.ts +0 -2
  691. package/src/components/Roundel/Roundel.figma.tsx +0 -17
  692. package/src/components/Roundel/Roundel.props.ts +0 -8
  693. package/src/components/Roundel/Roundel.stories.tsx +0 -49
  694. package/src/components/Roundel/Roundel.tsx +0 -51
  695. package/src/components/Roundel/index.ts +0 -2
  696. package/src/components/SectionHeader/SectionHeader.figma.tsx +0 -37
  697. package/src/components/SectionHeader/SectionHeader.props.ts +0 -29
  698. package/src/components/SectionHeader/SectionHeader.stories.tsx +0 -86
  699. package/src/components/SectionHeader/SectionHeader.tsx +0 -61
  700. package/src/components/SectionHeader/SectionHeaderHeading.tsx +0 -14
  701. package/src/components/SectionHeader/SectionHeaderHelperText.tsx +0 -21
  702. package/src/components/SectionHeader/SectionHeaderTextContent.tsx +0 -21
  703. package/src/components/SectionHeader/SectionHeaderTrailingContent.tsx +0 -20
  704. package/src/components/SectionHeader/index.ts +0 -5
  705. package/src/components/SegmentedControl/SegmentedControl.context.ts +0 -22
  706. package/src/components/SegmentedControl/SegmentedControl.figma.tsx +0 -39
  707. package/src/components/SegmentedControl/SegmentedControl.props.ts +0 -20
  708. package/src/components/SegmentedControl/SegmentedControl.stories.tsx +0 -98
  709. package/src/components/SegmentedControl/SegmentedControl.tsx +0 -260
  710. package/src/components/SegmentedControl/SegmentedControlOption.props.ts +0 -16
  711. package/src/components/SegmentedControl/SegmentedControlOption.tsx +0 -237
  712. package/src/components/SegmentedControl/index.ts +0 -4
  713. package/src/components/Select/Select.context.ts +0 -15
  714. package/src/components/Select/Select.figma.tsx +0 -56
  715. package/src/components/Select/Select.props.ts +0 -161
  716. package/src/components/Select/Select.stories.tsx +0 -290
  717. package/src/components/Select/Select.tsx +0 -321
  718. package/src/components/Select/SelectOption.figma.tsx +0 -18
  719. package/src/components/Select/SelectOption.tsx +0 -103
  720. package/src/components/Select/index.ts +0 -7
  721. package/src/components/Skeleton/Skeleton.props.ts +0 -11
  722. package/src/components/Skeleton/Skeleton.stories.tsx +0 -33
  723. package/src/components/Skeleton/Skeleton.tsx +0 -77
  724. package/src/components/Skeleton/index.ts +0 -1
  725. package/src/components/Spinner/Spinner.figma.tsx +0 -14
  726. package/src/components/Spinner/Spinner.props.ts +0 -10
  727. package/src/components/Spinner/Spinner.stories.tsx +0 -56
  728. package/src/components/Spinner/Spinner.tsx +0 -157
  729. package/src/components/Spinner/Spinner.web.tsx +0 -149
  730. package/src/components/Spinner/index.ts +0 -2
  731. package/src/components/StepperInput/StepperButton.tsx +0 -83
  732. package/src/components/StepperInput/StepperInput.figma.tsx +0 -45
  733. package/src/components/StepperInput/StepperInput.props.ts +0 -39
  734. package/src/components/StepperInput/StepperInput.stories.tsx +0 -270
  735. package/src/components/StepperInput/StepperInput.tsx +0 -322
  736. package/src/components/StepperInput/index.ts +0 -2
  737. package/src/components/Switch/Switch.figma.tsx +0 -16
  738. package/src/components/Switch/Switch.props.ts +0 -10
  739. package/src/components/Switch/Switch.stories.tsx +0 -80
  740. package/src/components/Switch/Switch.tsx +0 -209
  741. package/src/components/Switch/Switch.web.tsx +0 -207
  742. package/src/components/Switch/index.ts +0 -1
  743. package/src/components/Table/Table.context.tsx +0 -23
  744. package/src/components/Table/Table.docs.mdx +0 -239
  745. package/src/components/Table/Table.figma.tsx +0 -65
  746. package/src/components/Table/Table.props.ts +0 -65
  747. package/src/components/Table/Table.stories.tsx +0 -399
  748. package/src/components/Table/Table.tsx +0 -127
  749. package/src/components/Table/Table.utils.test.ts +0 -82
  750. package/src/components/Table/Table.utils.ts +0 -72
  751. package/src/components/Table/TableBody.tsx +0 -25
  752. package/src/components/Table/TableCell.tsx +0 -67
  753. package/src/components/Table/TableHeader.tsx +0 -41
  754. package/src/components/Table/TableHeaderCell.tsx +0 -145
  755. package/src/components/Table/TablePagination.tsx +0 -10
  756. package/src/components/Table/TableRow.tsx +0 -42
  757. package/src/components/Table/index.ts +0 -16
  758. package/src/components/Tabs/Tab.figma.tsx +0 -21
  759. package/src/components/Tabs/Tab.props.ts +0 -16
  760. package/src/components/Tabs/Tab.tsx +0 -114
  761. package/src/components/Tabs/TabPanel.props.ts +0 -10
  762. package/src/components/Tabs/TabPanel.tsx +0 -46
  763. package/src/components/Tabs/Tabs.context.ts +0 -26
  764. package/src/components/Tabs/Tabs.figma.tsx +0 -20
  765. package/src/components/Tabs/Tabs.props.ts +0 -21
  766. package/src/components/Tabs/Tabs.stories.tsx +0 -270
  767. package/src/components/Tabs/Tabs.tsx +0 -138
  768. package/src/components/Tabs/TabsList.props.ts +0 -8
  769. package/src/components/Tabs/TabsList.tsx +0 -194
  770. package/src/components/Tabs/index.ts +0 -8
  771. package/src/components/Textarea/Textarea.context.ts +0 -6
  772. package/src/components/Textarea/Textarea.figma.tsx +0 -64
  773. package/src/components/Textarea/Textarea.props.ts +0 -74
  774. package/src/components/Textarea/Textarea.stories.tsx +0 -106
  775. package/src/components/Textarea/Textarea.tsx +0 -207
  776. package/src/components/Textarea/TextareaField.tsx +0 -45
  777. package/src/components/Textarea/TextareaRoot.tsx +0 -83
  778. package/src/components/Textarea/index.ts +0 -1
  779. package/src/components/ThemedImage/ThemedImage.props.ts +0 -15
  780. package/src/components/ThemedImage/ThemedImage.stories.tsx +0 -175
  781. package/src/components/ThemedImage/ThemedImage.tsx +0 -34
  782. package/src/components/ThemedImage/index.tsx +0 -2
  783. package/src/components/TimePicker/TimePicker.figma.tsx +0 -29
  784. package/src/components/TimePicker/TimePicker.props.ts +0 -45
  785. package/src/components/TimePicker/TimePicker.stories.tsx +0 -85
  786. package/src/components/TimePicker/TimePicker.tsx +0 -150
  787. package/src/components/TimePicker/TimePickerView.tsx +0 -216
  788. package/src/components/TimePicker/TimePickerWheel.tsx +0 -161
  789. package/src/components/TimePicker/TimePickerWheel.web.tsx +0 -217
  790. package/src/components/TimePicker/index.ts +0 -8
  791. package/src/components/TimePickerInput/TimePickerInput.figma.tsx +0 -34
  792. package/src/components/TimePickerInput/TimePickerInput.props.ts +0 -55
  793. package/src/components/TimePickerInput/TimePickerInput.stories.tsx +0 -175
  794. package/src/components/TimePickerInput/TimePickerInput.tsx +0 -283
  795. package/src/components/TimePickerInput/TimePickerInputDoneButton.tsx +0 -42
  796. package/src/components/TimePickerInput/TimePickerInputDoneButton.web.tsx +0 -7
  797. package/src/components/TimePickerInput/index.ts +0 -2
  798. package/src/components/Timeline/Timeline.figma.tsx +0 -89
  799. package/src/components/Timeline/Timeline.props.ts +0 -51
  800. package/src/components/Timeline/Timeline.stories.tsx +0 -102
  801. package/src/components/Timeline/Timeline.tsx +0 -48
  802. package/src/components/Timeline/TimelineItem.tsx +0 -293
  803. package/src/components/Timeline/index.ts +0 -9
  804. package/src/components/Toast/Toast.context.tsx +0 -139
  805. package/src/components/Toast/Toast.props.ts +0 -38
  806. package/src/components/Toast/Toast.stories.tsx +0 -385
  807. package/src/components/Toast/ToastItem.figma.tsx +0 -15
  808. package/src/components/Toast/ToastItem.tsx +0 -205
  809. package/src/components/Toast/index.ts +0 -3
  810. package/src/components/ToggleButton/ToggleButton.props.tsx +0 -7
  811. package/src/components/ToggleButton/ToggleButton.stories.tsx +0 -35
  812. package/src/components/ToggleButton/ToggleButton.tsx +0 -32
  813. package/src/components/ToggleButton/ToggleButtonIcon.tsx +0 -47
  814. package/src/components/ToggleButton/ToggleButtonRoot.tsx +0 -98
  815. package/src/components/ToggleButton/ToggleButtonText.tsx +0 -29
  816. package/src/components/ToggleButton/index.ts +0 -2
  817. package/src/components/ToggleButtonCard/ToggleButtonCard.context.ts +0 -8
  818. package/src/components/ToggleButtonCard/ToggleButtonCard.figma.tsx +0 -24
  819. package/src/components/ToggleButtonCard/ToggleButtonCard.props.ts +0 -17
  820. package/src/components/ToggleButtonCard/ToggleButtonCard.stories.tsx +0 -45
  821. package/src/components/ToggleButtonCard/ToggleButtonCard.tsx +0 -32
  822. package/src/components/ToggleButtonCard/ToggleButtonCardGroup.props.ts +0 -34
  823. package/src/components/ToggleButtonCard/ToggleButtonCardGroup.stories.tsx +0 -85
  824. package/src/components/ToggleButtonCard/ToggleButtonCardGroup.tsx +0 -48
  825. package/src/components/ToggleButtonCard/ToggleButtonCardRoot.tsx +0 -97
  826. package/src/components/ToggleButtonCard/index.ts +0 -2
  827. package/src/components/UnstyledIconButton/UnstyledIconButton.context.ts +0 -11
  828. package/src/components/UnstyledIconButton/UnstyledIconButton.figma.tsx +0 -49
  829. package/src/components/UnstyledIconButton/UnstyledIconButton.props.ts +0 -34
  830. package/src/components/UnstyledIconButton/UnstyledIconButton.stories.tsx +0 -96
  831. package/src/components/UnstyledIconButton/UnstyledIconButton.tsx +0 -68
  832. package/src/components/UnstyledIconButton/UnstyledIconButtonIcon.tsx +0 -74
  833. package/src/components/UnstyledIconButton/UnstyledIconButtonRoot.tsx +0 -61
  834. package/src/components/UnstyledIconButton/UnstyledIconButtonSpinner.tsx +0 -39
  835. package/src/components/UnstyledIconButton/index.tsx +0 -2
  836. package/src/components/VerificationInput/VerificationInput.figma.tsx +0 -53
  837. package/src/components/VerificationInput/VerificationInput.props.ts +0 -66
  838. package/src/components/VerificationInput/VerificationInput.stories.tsx +0 -249
  839. package/src/components/VerificationInput/VerificationInput.tsx +0 -290
  840. package/src/components/VerificationInput/VerificationInput.utils.test.ts +0 -48
  841. package/src/components/VerificationInput/VerificationInput.utils.ts +0 -32
  842. package/src/components/VerificationInput/VerificationInputSlot.tsx +0 -170
  843. package/src/components/VerificationInput/index.ts +0 -7
  844. package/src/components/index.ts +0 -77
  845. package/src/core/breakpoints.ts +0 -10
  846. package/src/core/index.ts +0 -38
  847. package/src/core/themes.ts +0 -390
  848. package/src/hooks/index.ts +0 -8
  849. package/src/hooks/useBreakpointValue.ts +0 -62
  850. package/src/hooks/useColorMode.ts +0 -18
  851. package/src/hooks/useFormFieldAccessibility.test.tsx +0 -74
  852. package/src/hooks/useFormFieldAccessibility.ts +0 -67
  853. package/src/hooks/useMedia.ts +0 -31
  854. package/src/hooks/usePrevious.ts +0 -9
  855. package/src/hooks/useStyleProps.ts +0 -95
  856. package/src/hooks/useTheme.ts +0 -9
  857. package/src/hooks/useToken.ts +0 -40
  858. package/src/index.ts +0 -4
  859. package/src/legacyTokens/common/brand.ts +0 -18
  860. package/src/legacyTokens/common/index.ts +0 -10
  861. package/src/legacyTokens/common/service.ts +0 -22
  862. package/src/legacyTokens/dark/apple.ts +0 -30
  863. package/src/legacyTokens/dark/cyan.ts +0 -50
  864. package/src/legacyTokens/dark/gold.ts +0 -46
  865. package/src/legacyTokens/dark/grape.ts +0 -30
  866. package/src/legacyTokens/dark/green.ts +0 -42
  867. package/src/legacyTokens/dark/grey.ts +0 -62
  868. package/src/legacyTokens/dark/index.ts +0 -42
  869. package/src/legacyTokens/dark/pink.ts +0 -30
  870. package/src/legacyTokens/dark/purple.ts +0 -50
  871. package/src/legacyTokens/dark/red.ts +0 -42
  872. package/src/legacyTokens/dark/rose.ts +0 -30
  873. package/src/legacyTokens/index.ts +0 -14
  874. package/src/legacyTokens/light/apple.ts +0 -30
  875. package/src/legacyTokens/light/cyan.ts +0 -50
  876. package/src/legacyTokens/light/gold.ts +0 -46
  877. package/src/legacyTokens/light/grape.ts +0 -30
  878. package/src/legacyTokens/light/green.ts +0 -42
  879. package/src/legacyTokens/light/grey.ts +0 -62
  880. package/src/legacyTokens/light/index.ts +0 -42
  881. package/src/legacyTokens/light/pink.ts +0 -30
  882. package/src/legacyTokens/light/purple.ts +0 -50
  883. package/src/legacyTokens/light/red.ts +0 -42
  884. package/src/legacyTokens/light/rose.ts +0 -34
  885. package/src/tokens/README.md +0 -7
  886. package/src/tokens/border-radius.ts +0 -12
  887. package/src/tokens/border-width.ts +0 -8
  888. package/src/tokens/color.ts +0 -659
  889. package/src/tokens/components/dark/accordion.ts +0 -27
  890. package/src/tokens/components/dark/alert.ts +0 -23
  891. package/src/tokens/components/dark/avatar.ts +0 -19
  892. package/src/tokens/components/dark/badge.ts +0 -24
  893. package/src/tokens/components/dark/banner.ts +0 -53
  894. package/src/tokens/components/dark/bottom-navigation.ts +0 -30
  895. package/src/tokens/components/dark/bottom-sheet.ts +0 -16
  896. package/src/tokens/components/dark/breadcrumb.ts +0 -7
  897. package/src/tokens/components/dark/button.ts +0 -19
  898. package/src/tokens/components/dark/card-accordion.ts +0 -13
  899. package/src/tokens/components/dark/card-action.ts +0 -11
  900. package/src/tokens/components/dark/card-content.ts +0 -25
  901. package/src/tokens/components/dark/card.ts +0 -38
  902. package/src/tokens/components/dark/carousel-control.ts +0 -11
  903. package/src/tokens/components/dark/checkbox.ts +0 -42
  904. package/src/tokens/components/dark/date-picker.ts +0 -44
  905. package/src/tokens/components/dark/description-list.ts +0 -20
  906. package/src/tokens/components/dark/divider.ts +0 -11
  907. package/src/tokens/components/dark/drawer.ts +0 -29
  908. package/src/tokens/components/dark/expandable-card.ts +0 -11
  909. package/src/tokens/components/dark/form-field.ts +0 -10
  910. package/src/tokens/components/dark/icon-button.ts +0 -46
  911. package/src/tokens/components/dark/icon-container.ts +0 -25
  912. package/src/tokens/components/dark/illustrations.ts +0 -7
  913. package/src/tokens/components/dark/index.ts +0 -58
  914. package/src/tokens/components/dark/indicator-icon-button.ts +0 -11
  915. package/src/tokens/components/dark/inline-link.ts +0 -14
  916. package/src/tokens/components/dark/input.ts +0 -43
  917. package/src/tokens/components/dark/link.ts +0 -20
  918. package/src/tokens/components/dark/list.ts +0 -48
  919. package/src/tokens/components/dark/menu.ts +0 -34
  920. package/src/tokens/components/dark/modal.ts +0 -36
  921. package/src/tokens/components/dark/navigation.ts +0 -61
  922. package/src/tokens/components/dark/overlay.ts +0 -8
  923. package/src/tokens/components/dark/pagination.ts +0 -13
  924. package/src/tokens/components/dark/parts.ts +0 -33
  925. package/src/tokens/components/dark/pill.ts +0 -16
  926. package/src/tokens/components/dark/progress-bar.ts +0 -41
  927. package/src/tokens/components/dark/progress-stepper.ts +0 -24
  928. package/src/tokens/components/dark/radio.ts +0 -39
  929. package/src/tokens/components/dark/rating.ts +0 -8
  930. package/src/tokens/components/dark/section-header.ts +0 -10
  931. package/src/tokens/components/dark/segmented-control.ts +0 -19
  932. package/src/tokens/components/dark/select.ts +0 -45
  933. package/src/tokens/components/dark/skeleton.ts +0 -7
  934. package/src/tokens/components/dark/spinner.ts +0 -24
  935. package/src/tokens/components/dark/switch.ts +0 -25
  936. package/src/tokens/components/dark/table.ts +0 -27
  937. package/src/tokens/components/dark/tabs.ts +0 -25
  938. package/src/tokens/components/dark/time-picker.ts +0 -30
  939. package/src/tokens/components/dark/timeline.ts +0 -27
  940. package/src/tokens/components/dark/toast.ts +0 -17
  941. package/src/tokens/components/dark/toggle-button.ts +0 -13
  942. package/src/tokens/components/dark/tooltip.ts +0 -13
  943. package/src/tokens/components/dark/top-navigation.ts +0 -18
  944. package/src/tokens/components/index.ts +0 -6
  945. package/src/tokens/components/light/accordion.ts +0 -27
  946. package/src/tokens/components/light/alert.ts +0 -23
  947. package/src/tokens/components/light/avatar.ts +0 -19
  948. package/src/tokens/components/light/badge.ts +0 -24
  949. package/src/tokens/components/light/banner.ts +0 -53
  950. package/src/tokens/components/light/bottom-navigation.ts +0 -30
  951. package/src/tokens/components/light/bottom-sheet.ts +0 -16
  952. package/src/tokens/components/light/breadcrumb.ts +0 -7
  953. package/src/tokens/components/light/button.ts +0 -19
  954. package/src/tokens/components/light/card-accordion.ts +0 -13
  955. package/src/tokens/components/light/card-action.ts +0 -11
  956. package/src/tokens/components/light/card-content.ts +0 -25
  957. package/src/tokens/components/light/card.ts +0 -38
  958. package/src/tokens/components/light/carousel-control.ts +0 -11
  959. package/src/tokens/components/light/checkbox.ts +0 -42
  960. package/src/tokens/components/light/date-picker.ts +0 -44
  961. package/src/tokens/components/light/description-list.ts +0 -20
  962. package/src/tokens/components/light/divider.ts +0 -11
  963. package/src/tokens/components/light/drawer.ts +0 -29
  964. package/src/tokens/components/light/expandable-card.ts +0 -11
  965. package/src/tokens/components/light/form-field.ts +0 -10
  966. package/src/tokens/components/light/icon-button.ts +0 -46
  967. package/src/tokens/components/light/icon-container.ts +0 -25
  968. package/src/tokens/components/light/illustrations.ts +0 -7
  969. package/src/tokens/components/light/index.ts +0 -58
  970. package/src/tokens/components/light/indicator-icon-button.ts +0 -11
  971. package/src/tokens/components/light/inline-link.ts +0 -14
  972. package/src/tokens/components/light/input.ts +0 -43
  973. package/src/tokens/components/light/link.ts +0 -20
  974. package/src/tokens/components/light/list.ts +0 -48
  975. package/src/tokens/components/light/menu.ts +0 -34
  976. package/src/tokens/components/light/modal.ts +0 -36
  977. package/src/tokens/components/light/navigation.ts +0 -61
  978. package/src/tokens/components/light/overlay.ts +0 -8
  979. package/src/tokens/components/light/pagination.ts +0 -13
  980. package/src/tokens/components/light/parts.ts +0 -33
  981. package/src/tokens/components/light/pill.ts +0 -16
  982. package/src/tokens/components/light/progress-bar.ts +0 -41
  983. package/src/tokens/components/light/progress-stepper.ts +0 -24
  984. package/src/tokens/components/light/radio.ts +0 -39
  985. package/src/tokens/components/light/rating.ts +0 -8
  986. package/src/tokens/components/light/section-header.ts +0 -10
  987. package/src/tokens/components/light/segmented-control.ts +0 -19
  988. package/src/tokens/components/light/select.ts +0 -45
  989. package/src/tokens/components/light/skeleton.ts +0 -7
  990. package/src/tokens/components/light/spinner.ts +0 -24
  991. package/src/tokens/components/light/switch.ts +0 -25
  992. package/src/tokens/components/light/table.ts +0 -27
  993. package/src/tokens/components/light/tabs.ts +0 -25
  994. package/src/tokens/components/light/time-picker.ts +0 -30
  995. package/src/tokens/components/light/timeline.ts +0 -27
  996. package/src/tokens/components/light/toast.ts +0 -17
  997. package/src/tokens/components/light/toggle-button.ts +0 -13
  998. package/src/tokens/components/light/tooltip.ts +0 -13
  999. package/src/tokens/components/light/top-navigation.ts +0 -18
  1000. package/src/tokens/font.ts +0 -29
  1001. package/src/tokens/index.ts +0 -20
  1002. package/src/tokens/layout.ts +0 -94
  1003. package/src/tokens/letter-spacing.ts +0 -13
  1004. package/src/tokens/line-height.ts +0 -16
  1005. package/src/tokens/motion.ts +0 -23
  1006. package/src/tokens/primitive.ts +0 -102
  1007. package/src/tokens/semantic-dark.ts +0 -255
  1008. package/src/tokens/semantic-light.ts +0 -255
  1009. package/src/tokens/semantic.ts +0 -9
  1010. package/src/tokens/shadow.ts +0 -52
  1011. package/src/tokens/space.ts +0 -23
  1012. package/src/tokens/typography.ts +0 -298
  1013. package/src/types/index.ts +0 -6
  1014. package/src/types/refs.ts +0 -8
  1015. package/src/types/semanticColorValues.ts +0 -26
  1016. package/src/types/states.ts +0 -11
  1017. package/src/types/unistyles.ts +0 -12
  1018. package/src/types/utilityProps.ts +0 -410
  1019. package/src/types/values.ts +0 -81
  1020. package/src/utils/coloursAsArray.ts +0 -65
  1021. package/src/utils/formatThousands.ts +0 -14
  1022. package/src/utils/getFlattenedColorValue.ts +0 -13
  1023. package/src/utils/getInitials.ts +0 -7
  1024. package/src/utils/getStyleValue.ts +0 -9
  1025. package/src/utils/hasChildrenByDisplayName.ts +0 -43
  1026. package/src/utils/hexWithOpacity.ts +0 -19
  1027. package/src/utils/index.ts +0 -17
  1028. package/src/utils/isEqual.ts +0 -30
  1029. package/src/utils/isThemedImageProps.ts +0 -8
  1030. package/src/utils/styleUtils.ts +0 -264
  1031. package/src/utils/themeValueHelpers.ts +0 -98
  1032. package/src/vite-env.d.ts +0 -19
  1033. package/tsconfig.eslint.json +0 -14
  1034. package/tsconfig.json +0 -45
  1035. package/vitest.config.js +0 -37
  1036. package/vitest.unit.config.ts +0 -9
@@ -1,29 +1,3 @@
1
- import { Canvas, Controls, Meta, Story } from '@storybook/addon-docs/blocks';
2
- import { TickSmallIcon } from '@utilitywarehouse/hearth-react-native-icons';
3
- import {
4
- Box,
5
- Center,
6
- Grid,
7
- Radio,
8
- RadioGroup,
9
- RadioIcon,
10
- RadioImage,
11
- RadioIndicator,
12
- RadioLabel,
13
- RadioTile,
14
- } from '../../';
15
- import StorybookLink from '../../../../../shared/storybook/StorybookLink';
16
- import mastercardLogo from '../../../docs/assets/bank-logo.png';
17
- import visaLogo from '../../../docs/assets/bank-logo1.png';
18
- import { BackToTopButton, UsageWrap, ViewFigmaButton } from '../../../docs/components';
19
- import * as Stories from './Radio.stories';
20
-
21
- <Meta title="Forms / Radio" />
22
-
23
- <BackToTopButton />
24
-
25
- <ViewFigmaButton url="https://www.figma.com/design/3RY3OvLA88yZksRjOfjQJm/UW-App-UI?node-id=4454-2232" />
26
-
27
1
  # Radio
28
2
 
29
3
  The Radio component presents users with predefined choices and enables them to select only one option. It is commonly used for providing a single-choice selection in forms or surveys.
@@ -49,9 +23,19 @@ The Radio component presents users with predefined choices and enables them to s
49
23
 
50
24
  ## Playground
51
25
 
52
- <Canvas of={Stories.Playground} />
53
-
54
- <Controls of={Stories.Playground} />
26
+ ```tsx
27
+ // Example usage
28
+ <RadioGroup>
29
+ <Radio
30
+ aria-label="Label 1"
31
+ onChange={(checked: boolean) => {
32
+ console.log(checked, '###');
33
+ }}
34
+ nativeID="Radio-1"
35
+ {...args}
36
+ />
37
+ </RadioGroup>
38
+ ```
55
39
 
56
40
  ## Usage
57
41
 
@@ -59,31 +43,24 @@ The Radio component presents users with predefined choices and enables them to s
59
43
  - `Radio` is used for a single selection
60
44
  - `RadioGroup` is the building block for `Radio`
61
45
 
62
- <UsageWrap>
63
- <Center>
64
- <RadioGroup aria-label="Radio Group" nativeID="Radio-group">
65
- <Radio
66
- value="Label 1"
67
- aria-label="Label 1"
68
- label="Option 1"
69
- />
70
- <Radio
71
- value="Label 2"
72
- aria-label="Label 2"
73
- label="Option 2"
74
- />
75
- </RadioGroup>
76
-
77
- </Center>
78
- </UsageWrap>
79
-
80
46
  ```tsx
81
- import { Radio, RadioGroup, RadioLabel, RadioIndicator } from '@utilitywarehouse/native-ui';
47
+ // Example usage
48
+ import {
49
+ Radio,
50
+ RadioGroup,
51
+ RadioLabel,
52
+ RadioIndicator,
53
+ } from '@utilitywarehouse/hearth-react-native';
82
54
 
83
55
  const MyComponent = () => {
84
56
  const [value, setValue] = React.useState('Option 1');
85
57
  return (
86
- <RadioGroup aria-label="Radio Group" value={value} onChange={setValue} nativeID="Radio-group">
58
+ <RadioGroup
59
+ aria-label="Radio Group"
60
+ value={value}
61
+ onValueChange={setValue}
62
+ nativeID="Radio-group"
63
+ >
87
64
  <Radio value="Option 1" aria-label="Option 1" label="Option 1" />
88
65
  <Radio value="Option 2" aria-label="Option 2" label="Option 2" />
89
66
  </RadioGroup>
@@ -110,8 +87,6 @@ const MyComponent = () => {
110
87
  | `type` | `'default' \| 'tile'` | `'default'` | The type of the radio. |
111
88
  | `image` | `ReactNode` | - | The image to be displayed next to the label. |
112
89
 
113
- ## Components
114
-
115
90
  ### `Radio`
116
91
 
117
92
  Contains all Radio related layout style props and actions. It inherits all the properties of React Native's [View component](https://reactnative.dev/docs/view).
@@ -139,7 +114,8 @@ Contains all Group related layout style props and actions. It inherits all the p
139
114
  | Property | Type | Default | Description |
140
115
  | -------------------- | ----------------------------------- | ----------- | ------------------------------------------------------------------- |
141
116
  | `value` | string | - | The value of the radio group. |
142
- | `onChange` | function | - | The callback fired when any children Radio is checked or unchecked. |
117
+ | `onValueChange` | `(value: string) => void` | - | The callback fired when any children Radio is checked or unchecked. |
118
+ | `onChange` | function | - | **Deprecated** — use `onValueChange` instead. |
143
119
  | `disabled` | bool | - | To manually set disable to the radio group. |
144
120
  | `validationStatus` | `'valid' \| 'invalid' \| 'initial'` | - | The validation status of the radio group. |
145
121
  | `label` | `string` | - | The label to be displayed above the radio group. |
@@ -162,44 +138,75 @@ Contains all Group related layout style props and actions. It inherits all the p
162
138
  | `dark` | `ImageSourcePropType` | The source of the image to display in dark mode (use instead of source) |
163
139
  | `...rest` | `ImageProps` | Additional props to pass to the underlying Image component |
164
140
 
165
- For more details about the ThemedImage component used internally, refer to the <StorybookLink to="utility-components-themed-image">`ThemedImage` documentation</StorybookLink>.
141
+ For more details about the ThemedImage component used internally, refer to the `ThemedImage` documentation.
166
142
 
167
143
  Contains all Image related layout style props and actions. It inherits all the properties of React Native's [Image component](https://reactnative.dev/docs/image).
168
144
 
169
145
  ## Variants
170
146
 
171
- <Canvas of={Stories.Variants} />
147
+ ```tsx
148
+ // Example usage
149
+ <Flex spacing="lg">
150
+ <VariantTitle title="Default">
151
+ <RadioGroup aria-label="Radio Group" value={value} onChange={setValue} nativeID="Radio-group">
152
+ <Radio
153
+ value="Option 1"
154
+ aria-label="Option 1"
155
+ onChange={(checked: boolean) => {
156
+ console.log(checked, '###');
157
+ }}
158
+ nativeID="Radio-1"
159
+ label="Option 1"
160
+ {...args}
161
+ />
162
+ <Radio
163
+ value="Option 2"
164
+ aria-label="Option 2"
165
+ onChange={(checked: boolean) => {
166
+ console.log(checked, '###');
167
+ }}
168
+ nativeID="Radio-2"
169
+ label="Option 2"
170
+ {...args}
171
+ />
172
+ </RadioGroup>
173
+ </VariantTitle>
174
+ <VariantTitle title="Disabled">
175
+ <RadioGroup
176
+ aria-label="Radio Group"
177
+ value={value}
178
+ onChange={setValue}
179
+ nativeID="Radio-group"
180
+ disabled
181
+ >
182
+ <Radio
183
+ aria-label="Option 3"
184
+ value="Option 1"
185
+ onChange={(checked: boolean) => console.log(checked, '###')}
186
+ nativeID="Radio-3"
187
+ label="Option 1"
188
+ {...args}
189
+ />
190
+ <Radio
191
+ aria-label="Option 4"
192
+ value="Option 2"
193
+ onChange={(checked: boolean) => console.log(checked, '###')}
194
+ nativeID="Radio-4"
195
+ label="Option 2"
196
+ {...args}
197
+ />
198
+ </RadioGroup>
199
+ </VariantTitle>
200
+ </Flex>
201
+ ```
172
202
 
173
203
  ## Advanced Usage
174
204
 
175
205
  There may be cases where you need to customise the Radio component to fit your design requirements.
176
206
  In this example, we will create a custom Radio component with a badge and bullet list.
177
207
 
178
- <UsageWrap>
179
- <Center>
180
- <RadioGroup type="tile" aria-label="Radio Group" nativeID="Radio-group">
181
- <Radio value="option-1" aria-label="Label 1">
182
- <RadioIndicator>
183
- <RadioIcon />
184
- </RadioIndicator>
185
- <RadioImage source={visaLogo} style={{ width: 40, height: 24, resizeMode: 'contain' }} />
186
- <RadioLabel>Visa</RadioLabel>
187
- </Radio>
188
- <Radio value="option-2" aria-label="Label 2">
189
- <RadioIndicator>
190
- <RadioIcon />
191
- </RadioIndicator>
192
- <RadioImage
193
- source={mastercardLogo}
194
- style={{ width: 40, height: 24, resizeMode: 'contain' }}
195
- />
196
- <RadioLabel>Mastercard</RadioLabel>
197
- </Radio>
198
- </RadioGroup>
199
- </Center>
200
- </UsageWrap>
201
-
202
208
  ```tsx
209
+ // Example usage
203
210
  import {
204
211
  Radio,
205
212
  RadioGroup,
@@ -207,7 +214,7 @@ import {
207
214
  RadioIndicator,
208
215
  RadioIcon,
209
216
  RadioImage,
210
- } from '@utilitywarehouse/native-ui';
217
+ } from '@utilitywarehouse/hearth-react-native';
211
218
  import { TickSmallIcon } from '@utilitywarehouse/hearth-react-native-icons';
212
219
  import visaLogo from '../../assets/bank-logo1.png';
213
220
  import mastercardLogo from '../../assets/bank-logo.png';
@@ -215,7 +222,7 @@ import mastercardLogo from '../../assets/bank-logo.png';
215
222
  const AdvancedExample = () => {
216
223
  const [value, setValue] = React.useState('option-1');
217
224
  return (
218
- <RadioGroup value={value} onChange={setValue} aria-label="Card type" type="tile">
225
+ <RadioGroup value={value} onValueChange={setValue} aria-label="Card type" type="tile">
219
226
  <Radio value="option-1" aria-label="Visa">
220
227
  <RadioIndicator>
221
228
  <RadioIcon />
@@ -238,35 +245,24 @@ const AdvancedExample = () => {
238
245
  };
239
246
  ```
240
247
 
241
- ## Examples
242
-
243
248
  ### Grid Layout With Tiles
244
249
 
245
250
  Wrap tile radios in a `Grid` when you want a multi-column layout while keeping the `RadioGroup` label, helper text and validation messaging.
246
251
 
247
- <UsageWrap>
248
- <Center>
249
- <RadioGroup label="Did this solve your problem?" type="tile">
250
- <Box minWidth={300}>
251
- <Grid columns={2} spacing="md">
252
- <Radio label="Yes" value="yes" />
253
- <Radio label="No" value="no" />
254
- <Radio label="Partly" value="partly" />
255
- <Radio label="Not yet" value="not-yet" />
256
- </Grid>
257
- </Box>
258
- </RadioGroup>
259
- </Center>
260
- </UsageWrap>
261
-
262
252
  ```tsx
253
+ // Example usage
263
254
  import { Grid, Radio, RadioGroup } from '@utilitywarehouse/hearth-react-native';
264
255
 
265
256
  const MyComponent = () => {
266
257
  const [value, setValue] = React.useState('yes');
267
258
 
268
259
  return (
269
- <RadioGroup label="Did this solve your problem?" type="tile" value={value} onChange={setValue}>
260
+ <RadioGroup
261
+ label="Did this solve your problem?"
262
+ type="tile"
263
+ value={value}
264
+ onValueChange={setValue}
265
+ >
270
266
  <Grid columns={2} spacing="md">
271
267
  <Radio label="Yes" value="yes" />
272
268
  <Radio label="No" value="no" />
@@ -283,22 +279,14 @@ const MyComponent = () => {
283
279
  The `RadioTile` component is a variant of the `Radio` component that displays the radio button as a card.
284
280
  It is used to present options in a more visually appealing way.
285
281
 
286
- <UsageWrap>
287
- <Center>
288
- <RadioGroup>
289
- <RadioTile value="option-1" aria-label="Label 1" label="Option 1" />
290
- <RadioTile value="option-2" aria-label="Label 2" label="Option 2" />
291
- </RadioGroup>
292
- </Center>
293
- </UsageWrap>
294
-
295
282
  ```tsx
296
- import { RadioTile, RadioGroup } from '@utilitywarehouse/native-ui';
283
+ // Example usage
284
+ import { RadioTile, RadioGroup } from '@utilitywarehouse/hearth-react-native';
297
285
 
298
286
  const MyComponent = () => {
299
287
  const [value, setValue] = React.useState('option-1');
300
288
  return (
301
- <RadioGroup value={value} onChange={setValue}>
289
+ <RadioGroup value={value} onValueChange={setValue}>
302
290
  <RadioTile value="option-1" aria-label="Label 1" label="Option 1" />
303
291
  <RadioTile value="option-2" aria-label="Label 2" label="Option 2" />
304
292
  </RadioGroup>
@@ -310,17 +298,61 @@ const MyComponent = () => {
310
298
 
311
299
  The `RadioImage` component is used to display an image next to the radio button.
312
300
 
313
- <Canvas of={Stories.WithImage} />
301
+ ```tsx
302
+ // Example usage
303
+ <RadioGroup>
304
+ <Radio
305
+ aria-label="Label 1"
306
+ onChange={(checked: boolean) => {
307
+ console.log(checked, '###');
308
+ }}
309
+ nativeID="Radio-1"
310
+ {...args}
311
+ label="Visa"
312
+ value="Option 1"
313
+ image={
314
+ <RadioImage
315
+ source={bankLogo1 as ImageSourcePropType}
316
+ style={{ width: 48, height: 32 }}
317
+ resizeMode="cover"
318
+ />
319
+ }
320
+ />
321
+ <Radio
322
+ aria-label="Label 2"
323
+ onChange={(checked: boolean) => {
324
+ console.log(checked, '###');
325
+ }}
326
+ nativeID="Radio-2"
327
+ {...args}
328
+ label="Mastercard"
329
+ value="Option 2"
330
+ image={
331
+ <RadioImage
332
+ source={bankLogo as ImageSourcePropType}
333
+ style={{ width: 48, height: 32 }}
334
+ resizeMode="cover"
335
+ />
336
+ }
337
+ />
338
+ </RadioGroup>
339
+ ```
314
340
 
315
341
  ```tsx
316
- import { Radio, RadioGroup, RadioImage } from '@utilitywarehouse/native-ui';
342
+ // Example usage
343
+ import { Radio, RadioGroup, RadioImage } from '@utilitywarehouse/hearth-react-native';
317
344
  import visaLogo from './visa-logo.png';
318
345
  import mastercardLogo from './mastercard-logo.png';
319
346
 
320
347
  const MyComponent = () => {
321
348
  const [value, setValue] = React.useState('Option 1');
322
349
  return (
323
- <RadioGroup value={value} onChange={setValue} aria-label="Radio Group" nativeID="Radio-group">
350
+ <RadioGroup
351
+ value={value}
352
+ onValueChange={setValue}
353
+ aria-label="Radio Group"
354
+ nativeID="Radio-group"
355
+ >
324
356
  <Radio
325
357
  value="visa"
326
358
  aria-label="Visa"
@@ -350,27 +382,9 @@ const MyComponent = () => {
350
382
  The `RadioGroup` component is used to group multiple `Radio` components together.
351
383
  You can pass props like `label` and `helperText` to the `RadioGroup` component to provide context for the group of radios.
352
384
 
353
- <UsageWrap>
354
- <Center>
355
- <RadioGroup
356
- aria-label="Radio Group"
357
- label="Radio Group Label"
358
- helperText="This is the supporting text"
359
- invalidText="This is an invalid text"
360
- validText="This is a valid text"
361
- validationStatus="invalid"
362
- >
363
- <Radio value="option-1" aria-label="Label 1" label="Option 1" />
364
- <Radio value="option-2" aria-label="Label 2" label="Option 2" />
365
- <Radio value="option-3" aria-label="Label 3" label="Option 3" />
366
- <Radio value="option-4" aria-label="Label 4" label="Option 4" />
367
- </RadioGroup>
368
-
369
- </Center>
370
- </UsageWrap>
371
-
372
385
  ```tsx
373
- import { Radio, RadioGroup } from '@utilitywarehouse/native-ui';
386
+ // Example usage
387
+ import { Radio, RadioGroup } from '@utilitywarehouse/hearth-react-native';
374
388
 
375
389
  const MyComponent = () => {
376
390
  const [value, setValue] = React.useState('option-1');
@@ -0,0 +1,147 @@
1
+ # Rating
2
+
3
+ Use Rating to collect a score with an optional descriptive label. Supports star and emoji variants.
4
+
5
+ - [Playground](#playground)
6
+ - [Usage](#usage)
7
+ - [Props](#props)
8
+ - [Examples](#examples)
9
+ - [Emoji variant](#emoji-variant)
10
+ - [Accessibility](#accessibility)
11
+
12
+ ## Playground
13
+
14
+ ```tsx
15
+ // Example usage
16
+ <Rating
17
+ {...args}
18
+ value={value}
19
+ onChange={nextValue => {
20
+ setValue(nextValue);
21
+ onChange?.(nextValue);
22
+ }}
23
+ />
24
+ ```
25
+
26
+ ## Usage
27
+
28
+ ```tsx
29
+ // Example usage
30
+ import { useState } from 'react';
31
+ import { Rating } from '@utilitywarehouse/hearth-react-native';
32
+
33
+ const MyComponent = () => {
34
+ const [rating, setRating] = useState<0 | 1 | 2 | 3 | 4 | 5>(0);
35
+
36
+ return <Rating value={rating} onValueChange={setRating} labels={{ 0: 'Not rated' }} />;
37
+ };
38
+ ```
39
+
40
+ ## Props
41
+
42
+ | Property | Type | Description | Default |
43
+ | --------------- | -------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------ |
44
+ | `value` | `0 \| 1 \| 2 \| 3 \| 4 \| 5` | Current rating value. | `0` |
45
+ | `defaultValue` | `0 \| 1 \| 2 \| 3 \| 4 \| 5` | Initial rating value when uncontrolled. | `0` |
46
+ | `onValueChange` | `(value: RatingValue) => void` | Called when a rating is selected. | `undefined` |
47
+ | `onChange` | `(value: RatingValue) => void` | **Deprecated** — use `onValueChange` instead. | `undefined` |
48
+ | `disabled` | `boolean` | Disables the rating input. | `false` |
49
+ | `labels` | `Partial<Record<RatingValue, string>>` | Override labels for specific rating values. | `undefined` |
50
+ | `rangeLabels` | `{ low: string; high: string }` | Override the low and high end labels shown below the emoji variant. | `{ low: 'Very dissatisfied', high: 'Very satisfied' }` |
51
+ | `hideLabel` | `boolean` | Hide the label text below the rating. | `false` |
52
+ | `variant` | `'stars' \| 'emojis'` | Visual variant for the rating indicators. | `'stars'` |
53
+
54
+ ### Default rating
55
+
56
+ Use the default labels for a quick feedback prompt.
57
+
58
+ ```tsx
59
+ // Example usage
60
+ import { Rating } from '@utilitywarehouse/hearth-react-native';
61
+
62
+ const MyComponent = () => <Rating value={3} />;
63
+ ```
64
+
65
+ ### Empty rating
66
+
67
+ Use `value={0}` to show a zero-star state.
68
+
69
+ ```tsx
70
+ // Example usage
71
+ import { Rating } from '@utilitywarehouse/hearth-react-native';
72
+
73
+ const MyComponent = () => <Rating value={0} labels={{ 0: 'Not rated' }} />;
74
+ ```
75
+
76
+ ### Custom labels
77
+
78
+ Provide custom copy for each rating value.
79
+
80
+ ```tsx
81
+ // Example usage
82
+ import { Rating } from '@utilitywarehouse/hearth-react-native';
83
+
84
+ const MyComponent = () => (
85
+ <Rating
86
+ value={5}
87
+ labels={{
88
+ 0: 'Not rated',
89
+ 1: 'Terrible',
90
+ 2: 'Poor',
91
+ 3: 'OK',
92
+ 4: 'Great',
93
+ 5: 'Outstanding',
94
+ }}
95
+ />
96
+ );
97
+ ```
98
+
99
+ ### Hidden label
100
+
101
+ Use `hideLabel` when the context already explains the rating.
102
+
103
+ ```tsx
104
+ // Example usage
105
+ import { Rating } from '@utilitywarehouse/hearth-react-native';
106
+
107
+ const MyComponent = () => <Rating value={2} hideLabel />;
108
+ ```
109
+
110
+ ### Disabled
111
+
112
+ Use `disabled` to show a read-only rating.
113
+
114
+ ```tsx
115
+ // Example usage
116
+ import { Rating } from '@utilitywarehouse/hearth-react-native';
117
+
118
+ const MyComponent = () => <Rating value={4} disabled />;
119
+ ```
120
+
121
+ ### Emoji variant
122
+
123
+ Use `variant="emojis"` to show emoji faces instead of stars. Labels default to "Very dissatisfied" and "Very satisfied" at the extremes. Override them with `rangeLabels={{ low: 'Custom low', high: 'Custom high' }}`.
124
+
125
+ ```tsx
126
+ // Example usage
127
+ import { Rating } from '@utilitywarehouse/hearth-react-native';
128
+
129
+ const MyComponent = () => <Rating value={4} variant="emojis" />;
130
+ ```
131
+
132
+ ### Emoji variant (no selection)
133
+
134
+ When no emoji is selected, all emojis display at normal size with full colour.
135
+
136
+ ```tsx
137
+ // Example usage
138
+ import { Rating } from '@utilitywarehouse/hearth-react-native';
139
+
140
+ const MyComponent = () => <Rating value={0} variant="emojis" />;
141
+ ```
142
+
143
+ ## Accessibility
144
+
145
+ - Rating uses a `radiogroup` container with `radio` items for each star or emoji.
146
+ - Each star announces a descriptive label (e.g., "Rate Okay"). Each emoji announces its sentiment (e.g., "Rate Neutral"). Override labels with the `labels` prop to match your content.
147
+ - Provide `accessibilityLabel` when the default label text is not sufficient for your screen reader context.
@@ -1,14 +1,3 @@
1
- import { Canvas, Controls, Meta } from '@storybook/addon-docs/blocks';
2
- import { Roundel } from '../../';
3
- import { BackToTopButton, UsageWrap, ViewFigmaButton } from '../../../docs/components';
4
- import * as Stories from './Roundel.stories';
5
-
6
- <Meta title="Components / Roundel" />
7
-
8
- <BackToTopButton />
9
-
10
- <ViewFigmaButton url="https://www.figma.com/design/6NKZXZhFSExXrcbBgc6zTR/Hearth-Components---Tokens?node-id=6414-8697&t=aFS22MoPV7Y08jdq-4" />
11
-
12
1
  # Roundel
13
2
 
14
3
  The `Roundel` component is a compact status indicator with success, pending, and error variants.
@@ -20,17 +9,15 @@ The `Roundel` component is a compact status indicator with success, pending, and
20
9
 
21
10
  ## Playground
22
11
 
23
- <Canvas of={Stories.Playground} />
24
-
25
- <Controls of={Stories.Playground} />
12
+ ```tsx
13
+ // Example usage
14
+ <Roundel {...args} />
15
+ ```
26
16
 
27
17
  ## Usage
28
18
 
29
- <UsageWrap>
30
- <Roundel variant="success" />
31
- </UsageWrap>
32
-
33
19
  ```tsx
20
+ // Example usage
34
21
  import { Roundel } from '@utilitywarehouse/hearth-react-native';
35
22
 
36
23
  const MyComponent = () => <Roundel variant="success" />;
@@ -45,4 +32,17 @@ const MyComponent = () => <Roundel variant="success" />;
45
32
 
46
33
  ## Examples
47
34
 
48
- <Canvas of={Stories.Variants} />
35
+ ```tsx
36
+ // Example usage
37
+ <Flex direction="column" spacing="md" alignItems="center">
38
+ <VariantTitle title="Success">
39
+ <Roundel variant="success" />
40
+ </VariantTitle>
41
+ <VariantTitle title="Pending">
42
+ <Roundel variant="pending" />
43
+ </VariantTitle>
44
+ <VariantTitle title="Error">
45
+ <Roundel variant="error" />
46
+ </VariantTitle>
47
+ </Flex>
48
+ ```
@@ -1,14 +1,3 @@
1
- import { Canvas, Controls, Meta, Story } from '@storybook/addon-docs/blocks';
2
- import { SectionHeader } from '../..';
3
- import { BackToTopButton, UsageWrap, ViewFigmaButton } from '../../../docs/components';
4
- import * as Stories from './SectionHeader.stories';
5
-
6
- <Meta title="Components / Section Header" />
7
-
8
- <ViewFigmaButton url="https://www.figma.com/design/6NKZXZhFSExXrcbBgc6zTR/Hearth-Components-%26-Tokens?node-id=1-163" />
9
-
10
- <BackToTopButton />
11
-
12
1
  # Section Header
13
2
 
14
3
  Use the `Section Header` component to help define and separate content within a screen. It provides structure, clarity, and improves page scannability for users. It is nested within components, such as List, but can be used outside of components too.
@@ -20,9 +9,10 @@ Use the `Section Header` component to help define and separate content within a
20
9
 
21
10
  ## Playground
22
11
 
23
- <Canvas of={Stories.Playground} />
24
-
25
- <Controls of={Stories.Playground} />
12
+ ```tsx
13
+ // Example usage
14
+ <SectionHeader heading="This is the section heading" helperText="Helper text" />
15
+ ```
26
16
 
27
17
  ## Anatomy
28
18
 
@@ -44,11 +34,8 @@ Use helper text when users need extra clarity or explanation before engaging wit
44
34
 
45
35
  ## Usage
46
36
 
47
- <UsageWrap>
48
- <SectionHeader heading="Heading" helperText="Helper text" />
49
- </UsageWrap>
50
-
51
37
  ```tsx
38
+ // Example usage
52
39
  import { SectionHeader } from '@utilitywarehouse/hearth-react-native';
53
40
 
54
41
  const MyComponent = () => <SectionHeader heading="Heading" helperText="Helper text" />;
@@ -65,4 +52,44 @@ const MyComponent = () => <SectionHeader heading="Heading" helperText="Helper te
65
52
 
66
53
  ## Variants
67
54
 
68
- <Canvas of={Stories.KitchenSink} />
55
+ ```tsx
56
+ // Example usage
57
+ <Flex spacing="xl" direction="column" style={{ width: '100%' }}>
58
+ <VariantTitle title="Default SectionHeader with helper text and link">
59
+ <SectionHeader
60
+ heading="Heading"
61
+ helperText="Helper text"
62
+ trailingContent={<Link>See more</Link>}
63
+ />
64
+ </VariantTitle>
65
+ <VariantTitle title="SectionHeader with icon on the left of the link ">
66
+ <SectionHeader
67
+ heading="Heading"
68
+ helperText="Helper text"
69
+ trailingContent={
70
+ <Link icon={SettingsMediumIcon} iconPosition="left">
71
+ Settings
72
+ </Link>
73
+ }
74
+ />
75
+ </VariantTitle>
76
+ <VariantTitle title="SectionHeader with no icon">
77
+ <SectionHeader
78
+ heading="Heading"
79
+ helperText="Helper text"
80
+ trailingContent={<Link showIcon={false}>Call to action</Link>}
81
+ />
82
+ </VariantTitle>
83
+ <VariantTitle title="SectionHeader with badge">
84
+ <SectionHeader heading="Heading" helperText="Helper text" badge={{ text: "I'm a badge" }} />
85
+ </VariantTitle>
86
+ <VariantTitle title="SectionHeader with badge and link">
87
+ <SectionHeader
88
+ heading="Heading"
89
+ helperText="Helper text"
90
+ trailingContent={<Link>Show more</Link>}
91
+ badge={{ text: 'New' }}
92
+ />
93
+ </VariantTitle>
94
+ </Flex>
95
+ ```