@app-studio/components 0.11.13 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1093) hide show
  1. package/README.md +9 -2
  2. package/compiler/vite.d.mts +5 -0
  3. package/compiler/vite.mjs +190 -0
  4. package/dist/alert.cjs.js +2 -0
  5. package/dist/alert.cjs.js.map +1 -0
  6. package/dist/alert.esm.d.mts +1 -0
  7. package/dist/alert.esm.mjs +5 -0
  8. package/dist/alert.esm.mjs.map +1 -0
  9. package/dist/avatar.cjs.js +2 -0
  10. package/dist/avatar.cjs.js.map +1 -0
  11. package/dist/avatar.esm.d.mts +1 -0
  12. package/dist/avatar.esm.mjs +5 -0
  13. package/dist/avatar.esm.mjs.map +1 -0
  14. package/dist/button.cjs.js +2 -0
  15. package/dist/button.cjs.js.map +1 -0
  16. package/dist/button.esm.d.mts +1 -0
  17. package/dist/button.esm.mjs +5 -0
  18. package/dist/button.esm.mjs.map +1 -0
  19. package/dist/card.cjs.js +2 -0
  20. package/dist/card.cjs.js.map +1 -0
  21. package/dist/card.esm.d.mts +1 -0
  22. package/dist/card.esm.mjs +5 -0
  23. package/dist/card.esm.mjs.map +1 -0
  24. package/dist/checkbox.cjs.js +2 -0
  25. package/dist/checkbox.cjs.js.map +1 -0
  26. package/dist/checkbox.esm.d.mts +1 -0
  27. package/dist/checkbox.esm.mjs +5 -0
  28. package/dist/checkbox.esm.mjs.map +1 -0
  29. package/dist/chunks/Alert-B5vkpWXy.mjs +192 -0
  30. package/dist/chunks/Alert-B5vkpWXy.mjs.map +1 -0
  31. package/dist/chunks/Alert-BHlgJZAo.cjs +2 -0
  32. package/dist/chunks/Alert-BHlgJZAo.cjs.map +1 -0
  33. package/dist/chunks/AttachmentPreview-B2-kP0Bn.mjs +6525 -0
  34. package/dist/chunks/AttachmentPreview-B2-kP0Bn.mjs.map +1 -0
  35. package/dist/chunks/AttachmentPreview-BZV6xSa4.cjs +2 -0
  36. package/dist/chunks/AttachmentPreview-BZV6xSa4.cjs.map +1 -0
  37. package/dist/chunks/Avatar-CC1SDq6h.mjs +105 -0
  38. package/dist/chunks/Avatar-CC1SDq6h.mjs.map +1 -0
  39. package/dist/chunks/Avatar-DtfD7QQ6.cjs +2 -0
  40. package/dist/chunks/Avatar-DtfD7QQ6.cjs.map +1 -0
  41. package/dist/chunks/Button.core-BB25t8wB.cjs +7 -0
  42. package/dist/chunks/Button.core-BB25t8wB.cjs.map +1 -0
  43. package/dist/chunks/Button.core-oxCH_VTn.mjs +731 -0
  44. package/dist/chunks/Button.core-oxCH_VTn.mjs.map +1 -0
  45. package/dist/chunks/Button.pilot-BJK10U1-.mjs +6 -0
  46. package/dist/chunks/Button.pilot-BJK10U1-.mjs.map +1 -0
  47. package/dist/chunks/Button.pilot-eWGY9Jm5.cjs +2 -0
  48. package/dist/chunks/Button.pilot-eWGY9Jm5.cjs.map +1 -0
  49. package/dist/chunks/Card-CK_D7gzP.cjs +2 -0
  50. package/dist/chunks/Card-CK_D7gzP.cjs.map +1 -0
  51. package/dist/chunks/Card-ymI5Thma.mjs +208 -0
  52. package/dist/chunks/Card-ymI5Thma.mjs.map +1 -0
  53. package/dist/chunks/Checkbox-BXbEChdd.cjs +2 -0
  54. package/dist/chunks/Checkbox-BXbEChdd.cjs.map +1 -0
  55. package/dist/chunks/Checkbox-DnwrApdj.mjs +21 -0
  56. package/dist/chunks/Checkbox-DnwrApdj.mjs.map +1 -0
  57. package/dist/chunks/Checkbox.view-B7K8ycvs.cjs +2 -0
  58. package/dist/chunks/Checkbox.view-B7K8ycvs.cjs.map +1 -0
  59. package/dist/chunks/Checkbox.view-CCGfVtqr.mjs +329 -0
  60. package/dist/chunks/Checkbox.view-CCGfVtqr.mjs.map +1 -0
  61. package/dist/chunks/FixedIcons-Dz_f-yDL.cjs +2 -0
  62. package/dist/chunks/FixedIcons-Dz_f-yDL.cjs.map +1 -0
  63. package/dist/chunks/FixedIcons-fxASFYew.mjs +37 -0
  64. package/dist/chunks/FixedIcons-fxASFYew.mjs.map +1 -0
  65. package/dist/chunks/Formik.Uploader-CIYySBWB.mjs +6962 -0
  66. package/dist/chunks/Formik.Uploader-CIYySBWB.mjs.map +1 -0
  67. package/dist/chunks/Formik.Uploader-DePTdd7A.cjs +22 -0
  68. package/dist/chunks/Formik.Uploader-DePTdd7A.cjs.map +1 -0
  69. package/dist/chunks/Icon-C37alecH.cjs +2 -0
  70. package/dist/chunks/Icon-C37alecH.cjs.map +1 -0
  71. package/dist/chunks/Icon-Cy5kEVYz.mjs +148 -0
  72. package/dist/chunks/Icon-Cy5kEVYz.mjs.map +1 -0
  73. package/dist/chunks/Icon.frame-COrb0u94.mjs +29 -0
  74. package/dist/chunks/Icon.frame-COrb0u94.mjs.map +1 -0
  75. package/dist/chunks/Icon.frame-DD6ycsWD.cjs +2 -0
  76. package/dist/chunks/Icon.frame-DD6ycsWD.cjs.map +1 -0
  77. package/dist/chunks/Label-BVEAujj2.mjs +83 -0
  78. package/dist/chunks/Label-BVEAujj2.mjs.map +1 -0
  79. package/dist/chunks/Label-Bd0TpfkG.cjs +2 -0
  80. package/dist/chunks/Label-Bd0TpfkG.cjs.map +1 -0
  81. package/dist/chunks/Loader-4V81BN95.cjs +2 -0
  82. package/dist/chunks/Loader-4V81BN95.cjs.map +1 -0
  83. package/dist/chunks/Loader-DMLQky1k.mjs +171 -0
  84. package/dist/chunks/Loader-DMLQky1k.mjs.map +1 -0
  85. package/dist/chunks/Modal-BzlrQQu5.cjs +2 -0
  86. package/dist/chunks/Modal-BzlrQQu5.cjs.map +1 -0
  87. package/dist/chunks/Modal-CqbUQXoc.mjs +356 -0
  88. package/dist/chunks/Modal-CqbUQXoc.mjs.map +1 -0
  89. package/dist/chunks/Router-DjmVh9pK.cjs +2 -0
  90. package/dist/chunks/Router-DjmVh9pK.cjs.map +1 -0
  91. package/dist/chunks/Router-Dtb8HvI0.mjs +76 -0
  92. package/dist/chunks/Router-Dtb8HvI0.mjs.map +1 -0
  93. package/dist/chunks/Router.store-Bxe2uZWk.cjs +2 -0
  94. package/dist/chunks/Router.store-Bxe2uZWk.cjs.map +1 -0
  95. package/dist/chunks/Router.store-C0zWd45T.mjs +27 -0
  96. package/dist/chunks/Router.store-C0zWd45T.mjs.map +1 -0
  97. package/dist/chunks/Select-CrOxhfvQ.mjs +28 -0
  98. package/dist/chunks/Select-CrOxhfvQ.mjs.map +1 -0
  99. package/dist/chunks/Select-DRMUC3NX.cjs +2 -0
  100. package/dist/chunks/Select-DRMUC3NX.cjs.map +1 -0
  101. package/dist/chunks/Select.view-BHMiRNIc.mjs +661 -0
  102. package/dist/chunks/Select.view-BHMiRNIc.mjs.map +1 -0
  103. package/dist/chunks/Select.view-BV01zWHM.cjs +2 -0
  104. package/dist/chunks/Select.view-BV01zWHM.cjs.map +1 -0
  105. package/dist/chunks/Switch-04GGHGrV.mjs +11 -0
  106. package/dist/chunks/Switch-04GGHGrV.mjs.map +1 -0
  107. package/dist/chunks/Switch-DqgmPp8M.cjs +2 -0
  108. package/dist/chunks/Switch-DqgmPp8M.cjs.map +1 -0
  109. package/dist/chunks/Switch.view-6ncV6Ifz.cjs +2 -0
  110. package/dist/chunks/Switch.view-6ncV6Ifz.cjs.map +1 -0
  111. package/dist/chunks/Switch.view-DUvFLhyy.mjs +310 -0
  112. package/dist/chunks/Switch.view-DUvFLhyy.mjs.map +1 -0
  113. package/dist/chunks/Tabs-BdoE88Ee.mjs +567 -0
  114. package/dist/chunks/Tabs-BdoE88Ee.mjs.map +1 -0
  115. package/dist/chunks/Tabs-DneEt-le.cjs +2 -0
  116. package/dist/chunks/Tabs-DneEt-le.cjs.map +1 -0
  117. package/dist/chunks/TextField-Bwc_F2Rq.mjs +277 -0
  118. package/dist/chunks/TextField-Bwc_F2Rq.mjs.map +1 -0
  119. package/dist/chunks/TextField-CwaxvcqN.cjs +2 -0
  120. package/dist/chunks/TextField-CwaxvcqN.cjs.map +1 -0
  121. package/dist/chunks/default-1F10zins.mjs +610 -0
  122. package/dist/chunks/default-1F10zins.mjs.map +1 -0
  123. package/dist/chunks/default-W-NMTEJ3.cjs +2 -0
  124. package/dist/chunks/default-W-NMTEJ3.cjs.map +1 -0
  125. package/dist/chunks/designSystem.page-BgmjSYsz.cjs +11 -0
  126. package/dist/chunks/designSystem.page-BgmjSYsz.cjs.map +1 -0
  127. package/dist/chunks/designSystem.page-CM_h09Ui.mjs +13121 -0
  128. package/dist/chunks/designSystem.page-CM_h09Ui.mjs.map +1 -0
  129. package/dist/chunks/useFieldDesignSystemProps-BZj7d9gK.mjs +283 -0
  130. package/dist/chunks/useFieldDesignSystemProps-BZj7d9gK.mjs.map +1 -0
  131. package/dist/chunks/useFieldDesignSystemProps-CgVU3R10.cjs +2 -0
  132. package/dist/chunks/useFieldDesignSystemProps-CgVU3R10.cjs.map +1 -0
  133. package/dist/design-system-preview.cjs.js +2 -0
  134. package/dist/design-system-preview.cjs.js.map +1 -0
  135. package/dist/design-system-preview.esm.d.mts +1 -0
  136. package/dist/design-system-preview.esm.mjs +30 -0
  137. package/dist/design-system-preview.esm.mjs.map +1 -0
  138. package/dist/formik.cjs.js +2 -0
  139. package/dist/formik.cjs.js.map +1 -0
  140. package/dist/formik.esm.d.mts +1 -0
  141. package/dist/formik.esm.mjs +28 -0
  142. package/dist/formik.esm.mjs.map +1 -0
  143. package/dist/link.cjs.js +2 -0
  144. package/dist/link.cjs.js.map +1 -0
  145. package/dist/link.esm.d.mts +1 -0
  146. package/dist/link.esm.mjs +78 -0
  147. package/dist/link.esm.mjs.map +1 -0
  148. package/dist/modal.cjs.js +2 -0
  149. package/dist/modal.cjs.js.map +1 -0
  150. package/dist/modal.esm.d.mts +1 -0
  151. package/dist/modal.esm.mjs +10 -0
  152. package/dist/modal.esm.mjs.map +1 -0
  153. package/dist/native/components/Accordion/Accordion/Accordion.view.js +1 -1
  154. package/dist/native/components/Accordion/Accordion/Accordion.view.js.map +1 -1
  155. package/dist/native/components/Accordion/Accordion/Accordion.view.native.js +1 -1
  156. package/dist/native/components/Accordion/Accordion/Accordion.view.native.js.map +1 -1
  157. package/dist/native/components/Accordion/Accordion.js +1 -1
  158. package/dist/native/components/Accordion/Accordion.js.map +1 -1
  159. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.js +14 -6
  160. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.js.map +1 -1
  161. package/dist/native/components/Alert/Alert/Alert.view.d.ts +3 -1
  162. package/dist/native/components/Alert/Alert/Alert.view.js +16 -6
  163. package/dist/native/components/Alert/Alert/Alert.view.js.map +1 -1
  164. package/dist/native/components/Alert/Alert/Alert.view.native.d.ts +3 -1
  165. package/dist/native/components/Alert/Alert/Alert.view.native.js +23 -5
  166. package/dist/native/components/Alert/Alert/Alert.view.native.js.map +1 -1
  167. package/dist/native/components/Alert/Alert.js +3 -3
  168. package/dist/native/components/Alert/Alert.js.map +1 -1
  169. package/dist/native/components/Avatar/Avatar/Avatar.props.d.ts +1 -1
  170. package/dist/native/components/Avatar/Avatar/Avatar.state.d.ts +2 -2
  171. package/dist/native/components/Avatar/Avatar/Avatar.state.js +6 -5
  172. package/dist/native/components/Avatar/Avatar/Avatar.state.js.map +1 -1
  173. package/dist/native/components/Avatar/Avatar/Avatar.view.d.ts +1 -1
  174. package/dist/native/components/Avatar/Avatar/Avatar.view.js +2 -2
  175. package/dist/native/components/Avatar/Avatar/Avatar.view.js.map +1 -1
  176. package/dist/native/components/Avatar/Avatar.js +3 -3
  177. package/dist/native/components/Avatar/Avatar.js.map +1 -1
  178. package/dist/native/components/Badge/Badge.js +1 -1
  179. package/dist/native/components/Badge/Badge.js.map +1 -1
  180. package/dist/native/components/Button/Button/Button.style.js +11 -6
  181. package/dist/native/components/Button/Button/Button.style.js.map +1 -1
  182. package/dist/native/components/Button/Button/Button.view.d.ts +6 -1
  183. package/dist/native/components/Button/Button/Button.view.js +15 -7
  184. package/dist/native/components/Button/Button/Button.view.js.map +1 -1
  185. package/dist/native/components/Button/Button/Button.view.native.d.ts +5 -1
  186. package/dist/native/components/Button/Button/Button.view.native.js +31 -6
  187. package/dist/native/components/Button/Button/Button.view.native.js.map +1 -1
  188. package/dist/native/components/Button/Button.core.d.ts +4 -0
  189. package/dist/native/components/Button/Button.core.js +39 -0
  190. package/dist/native/components/Button/Button.core.js.map +1 -0
  191. package/dist/native/components/Button/Button.d.ts +1 -3
  192. package/dist/native/components/Button/Button.js +3 -36
  193. package/dist/native/components/Button/Button.js.map +1 -1
  194. package/dist/native/components/Button/Button.pilot.d.ts +2 -0
  195. package/dist/native/components/Button/Button.pilot.js +3 -0
  196. package/dist/native/components/Button/Button.pilot.js.map +1 -0
  197. package/dist/native/components/Card/Card/Card.view.d.ts +3 -1
  198. package/dist/native/components/Card/Card/Card.view.js +32 -24
  199. package/dist/native/components/Card/Card/Card.view.js.map +1 -1
  200. package/dist/native/components/Card/Card.js +3 -3
  201. package/dist/native/components/Card/Card.js.map +1 -1
  202. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +1 -0
  203. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +5 -1
  204. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.js +13 -0
  205. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.js.map +1 -1
  206. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +3 -12
  207. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.js +3 -12
  208. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.js.map +1 -1
  209. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js +20 -17
  210. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js.map +1 -1
  211. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js +37 -31
  212. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js.map +1 -1
  213. package/dist/native/components/Form/Checkbox/Checkbox.js +3 -3
  214. package/dist/native/components/Form/Checkbox/Checkbox.js.map +1 -1
  215. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.js +8 -2
  216. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.js.map +1 -1
  217. package/dist/native/components/Form/Radio/Radio.js +1 -1
  218. package/dist/native/components/Form/Radio/Radio.js.map +1 -1
  219. package/dist/native/components/Form/Select/Select/Select.props.d.ts +1 -0
  220. package/dist/native/components/Form/Select/Select/Select.view.js +3 -3
  221. package/dist/native/components/Form/Select/Select/Select.view.js.map +1 -1
  222. package/dist/native/components/Form/Select/Select/Select.view.native.js +18 -5
  223. package/dist/native/components/Form/Select/Select/Select.view.native.js.map +1 -1
  224. package/dist/native/components/Form/Select/Select.js +3 -3
  225. package/dist/native/components/Form/Select/Select.js.map +1 -1
  226. package/dist/native/components/Form/Switch/Switch/Switch.style.d.ts +3 -8
  227. package/dist/native/components/Form/Switch/Switch/Switch.style.js +3 -8
  228. package/dist/native/components/Form/Switch/Switch/Switch.style.js.map +1 -1
  229. package/dist/native/components/Form/Switch/Switch/Switch.view.js +1 -5
  230. package/dist/native/components/Form/Switch/Switch/Switch.view.js.map +1 -1
  231. package/dist/native/components/Form/Switch/Switch/Switch.view.native.js +7 -4
  232. package/dist/native/components/Form/Switch/Switch/Switch.view.native.js.map +1 -1
  233. package/dist/native/components/Form/Switch/Switch.js +1 -1
  234. package/dist/native/components/Form/Switch/Switch.js.map +1 -1
  235. package/dist/native/components/Form/TextArea/TextArea.js +1 -1
  236. package/dist/native/components/Form/TextArea/TextArea.js.map +1 -1
  237. package/dist/native/components/Form/TextField/TextField/TextField.props.d.ts +1 -0
  238. package/dist/native/components/Form/TextField/TextField/TextField.view.js +3 -3
  239. package/dist/native/components/Form/TextField/TextField/TextField.view.js.map +1 -1
  240. package/dist/native/components/Form/TextField/TextField/TextField.view.native.js +13 -12
  241. package/dist/native/components/Form/TextField/TextField/TextField.view.native.js.map +1 -1
  242. package/dist/native/components/Form/TextField/TextField.js +3 -3
  243. package/dist/native/components/Form/TextField/TextField.js.map +1 -1
  244. package/dist/native/components/Icon/FixedIcons.d.ts +10 -0
  245. package/dist/native/components/Icon/FixedIcons.js +23 -0
  246. package/dist/native/components/Icon/FixedIcons.js.map +1 -0
  247. package/dist/native/components/Icon/FixedIcons.native.d.ts +17 -0
  248. package/dist/native/components/Icon/FixedIcons.native.js +30 -0
  249. package/dist/native/components/Icon/FixedIcons.native.js.map +1 -0
  250. package/dist/native/components/Icon/Icon.d.ts +2 -12
  251. package/dist/native/components/Icon/Icon.frame.d.ts +14 -0
  252. package/dist/native/components/Icon/Icon.frame.js +17 -0
  253. package/dist/native/components/Icon/Icon.frame.js.map +1 -0
  254. package/dist/native/components/Icon/Icon.js +11 -23
  255. package/dist/native/components/Icon/Icon.js.map +1 -1
  256. package/dist/native/components/Input/FieldContent/FieldContent/FieldContent.props.d.ts +1 -0
  257. package/dist/native/components/Input/FieldContent/FieldContent.js +16 -3
  258. package/dist/native/components/Input/FieldContent/FieldContent.js.map +1 -1
  259. package/dist/native/components/Input/useFieldDesignSystemProps.d.ts +9 -0
  260. package/dist/native/components/Input/useFieldDesignSystemProps.js +15 -0
  261. package/dist/native/components/Input/useFieldDesignSystemProps.js.map +1 -0
  262. package/dist/native/components/Loader/Loader.js +1 -1
  263. package/dist/native/components/Loader/Loader.js.map +1 -1
  264. package/dist/native/components/Modal/Modal/Modal.props.d.ts +5 -0
  265. package/dist/native/components/Modal/Modal/Modal.view.js +51 -18
  266. package/dist/native/components/Modal/Modal/Modal.view.js.map +1 -1
  267. package/dist/native/components/Modal/Modal/Modal.view.native.js +6 -5
  268. package/dist/native/components/Modal/Modal/Modal.view.native.js.map +1 -1
  269. package/dist/native/components/NavigationMenu/NavigationMenu.js +1 -1
  270. package/dist/native/components/NavigationMenu/NavigationMenu.js.map +1 -1
  271. package/dist/native/components/PageHeader/PageHeader.js +1 -1
  272. package/dist/native/components/PageHeader/PageHeader.js.map +1 -1
  273. package/dist/native/components/ProgressBar/ProgressBar.js +1 -1
  274. package/dist/native/components/ProgressBar/ProgressBar.js.map +1 -1
  275. package/dist/native/components/Separator/Separator.js +1 -1
  276. package/dist/native/components/Separator/Separator.js.map +1 -1
  277. package/dist/native/components/Slider/Slider.js +1 -1
  278. package/dist/native/components/Slider/Slider.js.map +1 -1
  279. package/dist/native/components/StatePanel/StatePanel.js +1 -1
  280. package/dist/native/components/StatePanel/StatePanel.js.map +1 -1
  281. package/dist/native/components/StatusIndicator/StatusIndicator.js +1 -1
  282. package/dist/native/components/StatusIndicator/StatusIndicator.js.map +1 -1
  283. package/dist/native/components/Table/Table.js +1 -1
  284. package/dist/native/components/Table/Table.js.map +1 -1
  285. package/dist/native/components/Tabs/Tabs/TabHeader.d.ts +2 -0
  286. package/dist/native/components/Tabs/Tabs/TabHeader.js +7 -6
  287. package/dist/native/components/Tabs/Tabs/TabHeader.js.map +1 -1
  288. package/dist/native/components/Tabs/Tabs/Tabs.props.d.ts +10 -0
  289. package/dist/native/components/Tabs/Tabs/Tabs.state.d.ts +1 -0
  290. package/dist/native/components/Tabs/Tabs/Tabs.state.js +20 -43
  291. package/dist/native/components/Tabs/Tabs/Tabs.state.js.map +1 -1
  292. package/dist/native/components/Tabs/Tabs/Tabs.styles.d.ts +11 -0
  293. package/dist/native/components/Tabs/Tabs/Tabs.styles.js +7 -0
  294. package/dist/native/components/Tabs/Tabs/Tabs.styles.js.map +1 -0
  295. package/dist/native/components/Tabs/Tabs/Tabs.type.d.ts +4 -0
  296. package/dist/native/components/Tabs/Tabs/Tabs.view.js +146 -58
  297. package/dist/native/components/Tabs/Tabs/Tabs.view.js.map +1 -1
  298. package/dist/native/components/Tabs/Tabs/Tabs.view.native.js +83 -19
  299. package/dist/native/components/Tabs/Tabs/Tabs.view.native.js.map +1 -1
  300. package/dist/native/components/Tabs/Tabs.js +8 -8
  301. package/dist/native/components/Tabs/Tabs.js.map +1 -1
  302. package/dist/native/components/index.js +1 -1
  303. package/dist/native/components/index.js.map +1 -1
  304. package/dist/native/components/pilot/alert.d.ts +2 -0
  305. package/dist/native/components/pilot/alert.js +2 -0
  306. package/dist/native/components/pilot/alert.js.map +1 -0
  307. package/dist/native/components/pilot/avatar.d.ts +2 -0
  308. package/dist/native/components/pilot/avatar.js +2 -0
  309. package/dist/native/components/pilot/avatar.js.map +1 -0
  310. package/dist/native/components/pilot/blocks/SettingsPanel.d.ts +8 -0
  311. package/dist/native/components/pilot/blocks/SettingsPanel.js +26 -0
  312. package/dist/native/components/pilot/blocks/SettingsPanel.js.map +1 -0
  313. package/dist/native/components/pilot/blocks/SignIn.d.ts +8 -0
  314. package/dist/native/components/pilot/blocks/SignIn.js +57 -0
  315. package/dist/native/components/pilot/blocks/SignIn.js.map +1 -0
  316. package/dist/native/components/pilot/button.d.ts +1 -0
  317. package/dist/native/components/pilot/button.js +2 -0
  318. package/dist/native/components/pilot/button.js.map +1 -0
  319. package/dist/native/components/pilot/card.d.ts +2 -0
  320. package/dist/native/components/pilot/card.js +2 -0
  321. package/dist/native/components/pilot/card.js.map +1 -0
  322. package/dist/native/components/pilot/checkbox.d.ts +2 -0
  323. package/dist/native/components/pilot/checkbox.js +2 -0
  324. package/dist/native/components/pilot/checkbox.js.map +1 -0
  325. package/dist/native/components/pilot/modal.d.ts +2 -0
  326. package/dist/native/components/pilot/modal.js +2 -0
  327. package/dist/native/components/pilot/modal.js.map +1 -0
  328. package/dist/native/components/pilot/select.d.ts +2 -0
  329. package/dist/native/components/pilot/select.js +2 -0
  330. package/dist/native/components/pilot/select.js.map +1 -0
  331. package/dist/native/components/pilot/settings-panel.d.ts +1 -0
  332. package/dist/native/components/pilot/settings-panel.js +2 -0
  333. package/dist/native/components/pilot/settings-panel.js.map +1 -0
  334. package/dist/native/components/pilot/sign-in.d.ts +1 -0
  335. package/dist/native/components/pilot/sign-in.js +2 -0
  336. package/dist/native/components/pilot/sign-in.js.map +1 -0
  337. package/dist/native/components/pilot/switch.d.ts +2 -0
  338. package/dist/native/components/pilot/switch.js +2 -0
  339. package/dist/native/components/pilot/switch.js.map +1 -0
  340. package/dist/native/components/pilot/tabs.d.ts +2 -0
  341. package/dist/native/components/pilot/tabs.js +2 -0
  342. package/dist/native/components/pilot/tabs.js.map +1 -0
  343. package/dist/native/components/pilot/text-field.d.ts +2 -0
  344. package/dist/native/components/pilot/text-field.js +2 -0
  345. package/dist/native/components/pilot/text-field.js.map +1 -0
  346. package/dist/native/design-system/DesignSystemProvider.d.ts +4 -24
  347. package/dist/native/design-system/DesignSystemProvider.js +5 -53
  348. package/dist/native/design-system/DesignSystemProvider.js.map +1 -1
  349. package/dist/native/design-system/configs/default.json +1 -1
  350. package/dist/native/design-system/theme.d.ts +37 -0
  351. package/dist/native/design-system/theme.js +83 -0
  352. package/dist/native/design-system/theme.js.map +1 -0
  353. package/dist/native/design-system/types.d.ts +11 -11
  354. package/dist/native/design-system/utils.d.ts +5 -2
  355. package/dist/native/design-system/utils.js +42 -10
  356. package/dist/native/design-system/utils.js.map +1 -1
  357. package/dist/presets.cjs.js +2 -0
  358. package/dist/presets.cjs.js.map +1 -0
  359. package/dist/presets.esm.d.mts +1 -0
  360. package/dist/presets.esm.mjs +10816 -0
  361. package/dist/presets.esm.mjs.map +1 -0
  362. package/dist/registry/alert.json +90 -0
  363. package/dist/registry/avatar.json +78 -0
  364. package/dist/registry/button.json +147 -0
  365. package/dist/registry/card.json +78 -0
  366. package/dist/registry/checkbox.json +134 -0
  367. package/dist/registry/modal.json +115 -0
  368. package/dist/registry/registry.json +1307 -0
  369. package/dist/registry/select.json +254 -0
  370. package/dist/registry/settings-panel.json +55 -0
  371. package/dist/registry/sign-in.json +56 -0
  372. package/dist/registry/switch.json +113 -0
  373. package/dist/registry/tabs.json +88 -0
  374. package/dist/registry/text-field.json +214 -0
  375. package/dist/registry/theme.json +71 -0
  376. package/dist/router.cjs.js +2 -0
  377. package/dist/router.cjs.js.map +1 -0
  378. package/dist/router.esm.d.mts +1 -0
  379. package/dist/router.esm.mjs +11 -0
  380. package/dist/router.esm.mjs.map +1 -0
  381. package/dist/select.cjs.js +2 -0
  382. package/dist/select.cjs.js.map +1 -0
  383. package/dist/select.esm.d.mts +1 -0
  384. package/dist/select.esm.mjs +5 -0
  385. package/dist/select.esm.mjs.map +1 -0
  386. package/dist/settings-panel.cjs.js +2 -0
  387. package/dist/settings-panel.cjs.js.map +1 -0
  388. package/dist/settings-panel.esm.d.mts +1 -0
  389. package/dist/settings-panel.esm.mjs +43 -0
  390. package/dist/settings-panel.esm.mjs.map +1 -0
  391. package/dist/sign-in.cjs.js +2 -0
  392. package/dist/sign-in.cjs.js.map +1 -0
  393. package/dist/sign-in.esm.d.mts +1 -0
  394. package/dist/sign-in.esm.mjs +83 -0
  395. package/dist/sign-in.esm.mjs.map +1 -0
  396. package/dist/switch.cjs.js +2 -0
  397. package/dist/switch.cjs.js.map +1 -0
  398. package/dist/switch.esm.d.mts +1 -0
  399. package/dist/switch.esm.mjs +5 -0
  400. package/dist/switch.esm.mjs.map +1 -0
  401. package/dist/tabs.cjs.js +2 -0
  402. package/dist/tabs.cjs.js.map +1 -0
  403. package/dist/tabs.esm.d.mts +1 -0
  404. package/dist/tabs.esm.mjs +5 -0
  405. package/dist/tabs.esm.mjs.map +1 -0
  406. package/dist/text-field.cjs.js +2 -0
  407. package/dist/text-field.cjs.js.map +1 -0
  408. package/dist/text-field.esm.d.mts +1 -0
  409. package/dist/text-field.esm.mjs +5 -0
  410. package/dist/text-field.esm.mjs.map +1 -0
  411. package/dist/theme.cjs.js +2 -0
  412. package/dist/theme.cjs.js.map +1 -0
  413. package/dist/theme.esm.d.mts +1 -0
  414. package/dist/theme.esm.mjs +169 -0
  415. package/dist/theme.esm.mjs.map +1 -0
  416. package/dist/types/components/Accordion/Accordion/Accordion.props.d.ts +50 -0
  417. package/dist/types/components/Accordion/Accordion/Accordion.state.d.ts +9 -0
  418. package/dist/types/components/Accordion/Accordion/Accordion.style.d.ts +6 -0
  419. package/dist/types/components/Accordion/Accordion/Accordion.type.d.ts +20 -0
  420. package/dist/types/components/Accordion/Accordion/Accordion.view.d.ts +32 -0
  421. package/dist/types/components/Accordion/Accordion.d.ts +2 -0
  422. package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.props.d.ts +36 -0
  423. package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.state.d.ts +8 -0
  424. package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.style.d.ts +17 -0
  425. package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.type.d.ts +37 -0
  426. package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.view.d.ts +4 -0
  427. package/dist/types/components/ActionSheet/ActionSheet.d.ts +3 -0
  428. package/dist/types/components/ActionSheet/index.d.ts +3 -0
  429. package/dist/types/components/Alert/Alert/Alert.props.d.ts +14 -0
  430. package/dist/types/components/Alert/Alert/Alert.state.d.ts +5 -0
  431. package/dist/types/components/Alert/Alert/Alert.style.d.ts +18 -0
  432. package/dist/types/components/Alert/Alert/Alert.type.d.ts +8 -0
  433. package/dist/types/components/Alert/Alert/Alert.view.d.ts +8 -0
  434. package/dist/types/components/Alert/Alert.d.ts +3 -0
  435. package/dist/types/components/AppRoot/AppRoot.d.ts +17 -0
  436. package/dist/types/components/AppRoot/AppRoot.types.d.ts +22 -0
  437. package/dist/types/components/AppRoot/index.d.ts +2 -0
  438. package/dist/types/components/AspectRatio/AspectRatio/AspectRatio.props.d.ts +9 -0
  439. package/dist/types/components/AspectRatio/AspectRatio/AspectRatio.view.d.ts +3 -0
  440. package/dist/types/components/AspectRatio/AspectRatio.d.ts +3 -0
  441. package/dist/types/components/AttachmentGroup/AttachmentGroup/AttachmentGroup.d.ts +18 -0
  442. package/dist/types/components/AttachmentGroup/AttachmentGroup.d.ts +2 -0
  443. package/dist/types/components/AudioInput/AudioInput/AudioInput.props.d.ts +18 -0
  444. package/dist/types/components/AudioInput/AudioInput/AudioInput.state.d.ts +15 -0
  445. package/dist/types/components/AudioInput/AudioInput/AudioInput.view.d.ts +4 -0
  446. package/dist/types/components/AudioInput/AudioInput.d.ts +4 -0
  447. package/dist/types/components/AudioInput/AudioWaveform/AudioWaveform.d.ts +3 -0
  448. package/dist/types/components/AudioInput/AudioWaveform/AudioWaveform.props.d.ts +9 -0
  449. package/dist/types/components/AudioInput/AudioWaveform/AudioWaveform.view.d.ts +4 -0
  450. package/dist/types/components/AudioInput/useAudioRecording.d.ts +13 -0
  451. package/dist/types/components/Avatar/Avatar/Avatar.props.d.ts +14 -0
  452. package/dist/types/components/Avatar/Avatar/Avatar.state.d.ts +4 -0
  453. package/dist/types/components/Avatar/Avatar/Avatar.style.d.ts +14 -0
  454. package/dist/types/components/Avatar/Avatar/Avatar.type.d.ts +7 -0
  455. package/dist/types/components/Avatar/Avatar/Avatar.view.d.ts +3 -0
  456. package/dist/types/components/Avatar/Avatar.d.ts +3 -0
  457. package/dist/types/components/Background/Background/Background.props.d.ts +97 -0
  458. package/dist/types/components/Background/Background/Background.style.d.ts +24 -0
  459. package/dist/types/components/Background/Background/Background.type.d.ts +28 -0
  460. package/dist/types/components/Background/Background/Background.view.d.ts +18 -0
  461. package/dist/types/components/Background/Background.d.ts +15 -0
  462. package/dist/types/components/Background/index.d.ts +3 -0
  463. package/dist/types/components/Badge/Badge/Badge.props.d.ts +23 -0
  464. package/dist/types/components/Badge/Badge/Badge.style.d.ts +41 -0
  465. package/dist/types/components/Badge/Badge/Badge.type.d.ts +13 -0
  466. package/dist/types/components/Badge/Badge/Badge.view.d.ts +7 -0
  467. package/dist/types/components/Badge/Badge.d.ts +3 -0
  468. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.content.d.ts +19 -0
  469. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.controls.d.ts +15 -0
  470. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.dom.d.ts +9 -0
  471. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.keyboard.d.ts +16 -0
  472. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.model.d.ts +58 -0
  473. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.navigation.d.ts +6 -0
  474. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.props.d.ts +105 -0
  475. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.selection.d.ts +13 -0
  476. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.state.d.ts +149 -0
  477. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.transactions.d.ts +8 -0
  478. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.upload.d.ts +6 -0
  479. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.view.d.ts +6 -0
  480. package/dist/types/components/BlockEditor/BlockEditor.d.ts +3 -0
  481. package/dist/types/components/Button/Button/Button.element.d.ts +1 -0
  482. package/dist/types/components/Button/Button/Button.props.d.ts +50 -0
  483. package/dist/types/components/Button/Button/Button.state.d.ts +5 -0
  484. package/dist/types/components/Button/Button/Button.style.d.ts +37 -0
  485. package/dist/types/components/Button/Button/Button.type.d.ts +9 -0
  486. package/dist/types/components/Button/Button/Button.view.d.ts +9 -0
  487. package/dist/types/components/Button/Button.core.d.ts +4 -0
  488. package/dist/types/components/Button/Button.d.ts +1 -0
  489. package/dist/types/components/Button/Button.pilot.d.ts +2 -0
  490. package/dist/types/components/Card/Card/Card.context.d.ts +6 -0
  491. package/dist/types/components/Card/Card/Card.props.d.ts +30 -0
  492. package/dist/types/components/Card/Card/Card.state.d.ts +4 -0
  493. package/dist/types/components/Card/Card/Card.style.d.ts +6 -0
  494. package/dist/types/components/Card/Card/Card.type.d.ts +10 -0
  495. package/dist/types/components/Card/Card/Card.view.d.ts +8 -0
  496. package/dist/types/components/Card/Card.d.ts +2 -0
  497. package/dist/types/components/Carousel/Carousel/Carousel.context.d.ts +3 -0
  498. package/dist/types/components/Carousel/Carousel/Carousel.props.d.ts +51 -0
  499. package/dist/types/components/Carousel/Carousel/Carousel.state.d.ts +29 -0
  500. package/dist/types/components/Carousel/Carousel/Carousel.style.d.ts +6 -0
  501. package/dist/types/components/Carousel/Carousel/Carousel.type.d.ts +32 -0
  502. package/dist/types/components/Carousel/Carousel/Carousel.view.d.ts +8 -0
  503. package/dist/types/components/Carousel/Carousel.d.ts +2 -0
  504. package/dist/types/components/Chart/Chart/BarChart.d.ts +15 -0
  505. package/dist/types/components/Chart/Chart/Chart.props.d.ts +28 -0
  506. package/dist/types/components/Chart/Chart/Chart.state.d.ts +40 -0
  507. package/dist/types/components/Chart/Chart/Chart.style.d.ts +20 -0
  508. package/dist/types/components/Chart/Chart/Chart.type.d.ts +36 -0
  509. package/dist/types/components/Chart/Chart/Chart.view.d.ts +3 -0
  510. package/dist/types/components/Chart/Chart/ChartColors.d.ts +13 -0
  511. package/dist/types/components/Chart/Chart/ChartTooltip.d.ts +14 -0
  512. package/dist/types/components/Chart/Chart/LineChart.d.ts +15 -0
  513. package/dist/types/components/Chart/Chart/PieChart.d.ts +15 -0
  514. package/dist/types/components/Chart/Chart.d.ts +3 -0
  515. package/dist/types/components/ChatInput/AttachmentGroup.d.ts +18 -0
  516. package/dist/types/components/ChatInput/AudioRecorder.d.ts +10 -0
  517. package/dist/types/components/ChatInput/ChatInput/ChatInput.props.d.ts +374 -0
  518. package/dist/types/components/ChatInput/ChatInput/ChatInput.state.d.ts +45 -0
  519. package/dist/types/components/ChatInput/ChatInput/ChatInput.style.d.ts +164 -0
  520. package/dist/types/components/ChatInput/ChatInput/ChatInput.type.d.ts +57 -0
  521. package/dist/types/components/ChatInput/ChatInput/ChatInput.view.d.ts +4 -0
  522. package/dist/types/components/ChatInput/ChatInput.d.ts +3 -0
  523. package/dist/types/components/ChatInput/ChatUploader.d.ts +20 -0
  524. package/dist/types/components/ChatInput/EditableInput.d.ts +44 -0
  525. package/dist/types/components/ChatInput/GuideTip.d.ts +12 -0
  526. package/dist/types/components/ChatInput/MessageInput.d.ts +36 -0
  527. package/dist/types/components/ChatInput/PromptExamples.d.ts +13 -0
  528. package/dist/types/components/ChatInput/index.d.ts +7 -0
  529. package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.props.d.ts +32 -0
  530. package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.state.d.ts +8 -0
  531. package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.style.d.ts +81 -0
  532. package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.type.d.ts +47 -0
  533. package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.view.d.ts +4 -0
  534. package/dist/types/components/ChatWidget/ChatWidget.d.ts +4 -0
  535. package/dist/types/components/ChatWidget/Widget/ChatWidgetWidget.d.ts +14 -0
  536. package/dist/types/components/ChatWidget/Widget/index.d.ts +2 -0
  537. package/dist/types/components/ChatWidget/Widget/useContextSelector.d.ts +22 -0
  538. package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.props.d.ts +44 -0
  539. package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.state.d.ts +14 -0
  540. package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.style.d.ts +19 -0
  541. package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.type.d.ts +34 -0
  542. package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.view.d.ts +4 -0
  543. package/dist/types/components/ColorPicker/ColorPicker.d.ts +3 -0
  544. package/dist/types/components/Command/Command/Command.props.d.ts +66 -0
  545. package/dist/types/components/Command/Command/Command.state.d.ts +17 -0
  546. package/dist/types/components/Command/Command/Command.style.d.ts +19 -0
  547. package/dist/types/components/Command/Command/Command.type.d.ts +42 -0
  548. package/dist/types/components/Command/Command/Command.view.d.ts +31 -0
  549. package/dist/types/components/Command/Command/CommandOverlay.d.ts +10 -0
  550. package/dist/types/components/Command/Command/CommandTextInput.d.ts +8 -0
  551. package/dist/types/components/Command/Command.d.ts +2 -0
  552. package/dist/types/components/Command/index.d.ts +1 -0
  553. package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.props.d.ts +72 -0
  554. package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.state.d.ts +27 -0
  555. package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.style.d.ts +16 -0
  556. package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.type.d.ts +52 -0
  557. package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.view.d.ts +23 -0
  558. package/dist/types/components/ContextMenu/ContextMenu.d.ts +2 -0
  559. package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.props.d.ts +15 -0
  560. package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.state.d.ts +7 -0
  561. package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.style.d.ts +65 -0
  562. package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.type.d.ts +10 -0
  563. package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.view.d.ts +3 -0
  564. package/dist/types/components/CookieConsent/CookieConsent.d.ts +3 -0
  565. package/dist/types/components/DataState/DataState/DataState.props.d.ts +14 -0
  566. package/dist/types/components/DataState/DataState/DataState.state.d.ts +13 -0
  567. package/dist/types/components/DataState/DataState/DataState.type.d.ts +33 -0
  568. package/dist/types/components/DataState/DataState/DataState.view.d.ts +6 -0
  569. package/dist/types/components/DataState/DataState.d.ts +3 -0
  570. package/dist/types/components/DragAndDrop/DragAndDrop/DragAndDrop.props.d.ts +18 -0
  571. package/dist/types/components/DragAndDrop/DragAndDrop/DragAndDrop.state.d.ts +8 -0
  572. package/dist/types/components/DragAndDrop/DragAndDrop/DragAndDrop.view.d.ts +3 -0
  573. package/dist/types/components/DragAndDrop/DragAndDrop.d.ts +4 -0
  574. package/dist/types/components/Drawer/Drawer/Drawer.layout.d.ts +3 -0
  575. package/dist/types/components/Drawer/Drawer/Drawer.props.d.ts +51 -0
  576. package/dist/types/components/Drawer/Drawer/Drawer.store.d.ts +19 -0
  577. package/dist/types/components/Drawer/Drawer/Drawer.style.d.ts +4 -0
  578. package/dist/types/components/Drawer/Drawer/Drawer.type.d.ts +3 -0
  579. package/dist/types/components/Drawer/Drawer/Drawer.view.d.ts +7 -0
  580. package/dist/types/components/Drawer/Drawer.d.ts +3 -0
  581. package/dist/types/components/DropZone/DropZone/DropZone.props.d.ts +24 -0
  582. package/dist/types/components/DropZone/DropZone/DropZone.state.d.ts +2 -0
  583. package/dist/types/components/DropZone/DropZone/DropZone.view.d.ts +3 -0
  584. package/dist/types/components/DropZone/DropZone.d.ts +3 -0
  585. package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.props.d.ts +51 -0
  586. package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.state.d.ts +6 -0
  587. package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.style.d.ts +17 -0
  588. package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.type.d.ts +35 -0
  589. package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.view.d.ts +20 -0
  590. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +2 -0
  591. package/dist/types/components/EditComponent/EditComponent.d.ts +14 -0
  592. package/dist/types/components/EditComponent/EditPanel.d.ts +7 -0
  593. package/dist/types/components/EditComponent/EditToolbar.d.ts +16 -0
  594. package/dist/types/components/EditComponent/index.d.ts +3 -0
  595. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.data.d.ts +3 -0
  596. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.props.d.ts +75 -0
  597. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.state.d.ts +38 -0
  598. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.style.d.ts +18 -0
  599. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.type.d.ts +28 -0
  600. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.view.d.ts +4 -0
  601. package/dist/types/components/EmojiPicker/EmojiPicker.d.ts +3 -0
  602. package/dist/types/components/File/File.d.ts +14 -0
  603. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +31 -0
  604. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +12 -0
  605. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +70 -0
  606. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.type.d.ts +8 -0
  607. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.view.d.ts +4 -0
  608. package/dist/types/components/Form/Checkbox/Checkbox.d.ts +6 -0
  609. package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.props.d.ts +54 -0
  610. package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.state.d.ts +19 -0
  611. package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.style.d.ts +16 -0
  612. package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.type.d.ts +37 -0
  613. package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.view.d.ts +4 -0
  614. package/dist/types/components/Form/ColorInput/ColorInput/colorFormat.d.ts +7 -0
  615. package/dist/types/components/Form/ColorInput/ColorInput.d.ts +3 -0
  616. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.context.d.ts +8 -0
  617. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.props.d.ts +46 -0
  618. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.provider.d.ts +2 -0
  619. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.state.d.ts +2 -0
  620. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.style.d.ts +105 -0
  621. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.type.d.ts +11 -0
  622. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.view.d.ts +4 -0
  623. package/dist/types/components/Form/ComboBox/ComboBox.d.ts +3 -0
  624. package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.props.d.ts +56 -0
  625. package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.state.d.ts +15 -0
  626. package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.style.d.ts +3 -0
  627. package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.type.d.ts +19 -0
  628. package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.view.d.ts +5 -0
  629. package/dist/types/components/Form/CountryPicker/CountryPicker.d.ts +3 -0
  630. package/dist/types/components/Form/CountryPicker/countries.json.d.ts +1455 -0
  631. package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.props.d.ts +92 -0
  632. package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.state.d.ts +10 -0
  633. package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.style.d.ts +3 -0
  634. package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.type.d.ts +12 -0
  635. package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.view.d.ts +4 -0
  636. package/dist/types/components/Form/DatePicker/DatePicker.d.ts +6 -0
  637. package/dist/types/components/Form/Form.d.ts +12 -0
  638. package/dist/types/components/Form/Label/Label/Label.props.d.ts +17 -0
  639. package/dist/types/components/Form/Label/Label/Label.style.d.ts +2 -0
  640. package/dist/types/components/Form/Label/Label/Label.type.d.ts +3 -0
  641. package/dist/types/components/Form/Label/Label/Label.view.d.ts +4 -0
  642. package/dist/types/components/Form/Label/Label.d.ts +3 -0
  643. package/dist/types/components/Form/Password/Password/Password.props.d.ts +37 -0
  644. package/dist/types/components/Form/Password/Password/Password.state.d.ts +7 -0
  645. package/dist/types/components/Form/Password/Password/Password.type.d.ts +10 -0
  646. package/dist/types/components/Form/Password/Password.d.ts +6 -0
  647. package/dist/types/components/Form/Password/example/Default.d.ts +2 -0
  648. package/dist/types/components/Form/Password/example/DisabledInput.d.ts +2 -0
  649. package/dist/types/components/Form/Password/example/ErrorInput.d.ts +2 -0
  650. package/dist/types/components/Form/Password/example/HelperText.d.ts +2 -0
  651. package/dist/types/components/Form/Radio/Radio/Radio.props.d.ts +29 -0
  652. package/dist/types/components/Form/Radio/Radio/Radio.state.d.ts +8 -0
  653. package/dist/types/components/Form/Radio/Radio/Radio.style.d.ts +68 -0
  654. package/dist/types/components/Form/Radio/Radio/Radio.type.d.ts +8 -0
  655. package/dist/types/components/Form/Radio/Radio/Radio.view.d.ts +4 -0
  656. package/dist/types/components/Form/Radio/Radio.d.ts +3 -0
  657. package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.props.d.ts +22 -0
  658. package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.state.d.ts +5 -0
  659. package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.type.d.ts +7 -0
  660. package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.view.d.ts +4 -0
  661. package/dist/types/components/Form/Radio/RadioGroup.d.ts +3 -0
  662. package/dist/types/components/Form/Radio/index.d.ts +2 -0
  663. package/dist/types/components/Form/Select/Select/Select.props.d.ts +97 -0
  664. package/dist/types/components/Form/Select/Select/Select.state.d.ts +19 -0
  665. package/dist/types/components/Form/Select/Select/Select.style.d.ts +80 -0
  666. package/dist/types/components/Form/Select/Select/Select.type.d.ts +19 -0
  667. package/dist/types/components/Form/Select/Select/Select.view.d.ts +10 -0
  668. package/dist/types/components/Form/Select/Select.d.ts +3 -0
  669. package/dist/types/components/Form/Selector/Selector/Selector.props.d.ts +66 -0
  670. package/dist/types/components/Form/Selector/Selector/Selector.state.d.ts +17 -0
  671. package/dist/types/components/Form/Selector/Selector/Selector.style.d.ts +6 -0
  672. package/dist/types/components/Form/Selector/Selector/Selector.type.d.ts +19 -0
  673. package/dist/types/components/Form/Selector/Selector/Selector.view.d.ts +4 -0
  674. package/dist/types/components/Form/Selector/Selector.d.ts +3 -0
  675. package/dist/types/components/Form/Switch/Switch/Switch.props.d.ts +27 -0
  676. package/dist/types/components/Form/Switch/Switch/Switch.state.d.ts +10 -0
  677. package/dist/types/components/Form/Switch/Switch/Switch.style.d.ts +61 -0
  678. package/dist/types/components/Form/Switch/Switch/Switch.type.d.ts +7 -0
  679. package/dist/types/components/Form/Switch/Switch/Switch.view.d.ts +4 -0
  680. package/dist/types/components/Form/Switch/Switch.d.ts +3 -0
  681. package/dist/types/components/Form/TagInput/TagInput/TagInput.props.d.ts +54 -0
  682. package/dist/types/components/Form/TagInput/TagInput/TagInput.state.d.ts +19 -0
  683. package/dist/types/components/Form/TagInput/TagInput/TagInput.type.d.ts +25 -0
  684. package/dist/types/components/Form/TagInput/TagInput/TagInput.view.d.ts +4 -0
  685. package/dist/types/components/Form/TagInput/TagInput/index.d.ts +4 -0
  686. package/dist/types/components/Form/TagInput/TagInput.d.ts +3 -0
  687. package/dist/types/components/Form/TagInput/index.d.ts +2 -0
  688. package/dist/types/components/Form/TextArea/TextArea/TextArea.props.d.ts +62 -0
  689. package/dist/types/components/Form/TextArea/TextArea/TextArea.state.d.ts +11 -0
  690. package/dist/types/components/Form/TextArea/TextArea/TextArea.type.d.ts +13 -0
  691. package/dist/types/components/Form/TextArea/TextArea/TextArea.view.d.ts +4 -0
  692. package/dist/types/components/Form/TextArea/TextArea.d.ts +3 -0
  693. package/dist/types/components/Form/TextField/TextField/TextField.props.d.ts +70 -0
  694. package/dist/types/components/Form/TextField/TextField/TextField.state.d.ts +11 -0
  695. package/dist/types/components/Form/TextField/TextField/TextField.type.d.ts +12 -0
  696. package/dist/types/components/Form/TextField/TextField/TextField.view.d.ts +4 -0
  697. package/dist/types/components/Form/TextField/TextField.d.ts +3 -0
  698. package/dist/types/components/Formik/AttachmentPreview.d.ts +19 -0
  699. package/dist/types/components/Formik/Formik.ChatInput.d.ts +12 -0
  700. package/dist/types/components/Formik/Formik.Checkbox.d.ts +6 -0
  701. package/dist/types/components/Formik/Formik.ColorInput.d.ts +6 -0
  702. package/dist/types/components/Formik/Formik.ComboBox.d.ts +6 -0
  703. package/dist/types/components/Formik/Formik.CountryPicker.d.ts +6 -0
  704. package/dist/types/components/Formik/Formik.DatePicker.d.ts +6 -0
  705. package/dist/types/components/Formik/Formik.EmojiPicker.d.ts +6 -0
  706. package/dist/types/components/Formik/Formik.Form.d.ts +20 -0
  707. package/dist/types/components/Formik/Formik.Hook.d.ts +5 -0
  708. package/dist/types/components/Formik/Formik.IconPicker.d.ts +6 -0
  709. package/dist/types/components/Formik/Formik.OTPInput.d.ts +8 -0
  710. package/dist/types/components/Formik/Formik.Password.d.ts +6 -0
  711. package/dist/types/components/Formik/Formik.Radio.d.ts +6 -0
  712. package/dist/types/components/Formik/Formik.Select.d.ts +6 -0
  713. package/dist/types/components/Formik/Formik.Selector.d.ts +6 -0
  714. package/dist/types/components/Formik/Formik.Slider.d.ts +7 -0
  715. package/dist/types/components/Formik/Formik.Switch.d.ts +3 -0
  716. package/dist/types/components/Formik/Formik.TagInput.d.ts +9 -0
  717. package/dist/types/components/Formik/Formik.TextArea.d.ts +6 -0
  718. package/dist/types/components/Formik/Formik.TextField.d.ts +6 -0
  719. package/dist/types/components/Formik/Formik.Toggle.d.ts +6 -0
  720. package/dist/types/components/Formik/Formik.ToggleGroup.d.ts +6 -0
  721. package/dist/types/components/Formik/Formik.Uploader.d.ts +38 -0
  722. package/dist/types/components/Formik/index.d.ts +23 -0
  723. package/dist/types/components/Gradient/Gradient/Gradient.props.d.ts +15 -0
  724. package/dist/types/components/Gradient/Gradient/Gradient.style.d.ts +55 -0
  725. package/dist/types/components/Gradient/Gradient/Gradient.type.d.ts +13 -0
  726. package/dist/types/components/Gradient/Gradient/Gradient.view.d.ts +3 -0
  727. package/dist/types/components/Gradient/Gradient.d.ts +3 -0
  728. package/dist/types/components/Gradient/index.d.ts +1 -0
  729. package/dist/types/components/HoverCard/HoverCard/HoverCard.props.d.ts +33 -0
  730. package/dist/types/components/HoverCard/HoverCard/HoverCard.state.d.ts +11 -0
  731. package/dist/types/components/HoverCard/HoverCard/HoverCard.style.d.ts +5 -0
  732. package/dist/types/components/HoverCard/HoverCard/HoverCard.type.d.ts +12 -0
  733. package/dist/types/components/HoverCard/HoverCard/HoverCard.view.d.ts +10 -0
  734. package/dist/types/components/HoverCard/HoverCard.d.ts +2 -0
  735. package/dist/types/components/Icon/FixedIcons.d.ts +10 -0
  736. package/dist/types/components/Icon/Icon.d.ts +100 -0
  737. package/dist/types/components/Icon/Icon.frame.d.ts +14 -0
  738. package/dist/types/components/IconPicker/IconPicker/IconPicker.constants.d.ts +2 -0
  739. package/dist/types/components/IconPicker/IconPicker/IconPicker.props.d.ts +37 -0
  740. package/dist/types/components/IconPicker/IconPicker/IconPicker.state.d.ts +14 -0
  741. package/dist/types/components/IconPicker/IconPicker/IconPicker.style.d.ts +13 -0
  742. package/dist/types/components/IconPicker/IconPicker/IconPicker.type.d.ts +14 -0
  743. package/dist/types/components/IconPicker/IconPicker/IconPicker.view.d.ts +4 -0
  744. package/dist/types/components/IconPicker/IconPicker.d.ts +3 -0
  745. package/dist/types/components/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +27 -0
  746. package/dist/types/components/Input/FieldContainer/FieldContainer.d.ts +3 -0
  747. package/dist/types/components/Input/FieldContent/FieldContent/FieldContent.props.d.ts +71 -0
  748. package/dist/types/components/Input/FieldContent/FieldContent.d.ts +3 -0
  749. package/dist/types/components/Input/FieldIcons/FieldIcons/FieldIcons.props.d.ts +3 -0
  750. package/dist/types/components/Input/FieldIcons/FieldIcons.d.ts +3 -0
  751. package/dist/types/components/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +31 -0
  752. package/dist/types/components/Input/FieldLabel/FieldLabel.d.ts +3 -0
  753. package/dist/types/components/Input/FieldLayout/FieldLayout/FieldLayout.props.d.ts +25 -0
  754. package/dist/types/components/Input/FieldLayout/FieldLayout.d.ts +3 -0
  755. package/dist/types/components/Input/FieldWrapper/FieldWrapper.d.ts +3 -0
  756. package/dist/types/components/Input/FieldWrapper/FieldWrapper.props.d.ts +3 -0
  757. package/dist/types/components/Input/HelperText/HelperText.d.ts +3 -0
  758. package/dist/types/components/Input/HelperText/HelperText.props.d.ts +17 -0
  759. package/dist/types/components/Input/Input.style.d.ts +18 -0
  760. package/dist/types/components/Input/Input.type.d.ts +13 -0
  761. package/dist/types/components/Input/fieldSizes.d.ts +15 -0
  762. package/dist/types/components/Input/index.d.ts +7 -0
  763. package/dist/types/components/Input/useFieldDesignSystemProps.d.ts +9 -0
  764. package/dist/types/components/KeyboardAvoidingView/KeyboardAvoidingView.d.ts +3 -0
  765. package/dist/types/components/KeyboardAvoidingView/KeyboardAvoidingView.types.d.ts +24 -0
  766. package/dist/types/components/KeyboardAvoidingView/index.d.ts +2 -0
  767. package/dist/types/components/Link/Link/Link.props.d.ts +18 -0
  768. package/dist/types/components/Link/Link/Link.state.d.ts +4 -0
  769. package/dist/types/components/Link/Link/Link.style.d.ts +11 -0
  770. package/dist/types/components/Link/Link/Link.type.d.ts +8 -0
  771. package/dist/types/components/Link/Link/Link.view.d.ts +4 -0
  772. package/dist/types/components/Link/Link.d.ts +3 -0
  773. package/dist/types/components/Loader/Loader/Loader.props.d.ts +27 -0
  774. package/dist/types/components/Loader/Loader/Loader.style.d.ts +4 -0
  775. package/dist/types/components/Loader/Loader/Loader.type.d.ts +4 -0
  776. package/dist/types/components/Loader/Loader/Loader.view.d.ts +11 -0
  777. package/dist/types/components/Loader/Loader.d.ts +3 -0
  778. package/dist/types/components/Markdown/Markdown/Markdown.content.d.ts +6 -0
  779. package/dist/types/components/Markdown/Markdown/Markdown.motion.d.ts +1 -0
  780. package/dist/types/components/Markdown/Markdown/Markdown.props.d.ts +34 -0
  781. package/dist/types/components/Markdown/Markdown/Markdown.view.d.ts +1 -0
  782. package/dist/types/components/Markdown/Markdown/useMarkdownTyping.d.ts +6 -0
  783. package/dist/types/components/Markdown/Markdown.d.ts +3 -0
  784. package/dist/types/components/MediaPreview.d.ts +14 -0
  785. package/dist/types/components/Menubar/Menubar/Menubar.props.d.ts +74 -0
  786. package/dist/types/components/Menubar/Menubar/Menubar.state.d.ts +8 -0
  787. package/dist/types/components/Menubar/Menubar/Menubar.style.d.ts +19 -0
  788. package/dist/types/components/Menubar/Menubar/Menubar.type.d.ts +36 -0
  789. package/dist/types/components/Menubar/Menubar/Menubar.view.d.ts +22 -0
  790. package/dist/types/components/Menubar/Menubar.d.ts +2 -0
  791. package/dist/types/components/Menubar/index.d.ts +1 -0
  792. package/dist/types/components/Message/Message/Message.layout.d.ts +3 -0
  793. package/dist/types/components/Message/Message/Message.props.d.ts +36 -0
  794. package/dist/types/components/Message/Message/Message.store.d.ts +5 -0
  795. package/dist/types/components/Message/Message/Message.style.d.ts +5 -0
  796. package/dist/types/components/Message/Message/Message.type.d.ts +48 -0
  797. package/dist/types/components/Message/Message/Message.view.d.ts +3 -0
  798. package/dist/types/components/Message/Message.d.ts +5 -0
  799. package/dist/types/components/Modal/Modal/Modal.layout.d.ts +3 -0
  800. package/dist/types/components/Modal/Modal/Modal.props.d.ts +92 -0
  801. package/dist/types/components/Modal/Modal/Modal.store.d.ts +19 -0
  802. package/dist/types/components/Modal/Modal/Modal.style.d.ts +33 -0
  803. package/dist/types/components/Modal/Modal/Modal.type.d.ts +4 -0
  804. package/dist/types/components/Modal/Modal/Modal.view.d.ts +21 -0
  805. package/dist/types/components/Modal/Modal.d.ts +5 -0
  806. package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.props.d.ts +68 -0
  807. package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.state.d.ts +8 -0
  808. package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.style.d.ts +32 -0
  809. package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.type.d.ts +35 -0
  810. package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.view.d.ts +25 -0
  811. package/dist/types/components/NavigationMenu/NavigationMenu.d.ts +2 -0
  812. package/dist/types/components/OTPInput/OTPInput/OTPInput.props.d.ts +43 -0
  813. package/dist/types/components/OTPInput/OTPInput/OTPInput.state.d.ts +23 -0
  814. package/dist/types/components/OTPInput/OTPInput/OTPInput.type.d.ts +9 -0
  815. package/dist/types/components/OTPInput/OTPInput/OTPInput.view.d.ts +29 -0
  816. package/dist/types/components/OTPInput/OTPInput/sync-timeouts.d.ts +1 -0
  817. package/dist/types/components/OTPInput/OTPInput.d.ts +3 -0
  818. package/dist/types/components/PageHeader/PageHeader/PageHeader.props.d.ts +9 -0
  819. package/dist/types/components/PageHeader/PageHeader/PageHeader.style.d.ts +4 -0
  820. package/dist/types/components/PageHeader/PageHeader/PageHeader.type.d.ts +7 -0
  821. package/dist/types/components/PageHeader/PageHeader/PageHeader.view.d.ts +4 -0
  822. package/dist/types/components/PageHeader/PageHeader.d.ts +3 -0
  823. package/dist/types/components/PageLayout/PageLayout.d.ts +3 -0
  824. package/dist/types/components/PageLayout/PageLayout.types.d.ts +30 -0
  825. package/dist/types/components/PageLayout/index.d.ts +2 -0
  826. package/dist/types/components/Pagination/Pagination/Pagination.props.d.ts +19 -0
  827. package/dist/types/components/Pagination/Pagination/Pagination.state.d.ts +3 -0
  828. package/dist/types/components/Pagination/Pagination/Pagination.style.d.ts +7 -0
  829. package/dist/types/components/Pagination/Pagination/Pagination.type.d.ts +17 -0
  830. package/dist/types/components/Pagination/Pagination/Pagination.view.d.ts +3 -0
  831. package/dist/types/components/Pagination/Pagination.d.ts +3 -0
  832. package/dist/types/components/Pagination/index.d.ts +1 -0
  833. package/dist/types/components/Portal/Portal.d.ts +7 -0
  834. package/dist/types/components/ProgressBar/ProgressBar/ProgressBar.props.d.ts +24 -0
  835. package/dist/types/components/ProgressBar/ProgressBar/ProgressBar.view.d.ts +4 -0
  836. package/dist/types/components/ProgressBar/ProgressBar.d.ts +4 -0
  837. package/dist/types/components/Resizable/Resizable/Resizable.props.d.ts +52 -0
  838. package/dist/types/components/Resizable/Resizable/Resizable.state.d.ts +16 -0
  839. package/dist/types/components/Resizable/Resizable/Resizable.style.d.ts +7 -0
  840. package/dist/types/components/Resizable/Resizable/Resizable.type.d.ts +44 -0
  841. package/dist/types/components/Resizable/Resizable/Resizable.view.d.ts +13 -0
  842. package/dist/types/components/Resizable/Resizable.d.ts +2 -0
  843. package/dist/types/components/Resizable/index.d.ts +1 -0
  844. package/dist/types/components/Router/Router.d.ts +3 -0
  845. package/dist/types/components/Router/Router.match.d.ts +15 -0
  846. package/dist/types/components/Router/Router.store.d.ts +28 -0
  847. package/dist/types/components/Router/Router.types.d.ts +16 -0
  848. package/dist/types/components/Router/index.d.ts +5 -0
  849. package/dist/types/components/Router/useHistory.d.ts +21 -0
  850. package/dist/types/components/Separator/Separator/Separator.props.d.ts +12 -0
  851. package/dist/types/components/Separator/Separator/Separator.style.d.ts +23 -0
  852. package/dist/types/components/Separator/Separator/Separator.type.d.ts +8 -0
  853. package/dist/types/components/Separator/Separator/Separator.view.d.ts +3 -0
  854. package/dist/types/components/Separator/Separator.d.ts +4 -0
  855. package/dist/types/components/Separator/index.d.ts +1 -0
  856. package/dist/types/components/ShareButton/ShareButton/ShareButton.props.d.ts +19 -0
  857. package/dist/types/components/ShareButton/ShareButton/ShareButton.state.d.ts +6 -0
  858. package/dist/types/components/ShareButton/ShareButton/ShareButton.view.d.ts +4 -0
  859. package/dist/types/components/ShareButton/ShareButton.d.ts +3 -0
  860. package/dist/types/components/Sidebar/Sidebar/Sidebar.props.d.ts +54 -0
  861. package/dist/types/components/Sidebar/Sidebar/Sidebar.state.d.ts +7 -0
  862. package/dist/types/components/Sidebar/Sidebar/Sidebar.style.d.ts +13 -0
  863. package/dist/types/components/Sidebar/Sidebar/Sidebar.type.d.ts +32 -0
  864. package/dist/types/components/Sidebar/Sidebar/Sidebar.view.d.ts +21 -0
  865. package/dist/types/components/Sidebar/Sidebar.d.ts +2 -0
  866. package/dist/types/components/Sidebar/index.d.ts +1 -0
  867. package/dist/types/components/Slider/Slider/Slider.props.d.ts +36 -0
  868. package/dist/types/components/Slider/Slider/Slider.state.d.ts +14 -0
  869. package/dist/types/components/Slider/Slider/Slider.style.d.ts +15 -0
  870. package/dist/types/components/Slider/Slider/Slider.type.d.ts +18 -0
  871. package/dist/types/components/Slider/Slider/Slider.view.d.ts +3 -0
  872. package/dist/types/components/Slider/Slider.d.ts +3 -0
  873. package/dist/types/components/Slider/index.d.ts +1 -0
  874. package/dist/types/components/SplashScreen/SplashScreen.d.ts +3 -0
  875. package/dist/types/components/SplashScreen/SplashScreen.store.d.ts +18 -0
  876. package/dist/types/components/SplashScreen/SplashScreen.types.d.ts +23 -0
  877. package/dist/types/components/SplashScreen/index.d.ts +3 -0
  878. package/dist/types/components/StatePanel/StatePanel/StatePanel.props.d.ts +10 -0
  879. package/dist/types/components/StatePanel/StatePanel/StatePanel.style.d.ts +4 -0
  880. package/dist/types/components/StatePanel/StatePanel/StatePanel.type.d.ts +8 -0
  881. package/dist/types/components/StatePanel/StatePanel/StatePanel.view.d.ts +4 -0
  882. package/dist/types/components/StatePanel/StatePanel.d.ts +3 -0
  883. package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.props.d.ts +8 -0
  884. package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.style.d.ts +10 -0
  885. package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.type.d.ts +7 -0
  886. package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.view.d.ts +3 -0
  887. package/dist/types/components/StatusIndicator/StatusIndicator.d.ts +3 -0
  888. package/dist/types/components/Table/Table/Table.context.d.ts +23 -0
  889. package/dist/types/components/Table/Table/Table.props.d.ts +24 -0
  890. package/dist/types/components/Table/Table/Table.state.d.ts +5 -0
  891. package/dist/types/components/Table/Table/Table.style.d.ts +22 -0
  892. package/dist/types/components/Table/Table/Table.type.d.ts +19 -0
  893. package/dist/types/components/Table/Table/Table.view.d.ts +14 -0
  894. package/dist/types/components/Table/Table/TableScroll.d.ts +8 -0
  895. package/dist/types/components/Table/Table.d.ts +16 -0
  896. package/dist/types/components/Tabs/Tabs/TabHeader.d.ts +24 -0
  897. package/dist/types/components/Tabs/Tabs/Tabs.props.d.ts +124 -0
  898. package/dist/types/components/Tabs/Tabs/Tabs.state.d.ts +23 -0
  899. package/dist/types/components/Tabs/Tabs/Tabs.styles.d.ts +11 -0
  900. package/dist/types/components/Tabs/Tabs/Tabs.type.d.ts +57 -0
  901. package/dist/types/components/Tabs/Tabs/Tabs.view.d.ts +12 -0
  902. package/dist/types/components/Tabs/Tabs.d.ts +10 -0
  903. package/dist/types/components/TextArea/TextArea.d.ts +17 -0
  904. package/dist/types/components/Title/Title/SlideEffect.d.ts +16 -0
  905. package/dist/types/components/Title/Title/Title.props.d.ts +28 -0
  906. package/dist/types/components/Title/Title/Title.state.d.ts +10 -0
  907. package/dist/types/components/Title/Title/Title.style.d.ts +29 -0
  908. package/dist/types/components/Title/Title/Title.type.d.ts +8 -0
  909. package/dist/types/components/Title/Title/Title.view.d.ts +4 -0
  910. package/dist/types/components/Title/Title/TypewriterEffect.d.ts +15 -0
  911. package/dist/types/components/Title/Title.d.ts +3 -0
  912. package/dist/types/components/Title/index.d.ts +1 -0
  913. package/dist/types/components/Toast/Toast/Toast.hook.d.ts +10 -0
  914. package/dist/types/components/Toast/Toast/Toast.props.d.ts +34 -0
  915. package/dist/types/components/Toast/Toast/Toast.store.d.ts +10 -0
  916. package/dist/types/components/Toast/Toast/Toast.style.d.ts +17 -0
  917. package/dist/types/components/Toast/Toast/Toast.type.d.ts +53 -0
  918. package/dist/types/components/Toast/Toast/Toast.view.d.ts +4 -0
  919. package/dist/types/components/Toast/Toast.d.ts +23 -0
  920. package/dist/types/components/Toast/index.d.ts +1 -0
  921. package/dist/types/components/Toggle/Toggle/Toggle.props.d.ts +17 -0
  922. package/dist/types/components/Toggle/Toggle/Toggle.state.d.ts +6 -0
  923. package/dist/types/components/Toggle/Toggle/Toggle.style.d.ts +8 -0
  924. package/dist/types/components/Toggle/Toggle/Toggle.type.d.ts +2 -0
  925. package/dist/types/components/Toggle/Toggle/Toggle.view.d.ts +12 -0
  926. package/dist/types/components/Toggle/Toggle.d.ts +3 -0
  927. package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.props.d.ts +19 -0
  928. package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.state.d.ts +4 -0
  929. package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.style.d.ts +2 -0
  930. package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.type.d.ts +9 -0
  931. package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.view.d.ts +3 -0
  932. package/dist/types/components/ToggleGroup/ToggleGroup.d.ts +3 -0
  933. package/dist/types/components/Tooltip/Tooltip/Tooltip.props.d.ts +38 -0
  934. package/dist/types/components/Tooltip/Tooltip/Tooltip.state.d.ts +17 -0
  935. package/dist/types/components/Tooltip/Tooltip/Tooltip.style.d.ts +7 -0
  936. package/dist/types/components/Tooltip/Tooltip/Tooltip.type.d.ts +20 -0
  937. package/dist/types/components/Tooltip/Tooltip/Tooltip.view.d.ts +21 -0
  938. package/dist/types/components/Tooltip/Tooltip.d.ts +2 -0
  939. package/dist/types/components/Tooltip/index.d.ts +1 -0
  940. package/dist/types/components/Uploader/Uploader/Uploader.props.d.ts +59 -0
  941. package/dist/types/components/Uploader/Uploader/Uploader.state.d.ts +14 -0
  942. package/dist/types/components/Uploader/Uploader/Uploader.view.d.ts +3 -0
  943. package/dist/types/components/Uploader/Uploader.d.ts +3 -0
  944. package/dist/types/components/index.d.ts +13 -0
  945. package/dist/types/components/index.shared.d.ts +143 -0
  946. package/dist/types/components/pilot/alert.d.ts +2 -0
  947. package/dist/types/components/pilot/avatar.d.ts +2 -0
  948. package/dist/types/components/pilot/blocks/SettingsPanel.d.ts +8 -0
  949. package/dist/types/components/pilot/blocks/SignIn.d.ts +8 -0
  950. package/dist/types/components/pilot/button.d.ts +1 -0
  951. package/dist/types/components/pilot/card.d.ts +2 -0
  952. package/dist/types/components/pilot/checkbox.d.ts +2 -0
  953. package/dist/types/components/pilot/modal.d.ts +2 -0
  954. package/dist/types/components/pilot/select.d.ts +2 -0
  955. package/dist/types/components/pilot/settings-panel.d.ts +1 -0
  956. package/dist/types/components/pilot/sign-in.d.ts +1 -0
  957. package/dist/types/components/pilot/switch.d.ts +2 -0
  958. package/dist/types/components/pilot/tabs.d.ts +2 -0
  959. package/dist/types/components/pilot/text-field.d.ts +2 -0
  960. package/dist/types/design-system/DesignSystemProvider.d.ts +8 -0
  961. package/dist/types/design-system/DesignSystemScope.d.ts +8 -0
  962. package/dist/types/design-system/configs/airbnb.json.d.ts +715 -0
  963. package/dist/types/design-system/configs/apple.json.d.ts +733 -0
  964. package/dist/types/design-system/configs/coinbase.json.d.ts +726 -0
  965. package/dist/types/design-system/configs/default.json.d.ts +547 -0
  966. package/dist/types/design-system/configs/figma.json.d.ts +712 -0
  967. package/dist/types/design-system/configs/index.d.ts +27 -0
  968. package/dist/types/design-system/configs/linear.json.d.ts +705 -0
  969. package/dist/types/design-system/configs/nike.json.d.ts +733 -0
  970. package/dist/types/design-system/configs/notion.json.d.ts +838 -0
  971. package/dist/types/design-system/configs/revolut.json.d.ts +798 -0
  972. package/dist/types/design-system/configs/shopify.json.d.ts +701 -0
  973. package/dist/types/design-system/configs/spacex.json.d.ts +618 -0
  974. package/dist/types/design-system/configs/spotify.json.d.ts +701 -0
  975. package/dist/types/design-system/configs/stripe.json.d.ts +768 -0
  976. package/dist/types/design-system/configs/tesla.json.d.ts +660 -0
  977. package/dist/types/design-system/configs/uber.json.d.ts +716 -0
  978. package/dist/types/design-system/configs/vercel.json.d.ts +728 -0
  979. package/dist/types/design-system/index.d.ts +4 -0
  980. package/dist/types/design-system/theme.d.ts +37 -0
  981. package/dist/types/design-system/types.d.ts +132 -0
  982. package/dist/types/design-system/utils.d.ts +8 -0
  983. package/dist/types/pages/designSystem.page.d.ts +7 -0
  984. package/dist/types/types/global.d.ts +66 -0
  985. package/dist/types/types/module.d.ts +7 -0
  986. package/dist/types/types/refractor.d.ts +16 -0
  987. package/dist/types/utils/apiConfig.d.ts +28 -0
  988. package/dist/types/utils/colors.d.ts +31 -0
  989. package/dist/types/utils/elevation.d.ts +3 -0
  990. package/dist/types/utils/env.d.ts +15 -0
  991. package/dist/types/utils/file.d.ts +4 -0
  992. package/dist/types/utils/generateId.d.ts +5 -0
  993. package/dist/types/utils/id.d.ts +6 -0
  994. package/dist/types/utils/index.d.ts +7 -0
  995. package/dist/types/utils/localstorage.d.ts +5 -0
  996. package/dist/types/utils/request.d.ts +38 -0
  997. package/dist/types/utils/scriptTypography.d.ts +4 -0
  998. package/dist/types/utils/store.d.ts +7 -0
  999. package/dist/types/utils/typography.d.ts +23 -0
  1000. package/dist/web.cjs.js +38 -72
  1001. package/dist/web.cjs.js.map +1 -1
  1002. package/dist/web.esm.d.mts +1 -0
  1003. package/dist/web.esm.mjs +6891 -0
  1004. package/dist/web.esm.mjs.map +1 -0
  1005. package/dist/web.umd.js +39 -39
  1006. package/dist/web.umd.js.map +1 -1
  1007. package/docs/getting-started/react-native.md +17 -3
  1008. package/docs/guides/performance.mdx +5 -0
  1009. package/docs/guides/react-native.mdx +10 -0
  1010. package/docs/guides/registry-guide.mdx +145 -0
  1011. package/package.json +315 -19
  1012. package/dist/apple-touch-icon.png +0 -0
  1013. package/dist/assets/apple-logo.png +0 -0
  1014. package/dist/assets/maskable_icon.png +0 -0
  1015. package/dist/assets/orange.png +0 -0
  1016. package/dist/favicon.ico +0 -0
  1017. package/dist/favicon.svg +0 -4
  1018. package/dist/files/media/Accordion.mdx +0 -333
  1019. package/dist/files/media/Alert.mdx +0 -353
  1020. package/dist/files/media/AspectRatio.mdx +0 -64
  1021. package/dist/files/media/AudioInput.mdx +0 -78
  1022. package/dist/files/media/AudioWaveform.mdx +0 -9
  1023. package/dist/files/media/Avatar.mdx +0 -301
  1024. package/dist/files/media/Background.mdx +0 -610
  1025. package/dist/files/media/Badge.mdx +0 -503
  1026. package/dist/files/media/BlockEditor-drag-and-drop.md +0 -61
  1027. package/dist/files/media/BlockEditor.mdx +0 -106
  1028. package/dist/files/media/Button.mdx +0 -688
  1029. package/dist/files/media/Card.mdx +0 -560
  1030. package/dist/files/media/Carousel.mdx +0 -605
  1031. package/dist/files/media/Chart.mdx +0 -871
  1032. package/dist/files/media/ChatInput.mdx +0 -540
  1033. package/dist/files/media/ChatWidget.mdx +0 -403
  1034. package/dist/files/media/Checkbox.mdx +0 -463
  1035. package/dist/files/media/ColorInput.mdx +0 -217
  1036. package/dist/files/media/ColorPicker.mdx +0 -259
  1037. package/dist/files/media/ComboBox.mdx +0 -376
  1038. package/dist/files/media/Command.mdx +0 -496
  1039. package/dist/files/media/ContextMenu.mdx +0 -411
  1040. package/dist/files/media/CookieConsent.mdx +0 -263
  1041. package/dist/files/media/CountryPicker.mdx +0 -349
  1042. package/dist/files/media/DatePicker.mdx +0 -217
  1043. package/dist/files/media/DragAndDrop.mdx +0 -34
  1044. package/dist/files/media/Drawer.mdx +0 -233
  1045. package/dist/files/media/DropZone.mdx +0 -9
  1046. package/dist/files/media/DropdownMenu.mdx +0 -403
  1047. package/dist/files/media/EmojiPicker.mdx +0 -335
  1048. package/dist/files/media/Gradient.mdx +0 -604
  1049. package/dist/files/media/HoverCard.mdx +0 -144
  1050. package/dist/files/media/IconPicker.mdx +0 -9
  1051. package/dist/files/media/Label.mdx +0 -9
  1052. package/dist/files/media/Link.mdx +0 -142
  1053. package/dist/files/media/Loader.mdx +0 -161
  1054. package/dist/files/media/Markdown.mdx +0 -99
  1055. package/dist/files/media/Menubar.mdx +0 -496
  1056. package/dist/files/media/Message.mdx +0 -299
  1057. package/dist/files/media/Modal.mdx +0 -795
  1058. package/dist/files/media/NavigationMenu.mdx +0 -728
  1059. package/dist/files/media/OTPInput.mdx +0 -450
  1060. package/dist/files/media/Pagination.mdx +0 -356
  1061. package/dist/files/media/ProgressBar.mdx +0 -119
  1062. package/dist/files/media/Radio.mdx +0 -314
  1063. package/dist/files/media/RadioGroup.mdx +0 -9
  1064. package/dist/files/media/Resizable.mdx +0 -873
  1065. package/dist/files/media/Select.mdx +0 -689
  1066. package/dist/files/media/Selector.mdx +0 -9
  1067. package/dist/files/media/Separator.mdx +0 -741
  1068. package/dist/files/media/ShareButton.mdx +0 -29
  1069. package/dist/files/media/Sidebar.mdx +0 -1237
  1070. package/dist/files/media/Slider.mdx +0 -513
  1071. package/dist/files/media/StatusIndicator.mdx +0 -43
  1072. package/dist/files/media/Switch.mdx +0 -521
  1073. package/dist/files/media/Table.mdx +0 -827
  1074. package/dist/files/media/Tabs.mdx +0 -524
  1075. package/dist/files/media/TagInput.mdx +0 -372
  1076. package/dist/files/media/TextArea.mdx +0 -724
  1077. package/dist/files/media/TextField.mdx +0 -830
  1078. package/dist/files/media/Title.mdx +0 -1081
  1079. package/dist/files/media/Toast.mdx +0 -802
  1080. package/dist/files/media/Toggle.mdx +0 -159
  1081. package/dist/files/media/ToggleGroup.mdx +0 -180
  1082. package/dist/files/media/Tooltip.mdx +0 -307
  1083. package/dist/files/media/Uploader.mdx +0 -9
  1084. package/dist/fonts/mulish-subset.woff2 +0 -0
  1085. package/dist/icon-512.png +0 -0
  1086. package/dist/illustrations/cross-platform.svg +0 -37
  1087. package/dist/index.d.ts +0 -5516
  1088. package/dist/indexnow-key.txt +0 -1
  1089. package/dist/manifest.json +0 -22
  1090. package/dist/orange.webp +0 -0
  1091. package/dist/robots.txt +0 -8
  1092. package/dist/web.esm.js +0 -49919
  1093. package/dist/web.esm.js.map +0 -1
@@ -0,0 +1,88 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "tabs",
4
+ "type": "registry:ui",
5
+ "title": "Tabs",
6
+ "author": "App Studio",
7
+ "categories": [
8
+ "Navigation"
9
+ ],
10
+ "registryDependencies": [
11
+ "theme"
12
+ ],
13
+ "meta": {
14
+ "appStudio": {
15
+ "entry": "src/components/pilot/tabs.ts",
16
+ "engine": ">=0.9.5",
17
+ "engineByPlatform": {
18
+ "ios": ">=0.10.0",
19
+ "android": ">=0.10.0"
20
+ },
21
+ "version": "0.12.1",
22
+ "license": "MIT",
23
+ "platforms": [
24
+ "web",
25
+ "ios",
26
+ "android"
27
+ ],
28
+ "dependencies": {
29
+ "web": [],
30
+ "ios": [],
31
+ "android": []
32
+ },
33
+ "npmImport": "@app-studio/components/tabs"
34
+ }
35
+ },
36
+ "files": [
37
+ {
38
+ "path": "LICENSE.txt",
39
+ "content": "Copyright (c) Facebook, Inc. and its affiliates.\nAll rights reserved.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n\nAttribution-NonCommercial 4.0 International\n\n=======================================================================\n\nCreative Commons Corporation (\"Creative Commons\") is not a law firm and\ndoes not provide legal services or legal advice. Distribution of\nCreative Commons public licenses does not create a lawyer-client or\nother relationship. Creative Commons makes its licenses and related\ninformation available on an \"as-is\" basis. Creative Commons gives no\nwarranties regarding its licenses, any material licensed under their\nterms and conditions, or any related information. Creative Commons\ndisclaims all liability for damages resulting from their use to the\nfullest extent possible.\n\nUsing Creative Commons Public Licenses\n\nCreative Commons public licenses provide a standard set of terms and\nconditions that creators and other rights holders may use to share\noriginal works of authorship and other material subject to copyright\nand certain other rights specified in the public license below. The\nfollowing considerations are for informational purposes only, are not\nexhaustive, and do not form part of our licenses.\n\n Considerations for licensors: Our public licenses are\n intended for use by those authorized to give the public\n permission to use material in ways otherwise restricted by\n copyright and certain other rights. Our licenses are\n irrevocable. Licensors should read and understand the terms\n and conditions of the license they choose before applying it.\n Licensors should also secure all rights necessary before\n applying our licenses so that the public can reuse the\n material as expected. Licensors should clearly mark any\n material not subject to the license. This includes other CC-\n licensed material, or material used under an exception or\n limitation to copyright. More considerations for licensors:\n\twiki.creativecommons.org/Considerations_for_licensors\n\n Considerations for the public: By using one of our public\n licenses, a licensor grants the public permission to use the\n licensed material under specified terms and conditions. If\n the licensor's permission is not necessary for any reason--for\n example, because of any applicable exception or limitation to\n copyright--then that use is not regulated by the license. Our\n licenses grant only permissions under copyright and certain\n other rights that a licensor has authority to grant. Use of\n the licensed material may still be restricted for other\n reasons, including because others have copyright or other\n rights in the material. A licensor may make special requests,\n such as asking that all changes be marked or described.\n Although not required by our licenses, you are encouraged to\n respect those requests where reasonable. More_considerations\n for the public: \n\twiki.creativecommons.org/Considerations_for_licensees\n\n=======================================================================\n\nCreative Commons Attribution-NonCommercial 4.0 International Public\nLicense\n\nBy exercising the Licensed Rights (defined below), You accept and agree\nto be bound by the terms and conditions of this Creative Commons\nAttribution-NonCommercial 4.0 International Public License (\"Public\nLicense\"). To the extent this Public License may be interpreted as a\ncontract, You are granted the Licensed Rights in consideration of Your\nacceptance of these terms and conditions, and the Licensor grants You\nsuch rights in consideration of benefits the Licensor receives from\nmaking the Licensed Material available under these terms and\nconditions.\n\nSection 1 -- Definitions.\n\n a. Adapted Material means material subject to Copyright and Similar\n Rights that is derived from or based upon the Licensed Material\n and in which the Licensed Material is translated, altered,\n arranged, transformed, or otherwise modified in a manner requiring\n permission under the Copyright and Similar Rights held by the\n Licensor. For purposes of this Public License, where the Licensed\n Material is a musical work, performance, or sound recording,\n Adapted Material is always produced where the Licensed Material is\n synched in timed relation with a moving image.\n\n b. Adapter's License means the license You apply to Your Copyright\n and Similar Rights in Your contributions to Adapted Material in\n accordance with the terms and conditions of this Public License.\n\n c. Copyright and Similar Rights means copyright and/or similar rights\n closely related to copyright including, without limitation,\n performance, broadcast, sound recording, and Sui Generis Database\n Rights, without regard to how the rights are labeled or\n categorized. For purposes of this Public License, the rights\n specified in Section 2(b)(1)-(2) are not Copyright and Similar\n Rights.\n d. Effective Technological Measures means those measures that, in the\n absence of proper authority, may not be circumvented under laws\n fulfilling obligations under Article 11 of the WIPO Copyright\n Treaty adopted on December 20, 1996, and/or similar international\n agreements.\n\n e. Exceptions and Limitations means fair use, fair dealing, and/or\n any other exception or limitation to Copyright and Similar Rights\n that applies to Your use of the Licensed Material.\n\n f. Licensed Material means the artistic or literary work, database,\n or other material to which the Licensor applied this Public\n License.\n\n g. Licensed Rights means the rights granted to You subject to the\n terms and conditions of this Public License, which are limited to\n all Copyright and Similar Rights that apply to Your use of the\n Licensed Material and that the Licensor has authority to license.\n\n h. Licensor means the individual(s) or entity(ies) granting rights\n under this Public License.\n\n i. NonCommercial means not primarily intended for or directed towards\n commercial advantage or monetary compensation. For purposes of\n this Public License, the exchange of the Licensed Material for\n other material subject to Copyright and Similar Rights by digital\n file-sharing or similar means is NonCommercial provided there is\n no payment of monetary compensation in connection with the\n exchange.\n\n j. Share means to provide material to the public by any means or\n process that requires permission under the Licensed Rights, such\n as reproduction, public display, public performance, distribution,\n dissemination, communication, or importation, and to make material\n available to the public including in ways that members of the\n public may access the material from a place and at a time\n individually chosen by them.\n\n k. Sui Generis Database Rights means rights other than copyright\n resulting from Directive 96/9/EC of the European Parliament and of\n the Council of 11 March 1996 on the legal protection of databases,\n as amended and/or succeeded, as well as other essentially\n equivalent rights anywhere in the world.\n\n l. You means the individual or entity exercising the Licensed Rights\n under this Public License. Your has a corresponding meaning.\n\nSection 2 -- Scope.\n\n a. License grant.\n\n 1. Subject to the terms and conditions of this Public License,\n the Licensor hereby grants You a worldwide, royalty-free,\n non-sublicensable, non-exclusive, irrevocable license to\n exercise the Licensed Rights in the Licensed Material to:\n\n a. reproduce and Share the Licensed Material, in whole or\n in part, for NonCommercial purposes only; and\n\n b. produce, reproduce, and Share Adapted Material for\n NonCommercial purposes only.\n\n 2. Exceptions and Limitations. For the avoidance of doubt, where\n Exceptions and Limitations apply to Your use, this Public\n License does not apply, and You do not need to comply with\n its terms and conditions.\n\n 3. Term. The term of this Public License is specified in Section\n 6(a).\n\n 4. Media and formats; technical modifications allowed. The\n Licensor authorizes You to exercise the Licensed Rights in\n all media and formats whether now known or hereafter created,\n and to make technical modifications necessary to do so. The\n Licensor waives and/or agrees not to assert any right or\n authority to forbid You from making technical modifications\n necessary to exercise the Licensed Rights, including\n technical modifications necessary to circumvent Effective\n Technological Measures. For purposes of this Public License,\n simply making modifications authorized by this Section 2(a)\n (4) never produces Adapted Material.\n\n 5. Downstream recipients.\n\n a. Offer from the Licensor -- Licensed Material. Every\n recipient of the Licensed Material automatically\n receives an offer from the Licensor to exercise the\n Licensed Rights under the terms and conditions of this\n Public License.\n\n b. No downstream restrictions. You may not offer or impose\n any additional or different terms or conditions on, or\n apply any Effective Technological Measures to, the\n Licensed Material if doing so restricts exercise of the\n Licensed Rights by any recipient of the Licensed\n Material.\n\n 6. No endorsement. Nothing in this Public License constitutes or\n may be construed as permission to assert or imply that You\n are, or that Your use of the Licensed Material is, connected\n with, or sponsored, endorsed, or granted official status by,\n the Licensor or others designated to receive attribution as\n provided in Section 3(a)(1)(A)(i).\n\n b. Other rights.\n\n 1. Moral rights, such as the right of integrity, are not\n licensed under this Public License, nor are publicity,\n privacy, and/or other similar personality rights; however, to\n the extent possible, the Licensor waives and/or agrees not to\n assert any such rights held by the Licensor to the limited\n extent necessary to allow You to exercise the Licensed\n Rights, but not otherwise.\n\n 2. Patent and trademark rights are not licensed under this\n Public License.\n\n 3. To the extent possible, the Licensor waives any right to\n collect royalties from You for the exercise of the Licensed\n Rights, whether directly or through a collecting society\n under any voluntary or waivable statutory or compulsory\n licensing scheme. In all other cases the Licensor expressly\n reserves any right to collect such royalties, including when\n the Licensed Material is used other than for NonCommercial\n purposes.\n\nSection 3 -- License Conditions.\n\nYour exercise of the Licensed Rights is expressly made subject to the\nfollowing conditions.\n\n a. Attribution.\n\n 1. If You Share the Licensed Material (including in modified\n form), You must:\n\n a. retain the following if it is supplied by the Licensor\n with the Licensed Material:\n\n i. identification of the creator(s) of the Licensed\n Material and any others designated to receive\n attribution, in any reasonable manner requested by\n the Licensor (including by pseudonym if\n designated);\n\n ii. a copyright notice;\n\n iii. a notice that refers to this Public License;\n\n iv. a notice that refers to the disclaimer of\n warranties;\n\n v. a URI or hyperlink to the Licensed Material to the\n extent reasonably practicable;\n\n b. indicate if You modified the Licensed Material and\n retain an indication of any previous modifications; and\n\n c. indicate the Licensed Material is licensed under this\n Public License, and include the text of, or the URI or\n hyperlink to, this Public License.\n\n 2. You may satisfy the conditions in Section 3(a)(1) in any\n reasonable manner based on the medium, means, and context in\n which You Share the Licensed Material. For example, it may be\n reasonable to satisfy the conditions by providing a URI or\n hyperlink to a resource that includes the required\n information.\n\n 3. If requested by the Licensor, You must remove any of the\n information required by Section 3(a)(1)(A) to the extent\n reasonably practicable.\n\n 4. If You Share Adapted Material You produce, the Adapter's\n License You apply must not prevent recipients of the Adapted\n Material from complying with this Public License.\n\nSection 4 -- Sui Generis Database Rights.\n\nWhere the Licensed Rights include Sui Generis Database Rights that\napply to Your use of the Licensed Material:\n\n a. for the avoidance of doubt, Section 2(a)(1) grants You the right\n to extract, reuse, reproduce, and Share all or a substantial\n portion of the contents of the database for NonCommercial purposes\n only;\n\n b. if You include all or a substantial portion of the database\n contents in a database in which You have Sui Generis Database\n Rights, then the database in which You have Sui Generis Database\n Rights (but not its individual contents) is Adapted Material; and\n\n c. You must comply with the conditions in Section 3(a) if You Share\n all or a substantial portion of the contents of the database.\n\nFor the avoidance of doubt, this Section 4 supplements and does not\nreplace Your obligations under this Public License where the Licensed\nRights include other Copyright and Similar Rights.\n\nSection 5 -- Disclaimer of Warranties and Limitation of Liability.\n\n a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE\n EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS\n AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF\n ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,\n IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,\n WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR\n PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,\n ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT\n KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT\n ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.\n\n b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE\n TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,\n NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,\n INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,\n COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR\n USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN\n ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR\n DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR\n IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.\n\n c. The disclaimer of warranties and limitation of liability provided\n above shall be interpreted in a manner that, to the extent\n possible, most closely approximates an absolute disclaimer and\n waiver of all liability.\n\nSection 6 -- Term and Termination.\n\n a. This Public License applies for the term of the Copyright and\n Similar Rights licensed here. However, if You fail to comply with\n this Public License, then Your rights under this Public License\n terminate automatically.\n\n b. Where Your right to use the Licensed Material has terminated under\n Section 6(a), it reinstates:\n\n 1. automatically as of the date the violation is cured, provided\n it is cured within 30 days of Your discovery of the\n violation; or\n\n 2. upon express reinstatement by the Licensor.\n\n For the avoidance of doubt, this Section 6(b) does not affect any\n right the Licensor may have to seek remedies for Your violations\n of this Public License.\n\n c. For the avoidance of doubt, the Licensor may also offer the\n Licensed Material under separate terms or conditions or stop\n distributing the Licensed Material at any time; however, doing so\n will not terminate this Public License.\n\n d. Sections 1, 5, 6, 7, and 8 survive termination of this Public\n License.\n\nSection 7 -- Other Terms and Conditions.\n\n a. The Licensor shall not be bound by any additional or different\n terms or conditions communicated by You unless expressly agreed.\n\n b. Any arrangements, understandings, or agreements regarding the\n Licensed Material not stated herein are separate from and\n independent of the terms and conditions of this Public License.\n\nSection 8 -- Interpretation.\n\n a. For the avoidance of doubt, this Public License does not, and\n shall not be interpreted to, reduce, limit, restrict, or impose\n conditions on any use of the Licensed Material that could lawfully\n be made without permission under this Public License.\n\n b. To the extent possible, if any provision of this Public License is\n deemed unenforceable, it shall be automatically reformed to the\n minimum extent necessary to make it enforceable. If the provision\n cannot be reformed, it shall be severed from this Public License\n without affecting the enforceability of the remaining terms and\n conditions.\n\n c. No term or condition of this Public License will be waived and no\n failure to comply consented to unless expressly agreed to by the\n Licensor.\n\n d. Nothing in this Public License constitutes or may be interpreted\n as a limitation upon, or waiver of, any privileges and immunities\n that apply to the Licensor or You, including from the legal\n processes of any jurisdiction or authority.\n\n=======================================================================\n\nCreative Commons is not a party to its public\nlicenses. Notwithstanding, Creative Commons may elect to apply one of\nits public licenses to material it publishes and in those instances\nwill be considered the “Licensor.” The text of the Creative Commons\npublic licenses is dedicated to the public domain under the CC0 Public\nDomain Dedication. Except for the limited purpose of indicating that\nmaterial is shared under a Creative Commons public license or as\notherwise permitted by the Creative Commons policies published at\ncreativecommons.org/policies, Creative Commons does not authorize the\nuse of the trademark \"Creative Commons\" or any other trademark or logo\nof Creative Commons without its prior written consent including,\nwithout limitation, in connection with any unauthorized modifications\nto any of its public licenses or any other arrangements,\nunderstandings, or agreements concerning use of licensed material. For\nthe avoidance of doubt, this paragraph does not form part of the\npublic licenses.\n\nCreative Commons may be contacted at creativecommons.org.\n\n--------------------------- LICENSE FOR SMPL --------------------------------\nhttps://smpl.is.tue.mpg.de/bodylicense\n\nSMPL-Body License\nMax Planck Society e.V as Licensor\ngrants a\n\nSMPL-BODY Creative Commons License\n\nSMPL: Skinned Multi-Person Linear Model (hereinafter \"SMPL-Model\") is a 3D representation of the human body that supports realistic changes in body shape and pose. SMPL-Body is a subset of SMPL-Model which excludes the shape blendshapes or the tools to create 3D bodies using the shape blendshapes of the SMPL-Model. A SMPL-Body contains a 3D mesh, a skeleton rig, pose blendshapes and dynamic blendshapes. A SMPL-Body can be shared in the form of OBJ file(s), animated FBX file(s), or as a set of mesh vertices, skeleton rig, pose blendshapes and dynamic blendshapes in other appropriate 3D file formats.\n\nSMPL-Body is licensed under the Creative Commons Attribution 4.0 International License. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. To view a copy of this license, visit:\n\nhttp://creativecommons.org/licenses/by/4.0/\n\nOR\n\nhttps://creativecommons.org/licenses/by/4.0/deed.de (GERMAN)\n\nThe SMPL-Model specification is defined in the granted US patent US10395411B2 (published on 2018-11-01 and 2019-08-27, granted on 2019-08-27) and the pending European EP3314577A1 (published on 2018-05-02) and World WO2016207311A1 (published on 2016-12-29) patent applications, \"Skinned Multi-Person Linear Model\". The Max Planck Society (MPG) owns the technology disclosed in these granted and pending patent applications.\n\nWith this free CC-license, we want to encourage the adoption and use of SMPL-Body and related file formats as a new Standard in 3D Body Modeling. The Grant of right qualifies as a donation under German law. As to § 521 Bürgerliches Gesetzbuch the donor is responsible only for intent and gross negligence.\n\nAttribution for Publications with SMPL-Body\nYou agree to cite the most recent paper describing the model as specified on the download website: http://smpl.is.tue.mpg.de/ This website lists the most up to date bibliographic information.\n\n--------------------------- LICENSE FOR SPIN --------------------------------\n\nCopyright (c) 2019, \nUniversity of Pennsylvania, \nMax Planck Institute for Intelligent Systems\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
40
+ "type": "registry:ui"
41
+ },
42
+ {
43
+ "path": "src/components/pilot/tabs.ts",
44
+ "content": "export * from '../Tabs/Tabs';\nexport type { TabsProps } from '../Tabs/Tabs/Tabs.props';\n",
45
+ "type": "registry:ui"
46
+ },
47
+ {
48
+ "path": "src/components/Tabs/Tabs.tsx",
49
+ "content": "import React, { useId } from 'react';\nimport { TabsProps } from './Tabs/Tabs.props';\nimport {\n getTabId,\n useTabsState,\n useTabsCompoundState,\n} from './Tabs/Tabs.state';\nimport {\n TabsView,\n TabsContext,\n TabsList,\n TabsTrigger,\n TabsContent,\n} from './Tabs/Tabs.view';\nimport { Tab } from './Tabs/Tabs.type'; // Import Tab type\nimport { useDesignSystemComponentLayers } from '../../design-system/theme';\n\n/**\n * Tabs component allows users to navigate between different sections of content.\n * Supports both data-driven approach (with tabs prop) and compound component pattern.\n */\nconst TabsComponent: React.FC<TabsProps> = (props) => {\n const id = useId();\n const { props: mergedProps, themeViews } = useDesignSystemComponentLayers(\n 'tabs',\n props\n );\n const {\n tabs,\n views,\n defaultValue,\n onTabChange,\n renderTab,\n renderContent,\n variant = 'underline',\n iconPosition = 'left',\n keepMounted = false,\n value,\n onValueChange,\n children,\n 'aria-label': label,\n 'aria-labelledby': labelledBy,\n } = mergedProps;\n // For compound component pattern\n const compoundState = useTabsCompoundState(\n defaultValue,\n value,\n onValueChange\n );\n\n // For data-driven pattern\n const dataState = useTabsState(tabs || [], defaultValue, value);\n\n // If using compound component pattern (children provided)\n if (children) {\n return (\n <TabsContext.Provider\n value={{ ...compoundState, variant, id, views, themeViews }}\n >\n {children}\n </TabsContext.Provider>\n );\n }\n\n // If using data-driven pattern (tabs provided)\n if (tabs) {\n // Handler function to change the active tab and trigger the callback\n const handleTabClick = (tab: Tab) => {\n // Only update state and call callback if the clicked tab is different from the current one\n if (\n !dataState.activeTab ||\n getTabId(dataState.activeTab) !== getTabId(tab)\n ) {\n dataState.setActiveTab(tab);\n // Call the onTabChange callback if provided\n if (onTabChange) {\n onTabChange(tab);\n }\n }\n };\n\n // Render the presentation component with the necessary props\n return (\n <TabsView\n id={id}\n aria-label={label}\n aria-labelledby={labelledBy}\n tabs={tabs}\n views={views}\n themeViews={themeViews}\n activeTab={dataState.activeTab} // Pass the activeTab object from state\n handleTabClick={handleTabClick} // Pass the click handler\n renderTab={renderTab}\n renderContent={renderContent}\n variant={variant}\n iconPosition={iconPosition}\n keepMounted={keepMounted}\n />\n );\n }\n\n // If neither tabs nor children are provided, return null\n return null;\n};\n\n// Define the compound component type\ninterface TabsType extends React.FC<TabsProps> {\n List: typeof TabsList;\n Trigger: typeof TabsTrigger;\n Content: typeof TabsContent;\n}\n\n// Export the component wrapped in React.memo for performance optimization\nconst TabsMemoized = React.memo(TabsComponent);\n\n// Create the compound component with proper typing\nexport const Tabs = TabsMemoized as unknown as TabsType;\n\n// Assign the sub-components to the main component\nTabs.List = TabsList;\nTabs.Trigger = TabsTrigger;\nTabs.Content = TabsContent;\n",
50
+ "type": "registry:ui"
51
+ },
52
+ {
53
+ "path": "src/components/Tabs/Tabs/TabHeader.tsx",
54
+ "content": "import React from 'react';\nimport { Element, Text, ViewProps } from 'app-studio';\nimport { Tab } from './Tabs.type';\n\nexport interface TabHeaderProps {\n id: string;\n controls?: string;\n /** The tab data */\n tab: Tab;\n /** Whether this tab is currently active */\n isActive: boolean;\n /** Handler for when the tab is clicked */\n onClick: () => void;\n /** Position of the icon relative to the text */\n iconPosition?: 'left' | 'right' | 'top' | 'bottom';\n /** Custom styles for the tab header */\n tabStyles?: ViewProps;\n /** Custom styles for the tab text */\n textStyles?: ViewProps;\n}\n\n/**\n * TabHeader component renders a single tab in the tab navigation.\n * It's designed to be a lightweight alternative to using Button components.\n */\nexport const TabHeader: React.FC<TabHeaderProps> = React.memo(\n ({\n id,\n controls,\n tab,\n isActive,\n onClick,\n iconPosition = 'left',\n tabStyles,\n textStyles,\n }) => {\n // Determine the flex direction based on icon position\n const getFlexDirection = () => {\n switch (iconPosition) {\n case 'top':\n return 'column';\n case 'bottom':\n return 'column-reverse';\n case 'right':\n return 'row-reverse';\n case 'left':\n default:\n return 'row';\n }\n };\n\n // Determine the gap based on icon position\n const getGap = () => {\n return ['top', 'bottom'].includes(iconPosition) ? '4px' : '8px';\n };\n\n // Clone icon to apply active styles (e.g. bold stroke) if valid.\n // Use isValidElement's generic to give `tab.icon.props` a concrete shape\n // (React 19 types it as `unknown` by default).\n const iconElement =\n tab.icon && React.isValidElement<{ strokeWidth?: number }>(tab.icon)\n ? React.cloneElement(tab.icon, {\n strokeWidth: isActive ? 2.5 : 2,\n })\n : tab.icon;\n const label = tab.title ?? tab.label;\n\n return (\n <Element\n as=\"div\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n cursor=\"pointer\"\n transition=\"background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease\"\n {...tabStyles}\n flexDirection={getFlexDirection()}\n gap={getGap()}\n onClick={onClick}\n id={id}\n role=\"tab\"\n aria-selected={isActive}\n aria-controls={controls}\n tabIndex={isActive ? 0 : -1}\n data-state={isActive ? 'active' : 'inactive'}\n >\n {/* \n Force icon remount when active state changes to ensure strokeWidth prop is applied \n even if the Icon component doesn't handle prop updates correctly.\n */}\n {iconElement && (\n <Element key={isActive ? 'active-icon' : 'inactive-icon'}>\n {iconElement}\n </Element>\n )}\n\n {/* Grid wrapper to prevent layout shift when font weight changes */}\n <Element display=\"grid\" alignItems=\"center\" justifyContent=\"center\">\n {/* Invisible bold text to reserve space */}\n {(typeof label === 'string' || typeof label === 'number') && (\n <Text\n {...textStyles}\n fontWeight=\"600\"\n visibility=\"hidden\"\n gridColumn=\"1\"\n gridRow=\"1\"\n aria-hidden=\"true\"\n >\n {label}\n </Text>\n )}\n {/* Visible text */}\n <Text\n {...textStyles}\n fontWeight={isActive ? '600' : '500'}\n gridColumn=\"1\"\n gridRow=\"1\"\n >\n {label}\n </Text>\n </Element>\n </Element>\n );\n }\n);\n",
55
+ "type": "registry:ui"
56
+ },
57
+ {
58
+ "path": "src/components/Tabs/Tabs/Tabs.props.ts",
59
+ "content": "import React from 'react';\nimport { TabsStyles, TabsVariant, Tab } from './Tabs.type';\nimport { ViewProps } from 'app-studio';\n\n/**\n * Props for the main Tabs component (External API).\n * Supports both data-driven approach (with tabs prop) and compound component pattern.\n */\nexport interface TabsProps {\n /** Array of tab objects to be displayed. Each tab needs a unique `value`. (Data-driven approach) */\n tabs?: Tab[];\n /** Optional value of the tab to be active initially. Defaults to the first tab if not provided or not found. */\n defaultValue?: string | number;\n /** Optional callback function triggered when the active tab changes. Receives the newly active tab object. */\n onTabChange?: (activeTab: Tab) => void;\n /** Optional styles object to customize the appearance of the tabs container, headers, text, and content area. */\n views?: TabsStyles;\n /** Accessible name for the data-driven tab list. */\n 'aria-label'?: string;\n /** ID of the element naming the data-driven tab list. */\n 'aria-labelledby'?: string;\n /** Visual presentation style for the tab list. */\n variant?: TabsVariant;\n /** Optional position of the icon relative to the text in tab headers. */\n iconPosition?: 'left' | 'right' | 'top' | 'bottom';\n /**\n * Optional custom renderer for a single tab header.\n * Receives the tab data, whether it's currently active, and an onClick handler to activate the tab.\n */\n renderTab?: (\n tab: Tab,\n isActive: boolean,\n onClick: () => void\n ) => React.ReactNode;\n /**\n * Optional custom renderer for the content area.\n * Receives the currently active tab object.\n * If not provided, the `content` property from the active tab object will be rendered.\n */\n renderContent?: (activeTab: Tab) => React.ReactNode;\n\n /**\n * By default only the ACTIVE tab's content is mounted — inactive tabs do\n * not exist in the DOM (their state resets on switch, and tests must\n * activate a tab before asserting on its content). Set `keepMounted` to\n * mount every tab's content up front and toggle visibility with\n * `display: none`, preserving internal state across switches. Only applies\n * to the data-driven `tabs` path; `renderContent` still receives the active\n * tab only.\n */\n keepMounted?: boolean;\n\n /** Current value for controlled compound component pattern */\n value?: string | number;\n /**\n * Callback when tab value changes in compound component pattern. Receives\n * the tab's value — matching `Tabs.type.ts` and `Tabs.state.ts`, which\n * already declared `string | number` while this one said `any`.\n */\n onValueChange?: (value: string | number) => void;\n /** Children for compound component pattern */\n children?: React.ReactNode;\n}\n\n/**\n * Props specifically for the TabsView component (Internal).\n * These props are derived or passed down from the main Tabs component.\n */\nexport interface TabsViewProps {\n id: string;\n themeViews?: TabsStyles;\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n variant?: TabsVariant;\n iconPosition?: 'left' | 'right' | 'bottom' | 'top'; // Added iconPosition prop\n /** The original array of tab objects. */\n tabs: Tab[];\n /** The currently active tab object, or undefined if none is active. */\n activeTab: Tab | undefined;\n /** Callback function to handle clicking on a tab header/button. */\n handleTabClick: (tab: Tab) => void;\n /** Optional styles object. */\n views?: TabsStyles;\n /** Optional custom renderer for a tab button/header. */\n renderTab?: (\n tab: Tab,\n isActive: boolean,\n onClick: () => void\n ) => React.ReactNode;\n /** Optional custom renderer for the content area. */\n renderContent?: (activeTab: Tab) => React.ReactNode;\n /** Mount every tab's content and hide inactive ones with display:none. */\n keepMounted?: boolean;\n}\n\n/**\n * Props for TabsList compound component\n */\nexport interface TabsListProps {\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n /** Children (TabsTrigger components) */\n children: React.ReactNode;\n /** Custom styles for the list container */\n views?: {\n container?: ViewProps;\n };\n}\n\n/**\n * Props for TabsTrigger compound component\n */\nexport interface TabsTriggerProps {\n /** Unique value for this tab */\n value: string;\n /** Children content for the trigger */\n children: React.ReactNode;\n /** Whether this trigger is disabled */\n disabled?: boolean;\n /** Custom styles for the trigger */\n views?: {\n trigger?: ViewProps;\n activeState?: ViewProps;\n };\n}\n\n/**\n * Props for TabsContent compound component\n */\nexport interface TabsContentProps {\n /** Value that this content corresponds to */\n value: string;\n /** Children content to display when this tab is active */\n children: React.ReactNode;\n /** Custom styles for the content */\n views?: {\n content?: ViewProps;\n };\n}\n",
60
+ "type": "registry:ui"
61
+ },
62
+ {
63
+ "path": "src/components/Tabs/Tabs/Tabs.state.ts",
64
+ "content": "import { useState, useEffect } from 'react';\nimport { Tab } from './Tabs.type';\n\nexport const getTabId = (tab: Tab) => tab.value ?? tab.title;\n\n/**\n * Custom hook to manage the state of the active tab.\n * @param propTabs - The array of tab objects provided as props.\n * @param defaultValue - The optional title of the tab to be initially active.\n * @returns An object containing the current activeTab and a function to update it.\n */\nexport const useTabsState = (\n propTabs: Tab[],\n defaultValue?: string | number,\n value?: string | number\n) => {\n const initialTab =\n (defaultValue === undefined\n ? undefined\n : propTabs.find((tab) => getTabId(tab) === defaultValue)) ?? propTabs[0];\n const [selection, setSelection] = useState(() => ({\n defaultValue,\n id: initialTab && getTabId(initialTab),\n }));\n const activeTab =\n value !== undefined\n ? propTabs.find((tab) => getTabId(tab) === value)\n : (selection.defaultValue === defaultValue\n ? propTabs.find((tab) => getTabId(tab) === selection.id)\n : undefined) ?? initialTab;\n const activeId = activeTab && getTabId(activeTab);\n\n useEffect(() => {\n if (\n value === undefined &&\n (selection.id !== activeId || selection.defaultValue !== defaultValue)\n ) {\n setSelection({ defaultValue, id: activeId });\n }\n }, [activeId, defaultValue, selection, value]);\n\n const setActiveTab = (tab: Tab) => {\n if (value === undefined) {\n setSelection({ defaultValue, id: getTabId(tab) });\n }\n };\n\n return {\n activeTab,\n setActiveTab,\n };\n};\n\n/**\n * Custom hook to manage the state for compound component pattern.\n * @param defaultValue - The default value for the active tab (uncontrolled)\n * @param value - The current value for the active tab (controlled)\n * @param onValueChange - Callback when the active value changes\n * @returns An object containing the current activeValue and a function to update it.\n */\nexport const useTabsCompoundState = (\n defaultValue?: string | number,\n value?: string | number,\n onValueChange?: (value: string | number) => void\n) => {\n const [internalValue, setInternalValue] = useState<string | number | null>(\n defaultValue ?? null\n );\n\n // Use controlled value if provided, otherwise use internal state\n const activeValue = value !== undefined ? value : internalValue;\n\n const setActiveValue = (newValue: string | number) => {\n // Only update internal state if not controlled\n if (value === undefined) {\n setInternalValue(newValue);\n }\n\n // Always call the callback\n if (onValueChange) {\n onValueChange(newValue);\n }\n };\n\n return {\n activeValue,\n setActiveValue,\n };\n};\n",
65
+ "type": "registry:ui"
66
+ },
67
+ {
68
+ "path": "src/components/Tabs/Tabs/Tabs.styles.ts",
69
+ "content": "import type { ViewProps } from 'app-studio';\nimport { mergeDesignSystemViews } from '../../../design-system/theme';\nimport type { TabsStyles } from './Tabs.type';\n\nexport function resolveTabStyles(\n recipe: {\n tab: ViewProps;\n activeTab: ViewProps;\n text: ViewProps;\n activeText: ViewProps;\n },\n active: boolean,\n views: TabsStyles,\n themeViews: TabsStyles\n) {\n return mergeDesignSystemViews(\n { tab: themeViews.tab, title: themeViews.title },\n active\n ? { tab: themeViews.activeTab, title: themeViews.activeText }\n : undefined,\n { tab: recipe.tab, title: recipe.text },\n active ? { tab: recipe.activeTab, title: recipe.activeText } : undefined,\n { tab: views.tab, title: views.title },\n active ? { tab: views.activeTab, title: views.activeText } : undefined\n );\n}\n",
70
+ "type": "registry:ui"
71
+ },
72
+ {
73
+ "path": "src/components/Tabs/Tabs/Tabs.type.ts",
74
+ "content": "import { ViewProps } from 'app-studio';\nimport React from 'react';\n\nexport type TabsVariant = 'underline' | 'segmented' | 'pill';\n\n/**\n * Defines the structure for a single tab.\n */\nexport type Tab = {\n /** The text displayed on the tab header/button. */\n title?: string;\n /** Optional label used as an alternative to `title` in some compositions. */\n label?: React.ReactNode;\n /** Unique value to identify the tab. If not provided, title will be used. */\n value?: string | number;\n /** Optional icon element to display next to the title. */\n icon?: React.ReactNode; // Use React.ReactNode instead of any\n /** The content to display when this tab is active. Can be any renderable React node. */\n content?: React.ReactNode; // Use React.ReactNode instead of any\n};\n\n/**\n * Context type for managing tab state in compound components\n */\nexport interface TabsContextType {\n /** Scope DOM IDs to this tabs instance. */\n id: string;\n views?: TabsStyles;\n themeViews?: TabsStyles;\n /** Currently active tab value */\n activeValue: string | number | null;\n /** Function to set the active tab */\n setActiveValue: (value: string | number) => void;\n /** Visual variant for the tabs */\n variant?: TabsVariant;\n /** Default value for initial tab */\n defaultValue?: string | number;\n /** Callback when tab changes */\n onValueChange?: (value: string | number) => void;\n}\n\n/**\n * Defines the structure for applying custom styles to various parts of the Tabs component.\n * Allows using either direct CSSProperties or passing props compatible with underlying Button/Text components.\n */\nexport type TabsStyles = {\n /** Styles for the main container wrapping the tabs and content. */\n container?: ViewProps;\n /** Styles applied specifically to the active tab header. Merged with `tab` views. */\n activeTab?: ViewProps;\n /** Styles applied specifically to the text within the active tab header. Merged with `title` views. */\n activeText?: ViewProps;\n /** Styles applied to each tab header (both active and inactive). */\n tab?: ViewProps;\n /** Styles applied to the content area displaying the active tab's content. */\n content?: ViewProps;\n /** Styles applied to the text within each tab header (both active and inactive). */\n title?: ViewProps;\n /** Styles applied to the container element that wraps the tab buttons/headers. */\n headerTabs?: ViewProps;\n};\n",
75
+ "type": "registry:ui"
76
+ },
77
+ {
78
+ "path": "src/components/Tabs/Tabs/Tabs.view.native.tsx",
79
+ "content": "import React, { createContext, useCallback, useContext } from 'react';\nimport {\n View,\n Horizontal,\n Vertical,\n Text,\n useTheme,\n ViewProps,\n} from 'app-studio';\nimport {\n TabsViewProps,\n TabsListProps,\n TabsTriggerProps,\n TabsContentProps,\n} from './Tabs.props';\nimport { TabsContextType, TabsStyles, TabsVariant } from './Tabs.type';\nimport { getTabId } from './Tabs.state';\nimport {\n deepMerge,\n useDesignSystemComponentProps,\n mergeDesignSystemViews,\n} from '../../../design-system/theme';\nimport { resolveTabStyles } from './Tabs.styles';\n\nconst iconDirections = {\n left: 'row',\n right: 'row-reverse',\n top: 'column',\n bottom: 'column-reverse',\n} as const;\n\nfunction getTabColor(view?: ViewProps) {\n const inline = view?.style;\n return (\n (inline && typeof inline === 'object' && 'color' in inline\n ? inline.color\n : undefined) ?? view?.color\n );\n}\n\nconst getTabsVariantStyles = (\n variant: TabsVariant,\n themeMode: string\n): {\n header: ViewProps;\n tab: ViewProps;\n activeTab: ViewProps;\n text: ViewProps;\n activeText: ViewProps;\n content: ViewProps;\n} => {\n const isDark = themeMode === 'dark';\n if (variant === 'segmented') {\n return {\n header: {\n alignSelf: 'flex-start',\n gap: 6,\n padding: 6,\n borderRadius: 16,\n backgroundColor: isDark ? 'color-gray-800' : 'color-gray-100',\n },\n tab: {\n minHeight: 44,\n paddingHorizontal: 22,\n borderRadius: 12,\n color: isDark ? 'color-gray-300' : 'color-gray-600',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: isDark ? 'color-gray-800' : 'color-gray-100',\n },\n activeTab: {\n backgroundColor: isDark ? 'color-gray-700' : 'color-white',\n color: isDark ? 'color-white' : 'color-gray-900',\n },\n text: { fontSize: 14, lineHeight: 20 },\n activeText: {},\n content: { width: '100%' },\n };\n }\n if (variant === 'pill') {\n return {\n header: {\n width: '100%',\n flexWrap: 'wrap',\n gap: 12,\n },\n tab: {\n minHeight: 44,\n paddingHorizontal: 22,\n borderRadius: 999,\n backgroundColor: isDark ? 'color-gray-900' : 'color-white',\n color: isDark ? 'color-gray-200' : 'color-gray-600',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: isDark ? 'color-gray-700' : 'color-gray-200',\n },\n activeTab: {\n backgroundColor: 'theme-primary',\n color: 'color-white',\n borderColor: 'theme-primary',\n },\n text: { fontSize: 14, lineHeight: 20 },\n activeText: {},\n content: { width: '100%' },\n };\n }\n return {\n header: { width: '100%', gap: 20 },\n tab: {\n minHeight: 44,\n paddingHorizontal: 4,\n borderRadius: 0,\n color: isDark ? 'color-gray-400' : 'color-gray-500',\n borderBottomWidth: 3,\n borderBottomColor: isDark ? 'color-gray-900' : 'color-white',\n },\n activeTab: {\n color: 'theme-primary',\n borderBottomColor: 'theme-primary',\n },\n text: { fontSize: 14, lineHeight: 20 },\n activeText: {},\n content: { width: '100%', paddingTop: 12 },\n };\n};\n\nexport const TabsView: React.FC<TabsViewProps> = ({\n 'aria-label': label,\n 'aria-labelledby': labelledBy,\n tabs = [],\n activeTab,\n handleTabClick,\n views: instanceViews = {},\n themeViews,\n renderTab,\n renderContent,\n variant = 'underline',\n iconPosition = 'left',\n keepMounted = false,\n}) => {\n const { themeMode } = useTheme();\n const variantStyles = getTabsVariantStyles(variant, themeMode);\n const views = themeViews\n ? mergeDesignSystemViews<TabsStyles>(\n themeViews,\n { headerTabs: variantStyles.header, content: variantStyles.content },\n instanceViews\n )\n : instanceViews;\n if (!activeTab) return null;\n return (\n <Vertical width=\"100%\" height={'100%'} {...views.container}>\n <Horizontal\n alignItems=\"center\"\n {...variantStyles.header}\n {...views.headerTabs}\n accessibilityRole=\"tablist\"\n accessibilityLabel={label ?? views.headerTabs?.accessibilityLabel}\n aria-labelledby={labelledBy ?? views.headerTabs?.['aria-labelledby']}\n >\n {tabs.map((tab, index) => {\n const isActive = tab === activeTab;\n const onPress = () => handleTabClick(tab);\n if (renderTab) {\n return renderTab(tab, isActive, onPress);\n }\n const style =\n themeViews &&\n resolveTabStyles(\n variantStyles,\n isActive,\n instanceViews,\n themeViews\n );\n return (\n <View\n key={getTabId(tab) ?? index}\n onPress={onPress}\n alignItems=\"center\"\n justifyContent=\"center\"\n flexDirection={iconDirections[iconPosition]}\n gap={iconPosition === 'top' || iconPosition === 'bottom' ? 4 : 8}\n {...(style\n ? style.tab\n : {\n ...variantStyles.tab,\n ...views.tab,\n ...(isActive ? variantStyles.activeTab : {}),\n ...(isActive ? views.activeTab : {}),\n })}\n accessible\n accessibilityRole=\"tab\"\n accessibilityState={{ selected: isActive }}\n >\n {tab.icon}\n <Text\n color={\n style\n ? getTabColor(style.tab)\n : isActive\n ? variantStyles.activeTab.color\n : variantStyles.tab.color\n }\n {...(style\n ? style.title\n : {\n ...variantStyles.text,\n ...views.title,\n ...(isActive ? variantStyles.activeText : {}),\n ...(isActive ? views.activeText : {}),\n })}\n >\n {tab.title ?? tab.label}\n </Text>\n </View>\n );\n })}\n </Horizontal>\n <View height=\"100%\" {...variantStyles.content} {...views.content}>\n {renderContent\n ? renderContent(activeTab)\n : keepMounted\n ? tabs.map((tab, index) => (\n <View\n key={getTabId(tab) ?? index}\n display={tab === activeTab ? undefined : 'none'}\n >\n {tab.content}\n </View>\n ))\n : activeTab.content}\n </View>\n </Vertical>\n );\n};\n\nexport const TabsContext = createContext<TabsContextType | null>(null);\n\nexport const useTabsContext = () => {\n const context = useContext(TabsContext);\n if (!context) {\n throw new Error('useTabsContext must be used within a Tabs component');\n }\n return context;\n};\n\nexport const TabsList: React.FC<TabsListProps> = React.memo(\n ({ children, views, 'aria-label': label, 'aria-labelledby': labelledBy }) => {\n const { themeMode } = useTheme();\n const {\n variant = 'underline',\n views: rootViews,\n themeViews,\n } = useTabsContext();\n const variantStyles = getTabsVariantStyles(variant, themeMode);\n const designSystemTabs = useDesignSystemComponentProps('tabs');\n const mergedViews = themeViews\n ? mergeDesignSystemViews(\n { container: themeViews.headerTabs },\n { container: variantStyles.header },\n { container: rootViews?.headerTabs },\n views\n )\n : deepMerge({ container: designSystemTabs.views?.headerTabs }, views);\n return (\n <Horizontal\n alignItems=\"center\"\n {...variantStyles.header}\n {...mergedViews?.container}\n accessibilityRole=\"tablist\"\n accessibilityLabel={label ?? mergedViews?.container?.accessibilityLabel}\n aria-labelledby={\n labelledBy ?? mergedViews?.container?.['aria-labelledby']\n }\n >\n {children}\n </Horizontal>\n );\n }\n);\n\nexport const TabsTrigger: React.FC<TabsTriggerProps> = React.memo(\n ({ value, children, disabled = false, views }) => {\n const { themeMode } = useTheme();\n const {\n activeValue,\n setActiveValue,\n variant = 'underline',\n views: rootViews,\n themeViews,\n } = useTabsContext();\n const isActive = activeValue === value;\n const variantStyles = getTabsVariantStyles(variant, themeMode);\n const designSystemTabs = useDesignSystemComponentProps('tabs');\n const mergedViews = deepMerge(\n {\n trigger: designSystemTabs.views?.tab,\n activeState: designSystemTabs.views?.activeTab,\n },\n views\n );\n const standardStyles =\n themeViews &&\n resolveTabStyles(\n variantStyles,\n isActive,\n mergeDesignSystemViews(rootViews, {\n tab: views?.trigger,\n activeTab: views?.activeState,\n }),\n themeViews\n );\n const handlePress = useCallback(() => {\n if (!disabled) setActiveValue(value);\n }, [disabled, value, setActiveValue]);\n return (\n <View\n opacity={disabled ? 0.6 : 1}\n alignItems=\"center\"\n justifyContent=\"center\"\n onPress={disabled ? undefined : handlePress}\n {...(standardStyles\n ? standardStyles.tab\n : {\n ...variantStyles.tab,\n ...(isActive ? variantStyles.activeTab : {}),\n ...mergedViews?.trigger,\n ...(isActive ? mergedViews?.activeState : {}),\n })}\n accessible\n accessibilityRole=\"tab\"\n accessibilityState={{ selected: isActive, disabled }}\n >\n <View\n color={standardStyles ? getTabColor(standardStyles.tab) : undefined}\n {...(standardStyles\n ? standardStyles.title\n : {\n ...variantStyles.text,\n ...(isActive ? variantStyles.activeText : {}),\n })}\n >\n {children}\n </View>\n </View>\n );\n }\n);\n\nexport const TabsContent: React.FC<TabsContentProps> = React.memo(\n ({ value, children, views }) => {\n const { activeValue, views: rootViews, themeViews } = useTabsContext();\n if (activeValue !== value) return null;\n return (\n <View\n width=\"100%\"\n padding={24}\n {...(themeViews\n ? mergeDesignSystemViews(\n { content: themeViews.content },\n { content: rootViews?.content },\n views\n ).content\n : views?.content)}\n >\n {children}\n </View>\n );\n }\n);\n",
80
+ "type": "registry:ui"
81
+ },
82
+ {
83
+ "path": "src/components/Tabs/Tabs/Tabs.view.tsx",
84
+ "content": "import React, { createContext, useCallback, useContext } from 'react';\nimport { View, Horizontal, Vertical, useTheme, ViewProps } from 'app-studio';\nimport {\n TabsViewProps,\n TabsListProps,\n TabsTriggerProps,\n TabsContentProps,\n} from './Tabs.props';\nimport { TabsContextType, TabsStyles, TabsVariant } from './Tabs.type';\nimport { TabHeader } from './TabHeader';\nimport { getTabId } from './Tabs.state';\nimport {\n deepMerge,\n useDesignSystemComponentProps,\n mergeDesignSystemViews,\n} from '../../../design-system/theme';\nimport { resolveTabStyles } from './Tabs.styles';\n\nfunction getIds(scope: string, value: string | number) {\n const suffix = encodeURIComponent(value);\n return {\n trigger: `${scope}-tab-${suffix}`,\n panel: `${scope}-panel-${suffix}`,\n };\n}\n\nfunction handleListKeyDown(event: React.KeyboardEvent<HTMLElement>) {\n const list = event.currentTarget;\n const target = (event.target as HTMLElement).closest<HTMLElement>(\n '[role=\"tab\"]'\n );\n if (\n event.defaultPrevented ||\n target !== event.target ||\n target.closest('[role=\"tablist\"]') !== list\n )\n return;\n\n if (event.key === 'Enter' || event.key === ' ') {\n if (target.matches('button, a[href]')) return;\n event.preventDefault();\n if (target.getAttribute('aria-disabled') !== 'true') target.click();\n return;\n }\n\n const key = event.key;\n if (!['Home', 'End', 'ArrowLeft', 'ArrowRight'].includes(key)) return;\n const tabs = Array.from(\n list.querySelectorAll<HTMLElement>('[role=\"tab\"]')\n ).filter(\n (tab) =>\n tab.closest('[role=\"tablist\"]') === list &&\n !tab.matches(':disabled, [aria-disabled=\"true\"]')\n );\n const focused = tabs.indexOf(target);\n if (focused === -1) return;\n\n const rtl =\n list.ownerDocument.defaultView?.getComputedStyle(list).direction === 'rtl';\n let next: number;\n switch (key) {\n case 'Home':\n next = 0;\n break;\n case 'End':\n next = tabs.length - 1;\n break;\n default: {\n const step = (key === 'ArrowRight') !== rtl ? 1 : -1;\n next = (focused + step + tabs.length) % tabs.length;\n break;\n }\n }\n\n event.preventDefault();\n tabs[next].focus();\n if (tabs[next].getAttribute('aria-selected') !== 'true') tabs[next].click();\n}\n\nconst getTabsVariantStyles = (\n variant: TabsVariant,\n themeMode: string,\n standardPrecedence = false\n): {\n header: ViewProps;\n tab: ViewProps;\n activeTab: ViewProps;\n text: ViewProps;\n activeText: ViewProps;\n content: ViewProps;\n} => {\n const isDark = themeMode === 'dark';\n const transparent = standardPrecedence\n ? { backgroundColor: 'transparent' }\n : { style: { backgroundColor: 'transparent' } };\n\n if (variant === 'segmented') {\n return {\n header: {\n width: 'fit-content',\n alignSelf: 'flex-start',\n gap: 6,\n padding: 6,\n borderRadius: 16, // radius-xl\n backgroundColor: 'color-gray-100',\n },\n tab: {\n minHeight: 44,\n padding: '0 22px',\n borderRadius: 12, // radius-lg\n color: 'color-gray-600',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'color-gray-100',\n ...transparent,\n },\n activeTab: {\n backgroundColor: 'color-white',\n color: 'color-gray-900',\n boxShadow: isDark\n ? '0 1px 3px rgba(0, 0, 0, 0.35)'\n : '0 1px 2px rgba(0, 0, 0, 0.06)',\n },\n text: {\n fontSize: 14,\n lineHeight: '20px',\n letterSpacing: '-0.01em',\n },\n activeText: {},\n content: {\n width: '100%',\n },\n };\n }\n\n if (variant === 'pill') {\n return {\n header: {\n width: '100%',\n flexWrap: 'wrap',\n gap: 12,\n },\n tab: {\n minHeight: 44,\n padding: '0 22px',\n borderRadius: '999px',\n backgroundColor: 'color-white',\n color: 'color-gray-600',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'color-gray-200',\n },\n activeTab: {\n backgroundColor: 'theme-primary',\n color: 'color-white',\n borderColor: 'theme-primary',\n },\n text: {\n fontSize: 14,\n lineHeight: '20px',\n letterSpacing: '-0.01em',\n color: 'inherit',\n },\n activeText: {\n color: 'inherit',\n },\n content: {\n width: '100%',\n },\n };\n }\n\n return {\n header: {\n width: '100%',\n gap: 20,\n borderBottom: 'none',\n },\n tab: {\n minHeight: 44,\n padding: '0 4px',\n borderRadius: 0,\n color: 'color-gray-500',\n borderBottom: '3px solid',\n borderColor: 'color-white',\n ...transparent,\n },\n activeTab: {\n color: 'theme-primary',\n borderColor: 'theme-primary',\n },\n text: {\n fontSize: 14,\n lineHeight: '20px',\n letterSpacing: '-0.01em',\n color: 'inherit',\n },\n activeText: {\n color: 'inherit',\n },\n content: {\n width: '100%',\n paddingTop: 12,\n },\n };\n};\n\n/**\n * The presentation component for Tabs. Renders the UI based on props.\n */\nexport const TabsView: React.FC<TabsViewProps> = ({\n id,\n 'aria-label': label,\n 'aria-labelledby': labelledBy,\n tabs = [], // Default to empty array\n activeTab,\n handleTabClick,\n views: instanceViews = {},\n themeViews,\n renderTab,\n renderContent,\n variant = 'underline',\n iconPosition = 'left', // Default to left\n keepMounted = false,\n}) => {\n const { themeMode } = useTheme();\n const variantStyles = getTabsVariantStyles(\n variant,\n themeMode,\n Boolean(themeViews)\n );\n const views = themeViews\n ? mergeDesignSystemViews<TabsStyles>(\n themeViews,\n { headerTabs: variantStyles.header, content: variantStyles.content },\n instanceViews\n )\n : instanceViews;\n\n // If there's no active tab (e.g., tabs array is empty), render nothing or a placeholder\n if (!activeTab) {\n // Optionally render a placeholder when no tabs are active/available\n // return <View {...views.container}><Text>No tabs available.</Text></View>;\n return null; // Or simply render nothing\n }\n const activeIndex = tabs.indexOf(activeTab);\n const activeIds = getIds(id, activeIndex);\n const keepPanelsMounted = keepMounted && !renderContent;\n\n return (\n // Use Vertical layout for overall structure (tabs header above content)\n <Vertical width=\"100%\" height={'100%'} {...views.container}>\n {/* Horizontal layout for the tab headers/buttons */}\n <Horizontal\n alignItems=\"center\"\n {...variantStyles.header}\n {...views.headerTabs}\n role=\"tablist\"\n aria-label={label ?? views.headerTabs?.['aria-label']}\n aria-labelledby={labelledBy ?? views.headerTabs?.['aria-labelledby']}\n onKeyDown={(event: React.KeyboardEvent<HTMLElement>) => {\n views.headerTabs?.onKeyDown?.(event);\n handleListKeyDown(event);\n }}\n >\n {tabs.map((tab, index) => {\n const isActive = index === activeIndex;\n const ids = getIds(id, index);\n // Prepare the onClick handler for this specific tab\n const onClick = () => handleTabClick(tab);\n\n // Use the custom renderTab function if provided\n if (renderTab) {\n return renderTab(tab, isActive, onClick);\n }\n const style =\n themeViews &&\n resolveTabStyles(\n variantStyles,\n isActive,\n instanceViews,\n themeViews\n );\n\n // Default rendering for a tab using our custom TabHeader component\n return (\n <TabHeader\n key={getTabId(tab) ?? index}\n id={ids.trigger}\n controls={isActive || keepPanelsMounted ? ids.panel : undefined}\n tab={tab}\n isActive={isActive}\n onClick={onClick}\n iconPosition={iconPosition}\n tabStyles={\n style\n ? style.tab\n : {\n ...variantStyles.tab,\n ...views.tab,\n ...(isActive ? variantStyles.activeTab : {}),\n ...(isActive ? views.activeTab : {}),\n }\n }\n textStyles={\n style\n ? style.title\n : {\n ...variantStyles.text,\n ...views.title,\n ...(isActive ? variantStyles.activeText : {}),\n ...(isActive ? views.activeText : {}),\n }\n }\n />\n );\n })}\n </Horizontal>\n\n {/* Content area */}\n <View height=\"100%\" {...variantStyles.content} {...views.content}>\n {/* Use the custom renderContent function if provided */}\n {keepPanelsMounted ? (\n tabs.map((tab, index) => {\n const ids = getIds(id, index);\n const isActive = index === activeIndex;\n return (\n <View\n key={getTabId(tab) ?? index}\n id={ids.panel}\n role=\"tabpanel\"\n aria-labelledby={renderTab ? undefined : ids.trigger}\n display={isActive ? undefined : 'none'}\n tabIndex={isActive ? 0 : -1}\n >\n {tab.content}\n </View>\n );\n })\n ) : (\n <View\n id={activeIds.panel}\n role=\"tabpanel\"\n aria-labelledby={renderTab ? undefined : activeIds.trigger}\n tabIndex={0}\n >\n {renderContent ? renderContent(activeTab) : activeTab.content}\n </View>\n )}\n </View>\n </Vertical>\n );\n};\n\n// Context for compound components\nexport const TabsContext = createContext<TabsContextType | null>(null);\n\n// Hook to use the Tabs context\nexport const useTabsContext = () => {\n const context = useContext(TabsContext);\n if (!context) {\n throw new Error('useTabsContext must be used within a Tabs component');\n }\n return context;\n};\n\n// TabsList compound component\nexport const TabsList: React.FC<TabsListProps> = React.memo(\n ({ children, views, 'aria-label': label, 'aria-labelledby': labelledBy }) => {\n const { themeMode } = useTheme();\n const {\n variant = 'underline',\n views: rootViews,\n themeViews,\n } = useTabsContext();\n const variantStyles = getTabsVariantStyles(\n variant,\n themeMode,\n Boolean(themeViews)\n );\n const designSystemTabs = useDesignSystemComponentProps('tabs');\n const mergedViews = themeViews\n ? mergeDesignSystemViews(\n { container: themeViews.headerTabs },\n { container: variantStyles.header },\n { container: rootViews?.headerTabs },\n views\n )\n : deepMerge(\n {\n container: designSystemTabs.views?.headerTabs,\n },\n views\n );\n\n return (\n <Horizontal\n alignItems=\"center\"\n {...variantStyles.header}\n {...mergedViews?.container}\n role=\"tablist\"\n aria-label={label ?? mergedViews?.container?.['aria-label']}\n aria-labelledby={\n labelledBy ?? mergedViews?.container?.['aria-labelledby']\n }\n onKeyDown={(event: React.KeyboardEvent<HTMLElement>) => {\n mergedViews?.container?.onKeyDown?.(event);\n handleListKeyDown(event);\n }}\n >\n {children}\n </Horizontal>\n );\n }\n);\n\n// TabsTrigger compound component\nexport const TabsTrigger: React.FC<TabsTriggerProps> = React.memo(\n ({ value, children, disabled = false, views }) => {\n const { themeMode } = useTheme();\n const {\n id,\n activeValue,\n setActiveValue,\n variant = 'underline',\n views: rootViews,\n themeViews,\n } = useTabsContext();\n const isActive = activeValue === value;\n const ids = getIds(id, value);\n const variantStyles = getTabsVariantStyles(\n variant,\n themeMode,\n Boolean(themeViews)\n );\n const designSystemTabs = useDesignSystemComponentProps('tabs');\n const mergedViews = deepMerge(\n {\n trigger: designSystemTabs.views?.tab,\n activeState: designSystemTabs.views?.activeTab,\n },\n views\n );\n const hover = disabled\n ? {}\n : variant === 'underline'\n ? { color: 'theme-primary' }\n : { opacity: 0.9 };\n const standardStyles =\n themeViews &&\n resolveTabStyles(\n { ...variantStyles, tab: { ...variantStyles.tab, _hover: hover } },\n isActive,\n mergeDesignSystemViews(rootViews, {\n tab: views?.trigger,\n activeTab: views?.activeState,\n }),\n themeViews\n );\n\n const handleClick = useCallback(() => {\n if (!disabled) {\n setActiveValue(value);\n }\n }, [disabled, value, setActiveValue]);\n\n return (\n <View\n cursor={disabled ? 'not-allowed' : 'pointer'}\n opacity={disabled ? 0.6 : 1}\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n transition=\"all 0.2s ease-in-out\"\n onClick={handleClick}\n {...(standardStyles\n ? standardStyles.tab\n : {\n ...variantStyles.tab,\n ...(isActive ? variantStyles.activeTab : {}),\n _hover: hover,\n ...mergedViews?.trigger,\n ...(isActive ? mergedViews?.activeState : {}),\n })}\n id={ids.trigger}\n role=\"tab\"\n aria-selected={isActive}\n aria-disabled={disabled || undefined}\n aria-controls={isActive ? ids.panel : undefined}\n tabIndex={!disabled && (isActive || activeValue === null) ? 0 : -1}\n >\n <View\n {...(standardStyles\n ? standardStyles.title\n : {\n ...variantStyles.text,\n ...(isActive ? variantStyles.activeText : {}),\n })}\n >\n {children}\n </View>\n </View>\n );\n }\n);\n\n// TabsContent compound component\nexport const TabsContent: React.FC<TabsContentProps> = React.memo(\n ({ value, children, views }) => {\n const { id, activeValue, views: rootViews, themeViews } = useTabsContext();\n\n if (activeValue !== value) {\n return null;\n }\n\n const ids = getIds(id, value);\n return (\n <View\n width=\"100%\"\n padding=\"24px\"\n {...(themeViews\n ? mergeDesignSystemViews(\n { content: themeViews.content },\n { content: rootViews?.content },\n views\n ).content\n : views?.content)}\n id={ids.panel}\n role=\"tabpanel\"\n aria-labelledby={ids.trigger}\n tabIndex={0}\n >\n {children}\n </View>\n );\n }\n);\n",
85
+ "type": "registry:ui"
86
+ }
87
+ ]
88
+ }