blend-native 0.0.1-beta.0 → 0.0.1-beta.2

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 (1542) hide show
  1. package/README.md +6 -1
  2. package/lib/commonjs/adapters/cssStringAdapter.js +104 -26
  3. package/lib/commonjs/adapters/cssStringAdapter.js.map +1 -1
  4. package/lib/commonjs/adapters/surfaceStyle.js +4 -3
  5. package/lib/commonjs/adapters/surfaceStyle.js.map +1 -1
  6. package/lib/commonjs/components/Accordion/Accordion.js +78 -0
  7. package/lib/commonjs/components/Accordion/Accordion.js.map +1 -0
  8. package/lib/commonjs/components/Accordion/AccordionItem.js +185 -0
  9. package/lib/commonjs/components/Accordion/AccordionItem.js.map +1 -0
  10. package/lib/commonjs/components/Accordion/accordion.context.js +17 -0
  11. package/lib/commonjs/components/Accordion/accordion.context.js.map +1 -0
  12. package/lib/commonjs/components/Accordion/accordion.types.js +6 -0
  13. package/lib/commonjs/components/Accordion/accordion.types.js.map +1 -0
  14. package/lib/commonjs/components/Accordion/index.js +21 -0
  15. package/lib/commonjs/components/Accordion/index.js.map +1 -0
  16. package/lib/commonjs/components/Avatar/Avatar.js +132 -0
  17. package/lib/commonjs/components/Avatar/Avatar.js.map +1 -0
  18. package/lib/commonjs/components/Avatar/avatar.types.js +6 -0
  19. package/lib/commonjs/components/Avatar/avatar.types.js.map +1 -0
  20. package/lib/commonjs/components/Avatar/avatar.utils.js +68 -0
  21. package/lib/commonjs/components/Avatar/avatar.utils.js.map +1 -0
  22. package/lib/commonjs/components/Avatar/index.js +33 -0
  23. package/lib/commonjs/components/Avatar/index.js.map +1 -0
  24. package/lib/commonjs/components/Badge/Badge.js +144 -0
  25. package/lib/commonjs/components/Badge/Badge.js.map +1 -0
  26. package/lib/commonjs/components/Badge/badge.types.js +6 -0
  27. package/lib/commonjs/components/Badge/badge.types.js.map +1 -0
  28. package/lib/commonjs/components/Badge/badge.utils.js +130 -0
  29. package/lib/commonjs/components/Badge/badge.utils.js.map +1 -0
  30. package/lib/commonjs/components/Badge/index.js +14 -0
  31. package/lib/commonjs/components/Badge/index.js.map +1 -0
  32. package/lib/commonjs/components/Breadcrumb/Breadcrumb.js +211 -0
  33. package/lib/commonjs/components/Breadcrumb/Breadcrumb.js.map +1 -0
  34. package/lib/commonjs/components/Breadcrumb/breadcrumb.types.js +6 -0
  35. package/lib/commonjs/components/Breadcrumb/breadcrumb.types.js.map +1 -0
  36. package/lib/commonjs/components/Breadcrumb/breadcrumb.utils.js +110 -0
  37. package/lib/commonjs/components/Breadcrumb/breadcrumb.utils.js.map +1 -0
  38. package/lib/commonjs/components/Breadcrumb/index.js +39 -0
  39. package/lib/commonjs/components/Breadcrumb/index.js.map +1 -0
  40. package/lib/commonjs/components/Button/Button.js +1 -4
  41. package/lib/commonjs/components/Button/Button.js.map +1 -1
  42. package/lib/commonjs/components/Button/ButtonGroup.js +37 -0
  43. package/lib/commonjs/components/Button/ButtonGroup.js.map +1 -0
  44. package/lib/commonjs/components/Button/IconButton.js +54 -0
  45. package/lib/commonjs/components/Button/IconButton.js.map +1 -0
  46. package/lib/commonjs/components/Button/LinkButton.js +31 -0
  47. package/lib/commonjs/components/Button/LinkButton.js.map +1 -0
  48. package/lib/commonjs/components/Button/index.js +21 -0
  49. package/lib/commonjs/components/Button/index.js.map +1 -1
  50. package/lib/commonjs/components/Card/Card.js +215 -0
  51. package/lib/commonjs/components/Card/Card.js.map +1 -0
  52. package/lib/commonjs/components/Card/card.types.js +6 -0
  53. package/lib/commonjs/components/Card/card.types.js.map +1 -0
  54. package/lib/commonjs/components/Card/index.js +14 -0
  55. package/lib/commonjs/components/Card/index.js.map +1 -0
  56. package/lib/commonjs/components/Chart/Chart.js +545 -0
  57. package/lib/commonjs/components/Chart/Chart.js.map +1 -0
  58. package/lib/commonjs/components/Chart/ChartContainer.js +36 -0
  59. package/lib/commonjs/components/Chart/ChartContainer.js.map +1 -0
  60. package/lib/commonjs/components/Chart/ChartHeader.js +41 -0
  61. package/lib/commonjs/components/Chart/ChartHeader.js.map +1 -0
  62. package/lib/commonjs/components/Chart/ChartLegend.js +105 -0
  63. package/lib/commonjs/components/Chart/ChartLegend.js.map +1 -0
  64. package/lib/commonjs/components/Chart/ChartNoData.js +53 -0
  65. package/lib/commonjs/components/Chart/ChartNoData.js.map +1 -0
  66. package/lib/commonjs/components/Chart/ChartSkeleton.js +38 -0
  67. package/lib/commonjs/components/Chart/ChartSkeleton.js.map +1 -0
  68. package/lib/commonjs/components/Chart/chart.types.js +77 -0
  69. package/lib/commonjs/components/Chart/chart.types.js.map +1 -0
  70. package/lib/commonjs/components/Chart/index.js +49 -0
  71. package/lib/commonjs/components/Chart/index.js.map +1 -0
  72. package/lib/commonjs/components/Checkbox/Checkbox.js +132 -0
  73. package/lib/commonjs/components/Checkbox/Checkbox.js.map +1 -0
  74. package/lib/commonjs/components/Checkbox/checkbox.types.js +6 -0
  75. package/lib/commonjs/components/Checkbox/checkbox.types.js.map +1 -0
  76. package/lib/commonjs/components/Checkbox/index.js +14 -0
  77. package/lib/commonjs/components/Checkbox/index.js.map +1 -0
  78. package/lib/commonjs/components/KeyValuePair/KeyValuePair.js +90 -0
  79. package/lib/commonjs/components/KeyValuePair/KeyValuePair.js.map +1 -0
  80. package/lib/commonjs/components/KeyValuePair/index.js +14 -0
  81. package/lib/commonjs/components/KeyValuePair/index.js.map +1 -0
  82. package/lib/commonjs/components/KeyValuePair/keyValuePair.types.js +6 -0
  83. package/lib/commonjs/components/KeyValuePair/keyValuePair.types.js.map +1 -0
  84. package/lib/commonjs/components/Menu/Menu.js +175 -0
  85. package/lib/commonjs/components/Menu/Menu.js.map +1 -0
  86. package/lib/commonjs/components/Menu/index.js +14 -0
  87. package/lib/commonjs/components/Menu/index.js.map +1 -0
  88. package/lib/commonjs/components/Menu/menu.types.js +6 -0
  89. package/lib/commonjs/components/Menu/menu.types.js.map +1 -0
  90. package/lib/commonjs/components/Menu/menu.utils.js +160 -0
  91. package/lib/commonjs/components/Menu/menu.utils.js.map +1 -0
  92. package/lib/commonjs/components/Modal/Modal.js +210 -0
  93. package/lib/commonjs/components/Modal/Modal.js.map +1 -0
  94. package/lib/commonjs/components/Modal/ModalFooter.js +64 -0
  95. package/lib/commonjs/components/Modal/ModalFooter.js.map +1 -0
  96. package/lib/commonjs/components/Modal/ModalHeader.js +85 -0
  97. package/lib/commonjs/components/Modal/ModalHeader.js.map +1 -0
  98. package/lib/commonjs/components/Modal/index.js +14 -0
  99. package/lib/commonjs/components/Modal/index.js.map +1 -0
  100. package/lib/commonjs/components/Modal/modal.types.js +6 -0
  101. package/lib/commonjs/components/Modal/modal.types.js.map +1 -0
  102. package/lib/commonjs/components/MultiSelect/MultiSelect.js +249 -0
  103. package/lib/commonjs/components/MultiSelect/MultiSelect.js.map +1 -0
  104. package/lib/commonjs/components/MultiSelect/MultiSelectMenuActions.js +51 -0
  105. package/lib/commonjs/components/MultiSelect/MultiSelectMenuActions.js.map +1 -0
  106. package/lib/commonjs/components/MultiSelect/MultiSelectMenuHeader.js +113 -0
  107. package/lib/commonjs/components/MultiSelect/MultiSelectMenuHeader.js.map +1 -0
  108. package/lib/commonjs/components/MultiSelect/MultiSelectTrigger.js +195 -0
  109. package/lib/commonjs/components/MultiSelect/MultiSelectTrigger.js.map +1 -0
  110. package/lib/commonjs/components/MultiSelect/index.js +14 -0
  111. package/lib/commonjs/components/MultiSelect/index.js.map +1 -0
  112. package/lib/commonjs/components/MultiSelect/multiSelect.types.js +6 -0
  113. package/lib/commonjs/components/MultiSelect/multiSelect.types.js.map +1 -0
  114. package/lib/commonjs/components/MultiSelect/multiSelect.utils.js +270 -0
  115. package/lib/commonjs/components/MultiSelect/multiSelect.utils.js.map +1 -0
  116. package/lib/commonjs/components/NumberInput/NumberInput.js +216 -0
  117. package/lib/commonjs/components/NumberInput/NumberInput.js.map +1 -0
  118. package/lib/commonjs/components/NumberInput/index.js +69 -0
  119. package/lib/commonjs/components/NumberInput/index.js.map +1 -0
  120. package/lib/commonjs/components/NumberInput/numberInput.types.js +6 -0
  121. package/lib/commonjs/components/NumberInput/numberInput.types.js.map +1 -0
  122. package/lib/commonjs/components/NumberInput/numberInput.utils.js +90 -0
  123. package/lib/commonjs/components/NumberInput/numberInput.utils.js.map +1 -0
  124. package/lib/commonjs/components/OTPInput/OTPInput.js +153 -0
  125. package/lib/commonjs/components/OTPInput/OTPInput.js.map +1 -0
  126. package/lib/commonjs/components/OTPInput/index.js +39 -0
  127. package/lib/commonjs/components/OTPInput/index.js.map +1 -0
  128. package/lib/commonjs/components/OTPInput/otpInput.types.js +6 -0
  129. package/lib/commonjs/components/OTPInput/otpInput.types.js.map +1 -0
  130. package/lib/commonjs/components/OTPInput/otpInput.utils.js +61 -0
  131. package/lib/commonjs/components/OTPInput/otpInput.utils.js.map +1 -0
  132. package/lib/commonjs/components/OutageChart/OutageChart.js +277 -0
  133. package/lib/commonjs/components/OutageChart/OutageChart.js.map +1 -0
  134. package/lib/commonjs/components/OutageChart/index.js +14 -0
  135. package/lib/commonjs/components/OutageChart/index.js.map +1 -0
  136. package/lib/commonjs/components/OutageChart/outageChart.types.js +6 -0
  137. package/lib/commonjs/components/OutageChart/outageChart.types.js.map +1 -0
  138. package/lib/commonjs/components/OutageChart/outageChart.utils.js +124 -0
  139. package/lib/commonjs/components/OutageChart/outageChart.utils.js.map +1 -0
  140. package/lib/commonjs/components/Popover/Popover.js +138 -0
  141. package/lib/commonjs/components/Popover/Popover.js.map +1 -0
  142. package/lib/commonjs/components/Popover/PopoverFooter.js +51 -0
  143. package/lib/commonjs/components/Popover/PopoverFooter.js.map +1 -0
  144. package/lib/commonjs/components/Popover/PopoverHeader.js +70 -0
  145. package/lib/commonjs/components/Popover/PopoverHeader.js.map +1 -0
  146. package/lib/commonjs/components/Popover/index.js +14 -0
  147. package/lib/commonjs/components/Popover/index.js.map +1 -0
  148. package/lib/commonjs/components/Popover/popover.types.js +6 -0
  149. package/lib/commonjs/components/Popover/popover.types.js.map +1 -0
  150. package/lib/commonjs/components/ProgressBar/ProgressBar.js +249 -0
  151. package/lib/commonjs/components/ProgressBar/ProgressBar.js.map +1 -0
  152. package/lib/commonjs/components/ProgressBar/index.js +63 -0
  153. package/lib/commonjs/components/ProgressBar/index.js.map +1 -0
  154. package/lib/commonjs/components/ProgressBar/progressBar.types.js +6 -0
  155. package/lib/commonjs/components/ProgressBar/progressBar.types.js.map +1 -0
  156. package/lib/commonjs/components/ProgressBar/progressBar.utils.js +108 -0
  157. package/lib/commonjs/components/ProgressBar/progressBar.utils.js.map +1 -0
  158. package/lib/commonjs/components/Radio/Radio.js +122 -0
  159. package/lib/commonjs/components/Radio/Radio.js.map +1 -0
  160. package/lib/commonjs/components/Radio/index.js +14 -0
  161. package/lib/commonjs/components/Radio/index.js.map +1 -0
  162. package/lib/commonjs/components/Radio/radio.types.js +6 -0
  163. package/lib/commonjs/components/Radio/radio.types.js.map +1 -0
  164. package/lib/commonjs/components/SankeyChart/SankeyChart.js +222 -0
  165. package/lib/commonjs/components/SankeyChart/SankeyChart.js.map +1 -0
  166. package/lib/commonjs/components/SankeyChart/index.js +14 -0
  167. package/lib/commonjs/components/SankeyChart/index.js.map +1 -0
  168. package/lib/commonjs/components/SankeyChart/sankeyChart.types.js +6 -0
  169. package/lib/commonjs/components/SankeyChart/sankeyChart.types.js.map +1 -0
  170. package/lib/commonjs/components/SankeyChart/sankeyChart.utils.js +235 -0
  171. package/lib/commonjs/components/SankeyChart/sankeyChart.utils.js.map +1 -0
  172. package/lib/commonjs/components/SearchInput/SearchInput.js +127 -0
  173. package/lib/commonjs/components/SearchInput/SearchInput.js.map +1 -0
  174. package/lib/commonjs/components/SearchInput/index.js +14 -0
  175. package/lib/commonjs/components/SearchInput/index.js.map +1 -0
  176. package/lib/commonjs/components/SearchInput/searchInput.types.js +6 -0
  177. package/lib/commonjs/components/SearchInput/searchInput.types.js.map +1 -0
  178. package/lib/commonjs/components/SingleSelect/SingleSelect.js +207 -0
  179. package/lib/commonjs/components/SingleSelect/SingleSelect.js.map +1 -0
  180. package/lib/commonjs/components/SingleSelect/SingleSelectTrigger.js +142 -0
  181. package/lib/commonjs/components/SingleSelect/SingleSelectTrigger.js.map +1 -0
  182. package/lib/commonjs/components/SingleSelect/index.js +14 -0
  183. package/lib/commonjs/components/SingleSelect/index.js.map +1 -0
  184. package/lib/commonjs/components/SingleSelect/singleSelect.types.js +6 -0
  185. package/lib/commonjs/components/SingleSelect/singleSelect.types.js.map +1 -0
  186. package/lib/commonjs/components/SingleSelect/singleSelect.utils.js +133 -0
  187. package/lib/commonjs/components/SingleSelect/singleSelect.utils.js.map +1 -0
  188. package/lib/commonjs/components/Snackbar/SnackbarToast.js +114 -0
  189. package/lib/commonjs/components/Snackbar/SnackbarToast.js.map +1 -0
  190. package/lib/commonjs/components/Snackbar/index.js +39 -0
  191. package/lib/commonjs/components/Snackbar/index.js.map +1 -0
  192. package/lib/commonjs/components/Snackbar/snackbar.js +34 -0
  193. package/lib/commonjs/components/Snackbar/snackbar.js.map +1 -0
  194. package/lib/commonjs/components/Snackbar/snackbar.types.js +6 -0
  195. package/lib/commonjs/components/Snackbar/snackbar.types.js.map +1 -0
  196. package/lib/commonjs/components/Snackbar/snackbar.utils.js +31 -0
  197. package/lib/commonjs/components/Snackbar/snackbar.utils.js.map +1 -0
  198. package/lib/commonjs/components/Sparkline/Sparkline.js +167 -0
  199. package/lib/commonjs/components/Sparkline/Sparkline.js.map +1 -0
  200. package/lib/commonjs/components/Sparkline/index.js +14 -0
  201. package/lib/commonjs/components/Sparkline/index.js.map +1 -0
  202. package/lib/commonjs/components/Sparkline/sparkline.types.js +6 -0
  203. package/lib/commonjs/components/Sparkline/sparkline.types.js.map +1 -0
  204. package/lib/commonjs/components/Spinner/Spinner.js +108 -0
  205. package/lib/commonjs/components/Spinner/Spinner.js.map +1 -0
  206. package/lib/commonjs/components/Spinner/index.js +39 -0
  207. package/lib/commonjs/components/Spinner/index.js.map +1 -0
  208. package/lib/commonjs/components/Spinner/spinner.types.js +6 -0
  209. package/lib/commonjs/components/Spinner/spinner.types.js.map +1 -0
  210. package/lib/commonjs/components/Spinner/spinner.utils.js +37 -0
  211. package/lib/commonjs/components/Spinner/spinner.utils.js.map +1 -0
  212. package/lib/commonjs/components/StatCard/StatCard.js +334 -0
  213. package/lib/commonjs/components/StatCard/StatCard.js.map +1 -0
  214. package/lib/commonjs/components/StatCard/index.js +21 -0
  215. package/lib/commonjs/components/StatCard/index.js.map +1 -0
  216. package/lib/commonjs/components/StatCard/statcard.types.js +6 -0
  217. package/lib/commonjs/components/StatCard/statcard.types.js.map +1 -0
  218. package/lib/commonjs/components/StatCard/statcard.utils.js +32 -0
  219. package/lib/commonjs/components/StatCard/statcard.utils.js.map +1 -0
  220. package/lib/commonjs/components/Switch/Switch.js +124 -0
  221. package/lib/commonjs/components/Switch/Switch.js.map +1 -0
  222. package/lib/commonjs/components/Switch/index.js +14 -0
  223. package/lib/commonjs/components/Switch/index.js.map +1 -0
  224. package/lib/commonjs/components/Switch/switch.types.js +6 -0
  225. package/lib/commonjs/components/Switch/switch.types.js.map +1 -0
  226. package/lib/commonjs/components/Tabs/Tabs.js +69 -0
  227. package/lib/commonjs/components/Tabs/Tabs.js.map +1 -0
  228. package/lib/commonjs/components/Tabs/TabsContent.js +29 -0
  229. package/lib/commonjs/components/Tabs/TabsContent.js.map +1 -0
  230. package/lib/commonjs/components/Tabs/TabsList.js +142 -0
  231. package/lib/commonjs/components/Tabs/TabsList.js.map +1 -0
  232. package/lib/commonjs/components/Tabs/TabsTrigger.js +94 -0
  233. package/lib/commonjs/components/Tabs/TabsTrigger.js.map +1 -0
  234. package/lib/commonjs/components/Tabs/index.js +35 -0
  235. package/lib/commonjs/components/Tabs/index.js.map +1 -0
  236. package/lib/commonjs/components/Tabs/tabs.context.js +17 -0
  237. package/lib/commonjs/components/Tabs/tabs.context.js.map +1 -0
  238. package/lib/commonjs/components/Tabs/tabs.types.js +6 -0
  239. package/lib/commonjs/components/Tabs/tabs.types.js.map +1 -0
  240. package/lib/commonjs/components/Tag/Tag.js +2 -8
  241. package/lib/commonjs/components/Tag/Tag.js.map +1 -1
  242. package/lib/commonjs/components/Tag/TagGroup.js +34 -0
  243. package/lib/commonjs/components/Tag/TagGroup.js.map +1 -0
  244. package/lib/commonjs/components/Tag/index.js +7 -0
  245. package/lib/commonjs/components/Tag/index.js.map +1 -1
  246. package/lib/commonjs/components/TextArea/TextArea.js +127 -0
  247. package/lib/commonjs/components/TextArea/TextArea.js.map +1 -0
  248. package/lib/commonjs/components/TextArea/index.js +14 -0
  249. package/lib/commonjs/components/TextArea/index.js.map +1 -0
  250. package/lib/commonjs/components/TextArea/textArea.types.js +6 -0
  251. package/lib/commonjs/components/TextArea/textArea.types.js.map +1 -0
  252. package/lib/commonjs/components/TextInput/TextInput.js +7 -2
  253. package/lib/commonjs/components/TextInput/TextInput.js.map +1 -1
  254. package/lib/commonjs/components/Tooltip/Tooltip.js +107 -0
  255. package/lib/commonjs/components/Tooltip/Tooltip.js.map +1 -0
  256. package/lib/commonjs/components/Tooltip/index.js +14 -0
  257. package/lib/commonjs/components/Tooltip/index.js.map +1 -0
  258. package/lib/commonjs/components/Tooltip/tooltip.types.js +6 -0
  259. package/lib/commonjs/components/Tooltip/tooltip.types.js.map +1 -0
  260. package/lib/commonjs/components/Upload/Upload.js +114 -0
  261. package/lib/commonjs/components/Upload/Upload.js.map +1 -0
  262. package/lib/commonjs/components/Upload/UploadContainer.js +308 -0
  263. package/lib/commonjs/components/Upload/UploadContainer.js.map +1 -0
  264. package/lib/commonjs/components/Upload/index.js +21 -0
  265. package/lib/commonjs/components/Upload/index.js.map +1 -0
  266. package/lib/commonjs/components/Upload/upload.types.js +6 -0
  267. package/lib/commonjs/components/Upload/upload.types.js.map +1 -0
  268. package/lib/commonjs/components/Upload/upload.utils.js +172 -0
  269. package/lib/commonjs/components/Upload/upload.utils.js.map +1 -0
  270. package/lib/commonjs/components/shared/GroupView.js +62 -0
  271. package/lib/commonjs/components/shared/GroupView.js.map +1 -0
  272. package/lib/commonjs/components/shared/dropdown/DropdownContent.js +123 -0
  273. package/lib/commonjs/components/shared/dropdown/DropdownContent.js.map +1 -0
  274. package/lib/commonjs/components/shared/dropdown/DropdownItem.js +137 -0
  275. package/lib/commonjs/components/shared/dropdown/DropdownItem.js.map +1 -0
  276. package/lib/commonjs/components/shared/dropdown/DropdownList.js +136 -0
  277. package/lib/commonjs/components/shared/dropdown/DropdownList.js.map +1 -0
  278. package/lib/commonjs/components/shared/dropdown/DropdownSearch.js +54 -0
  279. package/lib/commonjs/components/shared/dropdown/DropdownSearch.js.map +1 -0
  280. package/lib/commonjs/components/shared/dropdown/DropdownSeparator.js +33 -0
  281. package/lib/commonjs/components/shared/dropdown/DropdownSeparator.js.map +1 -0
  282. package/lib/commonjs/components/shared/dropdown/dropdown.types.js +6 -0
  283. package/lib/commonjs/components/shared/dropdown/dropdown.types.js.map +1 -0
  284. package/lib/commonjs/components/shared/dropdown/dropdownFilter.js +51 -0
  285. package/lib/commonjs/components/shared/dropdown/dropdownFilter.js.map +1 -0
  286. package/lib/commonjs/components/shared/dropdown/dropdownFlatten.js +44 -0
  287. package/lib/commonjs/components/shared/dropdown/dropdownFlatten.js.map +1 -0
  288. package/lib/commonjs/components/shared/dropdown/index.js +68 -0
  289. package/lib/commonjs/components/shared/dropdown/index.js.map +1 -0
  290. package/lib/commonjs/components/shared/dropdown/useDropdown.js +53 -0
  291. package/lib/commonjs/components/shared/dropdown/useDropdown.js.map +1 -0
  292. package/lib/commonjs/components/shared/group.js +23 -0
  293. package/lib/commonjs/components/shared/group.js.map +1 -1
  294. package/lib/commonjs/components/shared/select/SelectOptionList.js +200 -0
  295. package/lib/commonjs/components/shared/select/SelectOptionList.js.map +1 -0
  296. package/lib/commonjs/components/shared/select/SelectTrigger.js +155 -0
  297. package/lib/commonjs/components/shared/select/SelectTrigger.js.map +1 -0
  298. package/lib/commonjs/components/shared/selector/SelectorContent.js +76 -0
  299. package/lib/commonjs/components/shared/selector/SelectorContent.js.map +1 -0
  300. package/lib/commonjs/hooks/useControllableState.js +28 -0
  301. package/lib/commonjs/hooks/useControllableState.js.map +1 -0
  302. package/lib/commonjs/index.js +563 -11
  303. package/lib/commonjs/index.js.map +1 -1
  304. package/lib/commonjs/overlay/anchored/AnchoredOverlay.js +216 -0
  305. package/lib/commonjs/overlay/anchored/AnchoredOverlay.js.map +1 -0
  306. package/lib/commonjs/overlay/portal.js +66 -19
  307. package/lib/commonjs/overlay/portal.js.map +1 -1
  308. package/lib/commonjs/overlay/positioning.js +88 -0
  309. package/lib/commonjs/overlay/positioning.js.map +1 -1
  310. package/lib/commonjs/overlay/sheet/BottomSheet.js +77 -10
  311. package/lib/commonjs/overlay/sheet/BottomSheet.js.map +1 -1
  312. package/lib/commonjs/overlay/sheet/SheetScrollable.js +60 -0
  313. package/lib/commonjs/overlay/sheet/SheetScrollable.js.map +1 -0
  314. package/lib/commonjs/overlay/sheet/sheetGestureContext.js +17 -0
  315. package/lib/commonjs/overlay/sheet/sheetGestureContext.js.map +1 -0
  316. package/lib/commonjs/overlay/sheet/sheetMath.js +50 -4
  317. package/lib/commonjs/overlay/sheet/sheetMath.js.map +1 -1
  318. package/lib/commonjs/overlay/toast/ToastOutlet.js +92 -22
  319. package/lib/commonjs/overlay/toast/ToastOutlet.js.map +1 -1
  320. package/lib/commonjs/overlay/useAnchoredPosition.js +82 -18
  321. package/lib/commonjs/overlay/useAnchoredPosition.js.map +1 -1
  322. package/lib/commonjs/overlay/useKeyboardHeight.js +41 -0
  323. package/lib/commonjs/overlay/useKeyboardHeight.js.map +1 -0
  324. package/lib/commonjs/primitives/Block.js.map +1 -1
  325. package/lib/commonjs/primitives/Pressable.js +13 -38
  326. package/lib/commonjs/primitives/Pressable.js.map +1 -1
  327. package/lib/commonjs/primitives/PrimitiveInput.js.map +1 -1
  328. package/lib/commonjs/primitives/Text.js.map +1 -1
  329. package/lib/commonjs/theme/nativeTokenRegistry.js +27 -1
  330. package/lib/commonjs/theme/nativeTokenRegistry.js.map +1 -1
  331. package/lib/module/adapters/cssStringAdapter.js +104 -26
  332. package/lib/module/adapters/cssStringAdapter.js.map +1 -1
  333. package/lib/module/adapters/surfaceStyle.js +4 -3
  334. package/lib/module/adapters/surfaceStyle.js.map +1 -1
  335. package/lib/module/components/Accordion/Accordion.js +73 -0
  336. package/lib/module/components/Accordion/Accordion.js.map +1 -0
  337. package/lib/module/components/Accordion/AccordionItem.js +179 -0
  338. package/lib/module/components/Accordion/AccordionItem.js.map +1 -0
  339. package/lib/module/components/Accordion/accordion.context.js +12 -0
  340. package/lib/module/components/Accordion/accordion.context.js.map +1 -0
  341. package/lib/module/components/Accordion/accordion.types.js +4 -0
  342. package/lib/module/components/Accordion/accordion.types.js.map +1 -0
  343. package/lib/module/components/Accordion/index.js +5 -0
  344. package/lib/module/components/Accordion/index.js.map +1 -0
  345. package/lib/module/components/Avatar/Avatar.js +129 -0
  346. package/lib/module/components/Avatar/Avatar.js.map +1 -0
  347. package/lib/module/components/Avatar/avatar.types.js +4 -0
  348. package/lib/module/components/Avatar/avatar.types.js.map +1 -0
  349. package/lib/module/components/Avatar/avatar.utils.js +63 -0
  350. package/lib/module/components/Avatar/avatar.utils.js.map +1 -0
  351. package/lib/module/components/Avatar/index.js +5 -0
  352. package/lib/module/components/Avatar/index.js.map +1 -0
  353. package/lib/module/components/Badge/Badge.js +139 -0
  354. package/lib/module/components/Badge/Badge.js.map +1 -0
  355. package/lib/module/components/Badge/badge.types.js +4 -0
  356. package/lib/module/components/Badge/badge.types.js.map +1 -0
  357. package/lib/module/components/Badge/badge.utils.js +124 -0
  358. package/lib/module/components/Badge/badge.utils.js.map +1 -0
  359. package/lib/module/components/Badge/index.js +4 -0
  360. package/lib/module/components/Badge/index.js.map +1 -0
  361. package/lib/module/components/Breadcrumb/Breadcrumb.js +206 -0
  362. package/lib/module/components/Breadcrumb/Breadcrumb.js.map +1 -0
  363. package/lib/module/components/Breadcrumb/breadcrumb.types.js +4 -0
  364. package/lib/module/components/Breadcrumb/breadcrumb.types.js.map +1 -0
  365. package/lib/module/components/Breadcrumb/breadcrumb.utils.js +103 -0
  366. package/lib/module/components/Breadcrumb/breadcrumb.utils.js.map +1 -0
  367. package/lib/module/components/Breadcrumb/index.js +5 -0
  368. package/lib/module/components/Breadcrumb/index.js.map +1 -0
  369. package/lib/module/components/Button/Button.js +1 -4
  370. package/lib/module/components/Button/Button.js.map +1 -1
  371. package/lib/module/components/Button/ButtonGroup.js +32 -0
  372. package/lib/module/components/Button/ButtonGroup.js.map +1 -0
  373. package/lib/module/components/Button/IconButton.js +49 -0
  374. package/lib/module/components/Button/IconButton.js.map +1 -0
  375. package/lib/module/components/Button/LinkButton.js +26 -0
  376. package/lib/module/components/Button/LinkButton.js.map +1 -0
  377. package/lib/module/components/Button/index.js +3 -0
  378. package/lib/module/components/Button/index.js.map +1 -1
  379. package/lib/module/components/Card/Card.js +210 -0
  380. package/lib/module/components/Card/Card.js.map +1 -0
  381. package/lib/module/components/Card/card.types.js +4 -0
  382. package/lib/module/components/Card/card.types.js.map +1 -0
  383. package/lib/module/components/Card/index.js +4 -0
  384. package/lib/module/components/Card/index.js.map +1 -0
  385. package/lib/module/components/Chart/Chart.js +540 -0
  386. package/lib/module/components/Chart/Chart.js.map +1 -0
  387. package/lib/module/components/Chart/ChartContainer.js +31 -0
  388. package/lib/module/components/Chart/ChartContainer.js.map +1 -0
  389. package/lib/module/components/Chart/ChartHeader.js +37 -0
  390. package/lib/module/components/Chart/ChartHeader.js.map +1 -0
  391. package/lib/module/components/Chart/ChartLegend.js +100 -0
  392. package/lib/module/components/Chart/ChartLegend.js.map +1 -0
  393. package/lib/module/components/Chart/ChartNoData.js +48 -0
  394. package/lib/module/components/Chart/ChartNoData.js.map +1 -0
  395. package/lib/module/components/Chart/ChartSkeleton.js +34 -0
  396. package/lib/module/components/Chart/ChartSkeleton.js.map +1 -0
  397. package/lib/module/components/Chart/chart.types.js +71 -0
  398. package/lib/module/components/Chart/chart.types.js.map +1 -0
  399. package/lib/module/components/Chart/index.js +9 -0
  400. package/lib/module/components/Chart/index.js.map +1 -0
  401. package/lib/module/components/Checkbox/Checkbox.js +126 -0
  402. package/lib/module/components/Checkbox/Checkbox.js.map +1 -0
  403. package/lib/module/components/Checkbox/checkbox.types.js +4 -0
  404. package/lib/module/components/Checkbox/checkbox.types.js.map +1 -0
  405. package/lib/module/components/Checkbox/index.js +4 -0
  406. package/lib/module/components/Checkbox/index.js.map +1 -0
  407. package/lib/module/components/KeyValuePair/KeyValuePair.js +85 -0
  408. package/lib/module/components/KeyValuePair/KeyValuePair.js.map +1 -0
  409. package/lib/module/components/KeyValuePair/index.js +4 -0
  410. package/lib/module/components/KeyValuePair/index.js.map +1 -0
  411. package/lib/module/components/KeyValuePair/keyValuePair.types.js +4 -0
  412. package/lib/module/components/KeyValuePair/keyValuePair.types.js.map +1 -0
  413. package/lib/module/components/Menu/Menu.js +170 -0
  414. package/lib/module/components/Menu/Menu.js.map +1 -0
  415. package/lib/module/components/Menu/index.js +4 -0
  416. package/lib/module/components/Menu/index.js.map +1 -0
  417. package/lib/module/components/Menu/menu.types.js +4 -0
  418. package/lib/module/components/Menu/menu.types.js.map +1 -0
  419. package/lib/module/components/Menu/menu.utils.js +151 -0
  420. package/lib/module/components/Menu/menu.utils.js.map +1 -0
  421. package/lib/module/components/Modal/Modal.js +204 -0
  422. package/lib/module/components/Modal/Modal.js.map +1 -0
  423. package/lib/module/components/Modal/ModalFooter.js +59 -0
  424. package/lib/module/components/Modal/ModalFooter.js.map +1 -0
  425. package/lib/module/components/Modal/ModalHeader.js +80 -0
  426. package/lib/module/components/Modal/ModalHeader.js.map +1 -0
  427. package/lib/module/components/Modal/index.js +4 -0
  428. package/lib/module/components/Modal/index.js.map +1 -0
  429. package/lib/module/components/Modal/modal.types.js +4 -0
  430. package/lib/module/components/Modal/modal.types.js.map +1 -0
  431. package/lib/module/components/MultiSelect/MultiSelect.js +244 -0
  432. package/lib/module/components/MultiSelect/MultiSelect.js.map +1 -0
  433. package/lib/module/components/MultiSelect/MultiSelectMenuActions.js +47 -0
  434. package/lib/module/components/MultiSelect/MultiSelectMenuActions.js.map +1 -0
  435. package/lib/module/components/MultiSelect/MultiSelectMenuHeader.js +109 -0
  436. package/lib/module/components/MultiSelect/MultiSelectMenuHeader.js.map +1 -0
  437. package/lib/module/components/MultiSelect/MultiSelectTrigger.js +190 -0
  438. package/lib/module/components/MultiSelect/MultiSelectTrigger.js.map +1 -0
  439. package/lib/module/components/MultiSelect/index.js +4 -0
  440. package/lib/module/components/MultiSelect/index.js.map +1 -0
  441. package/lib/module/components/MultiSelect/multiSelect.types.js +4 -0
  442. package/lib/module/components/MultiSelect/multiSelect.types.js.map +1 -0
  443. package/lib/module/components/MultiSelect/multiSelect.utils.js +231 -0
  444. package/lib/module/components/MultiSelect/multiSelect.utils.js.map +1 -0
  445. package/lib/module/components/NumberInput/NumberInput.js +213 -0
  446. package/lib/module/components/NumberInput/NumberInput.js.map +1 -0
  447. package/lib/module/components/NumberInput/index.js +5 -0
  448. package/lib/module/components/NumberInput/index.js.map +1 -0
  449. package/lib/module/components/NumberInput/numberInput.types.js +4 -0
  450. package/lib/module/components/NumberInput/numberInput.types.js.map +1 -0
  451. package/lib/module/components/NumberInput/numberInput.utils.js +78 -0
  452. package/lib/module/components/NumberInput/numberInput.utils.js.map +1 -0
  453. package/lib/module/components/OTPInput/OTPInput.js +150 -0
  454. package/lib/module/components/OTPInput/OTPInput.js.map +1 -0
  455. package/lib/module/components/OTPInput/index.js +5 -0
  456. package/lib/module/components/OTPInput/index.js.map +1 -0
  457. package/lib/module/components/OTPInput/otpInput.types.js +4 -0
  458. package/lib/module/components/OTPInput/otpInput.types.js.map +1 -0
  459. package/lib/module/components/OTPInput/otpInput.utils.js +54 -0
  460. package/lib/module/components/OTPInput/otpInput.utils.js.map +1 -0
  461. package/lib/module/components/OutageChart/OutageChart.js +275 -0
  462. package/lib/module/components/OutageChart/OutageChart.js.map +1 -0
  463. package/lib/module/components/OutageChart/index.js +4 -0
  464. package/lib/module/components/OutageChart/index.js.map +1 -0
  465. package/lib/module/components/OutageChart/outageChart.types.js +4 -0
  466. package/lib/module/components/OutageChart/outageChart.types.js.map +1 -0
  467. package/lib/module/components/OutageChart/outageChart.utils.js +117 -0
  468. package/lib/module/components/OutageChart/outageChart.utils.js.map +1 -0
  469. package/lib/module/components/Popover/Popover.js +133 -0
  470. package/lib/module/components/Popover/Popover.js.map +1 -0
  471. package/lib/module/components/Popover/PopoverFooter.js +46 -0
  472. package/lib/module/components/Popover/PopoverFooter.js.map +1 -0
  473. package/lib/module/components/Popover/PopoverHeader.js +65 -0
  474. package/lib/module/components/Popover/PopoverHeader.js.map +1 -0
  475. package/lib/module/components/Popover/index.js +4 -0
  476. package/lib/module/components/Popover/index.js.map +1 -0
  477. package/lib/module/components/Popover/popover.types.js +4 -0
  478. package/lib/module/components/Popover/popover.types.js.map +1 -0
  479. package/lib/module/components/ProgressBar/ProgressBar.js +243 -0
  480. package/lib/module/components/ProgressBar/ProgressBar.js.map +1 -0
  481. package/lib/module/components/ProgressBar/index.js +5 -0
  482. package/lib/module/components/ProgressBar/index.js.map +1 -0
  483. package/lib/module/components/ProgressBar/progressBar.types.js +4 -0
  484. package/lib/module/components/ProgressBar/progressBar.types.js.map +1 -0
  485. package/lib/module/components/ProgressBar/progressBar.utils.js +98 -0
  486. package/lib/module/components/ProgressBar/progressBar.utils.js.map +1 -0
  487. package/lib/module/components/Radio/Radio.js +116 -0
  488. package/lib/module/components/Radio/Radio.js.map +1 -0
  489. package/lib/module/components/Radio/index.js +4 -0
  490. package/lib/module/components/Radio/index.js.map +1 -0
  491. package/lib/module/components/Radio/radio.types.js +4 -0
  492. package/lib/module/components/Radio/radio.types.js.map +1 -0
  493. package/lib/module/components/SankeyChart/SankeyChart.js +219 -0
  494. package/lib/module/components/SankeyChart/SankeyChart.js.map +1 -0
  495. package/lib/module/components/SankeyChart/index.js +4 -0
  496. package/lib/module/components/SankeyChart/index.js.map +1 -0
  497. package/lib/module/components/SankeyChart/sankeyChart.types.js +4 -0
  498. package/lib/module/components/SankeyChart/sankeyChart.types.js.map +1 -0
  499. package/lib/module/components/SankeyChart/sankeyChart.utils.js +227 -0
  500. package/lib/module/components/SankeyChart/sankeyChart.utils.js.map +1 -0
  501. package/lib/module/components/SearchInput/SearchInput.js +122 -0
  502. package/lib/module/components/SearchInput/SearchInput.js.map +1 -0
  503. package/lib/module/components/SearchInput/index.js +4 -0
  504. package/lib/module/components/SearchInput/index.js.map +1 -0
  505. package/lib/module/components/SearchInput/searchInput.types.js +4 -0
  506. package/lib/module/components/SearchInput/searchInput.types.js.map +1 -0
  507. package/lib/module/components/SingleSelect/SingleSelect.js +202 -0
  508. package/lib/module/components/SingleSelect/SingleSelect.js.map +1 -0
  509. package/lib/module/components/SingleSelect/SingleSelectTrigger.js +137 -0
  510. package/lib/module/components/SingleSelect/SingleSelectTrigger.js.map +1 -0
  511. package/lib/module/components/SingleSelect/index.js +4 -0
  512. package/lib/module/components/SingleSelect/index.js.map +1 -0
  513. package/lib/module/components/SingleSelect/singleSelect.types.js +4 -0
  514. package/lib/module/components/SingleSelect/singleSelect.types.js.map +1 -0
  515. package/lib/module/components/SingleSelect/singleSelect.utils.js +123 -0
  516. package/lib/module/components/SingleSelect/singleSelect.utils.js.map +1 -0
  517. package/lib/module/components/Snackbar/SnackbarToast.js +109 -0
  518. package/lib/module/components/Snackbar/SnackbarToast.js.map +1 -0
  519. package/lib/module/components/Snackbar/index.js +6 -0
  520. package/lib/module/components/Snackbar/index.js.map +1 -0
  521. package/lib/module/components/Snackbar/snackbar.js +29 -0
  522. package/lib/module/components/Snackbar/snackbar.js.map +1 -0
  523. package/lib/module/components/Snackbar/snackbar.types.js +4 -0
  524. package/lib/module/components/Snackbar/snackbar.types.js.map +1 -0
  525. package/lib/module/components/Snackbar/snackbar.utils.js +26 -0
  526. package/lib/module/components/Snackbar/snackbar.utils.js.map +1 -0
  527. package/lib/module/components/Sparkline/Sparkline.js +163 -0
  528. package/lib/module/components/Sparkline/Sparkline.js.map +1 -0
  529. package/lib/module/components/Sparkline/index.js +4 -0
  530. package/lib/module/components/Sparkline/index.js.map +1 -0
  531. package/lib/module/components/Sparkline/sparkline.types.js +4 -0
  532. package/lib/module/components/Sparkline/sparkline.types.js.map +1 -0
  533. package/lib/module/components/Spinner/Spinner.js +105 -0
  534. package/lib/module/components/Spinner/Spinner.js.map +1 -0
  535. package/lib/module/components/Spinner/index.js +5 -0
  536. package/lib/module/components/Spinner/index.js.map +1 -0
  537. package/lib/module/components/Spinner/spinner.types.js +4 -0
  538. package/lib/module/components/Spinner/spinner.types.js.map +1 -0
  539. package/lib/module/components/Spinner/spinner.utils.js +32 -0
  540. package/lib/module/components/Spinner/spinner.utils.js.map +1 -0
  541. package/lib/module/components/StatCard/StatCard.js +333 -0
  542. package/lib/module/components/StatCard/StatCard.js.map +1 -0
  543. package/lib/module/components/StatCard/index.js +5 -0
  544. package/lib/module/components/StatCard/index.js.map +1 -0
  545. package/lib/module/components/StatCard/statcard.types.js +4 -0
  546. package/lib/module/components/StatCard/statcard.types.js.map +1 -0
  547. package/lib/module/components/StatCard/statcard.utils.js +27 -0
  548. package/lib/module/components/StatCard/statcard.utils.js.map +1 -0
  549. package/lib/module/components/Switch/Switch.js +118 -0
  550. package/lib/module/components/Switch/Switch.js.map +1 -0
  551. package/lib/module/components/Switch/index.js +4 -0
  552. package/lib/module/components/Switch/index.js.map +1 -0
  553. package/lib/module/components/Switch/switch.types.js +4 -0
  554. package/lib/module/components/Switch/switch.types.js.map +1 -0
  555. package/lib/module/components/Tabs/Tabs.js +65 -0
  556. package/lib/module/components/Tabs/Tabs.js.map +1 -0
  557. package/lib/module/components/Tabs/TabsContent.js +25 -0
  558. package/lib/module/components/Tabs/TabsContent.js.map +1 -0
  559. package/lib/module/components/Tabs/TabsList.js +137 -0
  560. package/lib/module/components/Tabs/TabsList.js.map +1 -0
  561. package/lib/module/components/Tabs/TabsTrigger.js +89 -0
  562. package/lib/module/components/Tabs/TabsTrigger.js.map +1 -0
  563. package/lib/module/components/Tabs/index.js +7 -0
  564. package/lib/module/components/Tabs/index.js.map +1 -0
  565. package/lib/module/components/Tabs/tabs.context.js +12 -0
  566. package/lib/module/components/Tabs/tabs.context.js.map +1 -0
  567. package/lib/module/components/Tabs/tabs.types.js +4 -0
  568. package/lib/module/components/Tabs/tabs.types.js.map +1 -0
  569. package/lib/module/components/Tag/Tag.js +2 -8
  570. package/lib/module/components/Tag/Tag.js.map +1 -1
  571. package/lib/module/components/Tag/TagGroup.js +29 -0
  572. package/lib/module/components/Tag/TagGroup.js.map +1 -0
  573. package/lib/module/components/Tag/index.js +1 -0
  574. package/lib/module/components/Tag/index.js.map +1 -1
  575. package/lib/module/components/TextArea/TextArea.js +122 -0
  576. package/lib/module/components/TextArea/TextArea.js.map +1 -0
  577. package/lib/module/components/TextArea/index.js +4 -0
  578. package/lib/module/components/TextArea/index.js.map +1 -0
  579. package/lib/module/components/TextArea/textArea.types.js +4 -0
  580. package/lib/module/components/TextArea/textArea.types.js.map +1 -0
  581. package/lib/module/components/TextInput/TextInput.js +7 -2
  582. package/lib/module/components/TextInput/TextInput.js.map +1 -1
  583. package/lib/module/components/Tooltip/Tooltip.js +101 -0
  584. package/lib/module/components/Tooltip/Tooltip.js.map +1 -0
  585. package/lib/module/components/Tooltip/index.js +4 -0
  586. package/lib/module/components/Tooltip/index.js.map +1 -0
  587. package/lib/module/components/Tooltip/tooltip.types.js +4 -0
  588. package/lib/module/components/Tooltip/tooltip.types.js.map +1 -0
  589. package/lib/module/components/Upload/Upload.js +110 -0
  590. package/lib/module/components/Upload/Upload.js.map +1 -0
  591. package/lib/module/components/Upload/UploadContainer.js +305 -0
  592. package/lib/module/components/Upload/UploadContainer.js.map +1 -0
  593. package/lib/module/components/Upload/index.js +5 -0
  594. package/lib/module/components/Upload/index.js.map +1 -0
  595. package/lib/module/components/Upload/upload.types.js +4 -0
  596. package/lib/module/components/Upload/upload.types.js.map +1 -0
  597. package/lib/module/components/Upload/upload.utils.js +159 -0
  598. package/lib/module/components/Upload/upload.utils.js.map +1 -0
  599. package/lib/module/components/shared/GroupView.js +60 -0
  600. package/lib/module/components/shared/GroupView.js.map +1 -0
  601. package/lib/module/components/shared/dropdown/DropdownContent.js +118 -0
  602. package/lib/module/components/shared/dropdown/DropdownContent.js.map +1 -0
  603. package/lib/module/components/shared/dropdown/DropdownItem.js +133 -0
  604. package/lib/module/components/shared/dropdown/DropdownItem.js.map +1 -0
  605. package/lib/module/components/shared/dropdown/DropdownList.js +132 -0
  606. package/lib/module/components/shared/dropdown/DropdownList.js.map +1 -0
  607. package/lib/module/components/shared/dropdown/DropdownSearch.js +50 -0
  608. package/lib/module/components/shared/dropdown/DropdownSearch.js.map +1 -0
  609. package/lib/module/components/shared/dropdown/DropdownSeparator.js +29 -0
  610. package/lib/module/components/shared/dropdown/DropdownSeparator.js.map +1 -0
  611. package/lib/module/components/shared/dropdown/dropdown.types.js +4 -0
  612. package/lib/module/components/shared/dropdown/dropdown.types.js.map +1 -0
  613. package/lib/module/components/shared/dropdown/dropdownFilter.js +46 -0
  614. package/lib/module/components/shared/dropdown/dropdownFilter.js.map +1 -0
  615. package/lib/module/components/shared/dropdown/dropdownFlatten.js +40 -0
  616. package/lib/module/components/shared/dropdown/dropdownFlatten.js.map +1 -0
  617. package/lib/module/components/shared/dropdown/index.js +11 -0
  618. package/lib/module/components/shared/dropdown/index.js.map +1 -0
  619. package/lib/module/components/shared/dropdown/useDropdown.js +49 -0
  620. package/lib/module/components/shared/dropdown/useDropdown.js.map +1 -0
  621. package/lib/module/components/shared/group.js +22 -0
  622. package/lib/module/components/shared/group.js.map +1 -1
  623. package/lib/module/components/shared/select/SelectOptionList.js +193 -0
  624. package/lib/module/components/shared/select/SelectOptionList.js.map +1 -0
  625. package/lib/module/components/shared/select/SelectTrigger.js +149 -0
  626. package/lib/module/components/shared/select/SelectTrigger.js.map +1 -0
  627. package/lib/module/components/shared/selector/SelectorContent.js +71 -0
  628. package/lib/module/components/shared/selector/SelectorContent.js.map +1 -0
  629. package/lib/module/hooks/useControllableState.js +25 -0
  630. package/lib/module/hooks/useControllableState.js.map +1 -0
  631. package/lib/module/index.js +53 -3
  632. package/lib/module/index.js.map +1 -1
  633. package/lib/module/overlay/anchored/AnchoredOverlay.js +211 -0
  634. package/lib/module/overlay/anchored/AnchoredOverlay.js.map +1 -0
  635. package/lib/module/overlay/portal.js +66 -19
  636. package/lib/module/overlay/portal.js.map +1 -1
  637. package/lib/module/overlay/positioning.js +86 -0
  638. package/lib/module/overlay/positioning.js.map +1 -1
  639. package/lib/module/overlay/sheet/BottomSheet.js +80 -13
  640. package/lib/module/overlay/sheet/BottomSheet.js.map +1 -1
  641. package/lib/module/overlay/sheet/SheetScrollable.js +56 -0
  642. package/lib/module/overlay/sheet/SheetScrollable.js.map +1 -0
  643. package/lib/module/overlay/sheet/sheetGestureContext.js +14 -0
  644. package/lib/module/overlay/sheet/sheetGestureContext.js.map +1 -0
  645. package/lib/module/overlay/sheet/sheetMath.js +46 -3
  646. package/lib/module/overlay/sheet/sheetMath.js.map +1 -1
  647. package/lib/module/overlay/toast/ToastOutlet.js +94 -24
  648. package/lib/module/overlay/toast/ToastOutlet.js.map +1 -1
  649. package/lib/module/overlay/useAnchoredPosition.js +84 -20
  650. package/lib/module/overlay/useAnchoredPosition.js.map +1 -1
  651. package/lib/module/overlay/useKeyboardHeight.js +37 -0
  652. package/lib/module/overlay/useKeyboardHeight.js.map +1 -0
  653. package/lib/module/primitives/Block.js.map +1 -1
  654. package/lib/module/primitives/Pressable.js +13 -38
  655. package/lib/module/primitives/Pressable.js.map +1 -1
  656. package/lib/module/primitives/PrimitiveInput.js.map +1 -1
  657. package/lib/module/primitives/Separator.js.map +1 -1
  658. package/lib/module/primitives/Slot.js.map +1 -1
  659. package/lib/module/primitives/Text.js.map +1 -1
  660. package/lib/module/theme/nativeTokenRegistry.js +28 -2
  661. package/lib/module/theme/nativeTokenRegistry.js.map +1 -1
  662. package/lib/typescript/commonjs/adapters/cssStringAdapter.d.ts +10 -6
  663. package/lib/typescript/commonjs/adapters/cssStringAdapter.d.ts.map +1 -1
  664. package/lib/typescript/commonjs/adapters/optionalGradient.d.ts +2 -2
  665. package/lib/typescript/commonjs/adapters/optionalGradient.d.ts.map +1 -1
  666. package/lib/typescript/commonjs/adapters/surfaceStyle.d.ts.map +1 -1
  667. package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +17 -0
  668. package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts.map +1 -0
  669. package/lib/typescript/commonjs/components/Accordion/AccordionItem.d.ts +18 -0
  670. package/lib/typescript/commonjs/components/Accordion/AccordionItem.d.ts.map +1 -0
  671. package/lib/typescript/commonjs/components/Accordion/accordion.context.d.ts +9 -0
  672. package/lib/typescript/commonjs/components/Accordion/accordion.context.d.ts.map +1 -0
  673. package/lib/typescript/commonjs/components/Accordion/accordion.types.d.ts +26 -0
  674. package/lib/typescript/commonjs/components/Accordion/accordion.types.d.ts.map +1 -0
  675. package/lib/typescript/commonjs/components/Accordion/index.d.ts +4 -0
  676. package/lib/typescript/commonjs/components/Accordion/index.d.ts.map +1 -0
  677. package/lib/typescript/commonjs/components/Alert/Alert.d.ts +12 -2
  678. package/lib/typescript/commonjs/components/Alert/Alert.d.ts.map +1 -1
  679. package/lib/typescript/commonjs/components/Alert/alert.types.d.ts +9 -11
  680. package/lib/typescript/commonjs/components/Alert/alert.types.d.ts.map +1 -1
  681. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +14 -0
  682. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts.map +1 -0
  683. package/lib/typescript/commonjs/components/Avatar/avatar.types.d.ts +52 -0
  684. package/lib/typescript/commonjs/components/Avatar/avatar.types.d.ts.map +1 -0
  685. package/lib/typescript/commonjs/components/Avatar/avatar.utils.d.ts +22 -0
  686. package/lib/typescript/commonjs/components/Avatar/avatar.utils.d.ts.map +1 -0
  687. package/lib/typescript/commonjs/components/Avatar/index.d.ts +4 -0
  688. package/lib/typescript/commonjs/components/Avatar/index.d.ts.map +1 -0
  689. package/lib/typescript/commonjs/components/Badge/Badge.d.ts +16 -0
  690. package/lib/typescript/commonjs/components/Badge/Badge.d.ts.map +1 -0
  691. package/lib/typescript/commonjs/components/Badge/badge.types.d.ts +49 -0
  692. package/lib/typescript/commonjs/components/Badge/badge.types.d.ts.map +1 -0
  693. package/lib/typescript/commonjs/components/Badge/badge.utils.d.ts +48 -0
  694. package/lib/typescript/commonjs/components/Badge/badge.utils.d.ts.map +1 -0
  695. package/lib/typescript/commonjs/components/Badge/index.d.ts +3 -0
  696. package/lib/typescript/commonjs/components/Badge/index.d.ts.map +1 -0
  697. package/lib/typescript/commonjs/components/Breadcrumb/Breadcrumb.d.ts +15 -0
  698. package/lib/typescript/commonjs/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
  699. package/lib/typescript/commonjs/components/Breadcrumb/breadcrumb.types.d.ts +63 -0
  700. package/lib/typescript/commonjs/components/Breadcrumb/breadcrumb.types.d.ts.map +1 -0
  701. package/lib/typescript/commonjs/components/Breadcrumb/breadcrumb.utils.d.ts +47 -0
  702. package/lib/typescript/commonjs/components/Breadcrumb/breadcrumb.utils.d.ts.map +1 -0
  703. package/lib/typescript/commonjs/components/Breadcrumb/index.d.ts +4 -0
  704. package/lib/typescript/commonjs/components/Breadcrumb/index.d.ts.map +1 -0
  705. package/lib/typescript/commonjs/components/Button/Button.d.ts +1 -1
  706. package/lib/typescript/commonjs/components/Button/ButtonGroup.d.ts +29 -0
  707. package/lib/typescript/commonjs/components/Button/ButtonGroup.d.ts.map +1 -0
  708. package/lib/typescript/commonjs/components/Button/IconButton.d.ts +7 -0
  709. package/lib/typescript/commonjs/components/Button/IconButton.d.ts.map +1 -0
  710. package/lib/typescript/commonjs/components/Button/LinkButton.d.ts +16 -0
  711. package/lib/typescript/commonjs/components/Button/LinkButton.d.ts.map +1 -0
  712. package/lib/typescript/commonjs/components/Button/button.types.d.ts +37 -2
  713. package/lib/typescript/commonjs/components/Button/button.types.d.ts.map +1 -1
  714. package/lib/typescript/commonjs/components/Button/index.d.ts +5 -1
  715. package/lib/typescript/commonjs/components/Button/index.d.ts.map +1 -1
  716. package/lib/typescript/commonjs/components/Card/Card.d.ts +12 -0
  717. package/lib/typescript/commonjs/components/Card/Card.d.ts.map +1 -0
  718. package/lib/typescript/commonjs/components/Card/card.types.d.ts +60 -0
  719. package/lib/typescript/commonjs/components/Card/card.types.d.ts.map +1 -0
  720. package/lib/typescript/commonjs/components/Card/index.d.ts +3 -0
  721. package/lib/typescript/commonjs/components/Card/index.d.ts.map +1 -0
  722. package/lib/typescript/commonjs/components/Chart/Chart.d.ts +13 -0
  723. package/lib/typescript/commonjs/components/Chart/Chart.d.ts.map +1 -0
  724. package/lib/typescript/commonjs/components/Chart/ChartContainer.d.ts +8 -0
  725. package/lib/typescript/commonjs/components/Chart/ChartContainer.d.ts.map +1 -0
  726. package/lib/typescript/commonjs/components/Chart/ChartHeader.d.ts +8 -0
  727. package/lib/typescript/commonjs/components/Chart/ChartHeader.d.ts.map +1 -0
  728. package/lib/typescript/commonjs/components/Chart/ChartLegend.d.ts +12 -0
  729. package/lib/typescript/commonjs/components/Chart/ChartLegend.d.ts.map +1 -0
  730. package/lib/typescript/commonjs/components/Chart/ChartNoData.d.ts +10 -0
  731. package/lib/typescript/commonjs/components/Chart/ChartNoData.d.ts.map +1 -0
  732. package/lib/typescript/commonjs/components/Chart/ChartSkeleton.d.ts +7 -0
  733. package/lib/typescript/commonjs/components/Chart/ChartSkeleton.d.ts.map +1 -0
  734. package/lib/typescript/commonjs/components/Chart/chart.types.d.ts +127 -0
  735. package/lib/typescript/commonjs/components/Chart/chart.types.d.ts.map +1 -0
  736. package/lib/typescript/commonjs/components/Chart/index.d.ts +8 -0
  737. package/lib/typescript/commonjs/components/Chart/index.d.ts.map +1 -0
  738. package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +19 -0
  739. package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts.map +1 -0
  740. package/lib/typescript/commonjs/components/Checkbox/checkbox.types.d.ts +26 -0
  741. package/lib/typescript/commonjs/components/Checkbox/checkbox.types.d.ts.map +1 -0
  742. package/lib/typescript/commonjs/components/Checkbox/index.d.ts +3 -0
  743. package/lib/typescript/commonjs/components/Checkbox/index.d.ts.map +1 -0
  744. package/lib/typescript/commonjs/components/KeyValuePair/KeyValuePair.d.ts +12 -0
  745. package/lib/typescript/commonjs/components/KeyValuePair/KeyValuePair.d.ts.map +1 -0
  746. package/lib/typescript/commonjs/components/KeyValuePair/index.d.ts +3 -0
  747. package/lib/typescript/commonjs/components/KeyValuePair/index.d.ts.map +1 -0
  748. package/lib/typescript/commonjs/components/KeyValuePair/keyValuePair.types.d.ts +37 -0
  749. package/lib/typescript/commonjs/components/KeyValuePair/keyValuePair.types.d.ts.map +1 -0
  750. package/lib/typescript/commonjs/components/Menu/Menu.d.ts +6 -0
  751. package/lib/typescript/commonjs/components/Menu/Menu.d.ts.map +1 -0
  752. package/lib/typescript/commonjs/components/Menu/index.d.ts +4 -0
  753. package/lib/typescript/commonjs/components/Menu/index.d.ts.map +1 -0
  754. package/lib/typescript/commonjs/components/Menu/menu.types.d.ts +46 -0
  755. package/lib/typescript/commonjs/components/Menu/menu.types.d.ts.map +1 -0
  756. package/lib/typescript/commonjs/components/Menu/menu.utils.d.ts +39 -0
  757. package/lib/typescript/commonjs/components/Menu/menu.utils.d.ts.map +1 -0
  758. package/lib/typescript/commonjs/components/Modal/Modal.d.ts +7 -0
  759. package/lib/typescript/commonjs/components/Modal/Modal.d.ts.map +1 -0
  760. package/lib/typescript/commonjs/components/Modal/ModalFooter.d.ts +12 -0
  761. package/lib/typescript/commonjs/components/Modal/ModalFooter.d.ts.map +1 -0
  762. package/lib/typescript/commonjs/components/Modal/ModalHeader.d.ts +20 -0
  763. package/lib/typescript/commonjs/components/Modal/ModalHeader.d.ts.map +1 -0
  764. package/lib/typescript/commonjs/components/Modal/index.d.ts +3 -0
  765. package/lib/typescript/commonjs/components/Modal/index.d.ts.map +1 -0
  766. package/lib/typescript/commonjs/components/Modal/modal.types.d.ts +55 -0
  767. package/lib/typescript/commonjs/components/Modal/modal.types.d.ts.map +1 -0
  768. package/lib/typescript/commonjs/components/MultiSelect/MultiSelect.d.ts +6 -0
  769. package/lib/typescript/commonjs/components/MultiSelect/MultiSelect.d.ts.map +1 -0
  770. package/lib/typescript/commonjs/components/MultiSelect/MultiSelectMenuActions.d.ts +18 -0
  771. package/lib/typescript/commonjs/components/MultiSelect/MultiSelectMenuActions.d.ts.map +1 -0
  772. package/lib/typescript/commonjs/components/MultiSelect/MultiSelectMenuHeader.d.ts +24 -0
  773. package/lib/typescript/commonjs/components/MultiSelect/MultiSelectMenuHeader.d.ts.map +1 -0
  774. package/lib/typescript/commonjs/components/MultiSelect/MultiSelectTrigger.d.ts +30 -0
  775. package/lib/typescript/commonjs/components/MultiSelect/MultiSelectTrigger.d.ts.map +1 -0
  776. package/lib/typescript/commonjs/components/MultiSelect/index.d.ts +4 -0
  777. package/lib/typescript/commonjs/components/MultiSelect/index.d.ts.map +1 -0
  778. package/lib/typescript/commonjs/components/MultiSelect/multiSelect.types.d.ts +64 -0
  779. package/lib/typescript/commonjs/components/MultiSelect/multiSelect.types.d.ts.map +1 -0
  780. package/lib/typescript/commonjs/components/MultiSelect/multiSelect.utils.d.ts +61 -0
  781. package/lib/typescript/commonjs/components/MultiSelect/multiSelect.utils.d.ts.map +1 -0
  782. package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +25 -0
  783. package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts.map +1 -0
  784. package/lib/typescript/commonjs/components/NumberInput/index.d.ts +4 -0
  785. package/lib/typescript/commonjs/components/NumberInput/index.d.ts.map +1 -0
  786. package/lib/typescript/commonjs/components/NumberInput/numberInput.types.d.ts +32 -0
  787. package/lib/typescript/commonjs/components/NumberInput/numberInput.types.d.ts.map +1 -0
  788. package/lib/typescript/commonjs/components/NumberInput/numberInput.utils.d.ts +25 -0
  789. package/lib/typescript/commonjs/components/NumberInput/numberInput.utils.d.ts.map +1 -0
  790. package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +19 -0
  791. package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts.map +1 -0
  792. package/lib/typescript/commonjs/components/OTPInput/index.d.ts +4 -0
  793. package/lib/typescript/commonjs/components/OTPInput/index.d.ts.map +1 -0
  794. package/lib/typescript/commonjs/components/OTPInput/otpInput.types.d.ts +19 -0
  795. package/lib/typescript/commonjs/components/OTPInput/otpInput.types.d.ts.map +1 -0
  796. package/lib/typescript/commonjs/components/OTPInput/otpInput.utils.d.ts +23 -0
  797. package/lib/typescript/commonjs/components/OTPInput/otpInput.utils.d.ts.map +1 -0
  798. package/lib/typescript/commonjs/components/OutageChart/OutageChart.d.ts +13 -0
  799. package/lib/typescript/commonjs/components/OutageChart/OutageChart.d.ts.map +1 -0
  800. package/lib/typescript/commonjs/components/OutageChart/index.d.ts +3 -0
  801. package/lib/typescript/commonjs/components/OutageChart/index.d.ts.map +1 -0
  802. package/lib/typescript/commonjs/components/OutageChart/outageChart.types.d.ts +71 -0
  803. package/lib/typescript/commonjs/components/OutageChart/outageChart.types.d.ts.map +1 -0
  804. package/lib/typescript/commonjs/components/OutageChart/outageChart.utils.d.ts +31 -0
  805. package/lib/typescript/commonjs/components/OutageChart/outageChart.utils.d.ts.map +1 -0
  806. package/lib/typescript/commonjs/components/Popover/Popover.d.ts +16 -0
  807. package/lib/typescript/commonjs/components/Popover/Popover.d.ts.map +1 -0
  808. package/lib/typescript/commonjs/components/Popover/PopoverFooter.d.ts +13 -0
  809. package/lib/typescript/commonjs/components/Popover/PopoverFooter.d.ts.map +1 -0
  810. package/lib/typescript/commonjs/components/Popover/PopoverHeader.d.ts +18 -0
  811. package/lib/typescript/commonjs/components/Popover/PopoverHeader.d.ts.map +1 -0
  812. package/lib/typescript/commonjs/components/Popover/index.d.ts +3 -0
  813. package/lib/typescript/commonjs/components/Popover/index.d.ts.map +1 -0
  814. package/lib/typescript/commonjs/components/Popover/popover.types.d.ts +55 -0
  815. package/lib/typescript/commonjs/components/Popover/popover.types.d.ts.map +1 -0
  816. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +4 -0
  817. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts.map +1 -0
  818. package/lib/typescript/commonjs/components/ProgressBar/index.d.ts +5 -0
  819. package/lib/typescript/commonjs/components/ProgressBar/index.d.ts.map +1 -0
  820. package/lib/typescript/commonjs/components/ProgressBar/progressBar.types.d.ts +28 -0
  821. package/lib/typescript/commonjs/components/ProgressBar/progressBar.types.d.ts.map +1 -0
  822. package/lib/typescript/commonjs/components/ProgressBar/progressBar.utils.d.ts +54 -0
  823. package/lib/typescript/commonjs/components/ProgressBar/progressBar.utils.d.ts.map +1 -0
  824. package/lib/typescript/commonjs/components/Radio/Radio.d.ts +19 -0
  825. package/lib/typescript/commonjs/components/Radio/Radio.d.ts.map +1 -0
  826. package/lib/typescript/commonjs/components/Radio/index.d.ts +3 -0
  827. package/lib/typescript/commonjs/components/Radio/index.d.ts.map +1 -0
  828. package/lib/typescript/commonjs/components/Radio/radio.types.d.ts +23 -0
  829. package/lib/typescript/commonjs/components/Radio/radio.types.d.ts.map +1 -0
  830. package/lib/typescript/commonjs/components/SankeyChart/SankeyChart.d.ts +16 -0
  831. package/lib/typescript/commonjs/components/SankeyChart/SankeyChart.d.ts.map +1 -0
  832. package/lib/typescript/commonjs/components/SankeyChart/index.d.ts +3 -0
  833. package/lib/typescript/commonjs/components/SankeyChart/index.d.ts.map +1 -0
  834. package/lib/typescript/commonjs/components/SankeyChart/sankeyChart.types.d.ts +86 -0
  835. package/lib/typescript/commonjs/components/SankeyChart/sankeyChart.types.d.ts.map +1 -0
  836. package/lib/typescript/commonjs/components/SankeyChart/sankeyChart.utils.d.ts +42 -0
  837. package/lib/typescript/commonjs/components/SankeyChart/sankeyChart.utils.d.ts.map +1 -0
  838. package/lib/typescript/commonjs/components/SearchInput/SearchInput.d.ts +22 -0
  839. package/lib/typescript/commonjs/components/SearchInput/SearchInput.d.ts.map +1 -0
  840. package/lib/typescript/commonjs/components/SearchInput/index.d.ts +3 -0
  841. package/lib/typescript/commonjs/components/SearchInput/index.d.ts.map +1 -0
  842. package/lib/typescript/commonjs/components/SearchInput/searchInput.types.d.ts +25 -0
  843. package/lib/typescript/commonjs/components/SearchInput/searchInput.types.d.ts.map +1 -0
  844. package/lib/typescript/commonjs/components/SingleSelect/SingleSelect.d.ts +6 -0
  845. package/lib/typescript/commonjs/components/SingleSelect/SingleSelect.d.ts.map +1 -0
  846. package/lib/typescript/commonjs/components/SingleSelect/SingleSelectTrigger.d.ts +27 -0
  847. package/lib/typescript/commonjs/components/SingleSelect/SingleSelectTrigger.d.ts.map +1 -0
  848. package/lib/typescript/commonjs/components/SingleSelect/index.d.ts +4 -0
  849. package/lib/typescript/commonjs/components/SingleSelect/index.d.ts.map +1 -0
  850. package/lib/typescript/commonjs/components/SingleSelect/singleSelect.types.d.ts +45 -0
  851. package/lib/typescript/commonjs/components/SingleSelect/singleSelect.types.d.ts.map +1 -0
  852. package/lib/typescript/commonjs/components/SingleSelect/singleSelect.utils.d.ts +30 -0
  853. package/lib/typescript/commonjs/components/SingleSelect/singleSelect.utils.d.ts.map +1 -0
  854. package/lib/typescript/commonjs/components/Skeleton/skeleton.types.d.ts +2 -2
  855. package/lib/typescript/commonjs/components/Skeleton/skeleton.types.d.ts.map +1 -1
  856. package/lib/typescript/commonjs/components/Snackbar/SnackbarToast.d.ts +14 -0
  857. package/lib/typescript/commonjs/components/Snackbar/SnackbarToast.d.ts.map +1 -0
  858. package/lib/typescript/commonjs/components/Snackbar/index.d.ts +5 -0
  859. package/lib/typescript/commonjs/components/Snackbar/index.d.ts.map +1 -0
  860. package/lib/typescript/commonjs/components/Snackbar/snackbar.d.ts +10 -0
  861. package/lib/typescript/commonjs/components/Snackbar/snackbar.d.ts.map +1 -0
  862. package/lib/typescript/commonjs/components/Snackbar/snackbar.types.d.ts +41 -0
  863. package/lib/typescript/commonjs/components/Snackbar/snackbar.types.d.ts.map +1 -0
  864. package/lib/typescript/commonjs/components/Snackbar/snackbar.utils.d.ts +4 -0
  865. package/lib/typescript/commonjs/components/Snackbar/snackbar.utils.d.ts.map +1 -0
  866. package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +4 -0
  867. package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts.map +1 -0
  868. package/lib/typescript/commonjs/components/Sparkline/index.d.ts +3 -0
  869. package/lib/typescript/commonjs/components/Sparkline/index.d.ts.map +1 -0
  870. package/lib/typescript/commonjs/components/Sparkline/sparkline.types.d.ts +27 -0
  871. package/lib/typescript/commonjs/components/Sparkline/sparkline.types.d.ts.map +1 -0
  872. package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +4 -0
  873. package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts.map +1 -0
  874. package/lib/typescript/commonjs/components/Spinner/index.d.ts +5 -0
  875. package/lib/typescript/commonjs/components/Spinner/index.d.ts.map +1 -0
  876. package/lib/typescript/commonjs/components/Spinner/spinner.types.d.ts +27 -0
  877. package/lib/typescript/commonjs/components/Spinner/spinner.types.d.ts.map +1 -0
  878. package/lib/typescript/commonjs/components/Spinner/spinner.utils.d.ts +24 -0
  879. package/lib/typescript/commonjs/components/Spinner/spinner.utils.d.ts.map +1 -0
  880. package/lib/typescript/commonjs/components/StatCard/StatCard.d.ts +12 -0
  881. package/lib/typescript/commonjs/components/StatCard/StatCard.d.ts.map +1 -0
  882. package/lib/typescript/commonjs/components/StatCard/index.d.ts +4 -0
  883. package/lib/typescript/commonjs/components/StatCard/index.d.ts.map +1 -0
  884. package/lib/typescript/commonjs/components/StatCard/statcard.types.d.ts +68 -0
  885. package/lib/typescript/commonjs/components/StatCard/statcard.types.d.ts.map +1 -0
  886. package/lib/typescript/commonjs/components/StatCard/statcard.utils.d.ts +13 -0
  887. package/lib/typescript/commonjs/components/StatCard/statcard.utils.d.ts.map +1 -0
  888. package/lib/typescript/commonjs/components/Switch/Switch.d.ts +19 -0
  889. package/lib/typescript/commonjs/components/Switch/Switch.d.ts.map +1 -0
  890. package/lib/typescript/commonjs/components/Switch/index.d.ts +3 -0
  891. package/lib/typescript/commonjs/components/Switch/index.d.ts.map +1 -0
  892. package/lib/typescript/commonjs/components/Switch/switch.types.d.ts +18 -0
  893. package/lib/typescript/commonjs/components/Switch/switch.types.d.ts.map +1 -0
  894. package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +18 -0
  895. package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts.map +1 -0
  896. package/lib/typescript/commonjs/components/Tabs/TabsContent.d.ts +6 -0
  897. package/lib/typescript/commonjs/components/Tabs/TabsContent.d.ts.map +1 -0
  898. package/lib/typescript/commonjs/components/Tabs/TabsList.d.ts +14 -0
  899. package/lib/typescript/commonjs/components/Tabs/TabsList.d.ts.map +1 -0
  900. package/lib/typescript/commonjs/components/Tabs/TabsTrigger.d.ts +10 -0
  901. package/lib/typescript/commonjs/components/Tabs/TabsTrigger.d.ts.map +1 -0
  902. package/lib/typescript/commonjs/components/Tabs/index.d.ts +6 -0
  903. package/lib/typescript/commonjs/components/Tabs/index.d.ts.map +1 -0
  904. package/lib/typescript/commonjs/components/Tabs/tabs.context.d.ts +23 -0
  905. package/lib/typescript/commonjs/components/Tabs/tabs.context.d.ts.map +1 -0
  906. package/lib/typescript/commonjs/components/Tabs/tabs.types.d.ts +43 -0
  907. package/lib/typescript/commonjs/components/Tabs/tabs.types.d.ts.map +1 -0
  908. package/lib/typescript/commonjs/components/Tag/Tag.d.ts +10 -2
  909. package/lib/typescript/commonjs/components/Tag/Tag.d.ts.map +1 -1
  910. package/lib/typescript/commonjs/components/Tag/TagGroup.d.ts +26 -0
  911. package/lib/typescript/commonjs/components/Tag/TagGroup.d.ts.map +1 -0
  912. package/lib/typescript/commonjs/components/Tag/index.d.ts +2 -0
  913. package/lib/typescript/commonjs/components/Tag/index.d.ts.map +1 -1
  914. package/lib/typescript/commonjs/components/Tag/tag.types.d.ts +12 -13
  915. package/lib/typescript/commonjs/components/Tag/tag.types.d.ts.map +1 -1
  916. package/lib/typescript/commonjs/components/TextArea/TextArea.d.ts +21 -0
  917. package/lib/typescript/commonjs/components/TextArea/TextArea.d.ts.map +1 -0
  918. package/lib/typescript/commonjs/components/TextArea/index.d.ts +3 -0
  919. package/lib/typescript/commonjs/components/TextArea/index.d.ts.map +1 -0
  920. package/lib/typescript/commonjs/components/TextArea/textArea.types.d.ts +28 -0
  921. package/lib/typescript/commonjs/components/TextArea/textArea.types.d.ts.map +1 -0
  922. package/lib/typescript/commonjs/components/TextInput/TextInput.d.ts +5 -10
  923. package/lib/typescript/commonjs/components/TextInput/TextInput.d.ts.map +1 -1
  924. package/lib/typescript/commonjs/components/TextInput/textInput.types.d.ts +22 -17
  925. package/lib/typescript/commonjs/components/TextInput/textInput.types.d.ts.map +1 -1
  926. package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +7 -0
  927. package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts.map +1 -0
  928. package/lib/typescript/commonjs/components/Tooltip/index.d.ts +3 -0
  929. package/lib/typescript/commonjs/components/Tooltip/index.d.ts.map +1 -0
  930. package/lib/typescript/commonjs/components/Tooltip/tooltip.types.d.ts +27 -0
  931. package/lib/typescript/commonjs/components/Tooltip/tooltip.types.d.ts.map +1 -0
  932. package/lib/typescript/commonjs/components/Upload/Upload.d.ts +23 -0
  933. package/lib/typescript/commonjs/components/Upload/Upload.d.ts.map +1 -0
  934. package/lib/typescript/commonjs/components/Upload/UploadContainer.d.ts +40 -0
  935. package/lib/typescript/commonjs/components/Upload/UploadContainer.d.ts.map +1 -0
  936. package/lib/typescript/commonjs/components/Upload/index.d.ts +4 -0
  937. package/lib/typescript/commonjs/components/Upload/index.d.ts.map +1 -0
  938. package/lib/typescript/commonjs/components/Upload/upload.types.d.ts +43 -0
  939. package/lib/typescript/commonjs/components/Upload/upload.types.d.ts.map +1 -0
  940. package/lib/typescript/commonjs/components/Upload/upload.utils.d.ts +71 -0
  941. package/lib/typescript/commonjs/components/Upload/upload.utils.d.ts.map +1 -0
  942. package/lib/typescript/commonjs/components/shared/GroupView.d.ts +15 -0
  943. package/lib/typescript/commonjs/components/shared/GroupView.d.ts.map +1 -0
  944. package/lib/typescript/commonjs/components/shared/dropdown/DropdownContent.d.ts +28 -0
  945. package/lib/typescript/commonjs/components/shared/dropdown/DropdownContent.d.ts.map +1 -0
  946. package/lib/typescript/commonjs/components/shared/dropdown/DropdownItem.d.ts +25 -0
  947. package/lib/typescript/commonjs/components/shared/dropdown/DropdownItem.d.ts.map +1 -0
  948. package/lib/typescript/commonjs/components/shared/dropdown/DropdownList.d.ts +30 -0
  949. package/lib/typescript/commonjs/components/shared/dropdown/DropdownList.d.ts.map +1 -0
  950. package/lib/typescript/commonjs/components/shared/dropdown/DropdownSearch.d.ts +17 -0
  951. package/lib/typescript/commonjs/components/shared/dropdown/DropdownSearch.d.ts.map +1 -0
  952. package/lib/typescript/commonjs/components/shared/dropdown/DropdownSeparator.d.ts +14 -0
  953. package/lib/typescript/commonjs/components/shared/dropdown/DropdownSeparator.d.ts.map +1 -0
  954. package/lib/typescript/commonjs/components/shared/dropdown/dropdown.types.d.ts +100 -0
  955. package/lib/typescript/commonjs/components/shared/dropdown/dropdown.types.d.ts.map +1 -0
  956. package/lib/typescript/commonjs/components/shared/dropdown/dropdownFilter.d.ts +25 -0
  957. package/lib/typescript/commonjs/components/shared/dropdown/dropdownFilter.d.ts.map +1 -0
  958. package/lib/typescript/commonjs/components/shared/dropdown/dropdownFlatten.d.ts +14 -0
  959. package/lib/typescript/commonjs/components/shared/dropdown/dropdownFlatten.d.ts.map +1 -0
  960. package/lib/typescript/commonjs/components/shared/dropdown/index.d.ts +16 -0
  961. package/lib/typescript/commonjs/components/shared/dropdown/index.d.ts.map +1 -0
  962. package/lib/typescript/commonjs/components/shared/dropdown/useDropdown.d.ts +29 -0
  963. package/lib/typescript/commonjs/components/shared/dropdown/useDropdown.d.ts.map +1 -0
  964. package/lib/typescript/commonjs/components/shared/field/FieldFooter.d.ts +2 -2
  965. package/lib/typescript/commonjs/components/shared/field/FieldFooter.d.ts.map +1 -1
  966. package/lib/typescript/commonjs/components/shared/field/FieldLabels.d.ts +2 -2
  967. package/lib/typescript/commonjs/components/shared/field/FieldLabels.d.ts.map +1 -1
  968. package/lib/typescript/commonjs/components/shared/group.d.ts +16 -0
  969. package/lib/typescript/commonjs/components/shared/group.d.ts.map +1 -1
  970. package/lib/typescript/commonjs/components/shared/select/SelectOptionList.d.ts +98 -0
  971. package/lib/typescript/commonjs/components/shared/select/SelectOptionList.d.ts.map +1 -0
  972. package/lib/typescript/commonjs/components/shared/select/SelectTrigger.d.ts +91 -0
  973. package/lib/typescript/commonjs/components/shared/select/SelectTrigger.d.ts.map +1 -0
  974. package/lib/typescript/commonjs/components/shared/selector/SelectorContent.d.ts +43 -0
  975. package/lib/typescript/commonjs/components/shared/selector/SelectorContent.d.ts.map +1 -0
  976. package/lib/typescript/commonjs/hooks/useControllableState.d.ts +10 -0
  977. package/lib/typescript/commonjs/hooks/useControllableState.d.ts.map +1 -0
  978. package/lib/typescript/commonjs/index.d.ts +74 -3
  979. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  980. package/lib/typescript/commonjs/overlay/anchored/AnchoredOverlay.d.ts +60 -0
  981. package/lib/typescript/commonjs/overlay/anchored/AnchoredOverlay.d.ts.map +1 -0
  982. package/lib/typescript/commonjs/overlay/portal.d.ts +12 -1
  983. package/lib/typescript/commonjs/overlay/portal.d.ts.map +1 -1
  984. package/lib/typescript/commonjs/overlay/positioning.d.ts +48 -0
  985. package/lib/typescript/commonjs/overlay/positioning.d.ts.map +1 -1
  986. package/lib/typescript/commonjs/overlay/sheet/BottomSheet.d.ts +15 -3
  987. package/lib/typescript/commonjs/overlay/sheet/BottomSheet.d.ts.map +1 -1
  988. package/lib/typescript/commonjs/overlay/sheet/SheetScrollable.d.ts +39 -0
  989. package/lib/typescript/commonjs/overlay/sheet/SheetScrollable.d.ts.map +1 -0
  990. package/lib/typescript/commonjs/overlay/sheet/sheetGestureContext.d.ts +15 -0
  991. package/lib/typescript/commonjs/overlay/sheet/sheetGestureContext.d.ts.map +1 -0
  992. package/lib/typescript/commonjs/overlay/sheet/sheetMath.d.ts +29 -2
  993. package/lib/typescript/commonjs/overlay/sheet/sheetMath.d.ts.map +1 -1
  994. package/lib/typescript/commonjs/overlay/toast/ToastOutlet.d.ts +9 -7
  995. package/lib/typescript/commonjs/overlay/toast/ToastOutlet.d.ts.map +1 -1
  996. package/lib/typescript/commonjs/overlay/useAnchoredPosition.d.ts +35 -8
  997. package/lib/typescript/commonjs/overlay/useAnchoredPosition.d.ts.map +1 -1
  998. package/lib/typescript/commonjs/overlay/useKeyboardHeight.d.ts +15 -0
  999. package/lib/typescript/commonjs/overlay/useKeyboardHeight.d.ts.map +1 -0
  1000. package/lib/typescript/commonjs/primitives/Block.d.ts +3 -3
  1001. package/lib/typescript/commonjs/primitives/Block.d.ts.map +1 -1
  1002. package/lib/typescript/commonjs/primitives/Pressable.d.ts +3 -3
  1003. package/lib/typescript/commonjs/primitives/Pressable.d.ts.map +1 -1
  1004. package/lib/typescript/commonjs/primitives/PrimitiveInput.d.ts +3 -3
  1005. package/lib/typescript/commonjs/primitives/PrimitiveInput.d.ts.map +1 -1
  1006. package/lib/typescript/commonjs/primitives/Separator.d.ts +2 -2
  1007. package/lib/typescript/commonjs/primitives/Separator.d.ts.map +1 -1
  1008. package/lib/typescript/commonjs/primitives/Slot.d.ts +2 -2
  1009. package/lib/typescript/commonjs/primitives/Slot.d.ts.map +1 -1
  1010. package/lib/typescript/commonjs/primitives/Text.d.ts +2 -2
  1011. package/lib/typescript/commonjs/primitives/Text.d.ts.map +1 -1
  1012. package/lib/typescript/commonjs/theme/nativeTokenRegistry.d.ts +26 -0
  1013. package/lib/typescript/commonjs/theme/nativeTokenRegistry.d.ts.map +1 -1
  1014. package/lib/typescript/module/adapters/cssStringAdapter.d.ts +10 -6
  1015. package/lib/typescript/module/adapters/cssStringAdapter.d.ts.map +1 -1
  1016. package/lib/typescript/module/adapters/optionalGradient.d.ts +2 -2
  1017. package/lib/typescript/module/adapters/optionalGradient.d.ts.map +1 -1
  1018. package/lib/typescript/module/adapters/surfaceStyle.d.ts.map +1 -1
  1019. package/lib/typescript/module/components/Accordion/Accordion.d.ts +17 -0
  1020. package/lib/typescript/module/components/Accordion/Accordion.d.ts.map +1 -0
  1021. package/lib/typescript/module/components/Accordion/AccordionItem.d.ts +18 -0
  1022. package/lib/typescript/module/components/Accordion/AccordionItem.d.ts.map +1 -0
  1023. package/lib/typescript/module/components/Accordion/accordion.context.d.ts +9 -0
  1024. package/lib/typescript/module/components/Accordion/accordion.context.d.ts.map +1 -0
  1025. package/lib/typescript/module/components/Accordion/accordion.types.d.ts +26 -0
  1026. package/lib/typescript/module/components/Accordion/accordion.types.d.ts.map +1 -0
  1027. package/lib/typescript/module/components/Accordion/index.d.ts +4 -0
  1028. package/lib/typescript/module/components/Accordion/index.d.ts.map +1 -0
  1029. package/lib/typescript/module/components/Alert/Alert.d.ts +12 -2
  1030. package/lib/typescript/module/components/Alert/Alert.d.ts.map +1 -1
  1031. package/lib/typescript/module/components/Alert/alert.types.d.ts +9 -11
  1032. package/lib/typescript/module/components/Alert/alert.types.d.ts.map +1 -1
  1033. package/lib/typescript/module/components/Avatar/Avatar.d.ts +14 -0
  1034. package/lib/typescript/module/components/Avatar/Avatar.d.ts.map +1 -0
  1035. package/lib/typescript/module/components/Avatar/avatar.types.d.ts +52 -0
  1036. package/lib/typescript/module/components/Avatar/avatar.types.d.ts.map +1 -0
  1037. package/lib/typescript/module/components/Avatar/avatar.utils.d.ts +22 -0
  1038. package/lib/typescript/module/components/Avatar/avatar.utils.d.ts.map +1 -0
  1039. package/lib/typescript/module/components/Avatar/index.d.ts +4 -0
  1040. package/lib/typescript/module/components/Avatar/index.d.ts.map +1 -0
  1041. package/lib/typescript/module/components/Badge/Badge.d.ts +16 -0
  1042. package/lib/typescript/module/components/Badge/Badge.d.ts.map +1 -0
  1043. package/lib/typescript/module/components/Badge/badge.types.d.ts +49 -0
  1044. package/lib/typescript/module/components/Badge/badge.types.d.ts.map +1 -0
  1045. package/lib/typescript/module/components/Badge/badge.utils.d.ts +48 -0
  1046. package/lib/typescript/module/components/Badge/badge.utils.d.ts.map +1 -0
  1047. package/lib/typescript/module/components/Badge/index.d.ts +3 -0
  1048. package/lib/typescript/module/components/Badge/index.d.ts.map +1 -0
  1049. package/lib/typescript/module/components/Breadcrumb/Breadcrumb.d.ts +15 -0
  1050. package/lib/typescript/module/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
  1051. package/lib/typescript/module/components/Breadcrumb/breadcrumb.types.d.ts +63 -0
  1052. package/lib/typescript/module/components/Breadcrumb/breadcrumb.types.d.ts.map +1 -0
  1053. package/lib/typescript/module/components/Breadcrumb/breadcrumb.utils.d.ts +47 -0
  1054. package/lib/typescript/module/components/Breadcrumb/breadcrumb.utils.d.ts.map +1 -0
  1055. package/lib/typescript/module/components/Breadcrumb/index.d.ts +4 -0
  1056. package/lib/typescript/module/components/Breadcrumb/index.d.ts.map +1 -0
  1057. package/lib/typescript/module/components/Button/Button.d.ts +1 -1
  1058. package/lib/typescript/module/components/Button/ButtonGroup.d.ts +29 -0
  1059. package/lib/typescript/module/components/Button/ButtonGroup.d.ts.map +1 -0
  1060. package/lib/typescript/module/components/Button/IconButton.d.ts +7 -0
  1061. package/lib/typescript/module/components/Button/IconButton.d.ts.map +1 -0
  1062. package/lib/typescript/module/components/Button/LinkButton.d.ts +16 -0
  1063. package/lib/typescript/module/components/Button/LinkButton.d.ts.map +1 -0
  1064. package/lib/typescript/module/components/Button/button.types.d.ts +37 -2
  1065. package/lib/typescript/module/components/Button/button.types.d.ts.map +1 -1
  1066. package/lib/typescript/module/components/Button/index.d.ts +5 -1
  1067. package/lib/typescript/module/components/Button/index.d.ts.map +1 -1
  1068. package/lib/typescript/module/components/Card/Card.d.ts +12 -0
  1069. package/lib/typescript/module/components/Card/Card.d.ts.map +1 -0
  1070. package/lib/typescript/module/components/Card/card.types.d.ts +60 -0
  1071. package/lib/typescript/module/components/Card/card.types.d.ts.map +1 -0
  1072. package/lib/typescript/module/components/Card/index.d.ts +3 -0
  1073. package/lib/typescript/module/components/Card/index.d.ts.map +1 -0
  1074. package/lib/typescript/module/components/Chart/Chart.d.ts +13 -0
  1075. package/lib/typescript/module/components/Chart/Chart.d.ts.map +1 -0
  1076. package/lib/typescript/module/components/Chart/ChartContainer.d.ts +8 -0
  1077. package/lib/typescript/module/components/Chart/ChartContainer.d.ts.map +1 -0
  1078. package/lib/typescript/module/components/Chart/ChartHeader.d.ts +8 -0
  1079. package/lib/typescript/module/components/Chart/ChartHeader.d.ts.map +1 -0
  1080. package/lib/typescript/module/components/Chart/ChartLegend.d.ts +12 -0
  1081. package/lib/typescript/module/components/Chart/ChartLegend.d.ts.map +1 -0
  1082. package/lib/typescript/module/components/Chart/ChartNoData.d.ts +10 -0
  1083. package/lib/typescript/module/components/Chart/ChartNoData.d.ts.map +1 -0
  1084. package/lib/typescript/module/components/Chart/ChartSkeleton.d.ts +7 -0
  1085. package/lib/typescript/module/components/Chart/ChartSkeleton.d.ts.map +1 -0
  1086. package/lib/typescript/module/components/Chart/chart.types.d.ts +127 -0
  1087. package/lib/typescript/module/components/Chart/chart.types.d.ts.map +1 -0
  1088. package/lib/typescript/module/components/Chart/index.d.ts +8 -0
  1089. package/lib/typescript/module/components/Chart/index.d.ts.map +1 -0
  1090. package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +19 -0
  1091. package/lib/typescript/module/components/Checkbox/Checkbox.d.ts.map +1 -0
  1092. package/lib/typescript/module/components/Checkbox/checkbox.types.d.ts +26 -0
  1093. package/lib/typescript/module/components/Checkbox/checkbox.types.d.ts.map +1 -0
  1094. package/lib/typescript/module/components/Checkbox/index.d.ts +3 -0
  1095. package/lib/typescript/module/components/Checkbox/index.d.ts.map +1 -0
  1096. package/lib/typescript/module/components/KeyValuePair/KeyValuePair.d.ts +12 -0
  1097. package/lib/typescript/module/components/KeyValuePair/KeyValuePair.d.ts.map +1 -0
  1098. package/lib/typescript/module/components/KeyValuePair/index.d.ts +3 -0
  1099. package/lib/typescript/module/components/KeyValuePair/index.d.ts.map +1 -0
  1100. package/lib/typescript/module/components/KeyValuePair/keyValuePair.types.d.ts +37 -0
  1101. package/lib/typescript/module/components/KeyValuePair/keyValuePair.types.d.ts.map +1 -0
  1102. package/lib/typescript/module/components/Menu/Menu.d.ts +6 -0
  1103. package/lib/typescript/module/components/Menu/Menu.d.ts.map +1 -0
  1104. package/lib/typescript/module/components/Menu/index.d.ts +4 -0
  1105. package/lib/typescript/module/components/Menu/index.d.ts.map +1 -0
  1106. package/lib/typescript/module/components/Menu/menu.types.d.ts +46 -0
  1107. package/lib/typescript/module/components/Menu/menu.types.d.ts.map +1 -0
  1108. package/lib/typescript/module/components/Menu/menu.utils.d.ts +39 -0
  1109. package/lib/typescript/module/components/Menu/menu.utils.d.ts.map +1 -0
  1110. package/lib/typescript/module/components/Modal/Modal.d.ts +7 -0
  1111. package/lib/typescript/module/components/Modal/Modal.d.ts.map +1 -0
  1112. package/lib/typescript/module/components/Modal/ModalFooter.d.ts +12 -0
  1113. package/lib/typescript/module/components/Modal/ModalFooter.d.ts.map +1 -0
  1114. package/lib/typescript/module/components/Modal/ModalHeader.d.ts +20 -0
  1115. package/lib/typescript/module/components/Modal/ModalHeader.d.ts.map +1 -0
  1116. package/lib/typescript/module/components/Modal/index.d.ts +3 -0
  1117. package/lib/typescript/module/components/Modal/index.d.ts.map +1 -0
  1118. package/lib/typescript/module/components/Modal/modal.types.d.ts +55 -0
  1119. package/lib/typescript/module/components/Modal/modal.types.d.ts.map +1 -0
  1120. package/lib/typescript/module/components/MultiSelect/MultiSelect.d.ts +6 -0
  1121. package/lib/typescript/module/components/MultiSelect/MultiSelect.d.ts.map +1 -0
  1122. package/lib/typescript/module/components/MultiSelect/MultiSelectMenuActions.d.ts +18 -0
  1123. package/lib/typescript/module/components/MultiSelect/MultiSelectMenuActions.d.ts.map +1 -0
  1124. package/lib/typescript/module/components/MultiSelect/MultiSelectMenuHeader.d.ts +24 -0
  1125. package/lib/typescript/module/components/MultiSelect/MultiSelectMenuHeader.d.ts.map +1 -0
  1126. package/lib/typescript/module/components/MultiSelect/MultiSelectTrigger.d.ts +30 -0
  1127. package/lib/typescript/module/components/MultiSelect/MultiSelectTrigger.d.ts.map +1 -0
  1128. package/lib/typescript/module/components/MultiSelect/index.d.ts +4 -0
  1129. package/lib/typescript/module/components/MultiSelect/index.d.ts.map +1 -0
  1130. package/lib/typescript/module/components/MultiSelect/multiSelect.types.d.ts +64 -0
  1131. package/lib/typescript/module/components/MultiSelect/multiSelect.types.d.ts.map +1 -0
  1132. package/lib/typescript/module/components/MultiSelect/multiSelect.utils.d.ts +61 -0
  1133. package/lib/typescript/module/components/MultiSelect/multiSelect.utils.d.ts.map +1 -0
  1134. package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +25 -0
  1135. package/lib/typescript/module/components/NumberInput/NumberInput.d.ts.map +1 -0
  1136. package/lib/typescript/module/components/NumberInput/index.d.ts +4 -0
  1137. package/lib/typescript/module/components/NumberInput/index.d.ts.map +1 -0
  1138. package/lib/typescript/module/components/NumberInput/numberInput.types.d.ts +32 -0
  1139. package/lib/typescript/module/components/NumberInput/numberInput.types.d.ts.map +1 -0
  1140. package/lib/typescript/module/components/NumberInput/numberInput.utils.d.ts +25 -0
  1141. package/lib/typescript/module/components/NumberInput/numberInput.utils.d.ts.map +1 -0
  1142. package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +19 -0
  1143. package/lib/typescript/module/components/OTPInput/OTPInput.d.ts.map +1 -0
  1144. package/lib/typescript/module/components/OTPInput/index.d.ts +4 -0
  1145. package/lib/typescript/module/components/OTPInput/index.d.ts.map +1 -0
  1146. package/lib/typescript/module/components/OTPInput/otpInput.types.d.ts +19 -0
  1147. package/lib/typescript/module/components/OTPInput/otpInput.types.d.ts.map +1 -0
  1148. package/lib/typescript/module/components/OTPInput/otpInput.utils.d.ts +23 -0
  1149. package/lib/typescript/module/components/OTPInput/otpInput.utils.d.ts.map +1 -0
  1150. package/lib/typescript/module/components/OutageChart/OutageChart.d.ts +13 -0
  1151. package/lib/typescript/module/components/OutageChart/OutageChart.d.ts.map +1 -0
  1152. package/lib/typescript/module/components/OutageChart/index.d.ts +3 -0
  1153. package/lib/typescript/module/components/OutageChart/index.d.ts.map +1 -0
  1154. package/lib/typescript/module/components/OutageChart/outageChart.types.d.ts +71 -0
  1155. package/lib/typescript/module/components/OutageChart/outageChart.types.d.ts.map +1 -0
  1156. package/lib/typescript/module/components/OutageChart/outageChart.utils.d.ts +31 -0
  1157. package/lib/typescript/module/components/OutageChart/outageChart.utils.d.ts.map +1 -0
  1158. package/lib/typescript/module/components/Popover/Popover.d.ts +16 -0
  1159. package/lib/typescript/module/components/Popover/Popover.d.ts.map +1 -0
  1160. package/lib/typescript/module/components/Popover/PopoverFooter.d.ts +13 -0
  1161. package/lib/typescript/module/components/Popover/PopoverFooter.d.ts.map +1 -0
  1162. package/lib/typescript/module/components/Popover/PopoverHeader.d.ts +18 -0
  1163. package/lib/typescript/module/components/Popover/PopoverHeader.d.ts.map +1 -0
  1164. package/lib/typescript/module/components/Popover/index.d.ts +3 -0
  1165. package/lib/typescript/module/components/Popover/index.d.ts.map +1 -0
  1166. package/lib/typescript/module/components/Popover/popover.types.d.ts +55 -0
  1167. package/lib/typescript/module/components/Popover/popover.types.d.ts.map +1 -0
  1168. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +4 -0
  1169. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts.map +1 -0
  1170. package/lib/typescript/module/components/ProgressBar/index.d.ts +5 -0
  1171. package/lib/typescript/module/components/ProgressBar/index.d.ts.map +1 -0
  1172. package/lib/typescript/module/components/ProgressBar/progressBar.types.d.ts +28 -0
  1173. package/lib/typescript/module/components/ProgressBar/progressBar.types.d.ts.map +1 -0
  1174. package/lib/typescript/module/components/ProgressBar/progressBar.utils.d.ts +54 -0
  1175. package/lib/typescript/module/components/ProgressBar/progressBar.utils.d.ts.map +1 -0
  1176. package/lib/typescript/module/components/Radio/Radio.d.ts +19 -0
  1177. package/lib/typescript/module/components/Radio/Radio.d.ts.map +1 -0
  1178. package/lib/typescript/module/components/Radio/index.d.ts +3 -0
  1179. package/lib/typescript/module/components/Radio/index.d.ts.map +1 -0
  1180. package/lib/typescript/module/components/Radio/radio.types.d.ts +23 -0
  1181. package/lib/typescript/module/components/Radio/radio.types.d.ts.map +1 -0
  1182. package/lib/typescript/module/components/SankeyChart/SankeyChart.d.ts +16 -0
  1183. package/lib/typescript/module/components/SankeyChart/SankeyChart.d.ts.map +1 -0
  1184. package/lib/typescript/module/components/SankeyChart/index.d.ts +3 -0
  1185. package/lib/typescript/module/components/SankeyChart/index.d.ts.map +1 -0
  1186. package/lib/typescript/module/components/SankeyChart/sankeyChart.types.d.ts +86 -0
  1187. package/lib/typescript/module/components/SankeyChart/sankeyChart.types.d.ts.map +1 -0
  1188. package/lib/typescript/module/components/SankeyChart/sankeyChart.utils.d.ts +42 -0
  1189. package/lib/typescript/module/components/SankeyChart/sankeyChart.utils.d.ts.map +1 -0
  1190. package/lib/typescript/module/components/SearchInput/SearchInput.d.ts +22 -0
  1191. package/lib/typescript/module/components/SearchInput/SearchInput.d.ts.map +1 -0
  1192. package/lib/typescript/module/components/SearchInput/index.d.ts +3 -0
  1193. package/lib/typescript/module/components/SearchInput/index.d.ts.map +1 -0
  1194. package/lib/typescript/module/components/SearchInput/searchInput.types.d.ts +25 -0
  1195. package/lib/typescript/module/components/SearchInput/searchInput.types.d.ts.map +1 -0
  1196. package/lib/typescript/module/components/SingleSelect/SingleSelect.d.ts +6 -0
  1197. package/lib/typescript/module/components/SingleSelect/SingleSelect.d.ts.map +1 -0
  1198. package/lib/typescript/module/components/SingleSelect/SingleSelectTrigger.d.ts +27 -0
  1199. package/lib/typescript/module/components/SingleSelect/SingleSelectTrigger.d.ts.map +1 -0
  1200. package/lib/typescript/module/components/SingleSelect/index.d.ts +4 -0
  1201. package/lib/typescript/module/components/SingleSelect/index.d.ts.map +1 -0
  1202. package/lib/typescript/module/components/SingleSelect/singleSelect.types.d.ts +45 -0
  1203. package/lib/typescript/module/components/SingleSelect/singleSelect.types.d.ts.map +1 -0
  1204. package/lib/typescript/module/components/SingleSelect/singleSelect.utils.d.ts +30 -0
  1205. package/lib/typescript/module/components/SingleSelect/singleSelect.utils.d.ts.map +1 -0
  1206. package/lib/typescript/module/components/Skeleton/skeleton.types.d.ts +2 -2
  1207. package/lib/typescript/module/components/Skeleton/skeleton.types.d.ts.map +1 -1
  1208. package/lib/typescript/module/components/Snackbar/SnackbarToast.d.ts +14 -0
  1209. package/lib/typescript/module/components/Snackbar/SnackbarToast.d.ts.map +1 -0
  1210. package/lib/typescript/module/components/Snackbar/index.d.ts +5 -0
  1211. package/lib/typescript/module/components/Snackbar/index.d.ts.map +1 -0
  1212. package/lib/typescript/module/components/Snackbar/snackbar.d.ts +10 -0
  1213. package/lib/typescript/module/components/Snackbar/snackbar.d.ts.map +1 -0
  1214. package/lib/typescript/module/components/Snackbar/snackbar.types.d.ts +41 -0
  1215. package/lib/typescript/module/components/Snackbar/snackbar.types.d.ts.map +1 -0
  1216. package/lib/typescript/module/components/Snackbar/snackbar.utils.d.ts +4 -0
  1217. package/lib/typescript/module/components/Snackbar/snackbar.utils.d.ts.map +1 -0
  1218. package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +4 -0
  1219. package/lib/typescript/module/components/Sparkline/Sparkline.d.ts.map +1 -0
  1220. package/lib/typescript/module/components/Sparkline/index.d.ts +3 -0
  1221. package/lib/typescript/module/components/Sparkline/index.d.ts.map +1 -0
  1222. package/lib/typescript/module/components/Sparkline/sparkline.types.d.ts +27 -0
  1223. package/lib/typescript/module/components/Sparkline/sparkline.types.d.ts.map +1 -0
  1224. package/lib/typescript/module/components/Spinner/Spinner.d.ts +4 -0
  1225. package/lib/typescript/module/components/Spinner/Spinner.d.ts.map +1 -0
  1226. package/lib/typescript/module/components/Spinner/index.d.ts +5 -0
  1227. package/lib/typescript/module/components/Spinner/index.d.ts.map +1 -0
  1228. package/lib/typescript/module/components/Spinner/spinner.types.d.ts +27 -0
  1229. package/lib/typescript/module/components/Spinner/spinner.types.d.ts.map +1 -0
  1230. package/lib/typescript/module/components/Spinner/spinner.utils.d.ts +24 -0
  1231. package/lib/typescript/module/components/Spinner/spinner.utils.d.ts.map +1 -0
  1232. package/lib/typescript/module/components/StatCard/StatCard.d.ts +12 -0
  1233. package/lib/typescript/module/components/StatCard/StatCard.d.ts.map +1 -0
  1234. package/lib/typescript/module/components/StatCard/index.d.ts +4 -0
  1235. package/lib/typescript/module/components/StatCard/index.d.ts.map +1 -0
  1236. package/lib/typescript/module/components/StatCard/statcard.types.d.ts +68 -0
  1237. package/lib/typescript/module/components/StatCard/statcard.types.d.ts.map +1 -0
  1238. package/lib/typescript/module/components/StatCard/statcard.utils.d.ts +13 -0
  1239. package/lib/typescript/module/components/StatCard/statcard.utils.d.ts.map +1 -0
  1240. package/lib/typescript/module/components/Switch/Switch.d.ts +19 -0
  1241. package/lib/typescript/module/components/Switch/Switch.d.ts.map +1 -0
  1242. package/lib/typescript/module/components/Switch/index.d.ts +3 -0
  1243. package/lib/typescript/module/components/Switch/index.d.ts.map +1 -0
  1244. package/lib/typescript/module/components/Switch/switch.types.d.ts +18 -0
  1245. package/lib/typescript/module/components/Switch/switch.types.d.ts.map +1 -0
  1246. package/lib/typescript/module/components/Tabs/Tabs.d.ts +18 -0
  1247. package/lib/typescript/module/components/Tabs/Tabs.d.ts.map +1 -0
  1248. package/lib/typescript/module/components/Tabs/TabsContent.d.ts +6 -0
  1249. package/lib/typescript/module/components/Tabs/TabsContent.d.ts.map +1 -0
  1250. package/lib/typescript/module/components/Tabs/TabsList.d.ts +14 -0
  1251. package/lib/typescript/module/components/Tabs/TabsList.d.ts.map +1 -0
  1252. package/lib/typescript/module/components/Tabs/TabsTrigger.d.ts +10 -0
  1253. package/lib/typescript/module/components/Tabs/TabsTrigger.d.ts.map +1 -0
  1254. package/lib/typescript/module/components/Tabs/index.d.ts +6 -0
  1255. package/lib/typescript/module/components/Tabs/index.d.ts.map +1 -0
  1256. package/lib/typescript/module/components/Tabs/tabs.context.d.ts +23 -0
  1257. package/lib/typescript/module/components/Tabs/tabs.context.d.ts.map +1 -0
  1258. package/lib/typescript/module/components/Tabs/tabs.types.d.ts +43 -0
  1259. package/lib/typescript/module/components/Tabs/tabs.types.d.ts.map +1 -0
  1260. package/lib/typescript/module/components/Tag/Tag.d.ts +10 -2
  1261. package/lib/typescript/module/components/Tag/Tag.d.ts.map +1 -1
  1262. package/lib/typescript/module/components/Tag/TagGroup.d.ts +26 -0
  1263. package/lib/typescript/module/components/Tag/TagGroup.d.ts.map +1 -0
  1264. package/lib/typescript/module/components/Tag/index.d.ts +2 -0
  1265. package/lib/typescript/module/components/Tag/index.d.ts.map +1 -1
  1266. package/lib/typescript/module/components/Tag/tag.types.d.ts +12 -13
  1267. package/lib/typescript/module/components/Tag/tag.types.d.ts.map +1 -1
  1268. package/lib/typescript/module/components/TextArea/TextArea.d.ts +21 -0
  1269. package/lib/typescript/module/components/TextArea/TextArea.d.ts.map +1 -0
  1270. package/lib/typescript/module/components/TextArea/index.d.ts +3 -0
  1271. package/lib/typescript/module/components/TextArea/index.d.ts.map +1 -0
  1272. package/lib/typescript/module/components/TextArea/textArea.types.d.ts +28 -0
  1273. package/lib/typescript/module/components/TextArea/textArea.types.d.ts.map +1 -0
  1274. package/lib/typescript/module/components/TextInput/TextInput.d.ts +5 -10
  1275. package/lib/typescript/module/components/TextInput/TextInput.d.ts.map +1 -1
  1276. package/lib/typescript/module/components/TextInput/textInput.types.d.ts +22 -17
  1277. package/lib/typescript/module/components/TextInput/textInput.types.d.ts.map +1 -1
  1278. package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +7 -0
  1279. package/lib/typescript/module/components/Tooltip/Tooltip.d.ts.map +1 -0
  1280. package/lib/typescript/module/components/Tooltip/index.d.ts +3 -0
  1281. package/lib/typescript/module/components/Tooltip/index.d.ts.map +1 -0
  1282. package/lib/typescript/module/components/Tooltip/tooltip.types.d.ts +27 -0
  1283. package/lib/typescript/module/components/Tooltip/tooltip.types.d.ts.map +1 -0
  1284. package/lib/typescript/module/components/Upload/Upload.d.ts +23 -0
  1285. package/lib/typescript/module/components/Upload/Upload.d.ts.map +1 -0
  1286. package/lib/typescript/module/components/Upload/UploadContainer.d.ts +40 -0
  1287. package/lib/typescript/module/components/Upload/UploadContainer.d.ts.map +1 -0
  1288. package/lib/typescript/module/components/Upload/index.d.ts +4 -0
  1289. package/lib/typescript/module/components/Upload/index.d.ts.map +1 -0
  1290. package/lib/typescript/module/components/Upload/upload.types.d.ts +43 -0
  1291. package/lib/typescript/module/components/Upload/upload.types.d.ts.map +1 -0
  1292. package/lib/typescript/module/components/Upload/upload.utils.d.ts +71 -0
  1293. package/lib/typescript/module/components/Upload/upload.utils.d.ts.map +1 -0
  1294. package/lib/typescript/module/components/shared/GroupView.d.ts +15 -0
  1295. package/lib/typescript/module/components/shared/GroupView.d.ts.map +1 -0
  1296. package/lib/typescript/module/components/shared/dropdown/DropdownContent.d.ts +28 -0
  1297. package/lib/typescript/module/components/shared/dropdown/DropdownContent.d.ts.map +1 -0
  1298. package/lib/typescript/module/components/shared/dropdown/DropdownItem.d.ts +25 -0
  1299. package/lib/typescript/module/components/shared/dropdown/DropdownItem.d.ts.map +1 -0
  1300. package/lib/typescript/module/components/shared/dropdown/DropdownList.d.ts +30 -0
  1301. package/lib/typescript/module/components/shared/dropdown/DropdownList.d.ts.map +1 -0
  1302. package/lib/typescript/module/components/shared/dropdown/DropdownSearch.d.ts +17 -0
  1303. package/lib/typescript/module/components/shared/dropdown/DropdownSearch.d.ts.map +1 -0
  1304. package/lib/typescript/module/components/shared/dropdown/DropdownSeparator.d.ts +14 -0
  1305. package/lib/typescript/module/components/shared/dropdown/DropdownSeparator.d.ts.map +1 -0
  1306. package/lib/typescript/module/components/shared/dropdown/dropdown.types.d.ts +100 -0
  1307. package/lib/typescript/module/components/shared/dropdown/dropdown.types.d.ts.map +1 -0
  1308. package/lib/typescript/module/components/shared/dropdown/dropdownFilter.d.ts +25 -0
  1309. package/lib/typescript/module/components/shared/dropdown/dropdownFilter.d.ts.map +1 -0
  1310. package/lib/typescript/module/components/shared/dropdown/dropdownFlatten.d.ts +14 -0
  1311. package/lib/typescript/module/components/shared/dropdown/dropdownFlatten.d.ts.map +1 -0
  1312. package/lib/typescript/module/components/shared/dropdown/index.d.ts +16 -0
  1313. package/lib/typescript/module/components/shared/dropdown/index.d.ts.map +1 -0
  1314. package/lib/typescript/module/components/shared/dropdown/useDropdown.d.ts +29 -0
  1315. package/lib/typescript/module/components/shared/dropdown/useDropdown.d.ts.map +1 -0
  1316. package/lib/typescript/module/components/shared/field/FieldFooter.d.ts +2 -2
  1317. package/lib/typescript/module/components/shared/field/FieldFooter.d.ts.map +1 -1
  1318. package/lib/typescript/module/components/shared/field/FieldLabels.d.ts +2 -2
  1319. package/lib/typescript/module/components/shared/field/FieldLabels.d.ts.map +1 -1
  1320. package/lib/typescript/module/components/shared/group.d.ts +16 -0
  1321. package/lib/typescript/module/components/shared/group.d.ts.map +1 -1
  1322. package/lib/typescript/module/components/shared/select/SelectOptionList.d.ts +98 -0
  1323. package/lib/typescript/module/components/shared/select/SelectOptionList.d.ts.map +1 -0
  1324. package/lib/typescript/module/components/shared/select/SelectTrigger.d.ts +91 -0
  1325. package/lib/typescript/module/components/shared/select/SelectTrigger.d.ts.map +1 -0
  1326. package/lib/typescript/module/components/shared/selector/SelectorContent.d.ts +43 -0
  1327. package/lib/typescript/module/components/shared/selector/SelectorContent.d.ts.map +1 -0
  1328. package/lib/typescript/module/hooks/useControllableState.d.ts +10 -0
  1329. package/lib/typescript/module/hooks/useControllableState.d.ts.map +1 -0
  1330. package/lib/typescript/module/index.d.ts +74 -3
  1331. package/lib/typescript/module/index.d.ts.map +1 -1
  1332. package/lib/typescript/module/overlay/anchored/AnchoredOverlay.d.ts +60 -0
  1333. package/lib/typescript/module/overlay/anchored/AnchoredOverlay.d.ts.map +1 -0
  1334. package/lib/typescript/module/overlay/portal.d.ts +12 -1
  1335. package/lib/typescript/module/overlay/portal.d.ts.map +1 -1
  1336. package/lib/typescript/module/overlay/positioning.d.ts +48 -0
  1337. package/lib/typescript/module/overlay/positioning.d.ts.map +1 -1
  1338. package/lib/typescript/module/overlay/sheet/BottomSheet.d.ts +15 -3
  1339. package/lib/typescript/module/overlay/sheet/BottomSheet.d.ts.map +1 -1
  1340. package/lib/typescript/module/overlay/sheet/SheetScrollable.d.ts +39 -0
  1341. package/lib/typescript/module/overlay/sheet/SheetScrollable.d.ts.map +1 -0
  1342. package/lib/typescript/module/overlay/sheet/sheetGestureContext.d.ts +15 -0
  1343. package/lib/typescript/module/overlay/sheet/sheetGestureContext.d.ts.map +1 -0
  1344. package/lib/typescript/module/overlay/sheet/sheetMath.d.ts +29 -2
  1345. package/lib/typescript/module/overlay/sheet/sheetMath.d.ts.map +1 -1
  1346. package/lib/typescript/module/overlay/toast/ToastOutlet.d.ts +9 -7
  1347. package/lib/typescript/module/overlay/toast/ToastOutlet.d.ts.map +1 -1
  1348. package/lib/typescript/module/overlay/useAnchoredPosition.d.ts +35 -8
  1349. package/lib/typescript/module/overlay/useAnchoredPosition.d.ts.map +1 -1
  1350. package/lib/typescript/module/overlay/useKeyboardHeight.d.ts +15 -0
  1351. package/lib/typescript/module/overlay/useKeyboardHeight.d.ts.map +1 -0
  1352. package/lib/typescript/module/primitives/Block.d.ts +3 -3
  1353. package/lib/typescript/module/primitives/Block.d.ts.map +1 -1
  1354. package/lib/typescript/module/primitives/Pressable.d.ts +3 -3
  1355. package/lib/typescript/module/primitives/Pressable.d.ts.map +1 -1
  1356. package/lib/typescript/module/primitives/PrimitiveInput.d.ts +3 -3
  1357. package/lib/typescript/module/primitives/PrimitiveInput.d.ts.map +1 -1
  1358. package/lib/typescript/module/primitives/Separator.d.ts +2 -2
  1359. package/lib/typescript/module/primitives/Separator.d.ts.map +1 -1
  1360. package/lib/typescript/module/primitives/Slot.d.ts +2 -2
  1361. package/lib/typescript/module/primitives/Slot.d.ts.map +1 -1
  1362. package/lib/typescript/module/primitives/Text.d.ts +2 -2
  1363. package/lib/typescript/module/primitives/Text.d.ts.map +1 -1
  1364. package/lib/typescript/module/theme/nativeTokenRegistry.d.ts +26 -0
  1365. package/lib/typescript/module/theme/nativeTokenRegistry.d.ts.map +1 -1
  1366. package/package.json +6 -3
  1367. package/src/adapters/cssStringAdapter.ts +120 -35
  1368. package/src/adapters/optionalGradient.ts +2 -2
  1369. package/src/adapters/surfaceStyle.ts +4 -3
  1370. package/src/components/Accordion/Accordion.tsx +114 -0
  1371. package/src/components/Accordion/AccordionItem.tsx +264 -0
  1372. package/src/components/Accordion/accordion.context.ts +22 -0
  1373. package/src/components/Accordion/accordion.types.ts +30 -0
  1374. package/src/components/Accordion/index.ts +6 -0
  1375. package/src/components/Alert/alert.types.ts +9 -12
  1376. package/src/components/Avatar/Avatar.tsx +225 -0
  1377. package/src/components/Avatar/avatar.types.ts +56 -0
  1378. package/src/components/Avatar/avatar.utils.ts +70 -0
  1379. package/src/components/Avatar/index.ts +7 -0
  1380. package/src/components/Badge/Badge.tsx +183 -0
  1381. package/src/components/Badge/badge.types.ts +54 -0
  1382. package/src/components/Badge/badge.utils.ts +178 -0
  1383. package/src/components/Badge/index.ts +2 -0
  1384. package/src/components/Breadcrumb/Breadcrumb.tsx +310 -0
  1385. package/src/components/Breadcrumb/breadcrumb.types.ts +64 -0
  1386. package/src/components/Breadcrumb/breadcrumb.utils.ts +117 -0
  1387. package/src/components/Breadcrumb/index.ts +11 -0
  1388. package/src/components/Button/Button.tsx +1 -1
  1389. package/src/components/Button/ButtonGroup.tsx +51 -0
  1390. package/src/components/Button/IconButton.tsx +59 -0
  1391. package/src/components/Button/LinkButton.tsx +25 -0
  1392. package/src/components/Button/button.types.ts +45 -1
  1393. package/src/components/Button/index.ts +9 -1
  1394. package/src/components/Card/Card.tsx +292 -0
  1395. package/src/components/Card/card.types.ts +62 -0
  1396. package/src/components/Card/index.ts +2 -0
  1397. package/src/components/Chart/Chart.tsx +630 -0
  1398. package/src/components/Chart/ChartContainer.tsx +35 -0
  1399. package/src/components/Chart/ChartHeader.tsx +55 -0
  1400. package/src/components/Chart/ChartLegend.tsx +158 -0
  1401. package/src/components/Chart/ChartNoData.tsx +52 -0
  1402. package/src/components/Chart/ChartSkeleton.tsx +20 -0
  1403. package/src/components/Chart/chart.types.ts +192 -0
  1404. package/src/components/Chart/index.ts +20 -0
  1405. package/src/components/Checkbox/Checkbox.tsx +182 -0
  1406. package/src/components/Checkbox/checkbox.types.ts +26 -0
  1407. package/src/components/Checkbox/index.ts +2 -0
  1408. package/src/components/KeyValuePair/KeyValuePair.tsx +121 -0
  1409. package/src/components/KeyValuePair/index.ts +6 -0
  1410. package/src/components/KeyValuePair/keyValuePair.types.ts +39 -0
  1411. package/src/components/Menu/Menu.tsx +228 -0
  1412. package/src/components/Menu/index.ts +10 -0
  1413. package/src/components/Menu/menu.types.ts +60 -0
  1414. package/src/components/Menu/menu.utils.ts +211 -0
  1415. package/src/components/Modal/Modal.tsx +292 -0
  1416. package/src/components/Modal/ModalFooter.tsx +90 -0
  1417. package/src/components/Modal/ModalHeader.tsx +119 -0
  1418. package/src/components/Modal/index.ts +2 -0
  1419. package/src/components/Modal/modal.types.ts +59 -0
  1420. package/src/components/MultiSelect/MultiSelect.tsx +376 -0
  1421. package/src/components/MultiSelect/MultiSelectMenuActions.tsx +65 -0
  1422. package/src/components/MultiSelect/MultiSelectMenuHeader.tsx +156 -0
  1423. package/src/components/MultiSelect/MultiSelectTrigger.tsx +303 -0
  1424. package/src/components/MultiSelect/index.ts +15 -0
  1425. package/src/components/MultiSelect/multiSelect.types.ts +96 -0
  1426. package/src/components/MultiSelect/multiSelect.utils.ts +335 -0
  1427. package/src/components/NumberInput/NumberInput.tsx +323 -0
  1428. package/src/components/NumberInput/index.ts +13 -0
  1429. package/src/components/NumberInput/numberInput.types.ts +39 -0
  1430. package/src/components/NumberInput/numberInput.utils.ts +98 -0
  1431. package/src/components/OTPInput/OTPInput.tsx +222 -0
  1432. package/src/components/OTPInput/index.ts +8 -0
  1433. package/src/components/OTPInput/otpInput.types.ts +22 -0
  1434. package/src/components/OTPInput/otpInput.utils.ts +63 -0
  1435. package/src/components/OutageChart/OutageChart.tsx +351 -0
  1436. package/src/components/OutageChart/index.ts +7 -0
  1437. package/src/components/OutageChart/outageChart.types.ts +67 -0
  1438. package/src/components/OutageChart/outageChart.utils.ts +128 -0
  1439. package/src/components/Popover/Popover.tsx +178 -0
  1440. package/src/components/Popover/PopoverFooter.tsx +68 -0
  1441. package/src/components/Popover/PopoverHeader.tsx +102 -0
  1442. package/src/components/Popover/index.ts +2 -0
  1443. package/src/components/Popover/popover.types.ts +56 -0
  1444. package/src/components/ProgressBar/ProgressBar.tsx +333 -0
  1445. package/src/components/ProgressBar/index.ts +13 -0
  1446. package/src/components/ProgressBar/progressBar.types.ts +32 -0
  1447. package/src/components/ProgressBar/progressBar.utils.ts +136 -0
  1448. package/src/components/Radio/Radio.tsx +149 -0
  1449. package/src/components/Radio/index.ts +2 -0
  1450. package/src/components/Radio/radio.types.ts +23 -0
  1451. package/src/components/SankeyChart/SankeyChart.tsx +303 -0
  1452. package/src/components/SankeyChart/index.ts +6 -0
  1453. package/src/components/SankeyChart/sankeyChart.types.ts +81 -0
  1454. package/src/components/SankeyChart/sankeyChart.utils.ts +287 -0
  1455. package/src/components/SearchInput/SearchInput.tsx +170 -0
  1456. package/src/components/SearchInput/index.ts +2 -0
  1457. package/src/components/SearchInput/searchInput.types.ts +38 -0
  1458. package/src/components/SingleSelect/SingleSelect.tsx +278 -0
  1459. package/src/components/SingleSelect/SingleSelectTrigger.tsx +222 -0
  1460. package/src/components/SingleSelect/index.ts +13 -0
  1461. package/src/components/SingleSelect/singleSelect.types.ts +68 -0
  1462. package/src/components/SingleSelect/singleSelect.utils.ts +175 -0
  1463. package/src/components/Skeleton/skeleton.types.ts +2 -2
  1464. package/src/components/Snackbar/SnackbarToast.tsx +158 -0
  1465. package/src/components/Snackbar/index.ts +7 -0
  1466. package/src/components/Snackbar/snackbar.tsx +26 -0
  1467. package/src/components/Snackbar/snackbar.types.ts +42 -0
  1468. package/src/components/Snackbar/snackbar.utils.ts +31 -0
  1469. package/src/components/Sparkline/Sparkline.tsx +175 -0
  1470. package/src/components/Sparkline/index.ts +6 -0
  1471. package/src/components/Sparkline/sparkline.types.ts +29 -0
  1472. package/src/components/Spinner/Spinner.tsx +132 -0
  1473. package/src/components/Spinner/index.ts +9 -0
  1474. package/src/components/Spinner/spinner.types.ts +30 -0
  1475. package/src/components/Spinner/spinner.utils.ts +51 -0
  1476. package/src/components/StatCard/StatCard.tsx +438 -0
  1477. package/src/components/StatCard/index.ts +7 -0
  1478. package/src/components/StatCard/statcard.types.ts +75 -0
  1479. package/src/components/StatCard/statcard.utils.ts +36 -0
  1480. package/src/components/Switch/Switch.tsx +147 -0
  1481. package/src/components/Switch/index.ts +2 -0
  1482. package/src/components/Switch/switch.types.ts +18 -0
  1483. package/src/components/Tabs/Tabs.tsx +98 -0
  1484. package/src/components/Tabs/TabsContent.tsx +22 -0
  1485. package/src/components/Tabs/TabsList.tsx +188 -0
  1486. package/src/components/Tabs/TabsTrigger.tsx +98 -0
  1487. package/src/components/Tabs/index.ts +10 -0
  1488. package/src/components/Tabs/tabs.context.ts +31 -0
  1489. package/src/components/Tabs/tabs.types.ts +46 -0
  1490. package/src/components/Tag/Tag.tsx +2 -2
  1491. package/src/components/Tag/TagGroup.tsx +44 -0
  1492. package/src/components/Tag/index.ts +2 -0
  1493. package/src/components/Tag/tag.types.ts +15 -18
  1494. package/src/components/TextArea/TextArea.tsx +149 -0
  1495. package/src/components/TextArea/index.ts +2 -0
  1496. package/src/components/TextArea/textArea.types.ts +46 -0
  1497. package/src/components/TextInput/TextInput.tsx +11 -2
  1498. package/src/components/TextInput/textInput.types.ts +32 -18
  1499. package/src/components/Tooltip/Tooltip.tsx +140 -0
  1500. package/src/components/Tooltip/index.ts +2 -0
  1501. package/src/components/Tooltip/tooltip.types.ts +30 -0
  1502. package/src/components/Upload/Upload.tsx +135 -0
  1503. package/src/components/Upload/UploadContainer.tsx +445 -0
  1504. package/src/components/Upload/index.ts +3 -0
  1505. package/src/components/Upload/upload.types.ts +47 -0
  1506. package/src/components/Upload/upload.utils.ts +229 -0
  1507. package/src/components/shared/GroupView.tsx +86 -0
  1508. package/src/components/shared/dropdown/DropdownContent.tsx +156 -0
  1509. package/src/components/shared/dropdown/DropdownItem.tsx +176 -0
  1510. package/src/components/shared/dropdown/DropdownList.tsx +211 -0
  1511. package/src/components/shared/dropdown/DropdownSearch.tsx +60 -0
  1512. package/src/components/shared/dropdown/DropdownSeparator.tsx +38 -0
  1513. package/src/components/shared/dropdown/dropdown.types.ts +109 -0
  1514. package/src/components/shared/dropdown/dropdownFilter.ts +60 -0
  1515. package/src/components/shared/dropdown/dropdownFlatten.ts +49 -0
  1516. package/src/components/shared/dropdown/index.ts +25 -0
  1517. package/src/components/shared/dropdown/useDropdown.ts +76 -0
  1518. package/src/components/shared/field/FieldFooter.tsx +2 -2
  1519. package/src/components/shared/field/FieldLabels.tsx +2 -2
  1520. package/src/components/shared/group.ts +25 -0
  1521. package/src/components/shared/select/SelectOptionList.tsx +313 -0
  1522. package/src/components/shared/select/SelectTrigger.tsx +276 -0
  1523. package/src/components/shared/selector/SelectorContent.tsx +120 -0
  1524. package/src/hooks/useControllableState.ts +32 -0
  1525. package/src/index.ts +200 -4
  1526. package/src/overlay/anchored/AnchoredOverlay.tsx +286 -0
  1527. package/src/overlay/portal.tsx +100 -29
  1528. package/src/overlay/positioning.ts +113 -0
  1529. package/src/overlay/sheet/BottomSheet.tsx +125 -11
  1530. package/src/overlay/sheet/SheetScrollable.tsx +69 -0
  1531. package/src/overlay/sheet/sheetGestureContext.ts +17 -0
  1532. package/src/overlay/sheet/sheetMath.ts +59 -3
  1533. package/src/overlay/toast/ToastOutlet.tsx +140 -21
  1534. package/src/overlay/useAnchoredPosition.ts +102 -22
  1535. package/src/overlay/useKeyboardHeight.ts +36 -0
  1536. package/src/primitives/Block.tsx +2 -1
  1537. package/src/primitives/Pressable.tsx +15 -37
  1538. package/src/primitives/PrimitiveInput.tsx +2 -1
  1539. package/src/primitives/Separator.tsx +2 -2
  1540. package/src/primitives/Slot.tsx +2 -2
  1541. package/src/primitives/Text.tsx +2 -1
  1542. package/src/theme/nativeTokenRegistry.ts +52 -0
@@ -0,0 +1,229 @@
1
+ import {
2
+ UploadErrorReason,
3
+ UploadState,
4
+ type UploadErrorReasonValue,
5
+ } from '@juspay/blend-design-system/node'
6
+ import type { UploadFileNativeItem } from './upload.types'
7
+
8
+ /**
9
+ * Pure helpers for the native `Upload`, ported from web's
10
+ * `InputsV2/UploadV2/utils.ts`. DOM-bound pieces (`createClickHandler`,
11
+ * `useUploadState`, `createDragHandlers`) are deliberately not ported —
12
+ * there is no file input and no drag-and-drop on RN.
13
+ */
14
+
15
+ export const FILE_NAME_TAG_MAX_LEN = 24
16
+
17
+ export const truncateFileNameForTag = (name: string): string =>
18
+ name.length > FILE_NAME_TAG_MAX_LEN
19
+ ? `${name.slice(0, FILE_NAME_TAG_MAX_LEN)}…`
20
+ : name
21
+
22
+ /**
23
+ * Web's `getFileId` reads `file.lastModified`, which a DOM `File` has and a
24
+ * picker result does not. Native falls back to `Date.now()` plus the index,
25
+ * keeping the same "unique per batch" guarantee.
26
+ */
27
+ export const getFileId = (
28
+ uploadFile: UploadFileNativeItem,
29
+ index: number
30
+ ): string =>
31
+ uploadFile.id ??
32
+ `${uploadFile.name}-${uploadFile.size}-${Date.now()}-${index}`
33
+
34
+ /**
35
+ * Web's `isFileTypeAccepted` operating on `{name, type}` instead of a DOM
36
+ * `File` — the exact shape `UploadFileNativeItem` carries. Extension
37
+ * (`.pdf`), group (`image/*`) and exact-mime (`application/pdf`) rules are
38
+ * identical, as is the empty-list-accepts-everything behaviour.
39
+ */
40
+ export const isFileTypeAccepted = (
41
+ file: { name: string; type?: string },
42
+ acceptedFileTypes: string[]
43
+ ): boolean => {
44
+ if (acceptedFileTypes.length === 0) return true
45
+
46
+ const fileName = file.name.toLowerCase()
47
+ const fileType = (file.type ?? '').toLowerCase()
48
+
49
+ return acceptedFileTypes.some((acceptedType) => {
50
+ const normalizedAcceptedType = acceptedType.trim().toLowerCase()
51
+ if (!normalizedAcceptedType) return false
52
+
53
+ if (normalizedAcceptedType.startsWith('.')) {
54
+ return fileName.endsWith(normalizedAcceptedType)
55
+ }
56
+
57
+ if (normalizedAcceptedType.endsWith('/*')) {
58
+ const acceptedGroup = normalizedAcceptedType.slice(0, -1)
59
+ return fileType.startsWith(acceptedGroup)
60
+ }
61
+
62
+ return fileType === normalizedAcceptedType
63
+ })
64
+ }
65
+
66
+ export const formatFileSize = (sizeInBytes: number): string => {
67
+ if (sizeInBytes >= 1024 * 1024) {
68
+ const sizeInMb = sizeInBytes / (1024 * 1024)
69
+ return `${Number(sizeInMb.toFixed(2))} MB`
70
+ }
71
+ if (sizeInBytes >= 1024) {
72
+ const sizeInKb = sizeInBytes / 1024
73
+ return `${Number(sizeInKb.toFixed(2))} KB`
74
+ }
75
+ return `${sizeInBytes} B`
76
+ }
77
+
78
+ const KNOWN_UPLOAD_ERROR_REASONS = [
79
+ 'oversized',
80
+ 'maxFiles',
81
+ 'invalidType',
82
+ ] as const
83
+ type KnownUploadErrorReason = (typeof KNOWN_UPLOAD_ERROR_REASONS)[number]
84
+
85
+ export const isKnownUploadErrorReason = (
86
+ reason: unknown
87
+ ): reason is KnownUploadErrorReason =>
88
+ KNOWN_UPLOAD_ERROR_REASONS.includes(reason as KnownUploadErrorReason)
89
+
90
+ export const normalizeUploadErrorReason = (reason: unknown) =>
91
+ isKnownUploadErrorReason(reason) ? reason : undefined
92
+
93
+ export const getValidationMessage = (
94
+ reason?: unknown,
95
+ maxSize?: number,
96
+ maxFiles?: number
97
+ ): string => {
98
+ switch (normalizeUploadErrorReason(reason)) {
99
+ case 'oversized':
100
+ return maxSize
101
+ ? `File is too large. Max size is ${formatFileSize(maxSize)}`
102
+ : 'File is too large'
103
+ case 'maxFiles':
104
+ return maxFiles
105
+ ? `File limit exceeded. Maximum ${maxFiles} files allowed`
106
+ : 'File limit exceeded'
107
+ case 'invalidType':
108
+ return 'Invalid file type'
109
+ default:
110
+ return 'Invalid file'
111
+ }
112
+ }
113
+
114
+ /**
115
+ * The validation half of web's inline `validateFiles`, extracted so apps can
116
+ * fulfill the native API contract: `onChange` hands back
117
+ * `UploadFileNativeItem`s already marked, but the app is the one producing
118
+ * items from a picker, so it must run this before appending.
119
+ *
120
+ * Marks each item with `isValid`/`errorReason` in web's precedence order —
121
+ * maxFiles (index ≥ remaining slots), invalid type, oversized — and returns
122
+ * new copies; the input array is never mutated.
123
+ *
124
+ * `remainingSlots` semantics match web: `maxFiles` limits a multi-upload
125
+ * against the files already present (`existingCount`); when `multiple` is
126
+ * false the limit is 1 with no credit for existing files (a single-file
127
+ * upload replaces, it does not append).
128
+ */
129
+ export type ValidateUploadFilesOptions = {
130
+ acceptedTypes?: string[]
131
+ maxSize?: number
132
+ maxFiles?: number
133
+ multiple?: boolean
134
+ existingCount?: number
135
+ }
136
+
137
+ export const validateUploadFiles = (
138
+ items: UploadFileNativeItem[],
139
+ {
140
+ acceptedTypes = [],
141
+ maxSize = 0,
142
+ maxFiles,
143
+ multiple = true,
144
+ existingCount = 0,
145
+ }: ValidateUploadFilesOptions = {}
146
+ ): UploadFileNativeItem[] => {
147
+ const limit = maxFiles ?? (multiple ? undefined : 1)
148
+ const remainingSlots =
149
+ limit !== undefined && multiple
150
+ ? limit - existingCount
151
+ : (limit ?? Infinity)
152
+
153
+ return items.map((item, index) => {
154
+ const base = {
155
+ ...item,
156
+ id: item.id ?? `${item.name}-${item.size}-${Date.now()}-${index}`,
157
+ }
158
+
159
+ if (limit !== undefined && index >= remainingSlots) {
160
+ return {
161
+ ...base,
162
+ isValid: false,
163
+ errorReason: UploadErrorReason.MAX_FILES,
164
+ }
165
+ }
166
+
167
+ if (!isFileTypeAccepted(item, acceptedTypes)) {
168
+ return {
169
+ ...base,
170
+ isValid: false,
171
+ errorReason: UploadErrorReason.INVALID_TYPE,
172
+ }
173
+ }
174
+
175
+ if (maxSize && item.size > maxSize) {
176
+ return {
177
+ ...base,
178
+ isValid: false,
179
+ errorReason: UploadErrorReason.OVERSIZED,
180
+ }
181
+ }
182
+
183
+ return { ...base, isValid: true }
184
+ })
185
+ }
186
+
187
+ /**
188
+ * Native state derivation — deliberately NOT the shared `getFieldState`:
189
+ * invalid files force ERROR even when the prop `state` is IDLE, which is
190
+ * web's `displayUploadState` resolution.
191
+ */
192
+ export const getUploadDisplayState = (
193
+ state: UploadState = UploadState.IDLE,
194
+ disabled?: boolean,
195
+ hasInvalidFiles?: boolean
196
+ ): UploadState => {
197
+ if (disabled || state === UploadState.DISABLED) return UploadState.DISABLED
198
+ if (hasInvalidFiles) return UploadState.ERROR
199
+ return state
200
+ }
201
+
202
+ /**
203
+ * The single-file error aggregation web renders inside the container when
204
+ * `state===ERROR && !errorText && !multiple`: collect the distinct reasons
205
+ * across invalid files, in the fixed oversized → maxFiles → invalidType
206
+ * order, and join their messages. Returns the generic message when there
207
+ * are no invalid files.
208
+ */
209
+ export const getAggregatedErrorMessage = (
210
+ files: UploadFileNativeItem[],
211
+ maxSize?: number,
212
+ maxFiles?: number
213
+ ): string => {
214
+ const reasons = new Set<UploadErrorReasonValue>()
215
+ for (const file of files) {
216
+ const reason = normalizeUploadErrorReason(file.errorReason)
217
+ if (reason) reasons.add(reason)
218
+ }
219
+ const errors: string[] = []
220
+ if (reasons.has(UploadErrorReason.OVERSIZED))
221
+ errors.push(getValidationMessage('oversized', maxSize, maxFiles))
222
+ if (reasons.has(UploadErrorReason.MAX_FILES))
223
+ errors.push(getValidationMessage('maxFiles', maxSize, maxFiles))
224
+ if (reasons.has(UploadErrorReason.INVALID_TYPE))
225
+ errors.push(getValidationMessage('invalidType', maxSize, maxFiles))
226
+ return errors.length > 0
227
+ ? errors.join(', ')
228
+ : getValidationMessage(undefined, maxSize, maxFiles)
229
+ }
@@ -0,0 +1,86 @@
1
+ import { Children, cloneElement, forwardRef, isValidElement } from 'react'
2
+ import { View } from 'react-native'
3
+ import type { View as RNView, StyleProp, ViewStyle } from 'react-native'
4
+ import type { ReactNode, ReactElement } from 'react'
5
+ import { FOUNDATION_THEME } from '@juspay/blend-design-system/node'
6
+ import { parseDimension } from '../../adapters/cssStringAdapter'
7
+ import { getGroupPosition } from './group'
8
+
9
+ /**
10
+ * Internal container behind `ButtonGroup` and `TagGroup` — the native
11
+ * analogue of web's `Primitives/Group`. Not exported from the package.
12
+ *
13
+ * Mirrors web's behavior exactly:
14
+ * - `stacked` joins members edge to edge (zero gap) and injects each child's
15
+ * position through `positionProp` via `cloneElement`; the child collapses
16
+ * its own radius/borders from that prop.
17
+ * - Non-stacked renders children verbatim with a gap — no injection.
18
+ * - Non-element children pass through untouched.
19
+ *
20
+ * Divergence from web's `role="group"` + `aria-label`: the container is
21
+ * deliberately NOT `accessible` — on RN that collapses every member into one
22
+ * accessibility node and makes them individually unreachable (the Alert
23
+ * container regression). `accessibilityLabel` is still set for test hooks
24
+ * and future platform support.
25
+ */
26
+
27
+ /** Web's Group default gap: `FOUNDATION_THEME.unit[10]`. */
28
+ const DEFAULT_GAP = parseDimension(String(FOUNDATION_THEME.unit[10])) ?? 10
29
+
30
+ export type GroupViewProps = {
31
+ stacked?: boolean
32
+ gap?: number | string
33
+ positionProp: 'buttonGroupPosition' | 'tagGroupPosition'
34
+ children: ReactNode
35
+ accessibilityLabel?: string
36
+ testID?: string
37
+ style?: StyleProp<ViewStyle>
38
+ }
39
+
40
+ const GroupView = forwardRef<RNView, GroupViewProps>(function GroupView(
41
+ {
42
+ stacked = false,
43
+ gap,
44
+ positionProp,
45
+ children,
46
+ accessibilityLabel,
47
+ testID,
48
+ style,
49
+ },
50
+ ref
51
+ ) {
52
+ const resolvedGap = stacked ? 0 : (parseDimension(gap) ?? DEFAULT_GAP)
53
+
54
+ const totalChildren = Children.count(children)
55
+ const content = stacked
56
+ ? Children.map(children, (child, index) => {
57
+ if (!isValidElement(child)) return child
58
+ return cloneElement(
59
+ child as ReactElement<Record<string, unknown>>,
60
+ {
61
+ [positionProp]: getGroupPosition(index, totalChildren),
62
+ }
63
+ )
64
+ })
65
+ : children
66
+
67
+ return (
68
+ <View
69
+ ref={ref}
70
+ accessibilityLabel={accessibilityLabel}
71
+ testID={testID}
72
+ style={[
73
+ {
74
+ flexDirection: 'row',
75
+ alignItems: 'stretch',
76
+ gap: resolvedGap,
77
+ },
78
+ style,
79
+ ]}
80
+ >
81
+ {content}
82
+ </View>
83
+ )
84
+ })
85
+
86
+ export default GroupView
@@ -0,0 +1,156 @@
1
+ import React, { useCallback, useRef, useState } from 'react'
2
+ import {
3
+ Pressable as RNPressable,
4
+ StyleSheet,
5
+ type LayoutChangeEvent,
6
+ } from 'react-native'
7
+ import Animated, {
8
+ Easing,
9
+ runOnJS,
10
+ useAnimatedStyle,
11
+ useSharedValue,
12
+ withTiming,
13
+ } from 'react-native-reanimated'
14
+ import {
15
+ parseBorder,
16
+ parseBoxShadow,
17
+ parseDimension,
18
+ } from '../../../adapters/cssStringAdapter'
19
+ import { Portal } from '../../../overlay/portal'
20
+ import { Block } from '../../../primitives/Block'
21
+ import { MOTION_DURATION, MOTION_EASING } from '../../../motion/motion'
22
+ import { useReduceMotion } from '../../../motion/useReduceMotion'
23
+ import type { AnchoredPosition } from '../../../overlay/positioning'
24
+ import type { DropdownContentTokens } from './dropdown.types'
25
+
26
+ /**
27
+ * The floating panel — a `Portal`-rendered `Animated.View` with a
28
+ * scale-fade entrance, positioned against the anchor via
29
+ * `useAnchoredPosition`.
30
+ *
31
+ * Stays transparent (opacity 0) until `position` lands — the content must
32
+ * remain mounted so `onLayout` fires, but should not flash at `{0, 0}`
33
+ * before measurement completes.
34
+ */
35
+ export type DropdownContentProps = {
36
+ open: boolean
37
+ onClose: () => void
38
+ position: AnchoredPosition | null
39
+ onContentLayout: (event: LayoutChangeEvent) => void
40
+ tokens: DropdownContentTokens
41
+ children?: React.ReactNode
42
+ testID?: string
43
+ accessibilityLabel?: string
44
+ }
45
+
46
+ const ENTER = {
47
+ duration: MOTION_DURATION.normal,
48
+ easing: Easing.bezier(...MOTION_EASING.decelerate),
49
+ }
50
+ const EXIT = {
51
+ duration: MOTION_DURATION.fast,
52
+ easing: Easing.bezier(...MOTION_EASING.accelerate),
53
+ }
54
+
55
+ export function DropdownContent({
56
+ open,
57
+ onClose,
58
+ position,
59
+ onContentLayout,
60
+ tokens,
61
+ children,
62
+ testID,
63
+ accessibilityLabel,
64
+ }: DropdownContentProps) {
65
+ const reduceMotion = useReduceMotion()
66
+ const progress = useSharedValue(0)
67
+ const [mounted, setMounted] = useState(open)
68
+
69
+ React.useEffect(() => {
70
+ if (open) {
71
+ setMounted(true)
72
+ progress.value = withTiming(1, ENTER)
73
+ } else {
74
+ progress.value = withTiming(0, EXIT, (finished) => {
75
+ if (finished) runOnJS(setMounted)(false)
76
+ })
77
+ }
78
+ }, [open, progress])
79
+
80
+ const animatedStyle = useAnimatedStyle(() => {
81
+ if (reduceMotion) {
82
+ return { opacity: progress.value }
83
+ }
84
+ return {
85
+ opacity: progress.value,
86
+ transform: [{ scale: 0.95 + 0.05 * progress.value }],
87
+ }
88
+ }, [reduceMotion])
89
+
90
+ const handleBackdropPress = useCallback(() => {
91
+ onClose()
92
+ }, [onClose])
93
+
94
+ const lastPosition = useRef<AnchoredPosition | null>(null)
95
+ if (position) lastPosition.current = position
96
+ const effectivePosition = position ?? lastPosition.current
97
+
98
+ if (!mounted) return null
99
+
100
+ const hasPosition = effectivePosition !== null
101
+
102
+ return (
103
+ <Portal>
104
+ {/* Backdrop — transparent press-catcher that closes on tap */}
105
+ <RNPressable
106
+ style={StyleSheet.absoluteFill}
107
+ onPress={handleBackdropPress}
108
+ accessibilityLabel="Close dropdown"
109
+ accessibilityRole="button"
110
+ />
111
+ <Animated.View
112
+ onLayout={onContentLayout}
113
+ style={[
114
+ styles.container,
115
+ {
116
+ backgroundColor: tokens.backgroundColor,
117
+ borderRadius: parseDimension(tokens.borderRadius),
118
+ ...(parseBorder(tokens.border) ?? {}),
119
+ ...(parseBoxShadow(tokens.boxShadow) ?? {}),
120
+ paddingTop: parseDimension(tokens.paddingTop),
121
+ paddingRight: parseDimension(tokens.paddingRight),
122
+ paddingBottom: parseDimension(tokens.paddingBottom),
123
+ paddingLeft: parseDimension(tokens.paddingLeft),
124
+ minWidth: parseDimension(tokens.minWidth),
125
+ maxWidth: parseDimension(tokens.maxWidth),
126
+ maxHeight: hasPosition
127
+ ? effectivePosition!.maxHeight
128
+ : undefined,
129
+ // Hidden until position lands so the content does
130
+ // not flash at {0,0} before measurement completes.
131
+ opacity: hasPosition ? undefined : 0,
132
+ position: 'absolute',
133
+ left: hasPosition ? effectivePosition!.x : 0,
134
+ top: hasPosition ? effectivePosition!.y : 0,
135
+ },
136
+ animatedStyle,
137
+ ]}
138
+ accessibilityRole="menu"
139
+ accessibilityLabel={accessibilityLabel}
140
+ testID={testID}
141
+ >
142
+ <Block width="100%" overflow="hidden">
143
+ {children}
144
+ </Block>
145
+ </Animated.View>
146
+ </Portal>
147
+ )
148
+ }
149
+
150
+ DropdownContent.displayName = 'DropdownContent'
151
+
152
+ const styles = StyleSheet.create({
153
+ container: {
154
+ overflow: 'hidden',
155
+ },
156
+ })
@@ -0,0 +1,176 @@
1
+ import { forwardRef, memo, useCallback } from 'react'
2
+ import { View, type View as RNView } from 'react-native'
3
+ import { Check, ChevronRight } from 'lucide-react-native'
4
+ import { Pressable } from '../../../primitives/Pressable'
5
+ import { Text } from '../../../primitives/Text'
6
+ import { Slot } from '../../../primitives/Slot'
7
+ import { parseDimension } from '../../../adapters/cssStringAdapter'
8
+ import type { DropdownItemAdapter, DropdownItemTokens } from './dropdown.types'
9
+
10
+ /**
11
+ * A pressable row inside a dropdown list: leading slot + label + sublabel
12
+ * + trailing checkmark/chevron. Generic over the item type so Menu,
13
+ * SingleSelect, and MultiSelect all share it.
14
+ *
15
+ * Layout matches web mobile (`SingleSelectV2MobileItem` / `SelectItemV2`):
16
+ * outer column with gap between the main row and the sub-label row.
17
+ * The main row is horizontal: leading accessory + leading slot +
18
+ * label (flex 1) + trailing slot/checkmark/chevron. The sub-label
19
+ * renders as a full-width second row below.
20
+ *
21
+ * State resolution: native has no hover/focus. `active` (pressed) is
22
+ * handled by `Pressable` via `activeBackground`; `selected` and `disabled`
23
+ * are resolved from the item adapter data.
24
+ */
25
+ export type DropdownItemProps = {
26
+ adapter: DropdownItemAdapter
27
+ tokens: DropdownItemTokens
28
+ onPress: (item: DropdownItemAdapter['item']) => void
29
+ testID?: string
30
+ }
31
+
32
+ function resolveItemState(
33
+ disabled: boolean | undefined,
34
+ selected: boolean | undefined
35
+ ) {
36
+ if (disabled) return 'disabled'
37
+ if (selected) return 'selected'
38
+ return 'default'
39
+ }
40
+
41
+ const DropdownItemImpl = forwardRef<RNView, DropdownItemProps>(
42
+ function DropdownItem({ adapter, tokens, onPress, testID }, ref) {
43
+ const {
44
+ primaryText,
45
+ secondaryText,
46
+ leadingSlot,
47
+ leadingAccessory,
48
+ trailingSlot,
49
+ disabled,
50
+ isSelected,
51
+ hasSubMenu,
52
+ item,
53
+ } = adapter
54
+
55
+ const state = resolveItemState(disabled, isSelected)
56
+
57
+ const handlePress = useCallback(() => {
58
+ if (disabled) return
59
+ onPress(item)
60
+ }, [disabled, onPress, item])
61
+
62
+ const checkmarkPosition = tokens.text.checkmark?.position ?? 'trailing'
63
+ const showCheckmark = isSelected && tokens.text.checkmark
64
+ const checkmarkOnLeading =
65
+ showCheckmark && checkmarkPosition === 'leading'
66
+
67
+ return (
68
+ <Pressable
69
+ ref={ref}
70
+ background={tokens.backgroundColor[state]}
71
+ activeBackground={tokens.backgroundColor.active}
72
+ disabledBackground={tokens.backgroundColor.disabled}
73
+ paddingTop={tokens.paddingTop}
74
+ paddingRight={tokens.paddingRight}
75
+ paddingBottom={tokens.paddingBottom}
76
+ paddingLeft={tokens.paddingLeft}
77
+ flexDirection="column"
78
+ gap={tokens.gap}
79
+ borderRadius={tokens.borderRadius}
80
+ disabled={disabled}
81
+ onPress={handlePress}
82
+ style={
83
+ tokens.margin != null
84
+ ? {
85
+ margin: parseDimension(tokens.margin),
86
+ }
87
+ : undefined
88
+ }
89
+ accessibilityRole="menuitem"
90
+ accessibilityState={{
91
+ disabled: Boolean(disabled),
92
+ selected: Boolean(isSelected),
93
+ }}
94
+ accessibilityLabel={primaryText}
95
+ testID={testID}
96
+ >
97
+ {/* Main row: leading + label + trailing */}
98
+ <View
99
+ style={{
100
+ flexDirection: 'row',
101
+ alignItems: 'center',
102
+ width: '100%',
103
+ gap: 8,
104
+ }}
105
+ >
106
+ {checkmarkOnLeading && tokens.text.checkmark ? (
107
+ <Check
108
+ size={Number(tokens.text.checkmark.width) || 16}
109
+ color={tokens.text.checkmark.color}
110
+ />
111
+ ) : null}
112
+
113
+ {leadingAccessory}
114
+
115
+ {leadingSlot ? (
116
+ <Slot
117
+ maxHeight={tokens.text.leftSlot.maxHeight}
118
+ color={tokens.text.color[state]}
119
+ hidden
120
+ >
121
+ {leadingSlot}
122
+ </Slot>
123
+ ) : null}
124
+
125
+ <View style={{ flex: 1, flexShrink: 1 }}>
126
+ <Text
127
+ fontSize={tokens.text.fontSize}
128
+ fontWeight={tokens.text.fontWeight}
129
+ lineHeight={tokens.text.lineHeight}
130
+ color={tokens.text.color[state]}
131
+ numberOfLines={1}
132
+ >
133
+ {primaryText}
134
+ </Text>
135
+ </View>
136
+
137
+ {trailingSlot}
138
+
139
+ {showCheckmark &&
140
+ !checkmarkOnLeading &&
141
+ tokens.text.checkmark ? (
142
+ <Check
143
+ size={Number(tokens.text.checkmark.width) || 16}
144
+ color={tokens.text.checkmark.color}
145
+ />
146
+ ) : null}
147
+
148
+ {hasSubMenu ? (
149
+ <ChevronRight
150
+ size={Number(tokens.text.rightChevron.width) || 16}
151
+ color={tokens.text.rightChevron.color}
152
+ />
153
+ ) : null}
154
+ </View>
155
+
156
+ {/* Sub-label row */}
157
+ {secondaryText ? (
158
+ <View style={{ width: '100%' }}>
159
+ <Text
160
+ fontSize={tokens.text.subText.fontSize}
161
+ fontWeight={tokens.text.subText.fontWeight}
162
+ lineHeight={tokens.text.subText.lineHeight}
163
+ color={tokens.text.subText.color[state]}
164
+ numberOfLines={1}
165
+ >
166
+ {secondaryText}
167
+ </Text>
168
+ </View>
169
+ ) : null}
170
+ </Pressable>
171
+ )
172
+ }
173
+ )
174
+
175
+ export const DropdownItem = memo(DropdownItemImpl)
176
+ DropdownItem.displayName = 'DropdownItem'