@app-studio/components 0.11.13 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1033) hide show
  1. package/README.md +8 -1
  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-Bjl40k3x.cjs +2 -0
  30. package/dist/chunks/Alert-Bjl40k3x.cjs.map +1 -0
  31. package/dist/chunks/Alert-Q1HlVX8f.mjs +179 -0
  32. package/dist/chunks/Alert-Q1HlVX8f.mjs.map +1 -0
  33. package/dist/chunks/AttachmentPreview-8d8gZ5kk.mjs +7777 -0
  34. package/dist/chunks/AttachmentPreview-8d8gZ5kk.mjs.map +1 -0
  35. package/dist/chunks/AttachmentPreview-Bwrz5TJh.cjs +2 -0
  36. package/dist/chunks/AttachmentPreview-Bwrz5TJh.cjs.map +1 -0
  37. package/dist/chunks/Avatar-BB0DeN9j.cjs +2 -0
  38. package/dist/chunks/Avatar-BB0DeN9j.cjs.map +1 -0
  39. package/dist/chunks/Avatar-D-GkyL2c.mjs +103 -0
  40. package/dist/chunks/Avatar-D-GkyL2c.mjs.map +1 -0
  41. package/dist/chunks/Button.core-Bc5cSn_z.mjs +717 -0
  42. package/dist/chunks/Button.core-Bc5cSn_z.mjs.map +1 -0
  43. package/dist/chunks/Button.core-BhtOm8ak.cjs +7 -0
  44. package/dist/chunks/Button.core-BhtOm8ak.cjs.map +1 -0
  45. package/dist/chunks/Button.pilot-C4BIb08S.mjs +6 -0
  46. package/dist/chunks/Button.pilot-C4BIb08S.mjs.map +1 -0
  47. package/dist/chunks/Button.pilot-JmR2DCSE.cjs +2 -0
  48. package/dist/chunks/Button.pilot-JmR2DCSE.cjs.map +1 -0
  49. package/dist/chunks/Card-CNSl9fD5.cjs +2 -0
  50. package/dist/chunks/Card-CNSl9fD5.cjs.map +1 -0
  51. package/dist/chunks/Card-DMhV_NTt.mjs +200 -0
  52. package/dist/chunks/Card-DMhV_NTt.mjs.map +1 -0
  53. package/dist/chunks/Checkbox-Bo7IRVRE.mjs +11 -0
  54. package/dist/chunks/Checkbox-Bo7IRVRE.mjs.map +1 -0
  55. package/dist/chunks/Checkbox-CAI6RtuO.cjs +2 -0
  56. package/dist/chunks/Checkbox-CAI6RtuO.cjs.map +1 -0
  57. package/dist/chunks/Checkbox.view-DGdNPlF9.cjs +2 -0
  58. package/dist/chunks/Checkbox.view-DGdNPlF9.cjs.map +1 -0
  59. package/dist/chunks/Checkbox.view-dhc-rfEX.mjs +308 -0
  60. package/dist/chunks/Checkbox.view-dhc-rfEX.mjs.map +1 -0
  61. package/dist/chunks/FieldWrapper-Bb0j8Iog.mjs +252 -0
  62. package/dist/chunks/FieldWrapper-Bb0j8Iog.mjs.map +1 -0
  63. package/dist/chunks/FieldWrapper-DRCn7BLi.cjs +2 -0
  64. package/dist/chunks/FieldWrapper-DRCn7BLi.cjs.map +1 -0
  65. package/dist/chunks/FixedIcons-Dz_f-yDL.cjs +2 -0
  66. package/dist/chunks/FixedIcons-Dz_f-yDL.cjs.map +1 -0
  67. package/dist/chunks/FixedIcons-fxASFYew.mjs +37 -0
  68. package/dist/chunks/FixedIcons-fxASFYew.mjs.map +1 -0
  69. package/dist/chunks/Formik.Uploader-D0nzjyau.cjs +22 -0
  70. package/dist/chunks/Formik.Uploader-D0nzjyau.cjs.map +1 -0
  71. package/dist/chunks/Formik.Uploader-DRIyxMI0.mjs +6962 -0
  72. package/dist/chunks/Formik.Uploader-DRIyxMI0.mjs.map +1 -0
  73. package/dist/chunks/Icon-C37alecH.cjs +2 -0
  74. package/dist/chunks/Icon-C37alecH.cjs.map +1 -0
  75. package/dist/chunks/Icon-DrAZswNH.mjs +148 -0
  76. package/dist/chunks/Icon-DrAZswNH.mjs.map +1 -0
  77. package/dist/chunks/Icon.frame-COrb0u94.mjs +29 -0
  78. package/dist/chunks/Icon.frame-COrb0u94.mjs.map +1 -0
  79. package/dist/chunks/Icon.frame-DD6ycsWD.cjs +2 -0
  80. package/dist/chunks/Icon.frame-DD6ycsWD.cjs.map +1 -0
  81. package/dist/chunks/Label-BVEAujj2.mjs +83 -0
  82. package/dist/chunks/Label-BVEAujj2.mjs.map +1 -0
  83. package/dist/chunks/Label-Bd0TpfkG.cjs +2 -0
  84. package/dist/chunks/Label-Bd0TpfkG.cjs.map +1 -0
  85. package/dist/chunks/Loader-4V81BN95.cjs +2 -0
  86. package/dist/chunks/Loader-4V81BN95.cjs.map +1 -0
  87. package/dist/chunks/Loader-DMLQky1k.mjs +171 -0
  88. package/dist/chunks/Loader-DMLQky1k.mjs.map +1 -0
  89. package/dist/chunks/Modal-DkckCT8-.mjs +339 -0
  90. package/dist/chunks/Modal-DkckCT8-.mjs.map +1 -0
  91. package/dist/chunks/Modal-zok954As.cjs +2 -0
  92. package/dist/chunks/Modal-zok954As.cjs.map +1 -0
  93. package/dist/chunks/Router-DjmVh9pK.cjs +2 -0
  94. package/dist/chunks/Router-DjmVh9pK.cjs.map +1 -0
  95. package/dist/chunks/Router-Dtb8HvI0.mjs +76 -0
  96. package/dist/chunks/Router-Dtb8HvI0.mjs.map +1 -0
  97. package/dist/chunks/Router.store-Bxe2uZWk.cjs +2 -0
  98. package/dist/chunks/Router.store-Bxe2uZWk.cjs.map +1 -0
  99. package/dist/chunks/Router.store-C0zWd45T.mjs +27 -0
  100. package/dist/chunks/Router.store-C0zWd45T.mjs.map +1 -0
  101. package/dist/chunks/Select-C6R0Tei-.cjs +2 -0
  102. package/dist/chunks/Select-C6R0Tei-.cjs.map +1 -0
  103. package/dist/chunks/Select-C7IBNyjR.mjs +24 -0
  104. package/dist/chunks/Select-C7IBNyjR.mjs.map +1 -0
  105. package/dist/chunks/Select.view-CPMqT8pn.mjs +659 -0
  106. package/dist/chunks/Select.view-CPMqT8pn.mjs.map +1 -0
  107. package/dist/chunks/Select.view-Pq1yAcMm.cjs +2 -0
  108. package/dist/chunks/Select.view-Pq1yAcMm.cjs.map +1 -0
  109. package/dist/chunks/Switch-D80yPNFV.cjs +2 -0
  110. package/dist/chunks/Switch-D80yPNFV.cjs.map +1 -0
  111. package/dist/chunks/Switch-DWx1g3jT.mjs +11 -0
  112. package/dist/chunks/Switch-DWx1g3jT.mjs.map +1 -0
  113. package/dist/chunks/Switch.view-CQZO_Js7.cjs +2 -0
  114. package/dist/chunks/Switch.view-CQZO_Js7.cjs.map +1 -0
  115. package/dist/chunks/Switch.view-QLZ7O5Z7.mjs +315 -0
  116. package/dist/chunks/Switch.view-QLZ7O5Z7.mjs.map +1 -0
  117. package/dist/chunks/Tabs-D5chMrkE.mjs +403 -0
  118. package/dist/chunks/Tabs-D5chMrkE.mjs.map +1 -0
  119. package/dist/chunks/Tabs-DQeBJwkz.cjs +2 -0
  120. package/dist/chunks/Tabs-DQeBJwkz.cjs.map +1 -0
  121. package/dist/chunks/TextField-DOU2CL5J.mjs +266 -0
  122. package/dist/chunks/TextField-DOU2CL5J.mjs.map +1 -0
  123. package/dist/chunks/TextField-Da4JCcAU.cjs +2 -0
  124. package/dist/chunks/TextField-Da4JCcAU.cjs.map +1 -0
  125. package/dist/chunks/default-D7ePSMKP.cjs +2 -0
  126. package/dist/chunks/default-D7ePSMKP.cjs.map +1 -0
  127. package/dist/chunks/default-nRKhMTzF.mjs +610 -0
  128. package/dist/chunks/default-nRKhMTzF.mjs.map +1 -0
  129. package/dist/chunks/designSystem.page-B74Vm2Dt.cjs +11 -0
  130. package/dist/chunks/designSystem.page-B74Vm2Dt.cjs.map +1 -0
  131. package/dist/chunks/designSystem.page-K0ajTvy7.mjs +13119 -0
  132. package/dist/chunks/designSystem.page-K0ajTvy7.mjs.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 +1 -1
  160. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.js.map +1 -1
  161. package/dist/native/components/Alert/Alert/Alert.view.js +1 -1
  162. package/dist/native/components/Alert/Alert/Alert.view.js.map +1 -1
  163. package/dist/native/components/Alert/Alert/Alert.view.native.js +9 -2
  164. package/dist/native/components/Alert/Alert/Alert.view.native.js.map +1 -1
  165. package/dist/native/components/Alert/Alert.js +1 -1
  166. package/dist/native/components/Alert/Alert.js.map +1 -1
  167. package/dist/native/components/Avatar/Avatar.js +1 -1
  168. package/dist/native/components/Avatar/Avatar.js.map +1 -1
  169. package/dist/native/components/Badge/Badge.js +1 -1
  170. package/dist/native/components/Badge/Badge.js.map +1 -1
  171. package/dist/native/components/Button/Button/Button.style.js.map +1 -1
  172. package/dist/native/components/Button/Button/Button.view.d.ts +4 -1
  173. package/dist/native/components/Button/Button/Button.view.js +7 -5
  174. package/dist/native/components/Button/Button/Button.view.js.map +1 -1
  175. package/dist/native/components/Button/Button/Button.view.native.d.ts +4 -1
  176. package/dist/native/components/Button/Button/Button.view.native.js +14 -4
  177. package/dist/native/components/Button/Button/Button.view.native.js.map +1 -1
  178. package/dist/native/components/Button/Button.core.d.ts +4 -0
  179. package/dist/native/components/Button/Button.core.js +39 -0
  180. package/dist/native/components/Button/Button.core.js.map +1 -0
  181. package/dist/native/components/Button/Button.d.ts +1 -3
  182. package/dist/native/components/Button/Button.js +3 -36
  183. package/dist/native/components/Button/Button.js.map +1 -1
  184. package/dist/native/components/Button/Button.pilot.d.ts +2 -0
  185. package/dist/native/components/Button/Button.pilot.js +3 -0
  186. package/dist/native/components/Button/Button.pilot.js.map +1 -0
  187. package/dist/native/components/Card/Card.js +1 -1
  188. package/dist/native/components/Card/Card.js.map +1 -1
  189. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js +1 -1
  190. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js.map +1 -1
  191. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js +1 -1
  192. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js.map +1 -1
  193. package/dist/native/components/Form/Checkbox/Checkbox.js +1 -1
  194. package/dist/native/components/Form/Checkbox/Checkbox.js.map +1 -1
  195. package/dist/native/components/Form/Radio/Radio.js +1 -1
  196. package/dist/native/components/Form/Radio/Radio.js.map +1 -1
  197. package/dist/native/components/Form/Select/Select/Select.view.js +1 -1
  198. package/dist/native/components/Form/Select/Select/Select.view.js.map +1 -1
  199. package/dist/native/components/Form/Select/Select/Select.view.native.js +2 -2
  200. package/dist/native/components/Form/Select/Select/Select.view.native.js.map +1 -1
  201. package/dist/native/components/Form/Select/Select.js +1 -1
  202. package/dist/native/components/Form/Select/Select.js.map +1 -1
  203. package/dist/native/components/Form/Switch/Switch.js +1 -1
  204. package/dist/native/components/Form/Switch/Switch.js.map +1 -1
  205. package/dist/native/components/Form/TextArea/TextArea.js +1 -1
  206. package/dist/native/components/Form/TextArea/TextArea.js.map +1 -1
  207. package/dist/native/components/Form/TextField/TextField/TextField.view.js +1 -1
  208. package/dist/native/components/Form/TextField/TextField/TextField.view.js.map +1 -1
  209. package/dist/native/components/Form/TextField/TextField/TextField.view.native.js +5 -9
  210. package/dist/native/components/Form/TextField/TextField/TextField.view.native.js.map +1 -1
  211. package/dist/native/components/Form/TextField/TextField.js +1 -1
  212. package/dist/native/components/Form/TextField/TextField.js.map +1 -1
  213. package/dist/native/components/Icon/FixedIcons.d.ts +10 -0
  214. package/dist/native/components/Icon/FixedIcons.js +23 -0
  215. package/dist/native/components/Icon/FixedIcons.js.map +1 -0
  216. package/dist/native/components/Icon/FixedIcons.native.d.ts +17 -0
  217. package/dist/native/components/Icon/FixedIcons.native.js +30 -0
  218. package/dist/native/components/Icon/FixedIcons.native.js.map +1 -0
  219. package/dist/native/components/Icon/Icon.d.ts +2 -12
  220. package/dist/native/components/Icon/Icon.frame.d.ts +14 -0
  221. package/dist/native/components/Icon/Icon.frame.js +17 -0
  222. package/dist/native/components/Icon/Icon.frame.js.map +1 -0
  223. package/dist/native/components/Icon/Icon.js +11 -23
  224. package/dist/native/components/Icon/Icon.js.map +1 -1
  225. package/dist/native/components/Loader/Loader.js +1 -1
  226. package/dist/native/components/Loader/Loader.js.map +1 -1
  227. package/dist/native/components/Modal/Modal/Modal.props.d.ts +3 -0
  228. package/dist/native/components/Modal/Modal/Modal.view.js +45 -14
  229. package/dist/native/components/Modal/Modal/Modal.view.js.map +1 -1
  230. package/dist/native/components/Modal/Modal/Modal.view.native.js +2 -2
  231. package/dist/native/components/Modal/Modal/Modal.view.native.js.map +1 -1
  232. package/dist/native/components/NavigationMenu/NavigationMenu.js +1 -1
  233. package/dist/native/components/NavigationMenu/NavigationMenu.js.map +1 -1
  234. package/dist/native/components/PageHeader/PageHeader.js +1 -1
  235. package/dist/native/components/PageHeader/PageHeader.js.map +1 -1
  236. package/dist/native/components/ProgressBar/ProgressBar.js +1 -1
  237. package/dist/native/components/ProgressBar/ProgressBar.js.map +1 -1
  238. package/dist/native/components/Separator/Separator.js +1 -1
  239. package/dist/native/components/Separator/Separator.js.map +1 -1
  240. package/dist/native/components/Slider/Slider.js +1 -1
  241. package/dist/native/components/Slider/Slider.js.map +1 -1
  242. package/dist/native/components/StatePanel/StatePanel.js +1 -1
  243. package/dist/native/components/StatePanel/StatePanel.js.map +1 -1
  244. package/dist/native/components/StatusIndicator/StatusIndicator.js +1 -1
  245. package/dist/native/components/StatusIndicator/StatusIndicator.js.map +1 -1
  246. package/dist/native/components/Table/Table.js +1 -1
  247. package/dist/native/components/Table/Table.js.map +1 -1
  248. package/dist/native/components/Tabs/Tabs/Tabs.view.js +1 -1
  249. package/dist/native/components/Tabs/Tabs/Tabs.view.js.map +1 -1
  250. package/dist/native/components/Tabs/Tabs/Tabs.view.native.js +1 -1
  251. package/dist/native/components/Tabs/Tabs/Tabs.view.native.js.map +1 -1
  252. package/dist/native/components/Tabs/Tabs.js +1 -1
  253. package/dist/native/components/Tabs/Tabs.js.map +1 -1
  254. package/dist/native/components/pilot/alert.d.ts +2 -0
  255. package/dist/native/components/pilot/alert.js +2 -0
  256. package/dist/native/components/pilot/alert.js.map +1 -0
  257. package/dist/native/components/pilot/avatar.d.ts +2 -0
  258. package/dist/native/components/pilot/avatar.js +2 -0
  259. package/dist/native/components/pilot/avatar.js.map +1 -0
  260. package/dist/native/components/pilot/blocks/SettingsPanel.d.ts +8 -0
  261. package/dist/native/components/pilot/blocks/SettingsPanel.js +24 -0
  262. package/dist/native/components/pilot/blocks/SettingsPanel.js.map +1 -0
  263. package/dist/native/components/pilot/blocks/SignIn.d.ts +8 -0
  264. package/dist/native/components/pilot/blocks/SignIn.js +55 -0
  265. package/dist/native/components/pilot/blocks/SignIn.js.map +1 -0
  266. package/dist/native/components/pilot/button.d.ts +1 -0
  267. package/dist/native/components/pilot/button.js +2 -0
  268. package/dist/native/components/pilot/button.js.map +1 -0
  269. package/dist/native/components/pilot/card.d.ts +2 -0
  270. package/dist/native/components/pilot/card.js +2 -0
  271. package/dist/native/components/pilot/card.js.map +1 -0
  272. package/dist/native/components/pilot/checkbox.d.ts +2 -0
  273. package/dist/native/components/pilot/checkbox.js +2 -0
  274. package/dist/native/components/pilot/checkbox.js.map +1 -0
  275. package/dist/native/components/pilot/modal.d.ts +2 -0
  276. package/dist/native/components/pilot/modal.js +2 -0
  277. package/dist/native/components/pilot/modal.js.map +1 -0
  278. package/dist/native/components/pilot/select.d.ts +2 -0
  279. package/dist/native/components/pilot/select.js +2 -0
  280. package/dist/native/components/pilot/select.js.map +1 -0
  281. package/dist/native/components/pilot/settings-panel.d.ts +1 -0
  282. package/dist/native/components/pilot/settings-panel.js +2 -0
  283. package/dist/native/components/pilot/settings-panel.js.map +1 -0
  284. package/dist/native/components/pilot/sign-in.d.ts +1 -0
  285. package/dist/native/components/pilot/sign-in.js +2 -0
  286. package/dist/native/components/pilot/sign-in.js.map +1 -0
  287. package/dist/native/components/pilot/switch.d.ts +2 -0
  288. package/dist/native/components/pilot/switch.js +2 -0
  289. package/dist/native/components/pilot/switch.js.map +1 -0
  290. package/dist/native/components/pilot/tabs.d.ts +2 -0
  291. package/dist/native/components/pilot/tabs.js +2 -0
  292. package/dist/native/components/pilot/tabs.js.map +1 -0
  293. package/dist/native/components/pilot/text-field.d.ts +2 -0
  294. package/dist/native/components/pilot/text-field.js +2 -0
  295. package/dist/native/components/pilot/text-field.js.map +1 -0
  296. package/dist/native/design-system/DesignSystemProvider.d.ts +4 -24
  297. package/dist/native/design-system/DesignSystemProvider.js +5 -53
  298. package/dist/native/design-system/DesignSystemProvider.js.map +1 -1
  299. package/dist/native/design-system/theme.d.ts +28 -0
  300. package/dist/native/design-system/theme.js +54 -0
  301. package/dist/native/design-system/theme.js.map +1 -0
  302. package/dist/native/design-system/types.d.ts +8 -2
  303. package/dist/presets.cjs.js +2 -0
  304. package/dist/presets.cjs.js.map +1 -0
  305. package/dist/presets.esm.d.mts +1 -0
  306. package/dist/presets.esm.mjs +10816 -0
  307. package/dist/presets.esm.mjs.map +1 -0
  308. package/dist/registry/alert.json +89 -0
  309. package/dist/registry/avatar.json +78 -0
  310. package/dist/registry/button.json +145 -0
  311. package/dist/registry/card.json +78 -0
  312. package/dist/registry/checkbox.json +131 -0
  313. package/dist/registry/modal.json +111 -0
  314. package/dist/registry/registry.json +1207 -0
  315. package/dist/registry/select.json +246 -0
  316. package/dist/registry/settings-panel.json +51 -0
  317. package/dist/registry/sign-in.json +52 -0
  318. package/dist/registry/switch.json +113 -0
  319. package/dist/registry/tabs.json +83 -0
  320. package/dist/registry/text-field.json +206 -0
  321. package/dist/router.cjs.js +2 -0
  322. package/dist/router.cjs.js.map +1 -0
  323. package/dist/router.esm.d.mts +1 -0
  324. package/dist/router.esm.mjs +11 -0
  325. package/dist/router.esm.mjs.map +1 -0
  326. package/dist/select.cjs.js +2 -0
  327. package/dist/select.cjs.js.map +1 -0
  328. package/dist/select.esm.d.mts +1 -0
  329. package/dist/select.esm.mjs +5 -0
  330. package/dist/select.esm.mjs.map +1 -0
  331. package/dist/settings-panel.cjs.js +2 -0
  332. package/dist/settings-panel.cjs.js.map +1 -0
  333. package/dist/settings-panel.esm.d.mts +1 -0
  334. package/dist/settings-panel.esm.mjs +43 -0
  335. package/dist/settings-panel.esm.mjs.map +1 -0
  336. package/dist/sign-in.cjs.js +2 -0
  337. package/dist/sign-in.cjs.js.map +1 -0
  338. package/dist/sign-in.esm.d.mts +1 -0
  339. package/dist/sign-in.esm.mjs +83 -0
  340. package/dist/sign-in.esm.mjs.map +1 -0
  341. package/dist/switch.cjs.js +2 -0
  342. package/dist/switch.cjs.js.map +1 -0
  343. package/dist/switch.esm.d.mts +1 -0
  344. package/dist/switch.esm.mjs +5 -0
  345. package/dist/switch.esm.mjs.map +1 -0
  346. package/dist/tabs.cjs.js +2 -0
  347. package/dist/tabs.cjs.js.map +1 -0
  348. package/dist/tabs.esm.d.mts +1 -0
  349. package/dist/tabs.esm.mjs +5 -0
  350. package/dist/tabs.esm.mjs.map +1 -0
  351. package/dist/text-field.cjs.js +2 -0
  352. package/dist/text-field.cjs.js.map +1 -0
  353. package/dist/text-field.esm.d.mts +1 -0
  354. package/dist/text-field.esm.mjs +5 -0
  355. package/dist/text-field.esm.mjs.map +1 -0
  356. package/dist/theme.cjs.js +2 -0
  357. package/dist/theme.cjs.js.map +1 -0
  358. package/dist/theme.esm.d.mts +1 -0
  359. package/dist/theme.esm.mjs +116 -0
  360. package/dist/theme.esm.mjs.map +1 -0
  361. package/dist/types/components/Accordion/Accordion/Accordion.props.d.ts +50 -0
  362. package/dist/types/components/Accordion/Accordion/Accordion.state.d.ts +9 -0
  363. package/dist/types/components/Accordion/Accordion/Accordion.style.d.ts +6 -0
  364. package/dist/types/components/Accordion/Accordion/Accordion.type.d.ts +20 -0
  365. package/dist/types/components/Accordion/Accordion/Accordion.view.d.ts +32 -0
  366. package/dist/types/components/Accordion/Accordion.d.ts +2 -0
  367. package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.props.d.ts +36 -0
  368. package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.state.d.ts +8 -0
  369. package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.style.d.ts +17 -0
  370. package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.type.d.ts +37 -0
  371. package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.view.d.ts +4 -0
  372. package/dist/types/components/ActionSheet/ActionSheet.d.ts +3 -0
  373. package/dist/types/components/ActionSheet/index.d.ts +3 -0
  374. package/dist/types/components/Alert/Alert/Alert.props.d.ts +14 -0
  375. package/dist/types/components/Alert/Alert/Alert.state.d.ts +5 -0
  376. package/dist/types/components/Alert/Alert/Alert.style.d.ts +18 -0
  377. package/dist/types/components/Alert/Alert/Alert.type.d.ts +8 -0
  378. package/dist/types/components/Alert/Alert/Alert.view.d.ts +6 -0
  379. package/dist/types/components/Alert/Alert.d.ts +3 -0
  380. package/dist/types/components/AppRoot/AppRoot.d.ts +17 -0
  381. package/dist/types/components/AppRoot/AppRoot.types.d.ts +22 -0
  382. package/dist/types/components/AppRoot/index.d.ts +2 -0
  383. package/dist/types/components/AspectRatio/AspectRatio/AspectRatio.props.d.ts +9 -0
  384. package/dist/types/components/AspectRatio/AspectRatio/AspectRatio.view.d.ts +3 -0
  385. package/dist/types/components/AspectRatio/AspectRatio.d.ts +3 -0
  386. package/dist/types/components/AttachmentGroup/AttachmentGroup/AttachmentGroup.d.ts +18 -0
  387. package/dist/types/components/AttachmentGroup/AttachmentGroup.d.ts +2 -0
  388. package/dist/types/components/AudioInput/AudioInput/AudioInput.props.d.ts +18 -0
  389. package/dist/types/components/AudioInput/AudioInput/AudioInput.state.d.ts +15 -0
  390. package/dist/types/components/AudioInput/AudioInput/AudioInput.view.d.ts +4 -0
  391. package/dist/types/components/AudioInput/AudioInput.d.ts +4 -0
  392. package/dist/types/components/AudioInput/AudioWaveform/AudioWaveform.d.ts +3 -0
  393. package/dist/types/components/AudioInput/AudioWaveform/AudioWaveform.props.d.ts +9 -0
  394. package/dist/types/components/AudioInput/AudioWaveform/AudioWaveform.view.d.ts +4 -0
  395. package/dist/types/components/AudioInput/useAudioRecording.d.ts +13 -0
  396. package/dist/types/components/Avatar/Avatar/Avatar.props.d.ts +14 -0
  397. package/dist/types/components/Avatar/Avatar/Avatar.state.d.ts +4 -0
  398. package/dist/types/components/Avatar/Avatar/Avatar.style.d.ts +14 -0
  399. package/dist/types/components/Avatar/Avatar/Avatar.type.d.ts +7 -0
  400. package/dist/types/components/Avatar/Avatar/Avatar.view.d.ts +3 -0
  401. package/dist/types/components/Avatar/Avatar.d.ts +3 -0
  402. package/dist/types/components/Background/Background/Background.props.d.ts +97 -0
  403. package/dist/types/components/Background/Background/Background.style.d.ts +24 -0
  404. package/dist/types/components/Background/Background/Background.type.d.ts +28 -0
  405. package/dist/types/components/Background/Background/Background.view.d.ts +18 -0
  406. package/dist/types/components/Background/Background.d.ts +15 -0
  407. package/dist/types/components/Background/index.d.ts +3 -0
  408. package/dist/types/components/Badge/Badge/Badge.props.d.ts +23 -0
  409. package/dist/types/components/Badge/Badge/Badge.style.d.ts +41 -0
  410. package/dist/types/components/Badge/Badge/Badge.type.d.ts +13 -0
  411. package/dist/types/components/Badge/Badge/Badge.view.d.ts +7 -0
  412. package/dist/types/components/Badge/Badge.d.ts +3 -0
  413. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.content.d.ts +19 -0
  414. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.controls.d.ts +15 -0
  415. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.dom.d.ts +9 -0
  416. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.keyboard.d.ts +16 -0
  417. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.model.d.ts +58 -0
  418. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.navigation.d.ts +6 -0
  419. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.props.d.ts +105 -0
  420. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.selection.d.ts +13 -0
  421. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.state.d.ts +149 -0
  422. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.transactions.d.ts +8 -0
  423. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.upload.d.ts +6 -0
  424. package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.view.d.ts +6 -0
  425. package/dist/types/components/BlockEditor/BlockEditor.d.ts +3 -0
  426. package/dist/types/components/Button/Button/Button.element.d.ts +1 -0
  427. package/dist/types/components/Button/Button/Button.props.d.ts +50 -0
  428. package/dist/types/components/Button/Button/Button.state.d.ts +5 -0
  429. package/dist/types/components/Button/Button/Button.style.d.ts +37 -0
  430. package/dist/types/components/Button/Button/Button.type.d.ts +9 -0
  431. package/dist/types/components/Button/Button/Button.view.d.ts +7 -0
  432. package/dist/types/components/Button/Button.core.d.ts +4 -0
  433. package/dist/types/components/Button/Button.d.ts +1 -0
  434. package/dist/types/components/Button/Button.pilot.d.ts +2 -0
  435. package/dist/types/components/Card/Card/Card.context.d.ts +6 -0
  436. package/dist/types/components/Card/Card/Card.props.d.ts +30 -0
  437. package/dist/types/components/Card/Card/Card.state.d.ts +4 -0
  438. package/dist/types/components/Card/Card/Card.style.d.ts +6 -0
  439. package/dist/types/components/Card/Card/Card.type.d.ts +10 -0
  440. package/dist/types/components/Card/Card/Card.view.d.ts +6 -0
  441. package/dist/types/components/Card/Card.d.ts +2 -0
  442. package/dist/types/components/Carousel/Carousel/Carousel.context.d.ts +3 -0
  443. package/dist/types/components/Carousel/Carousel/Carousel.props.d.ts +51 -0
  444. package/dist/types/components/Carousel/Carousel/Carousel.state.d.ts +29 -0
  445. package/dist/types/components/Carousel/Carousel/Carousel.style.d.ts +6 -0
  446. package/dist/types/components/Carousel/Carousel/Carousel.type.d.ts +32 -0
  447. package/dist/types/components/Carousel/Carousel/Carousel.view.d.ts +8 -0
  448. package/dist/types/components/Carousel/Carousel.d.ts +2 -0
  449. package/dist/types/components/Chart/Chart/BarChart.d.ts +15 -0
  450. package/dist/types/components/Chart/Chart/Chart.props.d.ts +28 -0
  451. package/dist/types/components/Chart/Chart/Chart.state.d.ts +40 -0
  452. package/dist/types/components/Chart/Chart/Chart.style.d.ts +20 -0
  453. package/dist/types/components/Chart/Chart/Chart.type.d.ts +36 -0
  454. package/dist/types/components/Chart/Chart/Chart.view.d.ts +3 -0
  455. package/dist/types/components/Chart/Chart/ChartColors.d.ts +13 -0
  456. package/dist/types/components/Chart/Chart/ChartTooltip.d.ts +14 -0
  457. package/dist/types/components/Chart/Chart/LineChart.d.ts +15 -0
  458. package/dist/types/components/Chart/Chart/PieChart.d.ts +15 -0
  459. package/dist/types/components/Chart/Chart.d.ts +3 -0
  460. package/dist/types/components/ChatInput/AttachmentGroup.d.ts +18 -0
  461. package/dist/types/components/ChatInput/AudioRecorder.d.ts +10 -0
  462. package/dist/types/components/ChatInput/ChatInput/ChatInput.props.d.ts +374 -0
  463. package/dist/types/components/ChatInput/ChatInput/ChatInput.state.d.ts +45 -0
  464. package/dist/types/components/ChatInput/ChatInput/ChatInput.style.d.ts +164 -0
  465. package/dist/types/components/ChatInput/ChatInput/ChatInput.type.d.ts +57 -0
  466. package/dist/types/components/ChatInput/ChatInput/ChatInput.view.d.ts +4 -0
  467. package/dist/types/components/ChatInput/ChatInput.d.ts +3 -0
  468. package/dist/types/components/ChatInput/ChatUploader.d.ts +20 -0
  469. package/dist/types/components/ChatInput/EditableInput.d.ts +44 -0
  470. package/dist/types/components/ChatInput/GuideTip.d.ts +12 -0
  471. package/dist/types/components/ChatInput/MessageInput.d.ts +36 -0
  472. package/dist/types/components/ChatInput/PromptExamples.d.ts +13 -0
  473. package/dist/types/components/ChatInput/index.d.ts +7 -0
  474. package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.props.d.ts +32 -0
  475. package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.state.d.ts +8 -0
  476. package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.style.d.ts +81 -0
  477. package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.type.d.ts +47 -0
  478. package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.view.d.ts +4 -0
  479. package/dist/types/components/ChatWidget/ChatWidget.d.ts +4 -0
  480. package/dist/types/components/ChatWidget/Widget/ChatWidgetWidget.d.ts +14 -0
  481. package/dist/types/components/ChatWidget/Widget/index.d.ts +2 -0
  482. package/dist/types/components/ChatWidget/Widget/useContextSelector.d.ts +22 -0
  483. package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.props.d.ts +44 -0
  484. package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.state.d.ts +14 -0
  485. package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.style.d.ts +19 -0
  486. package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.type.d.ts +34 -0
  487. package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.view.d.ts +4 -0
  488. package/dist/types/components/ColorPicker/ColorPicker.d.ts +3 -0
  489. package/dist/types/components/Command/Command/Command.props.d.ts +66 -0
  490. package/dist/types/components/Command/Command/Command.state.d.ts +17 -0
  491. package/dist/types/components/Command/Command/Command.style.d.ts +19 -0
  492. package/dist/types/components/Command/Command/Command.type.d.ts +42 -0
  493. package/dist/types/components/Command/Command/Command.view.d.ts +31 -0
  494. package/dist/types/components/Command/Command/CommandOverlay.d.ts +10 -0
  495. package/dist/types/components/Command/Command/CommandTextInput.d.ts +8 -0
  496. package/dist/types/components/Command/Command.d.ts +2 -0
  497. package/dist/types/components/Command/index.d.ts +1 -0
  498. package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.props.d.ts +72 -0
  499. package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.state.d.ts +27 -0
  500. package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.style.d.ts +16 -0
  501. package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.type.d.ts +52 -0
  502. package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.view.d.ts +23 -0
  503. package/dist/types/components/ContextMenu/ContextMenu.d.ts +2 -0
  504. package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.props.d.ts +15 -0
  505. package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.state.d.ts +7 -0
  506. package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.style.d.ts +65 -0
  507. package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.type.d.ts +10 -0
  508. package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.view.d.ts +3 -0
  509. package/dist/types/components/CookieConsent/CookieConsent.d.ts +3 -0
  510. package/dist/types/components/DataState/DataState/DataState.props.d.ts +14 -0
  511. package/dist/types/components/DataState/DataState/DataState.state.d.ts +13 -0
  512. package/dist/types/components/DataState/DataState/DataState.type.d.ts +33 -0
  513. package/dist/types/components/DataState/DataState/DataState.view.d.ts +6 -0
  514. package/dist/types/components/DataState/DataState.d.ts +3 -0
  515. package/dist/types/components/DragAndDrop/DragAndDrop/DragAndDrop.props.d.ts +18 -0
  516. package/dist/types/components/DragAndDrop/DragAndDrop/DragAndDrop.state.d.ts +8 -0
  517. package/dist/types/components/DragAndDrop/DragAndDrop/DragAndDrop.view.d.ts +3 -0
  518. package/dist/types/components/DragAndDrop/DragAndDrop.d.ts +4 -0
  519. package/dist/types/components/Drawer/Drawer/Drawer.layout.d.ts +3 -0
  520. package/dist/types/components/Drawer/Drawer/Drawer.props.d.ts +51 -0
  521. package/dist/types/components/Drawer/Drawer/Drawer.store.d.ts +19 -0
  522. package/dist/types/components/Drawer/Drawer/Drawer.style.d.ts +4 -0
  523. package/dist/types/components/Drawer/Drawer/Drawer.type.d.ts +3 -0
  524. package/dist/types/components/Drawer/Drawer/Drawer.view.d.ts +7 -0
  525. package/dist/types/components/Drawer/Drawer.d.ts +3 -0
  526. package/dist/types/components/DropZone/DropZone/DropZone.props.d.ts +24 -0
  527. package/dist/types/components/DropZone/DropZone/DropZone.state.d.ts +2 -0
  528. package/dist/types/components/DropZone/DropZone/DropZone.view.d.ts +3 -0
  529. package/dist/types/components/DropZone/DropZone.d.ts +3 -0
  530. package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.props.d.ts +51 -0
  531. package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.state.d.ts +6 -0
  532. package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.style.d.ts +17 -0
  533. package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.type.d.ts +35 -0
  534. package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.view.d.ts +20 -0
  535. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +2 -0
  536. package/dist/types/components/EditComponent/EditComponent.d.ts +14 -0
  537. package/dist/types/components/EditComponent/EditPanel.d.ts +7 -0
  538. package/dist/types/components/EditComponent/EditToolbar.d.ts +16 -0
  539. package/dist/types/components/EditComponent/index.d.ts +3 -0
  540. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.data.d.ts +3 -0
  541. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.props.d.ts +75 -0
  542. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.state.d.ts +38 -0
  543. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.style.d.ts +18 -0
  544. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.type.d.ts +28 -0
  545. package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.view.d.ts +4 -0
  546. package/dist/types/components/EmojiPicker/EmojiPicker.d.ts +3 -0
  547. package/dist/types/components/File/File.d.ts +14 -0
  548. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +30 -0
  549. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +8 -0
  550. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +79 -0
  551. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.type.d.ts +8 -0
  552. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.view.d.ts +4 -0
  553. package/dist/types/components/Form/Checkbox/Checkbox.d.ts +6 -0
  554. package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.props.d.ts +54 -0
  555. package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.state.d.ts +19 -0
  556. package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.style.d.ts +16 -0
  557. package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.type.d.ts +37 -0
  558. package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.view.d.ts +4 -0
  559. package/dist/types/components/Form/ColorInput/ColorInput/colorFormat.d.ts +7 -0
  560. package/dist/types/components/Form/ColorInput/ColorInput.d.ts +3 -0
  561. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.context.d.ts +8 -0
  562. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.props.d.ts +46 -0
  563. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.provider.d.ts +2 -0
  564. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.state.d.ts +2 -0
  565. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.style.d.ts +105 -0
  566. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.type.d.ts +11 -0
  567. package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.view.d.ts +4 -0
  568. package/dist/types/components/Form/ComboBox/ComboBox.d.ts +3 -0
  569. package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.props.d.ts +56 -0
  570. package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.state.d.ts +15 -0
  571. package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.style.d.ts +3 -0
  572. package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.type.d.ts +19 -0
  573. package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.view.d.ts +5 -0
  574. package/dist/types/components/Form/CountryPicker/CountryPicker.d.ts +3 -0
  575. package/dist/types/components/Form/CountryPicker/countries.json.d.ts +1455 -0
  576. package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.props.d.ts +92 -0
  577. package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.state.d.ts +10 -0
  578. package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.style.d.ts +3 -0
  579. package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.type.d.ts +12 -0
  580. package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.view.d.ts +4 -0
  581. package/dist/types/components/Form/DatePicker/DatePicker.d.ts +6 -0
  582. package/dist/types/components/Form/Form.d.ts +12 -0
  583. package/dist/types/components/Form/Label/Label/Label.props.d.ts +17 -0
  584. package/dist/types/components/Form/Label/Label/Label.style.d.ts +2 -0
  585. package/dist/types/components/Form/Label/Label/Label.type.d.ts +3 -0
  586. package/dist/types/components/Form/Label/Label/Label.view.d.ts +4 -0
  587. package/dist/types/components/Form/Label/Label.d.ts +3 -0
  588. package/dist/types/components/Form/Password/Password/Password.props.d.ts +37 -0
  589. package/dist/types/components/Form/Password/Password/Password.state.d.ts +7 -0
  590. package/dist/types/components/Form/Password/Password/Password.type.d.ts +10 -0
  591. package/dist/types/components/Form/Password/Password.d.ts +6 -0
  592. package/dist/types/components/Form/Password/example/Default.d.ts +2 -0
  593. package/dist/types/components/Form/Password/example/DisabledInput.d.ts +2 -0
  594. package/dist/types/components/Form/Password/example/ErrorInput.d.ts +2 -0
  595. package/dist/types/components/Form/Password/example/HelperText.d.ts +2 -0
  596. package/dist/types/components/Form/Radio/Radio/Radio.props.d.ts +29 -0
  597. package/dist/types/components/Form/Radio/Radio/Radio.state.d.ts +8 -0
  598. package/dist/types/components/Form/Radio/Radio/Radio.style.d.ts +68 -0
  599. package/dist/types/components/Form/Radio/Radio/Radio.type.d.ts +8 -0
  600. package/dist/types/components/Form/Radio/Radio/Radio.view.d.ts +4 -0
  601. package/dist/types/components/Form/Radio/Radio.d.ts +3 -0
  602. package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.props.d.ts +22 -0
  603. package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.state.d.ts +5 -0
  604. package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.type.d.ts +7 -0
  605. package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.view.d.ts +4 -0
  606. package/dist/types/components/Form/Radio/RadioGroup.d.ts +3 -0
  607. package/dist/types/components/Form/Radio/index.d.ts +2 -0
  608. package/dist/types/components/Form/Select/Select/Select.props.d.ts +96 -0
  609. package/dist/types/components/Form/Select/Select/Select.state.d.ts +19 -0
  610. package/dist/types/components/Form/Select/Select/Select.style.d.ts +80 -0
  611. package/dist/types/components/Form/Select/Select/Select.type.d.ts +19 -0
  612. package/dist/types/components/Form/Select/Select/Select.view.d.ts +10 -0
  613. package/dist/types/components/Form/Select/Select.d.ts +3 -0
  614. package/dist/types/components/Form/Selector/Selector/Selector.props.d.ts +66 -0
  615. package/dist/types/components/Form/Selector/Selector/Selector.state.d.ts +17 -0
  616. package/dist/types/components/Form/Selector/Selector/Selector.style.d.ts +6 -0
  617. package/dist/types/components/Form/Selector/Selector/Selector.type.d.ts +19 -0
  618. package/dist/types/components/Form/Selector/Selector/Selector.view.d.ts +4 -0
  619. package/dist/types/components/Form/Selector/Selector.d.ts +3 -0
  620. package/dist/types/components/Form/Switch/Switch/Switch.props.d.ts +27 -0
  621. package/dist/types/components/Form/Switch/Switch/Switch.state.d.ts +10 -0
  622. package/dist/types/components/Form/Switch/Switch/Switch.style.d.ts +66 -0
  623. package/dist/types/components/Form/Switch/Switch/Switch.type.d.ts +7 -0
  624. package/dist/types/components/Form/Switch/Switch/Switch.view.d.ts +4 -0
  625. package/dist/types/components/Form/Switch/Switch.d.ts +3 -0
  626. package/dist/types/components/Form/TagInput/TagInput/TagInput.props.d.ts +54 -0
  627. package/dist/types/components/Form/TagInput/TagInput/TagInput.state.d.ts +19 -0
  628. package/dist/types/components/Form/TagInput/TagInput/TagInput.type.d.ts +25 -0
  629. package/dist/types/components/Form/TagInput/TagInput/TagInput.view.d.ts +4 -0
  630. package/dist/types/components/Form/TagInput/TagInput/index.d.ts +4 -0
  631. package/dist/types/components/Form/TagInput/TagInput.d.ts +3 -0
  632. package/dist/types/components/Form/TagInput/index.d.ts +2 -0
  633. package/dist/types/components/Form/TextArea/TextArea/TextArea.props.d.ts +62 -0
  634. package/dist/types/components/Form/TextArea/TextArea/TextArea.state.d.ts +11 -0
  635. package/dist/types/components/Form/TextArea/TextArea/TextArea.type.d.ts +13 -0
  636. package/dist/types/components/Form/TextArea/TextArea/TextArea.view.d.ts +4 -0
  637. package/dist/types/components/Form/TextArea/TextArea.d.ts +3 -0
  638. package/dist/types/components/Form/TextField/TextField/TextField.props.d.ts +69 -0
  639. package/dist/types/components/Form/TextField/TextField/TextField.state.d.ts +11 -0
  640. package/dist/types/components/Form/TextField/TextField/TextField.type.d.ts +12 -0
  641. package/dist/types/components/Form/TextField/TextField/TextField.view.d.ts +4 -0
  642. package/dist/types/components/Form/TextField/TextField.d.ts +3 -0
  643. package/dist/types/components/Formik/AttachmentPreview.d.ts +19 -0
  644. package/dist/types/components/Formik/Formik.ChatInput.d.ts +12 -0
  645. package/dist/types/components/Formik/Formik.Checkbox.d.ts +6 -0
  646. package/dist/types/components/Formik/Formik.ColorInput.d.ts +6 -0
  647. package/dist/types/components/Formik/Formik.ComboBox.d.ts +6 -0
  648. package/dist/types/components/Formik/Formik.CountryPicker.d.ts +6 -0
  649. package/dist/types/components/Formik/Formik.DatePicker.d.ts +6 -0
  650. package/dist/types/components/Formik/Formik.EmojiPicker.d.ts +6 -0
  651. package/dist/types/components/Formik/Formik.Form.d.ts +20 -0
  652. package/dist/types/components/Formik/Formik.Hook.d.ts +5 -0
  653. package/dist/types/components/Formik/Formik.IconPicker.d.ts +6 -0
  654. package/dist/types/components/Formik/Formik.OTPInput.d.ts +8 -0
  655. package/dist/types/components/Formik/Formik.Password.d.ts +6 -0
  656. package/dist/types/components/Formik/Formik.Radio.d.ts +6 -0
  657. package/dist/types/components/Formik/Formik.Select.d.ts +6 -0
  658. package/dist/types/components/Formik/Formik.Selector.d.ts +6 -0
  659. package/dist/types/components/Formik/Formik.Slider.d.ts +7 -0
  660. package/dist/types/components/Formik/Formik.Switch.d.ts +3 -0
  661. package/dist/types/components/Formik/Formik.TagInput.d.ts +9 -0
  662. package/dist/types/components/Formik/Formik.TextArea.d.ts +6 -0
  663. package/dist/types/components/Formik/Formik.TextField.d.ts +6 -0
  664. package/dist/types/components/Formik/Formik.Toggle.d.ts +6 -0
  665. package/dist/types/components/Formik/Formik.ToggleGroup.d.ts +6 -0
  666. package/dist/types/components/Formik/Formik.Uploader.d.ts +38 -0
  667. package/dist/types/components/Formik/index.d.ts +23 -0
  668. package/dist/types/components/Gradient/Gradient/Gradient.props.d.ts +15 -0
  669. package/dist/types/components/Gradient/Gradient/Gradient.style.d.ts +55 -0
  670. package/dist/types/components/Gradient/Gradient/Gradient.type.d.ts +13 -0
  671. package/dist/types/components/Gradient/Gradient/Gradient.view.d.ts +3 -0
  672. package/dist/types/components/Gradient/Gradient.d.ts +3 -0
  673. package/dist/types/components/Gradient/index.d.ts +1 -0
  674. package/dist/types/components/HoverCard/HoverCard/HoverCard.props.d.ts +33 -0
  675. package/dist/types/components/HoverCard/HoverCard/HoverCard.state.d.ts +11 -0
  676. package/dist/types/components/HoverCard/HoverCard/HoverCard.style.d.ts +5 -0
  677. package/dist/types/components/HoverCard/HoverCard/HoverCard.type.d.ts +12 -0
  678. package/dist/types/components/HoverCard/HoverCard/HoverCard.view.d.ts +10 -0
  679. package/dist/types/components/HoverCard/HoverCard.d.ts +2 -0
  680. package/dist/types/components/Icon/FixedIcons.d.ts +10 -0
  681. package/dist/types/components/Icon/Icon.d.ts +100 -0
  682. package/dist/types/components/Icon/Icon.frame.d.ts +14 -0
  683. package/dist/types/components/IconPicker/IconPicker/IconPicker.constants.d.ts +2 -0
  684. package/dist/types/components/IconPicker/IconPicker/IconPicker.props.d.ts +37 -0
  685. package/dist/types/components/IconPicker/IconPicker/IconPicker.state.d.ts +14 -0
  686. package/dist/types/components/IconPicker/IconPicker/IconPicker.style.d.ts +13 -0
  687. package/dist/types/components/IconPicker/IconPicker/IconPicker.type.d.ts +14 -0
  688. package/dist/types/components/IconPicker/IconPicker/IconPicker.view.d.ts +4 -0
  689. package/dist/types/components/IconPicker/IconPicker.d.ts +3 -0
  690. package/dist/types/components/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +27 -0
  691. package/dist/types/components/Input/FieldContainer/FieldContainer.d.ts +3 -0
  692. package/dist/types/components/Input/FieldContent/FieldContent/FieldContent.props.d.ts +70 -0
  693. package/dist/types/components/Input/FieldContent/FieldContent.d.ts +3 -0
  694. package/dist/types/components/Input/FieldIcons/FieldIcons/FieldIcons.props.d.ts +3 -0
  695. package/dist/types/components/Input/FieldIcons/FieldIcons.d.ts +3 -0
  696. package/dist/types/components/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +31 -0
  697. package/dist/types/components/Input/FieldLabel/FieldLabel.d.ts +3 -0
  698. package/dist/types/components/Input/FieldLayout/FieldLayout/FieldLayout.props.d.ts +25 -0
  699. package/dist/types/components/Input/FieldLayout/FieldLayout.d.ts +3 -0
  700. package/dist/types/components/Input/FieldWrapper/FieldWrapper.d.ts +3 -0
  701. package/dist/types/components/Input/FieldWrapper/FieldWrapper.props.d.ts +3 -0
  702. package/dist/types/components/Input/HelperText/HelperText.d.ts +3 -0
  703. package/dist/types/components/Input/HelperText/HelperText.props.d.ts +17 -0
  704. package/dist/types/components/Input/Input.style.d.ts +18 -0
  705. package/dist/types/components/Input/Input.type.d.ts +13 -0
  706. package/dist/types/components/Input/fieldSizes.d.ts +15 -0
  707. package/dist/types/components/Input/index.d.ts +7 -0
  708. package/dist/types/components/KeyboardAvoidingView/KeyboardAvoidingView.d.ts +3 -0
  709. package/dist/types/components/KeyboardAvoidingView/KeyboardAvoidingView.types.d.ts +24 -0
  710. package/dist/types/components/KeyboardAvoidingView/index.d.ts +2 -0
  711. package/dist/types/components/Link/Link/Link.props.d.ts +18 -0
  712. package/dist/types/components/Link/Link/Link.state.d.ts +4 -0
  713. package/dist/types/components/Link/Link/Link.style.d.ts +11 -0
  714. package/dist/types/components/Link/Link/Link.type.d.ts +8 -0
  715. package/dist/types/components/Link/Link/Link.view.d.ts +4 -0
  716. package/dist/types/components/Link/Link.d.ts +3 -0
  717. package/dist/types/components/Loader/Loader/Loader.props.d.ts +27 -0
  718. package/dist/types/components/Loader/Loader/Loader.style.d.ts +4 -0
  719. package/dist/types/components/Loader/Loader/Loader.type.d.ts +4 -0
  720. package/dist/types/components/Loader/Loader/Loader.view.d.ts +11 -0
  721. package/dist/types/components/Loader/Loader.d.ts +3 -0
  722. package/dist/types/components/Markdown/Markdown/Markdown.content.d.ts +6 -0
  723. package/dist/types/components/Markdown/Markdown/Markdown.motion.d.ts +1 -0
  724. package/dist/types/components/Markdown/Markdown/Markdown.props.d.ts +34 -0
  725. package/dist/types/components/Markdown/Markdown/Markdown.view.d.ts +1 -0
  726. package/dist/types/components/Markdown/Markdown/useMarkdownTyping.d.ts +6 -0
  727. package/dist/types/components/Markdown/Markdown.d.ts +3 -0
  728. package/dist/types/components/MediaPreview.d.ts +14 -0
  729. package/dist/types/components/Menubar/Menubar/Menubar.props.d.ts +74 -0
  730. package/dist/types/components/Menubar/Menubar/Menubar.state.d.ts +8 -0
  731. package/dist/types/components/Menubar/Menubar/Menubar.style.d.ts +19 -0
  732. package/dist/types/components/Menubar/Menubar/Menubar.type.d.ts +36 -0
  733. package/dist/types/components/Menubar/Menubar/Menubar.view.d.ts +22 -0
  734. package/dist/types/components/Menubar/Menubar.d.ts +2 -0
  735. package/dist/types/components/Menubar/index.d.ts +1 -0
  736. package/dist/types/components/Message/Message/Message.layout.d.ts +3 -0
  737. package/dist/types/components/Message/Message/Message.props.d.ts +36 -0
  738. package/dist/types/components/Message/Message/Message.store.d.ts +5 -0
  739. package/dist/types/components/Message/Message/Message.style.d.ts +5 -0
  740. package/dist/types/components/Message/Message/Message.type.d.ts +48 -0
  741. package/dist/types/components/Message/Message/Message.view.d.ts +3 -0
  742. package/dist/types/components/Message/Message.d.ts +5 -0
  743. package/dist/types/components/Modal/Modal/Modal.layout.d.ts +3 -0
  744. package/dist/types/components/Modal/Modal/Modal.props.d.ts +90 -0
  745. package/dist/types/components/Modal/Modal/Modal.store.d.ts +19 -0
  746. package/dist/types/components/Modal/Modal/Modal.style.d.ts +33 -0
  747. package/dist/types/components/Modal/Modal/Modal.type.d.ts +4 -0
  748. package/dist/types/components/Modal/Modal/Modal.view.d.ts +21 -0
  749. package/dist/types/components/Modal/Modal.d.ts +5 -0
  750. package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.props.d.ts +68 -0
  751. package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.state.d.ts +8 -0
  752. package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.style.d.ts +32 -0
  753. package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.type.d.ts +35 -0
  754. package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.view.d.ts +25 -0
  755. package/dist/types/components/NavigationMenu/NavigationMenu.d.ts +2 -0
  756. package/dist/types/components/OTPInput/OTPInput/OTPInput.props.d.ts +43 -0
  757. package/dist/types/components/OTPInput/OTPInput/OTPInput.state.d.ts +23 -0
  758. package/dist/types/components/OTPInput/OTPInput/OTPInput.type.d.ts +9 -0
  759. package/dist/types/components/OTPInput/OTPInput/OTPInput.view.d.ts +29 -0
  760. package/dist/types/components/OTPInput/OTPInput/sync-timeouts.d.ts +1 -0
  761. package/dist/types/components/OTPInput/OTPInput.d.ts +3 -0
  762. package/dist/types/components/PageHeader/PageHeader/PageHeader.props.d.ts +9 -0
  763. package/dist/types/components/PageHeader/PageHeader/PageHeader.style.d.ts +4 -0
  764. package/dist/types/components/PageHeader/PageHeader/PageHeader.type.d.ts +7 -0
  765. package/dist/types/components/PageHeader/PageHeader/PageHeader.view.d.ts +4 -0
  766. package/dist/types/components/PageHeader/PageHeader.d.ts +3 -0
  767. package/dist/types/components/PageLayout/PageLayout.d.ts +3 -0
  768. package/dist/types/components/PageLayout/PageLayout.types.d.ts +30 -0
  769. package/dist/types/components/PageLayout/index.d.ts +2 -0
  770. package/dist/types/components/Pagination/Pagination/Pagination.props.d.ts +19 -0
  771. package/dist/types/components/Pagination/Pagination/Pagination.state.d.ts +3 -0
  772. package/dist/types/components/Pagination/Pagination/Pagination.style.d.ts +7 -0
  773. package/dist/types/components/Pagination/Pagination/Pagination.type.d.ts +17 -0
  774. package/dist/types/components/Pagination/Pagination/Pagination.view.d.ts +3 -0
  775. package/dist/types/components/Pagination/Pagination.d.ts +3 -0
  776. package/dist/types/components/Pagination/index.d.ts +1 -0
  777. package/dist/types/components/Portal/Portal.d.ts +7 -0
  778. package/dist/types/components/ProgressBar/ProgressBar/ProgressBar.props.d.ts +24 -0
  779. package/dist/types/components/ProgressBar/ProgressBar/ProgressBar.view.d.ts +4 -0
  780. package/dist/types/components/ProgressBar/ProgressBar.d.ts +4 -0
  781. package/dist/types/components/Resizable/Resizable/Resizable.props.d.ts +52 -0
  782. package/dist/types/components/Resizable/Resizable/Resizable.state.d.ts +16 -0
  783. package/dist/types/components/Resizable/Resizable/Resizable.style.d.ts +7 -0
  784. package/dist/types/components/Resizable/Resizable/Resizable.type.d.ts +44 -0
  785. package/dist/types/components/Resizable/Resizable/Resizable.view.d.ts +13 -0
  786. package/dist/types/components/Resizable/Resizable.d.ts +2 -0
  787. package/dist/types/components/Resizable/index.d.ts +1 -0
  788. package/dist/types/components/Router/Router.d.ts +3 -0
  789. package/dist/types/components/Router/Router.match.d.ts +15 -0
  790. package/dist/types/components/Router/Router.store.d.ts +28 -0
  791. package/dist/types/components/Router/Router.types.d.ts +16 -0
  792. package/dist/types/components/Router/index.d.ts +5 -0
  793. package/dist/types/components/Router/useHistory.d.ts +21 -0
  794. package/dist/types/components/Separator/Separator/Separator.props.d.ts +12 -0
  795. package/dist/types/components/Separator/Separator/Separator.style.d.ts +23 -0
  796. package/dist/types/components/Separator/Separator/Separator.type.d.ts +8 -0
  797. package/dist/types/components/Separator/Separator/Separator.view.d.ts +3 -0
  798. package/dist/types/components/Separator/Separator.d.ts +4 -0
  799. package/dist/types/components/Separator/index.d.ts +1 -0
  800. package/dist/types/components/ShareButton/ShareButton/ShareButton.props.d.ts +19 -0
  801. package/dist/types/components/ShareButton/ShareButton/ShareButton.state.d.ts +6 -0
  802. package/dist/types/components/ShareButton/ShareButton/ShareButton.view.d.ts +4 -0
  803. package/dist/types/components/ShareButton/ShareButton.d.ts +3 -0
  804. package/dist/types/components/Sidebar/Sidebar/Sidebar.props.d.ts +54 -0
  805. package/dist/types/components/Sidebar/Sidebar/Sidebar.state.d.ts +7 -0
  806. package/dist/types/components/Sidebar/Sidebar/Sidebar.style.d.ts +13 -0
  807. package/dist/types/components/Sidebar/Sidebar/Sidebar.type.d.ts +32 -0
  808. package/dist/types/components/Sidebar/Sidebar/Sidebar.view.d.ts +21 -0
  809. package/dist/types/components/Sidebar/Sidebar.d.ts +2 -0
  810. package/dist/types/components/Sidebar/index.d.ts +1 -0
  811. package/dist/types/components/Slider/Slider/Slider.props.d.ts +36 -0
  812. package/dist/types/components/Slider/Slider/Slider.state.d.ts +14 -0
  813. package/dist/types/components/Slider/Slider/Slider.style.d.ts +15 -0
  814. package/dist/types/components/Slider/Slider/Slider.type.d.ts +18 -0
  815. package/dist/types/components/Slider/Slider/Slider.view.d.ts +3 -0
  816. package/dist/types/components/Slider/Slider.d.ts +3 -0
  817. package/dist/types/components/Slider/index.d.ts +1 -0
  818. package/dist/types/components/SplashScreen/SplashScreen.d.ts +3 -0
  819. package/dist/types/components/SplashScreen/SplashScreen.store.d.ts +18 -0
  820. package/dist/types/components/SplashScreen/SplashScreen.types.d.ts +23 -0
  821. package/dist/types/components/SplashScreen/index.d.ts +3 -0
  822. package/dist/types/components/StatePanel/StatePanel/StatePanel.props.d.ts +10 -0
  823. package/dist/types/components/StatePanel/StatePanel/StatePanel.style.d.ts +4 -0
  824. package/dist/types/components/StatePanel/StatePanel/StatePanel.type.d.ts +8 -0
  825. package/dist/types/components/StatePanel/StatePanel/StatePanel.view.d.ts +4 -0
  826. package/dist/types/components/StatePanel/StatePanel.d.ts +3 -0
  827. package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.props.d.ts +8 -0
  828. package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.style.d.ts +10 -0
  829. package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.type.d.ts +7 -0
  830. package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.view.d.ts +3 -0
  831. package/dist/types/components/StatusIndicator/StatusIndicator.d.ts +3 -0
  832. package/dist/types/components/Table/Table/Table.context.d.ts +23 -0
  833. package/dist/types/components/Table/Table/Table.props.d.ts +24 -0
  834. package/dist/types/components/Table/Table/Table.state.d.ts +5 -0
  835. package/dist/types/components/Table/Table/Table.style.d.ts +22 -0
  836. package/dist/types/components/Table/Table/Table.type.d.ts +19 -0
  837. package/dist/types/components/Table/Table/Table.view.d.ts +14 -0
  838. package/dist/types/components/Table/Table/TableScroll.d.ts +8 -0
  839. package/dist/types/components/Table/Table.d.ts +16 -0
  840. package/dist/types/components/Tabs/Tabs/TabHeader.d.ts +22 -0
  841. package/dist/types/components/Tabs/Tabs/Tabs.props.d.ts +114 -0
  842. package/dist/types/components/Tabs/Tabs/Tabs.state.d.ts +22 -0
  843. package/dist/types/components/Tabs/Tabs/Tabs.type.d.ts +53 -0
  844. package/dist/types/components/Tabs/Tabs/Tabs.view.d.ts +12 -0
  845. package/dist/types/components/Tabs/Tabs.d.ts +10 -0
  846. package/dist/types/components/TextArea/TextArea.d.ts +17 -0
  847. package/dist/types/components/Title/Title/SlideEffect.d.ts +16 -0
  848. package/dist/types/components/Title/Title/Title.props.d.ts +28 -0
  849. package/dist/types/components/Title/Title/Title.state.d.ts +10 -0
  850. package/dist/types/components/Title/Title/Title.style.d.ts +29 -0
  851. package/dist/types/components/Title/Title/Title.type.d.ts +8 -0
  852. package/dist/types/components/Title/Title/Title.view.d.ts +4 -0
  853. package/dist/types/components/Title/Title/TypewriterEffect.d.ts +15 -0
  854. package/dist/types/components/Title/Title.d.ts +3 -0
  855. package/dist/types/components/Title/index.d.ts +1 -0
  856. package/dist/types/components/Toast/Toast/Toast.hook.d.ts +10 -0
  857. package/dist/types/components/Toast/Toast/Toast.props.d.ts +34 -0
  858. package/dist/types/components/Toast/Toast/Toast.store.d.ts +10 -0
  859. package/dist/types/components/Toast/Toast/Toast.style.d.ts +17 -0
  860. package/dist/types/components/Toast/Toast/Toast.type.d.ts +53 -0
  861. package/dist/types/components/Toast/Toast/Toast.view.d.ts +4 -0
  862. package/dist/types/components/Toast/Toast.d.ts +23 -0
  863. package/dist/types/components/Toast/index.d.ts +1 -0
  864. package/dist/types/components/Toggle/Toggle/Toggle.props.d.ts +17 -0
  865. package/dist/types/components/Toggle/Toggle/Toggle.state.d.ts +6 -0
  866. package/dist/types/components/Toggle/Toggle/Toggle.style.d.ts +8 -0
  867. package/dist/types/components/Toggle/Toggle/Toggle.type.d.ts +2 -0
  868. package/dist/types/components/Toggle/Toggle/Toggle.view.d.ts +12 -0
  869. package/dist/types/components/Toggle/Toggle.d.ts +3 -0
  870. package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.props.d.ts +19 -0
  871. package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.state.d.ts +4 -0
  872. package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.style.d.ts +2 -0
  873. package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.type.d.ts +9 -0
  874. package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.view.d.ts +3 -0
  875. package/dist/types/components/ToggleGroup/ToggleGroup.d.ts +3 -0
  876. package/dist/types/components/Tooltip/Tooltip/Tooltip.props.d.ts +38 -0
  877. package/dist/types/components/Tooltip/Tooltip/Tooltip.state.d.ts +17 -0
  878. package/dist/types/components/Tooltip/Tooltip/Tooltip.style.d.ts +7 -0
  879. package/dist/types/components/Tooltip/Tooltip/Tooltip.type.d.ts +20 -0
  880. package/dist/types/components/Tooltip/Tooltip/Tooltip.view.d.ts +21 -0
  881. package/dist/types/components/Tooltip/Tooltip.d.ts +2 -0
  882. package/dist/types/components/Tooltip/index.d.ts +1 -0
  883. package/dist/types/components/Uploader/Uploader/Uploader.props.d.ts +59 -0
  884. package/dist/types/components/Uploader/Uploader/Uploader.state.d.ts +14 -0
  885. package/dist/types/components/Uploader/Uploader/Uploader.view.d.ts +3 -0
  886. package/dist/types/components/Uploader/Uploader.d.ts +3 -0
  887. package/dist/types/components/index.d.ts +13 -0
  888. package/dist/types/components/index.shared.d.ts +143 -0
  889. package/dist/types/components/pilot/alert.d.ts +2 -0
  890. package/dist/types/components/pilot/avatar.d.ts +2 -0
  891. package/dist/types/components/pilot/blocks/SettingsPanel.d.ts +8 -0
  892. package/dist/types/components/pilot/blocks/SignIn.d.ts +8 -0
  893. package/dist/types/components/pilot/button.d.ts +1 -0
  894. package/dist/types/components/pilot/card.d.ts +2 -0
  895. package/dist/types/components/pilot/checkbox.d.ts +2 -0
  896. package/dist/types/components/pilot/modal.d.ts +2 -0
  897. package/dist/types/components/pilot/select.d.ts +2 -0
  898. package/dist/types/components/pilot/settings-panel.d.ts +1 -0
  899. package/dist/types/components/pilot/sign-in.d.ts +1 -0
  900. package/dist/types/components/pilot/switch.d.ts +2 -0
  901. package/dist/types/components/pilot/tabs.d.ts +2 -0
  902. package/dist/types/components/pilot/text-field.d.ts +2 -0
  903. package/dist/types/design-system/DesignSystemProvider.d.ts +8 -0
  904. package/dist/types/design-system/DesignSystemScope.d.ts +8 -0
  905. package/dist/types/design-system/configs/airbnb.json.d.ts +715 -0
  906. package/dist/types/design-system/configs/apple.json.d.ts +733 -0
  907. package/dist/types/design-system/configs/coinbase.json.d.ts +726 -0
  908. package/dist/types/design-system/configs/default.json.d.ts +547 -0
  909. package/dist/types/design-system/configs/figma.json.d.ts +712 -0
  910. package/dist/types/design-system/configs/index.d.ts +27 -0
  911. package/dist/types/design-system/configs/linear.json.d.ts +705 -0
  912. package/dist/types/design-system/configs/nike.json.d.ts +733 -0
  913. package/dist/types/design-system/configs/notion.json.d.ts +838 -0
  914. package/dist/types/design-system/configs/revolut.json.d.ts +798 -0
  915. package/dist/types/design-system/configs/shopify.json.d.ts +701 -0
  916. package/dist/types/design-system/configs/spacex.json.d.ts +618 -0
  917. package/dist/types/design-system/configs/spotify.json.d.ts +701 -0
  918. package/dist/types/design-system/configs/stripe.json.d.ts +768 -0
  919. package/dist/types/design-system/configs/tesla.json.d.ts +660 -0
  920. package/dist/types/design-system/configs/uber.json.d.ts +716 -0
  921. package/dist/types/design-system/configs/vercel.json.d.ts +728 -0
  922. package/dist/types/design-system/index.d.ts +4 -0
  923. package/dist/types/design-system/theme.d.ts +28 -0
  924. package/dist/types/design-system/types.d.ts +138 -0
  925. package/dist/types/design-system/utils.d.ts +5 -0
  926. package/dist/types/pages/designSystem.page.d.ts +7 -0
  927. package/dist/types/types/global.d.ts +66 -0
  928. package/dist/types/types/module.d.ts +7 -0
  929. package/dist/types/types/refractor.d.ts +16 -0
  930. package/dist/types/utils/apiConfig.d.ts +28 -0
  931. package/dist/types/utils/colors.d.ts +31 -0
  932. package/dist/types/utils/elevation.d.ts +3 -0
  933. package/dist/types/utils/env.d.ts +15 -0
  934. package/dist/types/utils/file.d.ts +4 -0
  935. package/dist/types/utils/generateId.d.ts +5 -0
  936. package/dist/types/utils/id.d.ts +6 -0
  937. package/dist/types/utils/index.d.ts +7 -0
  938. package/dist/types/utils/localstorage.d.ts +5 -0
  939. package/dist/types/utils/request.d.ts +38 -0
  940. package/dist/types/utils/scriptTypography.d.ts +4 -0
  941. package/dist/types/utils/store.d.ts +7 -0
  942. package/dist/types/utils/typography.d.ts +23 -0
  943. package/dist/web.cjs.js +38 -72
  944. package/dist/web.cjs.js.map +1 -1
  945. package/dist/web.esm.d.mts +1 -0
  946. package/dist/web.esm.mjs +6888 -0
  947. package/dist/web.esm.mjs.map +1 -0
  948. package/dist/web.umd.js +22 -22
  949. package/dist/web.umd.js.map +1 -1
  950. package/docs/guides/registry-guide.mdx +81 -0
  951. package/package.json +312 -18
  952. package/dist/apple-touch-icon.png +0 -0
  953. package/dist/assets/apple-logo.png +0 -0
  954. package/dist/assets/maskable_icon.png +0 -0
  955. package/dist/assets/orange.png +0 -0
  956. package/dist/favicon.ico +0 -0
  957. package/dist/favicon.svg +0 -4
  958. package/dist/files/media/Accordion.mdx +0 -333
  959. package/dist/files/media/Alert.mdx +0 -353
  960. package/dist/files/media/AspectRatio.mdx +0 -64
  961. package/dist/files/media/AudioInput.mdx +0 -78
  962. package/dist/files/media/AudioWaveform.mdx +0 -9
  963. package/dist/files/media/Avatar.mdx +0 -301
  964. package/dist/files/media/Background.mdx +0 -610
  965. package/dist/files/media/Badge.mdx +0 -503
  966. package/dist/files/media/BlockEditor-drag-and-drop.md +0 -61
  967. package/dist/files/media/BlockEditor.mdx +0 -106
  968. package/dist/files/media/Button.mdx +0 -688
  969. package/dist/files/media/Card.mdx +0 -560
  970. package/dist/files/media/Carousel.mdx +0 -605
  971. package/dist/files/media/Chart.mdx +0 -871
  972. package/dist/files/media/ChatInput.mdx +0 -540
  973. package/dist/files/media/ChatWidget.mdx +0 -403
  974. package/dist/files/media/Checkbox.mdx +0 -463
  975. package/dist/files/media/ColorInput.mdx +0 -217
  976. package/dist/files/media/ColorPicker.mdx +0 -259
  977. package/dist/files/media/ComboBox.mdx +0 -376
  978. package/dist/files/media/Command.mdx +0 -496
  979. package/dist/files/media/ContextMenu.mdx +0 -411
  980. package/dist/files/media/CookieConsent.mdx +0 -263
  981. package/dist/files/media/CountryPicker.mdx +0 -349
  982. package/dist/files/media/DatePicker.mdx +0 -217
  983. package/dist/files/media/DragAndDrop.mdx +0 -34
  984. package/dist/files/media/Drawer.mdx +0 -233
  985. package/dist/files/media/DropZone.mdx +0 -9
  986. package/dist/files/media/DropdownMenu.mdx +0 -403
  987. package/dist/files/media/EmojiPicker.mdx +0 -335
  988. package/dist/files/media/Gradient.mdx +0 -604
  989. package/dist/files/media/HoverCard.mdx +0 -144
  990. package/dist/files/media/IconPicker.mdx +0 -9
  991. package/dist/files/media/Label.mdx +0 -9
  992. package/dist/files/media/Link.mdx +0 -142
  993. package/dist/files/media/Loader.mdx +0 -161
  994. package/dist/files/media/Markdown.mdx +0 -99
  995. package/dist/files/media/Menubar.mdx +0 -496
  996. package/dist/files/media/Message.mdx +0 -299
  997. package/dist/files/media/Modal.mdx +0 -795
  998. package/dist/files/media/NavigationMenu.mdx +0 -728
  999. package/dist/files/media/OTPInput.mdx +0 -450
  1000. package/dist/files/media/Pagination.mdx +0 -356
  1001. package/dist/files/media/ProgressBar.mdx +0 -119
  1002. package/dist/files/media/Radio.mdx +0 -314
  1003. package/dist/files/media/RadioGroup.mdx +0 -9
  1004. package/dist/files/media/Resizable.mdx +0 -873
  1005. package/dist/files/media/Select.mdx +0 -689
  1006. package/dist/files/media/Selector.mdx +0 -9
  1007. package/dist/files/media/Separator.mdx +0 -741
  1008. package/dist/files/media/ShareButton.mdx +0 -29
  1009. package/dist/files/media/Sidebar.mdx +0 -1237
  1010. package/dist/files/media/Slider.mdx +0 -513
  1011. package/dist/files/media/StatusIndicator.mdx +0 -43
  1012. package/dist/files/media/Switch.mdx +0 -521
  1013. package/dist/files/media/Table.mdx +0 -827
  1014. package/dist/files/media/Tabs.mdx +0 -524
  1015. package/dist/files/media/TagInput.mdx +0 -372
  1016. package/dist/files/media/TextArea.mdx +0 -724
  1017. package/dist/files/media/TextField.mdx +0 -830
  1018. package/dist/files/media/Title.mdx +0 -1081
  1019. package/dist/files/media/Toast.mdx +0 -802
  1020. package/dist/files/media/Toggle.mdx +0 -159
  1021. package/dist/files/media/ToggleGroup.mdx +0 -180
  1022. package/dist/files/media/Tooltip.mdx +0 -307
  1023. package/dist/files/media/Uploader.mdx +0 -9
  1024. package/dist/fonts/mulish-subset.woff2 +0 -0
  1025. package/dist/icon-512.png +0 -0
  1026. package/dist/illustrations/cross-platform.svg +0 -37
  1027. package/dist/index.d.ts +0 -5516
  1028. package/dist/indexnow-key.txt +0 -1
  1029. package/dist/manifest.json +0 -22
  1030. package/dist/orange.webp +0 -0
  1031. package/dist/robots.txt +0 -8
  1032. package/dist/web.esm.js +0 -49919
  1033. package/dist/web.esm.js.map +0 -1
@@ -0,0 +1,83 @@
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
+ "meta": {
12
+ "appStudio": {
13
+ "entry": "src/components/pilot/tabs.ts",
14
+ "engine": ">=0.9.5",
15
+ "version": "0.11.13",
16
+ "license": "MIT",
17
+ "platforms": [
18
+ "web",
19
+ "ios",
20
+ "android"
21
+ ],
22
+ "dependencies": {
23
+ "web": [
24
+ "@app-studio/components@0.11.13"
25
+ ],
26
+ "ios": [
27
+ "@app-studio/components@0.11.13"
28
+ ],
29
+ "android": [
30
+ "@app-studio/components@0.11.13"
31
+ ]
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 from 'react';\nimport { TabsProps } from './Tabs/Tabs.props';\nimport { useTabsState, useTabsCompoundState } 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 { useMergedDesignSystemComponentProps } from '@app-studio/components/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 mergedProps = useMergedDesignSystemComponentProps('tabs', props);\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 } = 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 value={{ ...compoundState, variant }}>\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 const getTabId = (t: Tab) => (t.value !== undefined ? t.value : t.title);\n\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 tabs={tabs}\n views={views}\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 /** 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 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\n return (\n <Element\n as=\"div\"\n role=\"tab\"\n aria-selected={isActive}\n tabIndex={isActive ? 0 : -1}\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 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 <Text\n {...textStyles}\n fontWeight=\"600\"\n visibility=\"hidden\"\n gridColumn=\"1\"\n gridRow=\"1\"\n aria-hidden=\"true\"\n >\n {tab.title}\n </Text>\n {/* Visible text */}\n <Text\n {...textStyles}\n fontWeight={isActive ? '600' : '500'}\n gridColumn=\"1\"\n gridRow=\"1\"\n >\n {tab.title}\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 /** 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 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 /** 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\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 // Helper to extract the identifier (value or title) from a tab\n const getTabId = (tab: Tab) =>\n tab.value !== undefined ? tab.value : tab.title;\n\n // Find the initial tab based on defaultValue, or default to the first tab.\n const findInitialTab = (): Tab | undefined => {\n if (!propTabs || propTabs.length === 0) {\n return undefined;\n }\n if (defaultValue !== undefined) {\n const foundTab = propTabs.find((tab) => getTabId(tab) === defaultValue);\n if (foundTab) {\n return foundTab;\n }\n }\n return propTabs[0];\n };\n\n const [internalActiveTab, setInternalActiveTab] = useState<Tab | undefined>(\n findInitialTab()\n );\n\n // Determine the effective active tab\n // In controlled mode (value provided), find the tab matching value.\n // In uncontrolled mode, use internal state.\n const activeTab =\n value !== undefined\n ? propTabs.find((tab) => getTabId(tab) === value)\n : internalActiveTab;\n\n const setActiveTab = (tab: Tab) => {\n // Only update internal state if uncontrolled\n if (value === undefined) {\n setInternalActiveTab(tab);\n }\n };\n\n // Effect to update internal active tab if defaultValue changes or tabs change\n useEffect(() => {\n if (value !== undefined) return; // Skip logic if controlled\n\n const newInitialTab = findInitialTab();\n const currentActiveTabStillValid =\n internalActiveTab &&\n propTabs.some((t) => getTabId(t) === getTabId(internalActiveTab));\n\n // If current tab is invalid, or if defaultValue changed and suggests a different tab\n // (Note: The original logic forced reset on defaultValue change, we keep that behavior)\n if (\n newInitialTab &&\n (!currentActiveTabStillValid ||\n (defaultValue !== undefined &&\n internalActiveTab &&\n getTabId(internalActiveTab) !== defaultValue))\n ) {\n setInternalActiveTab(newInitialTab);\n } else if (!newInitialTab && internalActiveTab) {\n setInternalActiveTab(undefined);\n }\n }, [propTabs, defaultValue]); // Remove internalActiveTab dependency to avoid loops, though it shouldn't cause one if guarded\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.type.ts",
69
+ "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 /** 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",
70
+ "type": "registry:ui"
71
+ },
72
+ {
73
+ "path": "src/components/Tabs/Tabs/Tabs.view.native.tsx",
74
+ "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, TabsVariant } from './Tabs.type';\nimport { deepMerge, useDesignSystemComponentProps } from '@app-studio/components/theme';\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 tabs = [],\n activeTab,\n handleTabClick,\n views = {},\n renderTab,\n renderContent,\n variant = 'underline',\n iconPosition = 'left',\n}) => {\n const { themeMode } = useTheme();\n const variantStyles = getTabsVariantStyles(variant, themeMode);\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 >\n {tabs.map((tab) => {\n const isActive =\n (tab.value !== undefined ? tab.value : tab.title) ===\n (activeTab.value !== undefined ? activeTab.value : activeTab.title);\n const onPress = () => handleTabClick(tab);\n if (renderTab) {\n return renderTab(tab, isActive, onPress);\n }\n return (\n <View\n key={tab.title}\n onPress={onPress}\n onClick={onPress}\n alignItems=\"center\"\n justifyContent=\"center\"\n {...variantStyles.tab}\n {...views.tab}\n {...(isActive ? variantStyles.activeTab : {})}\n {...(isActive ? views.activeTab : {})}\n >\n <Text\n {...variantStyles.text}\n {...views.title}\n {...(isActive ? variantStyles.activeText : {})}\n {...(isActive ? views.activeText : {})}\n >\n {tab.title}\n </Text>\n </View>\n );\n })}\n </Horizontal>\n <View height=\"100%\" {...variantStyles.content} {...views.content}>\n {renderContent ? renderContent(activeTab) : 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 }) => {\n const { themeMode } = useTheme();\n const { variant = 'underline' } = useTabsContext();\n const variantStyles = getTabsVariantStyles(variant, themeMode);\n const designSystemTabs = useDesignSystemComponentProps('tabs');\n const mergedViews = deepMerge(\n { container: designSystemTabs.views?.headerTabs },\n views\n );\n return (\n <Horizontal\n alignItems=\"center\"\n {...variantStyles.header}\n {...mergedViews?.container}\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 } = 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 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 {...variantStyles.tab}\n {...(isActive ? variantStyles.activeTab : {})}\n onPress={handlePress}\n onClick={handlePress}\n {...mergedViews?.trigger}\n {...(isActive ? mergedViews?.activeState : {})}\n >\n <View\n {...variantStyles.text}\n {...(isActive ? variantStyles.activeText : {})}\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 } = useTabsContext();\n if (activeValue !== value) return null;\n return (\n <View width=\"100%\" padding={24} {...views?.content}>\n {children}\n </View>\n );\n }\n);\n",
75
+ "type": "registry:ui"
76
+ },
77
+ {
78
+ "path": "src/components/Tabs/Tabs/Tabs.view.tsx",
79
+ "content": "import React, { createContext, useCallback, useContext, useMemo } 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, TabsVariant } from './Tabs.type';\nimport { TabHeader } from './TabHeader';\nimport { deepMerge, useDesignSystemComponentProps } from '@app-studio/components/theme';\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\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 style: { backgroundColor: '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 style: { backgroundColor: '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 tabs = [], // Default to empty array\n activeTab,\n handleTabClick,\n views = {}, // Default to empty object\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(variant, themeMode);\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\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 >\n {tabs.map((tab) => {\n // Determine if the current tab in the loop is the active one\n const isActive =\n (tab.value !== undefined ? tab.value : tab.title) ===\n (activeTab.value !== undefined ? activeTab.value : activeTab.title);\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\n // Default rendering for a tab using our custom TabHeader component\n return (\n <TabHeader\n key={tab.title} // Use the unique title as the key\n tab={tab}\n isActive={isActive}\n onClick={onClick}\n iconPosition={iconPosition}\n tabStyles={{\n ...variantStyles.tab,\n ...views.tab,\n ...(isActive ? variantStyles.activeTab : {}),\n ...(isActive ? views.activeTab : {}),\n }}\n textStyles={{\n ...variantStyles.text,\n ...views.title,\n ...(isActive ? variantStyles.activeText : {}),\n ...(isActive ? views.activeText : {}),\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 {renderContent\n ? renderContent(activeTab)\n : keepMounted\n ? // All panes stay mounted so their internal state survives tab\n // switches; inactive ones are hidden, not unmounted.\n tabs.map((tab) => {\n const tabId = tab.value !== undefined ? tab.value : tab.title;\n const activeId =\n activeTab.value !== undefined\n ? activeTab.value\n : activeTab.title;\n return (\n <View\n key={tab.title}\n display={tabId === activeId ? 'contents' : 'none'}\n >\n {tab.content}\n </View>\n );\n })\n : // Otherwise, render the content property from the active tab object\n activeTab.content}\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 }) => {\n const { themeMode } = useTheme();\n const { variant = 'underline' } = useTabsContext();\n const variantStyles = getTabsVariantStyles(variant, themeMode);\n const designSystemTabs = useDesignSystemComponentProps('tabs');\n const mergedViews = 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 >\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 activeValue,\n setActiveValue,\n variant = 'underline',\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\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 {...variantStyles.tab}\n {...(isActive ? variantStyles.activeTab : {})}\n _hover={\n !disabled\n ? variant === 'underline'\n ? { color: 'theme-primary' }\n : { opacity: 0.9 }\n : {}\n }\n onClick={handleClick}\n {...mergedViews?.trigger}\n {...(isActive ? mergedViews?.activeState : {})}\n >\n <View\n {...variantStyles.text}\n {...(isActive ? variantStyles.activeText : {})}\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 { activeValue } = useTabsContext();\n\n if (activeValue !== value) {\n return null;\n }\n\n return (\n <View width=\"100%\" padding=\"24px\" {...views?.content}>\n {children}\n </View>\n );\n }\n);\n",
80
+ "type": "registry:ui"
81
+ }
82
+ ]
83
+ }
@@ -0,0 +1,206 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "text-field",
4
+ "type": "registry:ui",
5
+ "title": "TextField",
6
+ "author": "App Studio",
7
+ "categories": [
8
+ "Forms"
9
+ ],
10
+ "registryDependencies": [],
11
+ "meta": {
12
+ "appStudio": {
13
+ "entry": "src/components/pilot/text-field.ts",
14
+ "engine": ">=0.9.5",
15
+ "version": "0.11.13",
16
+ "license": "MIT",
17
+ "platforms": [
18
+ "web",
19
+ "ios",
20
+ "android"
21
+ ],
22
+ "dependencies": {
23
+ "web": [
24
+ "@app-studio/components@0.11.13",
25
+ "lucide-react@^0.562.0"
26
+ ],
27
+ "ios": [
28
+ "@app-studio/components@0.11.13",
29
+ "react-native-svg@>= 13"
30
+ ],
31
+ "android": [
32
+ "@app-studio/components@0.11.13",
33
+ "react-native-svg@>= 13"
34
+ ]
35
+ },
36
+ "npmImport": "@app-studio/components/text-field"
37
+ }
38
+ },
39
+ "files": [
40
+ {
41
+ "path": "LICENSE.txt",
42
+ "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.",
43
+ "type": "registry:ui"
44
+ },
45
+ {
46
+ "path": "src/components/Form/Label/Label.tsx",
47
+ "content": "import React from 'react';\nimport { LabelProps } from './Label/Label.props';\nimport LabelView from './Label/Label.view';\n// Import custom type 'LabelProps' to type check the properties passed into the Label component.\nconst LabelComponent: React.FC<LabelProps> = (props) => (\n // Import 'LabelView' as a visual component for the label, separating the view from business logic.\n <LabelView {...props} />\n // Define 'LabelComponent' as a functional component that uses React's FC type for type checking and utilizing React features.\n);\n// Pass all properties received by 'LabelComponent' to 'LabelView' using the spread syntax, ensuring it has all props needed for rendering.\nexport const Label = LabelComponent;\n// Export the 'LabelComponent' as 'Label' to be reused throughout the project.\n",
48
+ "type": "registry:ui"
49
+ },
50
+ {
51
+ "path": "src/components/Form/Label/Label/Label.props.ts",
52
+ "content": "import { ViewProps } from 'app-studio';\nimport { Headings, Sizes, TextWeights } from './Label.type';\n\nexport interface LabelProps extends Omit<ViewProps, 'size'> {\n // Define an interface called `LabelProps` to type-check the props that can be passed to Label component.\n children: React.ReactNode;\n // Declare `children` prop, which is of type `React.ReactNode` to accept any element that can be rendered by React, like a string, number, or JSX.\n heading?: Headings;\n // Optional `heading` prop allowing to specify the heading level, which should be one of the predefined `Headings` type.\n isItalic?: boolean;\n // Optional `isItalic` boolean prop to determine if the label text should be italicized.\n isStriked?: boolean;\n // Optional `isStriked` boolean prop to determine if the label text should have a strikethrough.\n isUnderlined?: boolean;\n // Optional `isUnderlined` boolean prop to determine if the label text should be underlined.\n size?: Sizes | number;\n // Optional `size` prop that can either be one of the predefined `Sizes` type or a custom `number` size value.\n weight?: TextWeights;\n // Optional `weight` prop that defines the font weight of the label using the predefined `TextWeights` type.\n htmlFor?: string;\n // Optional `htmlFor` prop forwarded to the underlying <label> element.\n dropDown?: ViewProps;\n // Accepted and ignored; consumed by the parent field layout (TextField,\n // ColorInput, …) — the Label itself renders nothing for it.\n error?: boolean | string;\n // Optional `error` flag forwarded by parent fields via `views?.label`\n // spread; when truthy the label is colored with the shared field error\n // color (`theme-error`).\n isDisabled?: boolean;\n // Optional `isDisabled` flag forwarded by parent fields via `views?.label`\n // spread; mutes the label color and shows a `not-allowed` cursor on web.\n helperText?: React.ReactNode;\n // Accepted and ignored; consumed by the parent field layout, which renders\n // the helper text below the field (FieldContainer), not inside the Label.\n views?: ViewProps;\n // Accepted and ignored; consumed by parent field layout when it spreads\n // `views?.label` — kept in the interface so the spread stays type-safe.\n}\n",
53
+ "type": "registry:ui"
54
+ },
55
+ {
56
+ "path": "src/components/Form/Label/Label/Label.style.ts",
57
+ "content": "import { Headings } from './Label.type';\n// Import Headings type definition from Label.type module for type safety and consistency.\nexport const HeadingSizes: Record<Headings, Record<string, number | string>> = {\n // Initialize a constant 'HeadingSizes' to define styles for different heading levels.\n h1: {\n // Use TypeScript's 'Record' utility type to ensure the object matches the shape of 'Headings'.\n fontSize: 96,\n // Define style properties for 'h1' heading tag, including font size, line height, and letter spacing.\n letterSpacing: -1.5,\n },\n h2: {\n fontSize: 60,\n // Define style properties for 'h2' heading tag similar to 'h1', but with adjusted values for size and spacing.\n letterSpacing: -0.5,\n },\n h3: {\n fontSize: 48,\n // Define style properties for 'h3' heading tag with a standard letter spacing of 0.\n letterSpacing: 0,\n },\n h4: {\n fontSize: 34,\n // Provide style properties for 'h4' heading tag, with a slight increase in letter spacing.\n letterSpacing: 0.25,\n },\n h5: {\n fontSize: 24,\n // Set the 'h5' heading tag views, opting for no additional letter spacing.\n letterSpacing: 0,\n },\n h6: {\n fontSize: 20,\n // Set the 'h6' heading tag views, with the smallest font size and a subtle letter spacing.\n letterSpacing: 0.15,\n },\n};\n",
58
+ "type": "registry:ui"
59
+ },
60
+ {
61
+ "path": "src/components/Form/Label/Label/Label.type.ts",
62
+ "content": "export type TextWeights =\n // Defines a TypeScript type 'TextWeights' which allows specifying the visual weight (thickness) of text, with predefined values ranging from 'hairline' to 'black'.\n | 'hairline'\n // Each value corresponds to a conventional font weight used in styling.\n | 'thin'\n | 'light'\n | 'normal'\n | 'medium'\n | 'semiBold'\n | 'bold'\n | 'extraBold'\n | 'black';\n// Defines a TypeScript type 'Sizes' to standardize the sizing scale for UI elements. Predefined sizes range from 'xs' for extra small to '6xl' for 6 times extra large.\nexport type Sizes =\n // This type can be used for consistent application of size-related styling across the application.\n 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n// Enforcing the use of this type can enhance semantic markup and accessibility of the web app.\nexport type Headings = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\n",
63
+ "type": "registry:ui"
64
+ },
65
+ {
66
+ "path": "src/components/Form/Label/Label/Label.view.native.tsx",
67
+ "content": "/**\n * Label View Component (React Native)\n *\n * RN counterpart of Label.view.tsx. Drops the HTML <label> semantic (RN\n * has no label element / `htmlFor`) and renders the label text directly\n * inside a <Text/>. textDecoration is preserved (RN supports\n * textDecorationLine).\n */\n\nimport React from 'react';\nimport { Text, Typography } from 'app-studio';\nimport { LabelProps } from './Label.props';\nimport { HeadingSizes } from './Label.style';\n\nconst LabelView: React.FC<LabelProps> = ({\n children,\n heading,\n isItalic = false,\n isUnderlined = false,\n isStriked = false,\n weight = 'normal',\n size = 'sm',\n dropDown: _dropDown,\n error,\n isDisabled,\n helperText: _helperText,\n views: _views,\n htmlFor: _htmlFor,\n ...props\n}) => {\n const headingStyles = heading ? HeadingSizes[heading] : {};\n const textDecorationLine = isStriked\n ? 'line-through'\n : isUnderlined\n ? 'underline'\n : 'none';\n\n return (\n <Text\n width=\"100%\"\n fontSize={size}\n fontStyle={isItalic ? 'italic' : 'normal'}\n fontWeight={Typography.fontWeights[weight]}\n textDecorationLine={textDecorationLine as any}\n // Error wins over disabled, mirroring the web view (no cursor on RN).\n {...(error\n ? { color: 'theme-error' }\n : isDisabled\n ? { color: 'color-gray-400' }\n : {})}\n {...headingStyles}\n {...props}\n >\n {children}\n </Text>\n );\n};\n\nexport default LabelView;\n",
68
+ "type": "registry:ui"
69
+ },
70
+ {
71
+ "path": "src/components/Form/Label/Label/Label.view.tsx",
72
+ "content": "import React from 'react';\nimport { Element, Typography } from 'app-studio';\nimport { LabelProps } from './Label.props';\nimport { HeadingSizes } from './Label.style';\nconst LabelView: React.FC<LabelProps> = ({\n children,\n // LabelView is a functional component that utilizes the LabelProps interface for its props.\n heading,\n // The component is deconstructing its properties to apply conditional styles and pass them to the underlying Element.\n isItalic = false,\n isUnderlined = false,\n isStriked = false,\n // Creates a dynamic style object based on the 'heading' prop, if provided, selecting the appropriate size from HeadingSizes.\n weight = 'normal',\n // Returns an Element component with the role of a label, styled dynamically based on incoming props.\n size = 'sm',\n dropDown: _dropDown,\n error,\n isDisabled,\n helperText: _helperText,\n views: _views,\n ...props\n // The fontSize prop for the Element is determined by the 'size' prop passed to LabelView.\n}) => {\n // The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.\n const headingStyles = heading ? HeadingSizes[heading] : {};\n // fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.\n return (\n // textDecoration conditionally applies 'line-through' or 'underline' based on respective boolean props; defaults to 'none' if both are false.\n <Element\n as=\"label\"\n // Spreads any additional style properties from headingStyles into the Element if a heading size is specified.\n width=\"100%\"\n // Spreads the rest of the props to support extensibility of the LabelView component for future use cases.\n fontSize={size}\n // Includes children elements inside the Element, allowing for nested content within the label.\n fontStyle={isItalic ? 'italic' : 'normal'}\n fontWeight={Typography.fontWeights[weight]}\n textDecoration={\n isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'\n }\n // Error wins over disabled: `theme-error` is the same token sibling\n // field labels use (see Input/FieldLabel); disabled mutes the label the\n // way disabled field text is muted (`color-gray-400`).\n {...(error\n ? { color: 'theme-error' }\n : isDisabled\n ? { color: 'color-gray-400' }\n : {})}\n {...(isDisabled ? { cursor: 'not-allowed' } : {})}\n {...headingStyles}\n {...props}\n >\n {children}\n </Element>\n );\n};\nexport default LabelView;\n",
73
+ "type": "registry:ui"
74
+ },
75
+ {
76
+ "path": "src/components/Form/TextField/TextField.tsx",
77
+ "content": "import React from 'react';\nimport { TextFieldProps } from './TextField/TextField.props';\nimport { useTextFieldState } from './TextField/TextField.state';\nimport TextFieldView from './TextField/TextField.view';\nimport { useMergedDesignSystemComponentProps } from '@app-studio/components/theme';\nconst TextFieldComponent: React.FC<TextFieldProps> = (\n props: TextFieldProps\n) => {\n const mergedProps = useMergedDesignSystemComponentProps('input', props);\n // Initializes the 'textFieldStates' with state-management logic and relevant properties from 'useTextFieldState' hook, passing current 'props' as the argument\n const textFieldStates = useTextFieldState(mergedProps);\n // Renders the 'TextFieldView' component with the spread attributes from both 'textFieldStates' and 'props' to pass all necessary data\n return <TextFieldView {...textFieldStates} {...mergedProps} />;\n};\n// Exports 'TextFieldComponent' as 'TextField' for use in other parts of the application\nexport const TextField = TextFieldComponent;\n",
78
+ "type": "registry:ui"
79
+ },
80
+ {
81
+ "path": "src/components/Form/TextField/TextField/TextField.props.ts",
82
+ "content": "import React from 'react';\nimport { InputProps, Shadow, ViewProps } from 'app-studio';\nimport { Elevation } from '../../../../utils/elevation';\nimport { Shape, Size, TextFieldStyles, Variant } from './TextField.type';\n// The TextFieldProps interface extends InputProps and customizes the TextField\n// component. `onChange` is omitted from InputProps (where it is the DOM\n// FormEventHandler) because TextField re-declares it with value-first\n// semantics — see the prop's own doc comment below.\nexport interface TextFieldProps\n extends Omit<InputProps, 'size' | 'shadow' | 'left' | 'right' | 'onChange'> {\n // Optional unique identifier for the TextField.\n id?: string;\n // Optional property for error handling within the TextField.\n error?: any;\n // Optional helper text that appears below the TextField.\n helperText?: string;\n // Optional name attribute for the TextField, useful for form submission.\n name?: string;\n // Optional label text for the TextField to indicate the field's purpose.\n label?: string;\n // Optional React node to be rendered on the left side of the TextField.\n left?: React.ReactNode;\n // Optional React node to be rendered on the right side of the TextField.\n right?: React.ReactNode;\n // Optional placeholder text shown inside the TextField when empty.\n placeholder?: string;\n // Optional flag to set the TextField as read-only.\n isReadOnly?: boolean;\n // Optional flag to indicate whether the TextField is disabled.\n isDisabled?: boolean;\n // Optional flag that when true allows the TextField to be cleared.\n isClearable?: boolean;\n // Optional flag to autofocus the TextField when it mounts.\n isAutoFocus?: boolean;\n // Optional flag indicating the field is required for form submission.\n isRequired?: boolean;\n // Optional flag indicating the field is required (HTML attribute alias).\n required?: boolean;\n // Optional adornment rendered at the right edge of the field.\n rightIcon?: React.ReactNode;\n // Optional adornment rendered at the left edge of the field.\n leftIcon?: React.ReactNode;\n // Optional ViewProps applied to the field's label element.\n labelProps?: any;\n /**\n * Called when the value changes, with the **value itself** — not the DOM\n * event. TextField follows the value-first convention this package already\n * exposes through `onChangeText`, so there is no `event.target` to read:\n *\n * onChange={(value) => setQuery(value)} // ✅\n * onChange={(e) => setQuery(e.target.value)} // ❌ compile error\n *\n * The parameter is deliberately typed `string` rather than `any`: a\n * DOM-shaped handler is an API mistake, and typing it makes that mistake a\n * compile error instead of an input that silently never updates. If you\n * need the event, use `onChangeText` for the value and reach for the native\n * `<input>` through `inputRef`.\n */\n onChange?: (value: string) => void;\n // Optional callback function that is called when the text in the TextField changes.\n onChangeText?: (value: string) => void;\n /**\n * Called when the field loses focus, with the blur **event** (not the\n * value). Clearing the field via the clear button synthesises a minimal\n * `{ target: { name } }` so form libraries can mark the field touched.\n */\n onBlur?: (event: any) => void;\n // Optional callback function that is called when the TextField is clicked.\n onClick?: () => void;\n // Optional callback function that is called when the TextField gains focus.\n onFocus?: () => void;\n // Optional Size enum to specify the size of the TextField.\n size?: Size;\n // Optional shadow property that could be of type Shadow, Elevation, or CSSProperties to give depth effect.\n shadow?: Shadow | Elevation | ViewProps;\n // Optional Shape enum to specify the shape of the TextField's corners.\n shape?: Shape;\n // Optional custom styles to apply to the TextField component.\n views?: TextFieldStyles;\n // Optional controlled value of the TextField, driving its current state.\n value?: string;\n // Optional Variant enum to specify the variant of the TextField component.\n variant?: Variant;\n // Optional flag to render the field as a multiline input (a <textarea> on\n // web, a multiline TextInput on native).\n isMultiline?: boolean;\n // Alias of `isMultiline`.\n multiline?: boolean;\n // Optional number of rows when rendered in multiline mode.\n rows?: number;\n // Optional callback ref to the underlying input node. Used by the Formik\n // focus chain (FormikForm autoFocus) to register the field so Return/Next\n // can move focus to it. A plain prop (not React `ref`) so non-text fields\n // that ignore it stay wireable without ref warnings.\n inputRef?: (node: { focus: () => void } | null) => void;\n}\n// The TextFieldViewProps interface extends TextFieldProps and adds props specific to the view-layer customization of the component.\nexport interface TextFieldViewProps extends TextFieldProps {\n // Optional property to give hints to the user about how to fill in the TextField.\n hint?: string;\n // Optional function that allows changing the hint text.\n setHint?: (hint?: string) => void;\n // Optional property indicating whether the TextField is currently focused.\n isFocused?: boolean;\n // Optional function to update the focused state of the TextField.\n setIsFocused?: (focused: boolean) => void;\n // Optional property indicating whether the TextField is currently hovered by the mouse cursor.\n isHovered?: boolean;\n // Optional function to update the hovered state of the TextField.\n setIsHovered?: (hovered: boolean) => void;\n // Optional controlled value of the TextField, potentially used in a state management context.\n value?: string;\n // Optional function to programmatically set the value of the TextField.\n setValue?: (value: string) => void;\n // Theme mode override (light/dark).\n}\n",
83
+ "type": "registry:ui"
84
+ },
85
+ {
86
+ "path": "src/components/Form/TextField/TextField/TextField.state.ts",
87
+ "content": "import { useMemo, useState } from 'react';\nimport { TextFieldProps } from './TextField.props';\n// Define a custom hook `useTextFieldState` that creates and manages the state of a text field component based on its properties.\nexport const useTextFieldState = ({\n label,\n placeholder,\n value: defaultValue,\n}: TextFieldProps) => {\n // Initialize `hint` state with either the label or placeholder text, using label as a priority if it exists.\n const [hint, setHint] = useState(label ?? placeholder);\n // Set up a boolean state `isFocused` to track if the text field is focused.\n const [isFocused, setIsFocused] = useState(false);\n // Introduce a boolean state `isHovered` for tracking mouse hover status over the text field.\n const [isHovered, setIsHovered] = useState(false);\n // Manage the `value` state that holds the current value of the text field, initialized with defaultValue.\n const [value, setValue] = useState(defaultValue);\n // Use `useMemo` hook to recompute hint text when any dependency changes, updating it based on focus state and presence of value.\n useMemo(() => {\n // Update the `hint` state depending on whether the text field is focused and if value is not present, falling back to placeholder or label.\n setHint(isFocused && !value ? placeholder ?? '' : label ?? placeholder);\n // Specify the dependencies for the `useMemo` hook - updating the `hint` text when value, isFocused, label, or placeholder changes.\n }, [value, isFocused, label, placeholder]);\n // Return an object exposing the states and state setter functions for consumer components to use and manage the text field's UI and behavior.\n return {\n hint,\n setHint,\n isFocused,\n setIsFocused,\n isHovered,\n setIsHovered,\n setValue,\n value,\n };\n};\n",
88
+ "type": "registry:ui"
89
+ },
90
+ {
91
+ "path": "src/components/Form/TextField/TextField/TextField.type.ts",
92
+ "content": "import { ViewProps } from 'app-studio';\n\n// Defines 'Variant' as a TypeScript type alias representing possible visual styles of the TextField component such as 'outline', 'default', or 'none'.\nexport type Variant = 'outline' | 'default' | 'none';\n// Establishes 'Shape' as a type for defining the border-radius of the TextField, allowing 'default', 'square', 'rounded', or 'pill' views.\nexport type Shape = 'default' | 'square' | 'rounded' | 'pill';\n// Specifies 'Size' as a type indicating the scale of the TextField, ranging from 'xs' for extra small to 'xl' for extra large.\nexport type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n// Describes 'TextFieldStyles' as a type for custom styling of various parts of the TextField component.\nexport type TextFieldStyles = {\n // Gives an optional 'box' style property to customize the container of the TextField using app-studio view props.\n container?: ViewProps;\n // Allows for optional 'text' style customization that applies to the text within the TextField.\n text?: ViewProps;\n // Provides an optional 'label' style property to tailor the appearance of the TextField's label.\n label?: ViewProps;\n // Defines an optional 'helperText' style property for styling the helper text associated with the TextField.\n helperText?: ViewProps;\n // Introduces an optional 'field' style property to modify the styling of the TextField itself.\n field?: ViewProps;\n // Optional styling for the inner content shell used by FieldContent.\n content?: ViewProps;\n};\n",
93
+ "type": "registry:ui"
94
+ },
95
+ {
96
+ "path": "src/components/Form/TextField/TextField/TextField.view.native.tsx",
97
+ "content": "/**\n * TextField View Component (React Native)\n *\n * React Native counterpart of TextField.view.tsx. Uses app-studio's <Input/>\n * which maps to RN <TextInput/>. Drops web-only CSS (cursor, _hover, transition,\n * boxShadow, outline, autofill) and relies on the native focus indicator.\n *\n * NOTE: Password.tsx delegates to this view passing `type` (\"text\" | \"password\").\n * We translate that into `secureTextEntry` here so Password works for free.\n */\n\nimport React from 'react';\nimport { Input, useTheme, View } from 'app-studio';\nimport { FieldContainer } from '../../../Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Input/FieldContent/FieldContent';\nimport { FieldIcons } from '../../../Input/FieldIcons/FieldIcons';\nimport { FieldLabel } from '../../../Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Input/FieldWrapper/FieldWrapper';\nimport { CloseIcon } from '../../../Icon/FixedIcons';\nimport { TextFieldViewProps } from './TextField.props';\n\nconst TextFieldView: React.FC<TextFieldViewProps> = ({\n id,\n name,\n label,\n hint,\n value,\n onChange,\n left,\n right,\n helperText,\n placeholder,\n onChangeText,\n shadow = {},\n views = { container: {}, field: {}, label: {}, helperText: {}, text: {} },\n size = 'md',\n shape = 'default',\n variant = 'default',\n error = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n isClearable = true,\n isAutoFocus = false,\n isMultiline,\n multiline,\n rows,\n setHint = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n setValue = () => {},\n onClick = () => {},\n onFocus,\n onBlur = () => {},\n themeMode: elementMode,\n ...props\n}) => {\n const { getColor } = useTheme();\n const IconColor = getColor(isDisabled ? 'color-gray-400' : 'color-gray-500');\n const showLabel = !!label;\n const isTextArea = isMultiline ?? multiline ?? false;\n\n const fieldSizeStyles = {\n xs: { minHeight: 24, shellPaddingY: 6, shellPaddingX: 10, fontSize: 12 },\n sm: { minHeight: 32, shellPaddingY: 8, shellPaddingX: 10, fontSize: 12 },\n md: { minHeight: 40, shellPaddingY: 10, shellPaddingX: 12, fontSize: 14 },\n lg: { minHeight: 48, shellPaddingY: 12, shellPaddingX: 14, fontSize: 16 },\n xl: { minHeight: 56, shellPaddingY: 14, shellPaddingX: 16, fontSize: 18 },\n } as const;\n\n const fieldView = views?.field || {};\n const fieldStyles = {\n margin: 0,\n paddingVertical: 0,\n paddingHorizontal: 0,\n width: '100%',\n minHeight: undefined,\n borderWidth: 0,\n backgroundColor: 'transparent',\n fontSize: fieldSizeStyles[size].fontSize,\n fontWeight: '400' as const,\n color: isDisabled ? 'color-gray-400' : 'color-gray-900',\n opacity: isDisabled ? 0.7 : 1,\n ...fieldView,\n };\n\n // Translate Password's `type=\"password\"` into RN's secureTextEntry.\n // `type` itself is meaningless on a TextInput.\n const typeProp = (props as any).type;\n const secureTextEntry = typeProp === 'password';\n const {\n type: _ignoreType,\n autoComplete: _ignoreAutoComplete,\n ...restProps\n } = props as any;\n\n const handleFocus = () => {\n setIsFocused(true);\n if (onFocus) onFocus();\n };\n const handleBlur = (event: any) => {\n if (onBlur) onBlur(event);\n setIsFocused(false);\n };\n const handleChangeText = (text: string) => {\n setValue(text);\n if (onChangeText) onChangeText(text);\n if (onChange) onChange(text);\n };\n const handleClear = () => {\n setValue('');\n if (onChange) onChange('');\n if (onChangeText) onChangeText('');\n if (onBlur) onBlur({ target: { name } });\n };\n\n const {\n container: _shellContainer,\n content: _shellContent,\n ...layoutViews\n } = views || {};\n\n return (\n <FieldContainer helperText={helperText} error={error} views={layoutViews}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n views={views}\n shadow={shadow}\n variant={variant}\n value={value}\n color={'theme-primary'}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n showLabel={showLabel}\n minHeight={fieldSizeStyles[size].minHeight}\n paddingTop={fieldSizeStyles[size].shellPaddingY}\n paddingBottom={fieldSizeStyles[size].shellPaddingY}\n paddingLeft={fieldSizeStyles[size].shellPaddingX}\n paddingRight={fieldSizeStyles[size].shellPaddingX}\n >\n {left}\n <FieldWrapper>\n {showLabel && (\n <FieldLabel error={error} views={{ label: views?.label }}>\n {label}\n </FieldLabel>\n )}\n <Input\n id={id}\n name={name}\n editable={!isReadOnly && !isDisabled}\n autoFocus={isAutoFocus}\n placeholder={placeholder || hint}\n placeholderTextColor={getColor('color-gray-400')}\n keyboardType={typeProp === 'email' ? 'email-address' : undefined}\n secureTextEntry={secureTextEntry}\n accessibilityLabel={label}\n accessibilityHint={\n error && error !== true ? String(error) : undefined\n }\n multiline={isTextArea}\n numberOfLines={isTextArea ? rows : undefined}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onChangeText={handleChangeText}\n value={value as any}\n {...fieldStyles}\n {...restProps}\n />\n </FieldWrapper>\n {isClearable && value && !isReadOnly && !isDisabled && (\n <FieldIcons>\n <View onPress={handleClear}>\n <CloseIcon size={20} color={IconColor} borderRadius={9999} />\n </View>\n </FieldIcons>\n )}\n {right}\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default TextFieldView;\n",
98
+ "type": "registry:ui"
99
+ },
100
+ {
101
+ "path": "src/components/Form/TextField/TextField/TextField.view.tsx",
102
+ "content": "/**\n * TextField View Component\n *\n * Renders a text input field with various styles and states\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Input, useTheme } from 'app-studio';\nimport { FieldContainer } from '../../../Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Input/FieldContent/FieldContent';\nimport { FieldIcons } from '../../../Input/FieldIcons/FieldIcons';\nimport { FieldLabel } from '../../../Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Input/FieldWrapper/FieldWrapper';\nimport { CloseIcon } from '../../../Icon/FixedIcons';\nimport { TextFieldViewProps } from './TextField.props';\n\nconst TextFieldView: React.FC<TextFieldViewProps> = ({\n id,\n name,\n label,\n hint,\n value,\n onChange,\n left,\n right,\n helperText,\n placeholder,\n onChangeText,\n shadow = {},\n views = { container: {}, field: {}, label: {}, helperText: {}, text: {} },\n size = 'md',\n shape = 'default',\n variant = 'default',\n error = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n isClearable = true,\n isAutoFocus = false,\n isRequired,\n required,\n labelProps,\n isMultiline,\n multiline,\n rows,\n leftIcon,\n rightIcon,\n setHint = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n setValue = () => {},\n onClick = () => {},\n onFocus,\n onBlur = () => {},\n themeMode: elementMode,\n inputRef,\n ...props\n}) => {\n const generatedId = React.useId();\n const fieldId = id ?? generatedId;\n const isTextArea = isMultiline ?? multiline ?? false;\n // A message (not a bare `true`) is rendered under the field: point to it.\n const errorId = error && error !== true ? `${fieldId}-error` : undefined;\n const { getColor, themeMode } = useTheme();\n const IconColor = getColor(isDisabled ? 'color-gray-400' : 'color-gray-500', {\n themeMode: elementMode ? elementMode : themeMode,\n });\n const showLabel = !!label;\n const fieldSizeStyles = {\n xs: {\n minHeight: 24,\n shellPaddingY: 6,\n shellPaddingX: 10,\n fontSize: 12,\n lineHeight: '16px',\n },\n sm: {\n minHeight: 32,\n shellPaddingY: 8,\n shellPaddingX: 10,\n fontSize: 12,\n lineHeight: '16px',\n },\n md: {\n minHeight: 40,\n shellPaddingY: 10,\n shellPaddingX: 12,\n fontSize: 14,\n lineHeight: '20px',\n },\n lg: {\n minHeight: 48,\n shellPaddingY: 12,\n shellPaddingX: 14,\n fontSize: 16,\n lineHeight: '24px',\n },\n xl: {\n minHeight: 56,\n shellPaddingY: 14,\n shellPaddingX: 16,\n fontSize: 18,\n lineHeight: '28px',\n },\n } as const;\n const fieldView = views?.field || {};\n const autofillShadow = '0 0 0 1000px var(--theme-canvas) inset';\n const fieldStyles = {\n margin: 0,\n paddingVertical: 0,\n paddingHorizontal: 0,\n width: '100%',\n minHeight: 'auto',\n border: 'none',\n backgroundColor: 'transparent',\n fontSize: fieldSizeStyles[size].fontSize,\n letterSpacing: '-0.01em',\n fontWeight: 400,\n color: isDisabled ? 'color-gray-400' : 'color-gray-900',\n cursor: isDisabled ? 'not-allowed' : 'text',\n opacity: isDisabled ? 0.7 : 1,\n transition: 'color 0.2s ease, opacity 0.2s ease',\n _focus: {\n outline: 'none',\n _placeholder: {\n opacity: 0.7,\n },\n },\n _placeholder: {\n color: 'color-gray-400',\n opacity: 1,\n transition: 'opacity 0.2s ease-out',\n },\n _selection: {\n backgroundColor:\n 'color-mix(in srgb, var(--theme-primary) 20%, transparent)',\n },\n _webkitAutofill: {\n boxShadow: autofillShadow,\n WebkitBoxShadow: autofillShadow,\n WebkitTextFillColor: 'var(--theme-text)',\n transition: 'background-color 5000s ease-in-out 0s',\n },\n _webkitContactsAutoFillButton: {\n visibility: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n right: 0,\n } as const,\n ...fieldView,\n };\n const handleFocus = () => {\n setIsFocused(true);\n if (onFocus) onFocus();\n };\n const handleMouseEnter = () => setIsHovered(true);\n const handleMouseLeave = () => setIsHovered(false);\n const handleBlur = (event: any) => {\n if (onBlur) onBlur(event);\n setIsFocused(false);\n };\n const handleChange = (event: React.ChangeEvent<any> | string) => {\n if (typeof event === 'string') {\n setValue(event);\n if (onChangeText) onChangeText(event);\n if (onChange) onChange(event);\n } else {\n setValue(event.target.value);\n if (onChangeText) onChangeText(event.target.value);\n if (onChange) onChange(event.target.value);\n }\n };\n const handleClear = () => {\n setValue('');\n // Both change callbacks fire unconditionally — gating `onChangeText` on\n // `onChange` being present meant the clear button was a no-op for every\n // consumer that only passes `onChangeText` (which is what the Formik\n // wrapper does for text fields).\n if (onChangeText) onChangeText('');\n if (onChange) onChange('');\n onBlur({ target: { name } });\n };\n const {\n container: _shellContainer,\n content: _shellContent,\n ...layoutViews\n } = views || {};\n return (\n <FieldContainer\n helperText={helperText}\n error={error}\n errorId={errorId}\n views={layoutViews}\n >\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n views={views}\n shadow={shadow}\n variant={variant}\n value={value}\n color={'theme-primary'}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n showLabel={showLabel}\n // Sizing comes from FieldContent's shared scale (`Input/fieldSizes`),\n // so every field control agrees on what `md` means.\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n >\n {left}\n {leftIcon && <FieldIcons>{leftIcon}</FieldIcons>}\n <FieldWrapper>\n {showLabel && (\n <FieldLabel\n htmlFor={fieldId}\n color={'theme-primary'}\n error={error}\n {...labelProps}\n {...views?.label}\n >\n {label}\n </FieldLabel>\n )}\n <Input\n ref={inputRef}\n {...(isTextArea\n ? { as: 'textarea', rows: rows ?? 5 }\n : { type: 'text' })}\n id={fieldId}\n name={name}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n aria-invalid={error ? true : undefined}\n aria-describedby={errorId}\n {...(isRequired ?? required\n ? { required: true, 'aria-required': true }\n : {})}\n placeholder={placeholder || hint}\n onFocus={handleFocus}\n onBlur={handleBlur}\n autoComplete=\"off\"\n {...fieldStyles}\n {...props}\n onChange={handleChange}\n value={value}\n />\n </FieldWrapper>\n {isClearable && value && !isReadOnly && !isDisabled && (\n <FieldIcons>\n <CloseIcon\n size={20}\n color={IconColor}\n onClick={handleClear}\n cursor=\"pointer\"\n borderRadius=\"50%\"\n transition=\"background-color 0.2s ease, transform 0.2s ease\"\n _hover={{\n backgroundColor: 'color-gray-100',\n transform: 'scale(1.05)',\n }}\n _active={{\n transform: 'scale(0.95)',\n }}\n />\n </FieldIcons>\n )}\n {rightIcon && <FieldIcons>{rightIcon}</FieldIcons>}\n {right}\n </FieldContent>\n </FieldContainer>\n );\n};\nexport default TextFieldView;\n",
103
+ "type": "registry:ui"
104
+ },
105
+ {
106
+ "path": "src/components/Icon/FixedIcons.native.tsx",
107
+ "content": "import React from 'react';\nimport { View, useTheme, ViewProps } from 'app-studio';\nimport Svg, { Path } from 'react-native-svg';\n\ntype IconProps = Omit<ViewProps, 'size' | 'orientation'> & {\n size?: number | string;\n orientation?: 'up' | 'down' | 'left' | 'right';\n strokeWidth?: number | string;\n filled?: boolean;\n};\n\nfunction fixed(path: string, defaultStroke = 1) {\n return function FixedIcon({\n size,\n widthHeight = 24,\n orientation = 'up',\n color = 'currentColor',\n strokeWidth = defaultStroke,\n transform,\n filled = false,\n ...props\n }: IconProps) {\n const { getColor } = useTheme();\n const stroke = String(\n getColor(\n color === 'currentColor' || color === 'inherit'\n ? 'color-gray-700'\n : (color as string)\n )\n );\n const dimensions = size ?? widthHeight;\n const svgSize = typeof dimensions === 'number' ? dimensions : 24;\n const angle = { up: 0, down: 180, left: -90, right: 90 }[orientation];\n\n return (\n <View\n widthHeight={dimensions}\n color={color}\n alignItems=\"center\"\n justifyContent=\"center\"\n transform={transform}\n {...props}\n >\n <Svg\n width={svgSize}\n height={svgSize}\n viewBox=\"0 0 24 24\"\n accessible={false}\n >\n <Path\n d={path}\n rotation={transform ? 0 : angle}\n originX={12}\n originY={12}\n fill={filled ? stroke : 'none'}\n stroke={stroke}\n strokeWidth={strokeWidth}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </Svg>\n </View>\n );\n };\n}\n\n// Metro includes all modules reachable from the dynamic icon catalogue.\nexport const CloseIcon = fixed('M6 6 L18 18 M18 6 L6 18', 2);\nexport const ChevronIcon = fixed('M5 15 L12 8 L19 15');\nexport const TickIcon = fixed('M5 12 L10 17 L19 7');\nexport const MinusIcon = fixed('M6 12 H18');\n\nconst circle = 'M22 12 A10 10 0 1 1 2 12 A10 10 0 1 1 22 12';\nexport const WarningIcon = fixed('M12 3 L22 21 H2 Z M12 9 V14 M12 17 V18');\nexport const InfoIcon = fixed(circle + ' M12 8 V9 M12 11 V16');\nexport const ErrorIcon = fixed(circle + ' M12 7 V13 M12 16 V17');\nexport const SuccessIcon = fixed(circle + ' M7 12 L10 15 L17 8');\n",
108
+ "type": "registry:ui"
109
+ },
110
+ {
111
+ "path": "src/components/Icon/FixedIcons.tsx",
112
+ "content": "import React from 'react';\nimport { useTheme } from 'app-studio';\nimport {\n Check,\n ChevronUp,\n CircleAlert,\n CircleCheck,\n Info,\n Minus,\n TriangleAlert,\n X,\n} from 'lucide-react';\nimport type { LucideIcon } from 'lucide-react';\nimport { IconWrapper } from './Icon.frame';\nimport type { IconProps } from './Icon.frame';\n\nfunction fixed(Glyph: LucideIcon, defaultStroke = 1) {\n return function FixedIcon({\n widthHeight = 24,\n color = 'currentColor',\n filled = false,\n strokeWidth = defaultStroke,\n size,\n ...props\n }: Omit<IconProps, 'name' | 'fallback'>) {\n const { getColor } = useTheme();\n const stroke = getColor(color);\n const iconSize = size || widthHeight;\n return (\n <IconWrapper widthHeight={iconSize} color={color} {...props}>\n <Glyph\n size={iconSize}\n color={stroke}\n fill={filled ? stroke : 'none'}\n strokeWidth={strokeWidth}\n />\n </IconWrapper>\n );\n };\n}\n\nexport const CloseIcon = fixed(X, 2);\nexport const ChevronIcon = fixed(ChevronUp);\nexport const TickIcon = fixed(Check);\nexport const MinusIcon = fixed(Minus);\nexport const WarningIcon = fixed(TriangleAlert);\nexport const InfoIcon = fixed(Info);\nexport const ErrorIcon = fixed(CircleAlert);\nexport const SuccessIcon = fixed(CircleCheck);\n",
113
+ "type": "registry:ui"
114
+ },
115
+ {
116
+ "path": "src/components/Icon/Icon.frame.tsx",
117
+ "content": "import React from 'react';\nimport { View, ViewProps } from 'app-studio';\nimport type dynamicIconImportsType from 'lucide-react/dynamicIconImports';\n\n// Type for valid Lucide icon names with autocomplete support\nexport type IconName = keyof typeof dynamicIconImportsType;\n\n// Base icon interface with added transform and orientation.\n// `name` and `size` are explicitly Omit'd from ViewProps because Icon narrows\n// them: `name` → `IconName` (icon-id union), `size` → number | string.\nexport interface IconProps\n extends Omit<ViewProps, 'orientation' | 'name' | 'size'> {\n color?: string;\n filled?: boolean;\n orientation?: 'left' | 'right' | 'up' | 'down';\n name?: IconName;\n strokeWidth?: number | string;\n size?: number | string;\n fallback?: React.ReactNode;\n}\n\n// Default wrapper component for consistent sizing and styling\nexport const IconWrapper: React.FC<IconProps> = React.memo(\n ({\n widthHeight,\n color = 'currentColor',\n transform,\n orientation = 'up',\n children,\n ...rest\n }) => (\n <View\n widthHeight={widthHeight}\n color={color}\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n transform={\n transform\n ? transform\n : orientation === 'left'\n ? 'rotate(-90deg)'\n : orientation === 'right'\n ? 'rotate(90deg)'\n : orientation === 'up'\n ? 'rotate(0deg)'\n : orientation === 'down'\n ? 'rotate(180deg)'\n : 'none'\n }\n {...rest}\n >\n {children}\n </View>\n )\n);\n",
118
+ "type": "registry:ui"
119
+ },
120
+ {
121
+ "path": "src/components/Input/FieldContainer/FieldContainer.tsx",
122
+ "content": "/**\n * FieldContainer Component\n *\n * Renders a container for a form field with helper text and error handling\n * according to the design guidelines.\n */\n\nimport React from 'react';\n\nimport { HelperText } from '../HelperText/HelperText';\n\nimport { ContainerProps } from './FieldContainer/FieldContainer.props';\nimport { Text } from 'app-studio';\nimport { Vertical } from 'app-studio';\n\nexport const FieldContainer = React.forwardRef<HTMLDivElement, ContainerProps>(\n ({ children, helperText, error = false, errorId, views, ...props }, ref) => (\n <Vertical\n ref={ref}\n gap={4}\n position=\"relative\"\n width=\"100%\"\n boxSizing=\"border-box\"\n marginVertical={0}\n {...props}\n {...views?.container}\n >\n {children}\n\n {!error && helperText && (\n <HelperText marginTop={0} {...views?.helperText}>\n {helperText}\n </HelperText>\n )}\n\n {error && (\n <Text\n id={errorId}\n fontSize=\"11px\"\n lineHeight=\"16px\"\n marginTop={0}\n marginHorizontal={0}\n fontWeight=\"500\"\n color=\"theme-error\"\n transition=\"color 0.2s ease, opacity 0.2s ease\"\n {...views?.error}\n >\n {error}\n </Text>\n )}\n </Vertical>\n )\n);\n\nFieldContainer.displayName = 'FieldContainer';\n",
123
+ "type": "registry:ui"
124
+ },
125
+ {
126
+ "path": "src/components/Input/FieldContainer/FieldContainer/FieldContainer.props.ts",
127
+ "content": "import React from 'react';\nimport { TextFieldStyles } from '../../Input.type';\nimport { ViewProps } from 'app-studio';\n\nexport interface ContainerProps extends ViewProps {\n /**\n * The content to be rendered inside the container.\n */\n children?: React.ReactNode;\n /**\n * Specifies whether the input field should display an error state.\n * Accepts a boolean flag or an error message string.\n */\n error?: boolean | string;\n /**\n * Provides additional information or instructions about the field.\n */\n helperText?: string;\n /**\n * Id given to the rendered error message, so the field can reference it\n * through `aria-describedby`.\n */\n errorId?: string;\n /**\n * CSS styles for the select box and dropdown.\n */\n views?: TextFieldStyles;\n}\n",
128
+ "type": "registry:ui"
129
+ },
130
+ {
131
+ "path": "src/components/Input/FieldContent/FieldContent.tsx",
132
+ "content": "/**\n * FieldContent Component\n *\n * Renders the content area of a form field with various styles and states\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Typography, useTheme } from 'app-studio';\n\nimport { InputVariants, Shapes } from '../Input.style';\nimport { fieldSizeProps } from '../fieldSizes';\nimport { Horizontal } from 'app-studio';\n\nimport { ContentProps } from './FieldContent/FieldContent.props';\n\nexport const FieldContent: React.FC<ContentProps> = ({\n label,\n shadow,\n children,\n value,\n size = 'md',\n shape = 'default',\n variant = 'default',\n error = false,\n showLabel = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n views = { pickerBox: {} },\n ...props\n}) => {\n const { themeMode } = useTheme();\n const isDark = themeMode === 'dark';\n\n // Determine if the field is in an interactive state\n const isInteractive = (isHovered || isFocused) && !isDisabled;\n const color = error\n ? 'color-red-500'\n : isInteractive\n ? 'theme-primary'\n : 'color-gray-200';\n\n return (\n <Horizontal\n gap={8}\n width=\"100%\"\n // Fields set `width: 100%` and then add their own padding/border, so they\n // only fit their container under border-box. Declared here rather than\n // relying on a host `* { box-sizing: border-box }` reset, whose absence\n // otherwise makes every field overflow its parent by padding + border.\n boxSizing=\"border-box\"\n display=\"flex\"\n flexWrap=\"nowrap\"\n alignItems=\"center\"\n justifyContent=\"flex-start\"\n borderStyle=\"solid\"\n borderColor={color}\n backgroundColor={isDark ? 'color-gray-900' : 'color-white'}\n fontSize={Typography.fontSizes[size]}\n cursor={isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'text'}\n opacity={isDisabled ? 0.7 : 1}\n transition=\"border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease\"\n // Sizing belongs to the shell, not to each field: without it every field\n // rendered at roughly `md` height whatever size was asked for. Placed\n // before `views`/`props` so a caller can still override.\n {...fieldSizeProps(size)}\n {...(typeof shadow === 'object' && shadow !== null ? shadow : {})}\n {...Shapes[shape]}\n {...InputVariants[variant]}\n {...views?.container}\n {...props}\n >\n {children}\n </Horizontal>\n );\n};\n",
133
+ "type": "registry:ui"
134
+ },
135
+ {
136
+ "path": "src/components/Input/FieldContent/FieldContent/FieldContent.props.ts",
137
+ "content": "import React from 'react';\nimport { Shape, Size, TextFieldStyles, Variant } from '../../Input.type';\nimport { Shadow, ViewProps } from 'app-studio';\nimport { Elevation } from '../../../../utils/elevation';\n\nexport interface ContentProps extends Omit<ViewProps, 'size' | 'shadow'> {\n /**\n * Shadow applied to the field shell. Accepts the design-system primitives\n * (boolean / number / Shadow), the consumer's elevation token, or a raw\n * ViewProps-shaped style object used as a shadow descriptor.\n */\n shadow?: boolean | number | Shadow | Elevation | ViewProps;\n /**\n * The color of the Content component.\n */\n color?: string;\n /**\n * The content to be rendered inside the Content component.\n */\n children?: React.ReactNode;\n /**\n * Indicates whether the field has an error.\n */\n error?: boolean;\n /**\n * Indicates whether the field has label\n */\n showLabel?: boolean;\n /**\n * Determines whether the Content component is disabled. Default value is false.\n */\n isDisabled?: boolean;\n /**\n * Determines wheter the field is focused or not.\n */\n isFocused?: boolean;\n /**\n * Determines whether the Content component is currently being hovered over.\n */\n isHovered?: boolean;\n /**\n * Determines whether the Content component is read-only. Default value is false.\n */\n isReadOnly?: boolean;\n /**\n * The label associated with the Content component.\n */\n label?: string;\n /**\n * The default value of the field. Accepts the same shape as\n * HTMLInputElement.value (including `readonly string[]` for compatibility\n * with React 19's stricter Input typing).\n */\n value?: string | number | readonly string[];\n /**\n * Changes the Input style\n */\n variant?: Variant;\n /**\n * The shape of the Content component.\n */\n shape?: Shape;\n /**\n * The size of the Content component. Default value is \"md\".\n */\n size?: Size;\n /**\n * CSS styles applied to the Content component. Default value is an empty object.\n */\n views?: TextFieldStyles;\n}\n",
138
+ "type": "registry:ui"
139
+ },
140
+ {
141
+ "path": "src/components/Input/FieldIcons/FieldIcons.tsx",
142
+ "content": "import React from 'react';\nimport { Horizontal } from 'app-studio';\n\nimport { FieldIconsProps } from './FieldIcons/FieldIcons.props';\n\nexport const FieldIcons: React.FC<FieldIconsProps> = ({\n children,\n ...props\n}) => (\n <Horizontal\n gap={10}\n right={10}\n zIndex={500}\n flexWrap=\"nowrap\"\n alignItems=\"center\"\n justifyContent=\"flex-end\"\n {...props}\n >\n {children}\n </Horizontal>\n);\n",
143
+ "type": "registry:ui"
144
+ },
145
+ {
146
+ "path": "src/components/Input/FieldIcons/FieldIcons/FieldIcons.props.ts",
147
+ "content": "import { ImageProps } from 'app-studio';\n\nexport interface FieldIconsProps extends Omit<ImageProps, 'size'> {}\n",
148
+ "type": "registry:ui"
149
+ },
150
+ {
151
+ "path": "src/components/Input/FieldLabel/FieldLabel.tsx",
152
+ "content": "/**\n * FieldLabel Component\n *\n * Renders a label for a form field with various styles and states\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Label } from '../../Form/Label/Label';\n\nimport { LabelSizes } from '../Input.style';\n\nimport { LabelProps } from './FieldLabel/FieldLabel.props';\n\nexport const FieldLabel: React.FC<LabelProps> = ({\n children,\n size = 'md',\n error = false,\n color = 'theme-primary',\n views = { label: {} },\n helperText,\n ...props\n}) => (\n <Label\n position=\"static\"\n fontSize={LabelSizes[size]}\n letterSpacing=\"-0.01em\"\n whiteSpace=\"nowrap\"\n fontWeight={500}\n // Full opacity always: dimming inherited ink to 0.72 at 11–12px lands\n // under the 4.5:1 contrast ratio and fails axe (serious) on every form\n // screen. De-emphasis, where a design wants it, belongs to a color token\n // that still clears the ratio — not to an opacity filter.\n color={error ? 'theme-error' : 'inherit'}\n transition=\"color 0.2s ease\"\n {...views['label']}\n {...props}\n >\n {children}\n </Label>\n);\n",
153
+ "type": "registry:ui"
154
+ },
155
+ {
156
+ "path": "src/components/Input/FieldLabel/FieldLabel/FieldLabel.props.ts",
157
+ "content": "import React from 'react';\nimport { Size } from '../../Input.type';\nimport { ViewProps } from 'app-studio';\n\nexport interface LabelProps extends Omit<ViewProps, 'size'> {\n /**\n * The content to be rendered inside the Label.\n */\n children?: React.ReactNode;\n\n /**\n * Indicates whether the field has an error.\n */\n error?: boolean;\n\n /**\n * The size of the Label\n */\n size?: Size;\n /**\n * The color of the Label\n */\n color?: string;\n /**\n * CSS styles applied to the Label\n */\n views?: { label?: ViewProps };\n /**\n * Helper text rendered below the label (hint / error / explanation).\n */\n helperText?: React.ReactNode;\n}\n",
158
+ "type": "registry:ui"
159
+ },
160
+ {
161
+ "path": "src/components/Input/fieldSizes.ts",
162
+ "content": "/**\n * The canonical size scale for form fields.\n *\n * One source of truth, because there used to be several: TextField and Select\n * each declared their own `fieldSizeStyles`, ComboBox declared a third in its\n * style file (with `xs` at 28px rather than 24px), and DatePicker, TagInput and\n * CountryPicker declared none at all — so they fell back to a fixed 10px\n * padding and rendered the same height at every size.\n *\n * The vertical metrics match `ButtonSizes`, so a Button and a field of the same\n * size line up in a row without any alignment work.\n *\n * `paddingVertical` is chosen so that padding + the input's natural line box +\n * the 1px border stays *under* `minHeight` at every size. `minHeight` is then\n * the binding constraint and each field renders at exactly its declared height,\n * while still being free to grow when its content wraps (TagInput chips, for\n * instance).\n */\n\nimport { Size } from './Input.type';\n\nexport interface FieldSizeMetrics {\n minHeight: number;\n paddingVertical: number;\n paddingHorizontal: number;\n}\n\nexport const FieldSizes: Record<Size, FieldSizeMetrics> = {\n xs: { minHeight: 24, paddingVertical: 4, paddingHorizontal: 10 },\n sm: { minHeight: 32, paddingVertical: 7, paddingHorizontal: 10 },\n md: { minHeight: 40, paddingVertical: 9, paddingHorizontal: 12 },\n lg: { minHeight: 48, paddingVertical: 11, paddingHorizontal: 14 },\n xl: { minHeight: 56, paddingVertical: 13, paddingHorizontal: 16 },\n};\n\n/** Field metrics as `ViewProps`, ready to spread onto the field shell. */\nexport const fieldSizeProps = (size: Size) => {\n const { minHeight, paddingVertical, paddingHorizontal } = FieldSizes[size];\n return {\n minHeight: `${minHeight}px`,\n paddingTop: `${paddingVertical}px`,\n paddingBottom: `${paddingVertical}px`,\n paddingLeft: `${paddingHorizontal}px`,\n paddingRight: `${paddingHorizontal}px`,\n };\n};\n",
163
+ "type": "registry:ui"
164
+ },
165
+ {
166
+ "path": "src/components/Input/FieldWrapper/FieldWrapper.props.ts",
167
+ "content": "import { ViewProps } from 'app-studio';\n\nexport interface WrapperFieldProps extends ViewProps {}\n",
168
+ "type": "registry:ui"
169
+ },
170
+ {
171
+ "path": "src/components/Input/FieldWrapper/FieldWrapper.tsx",
172
+ "content": "/**\n * FieldWrapper Component\n *\n * Renders a wrapper for form field content with appropriate styling\n * according to the design guidelines.\n */\n\nimport React from 'react';\n\nimport { Vertical } from 'app-studio';\n\nimport { WrapperFieldProps } from './FieldWrapper.props';\n\nexport const FieldWrapper: React.FC<WrapperFieldProps> = ({\n children,\n ...props\n}) => (\n <Vertical\n display=\"flex\"\n flexDirection=\"column\"\n gap={4}\n flex={1}\n width=\"100%\"\n maxWidth=\"100%\"\n boxSizing=\"border-box\"\n {...props}\n >\n {children}\n </Vertical>\n);\n",
173
+ "type": "registry:ui"
174
+ },
175
+ {
176
+ "path": "src/components/Input/HelperText/HelperText.props.ts",
177
+ "content": "import React from 'react';\nimport { TextFieldStyles } from '../Input.type';\nimport { ViewProps } from 'app-studio';\n\nexport interface HelperTextProps extends ViewProps {\n /**\n * The content to be rendered inside the HelperText.\n */\n children: React.ReactNode;\n /**\n * If true, changes the input style to indicate error.\n */\n error?: boolean;\n /**\n * CSS styles applied to the HelperText.\n */\n views?: TextFieldStyles;\n}\n",
178
+ "type": "registry:ui"
179
+ },
180
+ {
181
+ "path": "src/components/Input/HelperText/HelperText.tsx",
182
+ "content": "/**\n * HelperText Component\n *\n * Renders helper text for form fields with appropriate styling\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Text } from 'app-studio';\n\nimport { HelperTextProps } from './HelperText.props';\n\nexport const HelperText: React.FC<HelperTextProps> = ({\n children,\n views = { helperText: {} },\n ...props\n}) => (\n <Text\n fontSize=\"11px\"\n fontWeight=\"400\"\n letterSpacing=\"-0.01em\"\n lineHeight=\"16px\"\n marginVertical={0}\n marginHorizontal={0}\n color=\"color-gray-500\"\n transition=\"color 0.2s ease, opacity 0.2s ease\"\n {...(views['helperText'] as any)}\n {...props}\n >\n {children}\n </Text>\n);\n",
183
+ "type": "registry:ui"
184
+ },
185
+ {
186
+ "path": "src/components/Input/Input.style.ts",
187
+ "content": "/**\n * Input Styles\n *\n * Defines the styles for input components following the design guidelines:\n * - Typography: Inter/Geist font, specific sizes/weights\n * - Spacing: 4px grid system\n * - Colors: Neutral palette with semantic colors\n * - Rounded corners: Consistent border radius\n * - Transitions: Subtle animations\n */\n\nimport { ViewProps } from 'app-studio';\nimport { Shape, Size, Variant } from './Input.type';\n\n/**\n * Shape styles for input components with consistent border radius\n */\nexport const Shapes: Record<Shape, ViewProps> = {\n default: {\n borderRadius: '8px', // Consistent with design system (rounded-md)\n },\n square: {\n borderRadius: 0,\n },\n rounded: {\n borderRadius: '8px', // Consistent with design system (rounded-md)\n },\n pill: {\n borderRadius: '9999px', // Full rounded for pill shape\n },\n};\n\n/**\n * Label sizes following the 4px grid system\n */\nexport const LabelSizes: Record<Size, string> = {\n xs: '10px',\n sm: '11px',\n md: '11px',\n lg: '12px',\n xl: '12px',\n};\n\n/**\n * Input variants with consistent styling\n * Design tokens:\n * - Transitions: 200ms ease-out for smooth, natural feel\n * - Focus ring: 3px offset with 15% opacity primary color\n * - Hover: Subtle background tint for better affordance\n */\nexport const InputVariants: Record<Variant, ViewProps> = {\n outline: {\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'color-gray-200',\n backgroundColor: 'transparent',\n color: 'inherit',\n transition:\n 'border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease',\n _hover: {\n borderColor: 'color-gray-300',\n },\n _focus: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n _focusVisible: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n },\n default: {\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'color-gray-200',\n borderRadius: '8px',\n backgroundColor: 'transparent',\n color: 'inherit',\n transition:\n 'border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease',\n _hover: {\n borderColor: 'color-gray-300',\n },\n _focus: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n _focusVisible: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n },\n none: {\n border: 'none',\n style: { backgroundColor: 'transparent' },\n color: 'inherit',\n transition: 'background-color 0.2s ease',\n },\n};\n\n/*\n * `PadddingWithLabel` and `PaddingWithoutLabel` used to live here. They were\n * removed rather than renamed (the first was misspelled with three d's) because\n * they had stopped meaning anything:\n *\n * - the two were byte-identical, so the `showLabel ? a : b` choice between\n * them had no effect;\n * - both were size-independent 10px/12px, which is why every field rendered\n * at roughly `md` height whatever size was requested;\n * - their `media.mobile` block repeated the same values, and being a nested\n * media rule it would have won over the size scale at mobile widths —\n * quietly pinning `xs` and `xl` fields back to `md` padding on phones.\n *\n * Field padding now comes from `Input/fieldSizes` via FieldContent.\n */\n",
188
+ "type": "registry:ui"
189
+ },
190
+ {
191
+ "path": "src/components/Input/Input.type.ts",
192
+ "content": "import { ViewProps } from 'app-studio';\n\nexport type Variant = 'outline' | 'default' | 'none';\n\nexport type Shape = 'default' | 'square' | 'rounded' | 'pill';\n\nexport type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n\nexport type TextFieldStyles = {\n text?: ViewProps;\n label?: ViewProps;\n error?: ViewProps;\n helperText?: ViewProps;\n container?: ViewProps;\n};\n\nexport type Wrap = 'wrap' | 'nowrap' | 'wrap-reverse';\n\nexport type Justify =\n | 'flex-start'\n | 'center'\n | 'flex-end'\n | 'space-between'\n | 'space-around'\n | 'space-evenly';\n",
193
+ "type": "registry:ui"
194
+ },
195
+ {
196
+ "path": "src/components/pilot/text-field.ts",
197
+ "content": "export * from '../Form/TextField/TextField';\nexport type { TextFieldProps } from '../Form/TextField/TextField/TextField.props';\n",
198
+ "type": "registry:ui"
199
+ },
200
+ {
201
+ "path": "src/utils/elevation.ts",
202
+ "content": "export type Elevation = {\n elevation: number;\n};\n",
203
+ "type": "registry:ui"
204
+ }
205
+ ]
206
+ }