reshaped 2.8.0 → 2.8.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 (1045) hide show
  1. package/CHANGELOG.md +3 -20
  2. package/bin/clean.sh +1 -3
  3. package/bin/cli.js +1 -1
  4. package/dist/components/Accordion/Accordion.d.ts +7 -0
  5. package/dist/components/Accordion/Accordion.js +14 -0
  6. package/dist/components/Accordion/Accordion.types.d.ts +39 -0
  7. package/dist/components/Accordion/AccordionContent.d.ts +3 -0
  8. package/dist/components/Accordion/AccordionContent.js +10 -0
  9. package/dist/components/Accordion/AccordionControlled.d.ts +3 -0
  10. package/dist/components/Accordion/AccordionControlled.js +23 -0
  11. package/dist/components/Accordion/AccordionTrigger.d.ts +3 -0
  12. package/dist/components/Accordion/AccordionTrigger.js +24 -0
  13. package/dist/components/Accordion/AccordionUncontrolled.d.ts +3 -0
  14. package/dist/components/Accordion/AccordionUncontrolled.js +25 -0
  15. package/dist/components/ActionBar/ActionBar.d.ts +3 -0
  16. package/dist/components/ActionBar/ActionBar.js +10 -0
  17. package/dist/components/ActionBar/ActionBar.types.d.ts +10 -0
  18. package/dist/components/Actionable/Actionable.js +66 -0
  19. package/dist/components/Alert/Alert.d.ts +3 -0
  20. package/dist/components/Alert/Alert.js +21 -0
  21. package/dist/components/Alert/Alert.types.d.ts +14 -0
  22. package/dist/components/Autocomplete/Autocomplete.d.ts +6 -0
  23. package/dist/components/Autocomplete/Autocomplete.js +73 -0
  24. package/dist/components/Avatar/Avatar.d.ts +3 -0
  25. package/dist/components/Avatar/Avatar.js +29 -0
  26. package/dist/components/Badge/Badge.d.ts +6 -0
  27. package/dist/components/Badge/Badge.js +19 -0
  28. package/dist/components/Badge/BadgeContainer.d.ts +3 -0
  29. package/dist/components/Badge/BadgeContainer.js +9 -0
  30. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +3 -0
  31. package/dist/components/Breadcrumbs/Breadcrumbs.js +42 -0
  32. package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +13 -0
  33. package/dist/components/Breadcrumbs/BreadcrumbsItem.d.ts +3 -0
  34. package/dist/components/Breadcrumbs/BreadcrumbsItem.js +11 -0
  35. package/dist/components/Breadcrumbs/index.d.ts +8 -0
  36. package/dist/components/Button/Button.js +35 -0
  37. package/dist/components/Button/ButtonAligner.d.ts +3 -0
  38. package/dist/components/Button/ButtonAligner.js +7 -0
  39. package/dist/components/Button/ButtonGroup.d.ts +3 -0
  40. package/dist/components/Button/ButtonGroup.js +9 -0
  41. package/dist/components/Calendar/Calendar.d.ts +3 -0
  42. package/dist/components/Calendar/Calendar.js +9 -0
  43. package/dist/components/Calendar/CalendarControlled.d.ts +3 -0
  44. package/dist/components/Calendar/CalendarControlled.js +69 -0
  45. package/dist/components/Calendar/CalendarControls.d.ts +3 -0
  46. package/dist/components/Calendar/CalendarControls.js +46 -0
  47. package/dist/components/Calendar/CalendarDate.d.ts +3 -0
  48. package/dist/components/Calendar/CalendarDate.js +57 -0
  49. package/dist/components/Calendar/CalendarMonth.d.ts +3 -0
  50. package/dist/components/Calendar/CalendarMonth.js +51 -0
  51. package/dist/components/Calendar/CalendarUncontrolled.d.ts +3 -0
  52. package/dist/components/Calendar/CalendarUncontrolled.js +30 -0
  53. package/dist/components/Calendar/CalendarYear.d.ts +3 -0
  54. package/dist/components/Calendar/CalendarYear.js +44 -0
  55. package/dist/components/Card/Card.js +30 -0
  56. package/dist/components/Card/Card.types.d.ts +16 -0
  57. package/dist/components/Carousel/Carousel.d.ts +3 -0
  58. package/dist/components/Carousel/Carousel.js +64 -0
  59. package/dist/components/Carousel/Carousel.types.d.ts +28 -0
  60. package/dist/components/Carousel/CarouselControl.d.ts +3 -0
  61. package/dist/components/Carousel/CarouselControl.js +42 -0
  62. package/dist/components/Checkbox/Checkbox.d.ts +3 -0
  63. package/dist/components/Checkbox/Checkbox.js +39 -0
  64. package/dist/components/Checkbox/Checkbox.types.d.ts +26 -0
  65. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +3 -0
  66. package/dist/components/CheckboxGroup/CheckboxGroup.js +10 -0
  67. package/dist/components/CheckboxGroup/CheckboxGroup.types.d.ts +28 -0
  68. package/dist/components/CheckboxGroup/CheckboxGroupControlled.d.ts +3 -0
  69. package/dist/components/CheckboxGroup/CheckboxGroupControlled.js +22 -0
  70. package/dist/components/CheckboxGroup/CheckboxGroupUncontrolled.d.ts +3 -0
  71. package/dist/components/CheckboxGroup/CheckboxGroupUncontrolled.js +17 -0
  72. package/dist/components/Container/Container.d.ts +3 -0
  73. package/dist/components/Container/Container.js +10 -0
  74. package/dist/components/Container/Container.types.d.ts +9 -0
  75. package/dist/components/Dismissible/Dismissible.d.ts +3 -0
  76. package/dist/components/Dismissible/Dismissible.js +12 -0
  77. package/dist/components/Dismissible/Dismissible.types.d.ts +20 -0
  78. package/dist/components/Divider/Divider.d.ts +3 -0
  79. package/dist/components/Divider/Divider.js +14 -0
  80. package/dist/components/DropdownMenu/DropdownMenu.d.ts +12 -0
  81. package/dist/components/DropdownMenu/DropdownMenu.js +90 -0
  82. package/dist/components/DropdownMenu/DropdownMenu.types.d.ts +16 -0
  83. package/dist/components/FileUpload/FileUpload.d.ts +6 -0
  84. package/dist/components/FileUpload/FileUpload.js +52 -0
  85. package/dist/components/FileUpload/FileUpload.types.d.ts +13 -0
  86. package/dist/components/FormControl/FormControl.d.ts +8 -0
  87. package/dist/components/FormControl/FormControl.js +66 -0
  88. package/dist/components/FormControl/FormControl.types.d.ts +33 -0
  89. package/dist/components/Hidden/Hidden.d.ts +3 -0
  90. package/dist/components/Hidden/Hidden.js +11 -0
  91. package/dist/components/Hidden/Hidden.types.d.ts +9 -0
  92. package/dist/components/HiddenVisually/HiddenVisually.d.ts +3 -0
  93. package/dist/components/HiddenVisually/HiddenVisually.js +7 -0
  94. package/dist/components/HiddenVisually/HiddenVisually.types.d.ts +4 -0
  95. package/dist/components/Hotkey/Hotkey.d.ts +3 -0
  96. package/dist/components/Hotkey/Hotkey.js +10 -0
  97. package/dist/components/Hotkey/Hotkey.types.d.ts +8 -0
  98. package/dist/components/Icon/Icon.d.ts +3 -0
  99. package/dist/components/Icon/Icon.js +18 -0
  100. package/dist/components/Icon/Icon.types.d.ts +10 -0
  101. package/dist/components/Image/Image.d.ts +3 -0
  102. package/dist/components/Image/Image.js +38 -0
  103. package/dist/components/Image/Image.types.d.ts +19 -0
  104. package/dist/components/Link/Link.js +12 -0
  105. package/dist/components/Loader/Loader.d.ts +3 -0
  106. package/dist/components/Loader/Loader.js +10 -0
  107. package/dist/components/MenuItem/MenuItem.js +18 -0
  108. package/dist/components/MenuItem/MenuItemAligner.d.ts +3 -0
  109. package/dist/components/MenuItem/MenuItemAligner.js +7 -0
  110. package/dist/components/Modal/Modal.d.ts +7 -0
  111. package/dist/components/Modal/Modal.js +163 -0
  112. package/dist/components/Modal/Modal.types.d.ts +26 -0
  113. package/dist/components/Overlay/Overlay.d.ts +3 -0
  114. package/dist/components/Overlay/Overlay.js +112 -0
  115. package/dist/components/Overlay/Overlay.types.d.ts +12 -0
  116. package/dist/components/Popover/Popover.d.ts +7 -0
  117. package/dist/components/Popover/Popover.js +19 -0
  118. package/dist/components/Popover/Popover.types.d.ts +7 -0
  119. package/dist/components/Progress/Progress.d.ts +3 -0
  120. package/dist/components/Progress/Progress.js +17 -0
  121. package/dist/components/Radio/Radio.d.ts +3 -0
  122. package/dist/components/Radio/Radio.js +30 -0
  123. package/dist/components/Radio/Radio.types.d.ts +25 -0
  124. package/dist/components/RadioGroup/RadioGroup.d.ts +3 -0
  125. package/dist/components/RadioGroup/RadioGroup.js +10 -0
  126. package/dist/components/RadioGroup/RadioGroup.types.d.ts +28 -0
  127. package/dist/components/RadioGroup/RadioGroupControlled.d.ts +3 -0
  128. package/dist/components/RadioGroup/RadioGroupControlled.js +14 -0
  129. package/dist/components/RadioGroup/RadioGroupUncontrolled.d.ts +3 -0
  130. package/dist/components/RadioGroup/RadioGroupUncontrolled.js +17 -0
  131. package/dist/components/Reshaped/Reshaped.d.ts +4 -0
  132. package/dist/components/Reshaped/Reshaped.js +22 -0
  133. package/dist/components/Scrim/Scrim.d.ts +3 -0
  134. package/dist/components/Scrim/Scrim.js +10 -0
  135. package/dist/components/Select/Select.d.ts +3 -0
  136. package/dist/components/Select/Select.js +49 -0
  137. package/dist/components/Skeleton/Skeleton.d.ts +3 -0
  138. package/dist/components/Skeleton/Skeleton.js +10 -0
  139. package/dist/components/Skeleton/Skeleton.types.d.ts +6 -0
  140. package/dist/components/Slider/Slider.d.ts +3 -0
  141. package/dist/components/Slider/Slider.js +26 -0
  142. package/dist/components/Slider/SliderControlled.d.ts +3 -0
  143. package/dist/components/Slider/SliderControlled.js +169 -0
  144. package/dist/components/Slider/SliderThumb.js +18 -0
  145. package/dist/components/Slider/SliderUncontrolled.d.ts +3 -0
  146. package/dist/components/Slider/SliderUncontrolled.js +33 -0
  147. package/dist/components/Stepper/Stepper.d.ts +6 -0
  148. package/dist/components/Stepper/Stepper.js +30 -0
  149. package/dist/components/Stepper/Stepper.types.d.ts +26 -0
  150. package/dist/components/Switch/Switch.d.ts +3 -0
  151. package/dist/components/Switch/Switch.js +27 -0
  152. package/dist/components/Table/Table.d.ts +10 -0
  153. package/dist/components/Table/Table.js +45 -0
  154. package/dist/components/Tabs/Tabs.d.ts +8 -0
  155. package/dist/components/Tabs/Tabs.js +16 -0
  156. package/dist/components/Tabs/Tabs.types.d.ts +61 -0
  157. package/dist/components/Tabs/TabsControlled.d.ts +3 -0
  158. package/dist/components/Tabs/TabsControlled.js +42 -0
  159. package/dist/components/Tabs/TabsItem.js +61 -0
  160. package/dist/components/Tabs/TabsList.d.ts +3 -0
  161. package/dist/components/Tabs/TabsList.js +153 -0
  162. package/dist/components/Tabs/TabsPanel.d.ts +3 -0
  163. package/dist/components/Tabs/TabsPanel.js +13 -0
  164. package/dist/components/Tabs/TabsUncontrolled.d.ts +3 -0
  165. package/dist/components/Tabs/TabsUncontrolled.js +19 -0
  166. package/dist/components/Text/Text.d.ts +3 -0
  167. package/dist/components/Text/Text.js +24 -0
  168. package/dist/components/Text/Text.types.d.ts +15 -0
  169. package/dist/components/TextArea/TextArea.d.ts +6 -0
  170. package/dist/components/TextArea/TextArea.js +26 -0
  171. package/dist/components/TextField/TextField.d.ts +6 -0
  172. package/dist/components/TextField/TextField.js +45 -0
  173. package/dist/components/TextField/TextField.types.d.ts +42 -0
  174. package/dist/components/Theme/GlobalColorMode.d.ts +3 -0
  175. package/dist/components/Theme/GlobalColorMode.js +43 -0
  176. package/dist/components/Theme/Theme.d.ts +3 -0
  177. package/dist/components/Theme/Theme.js +48 -0
  178. package/dist/components/Timeline/Timeline.d.ts +6 -0
  179. package/dist/components/Timeline/Timeline.js +20 -0
  180. package/dist/components/Timeline/Timeline.types.d.ts +13 -0
  181. package/dist/components/Toast/Toast.d.ts +5 -0
  182. package/dist/components/Toast/Toast.js +44 -0
  183. package/dist/components/Toast/Toast.types.d.ts +78 -0
  184. package/dist/components/Toast/ToastContainer.d.ts +3 -0
  185. package/dist/components/Toast/ToastContainer.js +96 -0
  186. package/dist/components/Toast/ToastProvider.d.ts +3 -0
  187. package/dist/components/Toast/ToastProvider.js +81 -0
  188. package/dist/components/Toast/ToastRegion.d.ts +3 -0
  189. package/dist/components/Toast/ToastRegion.js +64 -0
  190. package/dist/components/Tooltip/Tooltip.d.ts +3 -0
  191. package/dist/components/Tooltip/Tooltip.js +11 -0
  192. package/dist/components/View/View.d.ts +6 -0
  193. package/dist/components/View/View.js +143 -0
  194. package/dist/components/View/View.types.d.ts +66 -0
  195. package/dist/components/_private/Aligner/Aligner.d.ts +11 -0
  196. package/dist/components/_private/Aligner/Aligner.js +10 -0
  197. package/dist/components/_private/Expandable/Expandable.d.ts +3 -0
  198. package/dist/components/_private/Expandable/Expandable.js +44 -0
  199. package/dist/components/_private/Flyout/Flyout.d.ts +7 -0
  200. package/dist/components/_private/Flyout/Flyout.js +14 -0
  201. package/dist/components/_private/Flyout/FlyoutContent.d.ts +3 -0
  202. package/dist/components/_private/Flyout/FlyoutContent.js +44 -0
  203. package/dist/components/_private/Flyout/FlyoutControlled.d.ts +3 -0
  204. package/dist/components/_private/Flyout/FlyoutControlled.js +223 -0
  205. package/dist/components/_private/Flyout/FlyoutTrigger.d.ts +3 -0
  206. package/dist/components/_private/Flyout/FlyoutTrigger.js +38 -0
  207. package/dist/components/_private/Flyout/FlyoutUncontrolled.d.ts +3 -0
  208. package/dist/components/_private/Flyout/FlyoutUncontrolled.js +20 -0
  209. package/dist/components/_private/HiddenInput/HiddenInput.d.ts +3 -0
  210. package/dist/components/_private/HiddenInput/HiddenInput.js +9 -0
  211. package/dist/components/_private/Portal/Portal.d.ts +12 -0
  212. package/dist/components/_private/Portal/Portal.js +34 -0
  213. package/dist/hooks/_private/useSingletonHotkeys.d.ts +34 -0
  214. package/dist/hooks/_private/useSingletonHotkeys.js +203 -0
  215. package/dist/icons/ArrowUpRight.d.ts +2 -0
  216. package/dist/icons/ArrowUpRight.js +5 -0
  217. package/dist/icons/Checkmark.d.ts +2 -0
  218. package/dist/icons/Checkmark.js +5 -0
  219. package/dist/icons/ChevronDown.d.ts +2 -0
  220. package/dist/icons/ChevronDown.js +5 -0
  221. package/dist/icons/ChevronLeft.d.ts +2 -0
  222. package/dist/icons/ChevronLeft.js +5 -0
  223. package/dist/icons/ChevronRight.d.ts +2 -0
  224. package/dist/icons/ChevronRight.js +5 -0
  225. package/dist/icons/ChevronVertical.d.ts +2 -0
  226. package/dist/icons/ChevronVertical.js +3 -0
  227. package/dist/icons/Close.d.ts +2 -0
  228. package/dist/icons/Close.js +5 -0
  229. package/dist/icons/DotsHorizontal.d.ts +2 -0
  230. package/dist/icons/DotsHorizontal.js +3 -0
  231. package/dist/icons/Mic.d.ts +2 -0
  232. package/dist/icons/Mic.js +5 -0
  233. package/dist/icons/Zap.d.ts +2 -0
  234. package/dist/icons/Zap.js +5 -0
  235. package/dist/tests/themingWithDefinition.js +5 -0
  236. package/dist/tests/themingWithoutDefinition.js +5 -0
  237. package/dist/themes/_generator/utilities/tests/generateColors.test.d.ts +1 -0
  238. package/dist/types/global.js +1 -0
  239. package/dist/utilities/storybook/Example.d.ts +13 -0
  240. package/dist/utilities/storybook/Example.js +14 -0
  241. package/dist/utilities/storybook/Placeholder.d.ts +9 -0
  242. package/dist/utilities/storybook/Placeholder.js +17 -0
  243. package/package.json +61 -26
  244. package/components/Accordion/Accordion.d.ts +0 -8
  245. package/components/Accordion/Accordion.js +0 -14
  246. package/components/Accordion/Accordion.types.d.ts +0 -39
  247. package/components/Accordion/AccordionContent.d.ts +0 -4
  248. package/components/Accordion/AccordionContent.js +0 -9
  249. package/components/Accordion/AccordionControlled.d.ts +0 -4
  250. package/components/Accordion/AccordionControlled.js +0 -23
  251. package/components/Accordion/AccordionTrigger.d.ts +0 -4
  252. package/components/Accordion/AccordionTrigger.js +0 -26
  253. package/components/Accordion/AccordionUncontrolled.d.ts +0 -4
  254. package/components/Accordion/AccordionUncontrolled.js +0 -24
  255. package/components/ActionBar/ActionBar.d.ts +0 -4
  256. package/components/ActionBar/ActionBar.js +0 -10
  257. package/components/ActionBar/ActionBar.types.d.ts +0 -10
  258. package/components/Actionable/Actionable.js +0 -65
  259. package/components/Alert/Alert.d.ts +0 -4
  260. package/components/Alert/Alert.js +0 -31
  261. package/components/Alert/Alert.types.d.ts +0 -14
  262. package/components/Autocomplete/Autocomplete.d.ts +0 -7
  263. package/components/Autocomplete/Autocomplete.js +0 -75
  264. package/components/Avatar/Avatar.d.ts +0 -4
  265. package/components/Avatar/Avatar.js +0 -29
  266. package/components/Badge/Badge.d.ts +0 -7
  267. package/components/Badge/Badge.js +0 -24
  268. package/components/Badge/BadgeContainer.d.ts +0 -4
  269. package/components/Badge/BadgeContainer.js +0 -9
  270. package/components/Breadcrumbs/Breadcrumbs.d.ts +0 -4
  271. package/components/Breadcrumbs/Breadcrumbs.js +0 -45
  272. package/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -13
  273. package/components/Breadcrumbs/BreadcrumbsItem.d.ts +0 -4
  274. package/components/Breadcrumbs/BreadcrumbsItem.js +0 -11
  275. package/components/Breadcrumbs/index.d.ts +0 -8
  276. package/components/Button/Button.js +0 -39
  277. package/components/Button/ButtonAligner.d.ts +0 -4
  278. package/components/Button/ButtonAligner.js +0 -7
  279. package/components/Button/ButtonGroup.d.ts +0 -4
  280. package/components/Button/ButtonGroup.js +0 -9
  281. package/components/Calendar/Calendar.d.ts +0 -4
  282. package/components/Calendar/Calendar.js +0 -9
  283. package/components/Calendar/CalendarControlled.d.ts +0 -4
  284. package/components/Calendar/CalendarControlled.js +0 -72
  285. package/components/Calendar/CalendarControls.d.ts +0 -4
  286. package/components/Calendar/CalendarControls.js +0 -56
  287. package/components/Calendar/CalendarDate.d.ts +0 -4
  288. package/components/Calendar/CalendarDate.js +0 -58
  289. package/components/Calendar/CalendarMonth.d.ts +0 -4
  290. package/components/Calendar/CalendarMonth.js +0 -54
  291. package/components/Calendar/CalendarUncontrolled.d.ts +0 -4
  292. package/components/Calendar/CalendarUncontrolled.js +0 -29
  293. package/components/Calendar/CalendarYear.d.ts +0 -4
  294. package/components/Calendar/CalendarYear.js +0 -45
  295. package/components/Card/Card.js +0 -31
  296. package/components/Card/Card.types.d.ts +0 -16
  297. package/components/Carousel/Carousel.d.ts +0 -4
  298. package/components/Carousel/Carousel.js +0 -67
  299. package/components/Carousel/Carousel.types.d.ts +0 -28
  300. package/components/Carousel/CarouselControl.d.ts +0 -4
  301. package/components/Carousel/CarouselControl.js +0 -42
  302. package/components/Checkbox/Checkbox.d.ts +0 -4
  303. package/components/Checkbox/Checkbox.js +0 -43
  304. package/components/Checkbox/Checkbox.types.d.ts +0 -26
  305. package/components/CheckboxGroup/CheckboxGroup.d.ts +0 -4
  306. package/components/CheckboxGroup/CheckboxGroup.js +0 -10
  307. package/components/CheckboxGroup/CheckboxGroup.types.d.ts +0 -28
  308. package/components/CheckboxGroup/CheckboxGroupControlled.d.ts +0 -4
  309. package/components/CheckboxGroup/CheckboxGroupControlled.js +0 -22
  310. package/components/CheckboxGroup/CheckboxGroupUncontrolled.d.ts +0 -4
  311. package/components/CheckboxGroup/CheckboxGroupUncontrolled.js +0 -16
  312. package/components/Container/Container.d.ts +0 -4
  313. package/components/Container/Container.js +0 -10
  314. package/components/Container/Container.types.d.ts +0 -9
  315. package/components/Dismissible/Dismissible.d.ts +0 -4
  316. package/components/Dismissible/Dismissible.js +0 -15
  317. package/components/Dismissible/Dismissible.types.d.ts +0 -20
  318. package/components/Divider/Divider.d.ts +0 -4
  319. package/components/Divider/Divider.js +0 -14
  320. package/components/DropdownMenu/DropdownMenu.d.ts +0 -13
  321. package/components/DropdownMenu/DropdownMenu.js +0 -90
  322. package/components/DropdownMenu/DropdownMenu.types.d.ts +0 -16
  323. package/components/FileUpload/FileUpload.d.ts +0 -7
  324. package/components/FileUpload/FileUpload.js +0 -56
  325. package/components/FileUpload/FileUpload.types.d.ts +0 -13
  326. package/components/FormControl/FormControl.d.ts +0 -9
  327. package/components/FormControl/FormControl.js +0 -68
  328. package/components/FormControl/FormControl.types.d.ts +0 -33
  329. package/components/Hidden/Hidden.d.ts +0 -4
  330. package/components/Hidden/Hidden.js +0 -11
  331. package/components/Hidden/Hidden.types.d.ts +0 -9
  332. package/components/HiddenVisually/HiddenVisually.d.ts +0 -4
  333. package/components/HiddenVisually/HiddenVisually.js +0 -7
  334. package/components/HiddenVisually/HiddenVisually.types.d.ts +0 -4
  335. package/components/Hotkey/Hotkey.d.ts +0 -4
  336. package/components/Hotkey/Hotkey.js +0 -10
  337. package/components/Hotkey/Hotkey.types.d.ts +0 -8
  338. package/components/Icon/Icon.d.ts +0 -4
  339. package/components/Icon/Icon.js +0 -17
  340. package/components/Icon/Icon.types.d.ts +0 -10
  341. package/components/Image/Image.d.ts +0 -4
  342. package/components/Image/Image.js +0 -37
  343. package/components/Image/Image.types.d.ts +0 -19
  344. package/components/Link/Link.js +0 -13
  345. package/components/Loader/Loader.d.ts +0 -4
  346. package/components/Loader/Loader.js +0 -11
  347. package/components/MenuItem/MenuItem.js +0 -22
  348. package/components/MenuItem/MenuItemAligner.d.ts +0 -4
  349. package/components/MenuItem/MenuItemAligner.js +0 -7
  350. package/components/Modal/Modal.d.ts +0 -8
  351. package/components/Modal/Modal.js +0 -163
  352. package/components/Modal/Modal.types.d.ts +0 -26
  353. package/components/Overlay/Overlay.d.ts +0 -4
  354. package/components/Overlay/Overlay.js +0 -115
  355. package/components/Overlay/Overlay.types.d.ts +0 -12
  356. package/components/Popover/Popover.d.ts +0 -8
  357. package/components/Popover/Popover.js +0 -19
  358. package/components/Popover/Popover.types.d.ts +0 -7
  359. package/components/Progress/Progress.d.ts +0 -4
  360. package/components/Progress/Progress.js +0 -18
  361. package/components/Radio/Radio.d.ts +0 -4
  362. package/components/Radio/Radio.js +0 -34
  363. package/components/Radio/Radio.types.d.ts +0 -25
  364. package/components/RadioGroup/RadioGroup.d.ts +0 -4
  365. package/components/RadioGroup/RadioGroup.js +0 -10
  366. package/components/RadioGroup/RadioGroup.types.d.ts +0 -28
  367. package/components/RadioGroup/RadioGroupControlled.d.ts +0 -4
  368. package/components/RadioGroup/RadioGroupControlled.js +0 -14
  369. package/components/RadioGroup/RadioGroupUncontrolled.d.ts +0 -4
  370. package/components/RadioGroup/RadioGroupUncontrolled.js +0 -16
  371. package/components/Reshaped/Reshaped.d.ts +0 -5
  372. package/components/Reshaped/Reshaped.js +0 -26
  373. package/components/Scrim/Scrim.d.ts +0 -4
  374. package/components/Scrim/Scrim.js +0 -13
  375. package/components/Select/Select.d.ts +0 -4
  376. package/components/Select/Select.js +0 -59
  377. package/components/Skeleton/Skeleton.d.ts +0 -4
  378. package/components/Skeleton/Skeleton.js +0 -10
  379. package/components/Skeleton/Skeleton.types.d.ts +0 -6
  380. package/components/Slider/Slider.d.ts +0 -4
  381. package/components/Slider/Slider.js +0 -26
  382. package/components/Slider/SliderControlled.d.ts +0 -4
  383. package/components/Slider/SliderControlled.js +0 -172
  384. package/components/Slider/SliderThumb.js +0 -21
  385. package/components/Slider/SliderUncontrolled.d.ts +0 -4
  386. package/components/Slider/SliderUncontrolled.js +0 -32
  387. package/components/Stepper/Stepper.d.ts +0 -7
  388. package/components/Stepper/Stepper.js +0 -43
  389. package/components/Stepper/Stepper.types.d.ts +0 -26
  390. package/components/Switch/Switch.d.ts +0 -4
  391. package/components/Switch/Switch.js +0 -31
  392. package/components/Table/Table.d.ts +0 -11
  393. package/components/Table/Table.js +0 -45
  394. package/components/Tabs/Tabs.d.ts +0 -9
  395. package/components/Tabs/Tabs.js +0 -16
  396. package/components/Tabs/Tabs.types.d.ts +0 -61
  397. package/components/Tabs/TabsControlled.d.ts +0 -4
  398. package/components/Tabs/TabsControlled.js +0 -41
  399. package/components/Tabs/TabsItem.js +0 -65
  400. package/components/Tabs/TabsList.d.ts +0 -4
  401. package/components/Tabs/TabsList.js +0 -160
  402. package/components/Tabs/TabsPanel.d.ts +0 -4
  403. package/components/Tabs/TabsPanel.js +0 -13
  404. package/components/Tabs/TabsUncontrolled.d.ts +0 -4
  405. package/components/Tabs/TabsUncontrolled.js +0 -18
  406. package/components/Text/Text.d.ts +0 -4
  407. package/components/Text/Text.js +0 -24
  408. package/components/Text/Text.types.d.ts +0 -15
  409. package/components/TextArea/TextArea.d.ts +0 -7
  410. package/components/TextArea/TextArea.js +0 -27
  411. package/components/TextField/TextField.d.ts +0 -7
  412. package/components/TextField/TextField.js +0 -49
  413. package/components/TextField/TextField.types.d.ts +0 -42
  414. package/components/Theme/GlobalColorMode.d.ts +0 -4
  415. package/components/Theme/GlobalColorMode.js +0 -42
  416. package/components/Theme/Theme.d.ts +0 -4
  417. package/components/Theme/Theme.js +0 -48
  418. package/components/Timeline/Timeline.d.ts +0 -7
  419. package/components/Timeline/Timeline.js +0 -21
  420. package/components/Timeline/Timeline.types.d.ts +0 -13
  421. package/components/Toast/Toast.d.ts +0 -6
  422. package/components/Toast/Toast.js +0 -55
  423. package/components/Toast/Toast.types.d.ts +0 -78
  424. package/components/Toast/ToastContainer.d.ts +0 -4
  425. package/components/Toast/ToastContainer.js +0 -97
  426. package/components/Toast/ToastProvider.d.ts +0 -4
  427. package/components/Toast/ToastProvider.js +0 -82
  428. package/components/Toast/ToastRegion.d.ts +0 -4
  429. package/components/Toast/ToastRegion.js +0 -63
  430. package/components/Tooltip/Tooltip.d.ts +0 -4
  431. package/components/Tooltip/Tooltip.js +0 -15
  432. package/components/View/View.d.ts +0 -7
  433. package/components/View/View.js +0 -142
  434. package/components/View/View.types.d.ts +0 -66
  435. package/components/_private/Aligner/Aligner.d.ts +0 -12
  436. package/components/_private/Aligner/Aligner.js +0 -18
  437. package/components/_private/Expandable/Expandable.d.ts +0 -4
  438. package/components/_private/Expandable/Expandable.js +0 -43
  439. package/components/_private/Flyout/Flyout.d.ts +0 -8
  440. package/components/_private/Flyout/Flyout.js +0 -14
  441. package/components/_private/Flyout/FlyoutContent.d.ts +0 -4
  442. package/components/_private/Flyout/FlyoutContent.js +0 -44
  443. package/components/_private/Flyout/FlyoutControlled.d.ts +0 -4
  444. package/components/_private/Flyout/FlyoutControlled.js +0 -222
  445. package/components/_private/Flyout/FlyoutTrigger.d.ts +0 -4
  446. package/components/_private/Flyout/FlyoutTrigger.js +0 -38
  447. package/components/_private/Flyout/FlyoutUncontrolled.d.ts +0 -4
  448. package/components/_private/Flyout/FlyoutUncontrolled.js +0 -19
  449. package/components/_private/HiddenInput/HiddenInput.d.ts +0 -4
  450. package/components/_private/HiddenInput/HiddenInput.js +0 -9
  451. package/components/_private/Portal/Portal.d.ts +0 -13
  452. package/components/_private/Portal/Portal.js +0 -33
  453. package/hooks/_private/useSingletonHotkeys.d.ts +0 -34
  454. package/hooks/_private/useSingletonHotkeys.js +0 -202
  455. package/icons/ArrowUpRight.d.ts +0 -3
  456. package/icons/ArrowUpRight.js +0 -7
  457. package/icons/Checkmark.d.ts +0 -3
  458. package/icons/Checkmark.js +0 -6
  459. package/icons/ChevronDown.d.ts +0 -3
  460. package/icons/ChevronDown.js +0 -6
  461. package/icons/ChevronLeft.d.ts +0 -3
  462. package/icons/ChevronLeft.js +0 -6
  463. package/icons/ChevronRight.d.ts +0 -3
  464. package/icons/ChevronRight.js +0 -6
  465. package/icons/ChevronVertical.d.ts +0 -3
  466. package/icons/ChevronVertical.js +0 -5
  467. package/icons/Close.d.ts +0 -3
  468. package/icons/Close.js +0 -7
  469. package/icons/DotsHorizontal.d.ts +0 -3
  470. package/icons/DotsHorizontal.js +0 -6
  471. package/icons/Mic.d.ts +0 -3
  472. package/icons/Mic.js +0 -9
  473. package/icons/Zap.d.ts +0 -3
  474. package/icons/Zap.js +0 -6
  475. package/utilities/storybook/Example.d.ts +0 -13
  476. package/utilities/storybook/Example.js +0 -18
  477. package/utilities/storybook/Placeholder.d.ts +0 -9
  478. package/utilities/storybook/Placeholder.js +0 -17
  479. /package/{bundle.css → dist/bundle.css} +0 -0
  480. /package/{bundle.d.ts → dist/bundle.d.ts} +0 -0
  481. /package/{bundle.js → dist/bundle.js} +0 -0
  482. /package/{cli → dist/cli}/theming/index.d.ts +0 -0
  483. /package/{cli → dist/cli}/theming/index.js +0 -0
  484. /package/{cli → dist/cli}/theming/reshaped.config.d.ts +0 -0
  485. /package/{cli → dist/cli}/theming/reshaped.config.js +0 -0
  486. /package/{components → dist/components}/Accordion/Accordion.context.d.ts +0 -0
  487. /package/{components → dist/components}/Accordion/Accordion.context.js +0 -0
  488. /package/{components → dist/components}/Accordion/Accordion.module.css +0 -0
  489. /package/{components → dist/components}/Accordion/Accordion.types.js +0 -0
  490. /package/{components → dist/components}/Accordion/index.d.ts +0 -0
  491. /package/{components → dist/components}/Accordion/index.js +0 -0
  492. /package/{components → dist/components}/Accordion/tests/Accordion.stories.d.ts +0 -0
  493. /package/{components → dist/components}/Accordion/tests/Accordion.stories.js +0 -0
  494. /package/{components → dist/components}/ActionBar/ActionBar.module.css +0 -0
  495. /package/{components → dist/components}/ActionBar/ActionBar.types.js +0 -0
  496. /package/{components → dist/components}/ActionBar/index.d.ts +0 -0
  497. /package/{components → dist/components}/ActionBar/index.js +0 -0
  498. /package/{components → dist/components}/ActionBar/tests/ActionBar.stories.d.ts +0 -0
  499. /package/{components → dist/components}/ActionBar/tests/ActionBar.stories.js +0 -0
  500. /package/{components → dist/components}/Actionable/Actionable.d.ts +0 -0
  501. /package/{components → dist/components}/Actionable/Actionable.module.css +0 -0
  502. /package/{components → dist/components}/Actionable/Actionable.types.d.ts +0 -0
  503. /package/{components → dist/components}/Actionable/Actionable.types.js +0 -0
  504. /package/{components → dist/components}/Actionable/index.d.ts +0 -0
  505. /package/{components → dist/components}/Actionable/index.js +0 -0
  506. /package/{components → dist/components}/Actionable/tests/Actionable.stories.d.ts +0 -0
  507. /package/{components → dist/components}/Actionable/tests/Actionable.stories.js +0 -0
  508. /package/{components → dist/components}/Alert/Alert.types.js +0 -0
  509. /package/{components → dist/components}/Alert/index.d.ts +0 -0
  510. /package/{components → dist/components}/Alert/index.js +0 -0
  511. /package/{components → dist/components}/Alert/tests/Alert.stories.d.ts +0 -0
  512. /package/{components → dist/components}/Alert/tests/Alert.stories.js +0 -0
  513. /package/{components → dist/components}/Autocomplete/Autocomplete.types.d.ts +0 -0
  514. /package/{components → dist/components}/Autocomplete/Autocomplete.types.js +0 -0
  515. /package/{components → dist/components}/Autocomplete/index.d.ts +0 -0
  516. /package/{components → dist/components}/Autocomplete/index.js +0 -0
  517. /package/{components → dist/components}/Autocomplete/tests/Autocomplete.stories.d.ts +0 -0
  518. /package/{components → dist/components}/Autocomplete/tests/Autocomplete.stories.js +0 -0
  519. /package/{components → dist/components}/Avatar/Avatar.module.css +0 -0
  520. /package/{components → dist/components}/Avatar/Avatar.types.d.ts +0 -0
  521. /package/{components → dist/components}/Avatar/Avatar.types.js +0 -0
  522. /package/{components → dist/components}/Avatar/index.d.ts +0 -0
  523. /package/{components → dist/components}/Avatar/index.js +0 -0
  524. /package/{components → dist/components}/Avatar/tests/Avatar.stories.d.ts +0 -0
  525. /package/{components → dist/components}/Avatar/tests/Avatar.stories.js +0 -0
  526. /package/{components → dist/components}/Badge/Badge.module.css +0 -0
  527. /package/{components → dist/components}/Badge/Badge.types.d.ts +0 -0
  528. /package/{components → dist/components}/Badge/Badge.types.js +0 -0
  529. /package/{components → dist/components}/Badge/index.d.ts +0 -0
  530. /package/{components → dist/components}/Badge/index.js +0 -0
  531. /package/{components → dist/components}/Badge/tests/Badge.stories.d.ts +0 -0
  532. /package/{components → dist/components}/Badge/tests/Badge.stories.js +0 -0
  533. /package/{components → dist/components}/Breadcrumbs/Breadcrumbs.types.js +0 -0
  534. /package/{components → dist/components}/Breadcrumbs/index.js +0 -0
  535. /package/{components → dist/components}/Breadcrumbs/tests/Breadcrumbs.stories.d.ts +0 -0
  536. /package/{components → dist/components}/Breadcrumbs/tests/Breadcrumbs.stories.js +0 -0
  537. /package/{components → dist/components}/Button/Button.d.ts +0 -0
  538. /package/{components → dist/components}/Button/Button.module.css +0 -0
  539. /package/{components → dist/components}/Button/Button.types.d.ts +0 -0
  540. /package/{components → dist/components}/Button/Button.types.js +0 -0
  541. /package/{components → dist/components}/Button/index.d.ts +0 -0
  542. /package/{components → dist/components}/Button/index.js +0 -0
  543. /package/{components → dist/components}/Button/tests/Button.stories.d.ts +0 -0
  544. /package/{components → dist/components}/Button/tests/Button.stories.js +0 -0
  545. /package/{components → dist/components}/Calendar/Calendar.module.css +0 -0
  546. /package/{components → dist/components}/Calendar/Calendar.types.d.ts +0 -0
  547. /package/{components → dist/components}/Calendar/Calendar.types.js +0 -0
  548. /package/{components → dist/components}/Calendar/Calendar.utils.d.ts +0 -0
  549. /package/{components → dist/components}/Calendar/Calendar.utils.js +0 -0
  550. /package/{components → dist/components}/Calendar/index.d.ts +0 -0
  551. /package/{components → dist/components}/Calendar/index.js +0 -0
  552. /package/{components → dist/components}/Calendar/tests/Calendar.stories.d.ts +0 -0
  553. /package/{components → dist/components}/Calendar/tests/Calendar.stories.js +0 -0
  554. /package/{components → dist/components}/Calendar/useCalendarKeyboardNavigation.d.ts +0 -0
  555. /package/{components → dist/components}/Calendar/useCalendarKeyboardNavigation.js +0 -0
  556. /package/{components → dist/components}/Card/Card.d.ts +0 -0
  557. /package/{components → dist/components}/Card/Card.module.css +0 -0
  558. /package/{components → dist/components}/Card/Card.types.js +0 -0
  559. /package/{components → dist/components}/Card/index.d.ts +0 -0
  560. /package/{components → dist/components}/Card/index.js +0 -0
  561. /package/{components → dist/components}/Card/tests/Card.stories.d.ts +0 -0
  562. /package/{components → dist/components}/Card/tests/Card.stories.js +0 -0
  563. /package/{components → dist/components}/Carousel/Carousel.module.css +0 -0
  564. /package/{components → dist/components}/Carousel/Carousel.types.js +0 -0
  565. /package/{components → dist/components}/Carousel/index.d.ts +0 -0
  566. /package/{components → dist/components}/Carousel/index.js +0 -0
  567. /package/{components → dist/components}/Carousel/tests/Carousel.stories.d.ts +0 -0
  568. /package/{components → dist/components}/Carousel/tests/Carousel.stories.js +0 -0
  569. /package/{components → dist/components}/Checkbox/Checkbox.module.css +0 -0
  570. /package/{components → dist/components}/Checkbox/Checkbox.types.js +0 -0
  571. /package/{components → dist/components}/Checkbox/index.d.ts +0 -0
  572. /package/{components → dist/components}/Checkbox/index.js +0 -0
  573. /package/{components → dist/components}/Checkbox/tests/Checkbox.stories.d.ts +0 -0
  574. /package/{components → dist/components}/Checkbox/tests/Checkbox.stories.js +0 -0
  575. /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.context.d.ts +0 -0
  576. /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.context.js +0 -0
  577. /package/{components → dist/components}/CheckboxGroup/CheckboxGroup.types.js +0 -0
  578. /package/{components → dist/components}/CheckboxGroup/index.d.ts +0 -0
  579. /package/{components → dist/components}/CheckboxGroup/index.js +0 -0
  580. /package/{components → dist/components}/CheckboxGroup/tests/CheckboxGroup.stories.d.ts +0 -0
  581. /package/{components → dist/components}/CheckboxGroup/tests/CheckboxGroup.stories.js +0 -0
  582. /package/{components → dist/components}/Container/Container.module.css +0 -0
  583. /package/{components → dist/components}/Container/Container.types.js +0 -0
  584. /package/{components → dist/components}/Container/index.d.ts +0 -0
  585. /package/{components → dist/components}/Container/index.js +0 -0
  586. /package/{components → dist/components}/Container/tests/Container.stories.d.ts +0 -0
  587. /package/{components → dist/components}/Container/tests/Container.stories.js +0 -0
  588. /package/{components → dist/components}/Dismissible/Dismissible.module.css +0 -0
  589. /package/{components → dist/components}/Dismissible/Dismissible.types.js +0 -0
  590. /package/{components → dist/components}/Dismissible/index.d.ts +0 -0
  591. /package/{components → dist/components}/Dismissible/index.js +0 -0
  592. /package/{components → dist/components}/Dismissible/tests/Dismissible.stories.d.ts +0 -0
  593. /package/{components → dist/components}/Dismissible/tests/Dismissible.stories.js +0 -0
  594. /package/{components → dist/components}/Divider/Divider.module.css +0 -0
  595. /package/{components → dist/components}/Divider/Divider.types.d.ts +0 -0
  596. /package/{components → dist/components}/Divider/Divider.types.js +0 -0
  597. /package/{components → dist/components}/Divider/index.d.ts +0 -0
  598. /package/{components → dist/components}/Divider/index.js +0 -0
  599. /package/{components → dist/components}/Divider/tests/Divider.stories.d.ts +0 -0
  600. /package/{components → dist/components}/Divider/tests/Divider.stories.js +0 -0
  601. /package/{components → dist/components}/DropdownMenu/DropdownMenu.module.css +0 -0
  602. /package/{components → dist/components}/DropdownMenu/DropdownMenu.types.js +0 -0
  603. /package/{components → dist/components}/DropdownMenu/index.d.ts +0 -0
  604. /package/{components → dist/components}/DropdownMenu/index.js +0 -0
  605. /package/{components → dist/components}/DropdownMenu/tests/DropdownMenu.stories.d.ts +0 -0
  606. /package/{components → dist/components}/DropdownMenu/tests/DropdownMenu.stories.js +0 -0
  607. /package/{components → dist/components}/FileUpload/FileUpload.module.css +0 -0
  608. /package/{components → dist/components}/FileUpload/FileUpload.types.js +0 -0
  609. /package/{components → dist/components}/FileUpload/index.d.ts +0 -0
  610. /package/{components → dist/components}/FileUpload/index.js +0 -0
  611. /package/{components → dist/components}/FileUpload/tests/FileUpload.stories.d.ts +0 -0
  612. /package/{components → dist/components}/FileUpload/tests/FileUpload.stories.js +0 -0
  613. /package/{components → dist/components}/FormControl/FormControl.context.d.ts +0 -0
  614. /package/{components → dist/components}/FormControl/FormControl.context.js +0 -0
  615. /package/{components → dist/components}/FormControl/FormControl.module.css +0 -0
  616. /package/{components → dist/components}/FormControl/FormControl.types.js +0 -0
  617. /package/{components → dist/components}/FormControl/index.d.ts +0 -0
  618. /package/{components → dist/components}/FormControl/index.js +0 -0
  619. /package/{components → dist/components}/FormControl/tests/FormControl.stories.d.ts +0 -0
  620. /package/{components → dist/components}/FormControl/tests/FormControl.stories.js +0 -0
  621. /package/{components → dist/components}/Hidden/Hidden.module.css +0 -0
  622. /package/{components → dist/components}/Hidden/Hidden.types.js +0 -0
  623. /package/{components → dist/components}/Hidden/index.d.ts +0 -0
  624. /package/{components → dist/components}/Hidden/index.js +0 -0
  625. /package/{components → dist/components}/Hidden/tests/Hidden.stories.d.ts +0 -0
  626. /package/{components → dist/components}/Hidden/tests/Hidden.stories.js +0 -0
  627. /package/{components → dist/components}/HiddenVisually/HiddenVisually.module.css +0 -0
  628. /package/{components → dist/components}/HiddenVisually/HiddenVisually.types.js +0 -0
  629. /package/{components → dist/components}/HiddenVisually/index.d.ts +0 -0
  630. /package/{components → dist/components}/HiddenVisually/index.js +0 -0
  631. /package/{components → dist/components}/HiddenVisually/tests/HiddenVisually.stories.d.ts +0 -0
  632. /package/{components → dist/components}/HiddenVisually/tests/HiddenVisually.stories.js +0 -0
  633. /package/{components → dist/components}/Hotkey/Hotkey.module.css +0 -0
  634. /package/{components → dist/components}/Hotkey/Hotkey.types.js +0 -0
  635. /package/{components → dist/components}/Hotkey/index.d.ts +0 -0
  636. /package/{components → dist/components}/Hotkey/index.js +0 -0
  637. /package/{components → dist/components}/Hotkey/tests/Hotkey.stories.d.ts +0 -0
  638. /package/{components → dist/components}/Hotkey/tests/Hotkey.stories.js +0 -0
  639. /package/{components → dist/components}/Icon/Icon.module.css +0 -0
  640. /package/{components → dist/components}/Icon/Icon.types.js +0 -0
  641. /package/{components → dist/components}/Icon/index.d.ts +0 -0
  642. /package/{components → dist/components}/Icon/index.js +0 -0
  643. /package/{components → dist/components}/Icon/tests/Icon.stories.d.ts +0 -0
  644. /package/{components → dist/components}/Icon/tests/Icon.stories.js +0 -0
  645. /package/{components → dist/components}/Image/Image.module.css +0 -0
  646. /package/{components → dist/components}/Image/Image.types.js +0 -0
  647. /package/{components → dist/components}/Image/index.d.ts +0 -0
  648. /package/{components → dist/components}/Image/index.js +0 -0
  649. /package/{components → dist/components}/Image/tests/Image.stories.d.ts +0 -0
  650. /package/{components → dist/components}/Image/tests/Image.stories.js +0 -0
  651. /package/{components → dist/components}/Link/Link.d.ts +0 -0
  652. /package/{components → dist/components}/Link/Link.module.css +0 -0
  653. /package/{components → dist/components}/Link/Link.types.d.ts +0 -0
  654. /package/{components → dist/components}/Link/Link.types.js +0 -0
  655. /package/{components → dist/components}/Link/index.d.ts +0 -0
  656. /package/{components → dist/components}/Link/index.js +0 -0
  657. /package/{components → dist/components}/Link/tests/Link.stories.d.ts +0 -0
  658. /package/{components → dist/components}/Link/tests/Link.stories.js +0 -0
  659. /package/{components → dist/components}/Loader/Loader.module.css +0 -0
  660. /package/{components → dist/components}/Loader/Loader.types.d.ts +0 -0
  661. /package/{components → dist/components}/Loader/Loader.types.js +0 -0
  662. /package/{components → dist/components}/Loader/index.d.ts +0 -0
  663. /package/{components → dist/components}/Loader/index.js +0 -0
  664. /package/{components → dist/components}/Loader/tests/Loader.stories.d.ts +0 -0
  665. /package/{components → dist/components}/Loader/tests/Loader.stories.js +0 -0
  666. /package/{components → dist/components}/MenuItem/MenuItem.d.ts +0 -0
  667. /package/{components → dist/components}/MenuItem/MenuItem.module.css +0 -0
  668. /package/{components → dist/components}/MenuItem/MenuItem.types.d.ts +0 -0
  669. /package/{components → dist/components}/MenuItem/MenuItem.types.js +0 -0
  670. /package/{components → dist/components}/MenuItem/index.d.ts +0 -0
  671. /package/{components → dist/components}/MenuItem/index.js +0 -0
  672. /package/{components → dist/components}/MenuItem/tests/MenuItem.stories.d.ts +0 -0
  673. /package/{components → dist/components}/MenuItem/tests/MenuItem.stories.js +0 -0
  674. /package/{components → dist/components}/Modal/Modal.module.css +0 -0
  675. /package/{components → dist/components}/Modal/Modal.types.js +0 -0
  676. /package/{components → dist/components}/Modal/index.d.ts +0 -0
  677. /package/{components → dist/components}/Modal/index.js +0 -0
  678. /package/{components → dist/components}/Modal/tests/Modal.stories.d.ts +0 -0
  679. /package/{components → dist/components}/Modal/tests/Modal.stories.js +0 -0
  680. /package/{components → dist/components}/Overlay/Overlay.module.css +0 -0
  681. /package/{components → dist/components}/Overlay/Overlay.types.js +0 -0
  682. /package/{components → dist/components}/Overlay/index.d.ts +0 -0
  683. /package/{components → dist/components}/Overlay/index.js +0 -0
  684. /package/{components → dist/components}/Overlay/tests/Overlay.stories.d.ts +0 -0
  685. /package/{components → dist/components}/Overlay/tests/Overlay.stories.js +0 -0
  686. /package/{components → dist/components}/Popover/Popover.module.css +0 -0
  687. /package/{components → dist/components}/Popover/Popover.types.js +0 -0
  688. /package/{components → dist/components}/Popover/index.d.ts +0 -0
  689. /package/{components → dist/components}/Popover/index.js +0 -0
  690. /package/{components → dist/components}/Popover/tests/Popover.stories.d.ts +0 -0
  691. /package/{components → dist/components}/Popover/tests/Popover.stories.js +0 -0
  692. /package/{components → dist/components}/Progress/Progress.module.css +0 -0
  693. /package/{components → dist/components}/Progress/Progress.types.d.ts +0 -0
  694. /package/{components → dist/components}/Progress/Progress.types.js +0 -0
  695. /package/{components → dist/components}/Progress/index.d.ts +0 -0
  696. /package/{components → dist/components}/Progress/index.js +0 -0
  697. /package/{components → dist/components}/Progress/tests/Progress.stories.d.ts +0 -0
  698. /package/{components → dist/components}/Progress/tests/Progress.stories.js +0 -0
  699. /package/{components → dist/components}/Radio/Radio.module.css +0 -0
  700. /package/{components → dist/components}/Radio/Radio.types.js +0 -0
  701. /package/{components → dist/components}/Radio/index.d.ts +0 -0
  702. /package/{components → dist/components}/Radio/index.js +0 -0
  703. /package/{components → dist/components}/Radio/tests/Radio.stories.d.ts +0 -0
  704. /package/{components → dist/components}/Radio/tests/Radio.stories.js +0 -0
  705. /package/{components → dist/components}/RadioGroup/RadioGroup.context.d.ts +0 -0
  706. /package/{components → dist/components}/RadioGroup/RadioGroup.context.js +0 -0
  707. /package/{components → dist/components}/RadioGroup/RadioGroup.types.js +0 -0
  708. /package/{components → dist/components}/RadioGroup/index.d.ts +0 -0
  709. /package/{components → dist/components}/RadioGroup/index.js +0 -0
  710. /package/{components → dist/components}/RadioGroup/tests/RadioGroup.stories.d.ts +0 -0
  711. /package/{components → dist/components}/RadioGroup/tests/RadioGroup.stories.js +0 -0
  712. /package/{components → dist/components}/Reshaped/Reshaped.css +0 -0
  713. /package/{components → dist/components}/Reshaped/Reshaped.module.css +0 -0
  714. /package/{components → dist/components}/Reshaped/Reshaped.types.d.ts +0 -0
  715. /package/{components → dist/components}/Reshaped/Reshaped.types.js +0 -0
  716. /package/{components → dist/components}/Reshaped/index.d.ts +0 -0
  717. /package/{components → dist/components}/Reshaped/index.js +0 -0
  718. /package/{components → dist/components}/Scrim/Scrim.module.css +0 -0
  719. /package/{components → dist/components}/Scrim/Scrim.types.d.ts +0 -0
  720. /package/{components → dist/components}/Scrim/Scrim.types.js +0 -0
  721. /package/{components → dist/components}/Scrim/index.d.ts +0 -0
  722. /package/{components → dist/components}/Scrim/index.js +0 -0
  723. /package/{components → dist/components}/Scrim/tests/Scrim.stories.d.ts +0 -0
  724. /package/{components → dist/components}/Scrim/tests/Scrim.stories.js +0 -0
  725. /package/{components → dist/components}/Select/Select.module.css +0 -0
  726. /package/{components → dist/components}/Select/Select.types.d.ts +0 -0
  727. /package/{components → dist/components}/Select/Select.types.js +0 -0
  728. /package/{components → dist/components}/Select/index.d.ts +0 -0
  729. /package/{components → dist/components}/Select/index.js +0 -0
  730. /package/{components → dist/components}/Select/tests/Select.stories.d.ts +0 -0
  731. /package/{components → dist/components}/Select/tests/Select.stories.js +0 -0
  732. /package/{components → dist/components}/Skeleton/Skeleton.module.css +0 -0
  733. /package/{components → dist/components}/Skeleton/Skeleton.types.js +0 -0
  734. /package/{components → dist/components}/Skeleton/index.d.ts +0 -0
  735. /package/{components → dist/components}/Skeleton/index.js +0 -0
  736. /package/{components → dist/components}/Skeleton/tests/Skeleton.stories.d.ts +0 -0
  737. /package/{components → dist/components}/Skeleton/tests/Skeleton.stories.js +0 -0
  738. /package/{components → dist/components}/Slider/Slider.module.css +0 -0
  739. /package/{components → dist/components}/Slider/Slider.types.d.ts +0 -0
  740. /package/{components → dist/components}/Slider/Slider.types.js +0 -0
  741. /package/{components → dist/components}/Slider/SliderThumb.d.ts +0 -0
  742. /package/{components → dist/components}/Slider/index.d.ts +0 -0
  743. /package/{components → dist/components}/Slider/index.js +0 -0
  744. /package/{components → dist/components}/Slider/tests/Slider.stories.d.ts +0 -0
  745. /package/{components → dist/components}/Slider/tests/Slider.stories.js +0 -0
  746. /package/{components → dist/components}/Stepper/Stepper.module.css +0 -0
  747. /package/{components → dist/components}/Stepper/Stepper.types.js +0 -0
  748. /package/{components → dist/components}/Stepper/index.d.ts +0 -0
  749. /package/{components → dist/components}/Stepper/index.js +0 -0
  750. /package/{components → dist/components}/Stepper/tests/Stepper.stories.d.ts +0 -0
  751. /package/{components → dist/components}/Stepper/tests/Stepper.stories.js +0 -0
  752. /package/{components → dist/components}/Switch/Switch.module.css +0 -0
  753. /package/{components → dist/components}/Switch/Switch.types.d.ts +0 -0
  754. /package/{components → dist/components}/Switch/Switch.types.js +0 -0
  755. /package/{components → dist/components}/Switch/index.d.ts +0 -0
  756. /package/{components → dist/components}/Switch/index.js +0 -0
  757. /package/{components → dist/components}/Switch/tests/Switch.stories.d.ts +0 -0
  758. /package/{components → dist/components}/Switch/tests/Switch.stories.js +0 -0
  759. /package/{components → dist/components}/Table/Table.module.css +0 -0
  760. /package/{components → dist/components}/Table/Table.types.d.ts +0 -0
  761. /package/{components → dist/components}/Table/Table.types.js +0 -0
  762. /package/{components → dist/components}/Table/index.d.ts +0 -0
  763. /package/{components → dist/components}/Table/index.js +0 -0
  764. /package/{components → dist/components}/Table/tests/Table.stories.d.ts +0 -0
  765. /package/{components → dist/components}/Table/tests/Table.stories.js +0 -0
  766. /package/{components → dist/components}/Tabs/Tabs.module.css +0 -0
  767. /package/{components → dist/components}/Tabs/Tabs.types.js +0 -0
  768. /package/{components → dist/components}/Tabs/TabsContext.d.ts +0 -0
  769. /package/{components → dist/components}/Tabs/TabsContext.js +0 -0
  770. /package/{components → dist/components}/Tabs/TabsItem.d.ts +0 -0
  771. /package/{components → dist/components}/Tabs/index.d.ts +0 -0
  772. /package/{components → dist/components}/Tabs/index.js +0 -0
  773. /package/{components → dist/components}/Tabs/tests/Tabs.stories.d.ts +0 -0
  774. /package/{components → dist/components}/Tabs/tests/Tabs.stories.js +0 -0
  775. /package/{components → dist/components}/Text/Text.module.css +0 -0
  776. /package/{components → dist/components}/Text/Text.types.js +0 -0
  777. /package/{components → dist/components}/Text/index.d.ts +0 -0
  778. /package/{components → dist/components}/Text/index.js +0 -0
  779. /package/{components → dist/components}/Text/tests/Text.stories.d.ts +0 -0
  780. /package/{components → dist/components}/Text/tests/Text.stories.js +0 -0
  781. /package/{components → dist/components}/TextArea/TextArea.module.css +0 -0
  782. /package/{components → dist/components}/TextArea/TextArea.types.d.ts +0 -0
  783. /package/{components → dist/components}/TextArea/TextArea.types.js +0 -0
  784. /package/{components → dist/components}/TextArea/index.d.ts +0 -0
  785. /package/{components → dist/components}/TextArea/index.js +0 -0
  786. /package/{components → dist/components}/TextArea/tests/TextArea.stories.d.ts +0 -0
  787. /package/{components → dist/components}/TextArea/tests/TextArea.stories.js +0 -0
  788. /package/{components → dist/components}/TextField/TextField.module.css +0 -0
  789. /package/{components → dist/components}/TextField/TextField.types.js +0 -0
  790. /package/{components → dist/components}/TextField/index.d.ts +0 -0
  791. /package/{components → dist/components}/TextField/index.js +0 -0
  792. /package/{components → dist/components}/TextField/tests/TextField.stories.d.ts +0 -0
  793. /package/{components → dist/components}/TextField/tests/TextField.stories.js +0 -0
  794. /package/{components → dist/components}/Theme/Theme.context.d.ts +0 -0
  795. /package/{components → dist/components}/Theme/Theme.context.js +0 -0
  796. /package/{components → dist/components}/Theme/Theme.module.css +0 -0
  797. /package/{components → dist/components}/Theme/Theme.types.d.ts +0 -0
  798. /package/{components → dist/components}/Theme/Theme.types.js +0 -0
  799. /package/{components → dist/components}/Theme/index.d.ts +0 -0
  800. /package/{components → dist/components}/Theme/index.js +0 -0
  801. /package/{components → dist/components}/Theme/tests/Theme.stories.d.ts +0 -0
  802. /package/{components → dist/components}/Theme/tests/Theme.stories.js +0 -0
  803. /package/{components → dist/components}/Theme/useTheme.d.ts +0 -0
  804. /package/{components → dist/components}/Theme/useTheme.js +0 -0
  805. /package/{components → dist/components}/Timeline/Timeline.module.css +0 -0
  806. /package/{components → dist/components}/Timeline/Timeline.types.js +0 -0
  807. /package/{components → dist/components}/Timeline/index.d.ts +0 -0
  808. /package/{components → dist/components}/Timeline/index.js +0 -0
  809. /package/{components → dist/components}/Timeline/tests/Timeline.stories.d.ts +0 -0
  810. /package/{components → dist/components}/Timeline/tests/Timeline.stories.js +0 -0
  811. /package/{components → dist/components}/Toast/Toast.constants.d.ts +0 -0
  812. /package/{components → dist/components}/Toast/Toast.constants.js +0 -0
  813. /package/{components → dist/components}/Toast/Toast.context.d.ts +0 -0
  814. /package/{components → dist/components}/Toast/Toast.context.js +0 -0
  815. /package/{components → dist/components}/Toast/Toast.module.css +0 -0
  816. /package/{components → dist/components}/Toast/Toast.types.js +0 -0
  817. /package/{components → dist/components}/Toast/index.d.ts +0 -0
  818. /package/{components → dist/components}/Toast/index.js +0 -0
  819. /package/{components → dist/components}/Toast/tests/Toast.stories.d.ts +0 -0
  820. /package/{components → dist/components}/Toast/tests/Toast.stories.js +0 -0
  821. /package/{components → dist/components}/Toast/useToast.d.ts +0 -0
  822. /package/{components → dist/components}/Toast/useToast.js +0 -0
  823. /package/{components → dist/components}/Tooltip/Tooltip.module.css +0 -0
  824. /package/{components → dist/components}/Tooltip/Tooltip.types.d.ts +0 -0
  825. /package/{components → dist/components}/Tooltip/Tooltip.types.js +0 -0
  826. /package/{components → dist/components}/Tooltip/index.d.ts +0 -0
  827. /package/{components → dist/components}/Tooltip/index.js +0 -0
  828. /package/{components → dist/components}/Tooltip/tests/Tooltip.stories.d.ts +0 -0
  829. /package/{components → dist/components}/Tooltip/tests/Tooltip.stories.js +0 -0
  830. /package/{components → dist/components}/View/View.module.css +0 -0
  831. /package/{components → dist/components}/View/View.types.js +0 -0
  832. /package/{components → dist/components}/View/index.d.ts +0 -0
  833. /package/{components → dist/components}/View/index.js +0 -0
  834. /package/{components → dist/components}/View/tests/View.stories.d.ts +0 -0
  835. /package/{components → dist/components}/View/tests/View.stories.js +0 -0
  836. /package/{components → dist/components}/_private/Aligner/Aligner.module.css +0 -0
  837. /package/{components → dist/components}/_private/Aligner/Aligner.types.d.ts +0 -0
  838. /package/{components → dist/components}/_private/Aligner/Aligner.types.js +0 -0
  839. /package/{components → dist/components}/_private/Aligner/index.d.ts +0 -0
  840. /package/{components → dist/components}/_private/Aligner/index.js +0 -0
  841. /package/{components → dist/components}/_private/Expandable/Expandable.module.css +0 -0
  842. /package/{components → dist/components}/_private/Expandable/Expandable.types.d.ts +0 -0
  843. /package/{components → dist/components}/_private/Expandable/Expandable.types.js +0 -0
  844. /package/{components → dist/components}/_private/Expandable/index.d.ts +0 -0
  845. /package/{components → dist/components}/_private/Expandable/index.js +0 -0
  846. /package/{components → dist/components}/_private/Flyout/Flyout.context.d.ts +0 -0
  847. /package/{components → dist/components}/_private/Flyout/Flyout.context.js +0 -0
  848. /package/{components → dist/components}/_private/Flyout/Flyout.module.css +0 -0
  849. /package/{components → dist/components}/_private/Flyout/Flyout.types.d.ts +0 -0
  850. /package/{components → dist/components}/_private/Flyout/Flyout.types.js +0 -0
  851. /package/{components → dist/components}/_private/Flyout/index.d.ts +0 -0
  852. /package/{components → dist/components}/_private/Flyout/index.js +0 -0
  853. /package/{components → dist/components}/_private/Flyout/tests/Flyout.stories.d.ts +0 -0
  854. /package/{components → dist/components}/_private/Flyout/tests/Flyout.stories.js +0 -0
  855. /package/{components → dist/components}/_private/HiddenInput/HiddenInput.module.css +0 -0
  856. /package/{components → dist/components}/_private/HiddenInput/HiddenInput.types.d.ts +0 -0
  857. /package/{components → dist/components}/_private/HiddenInput/HiddenInput.types.js +0 -0
  858. /package/{components → dist/components}/_private/HiddenInput/index.d.ts +0 -0
  859. /package/{components → dist/components}/_private/HiddenInput/index.js +0 -0
  860. /package/{components → dist/components}/_private/Portal/Portal.types.d.ts +0 -0
  861. /package/{components → dist/components}/_private/Portal/Portal.types.js +0 -0
  862. /package/{components → dist/components}/_private/Portal/index.d.ts +0 -0
  863. /package/{components → dist/components}/_private/Portal/index.js +0 -0
  864. /package/{components → dist/components}/_private/Portal/tests/Portal.stories.d.ts +0 -0
  865. /package/{components → dist/components}/_private/Portal/tests/Portal.stories.js +0 -0
  866. /package/{config → dist/config}/postcss.d.ts +0 -0
  867. /package/{config → dist/config}/postcss.js +0 -0
  868. /package/{config → dist/config}/tailwind.d.ts +0 -0
  869. /package/{config → dist/config}/tailwind.js +0 -0
  870. /package/{constants → dist/constants}/attributes.d.ts +0 -0
  871. /package/{constants → dist/constants}/attributes.js +0 -0
  872. /package/{constants → dist/constants}/keys.d.ts +0 -0
  873. /package/{constants → dist/constants}/keys.js +0 -0
  874. /package/{constants → dist/constants}/timeouts.d.ts +0 -0
  875. /package/{constants → dist/constants}/timeouts.js +0 -0
  876. /package/{hooks → dist/hooks}/_private/useFlyout.d.ts +0 -0
  877. /package/{hooks → dist/hooks}/_private/useFlyout.js +0 -0
  878. /package/{hooks → dist/hooks}/_private/useIsDismissible.d.ts +0 -0
  879. /package/{hooks → dist/hooks}/_private/useIsDismissible.js +0 -0
  880. /package/{hooks → dist/hooks}/_private/useOnClickOutside.d.ts +0 -0
  881. /package/{hooks → dist/hooks}/_private/useOnClickOutside.js +0 -0
  882. /package/{hooks → dist/hooks}/_private/useSingletonEnvironment.d.ts +0 -0
  883. /package/{hooks → dist/hooks}/_private/useSingletonEnvironment.js +0 -0
  884. /package/{hooks → dist/hooks}/_private/useSingletonKeyboardMode.d.ts +0 -0
  885. /package/{hooks → dist/hooks}/_private/useSingletonKeyboardMode.js +0 -0
  886. /package/{hooks → dist/hooks}/tests/useHotkeys.stories.d.ts +0 -0
  887. /package/{hooks → dist/hooks}/tests/useHotkeys.stories.js +0 -0
  888. /package/{hooks → dist/hooks}/tests/useResponsiveClientValue.stories.d.ts +0 -0
  889. /package/{hooks → dist/hooks}/tests/useResponsiveClientValue.stories.js +0 -0
  890. /package/{hooks → dist/hooks}/useElementId.d.ts +0 -0
  891. /package/{hooks → dist/hooks}/useElementId.js +0 -0
  892. /package/{hooks → dist/hooks}/useHotkeys.d.ts +0 -0
  893. /package/{hooks → dist/hooks}/useHotkeys.js +0 -0
  894. /package/{hooks → dist/hooks}/useIsomorphicLayoutEffect.d.ts +0 -0
  895. /package/{hooks → dist/hooks}/useIsomorphicLayoutEffect.js +0 -0
  896. /package/{hooks → dist/hooks}/useRTL.d.ts +0 -0
  897. /package/{hooks → dist/hooks}/useRTL.js +0 -0
  898. /package/{hooks → dist/hooks}/useResponsiveClientValue.d.ts +0 -0
  899. /package/{hooks → dist/hooks}/useResponsiveClientValue.js +0 -0
  900. /package/{hooks → dist/hooks}/useScrollLock.d.ts +0 -0
  901. /package/{hooks → dist/hooks}/useScrollLock.js +0 -0
  902. /package/{hooks → dist/hooks}/useToggle.d.ts +0 -0
  903. /package/{hooks → dist/hooks}/useToggle.js +0 -0
  904. /package/{index.d.ts → dist/index.d.ts} +0 -0
  905. /package/{index.js → dist/index.js} +0 -0
  906. /package/{styles → dist/styles}/aspectRatio/aspectRatio.module.css +0 -0
  907. /package/{styles → dist/styles}/aspectRatio/index.d.ts +0 -0
  908. /package/{styles → dist/styles}/aspectRatio/index.js +0 -0
  909. /package/{styles → dist/styles}/bleed/bleed.module.css +0 -0
  910. /package/{styles → dist/styles}/bleed/index.d.ts +0 -0
  911. /package/{styles → dist/styles}/bleed/index.js +0 -0
  912. /package/{styles → dist/styles}/height/height.module.css +0 -0
  913. /package/{styles → dist/styles}/height/index.d.ts +0 -0
  914. /package/{styles → dist/styles}/height/index.js +0 -0
  915. /package/{styles → dist/styles}/inset/index.d.ts +0 -0
  916. /package/{styles → dist/styles}/inset/index.js +0 -0
  917. /package/{styles → dist/styles}/inset/inset.module.css +0 -0
  918. /package/{styles → dist/styles}/maxHeight/index.d.ts +0 -0
  919. /package/{styles → dist/styles}/maxHeight/index.js +0 -0
  920. /package/{styles → dist/styles}/maxHeight/maxHeight.module.css +0 -0
  921. /package/{styles → dist/styles}/maxWidth/index.d.ts +0 -0
  922. /package/{styles → dist/styles}/maxWidth/index.js +0 -0
  923. /package/{styles → dist/styles}/maxWidth/maxWidth.module.css +0 -0
  924. /package/{styles → dist/styles}/minHeight/index.d.ts +0 -0
  925. /package/{styles → dist/styles}/minHeight/index.js +0 -0
  926. /package/{styles → dist/styles}/minHeight/minHeight.module.css +0 -0
  927. /package/{styles → dist/styles}/minWidth/index.d.ts +0 -0
  928. /package/{styles → dist/styles}/minWidth/index.js +0 -0
  929. /package/{styles → dist/styles}/minWidth/minWidth.module.css +0 -0
  930. /package/{styles → dist/styles}/padding/index.d.ts +0 -0
  931. /package/{styles → dist/styles}/padding/index.js +0 -0
  932. /package/{styles → dist/styles}/padding/padding.module.css +0 -0
  933. /package/{styles → dist/styles}/position/index.d.ts +0 -0
  934. /package/{styles → dist/styles}/position/index.js +0 -0
  935. /package/{styles → dist/styles}/position/position.module.css +0 -0
  936. /package/{styles → dist/styles}/radius/index.d.ts +0 -0
  937. /package/{styles → dist/styles}/radius/index.js +0 -0
  938. /package/{styles → dist/styles}/radius/radius.module.css +0 -0
  939. /package/{styles → dist/styles}/types.d.ts +0 -0
  940. /package/{styles → dist/styles}/types.js +0 -0
  941. /package/{styles → dist/styles}/width/index.d.ts +0 -0
  942. /package/{styles → dist/styles}/width/index.js +0 -0
  943. /package/{styles → dist/styles}/width/width.module.css +0 -0
  944. /package/{themes/_generator/utilities/tests/color.test.d.ts → dist/tests/themingWithDefinition.d.ts} +0 -0
  945. /package/{themes/_generator/utilities/tests/generateColors.test.d.ts → dist/tests/themingWithoutDefinition.d.ts} +0 -0
  946. /package/{themes → dist/themes}/_generator/constants.d.ts +0 -0
  947. /package/{themes → dist/themes}/_generator/constants.js +0 -0
  948. /package/{themes → dist/themes}/_generator/definitions/figma.d.ts +0 -0
  949. /package/{themes → dist/themes}/_generator/definitions/figma.js +0 -0
  950. /package/{themes → dist/themes}/_generator/definitions/reshaped.d.ts +0 -0
  951. /package/{themes → dist/themes}/_generator/definitions/reshaped.js +0 -0
  952. /package/{themes → dist/themes}/_generator/definitions/slate.d.ts +0 -0
  953. /package/{themes → dist/themes}/_generator/definitions/slate.js +0 -0
  954. /package/{themes → dist/themes}/_generator/tests/themes.stories.d.ts +0 -0
  955. /package/{themes → dist/themes}/_generator/tests/themes.stories.js +0 -0
  956. /package/{themes → dist/themes}/_generator/tokens/color/color.transforms.d.ts +0 -0
  957. /package/{themes → dist/themes}/_generator/tokens/color/color.transforms.js +0 -0
  958. /package/{themes → dist/themes}/_generator/tokens/color/color.types.d.ts +0 -0
  959. /package/{themes → dist/themes}/_generator/tokens/color/color.types.js +0 -0
  960. /package/{themes → dist/themes}/_generator/tokens/duration/duration.transforms.d.ts +0 -0
  961. /package/{themes → dist/themes}/_generator/tokens/duration/duration.transforms.js +0 -0
  962. /package/{themes → dist/themes}/_generator/tokens/duration/duration.types.d.ts +0 -0
  963. /package/{themes → dist/themes}/_generator/tokens/duration/duration.types.js +0 -0
  964. /package/{themes → dist/themes}/_generator/tokens/easing/easing.transforms.d.ts +0 -0
  965. /package/{themes → dist/themes}/_generator/tokens/easing/easing.transforms.js +0 -0
  966. /package/{themes → dist/themes}/_generator/tokens/easing/easing.types.d.ts +0 -0
  967. /package/{themes → dist/themes}/_generator/tokens/easing/easing.types.js +0 -0
  968. /package/{themes → dist/themes}/_generator/tokens/font/font.transforms.d.ts +0 -0
  969. /package/{themes → dist/themes}/_generator/tokens/font/font.transforms.js +0 -0
  970. /package/{themes → dist/themes}/_generator/tokens/font/font.types.d.ts +0 -0
  971. /package/{themes → dist/themes}/_generator/tokens/font/font.types.js +0 -0
  972. /package/{themes → dist/themes}/_generator/tokens/fontFamily/fontFamily.transforms.d.ts +0 -0
  973. /package/{themes → dist/themes}/_generator/tokens/fontFamily/fontFamily.transforms.js +0 -0
  974. /package/{themes → dist/themes}/_generator/tokens/fontFamily/fontFamily.types.d.ts +0 -0
  975. /package/{themes → dist/themes}/_generator/tokens/fontFamily/fontFamily.types.js +0 -0
  976. /package/{themes → dist/themes}/_generator/tokens/fontWeight/fontWeight.transforms.d.ts +0 -0
  977. /package/{themes → dist/themes}/_generator/tokens/fontWeight/fontWeight.transforms.js +0 -0
  978. /package/{themes → dist/themes}/_generator/tokens/fontWeight/fontWeight.types.d.ts +0 -0
  979. /package/{themes → dist/themes}/_generator/tokens/fontWeight/fontWeight.types.js +0 -0
  980. /package/{themes → dist/themes}/_generator/tokens/shadow/shadow.transforms.d.ts +0 -0
  981. /package/{themes → dist/themes}/_generator/tokens/shadow/shadow.transforms.js +0 -0
  982. /package/{themes → dist/themes}/_generator/tokens/shadow/shadow.types.d.ts +0 -0
  983. /package/{themes → dist/themes}/_generator/tokens/shadow/shadow.types.js +0 -0
  984. /package/{themes → dist/themes}/_generator/tokens/transforms.d.ts +0 -0
  985. /package/{themes → dist/themes}/_generator/tokens/transforms.js +0 -0
  986. /package/{themes → dist/themes}/_generator/tokens/types.d.ts +0 -0
  987. /package/{themes → dist/themes}/_generator/tokens/types.js +0 -0
  988. /package/{themes → dist/themes}/_generator/tokens/unit/unit.transforms.d.ts +0 -0
  989. /package/{themes → dist/themes}/_generator/tokens/unit/unit.transforms.js +0 -0
  990. /package/{themes → dist/themes}/_generator/tokens/unit/unit.types.d.ts +0 -0
  991. /package/{themes → dist/themes}/_generator/tokens/unit/unit.types.js +0 -0
  992. /package/{themes → dist/themes}/_generator/tokens/viewport/viewport.transforms.d.ts +0 -0
  993. /package/{themes → dist/themes}/_generator/tokens/viewport/viewport.transforms.js +0 -0
  994. /package/{themes → dist/themes}/_generator/tokens/viewport/viewport.types.d.ts +0 -0
  995. /package/{themes → dist/themes}/_generator/tokens/viewport/viewport.types.js +0 -0
  996. /package/{themes → dist/themes}/_generator/transform.d.ts +0 -0
  997. /package/{themes → dist/themes}/_generator/transform.js +0 -0
  998. /package/{themes → dist/themes}/_generator/types.d.ts +0 -0
  999. /package/{themes → dist/themes}/_generator/types.js +0 -0
  1000. /package/{themes → dist/themes}/_generator/utilities/color.d.ts +0 -0
  1001. /package/{themes → dist/themes}/_generator/utilities/color.js +0 -0
  1002. /package/{themes → dist/themes}/_generator/utilities/css.d.ts +0 -0
  1003. /package/{themes → dist/themes}/_generator/utilities/css.js +0 -0
  1004. /package/{themes → dist/themes}/_generator/utilities/generateBackgroundColors.d.ts +0 -0
  1005. /package/{themes → dist/themes}/_generator/utilities/generateBackgroundColors.js +0 -0
  1006. /package/{themes → dist/themes}/_generator/utilities/generateColors.d.ts +0 -0
  1007. /package/{themes → dist/themes}/_generator/utilities/generateColors.js +0 -0
  1008. /package/{themes → dist/themes}/_generator/utilities/generateUnits.d.ts +0 -0
  1009. /package/{themes → dist/themes}/_generator/utilities/generateUnits.js +0 -0
  1010. /package/{themes → dist/themes}/_generator/utilities/mergeDeep.d.ts +0 -0
  1011. /package/{themes → dist/themes}/_generator/utilities/mergeDeep.js +0 -0
  1012. /package/{themes → dist/themes}/_generator/utilities/mergeDefinitions.d.ts +0 -0
  1013. /package/{themes → dist/themes}/_generator/utilities/mergeDefinitions.js +0 -0
  1014. /package/{themes → dist/themes}/_generator/utilities/resolveTokenReference.d.ts +0 -0
  1015. /package/{themes → dist/themes}/_generator/utilities/resolveTokenReference.js +0 -0
  1016. /package/{types/global.js → dist/themes/_generator/utilities/tests/color.test.d.ts} +0 -0
  1017. /package/{themes → dist/themes}/_generator/utilities/tests/color.test.js +0 -0
  1018. /package/{themes → dist/themes}/_generator/utilities/tests/generateColors.test.js +0 -0
  1019. /package/{themes → dist/themes}/figma/media.css +0 -0
  1020. /package/{themes → dist/themes}/figma/theme.css +0 -0
  1021. /package/{themes → dist/themes}/fragments/twitter/theme.css +0 -0
  1022. /package/{themes → dist/themes}/index.d.ts +0 -0
  1023. /package/{themes → dist/themes}/index.js +0 -0
  1024. /package/{themes → dist/themes}/reshaped/media.css +0 -0
  1025. /package/{themes → dist/themes}/reshaped/theme.css +0 -0
  1026. /package/{themes → dist/themes}/slate/media.css +0 -0
  1027. /package/{themes → dist/themes}/slate/theme.css +0 -0
  1028. /package/{types → dist/types}/config.d.ts +0 -0
  1029. /package/{types → dist/types}/config.js +0 -0
  1030. /package/{types → dist/types}/global.d.ts +0 -0
  1031. /package/{utilities → dist/utilities}/Chain.d.ts +0 -0
  1032. /package/{utilities → dist/utilities}/Chain.js +0 -0
  1033. /package/{utilities → dist/utilities}/a11y.d.ts +0 -0
  1034. /package/{utilities → dist/utilities}/a11y.js +0 -0
  1035. /package/{utilities → dist/utilities}/animation.d.ts +0 -0
  1036. /package/{utilities → dist/utilities}/animation.js +0 -0
  1037. /package/{utilities → dist/utilities}/dom.d.ts +0 -0
  1038. /package/{utilities → dist/utilities}/dom.js +0 -0
  1039. /package/{utilities → dist/utilities}/helpers.d.ts +0 -0
  1040. /package/{utilities → dist/utilities}/helpers.js +0 -0
  1041. /package/{utilities → dist/utilities}/storybook/Example.module.css +0 -0
  1042. /package/{utilities → dist/utilities}/storybook/index.d.ts +0 -0
  1043. /package/{utilities → dist/utilities}/storybook/index.js +0 -0
  1044. /package/{utilities → dist/utilities}/string.d.ts +0 -0
  1045. /package/{utilities → dist/utilities}/string.js +0 -0
@@ -0,0 +1,28 @@
1
+ import type React from "react";
2
+ import type * as G from "../../types/global";
3
+ import type { RadioProps } from "../Radio";
4
+ type BaseProps = {
5
+ id?: string;
6
+ children?: React.ReactNode;
7
+ disabled?: boolean;
8
+ name: string;
9
+ hasError?: boolean;
10
+ onChange?: G.ChangeHandler<string>;
11
+ };
12
+ export type ControlledProps = BaseProps & {
13
+ value: string | null;
14
+ defaultValue?: never;
15
+ };
16
+ export type UncontrolledProps = BaseProps & {
17
+ value?: never;
18
+ defaultValue?: string;
19
+ };
20
+ export type Props = ControlledProps | UncontrolledProps;
21
+ export type Context = {
22
+ onChange: RadioProps["onChange"];
23
+ hasError?: boolean;
24
+ disabled?: boolean;
25
+ name: string;
26
+ value?: string | null;
27
+ };
28
+ export {};
@@ -0,0 +1,3 @@
1
+ import type * as T from "./RadioGroup.types";
2
+ declare const RadioGroupControlled: (props: T.ControlledProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default RadioGroupControlled;
@@ -0,0 +1,14 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import Context from "./RadioGroup.context.js";
4
+ const RadioGroupControlled = (props) => {
5
+ const { onChange, name, disabled, value, children, hasError } = props;
6
+ const handleChange = ({ event, value }) => {
7
+ if (!value)
8
+ return;
9
+ if (onChange)
10
+ onChange({ name, value, event });
11
+ };
12
+ return (_jsx(Context.Provider, { value: { onChange: handleChange, disabled, value, name, hasError }, children: children }));
13
+ };
14
+ export default RadioGroupControlled;
@@ -0,0 +1,3 @@
1
+ import type * as T from "./RadioGroup.types";
2
+ declare const RadioGroupUncontrolled: (props: T.UncontrolledProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default RadioGroupUncontrolled;
@@ -0,0 +1,17 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import React from "react";
4
+ import RadioGroupControlled from "./RadioGroupControlled.js";
5
+ const RadioGroupUncontrolled = (props) => {
6
+ const { defaultValue, onChange } = props;
7
+ const [value, setValue] = React.useState(defaultValue || null);
8
+ const handleChange = (args) => {
9
+ if (!args.value)
10
+ return;
11
+ setValue(args.value);
12
+ if (onChange)
13
+ onChange(args);
14
+ };
15
+ return (_jsx(RadioGroupControlled, Object.assign({}, props, { value: value, defaultValue: undefined, onChange: handleChange })));
16
+ };
17
+ export default RadioGroupUncontrolled;
@@ -0,0 +1,4 @@
1
+ import type * as T from "./Reshaped.types";
2
+ import "./Reshaped.css";
3
+ declare const Reshaped: (props: T.Props) => import("react/jsx-runtime").JSX.Element;
4
+ export default Reshaped;
@@ -0,0 +1,22 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { classNames } from "../../utilities/helpers.js";
4
+ import Theme, { GlobalColorMode } from "../Theme/index.js";
5
+ import { ToastProvider } from "../Toast/index.js";
6
+ import useSingletonKeyboardMode from "../../hooks/_private/useSingletonKeyboardMode.js";
7
+ import { SingletonEnvironmentContext, useSingletonRTL, } from "../../hooks/_private/useSingletonEnvironment.js";
8
+ import { SingletonHotkeysProvider } from "../../hooks/_private/useSingletonHotkeys.js";
9
+ import "./Reshaped.css";
10
+ import s from "./Reshaped.module.css";
11
+ const ReshapedInner = (props) => {
12
+ const { children, defaultRTL, defaultViewport = "s", toastOptions } = props;
13
+ const rtlState = useSingletonRTL(defaultRTL);
14
+ useSingletonKeyboardMode();
15
+ return (_jsx(SingletonEnvironmentContext.Provider, { value: { rtl: rtlState, defaultViewport }, children: _jsx(SingletonHotkeysProvider, { children: _jsx(ToastProvider, { options: toastOptions, children: children }) }) }));
16
+ };
17
+ const Reshaped = (props) => {
18
+ const { theme, defaultTheme = "reshaped", defaultColorMode, className } = props;
19
+ const rootClassNames = classNames(s.root, className);
20
+ return (_jsx(GlobalColorMode, { defaultMode: defaultColorMode, children: _jsx(Theme, { name: theme, defaultName: defaultTheme, className: rootClassNames, children: _jsx(ReshapedInner, Object.assign({}, props, { children: props.children })) }) }));
21
+ };
22
+ export default Reshaped;
@@ -0,0 +1,3 @@
1
+ import type * as T from "./Scrim.types";
2
+ declare const Scrim: (props: T.Props) => import("react/jsx-runtime").JSX.Element;
3
+ export default Scrim;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { classNames } from "../../utilities/helpers.js";
3
+ import s from "./Scrim.module.css";
4
+ const Scrim = (props) => {
5
+ const { children, backgroundSlot, position = "cover", attributes, className, scrimClassName, } = props;
6
+ const rootClassNames = classNames(s.root, !!backgroundSlot && s["--with-background"], position && s[`--position-${position}`], className);
7
+ const scrimClassNames = classNames(s.scrim, scrimClassName);
8
+ return (_jsxs("div", Object.assign({}, attributes, { className: rootClassNames, children: [backgroundSlot, _jsx("div", { className: scrimClassNames, children: _jsx("div", { className: s.content, children: children }) })] })));
9
+ };
10
+ export default Scrim;
@@ -0,0 +1,3 @@
1
+ import type * as T from "./Select.types";
2
+ declare const Select: (props: T.Props) => import("react/jsx-runtime").JSX.Element;
3
+ export default Select;
@@ -0,0 +1,49 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import React from "react";
4
+ import Icon from "../Icon/index.js";
5
+ import { useFormControl } from "../FormControl/index.js";
6
+ import Actionable from "../Actionable/index.js";
7
+ import Text from "../Text/index.js";
8
+ import IconArrow from "../../icons/ChevronVertical.js";
9
+ import { classNames, responsiveClassNames, responsivePropDependency } from "../../utilities/helpers.js";
10
+ import useElementId from "../../hooks/useElementId.js";
11
+ import s from "./Select.module.css";
12
+ const Select = (props) => {
13
+ var _a, _b;
14
+ const { onChange, onClick, onFocus, onBlur, name, value, defaultValue, placeholder, options, children, icon, startSlot, size = "medium", variant = "outline", className, attributes, } = props;
15
+ const [empty, setEmpty] = React.useState(value === undefined ? !defaultValue : !value);
16
+ const formControl = useFormControl();
17
+ const id = useElementId(props.id);
18
+ const inputId = ((_a = formControl === null || formControl === void 0 ? void 0 : formControl.attributes) === null || _a === void 0 ? void 0 : _a.id) || ((_b = props.inputAttributes) === null || _b === void 0 ? void 0 : _b.id) || id;
19
+ const disabled = (formControl === null || formControl === void 0 ? void 0 : formControl.disabled) || props.disabled;
20
+ const hasError = (formControl === null || formControl === void 0 ? void 0 : formControl.hasError) || props.hasError;
21
+ const inputAttributes = Object.assign(Object.assign({}, props.inputAttributes), formControl === null || formControl === void 0 ? void 0 : formControl.attributes);
22
+ const rootClassName = classNames(s.root, className, size && responsiveClassNames(s, "--size", size), hasError && s["--status-error"], disabled && s["--disabled"], empty && options && s["--placeholder"], variant && s[`--variant-${variant}`]);
23
+ const handleChange = (event) => {
24
+ const nextValue = event.target.value;
25
+ // Uncontrolled placeholder
26
+ if (value === undefined)
27
+ setEmpty(!nextValue);
28
+ if (!onChange)
29
+ return;
30
+ onChange({ name, value: nextValue, event });
31
+ };
32
+ // Controlled placeholder
33
+ React.useEffect(() => {
34
+ if (value === undefined)
35
+ return;
36
+ setEmpty(!value);
37
+ }, [value]);
38
+ const startContent = (startSlot || icon) && (_jsx("div", { className: s.slot, children: icon ? (_jsx(Icon, { size: responsivePropDependency(size, (size) => {
39
+ if (size === "large")
40
+ return 5;
41
+ if (size === "xlarge")
42
+ return 6;
43
+ return 4;
44
+ }), svg: icon })) : (startSlot) }));
45
+ return (_jsxs("div", Object.assign({}, attributes, { className: rootClassName, children: [options ? (_jsxs(_Fragment, { children: [startContent, _jsxs("select", Object.assign({}, inputAttributes, { className: s.input, disabled: disabled, name: name, value: value, defaultValue: defaultValue, onChange: handleChange, onFocus: onFocus || (inputAttributes === null || inputAttributes === void 0 ? void 0 : inputAttributes.onFocus), onBlur: onBlur || (inputAttributes === null || inputAttributes === void 0 ? void 0 : inputAttributes.onBlur), id: inputId, children: [placeholder && _jsx("option", { value: "", children: placeholder }), options.map((option) => (_jsx("option", { value: option.value, disabled: option.disabled, children: option.label }, option.value)))] }))] })) : (_jsxs(_Fragment, { children: [_jsxs(Actionable, { className: s.input, disabled: disabled, onClick: onClick, attributes: Object.assign(Object.assign({}, inputAttributes), { onFocus: onFocus || (inputAttributes === null || inputAttributes === void 0 ? void 0 : inputAttributes.onFocus), onBlur: onBlur || (inputAttributes === null || inputAttributes === void 0 ? void 0 : inputAttributes.onBlur) }), children: [startContent, children || (placeholder ? _jsx(Text, { color: "neutral-faded", children: placeholder }) : null)] }), _jsx("input", { type: "hidden", value: value, name: name })] })), _jsx("div", { className: s.arrow, children: _jsx(Icon, { svg: IconArrow, color: disabled ? "disabled" : "neutral-faded", size: responsivePropDependency(size, (size) => {
46
+ return size === "large" || size === "xlarge" ? 5 : 4;
47
+ }) }) })] })));
48
+ };
49
+ export default Select;
@@ -0,0 +1,3 @@
1
+ import * as T from "./Skeleton.types";
2
+ declare const Skeleton: (props: T.Props) => import("react/jsx-runtime").JSX.Element;
3
+ export default Skeleton;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { classNames } from "../../utilities/helpers.js";
3
+ import View from "../View/index.js";
4
+ import s from "./Skeleton.module.css";
5
+ const Skeleton = (props) => {
6
+ const { borderRadius = "small", width, height, className, attributes } = props;
7
+ const rootClassNames = classNames(s.root, className);
8
+ return (_jsx(View, { backgroundColor: "disabled", width: width, height: height, borderRadius: borderRadius, className: rootClassNames, attributes: attributes }));
9
+ };
10
+ export default Skeleton;
@@ -0,0 +1,6 @@
1
+ import type { ViewProps } from "../View";
2
+ import type * as G from "../../types/global";
3
+ export type Props = Pick<ViewProps, "width" | "height" | "borderRadius"> & {
4
+ className?: G.ClassName;
5
+ attributes?: G.Attributes<"div", Props>;
6
+ };
@@ -0,0 +1,3 @@
1
+ import type * as T from "./Slider.types";
2
+ declare const Slider: (props: T.Props) => import("react/jsx-runtime").JSX.Element;
3
+ export default Slider;
@@ -0,0 +1,26 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import SliderControlled from "./SliderControlled.js";
14
+ import SliderUncontrolled from "./SliderUncontrolled.js";
15
+ const Slider = (props) => {
16
+ const { min = 0, max = 100 } = props, rest = __rest(props, ["min", "max"]);
17
+ if (("value" in props && props.value !== undefined) ||
18
+ ("minValue" in props &&
19
+ "maxValue" in props &&
20
+ props.minValue !== undefined &&
21
+ props.maxValue !== undefined)) {
22
+ return _jsx(SliderControlled, Object.assign({}, rest, { min: min, max: max }));
23
+ }
24
+ return _jsx(SliderUncontrolled, Object.assign({}, rest, { min: min, max: max }));
25
+ };
26
+ export default Slider;
@@ -0,0 +1,3 @@
1
+ import type * as T from "./Slider.types";
2
+ declare const SliderControlled: (props: T.ControlledProps & T.DefaultProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default SliderControlled;
@@ -0,0 +1,169 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import React from "react";
4
+ import { classNames } from "../../utilities/helpers.js";
5
+ import useRTL from "../../hooks/useRTL.js";
6
+ import useElementId from "../../hooks/useElementId.js";
7
+ import { useFormControl } from "../FormControl/index.js";
8
+ import SliderThumb from "./SliderThumb.js";
9
+ import s from "./Slider.module.css";
10
+ const getDragX = (event) => {
11
+ if (event instanceof MouseEvent)
12
+ return event.pageX || event.screenX;
13
+ return event.changedTouches[0].pageX;
14
+ };
15
+ const applyStepToValue = (value, step) => {
16
+ return Math.round(value / step) * step;
17
+ };
18
+ const SliderControlled = (props) => {
19
+ var _a;
20
+ const { name, range, max, min, step = 1, onChange, onChangeCommit, renderValue, className, attributes, } = props;
21
+ const minValue = range && props.minValue !== undefined ? applyStepToValue(props.minValue, step) : undefined;
22
+ const maxValue = applyStepToValue(range ? props.maxValue : props.value, step);
23
+ const barRef = React.useRef(null);
24
+ const minRef = React.useRef(null);
25
+ const maxRef = React.useRef(null);
26
+ const [draggingId, setDraggingId] = React.useState(null);
27
+ const [rtl] = useRTL();
28
+ const formControl = useFormControl();
29
+ const id = useElementId();
30
+ const inputId = ((_a = formControl === null || formControl === void 0 ? void 0 : formControl.attributes) === null || _a === void 0 ? void 0 : _a.id) || id;
31
+ const minId = `${inputId}-min`;
32
+ const maxId = `${inputId}-max`;
33
+ const disabled = (formControl === null || formControl === void 0 ? void 0 : formControl.disabled) || props.disabled;
34
+ const rootClassNames = classNames(s.root, disabled && s["--disabled"], className);
35
+ const getPositionValue = React.useCallback((x) => {
36
+ if (!barRef.current)
37
+ return;
38
+ const barWidth = barRef.current.clientWidth;
39
+ const positionX = x - barRef.current.getBoundingClientRect().left;
40
+ let percentage = positionX / barWidth;
41
+ if (rtl)
42
+ percentage = 1 - percentage;
43
+ let value = (max - min) * percentage + min;
44
+ value = Math.max(min, Math.min(max, value));
45
+ return applyStepToValue(value, step);
46
+ }, [max, min, rtl, step]);
47
+ const getPercentPosition = (value) => {
48
+ const ratio = (value - min) / (max - min);
49
+ return ratio * 100;
50
+ };
51
+ const handleMinChange = React.useCallback((value, options) => {
52
+ if (!range)
53
+ return;
54
+ const method = (options === null || options === void 0 ? void 0 : options.commit) ? onChangeCommit : onChange;
55
+ method === null || method === void 0 ? void 0 : method({ minValue: value, maxValue, name });
56
+ },
57
+ // eslint-disable-next-line react-hooks/exhaustive-deps
58
+ [maxValue, name, range]);
59
+ const handleMaxChange = React.useCallback((value, options) => {
60
+ if (range) {
61
+ const method = (options === null || options === void 0 ? void 0 : options.commit) ? onChangeCommit : onChange;
62
+ method === null || method === void 0 ? void 0 : method({ minValue: minValue, maxValue: value, name });
63
+ return;
64
+ }
65
+ const method = (options === null || options === void 0 ? void 0 : options.commit) ? onChangeCommit : onChange;
66
+ method === null || method === void 0 ? void 0 : method({ value, name });
67
+ },
68
+ // eslint-disable-next-line react-hooks/exhaustive-deps
69
+ [minValue, name, range]);
70
+ const handleMouseDown = ({ nativeEvent }) => {
71
+ if (disabled)
72
+ return;
73
+ let minDistance;
74
+ let closestId;
75
+ const x = getDragX(nativeEvent);
76
+ const nextValue = getPositionValue(x);
77
+ const thumbs = [
78
+ { ref: minRef, id: minId },
79
+ { ref: maxRef, id: maxId },
80
+ ];
81
+ thumbs.forEach((item) => {
82
+ if (!item.ref.current)
83
+ return;
84
+ const el = item.ref.current;
85
+ const distance = Math.abs(el.getBoundingClientRect().left - x);
86
+ if (minDistance === undefined || distance <= minDistance) {
87
+ minDistance = distance;
88
+ closestId = item.id;
89
+ }
90
+ });
91
+ if (!closestId || nextValue === undefined)
92
+ return;
93
+ if (closestId === minId)
94
+ handleMinChange(nextValue);
95
+ if (closestId === maxId)
96
+ handleMaxChange(nextValue);
97
+ setDraggingId(closestId);
98
+ };
99
+ const handleMinDragStart = () => {
100
+ if (disabled)
101
+ return;
102
+ setDraggingId(minId);
103
+ };
104
+ const handleMaxDragStart = () => {
105
+ if (disabled)
106
+ return;
107
+ setDraggingId(maxId);
108
+ };
109
+ const handleDragStop = React.useCallback(() => {
110
+ if (draggingId === minId && minValue !== undefined) {
111
+ handleMinChange(minValue, { commit: true });
112
+ }
113
+ if (draggingId === maxId) {
114
+ handleMaxChange(maxValue, { commit: true });
115
+ }
116
+ setDraggingId(null);
117
+ }, [minValue, maxValue, handleMinChange, handleMaxChange, draggingId, minId, maxId]);
118
+ const handleDrag = React.useCallback((e) => {
119
+ if (!draggingId)
120
+ return;
121
+ const x = getDragX(e);
122
+ const nextValue = getPositionValue(x);
123
+ if (nextValue === undefined)
124
+ return;
125
+ // Switch to another id if thumbs overlap
126
+ let nextDraggingId = draggingId;
127
+ if (draggingId === minId && nextValue > maxValue)
128
+ nextDraggingId = maxId;
129
+ if (draggingId === maxId && minValue && nextValue < minValue)
130
+ nextDraggingId = minId;
131
+ if (nextDraggingId === minId)
132
+ handleMinChange(nextValue);
133
+ if (nextDraggingId === maxId)
134
+ handleMaxChange(nextValue);
135
+ if (draggingId !== nextDraggingId)
136
+ setDraggingId(nextDraggingId);
137
+ }, [
138
+ draggingId,
139
+ minValue,
140
+ maxValue,
141
+ getPositionValue,
142
+ handleMaxChange,
143
+ handleMinChange,
144
+ maxId,
145
+ minId,
146
+ ]);
147
+ React.useEffect(() => {
148
+ window.addEventListener("mouseup", handleDragStop);
149
+ window.addEventListener("touchend", handleDragStop);
150
+ window.addEventListener("mousemove", handleDrag);
151
+ window.addEventListener("touchmove", handleDrag);
152
+ return () => {
153
+ window.removeEventListener("mouseup", handleDragStop);
154
+ window.removeEventListener("touchend", handleDragStop);
155
+ window.removeEventListener("mousemove", handleDrag);
156
+ window.removeEventListener("touchmove", handleDrag);
157
+ };
158
+ }, [handleDragStop, handleDrag]);
159
+ const minPercentPosition = minValue && getPercentPosition(minValue);
160
+ const maxPercentPosition = getPercentPosition(maxValue);
161
+ return (
162
+ // mouse/touch events only needed for non-keyboard use
163
+ // eslint-disable-next-line jsx-a11y/no-static-element-interactions
164
+ _jsxs("div", Object.assign({}, attributes, { className: rootClassNames, onMouseDown: handleMouseDown, onTouchStart: handleMouseDown, children: [_jsx("div", { className: s.bar, ref: barRef, children: _jsx("div", { className: s.selection, style: {
165
+ insetInlineStart: `${minPercentPosition || 0}%`,
166
+ width: `${maxPercentPosition - (minPercentPosition || 0)}%`,
167
+ } }) }), minValue !== undefined && minPercentPosition !== undefined && (_jsx(SliderThumb, { id: minId, active: minId === draggingId, name: name, disabled: disabled, onChange: handleMinChange, value: minValue, onDragStart: handleMinDragStart, position: minPercentPosition, max: max, min: min, ref: minRef, renderValue: renderValue })), _jsx(SliderThumb, { id: maxId, active: maxId === draggingId, name: name, disabled: disabled, onChange: handleMaxChange, value: maxValue, onDragStart: handleMaxDragStart, position: maxPercentPosition, max: max, min: min, ref: maxRef, renderValue: renderValue })] })));
168
+ };
169
+ export default SliderControlled;
@@ -0,0 +1,18 @@
1
+ "use client";
2
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import React from "react";
4
+ import { classNames } from "../../utilities/helpers.js";
5
+ import Theme from "../Theme/index.js";
6
+ import Text from "../Text/index.js";
7
+ import s from "./Slider.module.css";
8
+ const SliderThumb = (props, ref) => {
9
+ const { name, value, disabled, active, position, max, min, onChange, onDragStart, renderValue } = props;
10
+ const id = React.useId();
11
+ const thumbClassNames = classNames(s.thumb, active && s["thumb--active"]);
12
+ const tooltipValue = renderValue ? renderValue({ value }) : value;
13
+ const handleChange = (e) => {
14
+ onChange(+e.target.value);
15
+ };
16
+ return (_jsxs(_Fragment, { children: [_jsx("input", { className: s.input, type: "range", name: name, value: value, onChange: handleChange, disabled: disabled, max: max, min: min, "aria-labelledby": id }), _jsx("div", { ref: ref, className: thumbClassNames, onMouseDown: onDragStart, onTouchStart: onDragStart, style: { insetInlineStart: `${position}%` }, id: id, "aria-hidden": "true", children: _jsx(Theme, { colorMode: "inverted", children: _jsx(Text, { variant: "caption-1", weight: "medium", className: s.tooltip, children: tooltipValue }) }) })] }));
17
+ };
18
+ export default React.forwardRef(SliderThumb);
@@ -0,0 +1,3 @@
1
+ import type * as T from "./Slider.types";
2
+ declare const SliderUncontrolled: (props: T.UncontrolledProps & T.DefaultProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default SliderUncontrolled;
@@ -0,0 +1,33 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import React from "react";
4
+ import SliderControlled from "./SliderControlled.js";
5
+ const SliderUncontrolled = (props) => {
6
+ const { min, max, onChange, range } = props;
7
+ const defaultMinValue = ("defaultMinValue" in props && props.defaultMinValue !== undefined && props.defaultMinValue) ||
8
+ ("defaultValue" in props && props.defaultValue !== undefined && props.defaultValue) ||
9
+ min;
10
+ const defaultMaxValue = ("defaultMaxValue" in props && props.defaultMaxValue !== undefined && props.defaultMaxValue) ||
11
+ ("defaultValue" in props && props.defaultValue !== undefined && props.defaultValue) ||
12
+ (range ? max : min);
13
+ const [minValue, setMinValue] = React.useState(defaultMinValue);
14
+ const [maxValue, setMaxValue] = React.useState(defaultMaxValue);
15
+ const handleSingleChange = (args) => {
16
+ if (range)
17
+ return;
18
+ setMaxValue(args.value);
19
+ onChange === null || onChange === void 0 ? void 0 : onChange(args);
20
+ };
21
+ const handleRangeChange = (args) => {
22
+ if (!range)
23
+ return;
24
+ setMinValue(args.minValue);
25
+ setMaxValue(args.maxValue);
26
+ onChange === null || onChange === void 0 ? void 0 : onChange(args);
27
+ };
28
+ if (range) {
29
+ return (_jsx(SliderControlled, Object.assign({}, props, { min: min, max: max, minValue: minValue, maxValue: maxValue, defaultMinValue: undefined, defaultMaxValue: undefined, onChange: handleRangeChange })));
30
+ }
31
+ return (_jsx(SliderControlled, Object.assign({}, props, { min: min, max: max, value: maxValue, defaultValue: undefined, onChange: handleSingleChange })));
32
+ };
33
+ export default SliderUncontrolled;
@@ -0,0 +1,6 @@
1
+ import type * as T from "./Stepper.types";
2
+ declare const Stepper: {
3
+ (props: T.Props): import("react/jsx-runtime").JSX.Element;
4
+ Item: (_: T.ItemProps) => null;
5
+ };
6
+ export default Stepper;
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import React from "react";
3
+ import { responsivePropDependency } from "../../utilities/helpers.js";
4
+ import Expandable from "../_private/Expandable/index.js";
5
+ import View from "../View/index.js";
6
+ import Text from "../Text/index.js";
7
+ import Divider from "../Divider/index.js";
8
+ import Icon from "../Icon/index.js";
9
+ import Hidden from "../Hidden/index.js";
10
+ import IconCheckmark from "../../icons/Checkmark.js";
11
+ import s from "./Stepper.module.css";
12
+ const StepperItemPrivate = (props) => {
13
+ const { title, subtitle, children, direction, className, attributes, labelDisplay, step, completed, active, last, } = props;
14
+ const labelHidden = labelDisplay && responsivePropDependency(labelDisplay, (value) => value === "hidden");
15
+ const labelNode = (_jsx(View, { gap: 3, grow: true, children: _jsxs(View.Item, { children: [_jsx(Text, { variant: "body-3", weight: "medium", children: title }), _jsx(Text, { variant: "caption-1", color: "neutral-faded", children: subtitle })] }) }));
16
+ return (_jsxs(View, { children: [_jsxs(View, { attributes: attributes, className: className, direction: "row", gap: 2, align: "center", position: "static", children: [_jsxs(View.Item, { children: [_jsx(View, { align: "center", justify: "center", backgroundColor: active || completed ? "primary" : "neutral-faded", borderColor: active || completed ? undefined : "neutral-faded", borderRadius: "circular", as: "span", width: 8, height: 8, zIndex: 5, children: _jsx(Text, { variant: "body-3", weight: active ? "bold" : "medium", children: completed ? _jsx(Icon, { svg: IconCheckmark, size: 4 }) : step }) }), direction === "column" && !last && _jsx(Divider, { vertical: true, className: s.verticalDivider })] }), labelDisplay ? _jsx(Hidden, { hide: labelHidden, children: labelNode }) : labelNode] }), direction === "column" && children && (_jsx(Expandable, { active: active, children: _jsx(View, { paddingStart: 10, paddingTop: 2, children: children }) }))] }));
17
+ };
18
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
19
+ const StepperItem = (_) => null;
20
+ const Stepper = (props) => {
21
+ const { children, direction = "row", activeId, labelDisplay, className, attributes } = props;
22
+ const vertical = direction === "column";
23
+ const length = React.Children.count(children);
24
+ return (_jsx(View, { attributes: attributes, direction: direction, align: vertical ? "stretch" : "center", className: className, gap: 3, wrap: false, children: React.Children.map(children, (child, index) => {
25
+ const itemId = child.props.id || `${index}`;
26
+ return (_jsxs(React.Fragment, { children: [_jsx(StepperItemPrivate, Object.assign({}, child.props, { id: child.props.id || `${index}`, active: (activeId === null || activeId === void 0 ? void 0 : activeId.toString()) === itemId, step: index + 1, last: index === length - 1, direction: direction, labelDisplay: labelDisplay })), !vertical && index < length - 1 && (_jsx(View, { grow: true, children: _jsx(Divider, {}) }))] }, index));
27
+ }) }));
28
+ };
29
+ Stepper.Item = StepperItem;
30
+ export default Stepper;
@@ -0,0 +1,26 @@
1
+ import type React from "react";
2
+ import type * as G from "../../types/global";
3
+ export type Props = {
4
+ activeId?: string | number;
5
+ labelDisplay?: G.Responsive<"inline" | "hidden">;
6
+ children?: React.ReactNode;
7
+ direction?: "row" | "column";
8
+ className?: G.ClassName;
9
+ attributes?: G.Attributes<"ul", Props>;
10
+ };
11
+ export type ItemProps = {
12
+ id?: string;
13
+ completed?: boolean;
14
+ title?: React.ReactNode;
15
+ subtitle?: React.ReactNode;
16
+ children?: React.ReactNode;
17
+ className?: G.ClassName;
18
+ attributes?: G.Attributes<"li", ItemProps>;
19
+ };
20
+ export type ItemPrivateProps = ItemProps & {
21
+ labelDisplay: Props["labelDisplay"];
22
+ step: number;
23
+ active: boolean;
24
+ direction: Props["direction"];
25
+ last: boolean;
26
+ };
@@ -0,0 +1,3 @@
1
+ import type * as T from "./Switch.types";
2
+ declare const Switch: (props: T.Props) => import("react/jsx-runtime").JSX.Element;
3
+ export default Switch;
@@ -0,0 +1,27 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { classNames } from "../../utilities/helpers.js";
4
+ import { useFormControl } from "../FormControl/index.js";
5
+ import Text from "../Text/index.js";
6
+ import useElementId from "../../hooks/useElementId.js";
7
+ import s from "./Switch.module.css";
8
+ const Switch = (props) => {
9
+ var _a;
10
+ const { children, name, checked, size, reversed, defaultChecked, onChange, onFocus, onBlur, className, attributes, } = props;
11
+ const rootClassNames = classNames(s.root, size && s[`root--size-${size}`], reversed && s["root--reversed"], className);
12
+ const formControl = useFormControl();
13
+ const id = useElementId((formControl === null || formControl === void 0 ? void 0 : formControl.attributes.id) || props.id || ((_a = props.inputAttributes) === null || _a === void 0 ? void 0 : _a.id));
14
+ const inputAttributes = Object.assign(Object.assign({}, props.inputAttributes), formControl === null || formControl === void 0 ? void 0 : formControl.attributes);
15
+ const disabled = (formControl === null || formControl === void 0 ? void 0 : formControl.disabled) || props.disabled;
16
+ const handleChange = (event) => {
17
+ if (!onChange)
18
+ return;
19
+ onChange({
20
+ name,
21
+ event,
22
+ checked: event.target.checked,
23
+ });
24
+ };
25
+ return (_jsxs("label", Object.assign({}, attributes, { className: rootClassNames, children: [_jsx("input", Object.assign({ type: "checkbox" }, inputAttributes, { className: s.input, name: name, checked: checked, defaultChecked: defaultChecked, disabled: disabled, onChange: handleChange, onFocus: onFocus || (inputAttributes === null || inputAttributes === void 0 ? void 0 : inputAttributes.onFocus), onBlur: onBlur || (inputAttributes === null || inputAttributes === void 0 ? void 0 : inputAttributes.onBlur), id: id })), _jsx("span", { className: s.area, "aria-hidden": "true", children: _jsx("span", { className: s.thumb }) }), children && (_jsx(Text, { variant: "body-3", weight: "medium", children: children }))] })));
26
+ };
27
+ export default Switch;
@@ -0,0 +1,10 @@
1
+ import type * as T from "./Table.types";
2
+ declare const Table: {
3
+ (props: T.Props): import("react/jsx-runtime").JSX.Element;
4
+ Cell: (props: T.CellProps) => import("react/jsx-runtime").JSX.Element;
5
+ Heading: (props: T.HeadingProps) => import("react/jsx-runtime").JSX.Element;
6
+ Row: (props: T.RowProps) => import("react/jsx-runtime").JSX.Element;
7
+ Body: (props: T.BodyProps) => import("react/jsx-runtime").JSX.Element;
8
+ Head: (props: T.HeadProps) => import("react/jsx-runtime").JSX.Element;
9
+ };
10
+ export default Table;
@@ -0,0 +1,45 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from "react";
3
+ import { classNames, responsiveVariables } from "../../utilities/helpers.js";
4
+ import getWidthStyles from "../../styles/width/index.js";
5
+ import getMinWidthStyles from "../../styles/minWidth/index.js";
6
+ import s from "./Table.module.css";
7
+ const TableCellPrivate = (props) => {
8
+ const { minWidth, rowSpan, colSpan, align, tagName: TagName, padding, paddingInline, paddingBlock, children, attributes, } = props;
9
+ const width = props.width === "auto" ? "0px" : props.width;
10
+ const widthStyles = getWidthStyles(width);
11
+ const minWidthStyles = getMinWidthStyles(minWidth || width);
12
+ const headingClassNames = classNames(s.cell, widthStyles === null || widthStyles === void 0 ? void 0 : widthStyles.classNames, minWidthStyles === null || minWidthStyles === void 0 ? void 0 : minWidthStyles.classNames, align && s[`cell--align-${align}`]);
13
+ const headingStyle = Object.assign(Object.assign(Object.assign(Object.assign({}, widthStyles === null || widthStyles === void 0 ? void 0 : widthStyles.variables), minWidthStyles === null || minWidthStyles === void 0 ? void 0 : minWidthStyles.variables), responsiveVariables("--rs-table-p-vertical", paddingBlock !== null && paddingBlock !== void 0 ? paddingBlock : padding)), responsiveVariables("--rs-table-p-horizontal", paddingInline !== null && paddingInline !== void 0 ? paddingInline : padding));
14
+ return (_jsx(TagName, Object.assign({}, attributes, { className: headingClassNames, rowSpan: rowSpan, colSpan: colSpan, style: headingStyle, children: children })));
15
+ };
16
+ const TableCell = (props) => {
17
+ return _jsx(TableCellPrivate, Object.assign({}, props, { tagName: "td" }));
18
+ };
19
+ const TableHeading = (props) => {
20
+ return _jsx(TableCellPrivate, Object.assign({}, props, { tagName: "th" }));
21
+ };
22
+ const TableRow = (props) => {
23
+ const { highlighted, children, attributes } = props;
24
+ const rowClassNames = classNames(s.row, highlighted && s["--row-highlighted"]);
25
+ return (_jsx("tr", Object.assign({}, attributes, { className: rowClassNames, children: children })));
26
+ };
27
+ const TableBody = (props) => {
28
+ return _jsx("tbody", { children: props.children });
29
+ };
30
+ const TableHead = (props) => {
31
+ return _jsx("thead", { children: props.children });
32
+ };
33
+ const Table = (props) => {
34
+ const { children, border, columnBorder, className, attributes } = props;
35
+ const rootClassNames = classNames(s.root, className, border && s["--border-outer"], columnBorder && s["--border-column"]);
36
+ const [firstChild] = React.Children.toArray(children);
37
+ return (_jsx("div", Object.assign({}, attributes, { className: rootClassNames, children: _jsx("table", { className: s.table, children: React.isValidElement(firstChild) &&
38
+ (firstChild.type === TableBody || firstChild.type === TableHead) ? (children) : (_jsx(TableBody, { children: children })) }) })));
39
+ };
40
+ Table.Cell = TableCell;
41
+ Table.Heading = TableHeading;
42
+ Table.Row = TableRow;
43
+ Table.Body = TableBody;
44
+ Table.Head = TableHead;
45
+ export default Table;
@@ -0,0 +1,8 @@
1
+ import type * as T from "./Tabs.types";
2
+ declare const Tabs: {
3
+ (props: T.Props): import("react/jsx-runtime").JSX.Element;
4
+ Item: import("react").ForwardRefExoticComponent<T.ItemProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
+ List: (props: T.ListProps) => import("react/jsx-runtime").JSX.Element;
6
+ Panel: (props: T.PanelProps) => import("react/jsx-runtime").JSX.Element;
7
+ };
8
+ export default Tabs;