@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,51 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "settings-panel",
4
+ "type": "registry:block",
5
+ "title": "SettingsPanel",
6
+ "author": "App Studio",
7
+ "categories": [
8
+ "Forms"
9
+ ],
10
+ "registryDependencies": [
11
+ "card",
12
+ "select",
13
+ "switch"
14
+ ],
15
+ "meta": {
16
+ "appStudio": {
17
+ "entry": "src/components/pilot/settings-panel.ts",
18
+ "engine": ">=0.9.5",
19
+ "version": "0.11.13",
20
+ "license": "MIT",
21
+ "platforms": [
22
+ "web",
23
+ "ios",
24
+ "android"
25
+ ],
26
+ "dependencies": {
27
+ "web": [],
28
+ "ios": [],
29
+ "android": []
30
+ },
31
+ "npmImport": "@app-studio/components/settings-panel"
32
+ }
33
+ },
34
+ "files": [
35
+ {
36
+ "path": "LICENSE.txt",
37
+ "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.",
38
+ "type": "registry:block"
39
+ },
40
+ {
41
+ "path": "src/components/pilot/blocks/SettingsPanel.tsx",
42
+ "content": "import React from 'react';\nimport { Text, Vertical } from 'app-studio';\nimport { Card } from '../card';\nimport { Select } from '../select';\nimport { Switch } from '../switch';\n\nconst appearances = [\n { label: 'System', value: 'system' },\n { label: 'Light', value: 'light' },\n { label: 'Dark', value: 'dark' },\n];\n\nexport interface SettingsPanelProps {\n appearance: string;\n notifications: boolean;\n onAppearanceChange: (appearance: string) => void;\n onNotificationsChange: (enabled: boolean) => void;\n}\n\nexport function SettingsPanel({\n appearance,\n notifications,\n onAppearanceChange,\n onNotificationsChange,\n}: SettingsPanelProps) {\n return (\n <Card>\n <Card.Header>\n <Text fontWeight=\"bold\">Settings</Text>\n </Card.Header>\n <Card.Content>\n <Vertical gap={12}>\n <Select\n label=\"Appearance\"\n options={appearances}\n value={appearance}\n onChange={onAppearanceChange}\n />\n <Switch\n label=\"Notifications\"\n isChecked={notifications}\n onChange={onNotificationsChange}\n />\n </Vertical>\n </Card.Content>\n </Card>\n );\n}\n",
43
+ "type": "registry:block"
44
+ },
45
+ {
46
+ "path": "src/components/pilot/settings-panel.ts",
47
+ "content": "export * from '../pilot/blocks/SettingsPanel';\n",
48
+ "type": "registry:block"
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "sign-in",
4
+ "type": "registry:block",
5
+ "title": "SignIn",
6
+ "author": "App Studio",
7
+ "categories": [
8
+ "Forms"
9
+ ],
10
+ "registryDependencies": [
11
+ "alert",
12
+ "button",
13
+ "card",
14
+ "text-field"
15
+ ],
16
+ "meta": {
17
+ "appStudio": {
18
+ "entry": "src/components/pilot/sign-in.ts",
19
+ "engine": ">=0.9.5",
20
+ "version": "0.11.13",
21
+ "license": "MIT",
22
+ "platforms": [
23
+ "web",
24
+ "ios",
25
+ "android"
26
+ ],
27
+ "dependencies": {
28
+ "web": [],
29
+ "ios": [],
30
+ "android": []
31
+ },
32
+ "npmImport": "@app-studio/components/sign-in"
33
+ }
34
+ },
35
+ "files": [
36
+ {
37
+ "path": "LICENSE.txt",
38
+ "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.",
39
+ "type": "registry:block"
40
+ },
41
+ {
42
+ "path": "src/components/pilot/blocks/SignIn.tsx",
43
+ "content": "import React, { useState } from 'react';\nimport { Form, Text } from 'app-studio';\nimport { Alert } from '../alert';\nimport { Button } from '../button';\nimport { Card } from '../card';\nimport { TextField } from '../text-field';\n\nexport interface SignInProps {\n onSubmit: (credentials: {\n email: string;\n password: string;\n }) => void | Promise<void>;\n}\n\nexport function SignIn({ onSubmit }: SignInProps) {\n const [email, setEmail] = useState('');\n const [password, setPassword] = useState('');\n const [pending, setPending] = useState(false);\n const [error, setError] = useState('');\n\n async function submit() {\n if (pending) return;\n const address = email.trim();\n if (!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(address) || !password) {\n setError('Enter a valid email address and password.');\n return;\n }\n setPending(true);\n setError('');\n try {\n await onSubmit({ email: address, password });\n setPassword('');\n } catch {\n setError('Sign-in failed. Please try again.');\n } finally {\n setPending(false);\n }\n }\n\n return (\n <Card>\n <Card.Header>\n <Text fontWeight=\"bold\">Sign in</Text>\n </Card.Header>\n <Card.Content>\n <Form\n display=\"flex\"\n flexDirection=\"column\"\n gap={12}\n noValidate\n onSubmit={(event: React.FormEvent) => {\n event.preventDefault();\n void submit();\n }}\n >\n <TextField\n label=\"Email\"\n type=\"email\"\n value={email}\n onChange={setEmail}\n isRequired\n isDisabled={pending}\n />\n <TextField\n label=\"Password\"\n type=\"password\"\n value={password}\n onChange={setPassword}\n isRequired\n isDisabled={pending}\n />\n {error && <Alert variant=\"error\" title={error} />}\n <Button\n isLoading={pending}\n aria-busy={pending || undefined}\n type=\"submit\"\n onClick={(event?: { preventDefault?: () => void }) => {\n event?.preventDefault?.();\n void submit();\n }}\n >\n Sign in\n </Button>\n </Form>\n </Card.Content>\n </Card>\n );\n}\n",
44
+ "type": "registry:block"
45
+ },
46
+ {
47
+ "path": "src/components/pilot/sign-in.ts",
48
+ "content": "export * from '../pilot/blocks/SignIn';\n",
49
+ "type": "registry:block"
50
+ }
51
+ ]
52
+ }
@@ -0,0 +1,113 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "switch",
4
+ "type": "registry:ui",
5
+ "title": "Switch",
6
+ "author": "App Studio",
7
+ "categories": [
8
+ "Forms"
9
+ ],
10
+ "registryDependencies": [],
11
+ "meta": {
12
+ "appStudio": {
13
+ "entry": "src/components/pilot/switch.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/switch"
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/Form/Label/Label.tsx",
44
+ "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",
45
+ "type": "registry:ui"
46
+ },
47
+ {
48
+ "path": "src/components/Form/Label/Label/Label.props.ts",
49
+ "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",
50
+ "type": "registry:ui"
51
+ },
52
+ {
53
+ "path": "src/components/Form/Label/Label/Label.style.ts",
54
+ "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",
55
+ "type": "registry:ui"
56
+ },
57
+ {
58
+ "path": "src/components/Form/Label/Label/Label.type.ts",
59
+ "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",
60
+ "type": "registry:ui"
61
+ },
62
+ {
63
+ "path": "src/components/Form/Label/Label/Label.view.tsx",
64
+ "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",
65
+ "type": "registry:ui"
66
+ },
67
+ {
68
+ "path": "src/components/Form/Switch/Switch.tsx",
69
+ "content": "import React from 'react';\nimport { SwitchProps } from './Switch/Switch.props';\nimport { useSwitchState } from './Switch/Switch.state';\nimport SwitchView from './Switch/Switch.view';\nimport { useMergedDesignSystemComponentProps } from '@app-studio/components/theme';\n// Defines the SwitchComponent as a functional component that takes SwitchProps as props.\nconst SwitchComponent: React.FC<SwitchProps> = (props) => {\n const mergedProps = useMergedDesignSystemComponentProps('switch', props);\n // Invokes useSwitchState hook to obtain state for this component, passing props to it.\n const switchStates = useSwitchState(mergedProps);\n // Renders the SwitchView component, spreading the switchStates and props to pass all necessary data.\n return <SwitchView {...switchStates} {...mergedProps} />;\n};\n// Exports the SwitchComponent as 'Switch' for use in other parts of the application.\nexport const Switch = SwitchComponent;\n",
70
+ "type": "registry:ui"
71
+ },
72
+ {
73
+ "path": "src/components/Form/Switch/Switch/Switch.props.ts",
74
+ "content": "import { Elevation } from '../../../../utils/elevation';\nimport { InputProps, Shadow, ViewProps } from 'app-studio';\nimport { Size, SwitchStyles } from './Switch.type';\n// Defines the properties for the Switch component excluding 'size' from the InputProps to allow customization.\nexport interface SwitchProps\n extends Omit<InputProps, 'size' | 'onChange' | 'on' | 'shadow' | 'value'> {\n // The content to be displayed when the switch is in an active state.\n activeChild?: React.ReactNode;\n // Unique identifier for the switch component.\n id?: string;\n // Determines if the switch is disabled.\n isDisabled?: boolean;\n // Determines if the switch is read-only.\n isReadOnly?: boolean;\n // Determines if the switch is checked (on).\n isChecked?: boolean;\n // Callback function to handle the change event.\n onChange?: (checked: boolean) => void;\n // Name attribute for the switch component, useful for form submission.\n name?: string;\n // The content to be displayed when the switch is in an inactive state.\n inActiveChild?: React.ReactNode;\n // Custom styles to apply to the switch component.\n views?: SwitchStyles;\n // Defines the shadow appearance of the switch using predefined Shadow or Elevation, or a custom CSSProperties object.\n shadow?: Shadow | Elevation | ViewProps;\n // Specifies the size of the switch component.\n size?: Size;\n // The position of the label relative to the switch, either 'left' or 'right'.\n labelPosition?: 'left' | 'right';\n // Optional visible label/text rendered next to the switch.\n label?: React.ReactNode;\n // Optional secondary text rendered below the label to describe the switch.\n description?: React.ReactNode;\n}\n// Extends SwitchProps to include properties specific to the switch's view, like hover state.\nexport interface SwitchViewProps extends SwitchProps {\n // Denotes if the switch component is currently hovered by the cursor.\n isHovered: boolean;\n // Function to set the hover state of the switch component.\n setIsHovered: (hovered: boolean) => void;\n // Controls the value or state of the switch (on/off).\n value?: boolean;\n // Function to update the value of the switch.\n setValue?: (value: boolean) => void;\n // Current on/off state managed by the state hook.\n on?: boolean;\n // Setter for the on/off state managed by the state hook.\n setOn?: (on: boolean) => void;\n}\n",
75
+ "type": "registry:ui"
76
+ },
77
+ {
78
+ "path": "src/components/Form/Switch/Switch/Switch.state.ts",
79
+ "content": "import React, { useEffect } from 'react';\nimport { SwitchProps } from './Switch.props';\n\n// This file defines a custom hook for managing the state of a Switch component.\n// It allows tracking whether the switch is hovered, and its on/off state based on 'isDisabled' and 'isChecked' properties.\nexport const useSwitchState = ({ isDisabled, isChecked }: SwitchProps) => {\n const [isHovered, setIsHovered] = React.useState(false);\n const [on, setOn] = React.useState(isChecked || false);\n const [value, setValue] = React.useState(isChecked || false);\n\n // Update the value when isChecked changes\n useEffect(() => {\n if (isChecked !== undefined) {\n setOn(isChecked);\n setValue(isChecked);\n }\n }, [isChecked]);\n\n return {\n isHovered,\n setIsHovered,\n on,\n setOn,\n value,\n setValue,\n };\n};\n",
80
+ "type": "registry:ui"
81
+ },
82
+ {
83
+ "path": "src/components/Form/Switch/Switch/Switch.style.ts",
84
+ "content": "/**\n * Switch Styles\n *\n * Defines the styles for the Switch component 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 { Size } from './Switch.type';\n/**\n * Knob (circle) sizes for the Switch component\n * Following the 4px grid system - dimensions réduites\n */\nexport const KnobSizes: Record<Size, ViewProps> = {\n xs: { height: '10px', width: '10px' },\n sm: { height: '14px', width: '14px' },\n md: { height: '18px', width: '18px' },\n lg: { height: '22px', width: '22px' },\n xl: { height: '26px', width: '26px' },\n};\n\n/**\n * Slider (track) sizes for the Switch component\n * Following the 4px grid system - dimensions réduites\n */\nexport const SliderSizes: Record<Size, ViewProps> = {\n xs: {\n height: '20px',\n width: '40px',\n },\n sm: {\n height: '24px',\n width: '48px',\n },\n md: {\n height: '28px',\n width: '56px',\n },\n lg: {\n height: '32px',\n width: '64px',\n },\n xl: {\n height: '36px',\n width: '72px',\n },\n};\n\n/**\n * Slider (track) sizes when the Switch has activeChild/inActiveChild content.\n * Wider tracks ensure the text rendered alongside the knob is readable.\n */\nexport const ContentSliderSizes: Record<Size, ViewProps> = {\n xs: {\n height: '22px',\n width: '52px',\n },\n sm: {\n height: '26px',\n width: '62px',\n },\n md: {\n height: '30px',\n width: '72px',\n },\n lg: {\n height: '34px',\n width: '84px',\n },\n xl: {\n height: '38px',\n width: '96px',\n },\n};\n\n/**\n * Default font sizes for activeChild/inActiveChild text — matched to the\n * Switch size so the embedded label remains legible.\n */\nexport const ContentFontSizes: Record<Size, string> = {\n xs: '9px',\n sm: '10px',\n md: '11px',\n lg: '12px',\n xl: '13px',\n};\n\n/**\n * Padding for the Switch slider - ajusté pour les nouvelles dimensions\n * Following the 4px grid system\n */\nexport const SliderPadding: Record<Size, Record<string, number>> = {\n xs: { paddingVertical: 5, paddingHorizontal: 3 },\n sm: { paddingVertical: 5, paddingHorizontal: 3 },\n md: { paddingVertical: 5, paddingHorizontal: 5 },\n lg: { paddingVertical: 5, paddingHorizontal: 5 },\n xl: { paddingVertical: 5, paddingHorizontal: 5 },\n};\n\n/**\n * Color schemes for the Switch component\n */\nexport const ColorSchemes = {\n // Default colors\n default: {\n active: 'theme-primary',\n inactive: 'color-gray-300',\n knob: 'color-white',\n disabled: 'color-gray-200',\n },\n // State-specific colors\n states: {\n hover: {\n active: 'theme-primary',\n inactive: 'color-gray-400',\n activeOpacity: 0.9,\n },\n focus: {\n active: {\n outline: 'none',\n boxShadow: '0 0 0 2px white, 0 0 0 4px theme-primary',\n },\n inactive: {\n outline: 'none',\n boxShadow: '0 0 0 2px white, 0 0 0 4px color-gray-200',\n },\n },\n },\n};\n\n/**\n * Transition styles for the Switch component\n */\nexport const TransitionStyles = {\n slider: {\n transition: 'all 0.2s ease-in-out',\n },\n knob: {\n transition: 'all 0.2s ease-in-out',\n },\n};\n",
85
+ "type": "registry:ui"
86
+ },
87
+ {
88
+ "path": "src/components/Form/Switch/Switch/Switch.type.ts",
89
+ "content": "import { ViewProps } from 'app-studio';\n\n// Defines the Size type which can be one of several predefined string values representing size categories for the component\nexport type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n// Defines the SwitchStyles type for styling with optional ViewProps for slider, circle, and label elements\nexport type SwitchStyles = {\n // Optional CSS properties to style the slider part of the switch\n slider?: ViewProps;\n // Optional CSS properties to style the circle part that moves within the switch\n circle?: ViewProps;\n // Optional CSS properties to style the label associated with the switch\n label?: ViewProps;\n};\n",
90
+ "type": "registry:ui"
91
+ },
92
+ {
93
+ "path": "src/components/Form/Switch/Switch/Switch.view.native.tsx",
94
+ "content": "/**\n * Switch View Component (React Native)\n *\n * RN counterpart of Switch.view.tsx. Uses React Native's built-in <Switch/>\n * for the native toggle UX (drops the custom slider/knob/active-child concept,\n * which is a notable simplification — activeChild/inActiveChild are not\n * rendered because RN's Switch has no slot for in-track content).\n *\n * Drops web-only concepts: cursor, transitions, _hover, boxShadow ring, the\n * hidden checkbox input, the custom-painted slider/knob.\n */\n\nimport React from 'react';\nimport { Switch as RNSwitch } from 'react-native';\nimport { Horizontal, Text, useTheme, View } from 'app-studio';\nimport { SwitchViewProps } from './Switch.props';\nimport { ColorSchemes } from './Switch.style';\n\nconst SwitchView: React.FC<SwitchViewProps> = ({\n id,\n name,\n label,\n isChecked,\n labelPosition = 'right',\n size = 'sm',\n value = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n on,\n setOn = () => {},\n onChange,\n setValue = () => {},\n setIsHovered = () => {},\n helperText,\n inActiveChild: _inActiveChild,\n activeChild: _activeChild,\n shadow: _shadow,\n views = { slider: {}, circle: {}, label: {} },\n ...props\n}) => {\n const checked = typeof isChecked === 'boolean' ? isChecked : Boolean(value);\n const { getColor } = useTheme();\n\n const handleToggle = (newValue: boolean) => {\n if (!isReadOnly && !isDisabled) {\n setValue(newValue);\n setOn(newValue);\n if (onChange) onChange(newValue);\n }\n };\n\n const containerStyle = {\n gap: 12,\n opacity: isDisabled ? 0.6 : 1,\n ...views.label,\n };\n\n return (\n <View {...containerStyle} {...props}>\n <Horizontal gap={12} alignItems=\"center\">\n {labelPosition === 'left' && label && (\n <Text\n fontWeight=\"500\"\n color={isDisabled ? 'color-gray-400' : 'inherit'}\n >\n {label}\n </Text>\n )}\n <RNSwitch\n value={checked}\n disabled={isDisabled || isReadOnly}\n onValueChange={handleToggle}\n trackColor={{\n false: getColor(ColorSchemes.default.inactive),\n true: getColor(ColorSchemes.default.active),\n }}\n thumbColor={getColor(ColorSchemes.default.knob)}\n ios_backgroundColor={getColor(ColorSchemes.default.inactive)}\n />\n {labelPosition === 'right' && label && (\n <Text\n fontWeight=\"500\"\n color={isDisabled ? 'color-gray-400' : 'inherit'}\n >\n {label}\n </Text>\n )}\n </Horizontal>\n </View>\n );\n};\n\nexport default SwitchView;\n",
95
+ "type": "registry:ui"
96
+ },
97
+ {
98
+ "path": "src/components/Form/Switch/Switch/Switch.view.tsx",
99
+ "content": "/**\n * Switch View Component\n *\n * Renders a switch toggle with various styles and states\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Input } from 'app-studio';\nimport { Label } from '../../../Form/Label/Label';\nimport { View } from 'app-studio';\nimport { Text } from 'app-studio';\nimport { Vertical } from 'app-studio';\nimport { SwitchViewProps } from './Switch.props';\nimport {\n KnobSizes,\n SliderPadding,\n SliderSizes,\n ContentSliderSizes,\n ContentFontSizes,\n ColorSchemes,\n TransitionStyles,\n} from './Switch.style';\nconst SwitchContent = (props: any) => <Input type=\"checkbox\" {...props} />;\nconst SwitchView: React.FC<SwitchViewProps> = ({\n id,\n name,\n label,\n inActiveChild,\n isChecked,\n activeChild,\n labelPosition = 'right',\n shadow = {},\n size = 'sm',\n value = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n on,\n setOn = () => {},\n onChange,\n setValue = () => {},\n setIsHovered = () => {},\n helperText,\n description,\n views = { slider: {}, circle: {}, label: {} },\n ...props\n}) => {\n const generatedId = React.useId();\n const switchId = id ?? generatedId;\n const [isFocused, setIsFocused] = React.useState(false);\n const checked = typeof isChecked === 'boolean' ? isChecked : value;\n const hasContent = Boolean(activeChild || inActiveChild);\n const sliderDimensions = hasContent\n ? ContentSliderSizes[size]\n : SliderSizes[size];\n const knobOffset = `${SliderPadding[size].paddingHorizontal}px`;\n const contentSpace = `${SliderPadding[size].paddingHorizontal + 2}px`;\n const contentInset = `calc(${KnobSizes[size].width} + ${SliderPadding[size].paddingHorizontal}px + 4px)`;\n const contentFontSize = ContentFontSizes[size];\n\n const handleToggle = (event: React.ChangeEvent<HTMLInputElement>) => {\n if (!isReadOnly && !isDisabled) {\n const newValue = event.target.checked;\n setValue(newValue);\n setOn(newValue);\n if (onChange) onChange(newValue);\n }\n };\n const handleMouseEnter = () => setIsHovered(true);\n const handleMouseLeave = () => setIsHovered(false);\n const handleFocus = (event: React.FocusEvent<HTMLInputElement>) => {\n let visible = true;\n try {\n visible = event.target.matches(':focus-visible');\n } catch {\n // engines without :focus-visible support: always show the ring\n }\n setIsFocused(visible);\n };\n const handleBlur = () => setIsFocused(false);\n const descriptionId = `${switchId}-description`;\n /**\n * Styles for the switch component\n */\n const switchStyle = {\n container: {\n // Layout properties\n gap: 12, // 3 × 4px grid\n display: 'flex',\n height: 'fit-content',\n width: 'fit-content',\n alignItems: 'center',\n\n // Typography properties\n\n // State properties\n cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer',\n opacity: isDisabled ? 0.6 : 1,\n\n // Animation\n transition: 'all 0.2s ease-in-out',\n\n // Apply custom styles\n ...views.label,\n },\n };\n // Rest props are routed to the input only: spreading them here as well\n // landed consumer `aria-*`/`id` attributes on two elements at once.\n const control = (\n <Label\n htmlFor={switchId}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n {...switchStyle.container}\n >\n {/* Label on the left side */}\n {labelPosition === 'left' && label && (\n <Text\n fontWeight=\"500\" // Medium weight for better readability\n color={isDisabled ? 'color-gray-400' : 'inherit'}\n transition=\"color 0.2s ease, opacity 0.2s ease\"\n >\n {label}\n </Text>\n )}\n\n {/* Switch slider */}\n <View\n // Layout properties\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n position=\"relative\"\n marginBottom={4} // 1 × 4px grid\n // Visual properties\n borderRadius=\"9999px\" // Full rounded for pill shape\n backgroundColor={\n isDisabled\n ? ColorSchemes.default.disabled\n : checked\n ? isHovered\n ? ColorSchemes.states.hover.active\n : ColorSchemes.default.active\n : isHovered\n ? ColorSchemes.states.hover.inactive\n : ColorSchemes.default.inactive\n }\n opacity={\n !isDisabled && checked && isHovered\n ? ColorSchemes.states.hover.activeOpacity\n : 1\n }\n // State properties\n cursor=\"pointer\"\n // Animation\n {...TransitionStyles.slider}\n // Apply styles\n {...shadow}\n {...SliderPadding[size]}\n {...sliderDimensions}\n {...views['slider']}\n {...(isFocused\n ? checked\n ? ColorSchemes.states.focus.active\n : ColorSchemes.states.focus.inactive\n : {})}\n >\n {/* Real control: a transparent input covering the whole track, so the\n element found by role/name is the one that receives clicks */}\n <SwitchContent\n id={switchId}\n name={name}\n role=\"switch\"\n aria-checked={checked}\n position=\"absolute\"\n top={0}\n left={0}\n width=\"100%\"\n height=\"100%\"\n margin={0}\n opacity={0}\n zIndex={2}\n cursor={\n isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer'\n }\n checked={checked}\n onChange={handleToggle}\n onFocus={handleFocus}\n onBlur={handleBlur}\n disabled={isDisabled}\n readOnly={isReadOnly}\n aria-describedby={description ? descriptionId : undefined}\n {...props}\n />\n {/* Active content */}\n {activeChild && checked && (\n <View\n marginLeft={contentSpace}\n marginRight={contentInset}\n transition=\"all 0.2s ease-in-out\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n height=\"100%\"\n width=\"100%\"\n overflow=\"hidden\"\n fontSize={contentFontSize}\n color=\"color-white\"\n fontWeight={600}\n >\n {activeChild}\n </View>\n )}\n\n {/* Knob */}\n <View\n position=\"absolute\"\n top=\"50%\"\n left={checked ? undefined : knobOffset}\n right={checked ? knobOffset : undefined}\n borderRadius=\"50%\"\n backgroundColor={ColorSchemes.default.knob}\n boxShadow={\n isHovered\n ? '0 4px 10px rgba(15, 23, 42, 0.18)'\n : '0 1px 3px rgba(15, 23, 42, 0.18)'\n }\n transform={`translateY(-50%) ${\n isHovered ? 'scale(1.05)' : 'scale(1)'\n }`}\n {...TransitionStyles.knob}\n zIndex={1} // Ensure knob is above content\n {...KnobSizes[size]}\n {...views['circle']}\n />\n\n {/* Inactive content */}\n {inActiveChild && !checked && (\n <View\n marginLeft={contentInset}\n marginRight={contentSpace}\n transition=\"all 0.2s ease-in-out\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n height=\"100%\"\n width=\"100%\"\n overflow=\"hidden\"\n fontSize={contentFontSize}\n color=\"color-white\"\n fontWeight={600}\n >\n {inActiveChild}\n </View>\n )}\n </View>\n\n {/* Label on the right side */}\n {labelPosition === 'right' && label && (\n <Text\n fontWeight=\"500\" // Medium weight for better readability\n color={isDisabled ? 'color-gray-400' : 'inherit'}\n transition=\"all 0.2s ease-in-out\"\n >\n {label}\n </Text>\n )}\n </Label>\n );\n\n if (!description) return control;\n\n // The description sits outside the <label> so it describes the input via\n // `aria-describedby` instead of polluting its accessible name.\n return (\n <Vertical gap={4} width=\"fit-content\">\n {control}\n <Text\n id={descriptionId}\n color=\"color-gray-500\"\n fontSize=\"14px\"\n lineHeight=\"20px\"\n >\n {description}\n </Text>\n </Vertical>\n );\n};\nexport default SwitchView;\n",
100
+ "type": "registry:ui"
101
+ },
102
+ {
103
+ "path": "src/components/pilot/switch.ts",
104
+ "content": "export * from '../Form/Switch/Switch';\nexport type { SwitchProps } from '../Form/Switch/Switch/Switch.props';\n",
105
+ "type": "registry:ui"
106
+ },
107
+ {
108
+ "path": "src/utils/elevation.ts",
109
+ "content": "export type Elevation = {\n elevation: number;\n};\n",
110
+ "type": "registry:ui"
111
+ }
112
+ ]
113
+ }