@utilitywarehouse/hearth-react-native 0.34.5 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1034) 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/Helper/HelperIcon.js +2 -2
  30. package/build/components/IconButton/IconButtonIcon.js +4 -4
  31. package/build/components/List/ListAction/ListActionTrailingIcon.js +2 -2
  32. package/build/components/List/ListItem/ListItemIcon.js +2 -2
  33. package/build/components/PillGroup/PillGroup.d.ts +1 -1
  34. package/build/components/PillGroup/PillGroup.js +4 -2
  35. package/build/components/PillGroup/PillGroup.props.d.ts +10 -0
  36. package/build/components/Radio/RadioGroup.d.ts +1 -1
  37. package/build/components/Radio/RadioGroup.js +5 -2
  38. package/build/components/Radio/RadioGroup.props.d.ts +4 -0
  39. package/build/components/RadioCard/RadioCard.d.ts +5 -24
  40. package/build/components/RadioCard/RadioCard.js +5 -1
  41. package/build/components/RadioCard/RadioCardGroup.props.d.ts +4 -0
  42. package/build/components/Rating/Rating.d.ts +1 -1
  43. package/build/components/Rating/Rating.js +3 -2
  44. package/build/components/Rating/Rating.props.d.ts +5 -0
  45. package/build/components/SegmentedControl/SegmentedControl.js +2 -2
  46. package/build/components/Select/Select.js +2 -3
  47. package/build/components/Select/Select.utils.d.ts +2 -0
  48. package/build/components/Select/Select.utils.js +1 -0
  49. package/build/components/Select/Select.utils.test.d.ts +1 -0
  50. package/build/components/Select/Select.utils.test.js +21 -0
  51. package/build/components/StepperInput/StepperInput.js +1 -62
  52. package/build/components/StepperInput/StepperInput.utils.d.ts +6 -0
  53. package/build/components/StepperInput/StepperInput.utils.js +62 -0
  54. package/build/components/StepperInput/StepperInput.utils.test.d.ts +1 -0
  55. package/build/components/StepperInput/StepperInput.utils.test.js +99 -0
  56. package/build/components/Switch/Switch.js +10 -8
  57. package/build/components/Switch/Switch.props.d.ts +11 -1
  58. package/build/components/Switch/Switch.web.js +10 -8
  59. package/build/components/TimePickerInput/TimePickerInput.js +1 -8
  60. package/build/components/TimePickerInput/TimePickerInput.utils.d.ts +3 -0
  61. package/build/components/TimePickerInput/TimePickerInput.utils.js +8 -0
  62. package/build/components/TimePickerInput/TimePickerInput.utils.test.d.ts +1 -0
  63. package/build/components/TimePickerInput/TimePickerInput.utils.test.js +20 -0
  64. package/build/components/Toast/ToastItem.js +2 -2
  65. package/build/components/ToggleButton/ToggleButtonRoot.js +1 -1
  66. package/build/components/ToggleButtonCard/ToggleButtonCard.d.ts +5 -1
  67. package/build/components/ToggleButtonCard/ToggleButtonCard.js +5 -1
  68. package/build/components/ToggleButtonCard/ToggleButtonCardGroup.props.d.ts +4 -0
  69. package/build/tokens/components/dark/chip.d.ts +14 -0
  70. package/build/tokens/components/dark/chip.js +13 -0
  71. package/build/tokens/components/dark/icon.d.ts +26 -0
  72. package/build/tokens/components/dark/icon.js +25 -0
  73. package/build/tokens/components/dark/index.d.ts +2 -0
  74. package/build/tokens/components/dark/index.js +2 -0
  75. package/build/tokens/components/light/chip.d.ts +14 -0
  76. package/build/tokens/components/light/chip.js +13 -0
  77. package/build/tokens/components/light/icon.d.ts +26 -0
  78. package/build/tokens/components/light/icon.js +25 -0
  79. package/build/tokens/components/light/index.d.ts +2 -0
  80. package/build/tokens/components/light/index.js +2 -0
  81. package/build/tokens/semantic-dark.d.ts +4 -4
  82. package/build/tokens/semantic-dark.js +4 -4
  83. package/build/tokens/semantic-light.d.ts +4 -4
  84. package/build/tokens/semantic-light.js +4 -4
  85. package/build/utils/formatThousands.test.d.ts +1 -0
  86. package/build/utils/formatThousands.test.js +31 -0
  87. package/build/utils/getFlattenedColorValue.test.d.ts +1 -0
  88. package/build/utils/getFlattenedColorValue.test.js +21 -0
  89. package/build/utils/getInitials.test.d.ts +1 -0
  90. package/build/utils/getInitials.test.js +23 -0
  91. package/build/utils/hexWithOpacity.test.d.ts +1 -0
  92. package/build/utils/hexWithOpacity.test.js +22 -0
  93. package/build/utils/isEqual.test.d.ts +1 -0
  94. package/build/utils/isEqual.test.js +44 -0
  95. package/build/utils/themeValueHelpers.test.d.ts +1 -0
  96. package/build/utils/themeValueHelpers.test.js +82 -0
  97. package/package.json +22 -6
  98. package/{src/components/Accordion/Accordion.docs.mdx → public/llms/components/accordion.md} +62 -97
  99. package/{src/components/Alert/Alert.docs.mdx → public/llms/components/alert.md} +46 -49
  100. package/{src/components/Avatar/Avatar.docs.mdx → public/llms/components/avatar.md} +18 -50
  101. package/{src/components/Badge/Badge.docs.mdx → public/llms/components/badge.md} +56 -38
  102. package/{src/components/Banner/Banner.docs.mdx → public/llms/components/banner.md} +487 -40
  103. package/{src/components/BodyText/BodyText.docs.mdx → public/llms/components/body-text.md} +32 -25
  104. package/{src/components/BottomSheet/BottomSheet.docs.mdx → public/llms/components/bottom-sheet.md} +25 -33
  105. package/{src/components/Box/Box.docs.mdx → public/llms/components/box.md} +7 -21
  106. package/{src/components/Button/Button.docs.mdx → public/llms/components/button.md} +118 -109
  107. package/{src/components/Card/Card.docs.mdx → public/llms/components/card.md} +281 -47
  108. package/{src/components/Carousel/Carousel.docs.mdx → public/llms/components/carousel.md} +14 -92
  109. package/public/llms/components/center.md +24 -0
  110. package/{src/components/Checkbox/Checkbox.docs.mdx → public/llms/components/checkbox.md} +114 -155
  111. package/{src/components/Combobox/Combobox.docs.mdx → public/llms/components/combobox.md} +53 -47
  112. package/{src/components/Container/Container.docs.mdx → public/llms/components/container.md} +59 -26
  113. package/{src/components/CurrencyInput/CurrencyInput.docs.mdx → public/llms/components/currency-input.md} +48 -44
  114. package/{src/components/DateInput/DateInput.docs.mdx → public/llms/components/date-input.md} +162 -29
  115. package/{src/components/DatePickerInput/DatePickerInput.docs.mdx → public/llms/components/date-picker-input.md} +11 -51
  116. package/{src/components/DatePicker/DatePicker.docs.mdx → public/llms/components/date-picker.md} +49 -26
  117. package/{src/components/DescriptionList/DescriptionList.docs.mdx → public/llms/components/description-list.md} +64 -31
  118. package/{src/components/DetailText/DetailText.docs.mdx → public/llms/components/detail-text.md} +47 -25
  119. package/{src/components/Divider/Divider.docs.mdx → public/llms/components/divider.md} +10 -22
  120. package/{src/components/ExpandableCard/ExpandableCard.docs.mdx → public/llms/components/expandable-card.md} +213 -28
  121. package/{src/components/Expandable/Expandable.docs.mdx → public/llms/components/expandable.md} +165 -21
  122. package/{src/components/Flex/Flex.docs.mdx → public/llms/components/flex.md} +18 -24
  123. package/{src/components/FormField/FormField.docs.mdx → public/llms/components/form-field.md} +57 -109
  124. package/{src/components/Grid/Grid.docs.mdx → public/llms/components/grid.md} +15 -79
  125. package/{src/components/Heading/Heading.docs.mdx → public/llms/components/heading.md} +32 -21
  126. package/{src/components/HighlightBanner/HighlightBanner.docs.mdx → public/llms/components/highlight-banner.md} +204 -41
  127. package/{src/components/HTMLElements/Lists.docs.mdx → public/llms/components/html-elements/lists.md} +20 -43
  128. package/{src/components/IconButton/IconButton.docs.mdx → public/llms/components/icon-button.md} +134 -32
  129. package/{src/components/IconContainer/IconContainer.docs.mdx → public/llms/components/icon-container.md} +44 -35
  130. package/{src/components/Icon/Icon.docs.mdx → public/llms/components/icon.md} +6 -30
  131. package/public/llms/components/indicator-icon-button.md +138 -0
  132. package/{src/components/InlineLink/InlineLink.docs.mdx → public/llms/components/inline-link.md} +7 -26
  133. package/{src/components/Input/Input.docs.mdx → public/llms/components/input.md} +73 -75
  134. package/{src/components/Link/Link.docs.mdx → public/llms/components/link.md} +5 -20
  135. package/{src/components/List/List.docs.mdx → public/llms/components/list.md} +192 -127
  136. package/{src/components/Menu/Menu.docs.mdx → public/llms/components/menu.md} +52 -29
  137. package/{src/components/Modal/Modal.docs.mdx → public/llms/components/modal.md} +119 -50
  138. package/{src/components/NavModal/NavModal.docs.mdx → public/llms/components/nav-modal.md} +65 -24
  139. package/{src/components/Pagination/Pagination.docs.mdx → public/llms/components/pagination.md} +38 -27
  140. package/public/llms/components/pill-group.md +162 -0
  141. package/{src/components/ProgressBar/ProgressBar.docs.mdx → public/llms/components/progress-bar.md} +42 -28
  142. package/public/llms/components/progress-stepper.md +144 -0
  143. package/{src/components/RadioCard/RadioCard.docs.mdx → public/llms/components/radio-card.md} +19 -50
  144. package/{src/components/Radio/Radio.docs.mdx → public/llms/components/radio.md} +146 -132
  145. package/public/llms/components/rating.md +147 -0
  146. package/{src/components/Roundel/Roundel.docs.mdx → public/llms/components/roundel.md} +19 -19
  147. package/{src/components/SectionHeader/Sectionheader.docs.mdx → public/llms/components/section-header.md} +46 -19
  148. package/{src/components/SegmentedControl/SegmentedControl.docs.mdx → public/llms/components/segmented-control.md} +40 -28
  149. package/{src/components/Select/Select.docs.mdx → public/llms/components/select.md} +70 -57
  150. package/{src/components/Skeleton/Skeleton.docs.mdx → public/llms/components/skeleton.md} +5 -9
  151. package/{src/components/Spinner/Spinner.docs.mdx → public/llms/components/spinner.md} +22 -22
  152. package/{src/components/StepperInput/StepperInput.docs.mdx → public/llms/components/stepper-input.md} +102 -29
  153. package/{src/components/Switch/Switch.docs.mdx → public/llms/components/switch.md} +56 -60
  154. package/public/llms/components/table.md +408 -0
  155. package/{src/components/Tabs/Tabs.docs.mdx → public/llms/components/tabs.md} +176 -41
  156. package/{src/components/Textarea/Textarea.docs.mdx → public/llms/components/textarea.md} +7 -49
  157. package/{src/components/ThemedImage/ThemedImage.docs.mdx → public/llms/components/themed-image.md} +79 -14
  158. package/{src/components/TimePickerInput/TimePickerInput.docs.mdx → public/llms/components/time-picker-input.md} +10 -48
  159. package/{src/components/TimePicker/TimePicker.docs.mdx → public/llms/components/time-picker.md} +17 -20
  160. package/{src/components/Timeline/Timeline.docs.mdx → public/llms/components/timeline.md} +30 -73
  161. package/{src/components/Toast/Toast.docs.mdx → public/llms/components/toast.md} +50 -31
  162. package/{src/components/ToggleButtonCard/ToggleButtonCard.docs.mdx → public/llms/components/toggle-button-card.md} +34 -56
  163. package/{src/components/VerificationInput/VerificationInput.docs.mdx → public/llms/components/verification-input.md} +106 -21
  164. package/{docs/adding-shadows.mdx → public/llms/docs/adding-shadows.md} +2 -29
  165. package/public/llms/docs/all-components.md +3 -0
  166. package/{docs/dark-mode-best-practice.mdx → public/llms/docs/dark-mode-best-practice.md} +10 -139
  167. package/{docs/getting-started.mdx → public/llms/docs/getting-started.md} +2 -13
  168. package/{docs/hooks.mdx → public/llms/docs/hooks.md} +16 -13
  169. package/{docs/introduction.mdx → public/llms/docs/introduction.md} +6 -12
  170. package/{docs/layout-components.docs.mdx → public/llms/docs/layout-components.md} +59 -26
  171. package/{docs/styling.mdx → public/llms/docs/styling.md} +21 -17
  172. package/{docs/theme-tokens.mdx → public/llms/docs/theme-tokens.md} +23 -18
  173. package/public/llms.txt +123 -0
  174. package/scripts/init-ai.js +157 -0
  175. package/.storybook/main.ts +0 -81
  176. package/.storybook/manager.ts +0 -11
  177. package/.storybook/preview.tsx +0 -174
  178. package/.storybook/prism-setup.ts +0 -104
  179. package/.storybook/vitest.setup.ts +0 -31
  180. package/.turbo/turbo-build.log +0 -1
  181. package/CHANGELOG.md +0 -2083
  182. package/CLAUDE.md +0 -109
  183. package/chromatic.config.json +0 -6
  184. package/docs/all-components.mdx +0 -19
  185. package/docs/assets/bank-logo.png +0 -0
  186. package/docs/assets/bank-logo1.png +0 -0
  187. package/docs/assets/modal-android.mp4 +0 -0
  188. package/docs/assets/modal-ios.mp4 +0 -0
  189. package/docs/assets/pigs.png +0 -0
  190. package/docs/assets/toast-ios.MP4 +0 -0
  191. package/docs/changelog.mdx +0 -2100
  192. package/docs/components/AdvancedInputExample.tsx +0 -39
  193. package/docs/components/AllComponents.web.tsx +0 -1005
  194. package/docs/components/BackToTopButton.tsx +0 -58
  195. package/docs/components/BadgeList.tsx +0 -30
  196. package/docs/components/DocComponentWrap.tsx +0 -7
  197. package/docs/components/InputShadowExample.tsx +0 -19
  198. package/docs/components/NextPrevPage.tsx +0 -54
  199. package/docs/components/SwitchExample.tsx +0 -13
  200. package/docs/components/SwitchList.tsx +0 -52
  201. package/docs/components/UsageWrap.tsx +0 -21
  202. package/docs/components/VariantTitle.tsx +0 -40
  203. package/docs/components/ViewFigmaButton.tsx +0 -43
  204. package/docs/components/ViewWrap.tsx +0 -32
  205. package/docs/components/index.ts +0 -13
  206. package/docs/heplers/addReactNativePrefix.ts +0 -8
  207. package/docs/heplers/index.ts +0 -1
  208. package/docs/llm-docs/unistyles-llms-full.txt +0 -9135
  209. package/docs/llm-docs/unistyles-llms-small.txt +0 -247
  210. package/eslint.config.js +0 -35
  211. package/figma.config.json +0 -11
  212. package/scripts/copyChangelog.js +0 -57
  213. package/scripts/copyTokens.js +0 -96
  214. package/src/components/Accordion/Accordion.context.tsx +0 -13
  215. package/src/components/Accordion/Accordion.figma.tsx +0 -21
  216. package/src/components/Accordion/Accordion.props.ts +0 -43
  217. package/src/components/Accordion/Accordion.stories.tsx +0 -118
  218. package/src/components/Accordion/Accordion.tsx +0 -127
  219. package/src/components/Accordion/AccordionContent.tsx +0 -44
  220. package/src/components/Accordion/AccordionContentText.tsx +0 -10
  221. package/src/components/Accordion/AccordionHeader.tsx +0 -18
  222. package/src/components/Accordion/AccordionIcon.tsx +0 -11
  223. package/src/components/Accordion/AccordionItem.context.tsx +0 -11
  224. package/src/components/Accordion/AccordionItem.figma.tsx +0 -27
  225. package/src/components/Accordion/AccordionItem.props.ts +0 -20
  226. package/src/components/Accordion/AccordionItemRoot.tsx +0 -27
  227. package/src/components/Accordion/AccordionRoot.tsx +0 -35
  228. package/src/components/Accordion/AccordionTitleText.tsx +0 -19
  229. package/src/components/Accordion/AccordionTrigger.tsx +0 -54
  230. package/src/components/Accordion/index.ts +0 -10
  231. package/src/components/Alert/Alert.context.ts +0 -8
  232. package/src/components/Alert/Alert.figma.tsx +0 -47
  233. package/src/components/Alert/Alert.props.ts +0 -67
  234. package/src/components/Alert/Alert.stories.tsx +0 -87
  235. package/src/components/Alert/Alert.tsx +0 -109
  236. package/src/components/Alert/AlertCloseButton.tsx +0 -54
  237. package/src/components/Alert/AlertContent.tsx +0 -22
  238. package/src/components/Alert/AlertIcon.tsx +0 -54
  239. package/src/components/Alert/AlertIconButton.tsx +0 -49
  240. package/src/components/Alert/AlertLink.tsx +0 -60
  241. package/src/components/Alert/AlertText.tsx +0 -39
  242. package/src/components/Alert/AlertTitle.tsx +0 -39
  243. package/src/components/Alert/index.ts +0 -8
  244. package/src/components/Avatar/Avatar.figma.tsx +0 -23
  245. package/src/components/Avatar/Avatar.props.ts +0 -31
  246. package/src/components/Avatar/Avatar.stories.tsx +0 -76
  247. package/src/components/Avatar/Avatar.tsx +0 -134
  248. package/src/components/Avatar/index.ts +0 -2
  249. package/src/components/Badge/Badge.context.ts +0 -11
  250. package/src/components/Badge/Badge.figma.tsx +0 -47
  251. package/src/components/Badge/Badge.props.ts +0 -26
  252. package/src/components/Badge/Badge.stories.tsx +0 -184
  253. package/src/components/Badge/Badge.tsx +0 -300
  254. package/src/components/Badge/BadgeIcon.tsx +0 -158
  255. package/src/components/Badge/BadgeText.tsx +0 -166
  256. package/src/components/Badge/index.ts +0 -3
  257. package/src/components/Banner/Banner.context.ts +0 -11
  258. package/src/components/Banner/Banner.figma.tsx +0 -23
  259. package/src/components/Banner/Banner.props.ts +0 -99
  260. package/src/components/Banner/Banner.stories.tsx +0 -650
  261. package/src/components/Banner/Banner.tsx +0 -337
  262. package/src/components/Banner/BannerIllustration.figma.tsx +0 -30
  263. package/src/components/Banner/BannerIllustration.tsx +0 -58
  264. package/src/components/Banner/BannerImage.tsx +0 -63
  265. package/src/components/Banner/index.ts +0 -4
  266. package/src/components/BodyText/BodyText.props.ts +0 -10
  267. package/src/components/BodyText/BodyText.stories.tsx +0 -147
  268. package/src/components/BodyText/BodyText.tsx +0 -144
  269. package/src/components/BodyText/index.ts +0 -2
  270. package/src/components/BottomSheet/BottomSheet.context.ts +0 -15
  271. package/src/components/BottomSheet/BottomSheet.props.ts +0 -49
  272. package/src/components/BottomSheet/BottomSheet.stories.tsx +0 -335
  273. package/src/components/BottomSheet/BottomSheet.tsx +0 -71
  274. package/src/components/BottomSheet/BottomSheetBackdrop.tsx +0 -29
  275. package/src/components/BottomSheet/BottomSheetFlatList.tsx +0 -65
  276. package/src/components/BottomSheet/BottomSheetHandle.tsx +0 -48
  277. package/src/components/BottomSheet/BottomSheetModal.figma.tsx +0 -20
  278. package/src/components/BottomSheet/BottomSheetModal.tsx +0 -70
  279. package/src/components/BottomSheet/BottomSheetModalProvider.tsx +0 -33
  280. package/src/components/BottomSheet/BottomSheetScrollView.tsx +0 -74
  281. package/src/components/BottomSheet/BottomSheetView.tsx +0 -67
  282. package/src/components/BottomSheet/index.ts +0 -20
  283. package/src/components/BottomSheet/useBottomSheetLogic.tsx +0 -53
  284. package/src/components/Box/Box.props.ts +0 -13
  285. package/src/components/Box/Box.stories.tsx +0 -70
  286. package/src/components/Box/Box.tsx +0 -107
  287. package/src/components/Box/index.ts +0 -1
  288. package/src/components/Button/Button.context.ts +0 -13
  289. package/src/components/Button/Button.figma.tsx +0 -132
  290. package/src/components/Button/Button.props.tsx +0 -84
  291. package/src/components/Button/Button.stories.tsx +0 -293
  292. package/src/components/Button/Button.tsx +0 -83
  293. package/src/components/Button/ButtonGroup.context.ts +0 -5
  294. package/src/components/Button/ButtonGroup.tsx +0 -25
  295. package/src/components/Button/ButtonGroupRoot.tsx +0 -85
  296. package/src/components/Button/ButtonIcon.tsx +0 -141
  297. package/src/components/Button/ButtonRoot.tsx +0 -451
  298. package/src/components/Button/ButtonSpinner.tsx +0 -60
  299. package/src/components/Button/ButtonText.tsx +0 -134
  300. package/src/components/Button/index.ts +0 -3
  301. package/src/components/Card/Card.context.ts +0 -19
  302. package/src/components/Card/Card.figma.tsx +0 -29
  303. package/src/components/Card/Card.props.ts +0 -34
  304. package/src/components/Card/Card.stories.tsx +0 -370
  305. package/src/components/Card/Card.tsx +0 -10
  306. package/src/components/Card/CardAction/CardAction.context.ts +0 -22
  307. package/src/components/Card/CardAction/CardAction.figma.tsx +0 -44
  308. package/src/components/Card/CardAction/CardAction.props.ts +0 -86
  309. package/src/components/Card/CardAction/CardAction.stories.tsx +0 -412
  310. package/src/components/Card/CardAction/CardAction.tsx +0 -10
  311. package/src/components/Card/CardAction/CardActionContent.tsx +0 -20
  312. package/src/components/Card/CardAction/CardActionHelperText.tsx +0 -21
  313. package/src/components/Card/CardAction/CardActionIcon.tsx +0 -32
  314. package/src/components/Card/CardAction/CardActionLeadingContent.tsx +0 -9
  315. package/src/components/Card/CardAction/CardActionRoot.tsx +0 -270
  316. package/src/components/Card/CardAction/CardActionText.tsx +0 -17
  317. package/src/components/Card/CardAction/CardActionTrailingContent.tsx +0 -9
  318. package/src/components/Card/CardAction/CardActionTrailingIcon.tsx +0 -32
  319. package/src/components/Card/CardAction/index.ts +0 -10
  320. package/src/components/Card/CardActions.context.ts +0 -12
  321. package/src/components/Card/CardActions.tsx +0 -40
  322. package/src/components/Card/CardContent.tsx +0 -40
  323. package/src/components/Card/CardPressHandler.context.ts +0 -12
  324. package/src/components/Card/CardPressHandler.tsx +0 -20
  325. package/src/components/Card/CardRoot.tsx +0 -357
  326. package/src/components/Card/helpers.tsx +0 -195
  327. package/src/components/Card/index.ts +0 -7
  328. package/src/components/Carousel/Carousel.context.tsx +0 -8
  329. package/src/components/Carousel/Carousel.figma.tsx +0 -22
  330. package/src/components/Carousel/Carousel.props.ts +0 -89
  331. package/src/components/Carousel/Carousel.stories.tsx +0 -317
  332. package/src/components/Carousel/Carousel.tsx +0 -448
  333. package/src/components/Carousel/CarouselControlItem.tsx +0 -87
  334. package/src/components/Carousel/CarouselControls.tsx +0 -150
  335. package/src/components/Carousel/CarouselItem.tsx +0 -68
  336. package/src/components/Carousel/index.ts +0 -6
  337. package/src/components/Center/Center.docs.mdx +0 -42
  338. package/src/components/Center/Center.stories.tsx +0 -30
  339. package/src/components/Center/Center.tsx +0 -12
  340. package/src/components/Center/index.ts +0 -1
  341. package/src/components/Checkbox/Checkbox.context.ts +0 -9
  342. package/src/components/Checkbox/Checkbox.figma.tsx +0 -26
  343. package/src/components/Checkbox/Checkbox.props.ts +0 -47
  344. package/src/components/Checkbox/Checkbox.stories.tsx +0 -217
  345. package/src/components/Checkbox/Checkbox.tsx +0 -110
  346. package/src/components/Checkbox/CheckboxGroup.context.ts +0 -10
  347. package/src/components/Checkbox/CheckboxGroup.figma.tsx +0 -73
  348. package/src/components/Checkbox/CheckboxGroup.props.ts +0 -23
  349. package/src/components/Checkbox/CheckboxGroup.stories.tsx +0 -100
  350. package/src/components/Checkbox/CheckboxGroup.tsx +0 -114
  351. package/src/components/Checkbox/CheckboxGroupRoot.tsx +0 -36
  352. package/src/components/Checkbox/CheckboxGroupTextContent.tsx +0 -14
  353. package/src/components/Checkbox/CheckboxIcon.tsx +0 -30
  354. package/src/components/Checkbox/CheckboxImage.figma.tsx +0 -27
  355. package/src/components/Checkbox/CheckboxImage.tsx +0 -14
  356. package/src/components/Checkbox/CheckboxIndicator.tsx +0 -63
  357. package/src/components/Checkbox/CheckboxLabel.tsx +0 -14
  358. package/src/components/Checkbox/CheckboxRoot.tsx +0 -64
  359. package/src/components/Checkbox/CheckboxTextContent.tsx +0 -21
  360. package/src/components/Checkbox/CheckboxTileRoot.figma.tsx +0 -29
  361. package/src/components/Checkbox/CheckboxTileRoot.tsx +0 -50
  362. package/src/components/Checkbox/index.ts +0 -12
  363. package/src/components/Combobox/Combobox.context.ts +0 -26
  364. package/src/components/Combobox/Combobox.figma.tsx +0 -60
  365. package/src/components/Combobox/Combobox.props.ts +0 -187
  366. package/src/components/Combobox/Combobox.stories.tsx +0 -233
  367. package/src/components/Combobox/Combobox.tsx +0 -446
  368. package/src/components/Combobox/ComboboxOption.tsx +0 -100
  369. package/src/components/Combobox/index.ts +0 -9
  370. package/src/components/Container/Container.props.ts +0 -32
  371. package/src/components/Container/Container.stories.tsx +0 -290
  372. package/src/components/Container/Container.tsx +0 -52
  373. package/src/components/Container/index.tsx +0 -2
  374. package/src/components/CurrencyInput/CurrencyInput.figma.tsx +0 -72
  375. package/src/components/CurrencyInput/CurrencyInput.props.ts +0 -27
  376. package/src/components/CurrencyInput/CurrencyInput.stories.tsx +0 -147
  377. package/src/components/CurrencyInput/CurrencyInput.tsx +0 -101
  378. package/src/components/CurrencyInput/index.ts +0 -1
  379. package/src/components/DateInput/DateInput.figma.tsx +0 -88
  380. package/src/components/DateInput/DateInput.props.ts +0 -125
  381. package/src/components/DateInput/DateInput.stories.tsx +0 -314
  382. package/src/components/DateInput/DateInput.tsx +0 -135
  383. package/src/components/DateInput/DateInputSegment.tsx +0 -69
  384. package/src/components/DateInput/index.ts +0 -2
  385. package/src/components/DatePicker/DatePicker.context.ts +0 -23
  386. package/src/components/DatePicker/DatePicker.figma.tsx +0 -47
  387. package/src/components/DatePicker/DatePicker.props.ts +0 -139
  388. package/src/components/DatePicker/DatePicker.stories.tsx +0 -98
  389. package/src/components/DatePicker/DatePicker.tsx +0 -673
  390. package/src/components/DatePicker/DatePickerCalendar.tsx +0 -58
  391. package/src/components/DatePicker/DatePickerDay.tsx +0 -302
  392. package/src/components/DatePicker/DatePickerDays.tsx +0 -241
  393. package/src/components/DatePicker/DatePickerFooter.tsx +0 -35
  394. package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.props.ts +0 -8
  395. package/src/components/DatePicker/DatePickerHeader/DatePickerMonthButton.tsx +0 -29
  396. package/src/components/DatePicker/DatePickerHeader/DatePickerNextButton.tsx +0 -46
  397. package/src/components/DatePicker/DatePickerHeader/DatePickerPrevButton.tsx +0 -46
  398. package/src/components/DatePicker/DatePickerHeader/DatePickerSelectors.tsx +0 -96
  399. package/src/components/DatePicker/DatePickerHeader/DatePickerTimeButton.tsx +0 -48
  400. package/src/components/DatePicker/DatePickerHeader/DatePickerYearButton.tsx +0 -50
  401. package/src/components/DatePicker/DatePickerHeader/index.tsx +0 -64
  402. package/src/components/DatePicker/DatePickerMonths.tsx +0 -101
  403. package/src/components/DatePicker/DatePickerWeekdays.tsx +0 -49
  404. package/src/components/DatePicker/DatePickerYears.tsx +0 -119
  405. package/src/components/DatePicker/enums.ts +0 -14
  406. package/src/components/DatePicker/index.ts +0 -15
  407. package/src/components/DatePicker/polyfill.ts +0 -21
  408. package/src/components/DatePicker/utils.ts +0 -549
  409. package/src/components/DatePickerInput/DatePickerInput.figma.tsx +0 -34
  410. package/src/components/DatePickerInput/DatePickerInput.props.ts +0 -56
  411. package/src/components/DatePickerInput/DatePickerInput.stories.tsx +0 -178
  412. package/src/components/DatePickerInput/DatePickerInput.tsx +0 -277
  413. package/src/components/DatePickerInput/DatePickerInputDoneButton.tsx +0 -42
  414. package/src/components/DatePickerInput/DatePickerInputDoneButton.web.tsx +0 -7
  415. package/src/components/DatePickerInput/index.ts +0 -2
  416. package/src/components/DescriptionList/DescriptionList.context.ts +0 -18
  417. package/src/components/DescriptionList/DescriptionList.figma.tsx +0 -47
  418. package/src/components/DescriptionList/DescriptionList.props.ts +0 -14
  419. package/src/components/DescriptionList/DescriptionList.stories.tsx +0 -172
  420. package/src/components/DescriptionList/DescriptionList.tsx +0 -54
  421. package/src/components/DescriptionList/DescriptionListItem.figma.tsx +0 -42
  422. package/src/components/DescriptionList/DescriptionListItem.props.ts +0 -15
  423. package/src/components/DescriptionList/DescriptionListItem.tsx +0 -106
  424. package/src/components/DescriptionList/index.ts +0 -4
  425. package/src/components/DetailText/DetailText.props.ts +0 -8
  426. package/src/components/DetailText/DetailText.stories.tsx +0 -148
  427. package/src/components/DetailText/DetailText.tsx +0 -147
  428. package/src/components/DetailText/index.ts +0 -1
  429. package/src/components/Divider/Divider.figma.tsx +0 -12
  430. package/src/components/Divider/Divider.props.ts +0 -19
  431. package/src/components/Divider/Divider.stories.tsx +0 -60
  432. package/src/components/Divider/Divider.tsx +0 -240
  433. package/src/components/Divider/index.ts +0 -1
  434. package/src/components/Expandable/Expandable.props.ts +0 -46
  435. package/src/components/Expandable/Expandable.stories.tsx +0 -284
  436. package/src/components/Expandable/Expandable.tsx +0 -92
  437. package/src/components/Expandable/index.ts +0 -2
  438. package/src/components/ExpandableCard/ExpandableCard.figma.tsx +0 -49
  439. package/src/components/ExpandableCard/ExpandableCard.props.ts +0 -108
  440. package/src/components/ExpandableCard/ExpandableCard.stories.tsx +0 -376
  441. package/src/components/ExpandableCard/ExpandableCard.tsx +0 -84
  442. package/src/components/ExpandableCard/ExpandableCardContent.tsx +0 -21
  443. package/src/components/ExpandableCard/ExpandableCardExpandedContent.tsx +0 -42
  444. package/src/components/ExpandableCard/ExpandableCardGroup.figma.tsx +0 -40
  445. package/src/components/ExpandableCard/ExpandableCardGroup.props.ts +0 -36
  446. package/src/components/ExpandableCard/ExpandableCardGroup.tsx +0 -42
  447. package/src/components/ExpandableCard/ExpandableCardHelperText.tsx +0 -21
  448. package/src/components/ExpandableCard/ExpandableCardIcon.tsx +0 -32
  449. package/src/components/ExpandableCard/ExpandableCardLeadingContent.tsx +0 -9
  450. package/src/components/ExpandableCard/ExpandableCardText.tsx +0 -14
  451. package/src/components/ExpandableCard/ExpandableCardTrailingContent.tsx +0 -9
  452. package/src/components/ExpandableCard/ExpandableCardTrailingIcon.tsx +0 -30
  453. package/src/components/ExpandableCard/ExpandableCardTrigger.props.ts +0 -76
  454. package/src/components/ExpandableCard/ExpandableCardTrigger.tsx +0 -9
  455. package/src/components/ExpandableCard/ExpandableCardTriggerRoot.tsx +0 -173
  456. package/src/components/ExpandableCard/index.ts +0 -14
  457. package/src/components/Flex/Flex.props.ts +0 -31
  458. package/src/components/Flex/Flex.stories.tsx +0 -78
  459. package/src/components/Flex/Flex.tsx +0 -46
  460. package/src/components/Flex/index.ts +0 -1
  461. package/src/components/FormField/FormFielInvalidIcon.tsx +0 -11
  462. package/src/components/FormField/FormField.context.ts +0 -11
  463. package/src/components/FormField/FormField.figma.tsx +0 -23
  464. package/src/components/FormField/FormField.props.ts +0 -20
  465. package/src/components/FormField/FormField.stories.tsx +0 -134
  466. package/src/components/FormField/FormField.tsx +0 -123
  467. package/src/components/FormField/FormFieldHelper.tsx +0 -23
  468. package/src/components/FormField/FormFieldInvalid.tsx +0 -33
  469. package/src/components/FormField/FormFieldLabel.tsx +0 -16
  470. package/src/components/FormField/FormFieldRoot.tsx +0 -21
  471. package/src/components/FormField/FormFieldValid.tsx +0 -33
  472. package/src/components/FormField/FormFieldValidIcon.tsx +0 -11
  473. package/src/components/FormField/index.ts +0 -16
  474. package/src/components/Grid/Grid.props.ts +0 -62
  475. package/src/components/Grid/Grid.stories.tsx +0 -199
  476. package/src/components/Grid/Grid.tsx +0 -146
  477. package/src/components/Grid/index.ts +0 -2
  478. package/src/components/HTMLElements/ListItem.tsx +0 -33
  479. package/src/components/HTMLElements/OrderedList.stories.tsx +0 -86
  480. package/src/components/HTMLElements/OrderedList.tsx +0 -98
  481. package/src/components/HTMLElements/UnorderedList.stories.tsx +0 -110
  482. package/src/components/HTMLElements/UnorderedList.tsx +0 -92
  483. package/src/components/HTMLElements/index.ts +0 -3
  484. package/src/components/Heading/Heading.props.ts +0 -8
  485. package/src/components/Heading/Heading.stories.tsx +0 -128
  486. package/src/components/Heading/Heading.tsx +0 -193
  487. package/src/components/Heading/index.ts +0 -1
  488. package/src/components/Helper/Helper.props.ts +0 -24
  489. package/src/components/Helper/Helper.tsx +0 -66
  490. package/src/components/Helper/HelperContext.ts +0 -6
  491. package/src/components/Helper/HelperIcon.tsx +0 -44
  492. package/src/components/Helper/HelperText.figma.tsx +0 -23
  493. package/src/components/Helper/HelperText.tsx +0 -46
  494. package/src/components/Helper/index.ts +0 -3
  495. package/src/components/HighlightBanner/HighlightBanner.figma.tsx +0 -46
  496. package/src/components/HighlightBanner/HighlightBanner.props.ts +0 -29
  497. package/src/components/HighlightBanner/HighlightBanner.stories.tsx +0 -314
  498. package/src/components/HighlightBanner/HighlightBanner.tsx +0 -127
  499. package/src/components/HighlightBanner/HighlightBannerImage.tsx +0 -20
  500. package/src/components/HighlightBanner/index.ts +0 -3
  501. package/src/components/Icon/Icon.props.ts +0 -17
  502. package/src/components/Icon/Icon.stories.tsx +0 -44
  503. package/src/components/Icon/Icon.tsx +0 -52
  504. package/src/components/Icon/index.tsx +0 -2
  505. package/src/components/IconButton/IconButton.context.ts +0 -13
  506. package/src/components/IconButton/IconButton.figma.tsx +0 -45
  507. package/src/components/IconButton/IconButton.props.ts +0 -45
  508. package/src/components/IconButton/IconButton.stories.tsx +0 -271
  509. package/src/components/IconButton/IconButton.tsx +0 -37
  510. package/src/components/IconButton/IconButtonIcon.tsx +0 -156
  511. package/src/components/IconButton/IconButtonRoot.tsx +0 -478
  512. package/src/components/IconButton/IconButtonSpinner.tsx +0 -68
  513. package/src/components/IconButton/index.tsx +0 -2
  514. package/src/components/IconContainer/IconContainer.figma.tsx +0 -44
  515. package/src/components/IconContainer/IconContainer.props.ts +0 -17
  516. package/src/components/IconContainer/IconContainer.stories.tsx +0 -135
  517. package/src/components/IconContainer/IconContainer.tsx +0 -178
  518. package/src/components/IconContainer/index.tsx +0 -2
  519. package/src/components/Icons/CircleIcon.tsx +0 -21
  520. package/src/components/Icons/index.ts +0 -1
  521. package/src/components/IndicatorIconButton/IndicatorIconButton.docs.mdx +0 -85
  522. package/src/components/IndicatorIconButton/IndicatorIconButton.figma.tsx +0 -16
  523. package/src/components/IndicatorIconButton/IndicatorIconButton.props.ts +0 -12
  524. package/src/components/IndicatorIconButton/IndicatorIconButton.stories.tsx +0 -150
  525. package/src/components/IndicatorIconButton/IndicatorIconButton.tsx +0 -36
  526. package/src/components/IndicatorIconButton/index.tsx +0 -2
  527. package/src/components/InlineLink/InlineLink.context.ts +0 -10
  528. package/src/components/InlineLink/InlineLink.props.ts +0 -10
  529. package/src/components/InlineLink/InlineLink.stories.tsx +0 -91
  530. package/src/components/InlineLink/InlineLink.tsx +0 -26
  531. package/src/components/InlineLink/InlineLinkRoot.tsx +0 -87
  532. package/src/components/InlineLink/index.ts +0 -3
  533. package/src/components/Input/Input.context.ts +0 -6
  534. package/src/components/Input/Input.figma.tsx +0 -123
  535. package/src/components/Input/Input.props.ts +0 -118
  536. package/src/components/Input/Input.stories.tsx +0 -235
  537. package/src/components/Input/Input.tsx +0 -215
  538. package/src/components/Input/InputField.tsx +0 -75
  539. package/src/components/Input/InputIcon.tsx +0 -30
  540. package/src/components/Input/InputRoot.tsx +0 -89
  541. package/src/components/Input/InputSlot.tsx +0 -32
  542. package/src/components/Input/index.ts +0 -1
  543. package/src/components/Label/Label.figma.tsx +0 -24
  544. package/src/components/Label/Label.props.ts +0 -9
  545. package/src/components/Label/Label.tsx +0 -44
  546. package/src/components/Label/index.ts +0 -1
  547. package/src/components/Link/Link.context.ts +0 -10
  548. package/src/components/Link/Link.figma.tsx +0 -35
  549. package/src/components/Link/Link.props.ts +0 -18
  550. package/src/components/Link/Link.stories.tsx +0 -75
  551. package/src/components/Link/Link.tsx +0 -44
  552. package/src/components/Link/LinkIcon.tsx +0 -60
  553. package/src/components/Link/LinkRoot.tsx +0 -65
  554. package/src/components/Link/LinkText.tsx +0 -59
  555. package/src/components/Link/index.ts +0 -4
  556. package/src/components/List/List.context.ts +0 -16
  557. package/src/components/List/List.figma.tsx +0 -45
  558. package/src/components/List/List.props.ts +0 -13
  559. package/src/components/List/List.stories.tsx +0 -535
  560. package/src/components/List/List.tsx +0 -109
  561. package/src/components/List/ListAction/ListAction.figma.tsx +0 -21
  562. package/src/components/List/ListAction/ListAction.props.ts +0 -10
  563. package/src/components/List/ListAction/ListAction.tsx +0 -165
  564. package/src/components/List/ListAction/ListActionContent.tsx +0 -21
  565. package/src/components/List/ListAction/ListActionText.tsx +0 -14
  566. package/src/components/List/ListAction/ListActionTrailingContent.tsx +0 -9
  567. package/src/components/List/ListAction/ListActionTrailingIcon.tsx +0 -33
  568. package/src/components/List/ListAction/index.ts +0 -6
  569. package/src/components/List/ListItem/ListItem.context.ts +0 -11
  570. package/src/components/List/ListItem/ListItem.figma.tsx +0 -56
  571. package/src/components/List/ListItem/ListItem.props.ts +0 -38
  572. package/src/components/List/ListItem/ListItem.tsx +0 -10
  573. package/src/components/List/ListItem/ListItemContent.tsx +0 -21
  574. package/src/components/List/ListItem/ListItemHeading.tsx +0 -20
  575. package/src/components/List/ListItem/ListItemHelperText.tsx +0 -20
  576. package/src/components/List/ListItem/ListItemIcon.tsx +0 -32
  577. package/src/components/List/ListItem/ListItemLeadingContent.figma.tsx +0 -29
  578. package/src/components/List/ListItem/ListItemLeadingContent.tsx +0 -9
  579. package/src/components/List/ListItem/ListItemRoot.tsx +0 -221
  580. package/src/components/List/ListItem/ListItemTrailingContent.figma.tsx +0 -27
  581. package/src/components/List/ListItem/ListItemTrailingContent.tsx +0 -9
  582. package/src/components/List/ListItem/ListItemTrailingIcon.tsx +0 -31
  583. package/src/components/List/ListItem/index.ts +0 -9
  584. package/src/components/List/index.ts +0 -4
  585. package/src/components/Menu/Menu.context.ts +0 -15
  586. package/src/components/Menu/Menu.figma.tsx +0 -30
  587. package/src/components/Menu/Menu.props.ts +0 -20
  588. package/src/components/Menu/Menu.stories.tsx +0 -292
  589. package/src/components/Menu/Menu.tsx +0 -51
  590. package/src/components/Menu/MenuItem.figma.tsx +0 -39
  591. package/src/components/Menu/MenuItem.props.ts +0 -29
  592. package/src/components/Menu/MenuItem.tsx +0 -145
  593. package/src/components/Menu/MenuTrigger.props.ts +0 -14
  594. package/src/components/Menu/MenuTrigger.tsx +0 -20
  595. package/src/components/Menu/index.ts +0 -7
  596. package/src/components/Modal/Modal.figma.tsx +0 -67
  597. package/src/components/Modal/Modal.props.ts +0 -25
  598. package/src/components/Modal/Modal.shared.types.ts +0 -43
  599. package/src/components/Modal/Modal.stories.tsx +0 -405
  600. package/src/components/Modal/Modal.tsx +0 -423
  601. package/src/components/Modal/Modal.web.tsx +0 -250
  602. package/src/components/Modal/ModalImage.tsx +0 -20
  603. package/src/components/Modal/index.ts +0 -3
  604. package/src/components/NavModal/NavModal.figma.tsx +0 -13
  605. package/src/components/NavModal/NavModal.props.ts +0 -31
  606. package/src/components/NavModal/NavModal.stories.tsx +0 -200
  607. package/src/components/NavModal/NavModal.tsx +0 -436
  608. package/src/components/NavModal/index.ts +0 -2
  609. package/src/components/Pagination/Pagination.figma.tsx +0 -20
  610. package/src/components/Pagination/Pagination.props.ts +0 -28
  611. package/src/components/Pagination/Pagination.stories.tsx +0 -88
  612. package/src/components/Pagination/Pagination.tsx +0 -248
  613. package/src/components/Pagination/Pagination.utils.test.ts +0 -20
  614. package/src/components/Pagination/Pagination.utils.ts +0 -37
  615. package/src/components/Pagination/index.ts +0 -2
  616. package/src/components/PillGroup/Pill.figma.tsx +0 -12
  617. package/src/components/PillGroup/Pill.props.ts +0 -13
  618. package/src/components/PillGroup/Pill.tsx +0 -118
  619. package/src/components/PillGroup/PillGroup.context.tsx +0 -12
  620. package/src/components/PillGroup/PillGroup.docs.mdx +0 -96
  621. package/src/components/PillGroup/PillGroup.figma.tsx +0 -20
  622. package/src/components/PillGroup/PillGroup.props.ts +0 -36
  623. package/src/components/PillGroup/PillGroup.stories.tsx +0 -158
  624. package/src/components/PillGroup/PillGroup.tsx +0 -70
  625. package/src/components/PillGroup/index.ts +0 -4
  626. package/src/components/ProgressBar/ProgressBar.figma.tsx +0 -79
  627. package/src/components/ProgressBar/ProgressBar.props.ts +0 -60
  628. package/src/components/ProgressBar/ProgressBar.stories.tsx +0 -117
  629. package/src/components/ProgressBar/ProgressBar.tsx +0 -74
  630. package/src/components/ProgressBar/ProgressBarCircular.tsx +0 -181
  631. package/src/components/ProgressBar/ProgressBarLinear.tsx +0 -127
  632. package/src/components/ProgressBar/index.ts +0 -7
  633. package/src/components/ProgressStepper/ProgressStep.figma.tsx +0 -19
  634. package/src/components/ProgressStepper/ProgressStep.tsx +0 -134
  635. package/src/components/ProgressStepper/ProgressStepper.docs.mdx +0 -87
  636. package/src/components/ProgressStepper/ProgressStepper.figma.tsx +0 -13
  637. package/src/components/ProgressStepper/ProgressStepper.props.ts +0 -27
  638. package/src/components/ProgressStepper/ProgressStepper.stories.tsx +0 -107
  639. package/src/components/ProgressStepper/ProgressStepper.tsx +0 -26
  640. package/src/components/ProgressStepper/ProgressStepperRoot.tsx +0 -32
  641. package/src/components/ProgressStepper/index.ts +0 -3
  642. package/src/components/Radio/Radio.context.ts +0 -9
  643. package/src/components/Radio/Radio.figma.tsx +0 -38
  644. package/src/components/Radio/Radio.props.ts +0 -38
  645. package/src/components/Radio/Radio.stories.tsx +0 -254
  646. package/src/components/Radio/Radio.tsx +0 -98
  647. package/src/components/Radio/RadioGroup.context.ts +0 -10
  648. package/src/components/Radio/RadioGroup.figma.tsx +0 -82
  649. package/src/components/Radio/RadioGroup.props.ts +0 -23
  650. package/src/components/Radio/RadioGroup.stories.tsx +0 -131
  651. package/src/components/Radio/RadioGroup.tsx +0 -113
  652. package/src/components/Radio/RadioGroupRoot.tsx +0 -36
  653. package/src/components/Radio/RadioGroupTextContent.tsx +0 -14
  654. package/src/components/Radio/RadioIcon.tsx +0 -37
  655. package/src/components/Radio/RadioImage.figma.tsx +0 -27
  656. package/src/components/Radio/RadioImage.tsx +0 -14
  657. package/src/components/Radio/RadioIndicator.tsx +0 -63
  658. package/src/components/Radio/RadioLabel.tsx +0 -14
  659. package/src/components/Radio/RadioRoot.tsx +0 -65
  660. package/src/components/Radio/RadioTextContent.tsx +0 -21
  661. package/src/components/Radio/RadioTile.figma.tsx +0 -38
  662. package/src/components/Radio/RadioTileRoot.tsx +0 -46
  663. package/src/components/Radio/index.ts +0 -6
  664. package/src/components/RadioCard/RadioCard.context.ts +0 -8
  665. package/src/components/RadioCard/RadioCard.figma.tsx +0 -24
  666. package/src/components/RadioCard/RadioCard.props.ts +0 -19
  667. package/src/components/RadioCard/RadioCard.stories.tsx +0 -45
  668. package/src/components/RadioCard/RadioCard.tsx +0 -62
  669. package/src/components/RadioCard/RadioCardGroup.context.ts +0 -16
  670. package/src/components/RadioCard/RadioCardGroup.props.ts +0 -36
  671. package/src/components/RadioCard/RadioCardGroup.stories.tsx +0 -94
  672. package/src/components/RadioCard/RadioCardGroup.tsx +0 -57
  673. package/src/components/RadioCard/RadioCardIcon.tsx +0 -33
  674. package/src/components/RadioCard/RadioCardIndicator.tsx +0 -63
  675. package/src/components/RadioCard/RadioCardLabel.tsx +0 -19
  676. package/src/components/RadioCard/RadioCardRoot.tsx +0 -85
  677. package/src/components/RadioCard/index.ts +0 -8
  678. package/src/components/Rating/Rating.docs.mdx +0 -217
  679. package/src/components/Rating/Rating.figma.tsx +0 -39
  680. package/src/components/Rating/Rating.props.ts +0 -28
  681. package/src/components/Rating/Rating.stories.tsx +0 -112
  682. package/src/components/Rating/Rating.tsx +0 -198
  683. package/src/components/Rating/Rating.utils.test.ts +0 -15
  684. package/src/components/Rating/Rating.utils.ts +0 -14
  685. package/src/components/Rating/RatingEmoji.tsx +0 -28
  686. package/src/components/Rating/RatingStarEmpty.tsx +0 -22
  687. package/src/components/Rating/RatingStarFilled.tsx +0 -27
  688. package/src/components/Rating/index.ts +0 -2
  689. package/src/components/Roundel/Roundel.figma.tsx +0 -17
  690. package/src/components/Roundel/Roundel.props.ts +0 -8
  691. package/src/components/Roundel/Roundel.stories.tsx +0 -49
  692. package/src/components/Roundel/Roundel.tsx +0 -51
  693. package/src/components/Roundel/index.ts +0 -2
  694. package/src/components/SectionHeader/SectionHeader.figma.tsx +0 -37
  695. package/src/components/SectionHeader/SectionHeader.props.ts +0 -29
  696. package/src/components/SectionHeader/SectionHeader.stories.tsx +0 -86
  697. package/src/components/SectionHeader/SectionHeader.tsx +0 -61
  698. package/src/components/SectionHeader/SectionHeaderHeading.tsx +0 -14
  699. package/src/components/SectionHeader/SectionHeaderHelperText.tsx +0 -21
  700. package/src/components/SectionHeader/SectionHeaderTextContent.tsx +0 -21
  701. package/src/components/SectionHeader/SectionHeaderTrailingContent.tsx +0 -20
  702. package/src/components/SectionHeader/index.ts +0 -5
  703. package/src/components/SegmentedControl/SegmentedControl.context.ts +0 -22
  704. package/src/components/SegmentedControl/SegmentedControl.figma.tsx +0 -39
  705. package/src/components/SegmentedControl/SegmentedControl.props.ts +0 -20
  706. package/src/components/SegmentedControl/SegmentedControl.stories.tsx +0 -98
  707. package/src/components/SegmentedControl/SegmentedControl.tsx +0 -260
  708. package/src/components/SegmentedControl/SegmentedControlOption.props.ts +0 -16
  709. package/src/components/SegmentedControl/SegmentedControlOption.tsx +0 -237
  710. package/src/components/SegmentedControl/index.ts +0 -4
  711. package/src/components/Select/Select.context.ts +0 -15
  712. package/src/components/Select/Select.figma.tsx +0 -56
  713. package/src/components/Select/Select.props.ts +0 -161
  714. package/src/components/Select/Select.stories.tsx +0 -290
  715. package/src/components/Select/Select.tsx +0 -321
  716. package/src/components/Select/SelectOption.figma.tsx +0 -18
  717. package/src/components/Select/SelectOption.tsx +0 -103
  718. package/src/components/Select/index.ts +0 -7
  719. package/src/components/Skeleton/Skeleton.props.ts +0 -11
  720. package/src/components/Skeleton/Skeleton.stories.tsx +0 -33
  721. package/src/components/Skeleton/Skeleton.tsx +0 -77
  722. package/src/components/Skeleton/index.ts +0 -1
  723. package/src/components/Spinner/Spinner.figma.tsx +0 -14
  724. package/src/components/Spinner/Spinner.props.ts +0 -10
  725. package/src/components/Spinner/Spinner.stories.tsx +0 -56
  726. package/src/components/Spinner/Spinner.tsx +0 -157
  727. package/src/components/Spinner/Spinner.web.tsx +0 -149
  728. package/src/components/Spinner/index.ts +0 -2
  729. package/src/components/StepperInput/StepperButton.tsx +0 -83
  730. package/src/components/StepperInput/StepperInput.figma.tsx +0 -45
  731. package/src/components/StepperInput/StepperInput.props.ts +0 -39
  732. package/src/components/StepperInput/StepperInput.stories.tsx +0 -270
  733. package/src/components/StepperInput/StepperInput.tsx +0 -322
  734. package/src/components/StepperInput/index.ts +0 -2
  735. package/src/components/Switch/Switch.figma.tsx +0 -16
  736. package/src/components/Switch/Switch.props.ts +0 -10
  737. package/src/components/Switch/Switch.stories.tsx +0 -80
  738. package/src/components/Switch/Switch.tsx +0 -209
  739. package/src/components/Switch/Switch.web.tsx +0 -207
  740. package/src/components/Switch/index.ts +0 -1
  741. package/src/components/Table/Table.context.tsx +0 -23
  742. package/src/components/Table/Table.docs.mdx +0 -239
  743. package/src/components/Table/Table.figma.tsx +0 -65
  744. package/src/components/Table/Table.props.ts +0 -65
  745. package/src/components/Table/Table.stories.tsx +0 -399
  746. package/src/components/Table/Table.tsx +0 -127
  747. package/src/components/Table/Table.utils.test.ts +0 -82
  748. package/src/components/Table/Table.utils.ts +0 -72
  749. package/src/components/Table/TableBody.tsx +0 -25
  750. package/src/components/Table/TableCell.tsx +0 -67
  751. package/src/components/Table/TableHeader.tsx +0 -41
  752. package/src/components/Table/TableHeaderCell.tsx +0 -145
  753. package/src/components/Table/TablePagination.tsx +0 -10
  754. package/src/components/Table/TableRow.tsx +0 -42
  755. package/src/components/Table/index.ts +0 -16
  756. package/src/components/Tabs/Tab.figma.tsx +0 -21
  757. package/src/components/Tabs/Tab.props.ts +0 -16
  758. package/src/components/Tabs/Tab.tsx +0 -114
  759. package/src/components/Tabs/TabPanel.props.ts +0 -10
  760. package/src/components/Tabs/TabPanel.tsx +0 -46
  761. package/src/components/Tabs/Tabs.context.ts +0 -26
  762. package/src/components/Tabs/Tabs.figma.tsx +0 -20
  763. package/src/components/Tabs/Tabs.props.ts +0 -21
  764. package/src/components/Tabs/Tabs.stories.tsx +0 -270
  765. package/src/components/Tabs/Tabs.tsx +0 -138
  766. package/src/components/Tabs/TabsList.props.ts +0 -8
  767. package/src/components/Tabs/TabsList.tsx +0 -194
  768. package/src/components/Tabs/index.ts +0 -8
  769. package/src/components/Textarea/Textarea.context.ts +0 -6
  770. package/src/components/Textarea/Textarea.figma.tsx +0 -64
  771. package/src/components/Textarea/Textarea.props.ts +0 -74
  772. package/src/components/Textarea/Textarea.stories.tsx +0 -106
  773. package/src/components/Textarea/Textarea.tsx +0 -207
  774. package/src/components/Textarea/TextareaField.tsx +0 -45
  775. package/src/components/Textarea/TextareaRoot.tsx +0 -83
  776. package/src/components/Textarea/index.ts +0 -1
  777. package/src/components/ThemedImage/ThemedImage.props.ts +0 -15
  778. package/src/components/ThemedImage/ThemedImage.stories.tsx +0 -175
  779. package/src/components/ThemedImage/ThemedImage.tsx +0 -34
  780. package/src/components/ThemedImage/index.tsx +0 -2
  781. package/src/components/TimePicker/TimePicker.figma.tsx +0 -29
  782. package/src/components/TimePicker/TimePicker.props.ts +0 -45
  783. package/src/components/TimePicker/TimePicker.stories.tsx +0 -85
  784. package/src/components/TimePicker/TimePicker.tsx +0 -150
  785. package/src/components/TimePicker/TimePickerView.tsx +0 -216
  786. package/src/components/TimePicker/TimePickerWheel.tsx +0 -161
  787. package/src/components/TimePicker/TimePickerWheel.web.tsx +0 -217
  788. package/src/components/TimePicker/index.ts +0 -8
  789. package/src/components/TimePickerInput/TimePickerInput.figma.tsx +0 -34
  790. package/src/components/TimePickerInput/TimePickerInput.props.ts +0 -55
  791. package/src/components/TimePickerInput/TimePickerInput.stories.tsx +0 -175
  792. package/src/components/TimePickerInput/TimePickerInput.tsx +0 -283
  793. package/src/components/TimePickerInput/TimePickerInputDoneButton.tsx +0 -42
  794. package/src/components/TimePickerInput/TimePickerInputDoneButton.web.tsx +0 -7
  795. package/src/components/TimePickerInput/index.ts +0 -2
  796. package/src/components/Timeline/Timeline.figma.tsx +0 -89
  797. package/src/components/Timeline/Timeline.props.ts +0 -51
  798. package/src/components/Timeline/Timeline.stories.tsx +0 -102
  799. package/src/components/Timeline/Timeline.tsx +0 -48
  800. package/src/components/Timeline/TimelineItem.tsx +0 -293
  801. package/src/components/Timeline/index.ts +0 -9
  802. package/src/components/Toast/Toast.context.tsx +0 -139
  803. package/src/components/Toast/Toast.props.ts +0 -38
  804. package/src/components/Toast/Toast.stories.tsx +0 -385
  805. package/src/components/Toast/ToastItem.figma.tsx +0 -15
  806. package/src/components/Toast/ToastItem.tsx +0 -205
  807. package/src/components/Toast/index.ts +0 -3
  808. package/src/components/ToggleButton/ToggleButton.props.tsx +0 -7
  809. package/src/components/ToggleButton/ToggleButton.stories.tsx +0 -35
  810. package/src/components/ToggleButton/ToggleButton.tsx +0 -32
  811. package/src/components/ToggleButton/ToggleButtonIcon.tsx +0 -47
  812. package/src/components/ToggleButton/ToggleButtonRoot.tsx +0 -98
  813. package/src/components/ToggleButton/ToggleButtonText.tsx +0 -29
  814. package/src/components/ToggleButton/index.ts +0 -2
  815. package/src/components/ToggleButtonCard/ToggleButtonCard.context.ts +0 -8
  816. package/src/components/ToggleButtonCard/ToggleButtonCard.figma.tsx +0 -24
  817. package/src/components/ToggleButtonCard/ToggleButtonCard.props.ts +0 -17
  818. package/src/components/ToggleButtonCard/ToggleButtonCard.stories.tsx +0 -45
  819. package/src/components/ToggleButtonCard/ToggleButtonCard.tsx +0 -32
  820. package/src/components/ToggleButtonCard/ToggleButtonCardGroup.props.ts +0 -34
  821. package/src/components/ToggleButtonCard/ToggleButtonCardGroup.stories.tsx +0 -85
  822. package/src/components/ToggleButtonCard/ToggleButtonCardGroup.tsx +0 -48
  823. package/src/components/ToggleButtonCard/ToggleButtonCardRoot.tsx +0 -97
  824. package/src/components/ToggleButtonCard/index.ts +0 -2
  825. package/src/components/UnstyledIconButton/UnstyledIconButton.context.ts +0 -11
  826. package/src/components/UnstyledIconButton/UnstyledIconButton.figma.tsx +0 -49
  827. package/src/components/UnstyledIconButton/UnstyledIconButton.props.ts +0 -34
  828. package/src/components/UnstyledIconButton/UnstyledIconButton.stories.tsx +0 -96
  829. package/src/components/UnstyledIconButton/UnstyledIconButton.tsx +0 -68
  830. package/src/components/UnstyledIconButton/UnstyledIconButtonIcon.tsx +0 -74
  831. package/src/components/UnstyledIconButton/UnstyledIconButtonRoot.tsx +0 -61
  832. package/src/components/UnstyledIconButton/UnstyledIconButtonSpinner.tsx +0 -39
  833. package/src/components/UnstyledIconButton/index.tsx +0 -2
  834. package/src/components/VerificationInput/VerificationInput.figma.tsx +0 -53
  835. package/src/components/VerificationInput/VerificationInput.props.ts +0 -66
  836. package/src/components/VerificationInput/VerificationInput.stories.tsx +0 -249
  837. package/src/components/VerificationInput/VerificationInput.tsx +0 -290
  838. package/src/components/VerificationInput/VerificationInput.utils.test.ts +0 -48
  839. package/src/components/VerificationInput/VerificationInput.utils.ts +0 -32
  840. package/src/components/VerificationInput/VerificationInputSlot.tsx +0 -170
  841. package/src/components/VerificationInput/index.ts +0 -7
  842. package/src/components/index.ts +0 -77
  843. package/src/core/breakpoints.ts +0 -10
  844. package/src/core/index.ts +0 -38
  845. package/src/core/themes.ts +0 -390
  846. package/src/hooks/index.ts +0 -8
  847. package/src/hooks/useBreakpointValue.ts +0 -62
  848. package/src/hooks/useColorMode.ts +0 -18
  849. package/src/hooks/useFormFieldAccessibility.test.tsx +0 -74
  850. package/src/hooks/useFormFieldAccessibility.ts +0 -67
  851. package/src/hooks/useMedia.ts +0 -31
  852. package/src/hooks/usePrevious.ts +0 -9
  853. package/src/hooks/useStyleProps.ts +0 -95
  854. package/src/hooks/useTheme.ts +0 -9
  855. package/src/hooks/useToken.ts +0 -40
  856. package/src/index.ts +0 -4
  857. package/src/legacyTokens/common/brand.ts +0 -18
  858. package/src/legacyTokens/common/index.ts +0 -10
  859. package/src/legacyTokens/common/service.ts +0 -22
  860. package/src/legacyTokens/dark/apple.ts +0 -30
  861. package/src/legacyTokens/dark/cyan.ts +0 -50
  862. package/src/legacyTokens/dark/gold.ts +0 -46
  863. package/src/legacyTokens/dark/grape.ts +0 -30
  864. package/src/legacyTokens/dark/green.ts +0 -42
  865. package/src/legacyTokens/dark/grey.ts +0 -62
  866. package/src/legacyTokens/dark/index.ts +0 -42
  867. package/src/legacyTokens/dark/pink.ts +0 -30
  868. package/src/legacyTokens/dark/purple.ts +0 -50
  869. package/src/legacyTokens/dark/red.ts +0 -42
  870. package/src/legacyTokens/dark/rose.ts +0 -30
  871. package/src/legacyTokens/index.ts +0 -14
  872. package/src/legacyTokens/light/apple.ts +0 -30
  873. package/src/legacyTokens/light/cyan.ts +0 -50
  874. package/src/legacyTokens/light/gold.ts +0 -46
  875. package/src/legacyTokens/light/grape.ts +0 -30
  876. package/src/legacyTokens/light/green.ts +0 -42
  877. package/src/legacyTokens/light/grey.ts +0 -62
  878. package/src/legacyTokens/light/index.ts +0 -42
  879. package/src/legacyTokens/light/pink.ts +0 -30
  880. package/src/legacyTokens/light/purple.ts +0 -50
  881. package/src/legacyTokens/light/red.ts +0 -42
  882. package/src/legacyTokens/light/rose.ts +0 -34
  883. package/src/tokens/README.md +0 -7
  884. package/src/tokens/border-radius.ts +0 -12
  885. package/src/tokens/border-width.ts +0 -8
  886. package/src/tokens/color.ts +0 -659
  887. package/src/tokens/components/dark/accordion.ts +0 -27
  888. package/src/tokens/components/dark/alert.ts +0 -23
  889. package/src/tokens/components/dark/avatar.ts +0 -19
  890. package/src/tokens/components/dark/badge.ts +0 -24
  891. package/src/tokens/components/dark/banner.ts +0 -53
  892. package/src/tokens/components/dark/bottom-navigation.ts +0 -30
  893. package/src/tokens/components/dark/bottom-sheet.ts +0 -16
  894. package/src/tokens/components/dark/breadcrumb.ts +0 -7
  895. package/src/tokens/components/dark/button.ts +0 -19
  896. package/src/tokens/components/dark/card-accordion.ts +0 -13
  897. package/src/tokens/components/dark/card-action.ts +0 -11
  898. package/src/tokens/components/dark/card-content.ts +0 -25
  899. package/src/tokens/components/dark/card.ts +0 -38
  900. package/src/tokens/components/dark/carousel-control.ts +0 -11
  901. package/src/tokens/components/dark/checkbox.ts +0 -42
  902. package/src/tokens/components/dark/date-picker.ts +0 -44
  903. package/src/tokens/components/dark/description-list.ts +0 -20
  904. package/src/tokens/components/dark/divider.ts +0 -11
  905. package/src/tokens/components/dark/drawer.ts +0 -29
  906. package/src/tokens/components/dark/expandable-card.ts +0 -11
  907. package/src/tokens/components/dark/form-field.ts +0 -10
  908. package/src/tokens/components/dark/icon-button.ts +0 -46
  909. package/src/tokens/components/dark/icon-container.ts +0 -25
  910. package/src/tokens/components/dark/illustrations.ts +0 -7
  911. package/src/tokens/components/dark/index.ts +0 -58
  912. package/src/tokens/components/dark/indicator-icon-button.ts +0 -11
  913. package/src/tokens/components/dark/inline-link.ts +0 -14
  914. package/src/tokens/components/dark/input.ts +0 -43
  915. package/src/tokens/components/dark/link.ts +0 -20
  916. package/src/tokens/components/dark/list.ts +0 -48
  917. package/src/tokens/components/dark/menu.ts +0 -34
  918. package/src/tokens/components/dark/modal.ts +0 -36
  919. package/src/tokens/components/dark/navigation.ts +0 -61
  920. package/src/tokens/components/dark/overlay.ts +0 -8
  921. package/src/tokens/components/dark/pagination.ts +0 -13
  922. package/src/tokens/components/dark/parts.ts +0 -33
  923. package/src/tokens/components/dark/pill.ts +0 -16
  924. package/src/tokens/components/dark/progress-bar.ts +0 -41
  925. package/src/tokens/components/dark/progress-stepper.ts +0 -24
  926. package/src/tokens/components/dark/radio.ts +0 -39
  927. package/src/tokens/components/dark/rating.ts +0 -8
  928. package/src/tokens/components/dark/section-header.ts +0 -10
  929. package/src/tokens/components/dark/segmented-control.ts +0 -19
  930. package/src/tokens/components/dark/select.ts +0 -45
  931. package/src/tokens/components/dark/skeleton.ts +0 -7
  932. package/src/tokens/components/dark/spinner.ts +0 -24
  933. package/src/tokens/components/dark/switch.ts +0 -25
  934. package/src/tokens/components/dark/table.ts +0 -27
  935. package/src/tokens/components/dark/tabs.ts +0 -25
  936. package/src/tokens/components/dark/time-picker.ts +0 -30
  937. package/src/tokens/components/dark/timeline.ts +0 -27
  938. package/src/tokens/components/dark/toast.ts +0 -17
  939. package/src/tokens/components/dark/toggle-button.ts +0 -13
  940. package/src/tokens/components/dark/tooltip.ts +0 -13
  941. package/src/tokens/components/dark/top-navigation.ts +0 -18
  942. package/src/tokens/components/index.ts +0 -6
  943. package/src/tokens/components/light/accordion.ts +0 -27
  944. package/src/tokens/components/light/alert.ts +0 -23
  945. package/src/tokens/components/light/avatar.ts +0 -19
  946. package/src/tokens/components/light/badge.ts +0 -24
  947. package/src/tokens/components/light/banner.ts +0 -53
  948. package/src/tokens/components/light/bottom-navigation.ts +0 -30
  949. package/src/tokens/components/light/bottom-sheet.ts +0 -16
  950. package/src/tokens/components/light/breadcrumb.ts +0 -7
  951. package/src/tokens/components/light/button.ts +0 -19
  952. package/src/tokens/components/light/card-accordion.ts +0 -13
  953. package/src/tokens/components/light/card-action.ts +0 -11
  954. package/src/tokens/components/light/card-content.ts +0 -25
  955. package/src/tokens/components/light/card.ts +0 -38
  956. package/src/tokens/components/light/carousel-control.ts +0 -11
  957. package/src/tokens/components/light/checkbox.ts +0 -42
  958. package/src/tokens/components/light/date-picker.ts +0 -44
  959. package/src/tokens/components/light/description-list.ts +0 -20
  960. package/src/tokens/components/light/divider.ts +0 -11
  961. package/src/tokens/components/light/drawer.ts +0 -29
  962. package/src/tokens/components/light/expandable-card.ts +0 -11
  963. package/src/tokens/components/light/form-field.ts +0 -10
  964. package/src/tokens/components/light/icon-button.ts +0 -46
  965. package/src/tokens/components/light/icon-container.ts +0 -25
  966. package/src/tokens/components/light/illustrations.ts +0 -7
  967. package/src/tokens/components/light/index.ts +0 -58
  968. package/src/tokens/components/light/indicator-icon-button.ts +0 -11
  969. package/src/tokens/components/light/inline-link.ts +0 -14
  970. package/src/tokens/components/light/input.ts +0 -43
  971. package/src/tokens/components/light/link.ts +0 -20
  972. package/src/tokens/components/light/list.ts +0 -48
  973. package/src/tokens/components/light/menu.ts +0 -34
  974. package/src/tokens/components/light/modal.ts +0 -36
  975. package/src/tokens/components/light/navigation.ts +0 -61
  976. package/src/tokens/components/light/overlay.ts +0 -8
  977. package/src/tokens/components/light/pagination.ts +0 -13
  978. package/src/tokens/components/light/parts.ts +0 -33
  979. package/src/tokens/components/light/pill.ts +0 -16
  980. package/src/tokens/components/light/progress-bar.ts +0 -41
  981. package/src/tokens/components/light/progress-stepper.ts +0 -24
  982. package/src/tokens/components/light/radio.ts +0 -39
  983. package/src/tokens/components/light/rating.ts +0 -8
  984. package/src/tokens/components/light/section-header.ts +0 -10
  985. package/src/tokens/components/light/segmented-control.ts +0 -19
  986. package/src/tokens/components/light/select.ts +0 -45
  987. package/src/tokens/components/light/skeleton.ts +0 -7
  988. package/src/tokens/components/light/spinner.ts +0 -24
  989. package/src/tokens/components/light/switch.ts +0 -25
  990. package/src/tokens/components/light/table.ts +0 -27
  991. package/src/tokens/components/light/tabs.ts +0 -25
  992. package/src/tokens/components/light/time-picker.ts +0 -30
  993. package/src/tokens/components/light/timeline.ts +0 -27
  994. package/src/tokens/components/light/toast.ts +0 -17
  995. package/src/tokens/components/light/toggle-button.ts +0 -13
  996. package/src/tokens/components/light/tooltip.ts +0 -13
  997. package/src/tokens/components/light/top-navigation.ts +0 -18
  998. package/src/tokens/font.ts +0 -29
  999. package/src/tokens/index.ts +0 -20
  1000. package/src/tokens/layout.ts +0 -94
  1001. package/src/tokens/letter-spacing.ts +0 -13
  1002. package/src/tokens/line-height.ts +0 -16
  1003. package/src/tokens/motion.ts +0 -23
  1004. package/src/tokens/primitive.ts +0 -102
  1005. package/src/tokens/semantic-dark.ts +0 -255
  1006. package/src/tokens/semantic-light.ts +0 -255
  1007. package/src/tokens/semantic.ts +0 -9
  1008. package/src/tokens/shadow.ts +0 -52
  1009. package/src/tokens/space.ts +0 -23
  1010. package/src/tokens/typography.ts +0 -298
  1011. package/src/types/index.ts +0 -6
  1012. package/src/types/refs.ts +0 -8
  1013. package/src/types/semanticColorValues.ts +0 -26
  1014. package/src/types/states.ts +0 -11
  1015. package/src/types/unistyles.ts +0 -12
  1016. package/src/types/utilityProps.ts +0 -410
  1017. package/src/types/values.ts +0 -81
  1018. package/src/utils/coloursAsArray.ts +0 -65
  1019. package/src/utils/formatThousands.ts +0 -14
  1020. package/src/utils/getFlattenedColorValue.ts +0 -13
  1021. package/src/utils/getInitials.ts +0 -7
  1022. package/src/utils/getStyleValue.ts +0 -9
  1023. package/src/utils/hasChildrenByDisplayName.ts +0 -43
  1024. package/src/utils/hexWithOpacity.ts +0 -19
  1025. package/src/utils/index.ts +0 -17
  1026. package/src/utils/isEqual.ts +0 -30
  1027. package/src/utils/isThemedImageProps.ts +0 -8
  1028. package/src/utils/styleUtils.ts +0 -264
  1029. package/src/utils/themeValueHelpers.ts +0 -98
  1030. package/src/vite-env.d.ts +0 -19
  1031. package/tsconfig.eslint.json +0 -14
  1032. package/tsconfig.json +0 -45
  1033. package/vitest.config.js +0 -37
  1034. package/vitest.unit.config.ts +0 -9
@@ -1,423 +0,0 @@
1
- import {
2
- BottomSheetFooter,
3
- BottomSheetFooterProps,
4
- BottomSheetScrollViewMethods,
5
- SNAP_POINT_TYPE,
6
- } from '@gorhom/bottom-sheet';
7
- import { BottomSheetModalMethods } from '@gorhom/bottom-sheet/lib/typescript/types';
8
- import { CloseMediumIcon } from '@utilitywarehouse/hearth-react-native-icons';
9
- import { useCallback, useImperativeHandle, useMemo, useRef, useState } from 'react';
10
- import { AccessibilityInfo, LayoutChangeEvent, Platform, View, findNodeHandle } from 'react-native';
11
- import { StyleSheet } from 'react-native-unistyles';
12
- import { useTheme } from '../../hooks';
13
- import { BodyText } from '../BodyText';
14
- import { BottomSheetModal, BottomSheetScrollView } from '../BottomSheet';
15
- import { useBottomSheetContext } from '../BottomSheet/BottomSheet.context';
16
- import { Button } from '../Button';
17
- import { Heading } from '../Heading';
18
- import { Spinner } from '../Spinner';
19
- import { UnstyledIconButton } from '../UnstyledIconButton';
20
- import ModalProps from './Modal.props';
21
-
22
- type Modal<T = any> = BottomSheetModalMethods<T> & { triggerCloseAnimation?: () => void };
23
-
24
- const Modal = ({
25
- ref,
26
- children,
27
- heading,
28
- description,
29
- showCloseButton = true,
30
- primaryButtonText,
31
- secondaryButtonText,
32
- onPressPrimaryButton,
33
- onPressCloseButton,
34
- onPressSecondaryButton,
35
- closeOnPrimaryButtonPress = true,
36
- closeOnSecondaryButtonPress = true,
37
- loading,
38
- loadingHeading = 'Loading...',
39
- loadingDescription,
40
- fullscreen = false,
41
- image,
42
- footer,
43
- footerStyle,
44
- primaryButtonProps,
45
- secondaryButtonProps,
46
- closeButtonProps,
47
- stickyFooter = true,
48
- ...props
49
- }: ModalProps) => {
50
- const theme = useTheme();
51
- const bottomSheetModalRef = useRef<BottomSheetModal>(null);
52
- const viewRef = useRef<View>(null);
53
- const scrollViewRef = useRef<BottomSheetScrollViewMethods>(null);
54
- const [stickyFooterHeight, setStickyFooterHeight] = useState(0);
55
- const { useSafeAreaInsets } = useBottomSheetContext();
56
-
57
- useImperativeHandle(ref, () => ({
58
- ...(bottomSheetModalRef.current as BottomSheetModal),
59
- }));
60
-
61
- const handleChange = (index: number, position: number, type: SNAP_POINT_TYPE) => {
62
- if (index > -1) {
63
- // Add a small delay to ensure the modal is fully rendered
64
- setTimeout(() => {
65
- // Announce the modal opening to screen readers
66
- AccessibilityInfo.announceForAccessibility('Modal opened.');
67
-
68
- const scrollViewTargetRef = scrollViewRef.current?.getInnerViewNode();
69
- const targetRef = viewRef.current;
70
- if ((Platform.OS === 'android' && targetRef) || scrollViewTargetRef) {
71
- const nodeHandle = findNodeHandle(
72
- Platform.OS === 'android' ? targetRef : scrollViewTargetRef
73
- );
74
- if (nodeHandle) {
75
- AccessibilityInfo.setAccessibilityFocus(nodeHandle);
76
- }
77
- }
78
- }, 100);
79
- }
80
- props.onChange?.(index, position, type);
81
- };
82
-
83
- const handleCloseButtonPress = useCallback(() => {
84
- bottomSheetModalRef.current?.dismiss();
85
- if (onPressCloseButton) {
86
- onPressCloseButton();
87
- }
88
- }, [onPressCloseButton]);
89
-
90
- const handlePrimaryButtonPress = useCallback(() => {
91
- if (onPressPrimaryButton) {
92
- onPressPrimaryButton();
93
- }
94
- if (closeOnPrimaryButtonPress) {
95
- bottomSheetModalRef.current?.dismiss();
96
- }
97
- }, [closeOnPrimaryButtonPress, onPressPrimaryButton]);
98
-
99
- const handleSecondaryButtonPress = useCallback(() => {
100
- if (onPressSecondaryButton) {
101
- onPressSecondaryButton();
102
- }
103
- if (closeOnSecondaryButtonPress) {
104
- bottomSheetModalRef.current?.dismiss();
105
- }
106
- }, [closeOnSecondaryButtonPress, onPressSecondaryButton]);
107
-
108
- const handleStickyFooterLayout = useCallback((event: LayoutChangeEvent) => {
109
- const nextHeight = Math.ceil(event.nativeEvent.layout.height);
110
-
111
- setStickyFooterHeight(currentHeight =>
112
- currentHeight === nextHeight ? currentHeight : nextHeight
113
- );
114
- }, []);
115
-
116
- const hasPrimaryButton = !!(onPressPrimaryButton && primaryButtonText);
117
- const hasSecondaryButton = !!(onPressSecondaryButton && secondaryButtonText);
118
- const hasFooter = !!footer || hasPrimaryButton || hasSecondaryButton;
119
- const shouldShowFooter = !loading && hasFooter;
120
- const descriptionIsText = typeof description === 'string' || typeof description === 'number';
121
- const hasDescription = description !== undefined && description !== null;
122
-
123
- styles.useVariants({
124
- loading,
125
- noButtons: !shouldShowFooter,
126
- stickyFooter,
127
- showHandle: props.showHandle,
128
- useSafeAreaInsets,
129
- });
130
-
131
- const footerContent = useMemo(
132
- () =>
133
- footer ?? (
134
- <View style={styles.footer}>
135
- {hasPrimaryButton ? (
136
- <Button
137
- onPress={handlePrimaryButtonPress}
138
- text={primaryButtonText}
139
- {...primaryButtonProps}
140
- variant={(primaryButtonProps?.variant as 'solid') ?? 'solid'}
141
- colorScheme={(primaryButtonProps?.colorScheme as 'highlight') ?? 'highlight'}
142
- />
143
- ) : null}
144
- {hasSecondaryButton ? (
145
- <Button
146
- onPress={handleSecondaryButtonPress}
147
- text={secondaryButtonText}
148
- {...secondaryButtonProps}
149
- variant={(secondaryButtonProps?.variant as 'outline') ?? 'outline'}
150
- colorScheme={(secondaryButtonProps?.colorScheme as 'functional') ?? 'functional'}
151
- />
152
- ) : null}
153
- </View>
154
- ),
155
- [
156
- footer,
157
- handlePrimaryButtonPress,
158
- handleSecondaryButtonPress,
159
- hasPrimaryButton,
160
- hasSecondaryButton,
161
- primaryButtonProps,
162
- primaryButtonText,
163
- secondaryButtonProps,
164
- secondaryButtonText,
165
- ]
166
- );
167
-
168
- const content = (
169
- <>
170
- {loading ? (
171
- <View
172
- style={styles.loadingContainer}
173
- accessible={Platform.OS === 'android' ? true : undefined}
174
- accessibilityLabel={Platform.OS === 'android' ? (loadingHeading ?? 'Loading') : undefined}
175
- accessibilityHint={
176
- Platform.OS === 'android' && loadingDescription ? loadingDescription : undefined
177
- }
178
- screenReaderFocusable
179
- ref={viewRef}
180
- >
181
- <Spinner size="lg" />
182
- <Heading size="lg" textAlign="center">
183
- {loadingHeading}
184
- </Heading>
185
- {loadingDescription ? <BodyText textAlign="center">{loadingDescription}</BodyText> : null}
186
- </View>
187
- ) : (
188
- <View
189
- style={styles.container}
190
- accessible={Platform.OS === 'android' ? true : undefined}
191
- accessibilityLabel={Platform.OS === 'android' ? 'Modal content' : undefined}
192
- screenReaderFocusable
193
- ref={viewRef}
194
- >
195
- <View style={styles.header}>
196
- <View style={styles.headerTextContent}>
197
- {heading && !image ? (
198
- <Heading size="lg" accessible>
199
- {heading}
200
- </Heading>
201
- ) : null}
202
- {hasDescription && !image ? (
203
- descriptionIsText ? (
204
- <BodyText accessible>{description}</BodyText>
205
- ) : (
206
- description
207
- )
208
- ) : null}
209
- </View>
210
- {showCloseButton ? (
211
- <UnstyledIconButton
212
- icon={CloseMediumIcon}
213
- onPress={handleCloseButtonPress}
214
- accessibilityLabel="Close modal"
215
- {...closeButtonProps}
216
- />
217
- ) : null}
218
- </View>
219
- {image ? (
220
- <View style={styles.imageContainer}>
221
- {image}
222
- <View style={styles.textContent}>
223
- {heading ? (
224
- <Heading size="lg" textAlign="center" accessible>
225
- {heading}
226
- </Heading>
227
- ) : null}
228
- {hasDescription ? (
229
- descriptionIsText ? (
230
- <BodyText textAlign="center" accessible>
231
- {description}
232
- </BodyText>
233
- ) : (
234
- description
235
- )
236
- ) : null}
237
- </View>
238
- </View>
239
- ) : null}
240
- {children}
241
- {!stickyFooter && shouldShowFooter ? (
242
- <View style={footerStyle}>{footerContent}</View>
243
- ) : null}
244
- </View>
245
- )}
246
- </>
247
- );
248
-
249
- const renderFooter = useCallback(
250
- (bottomSheetFooterProps: BottomSheetFooterProps) => (
251
- <BottomSheetFooter {...bottomSheetFooterProps}>
252
- <View onLayout={handleStickyFooterLayout} style={[styles.footerWrap, footerStyle]}>
253
- {footerContent}
254
- </View>
255
- </BottomSheetFooter>
256
- ),
257
- [footerContent, footerStyle, handleStickyFooterLayout]
258
- );
259
-
260
- return (
261
- <>
262
- {stickyFooter && shouldShowFooter && stickyFooterHeight === 0 ? (
263
- <View
264
- accessible={false}
265
- importantForAccessibility="no-hide-descendants"
266
- pointerEvents="none"
267
- style={styles.footerMeasurementContainer}
268
- >
269
- <View onLayout={handleStickyFooterLayout} style={[styles.footerWrap, footerStyle]}>
270
- {footerContent}
271
- </View>
272
- </View>
273
- ) : null}
274
- <BottomSheetModal
275
- ref={bottomSheetModalRef}
276
- enableDynamicSizing={true}
277
- snapPoints={image || fullscreen ? ['90%'] : props.snapPoints}
278
- showHandle={typeof loading !== 'undefined' && loading ? false : props.showHandle}
279
- accessible={false}
280
- style={styles.modal}
281
- footerComponent={stickyFooter && shouldShowFooter ? renderFooter : undefined}
282
- {...props}
283
- onChange={handleChange}
284
- >
285
- {loading ? <View style={styles.loadingTop} /> : null}
286
- <BottomSheetScrollView
287
- contentContainerStyle={[
288
- styles.scrollView,
289
- stickyFooter && shouldShowFooter && stickyFooterHeight > 0
290
- ? { paddingBottom: stickyFooterHeight + theme.components.modal.gap }
291
- : null,
292
- ]}
293
- ref={scrollViewRef}
294
- >
295
- {content}
296
- </BottomSheetScrollView>
297
- </BottomSheetModal>
298
- </>
299
- );
300
- };
301
-
302
- const styles = StyleSheet.create((theme, rt) => ({
303
- modal: {
304
- gap: theme.components.modal.content.gap - theme.components.bottomSheet.gap,
305
- },
306
- container: {
307
- flex: 1,
308
- gap: theme.components.modal.gap,
309
- variants: {
310
- loading: {
311
- true: {
312
- paddingTop: 0,
313
- },
314
- },
315
- },
316
- },
317
- scrollView: {
318
- flex: 1,
319
- variants: {
320
- noButtons: {
321
- true: {
322
- paddingBottom: theme.components.modal.padding,
323
- },
324
- },
325
- stickyFooter: {
326
- true: {},
327
- false: {
328
- paddingBottom: theme.components.modal.padding + theme.components.bottomSheet.padding,
329
- },
330
- },
331
- useSafeAreaInsets: {
332
- true: {},
333
- false: {},
334
- },
335
- },
336
- compoundVariants: [
337
- {
338
- noButtons: true,
339
- useSafeAreaInsets: true,
340
- stickyFooter: false,
341
- styles: {
342
- paddingBottom:
343
- rt.insets.bottom +
344
- theme.components.modal.padding +
345
- theme.components.bottomSheet.padding,
346
- },
347
- },
348
- {
349
- useSafeAreaInsets: true,
350
- stickyFooter: false,
351
- styles: {
352
- paddingBottom:
353
- rt.insets.bottom +
354
- theme.components.modal.padding +
355
- theme.components.bottomSheet.padding,
356
- },
357
- },
358
- ],
359
- },
360
- header: {
361
- flexDirection: 'row',
362
- gap: theme.components.modal.gap,
363
- variants: {
364
- showHandle: {
365
- true: {},
366
- false: {
367
- marginTop: -6,
368
- },
369
- },
370
- },
371
- },
372
- headerTextContent: {
373
- flex: 1,
374
- gap: theme.components.modal.content.gap,
375
- },
376
- imageContainer: {
377
- alignItems: 'center',
378
- gap: theme.components.modal.content.gap,
379
- },
380
- textContent: {
381
- gap: theme.components.modal.content.gap,
382
- },
383
- loadingTop: {
384
- borderTopLeftRadius: theme.components.modal.borderRadius,
385
- borderTopRightRadius: theme.components.modal.borderRadius,
386
- height: 16,
387
- backgroundColor: theme.color.surface.neutral.strong,
388
- },
389
- loadingContainer: {
390
- borderTopLeftRadius: theme.components.modal.borderRadius,
391
- borderTopRightRadius: theme.components.modal.borderRadius,
392
- flex: 1,
393
- alignItems: 'center',
394
- justifyContent: 'center',
395
- minHeight: 140,
396
- gap: theme.components.modal.content.gap,
397
- },
398
- footer: {
399
- gap: theme.components.modal.action.gap,
400
- },
401
- footerMeasurementContainer: {
402
- left: 0,
403
- opacity: 0,
404
- position: 'absolute',
405
- right: 0,
406
- },
407
- footerWrap: {
408
- backgroundColor: theme.color.surface.neutral.strong,
409
- paddingHorizontal: theme.components.bottomSheet.padding,
410
- variants: {
411
- useSafeAreaInsets: {
412
- true: {
413
- paddingBottom: theme.components.bottomSheet.padding + rt.insets.bottom,
414
- },
415
- false: {
416
- paddingBottom: theme.components.bottomSheet.padding,
417
- },
418
- },
419
- },
420
- },
421
- }));
422
-
423
- export default Modal;
@@ -1,250 +0,0 @@
1
- import { BottomSheetScrollViewMethods, SNAP_POINT_TYPE } from '@gorhom/bottom-sheet';
2
- import { BottomSheetModalMethods } from '@gorhom/bottom-sheet/lib/typescript/types';
3
- import { CloseMediumIcon } from '@utilitywarehouse/hearth-react-native-icons';
4
- import { useImperativeHandle, useRef } from 'react';
5
- import { AccessibilityInfo, Platform, View, findNodeHandle } from 'react-native';
6
- import { StyleSheet } from 'react-native-unistyles';
7
- import { BodyText } from '../BodyText';
8
- import { BottomSheetModal, BottomSheetScrollView } from '../BottomSheet';
9
- import { Button } from '../Button';
10
- import { Heading } from '../Heading';
11
- import { Spinner } from '../Spinner';
12
- import { UnstyledIconButton } from '../UnstyledIconButton';
13
- import ModalProps from './Modal.props';
14
-
15
- type Modal<T = any> = BottomSheetModalMethods<T> & { triggerCloseAnimation?: () => void };
16
-
17
- const Modal = ({
18
- ref,
19
- children,
20
- heading,
21
- description,
22
- showCloseButton = true,
23
- primaryButtonText,
24
- secondaryButtonText,
25
- onPressPrimaryButton,
26
- onPressCloseButton,
27
- onPressSecondaryButton,
28
- closeOnPrimaryButtonPress = true,
29
- closeOnSecondaryButtonPress = true,
30
- loading,
31
- loadingHeading = 'Loading...',
32
- fullscreen = false,
33
- image,
34
- footer,
35
- footerStyle,
36
- primaryButtonProps,
37
- secondaryButtonProps,
38
- closeButtonProps,
39
- ...props
40
- }: ModalProps) => {
41
- const bottomSheetModalRef = useRef<BottomSheetModal>(null);
42
- const viewRef = useRef<View>(null);
43
- const scrollViewRef = useRef<BottomSheetScrollViewMethods>(null);
44
-
45
- useImperativeHandle(ref, () => ({
46
- ...(bottomSheetModalRef.current as BottomSheetModal),
47
- }));
48
-
49
- const handleChange = (index: number, position: number, type: SNAP_POINT_TYPE) => {
50
- if (index > -1) {
51
- // Add a small delay to ensure the modal is fully rendered
52
- setTimeout(() => {
53
- // Announce the modal opening to screen readers
54
- AccessibilityInfo.announceForAccessibility('Modal opened.');
55
-
56
- const scrollViewTargetRef = scrollViewRef.current?.getInnerViewNode();
57
- const targetRef = viewRef.current;
58
- if ((Platform.OS === 'android' && targetRef) || scrollViewTargetRef) {
59
- const nodeHandle = findNodeHandle(
60
- Platform.OS === 'android' ? targetRef : scrollViewTargetRef
61
- );
62
- if (nodeHandle) {
63
- AccessibilityInfo.setAccessibilityFocus(nodeHandle);
64
- }
65
- }
66
- }, 100);
67
- }
68
- props.onChange?.(index, position, type);
69
- };
70
-
71
- const handleCloseButtonPress = () => {
72
- bottomSheetModalRef.current?.dismiss();
73
- if (onPressCloseButton) {
74
- onPressCloseButton();
75
- }
76
- };
77
-
78
- const handlePrimaryButtonPress = () => {
79
- if (onPressPrimaryButton) {
80
- onPressPrimaryButton();
81
- }
82
- if (closeOnPrimaryButtonPress) {
83
- bottomSheetModalRef.current?.dismiss();
84
- }
85
- };
86
-
87
- const handleSecondaryButtonPress = () => {
88
- if (onPressSecondaryButton) {
89
- onPressSecondaryButton();
90
- }
91
- if (closeOnSecondaryButtonPress) {
92
- bottomSheetModalRef.current?.dismiss();
93
- }
94
- };
95
-
96
- const hasPrimaryButton = !!(onPressPrimaryButton && primaryButtonText);
97
- const hasSecondaryButton = !!(onPressSecondaryButton && secondaryButtonText);
98
- const hasFooter = !!footer || hasPrimaryButton || hasSecondaryButton;
99
- const descriptionIsText = typeof description === 'string' || typeof description === 'number';
100
- const hasDescription = description !== undefined && description !== null;
101
-
102
- const footerContent = footer ?? (
103
- <View style={styles.footer}>
104
- {hasPrimaryButton ? (
105
- <Button
106
- onPress={handlePrimaryButtonPress}
107
- text={primaryButtonText}
108
- {...primaryButtonProps}
109
- variant={(primaryButtonProps?.variant as 'solid') ?? 'solid'}
110
- colorScheme={(primaryButtonProps?.colorScheme as 'highlight') ?? 'highlight'}
111
- />
112
- ) : null}
113
- {hasSecondaryButton ? (
114
- <Button
115
- onPress={handleSecondaryButtonPress}
116
- text={secondaryButtonText}
117
- {...secondaryButtonProps}
118
- variant={(secondaryButtonProps?.variant as 'outline') ?? 'outline'}
119
- colorScheme={(secondaryButtonProps?.colorScheme as 'functional') ?? 'functional'}
120
- />
121
- ) : null}
122
- </View>
123
- );
124
-
125
- const content = (
126
- <>
127
- {loading ? (
128
- <View
129
- style={styles.loadingContainer}
130
- accessible={Platform.OS === 'android' ? true : undefined}
131
- accessibilityLabel={Platform.OS === 'android' ? 'Loading' : undefined}
132
- screenReaderFocusable
133
- ref={viewRef}
134
- >
135
- <Spinner size="lg" />
136
- <Heading size="lg" textAlign="center">
137
- {loadingHeading}
138
- </Heading>
139
- </View>
140
- ) : (
141
- <View
142
- style={styles.container}
143
- accessible={Platform.OS === 'android' ? true : undefined}
144
- accessibilityLabel={Platform.OS === 'android' ? 'Modal content' : undefined}
145
- screenReaderFocusable
146
- ref={viewRef}
147
- >
148
- <View style={styles.header}>
149
- <View style={styles.headerTextContent}>
150
- {heading && !image ? (
151
- <Heading size="lg" accessible>
152
- {heading}
153
- </Heading>
154
- ) : null}
155
- {hasDescription && !image ? (
156
- descriptionIsText ? (
157
- <BodyText accessible>{description}</BodyText>
158
- ) : (
159
- description
160
- )
161
- ) : null}
162
- </View>
163
- {showCloseButton ? (
164
- <UnstyledIconButton
165
- icon={CloseMediumIcon}
166
- onPress={handleCloseButtonPress}
167
- accessibilityLabel="Close modal"
168
- {...closeButtonProps}
169
- />
170
- ) : null}
171
- </View>
172
- {image ? (
173
- <View style={styles.imageContainer}>
174
- {image}
175
- <View style={styles.textContent}>
176
- {heading ? (
177
- <Heading size="lg" textAlign="center" accessible>
178
- {heading}
179
- </Heading>
180
- ) : null}
181
- {hasDescription ? (
182
- descriptionIsText ? (
183
- <BodyText textAlign="center" accessible>
184
- {description}
185
- </BodyText>
186
- ) : (
187
- description
188
- )
189
- ) : null}
190
- </View>
191
- </View>
192
- ) : null}
193
- {children}
194
- {hasFooter ? <View style={footerStyle}>{footerContent}</View> : null}
195
- </View>
196
- )}
197
- </>
198
- );
199
-
200
- return (
201
- <BottomSheetModal
202
- ref={bottomSheetModalRef}
203
- enableDynamicSizing={true}
204
- snapPoints={image || fullscreen ? ['90%'] : props.snapPoints}
205
- showHandle={typeof loading !== 'undefined' && loading ? false : props.showHandle}
206
- accessible={false}
207
- {...props}
208
- onChange={handleChange}
209
- >
210
- <BottomSheetScrollView contentContainerStyle={styles.container} ref={scrollViewRef}>
211
- {content}
212
- </BottomSheetScrollView>
213
- </BottomSheetModal>
214
- );
215
- };
216
-
217
- const styles = StyleSheet.create(theme => ({
218
- container: {
219
- flex: 1,
220
- gap: theme.components.modal.gap,
221
- },
222
- header: {
223
- flexDirection: 'row',
224
- gap: theme.components.modal.gap,
225
- },
226
- headerTextContent: {
227
- flex: 1,
228
- gap: theme.components.modal.content.gap,
229
- },
230
- imageContainer: {
231
- alignItems: 'center',
232
- justifyContent: 'center',
233
- flex: 1,
234
- },
235
- textContent: {
236
- gap: theme.components.modal.content.gap,
237
- },
238
- loadingContainer: {
239
- flex: 1,
240
- alignItems: 'center',
241
- justifyContent: 'center',
242
- minHeight: 140,
243
- gap: theme.components.modal.content.gap,
244
- },
245
- footer: {
246
- gap: theme.components.modal.action.gap,
247
- },
248
- }));
249
-
250
- export default Modal;
@@ -1,20 +0,0 @@
1
- import { Image, ImageProps } from 'react-native';
2
- import { StyleSheet } from 'react-native-unistyles';
3
- import { isThemedImageProps } from '../../utils';
4
- import { ThemedImage, ThemedImageProps } from '../ThemedImage';
5
-
6
- const ModalImage = (props: ImageProps | ThemedImageProps) => {
7
- if (isThemedImageProps(props)) {
8
- return <ThemedImage {...props} style={[styles.image, props.style]} />;
9
- }
10
- return <Image resizeMode="cover" {...props} style={[styles.image, props.style]} />;
11
- };
12
-
13
- const styles = StyleSheet.create({
14
- image: {
15
- width: 260,
16
- height: 260,
17
- },
18
- });
19
-
20
- export default ModalImage;
@@ -1,3 +0,0 @@
1
- export { default as Modal } from './Modal';
2
- export type { default as ModalProps } from './Modal.props';
3
- export { default as ModalImage } from './ModalImage';
@@ -1,13 +0,0 @@
1
- import figma from '@figma/code-connect';
2
- import { NavModal } from '..';
3
-
4
- figma.connect(
5
- NavModal,
6
- 'https://www.figma.com/design/dLI9bmyMr42LV7dtFeW27J/Hearth-Patterns---Guides?node-id=6314-9103&t=oq3NaPLaAu3di6Db-4',
7
- {
8
- props: {},
9
- example: props => {
10
- return <NavModal>{/* Your content here */}</NavModal>;
11
- },
12
- }
13
- );