@app-studio/components 0.12.0 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/README.md +1 -1
  2. package/dist/alert.cjs.js +1 -1
  3. package/dist/alert.esm.mjs +1 -1
  4. package/dist/avatar.cjs.js +1 -1
  5. package/dist/avatar.esm.mjs +1 -1
  6. package/dist/button.cjs.js +1 -1
  7. package/dist/button.esm.mjs +1 -1
  8. package/dist/card.cjs.js +1 -1
  9. package/dist/card.esm.mjs +1 -1
  10. package/dist/checkbox.cjs.js +1 -1
  11. package/dist/checkbox.esm.mjs +1 -1
  12. package/dist/chunks/{Alert-Q1HlVX8f.mjs → Alert-B5vkpWXy.mjs} +55 -42
  13. package/dist/chunks/Alert-B5vkpWXy.mjs.map +1 -0
  14. package/dist/chunks/Alert-BHlgJZAo.cjs +2 -0
  15. package/dist/chunks/Alert-BHlgJZAo.cjs.map +1 -0
  16. package/dist/chunks/{AttachmentPreview-8d8gZ5kk.mjs → AttachmentPreview-B2-kP0Bn.mjs} +1745 -2997
  17. package/dist/chunks/AttachmentPreview-B2-kP0Bn.mjs.map +1 -0
  18. package/dist/chunks/AttachmentPreview-BZV6xSa4.cjs +2 -0
  19. package/dist/chunks/AttachmentPreview-BZV6xSa4.cjs.map +1 -0
  20. package/dist/chunks/{Avatar-D-GkyL2c.mjs → Avatar-CC1SDq6h.mjs} +34 -32
  21. package/dist/chunks/Avatar-CC1SDq6h.mjs.map +1 -0
  22. package/dist/chunks/Avatar-DtfD7QQ6.cjs +2 -0
  23. package/dist/chunks/Avatar-DtfD7QQ6.cjs.map +1 -0
  24. package/dist/chunks/Button.core-BB25t8wB.cjs +7 -0
  25. package/dist/chunks/Button.core-BB25t8wB.cjs.map +1 -0
  26. package/dist/chunks/{Button.core-Bc5cSn_z.mjs → Button.core-oxCH_VTn.mjs} +236 -222
  27. package/dist/chunks/Button.core-oxCH_VTn.mjs.map +1 -0
  28. package/dist/chunks/Button.pilot-BJK10U1-.mjs +6 -0
  29. package/dist/chunks/{Button.pilot-C4BIb08S.mjs.map → Button.pilot-BJK10U1-.mjs.map} +1 -1
  30. package/dist/chunks/Button.pilot-eWGY9Jm5.cjs +2 -0
  31. package/dist/chunks/{Button.pilot-JmR2DCSE.cjs.map → Button.pilot-eWGY9Jm5.cjs.map} +1 -1
  32. package/dist/chunks/Card-CK_D7gzP.cjs +2 -0
  33. package/dist/chunks/Card-CK_D7gzP.cjs.map +1 -0
  34. package/dist/chunks/Card-ymI5Thma.mjs +208 -0
  35. package/dist/chunks/Card-ymI5Thma.mjs.map +1 -0
  36. package/dist/chunks/Checkbox-BXbEChdd.cjs +2 -0
  37. package/dist/chunks/Checkbox-BXbEChdd.cjs.map +1 -0
  38. package/dist/chunks/Checkbox-DnwrApdj.mjs +21 -0
  39. package/dist/chunks/Checkbox-DnwrApdj.mjs.map +1 -0
  40. package/dist/chunks/Checkbox.view-B7K8ycvs.cjs +2 -0
  41. package/dist/chunks/Checkbox.view-B7K8ycvs.cjs.map +1 -0
  42. package/dist/chunks/{Checkbox.view-dhc-rfEX.mjs → Checkbox.view-CCGfVtqr.mjs} +140 -119
  43. package/dist/chunks/Checkbox.view-CCGfVtqr.mjs.map +1 -0
  44. package/dist/chunks/{Formik.Uploader-DRIyxMI0.mjs → Formik.Uploader-CIYySBWB.mjs} +18 -18
  45. package/dist/chunks/{Formik.Uploader-DRIyxMI0.mjs.map → Formik.Uploader-CIYySBWB.mjs.map} +1 -1
  46. package/dist/chunks/{Formik.Uploader-D0nzjyau.cjs → Formik.Uploader-DePTdd7A.cjs} +4 -4
  47. package/dist/chunks/{Formik.Uploader-D0nzjyau.cjs.map → Formik.Uploader-DePTdd7A.cjs.map} +1 -1
  48. package/dist/chunks/{Icon-DrAZswNH.mjs → Icon-Cy5kEVYz.mjs} +60 -60
  49. package/dist/chunks/{Icon-DrAZswNH.mjs.map → Icon-Cy5kEVYz.mjs.map} +1 -1
  50. package/dist/chunks/Modal-BzlrQQu5.cjs +2 -0
  51. package/dist/chunks/Modal-BzlrQQu5.cjs.map +1 -0
  52. package/dist/chunks/{Modal-DkckCT8-.mjs → Modal-CqbUQXoc.mjs} +92 -75
  53. package/dist/chunks/Modal-CqbUQXoc.mjs.map +1 -0
  54. package/dist/chunks/Select-CrOxhfvQ.mjs +28 -0
  55. package/dist/chunks/Select-CrOxhfvQ.mjs.map +1 -0
  56. package/dist/chunks/Select-DRMUC3NX.cjs +2 -0
  57. package/dist/chunks/Select-DRMUC3NX.cjs.map +1 -0
  58. package/dist/chunks/{Select.view-CPMqT8pn.mjs → Select.view-BHMiRNIc.mjs} +126 -124
  59. package/dist/chunks/Select.view-BHMiRNIc.mjs.map +1 -0
  60. package/dist/chunks/Select.view-BV01zWHM.cjs +2 -0
  61. package/dist/chunks/Select.view-BV01zWHM.cjs.map +1 -0
  62. package/dist/chunks/{Switch-DWx1g3jT.mjs → Switch-04GGHGrV.mjs} +2 -2
  63. package/dist/chunks/{Switch-DWx1g3jT.mjs.map → Switch-04GGHGrV.mjs.map} +1 -1
  64. package/dist/chunks/{Switch-D80yPNFV.cjs → Switch-DqgmPp8M.cjs} +2 -2
  65. package/dist/chunks/{Switch-D80yPNFV.cjs.map → Switch-DqgmPp8M.cjs.map} +1 -1
  66. package/dist/chunks/Switch.view-6ncV6Ifz.cjs +2 -0
  67. package/dist/chunks/Switch.view-6ncV6Ifz.cjs.map +1 -0
  68. package/dist/chunks/{Switch.view-QLZ7O5Z7.mjs → Switch.view-DUvFLhyy.mjs} +34 -39
  69. package/dist/chunks/Switch.view-DUvFLhyy.mjs.map +1 -0
  70. package/dist/chunks/Tabs-BdoE88Ee.mjs +567 -0
  71. package/dist/chunks/Tabs-BdoE88Ee.mjs.map +1 -0
  72. package/dist/chunks/Tabs-DneEt-le.cjs +2 -0
  73. package/dist/chunks/Tabs-DneEt-le.cjs.map +1 -0
  74. package/dist/chunks/{TextField-DOU2CL5J.mjs → TextField-Bwc_F2Rq.mjs} +97 -86
  75. package/dist/chunks/TextField-Bwc_F2Rq.mjs.map +1 -0
  76. package/dist/chunks/TextField-CwaxvcqN.cjs +2 -0
  77. package/dist/chunks/TextField-CwaxvcqN.cjs.map +1 -0
  78. package/dist/chunks/{default-nRKhMTzF.mjs → default-1F10zins.mjs} +2 -2
  79. package/dist/chunks/{default-nRKhMTzF.mjs.map → default-1F10zins.mjs.map} +1 -1
  80. package/dist/chunks/default-W-NMTEJ3.cjs +2 -0
  81. package/dist/chunks/default-W-NMTEJ3.cjs.map +1 -0
  82. package/dist/chunks/designSystem.page-BgmjSYsz.cjs +11 -0
  83. package/dist/chunks/designSystem.page-BgmjSYsz.cjs.map +1 -0
  84. package/dist/chunks/{designSystem.page-K0ajTvy7.mjs → designSystem.page-CM_h09Ui.mjs} +18 -16
  85. package/dist/chunks/designSystem.page-CM_h09Ui.mjs.map +1 -0
  86. package/dist/chunks/{FieldWrapper-Bb0j8Iog.mjs → useFieldDesignSystemProps-BZj7d9gK.mjs} +118 -87
  87. package/dist/chunks/useFieldDesignSystemProps-BZj7d9gK.mjs.map +1 -0
  88. package/dist/chunks/useFieldDesignSystemProps-CgVU3R10.cjs +2 -0
  89. package/dist/chunks/useFieldDesignSystemProps-CgVU3R10.cjs.map +1 -0
  90. package/dist/design-system-preview.cjs.js +1 -1
  91. package/dist/design-system-preview.esm.mjs +14 -14
  92. package/dist/formik.cjs.js +1 -1
  93. package/dist/formik.esm.mjs +2 -2
  94. package/dist/link.esm.mjs +1 -1
  95. package/dist/modal.cjs.js +1 -1
  96. package/dist/modal.esm.mjs +1 -1
  97. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.js +13 -5
  98. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.js.map +1 -1
  99. package/dist/native/components/Alert/Alert/Alert.view.d.ts +3 -1
  100. package/dist/native/components/Alert/Alert/Alert.view.js +16 -6
  101. package/dist/native/components/Alert/Alert/Alert.view.js.map +1 -1
  102. package/dist/native/components/Alert/Alert/Alert.view.native.d.ts +3 -1
  103. package/dist/native/components/Alert/Alert/Alert.view.native.js +15 -4
  104. package/dist/native/components/Alert/Alert/Alert.view.native.js.map +1 -1
  105. package/dist/native/components/Alert/Alert.js +3 -3
  106. package/dist/native/components/Alert/Alert.js.map +1 -1
  107. package/dist/native/components/Avatar/Avatar/Avatar.props.d.ts +1 -1
  108. package/dist/native/components/Avatar/Avatar/Avatar.state.d.ts +2 -2
  109. package/dist/native/components/Avatar/Avatar/Avatar.state.js +6 -5
  110. package/dist/native/components/Avatar/Avatar/Avatar.state.js.map +1 -1
  111. package/dist/native/components/Avatar/Avatar/Avatar.view.d.ts +1 -1
  112. package/dist/native/components/Avatar/Avatar/Avatar.view.js +2 -2
  113. package/dist/native/components/Avatar/Avatar/Avatar.view.js.map +1 -1
  114. package/dist/native/components/Avatar/Avatar.js +2 -2
  115. package/dist/native/components/Avatar/Avatar.js.map +1 -1
  116. package/dist/native/components/Button/Button/Button.style.js +11 -6
  117. package/dist/native/components/Button/Button/Button.style.js.map +1 -1
  118. package/dist/native/components/Button/Button/Button.view.d.ts +2 -0
  119. package/dist/native/components/Button/Button/Button.view.js +9 -3
  120. package/dist/native/components/Button/Button/Button.view.js.map +1 -1
  121. package/dist/native/components/Button/Button/Button.view.native.d.ts +1 -0
  122. package/dist/native/components/Button/Button/Button.view.native.js +19 -4
  123. package/dist/native/components/Button/Button/Button.view.native.js.map +1 -1
  124. package/dist/native/components/Button/Button.core.js +3 -3
  125. package/dist/native/components/Button/Button.core.js.map +1 -1
  126. package/dist/native/components/Card/Card/Card.view.d.ts +3 -1
  127. package/dist/native/components/Card/Card/Card.view.js +32 -24
  128. package/dist/native/components/Card/Card/Card.view.js.map +1 -1
  129. package/dist/native/components/Card/Card.js +3 -3
  130. package/dist/native/components/Card/Card.js.map +1 -1
  131. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +1 -0
  132. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +5 -1
  133. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.js +13 -0
  134. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.js.map +1 -1
  135. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +3 -12
  136. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.js +3 -12
  137. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.js.map +1 -1
  138. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js +19 -16
  139. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js.map +1 -1
  140. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js +36 -30
  141. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js.map +1 -1
  142. package/dist/native/components/Form/Checkbox/Checkbox.js +3 -3
  143. package/dist/native/components/Form/Checkbox/Checkbox.js.map +1 -1
  144. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.js +8 -2
  145. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.js.map +1 -1
  146. package/dist/native/components/Form/Select/Select/Select.props.d.ts +1 -0
  147. package/dist/native/components/Form/Select/Select/Select.view.js +2 -2
  148. package/dist/native/components/Form/Select/Select/Select.view.js.map +1 -1
  149. package/dist/native/components/Form/Select/Select/Select.view.native.js +17 -4
  150. package/dist/native/components/Form/Select/Select/Select.view.native.js.map +1 -1
  151. package/dist/native/components/Form/Select/Select.js +3 -3
  152. package/dist/native/components/Form/Select/Select.js.map +1 -1
  153. package/dist/native/components/Form/Switch/Switch/Switch.style.d.ts +3 -8
  154. package/dist/native/components/Form/Switch/Switch/Switch.style.js +3 -8
  155. package/dist/native/components/Form/Switch/Switch/Switch.style.js.map +1 -1
  156. package/dist/native/components/Form/Switch/Switch/Switch.view.js +1 -5
  157. package/dist/native/components/Form/Switch/Switch/Switch.view.js.map +1 -1
  158. package/dist/native/components/Form/Switch/Switch/Switch.view.native.js +7 -4
  159. package/dist/native/components/Form/Switch/Switch/Switch.view.native.js.map +1 -1
  160. package/dist/native/components/Form/TextField/TextField/TextField.props.d.ts +1 -0
  161. package/dist/native/components/Form/TextField/TextField/TextField.view.js +2 -2
  162. package/dist/native/components/Form/TextField/TextField/TextField.view.js.map +1 -1
  163. package/dist/native/components/Form/TextField/TextField/TextField.view.native.js +9 -4
  164. package/dist/native/components/Form/TextField/TextField/TextField.view.native.js.map +1 -1
  165. package/dist/native/components/Form/TextField/TextField.js +3 -3
  166. package/dist/native/components/Form/TextField/TextField.js.map +1 -1
  167. package/dist/native/components/Input/FieldContent/FieldContent/FieldContent.props.d.ts +1 -0
  168. package/dist/native/components/Input/FieldContent/FieldContent.js +16 -3
  169. package/dist/native/components/Input/FieldContent/FieldContent.js.map +1 -1
  170. package/dist/native/components/Input/useFieldDesignSystemProps.d.ts +9 -0
  171. package/dist/native/components/Input/useFieldDesignSystemProps.js +15 -0
  172. package/dist/native/components/Input/useFieldDesignSystemProps.js.map +1 -0
  173. package/dist/native/components/Modal/Modal/Modal.props.d.ts +2 -0
  174. package/dist/native/components/Modal/Modal/Modal.view.js +6 -4
  175. package/dist/native/components/Modal/Modal/Modal.view.js.map +1 -1
  176. package/dist/native/components/Modal/Modal/Modal.view.native.js +5 -4
  177. package/dist/native/components/Modal/Modal/Modal.view.native.js.map +1 -1
  178. package/dist/native/components/Tabs/Tabs/TabHeader.d.ts +2 -0
  179. package/dist/native/components/Tabs/Tabs/TabHeader.js +7 -6
  180. package/dist/native/components/Tabs/Tabs/TabHeader.js.map +1 -1
  181. package/dist/native/components/Tabs/Tabs/Tabs.props.d.ts +10 -0
  182. package/dist/native/components/Tabs/Tabs/Tabs.state.d.ts +1 -0
  183. package/dist/native/components/Tabs/Tabs/Tabs.state.js +20 -43
  184. package/dist/native/components/Tabs/Tabs/Tabs.state.js.map +1 -1
  185. package/dist/native/components/Tabs/Tabs/Tabs.styles.d.ts +11 -0
  186. package/dist/native/components/Tabs/Tabs/Tabs.styles.js +7 -0
  187. package/dist/native/components/Tabs/Tabs/Tabs.styles.js.map +1 -0
  188. package/dist/native/components/Tabs/Tabs/Tabs.type.d.ts +4 -0
  189. package/dist/native/components/Tabs/Tabs/Tabs.view.js +146 -58
  190. package/dist/native/components/Tabs/Tabs/Tabs.view.js.map +1 -1
  191. package/dist/native/components/Tabs/Tabs/Tabs.view.native.js +83 -19
  192. package/dist/native/components/Tabs/Tabs/Tabs.view.native.js.map +1 -1
  193. package/dist/native/components/Tabs/Tabs.js +8 -8
  194. package/dist/native/components/Tabs/Tabs.js.map +1 -1
  195. package/dist/native/components/index.js +1 -1
  196. package/dist/native/components/index.js.map +1 -1
  197. package/dist/native/components/pilot/blocks/SettingsPanel.js +3 -1
  198. package/dist/native/components/pilot/blocks/SettingsPanel.js.map +1 -1
  199. package/dist/native/components/pilot/blocks/SignIn.js +3 -1
  200. package/dist/native/components/pilot/blocks/SignIn.js.map +1 -1
  201. package/dist/native/design-system/DesignSystemProvider.d.ts +1 -1
  202. package/dist/native/design-system/DesignSystemProvider.js +2 -2
  203. package/dist/native/design-system/DesignSystemProvider.js.map +1 -1
  204. package/dist/native/design-system/configs/default.json +1 -1
  205. package/dist/native/design-system/theme.d.ts +10 -1
  206. package/dist/native/design-system/theme.js +41 -12
  207. package/dist/native/design-system/theme.js.map +1 -1
  208. package/dist/native/design-system/types.d.ts +3 -9
  209. package/dist/native/design-system/utils.d.ts +5 -2
  210. package/dist/native/design-system/utils.js +42 -10
  211. package/dist/native/design-system/utils.js.map +1 -1
  212. package/dist/presets.cjs.js +1 -1
  213. package/dist/presets.esm.mjs +1 -1
  214. package/dist/registry/alert.json +13 -12
  215. package/dist/registry/avatar.json +15 -15
  216. package/dist/registry/button.json +14 -12
  217. package/dist/registry/card.json +13 -13
  218. package/dist/registry/checkbox.json +14 -11
  219. package/dist/registry/modal.json +8 -4
  220. package/dist/registry/registry.json +178 -78
  221. package/dist/registry/select.json +20 -12
  222. package/dist/registry/settings-panel.json +6 -2
  223. package/dist/registry/sign-in.json +6 -2
  224. package/dist/registry/switch.json +15 -15
  225. package/dist/registry/tabs.json +23 -18
  226. package/dist/registry/text-field.json +19 -11
  227. package/dist/registry/theme.json +71 -0
  228. package/dist/select.cjs.js +1 -1
  229. package/dist/select.esm.mjs +1 -1
  230. package/dist/settings-panel.cjs.js +1 -1
  231. package/dist/settings-panel.cjs.js.map +1 -1
  232. package/dist/settings-panel.esm.mjs +9 -9
  233. package/dist/settings-panel.esm.mjs.map +1 -1
  234. package/dist/sign-in.cjs.js +1 -1
  235. package/dist/sign-in.cjs.js.map +1 -1
  236. package/dist/sign-in.esm.mjs +15 -15
  237. package/dist/sign-in.esm.mjs.map +1 -1
  238. package/dist/switch.cjs.js +1 -1
  239. package/dist/switch.esm.mjs +1 -1
  240. package/dist/tabs.cjs.js +1 -1
  241. package/dist/tabs.esm.mjs +1 -1
  242. package/dist/text-field.cjs.js +1 -1
  243. package/dist/text-field.esm.mjs +1 -1
  244. package/dist/theme.cjs.js +1 -1
  245. package/dist/theme.cjs.js.map +1 -1
  246. package/dist/theme.esm.mjs +125 -72
  247. package/dist/theme.esm.mjs.map +1 -1
  248. package/dist/types/components/Alert/Alert/Alert.view.d.ts +3 -1
  249. package/dist/types/components/Avatar/Avatar/Avatar.props.d.ts +1 -1
  250. package/dist/types/components/Avatar/Avatar/Avatar.state.d.ts +2 -2
  251. package/dist/types/components/Avatar/Avatar/Avatar.view.d.ts +1 -1
  252. package/dist/types/components/Button/Button/Button.view.d.ts +2 -0
  253. package/dist/types/components/Card/Card/Card.view.d.ts +3 -1
  254. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +1 -0
  255. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +5 -1
  256. package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +3 -12
  257. package/dist/types/components/Form/Select/Select/Select.props.d.ts +1 -0
  258. package/dist/types/components/Form/Switch/Switch/Switch.style.d.ts +3 -8
  259. package/dist/types/components/Form/TextField/TextField/TextField.props.d.ts +1 -0
  260. package/dist/types/components/IconPicker/IconPicker/IconPicker.state.d.ts +2 -2
  261. package/dist/types/components/Input/FieldContent/FieldContent/FieldContent.props.d.ts +1 -0
  262. package/dist/types/components/Input/useFieldDesignSystemProps.d.ts +9 -0
  263. package/dist/types/components/Modal/Modal/Modal.props.d.ts +2 -0
  264. package/dist/types/components/Tabs/Tabs/TabHeader.d.ts +2 -0
  265. package/dist/types/components/Tabs/Tabs/Tabs.props.d.ts +10 -0
  266. package/dist/types/components/Tabs/Tabs/Tabs.state.d.ts +1 -0
  267. package/dist/types/components/Tabs/Tabs/Tabs.styles.d.ts +11 -0
  268. package/dist/types/components/Tabs/Tabs/Tabs.type.d.ts +4 -0
  269. package/dist/types/design-system/DesignSystemProvider.d.ts +1 -1
  270. package/dist/types/design-system/configs/default.json.d.ts +1 -1
  271. package/dist/types/design-system/theme.d.ts +10 -1
  272. package/dist/types/design-system/types.d.ts +3 -9
  273. package/dist/types/design-system/utils.d.ts +5 -2
  274. package/dist/web.cjs.js +16 -16
  275. package/dist/web.esm.mjs +44 -41
  276. package/dist/web.umd.js +38 -38
  277. package/dist/web.umd.js.map +1 -1
  278. package/docs/getting-started/react-native.md +17 -3
  279. package/docs/guides/performance.mdx +5 -0
  280. package/docs/guides/react-native.mdx +10 -0
  281. package/docs/guides/registry-guide.mdx +72 -8
  282. package/package.json +6 -4
  283. package/dist/chunks/Alert-Bjl40k3x.cjs +0 -2
  284. package/dist/chunks/Alert-Bjl40k3x.cjs.map +0 -1
  285. package/dist/chunks/Alert-Q1HlVX8f.mjs.map +0 -1
  286. package/dist/chunks/AttachmentPreview-8d8gZ5kk.mjs.map +0 -1
  287. package/dist/chunks/AttachmentPreview-Bwrz5TJh.cjs +0 -2
  288. package/dist/chunks/AttachmentPreview-Bwrz5TJh.cjs.map +0 -1
  289. package/dist/chunks/Avatar-BB0DeN9j.cjs +0 -2
  290. package/dist/chunks/Avatar-BB0DeN9j.cjs.map +0 -1
  291. package/dist/chunks/Avatar-D-GkyL2c.mjs.map +0 -1
  292. package/dist/chunks/Button.core-Bc5cSn_z.mjs.map +0 -1
  293. package/dist/chunks/Button.core-BhtOm8ak.cjs +0 -7
  294. package/dist/chunks/Button.core-BhtOm8ak.cjs.map +0 -1
  295. package/dist/chunks/Button.pilot-C4BIb08S.mjs +0 -6
  296. package/dist/chunks/Button.pilot-JmR2DCSE.cjs +0 -2
  297. package/dist/chunks/Card-CNSl9fD5.cjs +0 -2
  298. package/dist/chunks/Card-CNSl9fD5.cjs.map +0 -1
  299. package/dist/chunks/Card-DMhV_NTt.mjs +0 -200
  300. package/dist/chunks/Card-DMhV_NTt.mjs.map +0 -1
  301. package/dist/chunks/Checkbox-Bo7IRVRE.mjs +0 -11
  302. package/dist/chunks/Checkbox-Bo7IRVRE.mjs.map +0 -1
  303. package/dist/chunks/Checkbox-CAI6RtuO.cjs +0 -2
  304. package/dist/chunks/Checkbox-CAI6RtuO.cjs.map +0 -1
  305. package/dist/chunks/Checkbox.view-DGdNPlF9.cjs +0 -2
  306. package/dist/chunks/Checkbox.view-DGdNPlF9.cjs.map +0 -1
  307. package/dist/chunks/Checkbox.view-dhc-rfEX.mjs.map +0 -1
  308. package/dist/chunks/FieldWrapper-Bb0j8Iog.mjs.map +0 -1
  309. package/dist/chunks/FieldWrapper-DRCn7BLi.cjs +0 -2
  310. package/dist/chunks/FieldWrapper-DRCn7BLi.cjs.map +0 -1
  311. package/dist/chunks/Modal-DkckCT8-.mjs.map +0 -1
  312. package/dist/chunks/Modal-zok954As.cjs +0 -2
  313. package/dist/chunks/Modal-zok954As.cjs.map +0 -1
  314. package/dist/chunks/Select-C6R0Tei-.cjs +0 -2
  315. package/dist/chunks/Select-C6R0Tei-.cjs.map +0 -1
  316. package/dist/chunks/Select-C7IBNyjR.mjs +0 -24
  317. package/dist/chunks/Select-C7IBNyjR.mjs.map +0 -1
  318. package/dist/chunks/Select.view-CPMqT8pn.mjs.map +0 -1
  319. package/dist/chunks/Select.view-Pq1yAcMm.cjs +0 -2
  320. package/dist/chunks/Select.view-Pq1yAcMm.cjs.map +0 -1
  321. package/dist/chunks/Switch.view-CQZO_Js7.cjs +0 -2
  322. package/dist/chunks/Switch.view-CQZO_Js7.cjs.map +0 -1
  323. package/dist/chunks/Switch.view-QLZ7O5Z7.mjs.map +0 -1
  324. package/dist/chunks/Tabs-D5chMrkE.mjs +0 -403
  325. package/dist/chunks/Tabs-D5chMrkE.mjs.map +0 -1
  326. package/dist/chunks/Tabs-DQeBJwkz.cjs +0 -2
  327. package/dist/chunks/Tabs-DQeBJwkz.cjs.map +0 -1
  328. package/dist/chunks/TextField-DOU2CL5J.mjs.map +0 -1
  329. package/dist/chunks/TextField-Da4JCcAU.cjs +0 -2
  330. package/dist/chunks/TextField-Da4JCcAU.cjs.map +0 -1
  331. package/dist/chunks/default-D7ePSMKP.cjs +0 -2
  332. package/dist/chunks/default-D7ePSMKP.cjs.map +0 -1
  333. package/dist/chunks/designSystem.page-B74Vm2Dt.cjs +0 -11
  334. package/dist/chunks/designSystem.page-B74Vm2Dt.cjs.map +0 -1
  335. package/dist/chunks/designSystem.page-K0ajTvy7.mjs.map +0 -1
@@ -40,6 +40,21 @@ There is a full smoke-test app at `../app-studio-rn-demo/App.tsx` that
40
40
  exercises Button, TextField, Switch, Loader, Modal, Title, Alert, Tabs,
41
41
  Tooltip, Gradient, ProgressBar, Pagination and three Animation presets.
42
42
 
43
+ ### Install the Expo pilot with fewer dependencies
44
+
45
+ For the two pilot blocks, import `@app-studio/components/sign-in`,
46
+ `@app-studio/components/settings-panel` and `@app-studio/components/theme`
47
+ or copy their source from the registry. In an Expo app, install the
48
+ component package and the engine for npm imports, or the engine for
49
+ copied source. Use `npx expo install react-native-safe-area-context
50
+ react-native-svg` for the safe-area layout and built-in icons. Add Zustand
51
+ if you also use the pilot Modal.
52
+
53
+ Add Reanimated and its matching Worklets package when you use native
54
+ features that depend on them. The pilot builds on iOS and Android in both
55
+ distribution modes without those packages. The fields, switches, tabs
56
+ and system modal still use React Native's built-in interaction behavior.
57
+
43
58
  ---
44
59
 
45
60
  ## How the dual build works
@@ -74,7 +89,7 @@ exports only components whose native code needs nothing beyond `react`,
74
89
  `react-native`, `app-studio`, `react-native-svg`, `lucide-react-native`,
75
90
  `react-native-safe-area-context`, `react-native-reanimated`,
76
91
  `react-native-worklets` and `react-native-linear-gradient`. Importing it never
77
- pulls `zustand`, `formik`, `date-fns`, `react-dom` or `react-router-dom`, so it
92
+ pulls `zustand`, `formik`, `react-dom` or `react-router-dom`, so it
78
93
  runs in a host that ships no extra native or JS module.
79
94
 
80
95
  The components that need more stay on the web root and are explicit subpaths
@@ -84,10 +99,9 @@ on native — install their dependency, then import them by name:
84
99
  |---|---|
85
100
  | `@app-studio/components/native/AudioInput` | `zustand` |
86
101
  | `@app-studio/components/native/ChatInput` | `zustand` |
87
- | `@app-studio/components/native/DatePicker` | `date-fns` |
88
102
  | `@app-studio/components/native/DesignSystem` | `react-helmet-async`, the whole kit |
89
103
  | `@app-studio/components/native/Drawer` | `zustand` |
90
- | `@app-studio/components/native/Formik` | `formik`, `zustand`, `date-fns` |
104
+ | `@app-studio/components/native/Formik` | `formik`, `zustand` |
91
105
  | `@app-studio/components/native/Message` | `zustand` |
92
106
  | `@app-studio/components/native/Modal` | `zustand` |
93
107
  | `@app-studio/components/native/Router` | `zustand` |
@@ -0,0 +1,5 @@
1
+ # Performance benchmarks
2
+
3
+ The [benchmark report](/benchmarks/BENCHMARKS.md) records initial JavaScript and CSS sizes, rendering and interaction timings, and memory measurements. It compares the same Sign-in and Settings workflows in App Studio, Tailwind/shadcn, and Tamagui, with keyboard and accessibility checks on all three builds.
4
+
5
+ Use the [web benchmark instructions](/benchmarks/comparison/README.md) and [native benchmark instructions](/benchmarks/native-pilot/README.md) to reproduce the measurements. The <a href="/benchmarks/fixtures.tar.gz" download>fixture archive</a> contains the test screens, dependency versions, build settings, and verification scripts.
@@ -39,6 +39,16 @@ Use `ThemeProvider` for tokens and `ResponsiveProvider` for responsive rules, as
39
39
 
40
40
  Install only the peers required by the components you use. Follow their version-specific setup and run pod installation when your iOS project requires it.
41
41
 
42
+ ### Expo pilot dependencies
43
+
44
+ The sign-in and settings blocks build on iOS and Android with npm imports or editable source, without Reanimated or Worklets. In an Expo project, install the safe-area and SVG dependencies with Expo's version selection:
45
+
46
+ ```bash
47
+ npx expo install react-native-safe-area-context react-native-svg
48
+ ```
49
+
50
+ Add Zustand if you use the pilot Modal. Install Reanimated and any Worklets dependency required by its version when your app uses features that depend on them.
51
+
42
52
  ## Differences to plan for
43
53
 
44
54
  - **Availability:** some components are web-only. Check the compatibility matrix before importing a screen's controls.
@@ -21,7 +21,15 @@ export function Example() {
21
21
 
22
22
  The pilot includes Button, Card, TextField, Checkbox, Switch, Select, Tabs, Modal, Alert, Avatar, SignIn and SettingsPanel. Each has a lowercase npm subpath, for example `text-field` and `settings-panel`. The root entry remains available for existing web applications. Routing and Formik integrations have separate `/link`, `/router` and `/formik` entries. A targeted web Button uses a browser link for `to`. Use the existing root Button or the `/link` entry for React Router navigation.
23
23
 
24
- Start with the component defaults. Set theme tokens and component defaults in the provider, choose a component variant, then use props and the typed `views` slots for instance overrides. Existing components may apply a themed `views` override above variant styles. Use theme tokens or the component's variant config for colors so these overrides do not erase variation between styles. Import `designSystemConfigs` from `@app-studio/components/presets` only when you need the preset catalogue. An explicit config with `/theme` shares the same context as the original provider.
24
+ Use `app-studio` 0.10.0 or later for the iOS and Android pilot. This version supports changing the provider's appearance on native and converts the shared letter spacing for Android's text renderer.
25
+
26
+ Give a data-driven `Tabs` or compound `Tabs.List` an `aria-label` to identify the group. On the web, Left and Right move focus and select an adjacent tab, and Home and End jump to the first and last enabled tab. On native, the built-in triggers expose their tab role and selected state. Provide the trigger's interaction and accessible name when supplying a custom `renderTab`.
27
+
28
+ Give `Select` a visible `label` or an explicit `aria-label`. The native trigger exposes its current option and whether the picker is open. A read-only or disabled picker stays closed.
29
+
30
+ The lightweight `/theme` provider applies base styles, theme defaults, the selected variant, and then the instance’s props and typed `views`. An outline Button therefore keeps its transparent background when the theme sets a general button background. A background set on the instance’s `views.container` takes precedence. Slots without variant styles use the base, theme and instance layers. A nested provider uses its own theme defaults.
31
+
32
+ The root provider keeps legacy precedence by default. Set `stylePrecedence="standard"` on the root provider to migrate a subtree, or `stylePrecedence="legacy"` on the lightweight provider to keep an existing theme’s ordering. Both provider entries share the same context. Import `designSystemConfigs` from `@app-studio/components/presets` to load the preset catalogue.
25
33
 
26
34
  Specialized components can require additional peers. If an import fails with a missing module, check the matching manifest and install the missing dependency for your target. For example, the named modal store uses Zustand, and icons use Lucide on their platform. The older aggregate entry can require several integration packages even if the app uses only one of its exports.
27
35
 
@@ -33,7 +41,9 @@ npx @app-studio/cli add sign-in --platform universal
33
41
  npx @app-studio/cli diff sign-in --platform universal
34
42
  ```
35
43
 
36
- The CLI prints the entry path and required npm dependencies. Install those dependencies with your project’s package manager. Then import from the printed path under `components/app-studio/`. The source keeps its existing TypeScript and platform implementations, and uses the `app-studio` engine. Official entries that use the shared theme also import `@app-studio/components/theme`, so copied and npm components can use the same provider.
44
+ The CLI prints the entry path and required npm dependencies for the selected platform. It identifies packages whose installed versions are missing or incompatible and prints the required ranges. Install those dependencies with your project’s package manager. Then import from the printed path under `components/app-studio/`. The source keeps its TypeScript and platform implementations and uses the `app-studio` engine. Starting with registry 0.12.1, entries that use the shared theme copy it as a registry dependency. The copied components can run without installing `@app-studio/components`.
45
+
46
+ Run `npx @app-studio/cli add theme --platform universal` to print the provider's local entry path. Import `DesignSystemProvider` from that path and use it to wrap your components. In a project that mixes copied source with the npm package, the local provider and the npm `/theme` provider use the same context when both are from 0.12.1 or later.
37
47
 
38
48
  Files and version hashes are tracked in `.app-studio/registry-lock.json`. Commit that file alongside the copied code. Re-running `add` reuses shared, unchanged files. Use `diff` to review changes and merge them in your editor. The installer never overwrites local source or executes registry hooks.
39
49
 
@@ -51,7 +61,28 @@ Replace the template's title, author and home page. Host the generated `dist/reg
51
61
  npx @app-studio/cli add https://components.example.com/r/status.json --platform web
52
62
  ```
53
63
 
54
- The format uses [shadcn registry items](https://ui.shadcn.com/docs/registry/registry-item-json). Set `meta.appStudio` to the source entry, version, supported platforms (`web`, `ios`, `android`), compatible App Studio engine range and license. Use `dependencies` for shared npm packages and `meta.appStudio.dependencies` for additional packages by platform. Name platform variants with the standard `.native`, `.ios` or `.android` file suffix. Built items carry their source and license as text. Keep file locations relative to the registry root and internal imports relative to one another. In `registryDependencies`, a bare name resolves beside its parent item, and a full HTTPS URL can bring in an entry from another registry. Use npm import paths when code itself needs to import across independently hosted registries.
64
+ The format uses [shadcn registry items](https://ui.shadcn.com/docs/registry/registry-item-json). Set `meta.appStudio` to the source entry, version, supported platforms (`web`, `ios`, `android`), compatible App Studio engine range and license. Use `dependencies` for shared npm packages and `meta.appStudio.dependencies` for additional packages by platform. Name platform variants with the standard `.native`, `.ios` or `.android` file suffix. Built items carry their source and license as text. Keep file locations relative to the registry root and internal imports relative to one another. In `registryDependencies`, a bare name resolves beside its parent item, and a full HTTPS URL can bring in an entry from another registry.
65
+
66
+ An optional `meta.appStudio.engineByPlatform` map overrides the engine range for selected platforms. For example, set `android` to `>=0.10.0` while keeping the general range for web and iOS. CLI 0.1.1 checks each requested platform before installing files.
67
+
68
+ With CLI 0.1.1 or later, map package specifiers and aliases to declared registry dependencies using `meta.appStudio.registryImports`. For example, an item that imports `@app-studio/components/button` can add the following to its manifest:
69
+
70
+ ```json
71
+ {
72
+ "registryDependencies": [
73
+ "https://app-studio-6167b.web.app/registry/button.json"
74
+ ],
75
+ "meta": {
76
+ "appStudio": {
77
+ "registryImports": {
78
+ "@app-studio/components/button": "https://app-studio-6167b.web.app/registry/button.json"
79
+ }
80
+ }
81
+ }
82
+ }
83
+ ```
84
+
85
+ The CLI rewrites matching ES module imports, re-exports, literal `import()` references and TypeScript module augmentations to the dependency's local entry. CommonJS `require()` and computed import expressions retain their original code. An ordinary npm import can still be used when an item needs a package dependency.
55
86
 
56
87
  A component can extend the built-in theme without changes to the official package:
57
88
 
@@ -63,19 +94,52 @@ declare module '@app-studio/components/theme' {
63
94
  }
64
95
  ```
65
96
 
66
- Call `useDesignSystemComponentProps('my-team-status')` in a component and merge its typed local overrides. Include examples for the default, disabled and loading states wherever applicable, as well as keyboard or screen reader behavior and platform differences.
97
+ Call `useDesignSystemComponentProps('my-team-status')` to read typed theme defaults. Components with style variants can call `useDesignSystemComponentLayers` to receive `themeViews` separately from the instance props, then call `mergeDesignSystemViews` with the base, theme, selected variant and instance views in that order. In legacy mode the hook supplies the merged views through `props.views`. Include examples for the default, disabled and loading states wherever applicable, as well as keyboard or screen reader behavior and platform differences.
98
+
99
+ To distribute the component as editable source, add the official `theme.json` URL to `registryDependencies` and map `@app-studio/components/theme` to that URL in `registryImports`. Place the augmentation in a file with an import or export. The CLI maps both the provider import and the augmentation to the installed theme.
100
+
101
+ <h2 id="submit-to-the-directory">Submit to the directory</h2>
102
+
103
+ Open a pull request adding the component to `registry/community.json`. Use the name, title, author, version and license from the item manifest. Add an HTTPS item URL, a short description of when to use the component, its category, its supported platforms and its npm dependencies per platform. The maintenance values are `active`, `maintenance` and `archived`.
104
+
105
+ ```json
106
+ {
107
+ "name": "status-label",
108
+ "title": "Status label",
109
+ "description": "Show account status next to a profile.",
110
+ "category": "Feedback",
111
+ "author": "Your registry team",
112
+ "version": "1.0.0",
113
+ "license": "MIT",
114
+ "maintenance": "active",
115
+ "url": "https://components.example.com/r/status-label.json",
116
+ "platforms": ["web", "ios"],
117
+ "dependencies": { "web": [], "ios": [] },
118
+ "verification": {
119
+ "web": {
120
+ "kind": "browser",
121
+ "environment": "Chrome on macOS",
122
+ "evidence": "https://components.example.com/qa/browser"
123
+ }
124
+ }
125
+ }
126
+ ```
127
+
128
+ List the npm requirements shown by `add --dry-run` for each platform. Maintainers check the manifest, license, example and installation. Use `browser` for web evidence, and `simulator` or `device` for native evidence. Each entry states the environment and links to the run. Physical iOS and Android entries also require `screenReader` set to `VoiceOver` or `TalkBack`, respectively, and an HTTPS `accessibilityEvidence` link. Platforms awaiting evidence display **Verification pending**.
67
129
 
68
- To submit a registry to the directory, open a pull request adding entries to `registry/community.json`. Provide an HTTPS item URL, name, title, category, author, license, maintenance status, supported platforms, dependencies and verification evidence. Maintainers check the manifest, license, example and installation. A native device verification label requires evidence on the relevant platform with its accessibility checks. Styling and accessibility claims should include their test environment.
130
+ Run `npm run check:community` to check the listing format. During review, save a copy of the actual hosted item manifest and run `npm run check:community -- "$item_url" ./downloaded-item.json` to check the manifest and listing together. Anyone can install your registry directly by URL before the directory review.
69
131
 
70
132
  ## Try web style extraction
71
133
 
72
- The optional Vite plugin is a prototype for plain `Element` layout props.
134
+ App Studio engine 0.10.0 includes an optional Vite plugin for literal layout props on `Element`, `View`, `Horizontal`, `Vertical` and `Center`.
73
135
 
74
136
  ```ts
75
137
  import { defineConfig } from 'vite';
76
- import { appStudioStaticStyles } from '@app-studio/components/vite';
138
+ import { appStudioStaticStyles } from 'app-studio/vite';
77
139
 
78
140
  export default defineConfig({ plugins: [appStudioStaticStyles()] });
79
141
  ```
80
142
 
81
- Install TypeScript in the Vite project. Production builds can extract literal layout props into CSS. Dynamic values, theme colors, responsive and interactive props, spreads, and custom styles continue through the engine. Use the same plugin configuration for Vite client and SSR builds. React Native uses the existing native renderer. This prototype remains opt-in while runtime benchmarks are collected.
143
+ Install TypeScript in the Vite project. Production builds extract supported numbers, single lengths and layout keywords into CSS. When the element is fully static, the compiler also emits the wrapper's defaults and the component skips runtime style lookup. A prop that overlaps the wrapper’s defaults, such as `display` on `Vertical`, keeps the element on the runtime path. Dynamic values, theme colors, responsive and interactive props, spreads, and custom styles also use the runtime path. Use the same plugin configuration for Vite client and SSR builds and load the extracted CSS from the client manifest, including in any iframe that renders compiled components. React Native uses the native renderer.
144
+
145
+ The earlier `@app-studio/components/vite` entry supports literal layout props on `Element`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@app-studio/components",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "main": "dist/web.cjs.js",
5
5
  "module": "dist/web.esm.mjs",
6
6
  "react-native": "dist/native/components/index.native.js",
@@ -402,6 +402,7 @@
402
402
  "analyze": "size-limit --why",
403
403
  "prerelease": "npm run build:package",
404
404
  "release": "release-it",
405
+ "prepack": "npm run build:registry",
405
406
  "postpublish": "npm run promote:latest",
406
407
  "promote:latest": "npm dist-tag add \"${npm_package_name}@${npm_package_version}\" latest && npm dist-tag ls \"${npm_package_name}\"",
407
408
  "bot-doc": "ts-node bot/index.ts",
@@ -424,11 +425,13 @@
424
425
  "build:package": "npm run typecheck && npm run build && npm run typecheck:native && npm run build:native && npm run check:native-entry && npm run build:registry && npm run bench:package",
425
426
  "check:native-entry": "node scripts/check-native-entry.mjs",
426
427
  "build:registry": "node scripts/build-registry.mjs",
427
- "test:registry": "node --test scripts/registry.test.mjs scripts/compiler.test.mjs",
428
+ "check:community": "node scripts/check-community-registry.mjs",
429
+ "test:registry": "node --test scripts/registry.test.mjs scripts/community-registry.test.mjs scripts/compiler.test.mjs",
428
430
  "check:package": "node scripts/check-package.mjs",
429
431
  "bench:package": "node scripts/benchmark-package.mjs --check",
430
432
  "bench:styles": "node scripts/benchmark-styles.mjs",
431
- "prepare:pilot-release": "node scripts/prepare-pilot-release.mjs"
433
+ "prepare:pilot-release": "node scripts/prepare-pilot-release.mjs",
434
+ "check:pilot-release": "node scripts/check-pilot-release.mjs"
432
435
  },
433
436
  "eslintConfig": {
434
437
  "extends": [
@@ -498,7 +501,6 @@
498
501
  "commitlint": "^18.2.0",
499
502
  "compression": "^1.8.1",
500
503
  "css-loader": "^6.7.4",
501
- "date-fns": "^2.30.0",
502
504
  "dotenv": "^16.4.5",
503
505
  "eslint": "^8.57.1",
504
506
  "eslint-plugin-import": "^2.27.5",
@@ -1,2 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),g=require("react"),l=require("app-studio"),s=require("./FixedIcons-Dz_f-yDL.cjs"),m=require("../theme.cjs.js"),S=c=>{const r=c==="dark";return{default:{container:{backgroundColor:"color-gray-50",borderColor:"color-gray-200",boxShadow:r?"0 1px 3px rgba(0, 0, 0, 0.3)":"0 1px 2px rgba(0, 0, 0, 0.05)"},content:{color:"color-gray-700"},icon:{color:"color-gray-500"}},info:{container:{backgroundColor:"color-blue-50",borderColor:"color-blue-200",boxShadow:r?"0 1px 3px rgba(29, 78, 216, 0.25)":"0 1px 2px rgba(59, 130, 246, 0.05)"},content:{color:"color-blue-700"},icon:{color:"color-blue-600"}},success:{container:{backgroundColor:"color-green-50",borderColor:"color-green-200",boxShadow:r?"0 1px 3px rgba(34, 197, 94, 0.2)":"0 1px 2px rgba(34, 197, 94, 0.05)"},content:{color:"color-green-700"},icon:{color:"color-green-600"}},error:{container:{backgroundColor:"color-red-50",borderColor:"color-red-200",boxShadow:r?"0 1px 3px rgba(239, 68, 68, 0.2)":"0 1px 2px rgba(239, 68, 68, 0.05)"},content:{color:"color-red-700"},icon:{color:"color-red-600"}},warning:{container:{backgroundColor:"color-orange-50",borderColor:"color-orange-200",boxShadow:r?"0 1px 3px rgba(249, 115, 22, 0.2)":"0 1px 2px rgba(249, 115, 22, 0.05)"},content:{color:"color-orange-700"},icon:{color:"color-orange-600"}}}},j={default:"alert",info:"status",success:"status",error:"alert",warning:"alert"},k=g.memo(({icon:c,title:r="",views:o,description:u="",variant:n="default",themeMode:p,children:b,...i})=>{var x;const{themeMode:h}=l.useTheme(),d=p||h,t=g.useMemo(()=>S(d),[d]),f=((x=o==null?void 0:o.icon)==null?void 0:x.color)??t[n].icon.color,C=()=>{if(c)return c;const a={size:20,color:"currentColor"};switch(n){case"info":return e.jsx(s.InfoIcon,{...a});case"success":return e.jsx(s.SuccessIcon,{...a});case"error":return e.jsx(s.ErrorIcon,{...a});case"warning":default:return e.jsx(s.WarningIcon,{...a})}};return e.jsxs(l.Horizontal,{role:j[n],gap:12,padding:"12px 16px",flexWrap:"nowrap",alignItems:"flex-start",borderRadius:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:t[n].container.borderColor,backgroundColor:t[n].container.backgroundColor,boxShadow:t[n].container.boxShadow,transition:"background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease",...o==null?void 0:o.container,...i,children:[e.jsx(l.View,{alignSelf:"flex-start",marginTop:"2px",color:f,...o==null?void 0:o.icon,children:C()}),e.jsxs(l.Vertical,{gap:4,children:[r?e.jsx(l.Text,{fontSize:"14px",fontWeight:"600",lineHeight:"20px",color:t[n].content.color,...o==null?void 0:o.title,children:r}):null,e.jsx(l.Text,{fontSize:"12px",fontWeight:"400",lineHeight:"16px",color:t[n].content.color,...o==null?void 0:o.description,children:u||b})]})]})}),I=c=>{const r=m.useMergedDesignSystemComponentProps("alert",c);return e.jsx(k,{...r})},y=I;exports.Alert=y;
2
- //# sourceMappingURL=Alert-Bjl40k3x.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Alert-Bjl40k3x.cjs","sources":["../../src/components/Alert/Alert/Alert.style.tsx","../../src/components/Alert/Alert/Alert.view.tsx","../../src/components/Alert/Alert.tsx"],"sourcesContent":["/**\n * Alert Styles\n *\n * Defines the styles for the Alert 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 { Variant } from './Alert.type';\n\n/**\n * Get theme styles for different alert variants based on theme mode\n */\nexport const getThemes = (\n themeMode: string\n): Record<\n Variant,\n { container: ViewProps; content: ViewProps; icon: ViewProps }\n> => {\n const isDark = themeMode === 'dark';\n\n return {\n default: {\n container: {\n backgroundColor: 'color-gray-50',\n borderColor: 'color-gray-200',\n boxShadow: isDark\n ? '0 1px 3px rgba(0, 0, 0, 0.3)'\n : '0 1px 2px rgba(0, 0, 0, 0.05)',\n },\n content: {\n color: 'color-gray-700',\n },\n icon: {\n color: 'color-gray-500',\n },\n },\n info: {\n container: {\n backgroundColor: 'color-blue-50',\n borderColor: 'color-blue-200',\n boxShadow: isDark\n ? '0 1px 3px rgba(29, 78, 216, 0.25)'\n : '0 1px 2px rgba(59, 130, 246, 0.05)',\n },\n content: {\n color: 'color-blue-700',\n },\n icon: {\n color: 'color-blue-600',\n },\n },\n success: {\n container: {\n backgroundColor: 'color-green-50',\n borderColor: 'color-green-200',\n boxShadow: isDark\n ? '0 1px 3px rgba(34, 197, 94, 0.2)'\n : '0 1px 2px rgba(34, 197, 94, 0.05)',\n },\n content: {\n color: 'color-green-700',\n },\n icon: {\n color: 'color-green-600',\n },\n },\n error: {\n container: {\n backgroundColor: 'color-red-50',\n borderColor: 'color-red-200',\n boxShadow: isDark\n ? '0 1px 3px rgba(239, 68, 68, 0.2)'\n : '0 1px 2px rgba(239, 68, 68, 0.05)',\n },\n content: {\n color: 'color-red-700',\n },\n icon: {\n color: 'color-red-600',\n },\n },\n warning: {\n container: {\n backgroundColor: 'color-orange-50',\n borderColor: 'color-orange-200',\n boxShadow: isDark\n ? '0 1px 3px rgba(249, 115, 22, 0.2)'\n : '0 1px 2px rgba(249, 115, 22, 0.05)',\n },\n content: {\n color: 'color-orange-700',\n },\n icon: {\n color: 'color-orange-600',\n },\n },\n };\n};\n\n/**\n * Default themes for backward compatibility\n */\nexport const Themes = getThemes('light');\n","/**\n * Alert View Component\n *\n * Renders an alert with various styles and states according to the design guidelines.\n */\n\nimport React, { useMemo } from 'react';\nimport { View, useTheme } from 'app-studio';\nimport { Text } from 'app-studio';\nimport { Vertical } from 'app-studio';\nimport { Horizontal } from 'app-studio';\nimport { WarningIcon, InfoIcon, ErrorIcon, SuccessIcon } from '../../Icon/FixedIcons';\nimport { AlertProps } from './Alert.props';\nimport { getThemes } from './Alert.style';\nimport { Variant } from './Alert.type';\n\nconst defaultRoles: Record<Variant, AlertProps['role']> = {\n default: 'alert',\n info: 'status',\n success: 'status',\n error: 'alert',\n warning: 'alert',\n};\n\n/**\n * Alert component that displays important messages to users\n */\nexport const AlertView = React.memo(\n ({\n icon,\n title = '',\n views,\n description = '',\n variant = 'default',\n themeMode: elementMode,\n children,\n ...props\n }: AlertProps) => {\n const { themeMode } = useTheme();\n const currentThemeMode = elementMode || themeMode;\n const themes = useMemo(\n () => getThemes(currentThemeMode),\n [currentThemeMode]\n );\n // The icon's colour, from the theme: set on its wrapper (below), which the SVG inherits.\n const iconColor = views?.icon?.color ?? themes[variant].icon.color;\n // Select the appropriate icon based on the variant\n const getIcon = () => {\n if (icon) return icon;\n\n const iconProps = {\n size: 20,\n // The wrapper sets the CSS colour from the token; the SVG strokes it as currentColor, which every\n // engine paints (Lightpanda does not resolve var() inside the stroke attribute).\n color: 'currentColor',\n };\n\n switch (variant) {\n case 'info':\n return <InfoIcon {...iconProps} />;\n case 'success':\n return <SuccessIcon {...iconProps} />;\n case 'error':\n return <ErrorIcon {...iconProps} />;\n case 'warning':\n default:\n return <WarningIcon {...iconProps} />;\n }\n };\n\n return (\n <Horizontal\n role={defaultRoles[variant]}\n // Layout properties\n gap={12}\n padding=\"12px 16px\"\n flexWrap=\"nowrap\"\n alignItems=\"flex-start\"\n // Visual properties\n borderRadius=\"8px\" // Consistent with design system (rounded-md)\n borderWidth=\"1px\"\n borderStyle=\"solid\"\n borderColor={themes[variant].container.borderColor}\n backgroundColor={themes[variant].container.backgroundColor}\n boxShadow={themes[variant].container.boxShadow}\n // Animation\n transition=\"background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease\"\n // Apply custom container styles and any other props\n {...views?.container}\n {...props}\n >\n {/* Icon */}\n <View\n alignSelf=\"flex-start\"\n marginTop=\"2px\"\n color={iconColor}\n {...views?.icon}\n >\n {getIcon()}\n </View>\n\n {/* Content */}\n <Vertical gap={4}>\n {title ? (\n <Text\n fontSize=\"14px\"\n fontWeight=\"600\"\n lineHeight=\"20px\"\n color={themes[variant].content.color}\n {...views?.title}\n >\n {title}\n </Text>\n ) : null}\n <Text\n fontSize=\"12px\"\n fontWeight=\"400\"\n lineHeight=\"16px\"\n color={themes[variant].content.color}\n {...views?.description}\n >\n {description || children}\n </Text>\n </Vertical>\n </Horizontal>\n );\n }\n);\n","import React from 'react';\nimport { AlertView } from './Alert/Alert.view';\nimport { AlertProps } from './Alert/Alert.props';\nimport { useMergedDesignSystemComponentProps } from 'src/design-system/theme';\n// Definition of the AlertComponent functional component with props.\nconst AlertComponent = (props: AlertProps) => {\n const mergedProps = useMergedDesignSystemComponentProps('alert', props);\n return <AlertView {...mergedProps} />;\n};\n// Exporting the AlertComponent as 'Alert' for use in other parts of the application.\nexport const Alert = AlertComponent;\n"],"names":["getThemes","themeMode","isDark","defaultRoles","AlertView","React","icon","title","views","description","variant","elementMode","children","props","useTheme","currentThemeMode","themes","useMemo","iconColor","_a","getIcon","iconProps","jsx","InfoIcon","SuccessIcon","ErrorIcon","WarningIcon","jsxs","Horizontal","View","Vertical","Text","AlertComponent","mergedProps","useMergedDesignSystemComponentProps","Alert"],"mappings":"iKAiBaA,EACXC,GAIG,CACH,MAAMC,EAASD,IAAc,OAE7B,MAAO,CACL,QAAS,CACP,UAAW,CACT,gBAAiB,gBACjB,YAAa,iBACb,UAAWC,EACP,+BACA,+BAAA,EAEN,QAAS,CACP,MAAO,gBAAA,EAET,KAAM,CACJ,MAAO,gBAAA,CACT,EAEF,KAAM,CACJ,UAAW,CACT,gBAAiB,gBACjB,YAAa,iBACb,UAAWA,EACP,oCACA,oCAAA,EAEN,QAAS,CACP,MAAO,gBAAA,EAET,KAAM,CACJ,MAAO,gBAAA,CACT,EAEF,QAAS,CACP,UAAW,CACT,gBAAiB,iBACjB,YAAa,kBACb,UAAWA,EACP,mCACA,mCAAA,EAEN,QAAS,CACP,MAAO,iBAAA,EAET,KAAM,CACJ,MAAO,iBAAA,CACT,EAEF,MAAO,CACL,UAAW,CACT,gBAAiB,eACjB,YAAa,gBACb,UAAWA,EACP,mCACA,mCAAA,EAEN,QAAS,CACP,MAAO,eAAA,E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CAAO,EAAE,UAAU,YACvC,gBAAiBM,EAAON,CAAO,EAAE,UAAU,gBAC3C,UAAWM,EAAON,CAAO,EAAE,UAAU,UAErC,WAAW,2EAEV,GAAGF,GAAA,YAAAA,EAAO,UACV,GAAGK,EAGJ,SAAA,CAAAS,EAAAA,IAACO,EAAAA,KAAA,CACC,UAAU,aACV,UAAU,MACV,MAAOX,EACN,GAAGV,GAAA,YAAAA,EAAO,KAEV,SAAAY,EAAA,CAAQ,CAAA,EAIXO,EAAAA,KAACG,EAAAA,SAAA,CAAS,IAAK,EACZ,SAAA,CAAAvB,EACCe,EAAAA,IAACS,EAAAA,KAAA,CACC,SAAS,OACT,WAAW,MACX,WAAW,OACX,MAAOf,EAAON,CAAO,EAAE,QAAQ,MAC9B,GAAGF,GAAA,YAAAA,EAAO,MAEV,SAAAD,CAAA,CAAA,EAED,KACJe,EAAAA,IAACS,EAAAA,KAAA,CACC,SAAS,OACT,WAAW,MACX,WAAW,OACX,MAAOf,EAAON,CAAO,EAAE,QAAQ,MAC9B,GAAGF,GAAA,YAAAA,EAAO,YAEV,SAAAC,GAAeG,CAAA,CAAA,CAClB,CAAA,CACF,CAAA,CAAA,CAAA,CAGN,CACF,EC1HMoB,EAAkBnB,GAAsB,CAC5C,MAAMoB,EAAcC,EAAAA,oCAAoC,QAASrB,CAAK,EACtE,OAAOS,MAAClB,EAAA,CAAW,GAAG6B,CAAA,CAAa,CACrC,EAEaE,EAAQH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Alert-Q1HlVX8f.mjs","sources":["../../src/components/Alert/Alert/Alert.style.tsx","../../src/components/Alert/Alert/Alert.view.tsx","../../src/components/Alert/Alert.tsx"],"sourcesContent":["/**\n * Alert Styles\n *\n * Defines the styles for the Alert 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 { Variant } from './Alert.type';\n\n/**\n * Get theme styles for different alert variants based on theme mode\n */\nexport const getThemes = (\n themeMode: string\n): Record<\n Variant,\n { container: ViewProps; content: ViewProps; icon: ViewProps }\n> => {\n const isDark = themeMode === 'dark';\n\n return {\n default: {\n container: {\n backgroundColor: 'color-gray-50',\n borderColor: 'color-gray-200',\n boxShadow: isDark\n ? '0 1px 3px rgba(0, 0, 0, 0.3)'\n : '0 1px 2px rgba(0, 0, 0, 0.05)',\n },\n content: {\n color: 'color-gray-700',\n },\n icon: {\n color: 'color-gray-500',\n },\n },\n info: {\n container: {\n backgroundColor: 'color-blue-50',\n borderColor: 'color-blue-200',\n boxShadow: isDark\n ? '0 1px 3px rgba(29, 78, 216, 0.25)'\n : '0 1px 2px rgba(59, 130, 246, 0.05)',\n },\n content: {\n color: 'color-blue-700',\n },\n icon: {\n color: 'color-blue-600',\n },\n },\n success: {\n container: {\n backgroundColor: 'color-green-50',\n borderColor: 'color-green-200',\n boxShadow: isDark\n ? '0 1px 3px rgba(34, 197, 94, 0.2)'\n : '0 1px 2px rgba(34, 197, 94, 0.05)',\n },\n content: {\n color: 'color-green-700',\n },\n icon: {\n color: 'color-green-600',\n },\n },\n error: {\n container: {\n backgroundColor: 'color-red-50',\n borderColor: 'color-red-200',\n boxShadow: isDark\n ? '0 1px 3px rgba(239, 68, 68, 0.2)'\n : '0 1px 2px rgba(239, 68, 68, 0.05)',\n },\n content: {\n color: 'color-red-700',\n },\n icon: {\n color: 'color-red-600',\n },\n },\n warning: {\n container: {\n backgroundColor: 'color-orange-50',\n borderColor: 'color-orange-200',\n boxShadow: isDark\n ? '0 1px 3px rgba(249, 115, 22, 0.2)'\n : '0 1px 2px rgba(249, 115, 22, 0.05)',\n },\n content: {\n color: 'color-orange-700',\n },\n icon: {\n color: 'color-orange-600',\n },\n },\n };\n};\n\n/**\n * Default themes for backward compatibility\n */\nexport const Themes = getThemes('light');\n","/**\n * Alert View Component\n *\n * Renders an alert with various styles and states according to the design guidelines.\n */\n\nimport React, { useMemo } from 'react';\nimport { View, useTheme } from 'app-studio';\nimport { Text } from 'app-studio';\nimport { Vertical } from 'app-studio';\nimport { Horizontal } from 'app-studio';\nimport { WarningIcon, InfoIcon, ErrorIcon, SuccessIcon } from '../../Icon/FixedIcons';\nimport { AlertProps } from './Alert.props';\nimport { getThemes } from './Alert.style';\nimport { Variant } from './Alert.type';\n\nconst defaultRoles: Record<Variant, AlertProps['role']> = {\n default: 'alert',\n info: 'status',\n success: 'status',\n error: 'alert',\n warning: 'alert',\n};\n\n/**\n * Alert component that displays important messages to users\n */\nexport const AlertView = React.memo(\n ({\n icon,\n title = '',\n views,\n description = '',\n variant = 'default',\n themeMode: elementMode,\n children,\n ...props\n }: AlertProps) => {\n const { themeMode } = useTheme();\n const currentThemeMode = elementMode || themeMode;\n const themes = useMemo(\n () => getThemes(currentThemeMode),\n [currentThemeMode]\n );\n // The icon's colour, from the theme: set on its wrapper (below), which the SVG inherits.\n const iconColor = views?.icon?.color ?? themes[variant].icon.color;\n // Select the appropriate icon based on the variant\n const getIcon = () => {\n if (icon) return icon;\n\n const iconProps = {\n size: 20,\n // The wrapper sets the CSS colour from the token; the SVG strokes it as currentColor, which every\n // engine paints (Lightpanda does not resolve var() inside the stroke attribute).\n color: 'currentColor',\n };\n\n switch (variant) {\n case 'info':\n return <InfoIcon {...iconProps} />;\n case 'success':\n return <SuccessIcon {...iconProps} />;\n case 'error':\n return <ErrorIcon {...iconProps} />;\n case 'warning':\n default:\n return <WarningIcon {...iconProps} />;\n }\n };\n\n return (\n <Horizontal\n role={defaultRoles[variant]}\n // Layout properties\n gap={12}\n padding=\"12px 16px\"\n flexWrap=\"nowrap\"\n alignItems=\"flex-start\"\n // Visual properties\n borderRadius=\"8px\" // Consistent with design system (rounded-md)\n borderWidth=\"1px\"\n borderStyle=\"solid\"\n borderColor={themes[variant].container.borderColor}\n backgroundColor={themes[variant].container.backgroundColor}\n boxShadow={themes[variant].container.boxShadow}\n // Animation\n transition=\"background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease\"\n // Apply custom container styles and any other props\n {...views?.container}\n {...props}\n >\n {/* Icon */}\n <View\n alignSelf=\"flex-start\"\n marginTop=\"2px\"\n color={iconColor}\n {...views?.icon}\n >\n {getIcon()}\n </View>\n\n {/* Content */}\n <Vertical gap={4}>\n {title ? (\n <Text\n fontSize=\"14px\"\n fontWeight=\"600\"\n lineHeight=\"20px\"\n color={themes[variant].content.color}\n {...views?.title}\n >\n {title}\n </Text>\n ) : null}\n <Text\n fontSize=\"12px\"\n fontWeight=\"400\"\n lineHeight=\"16px\"\n color={themes[variant].content.color}\n {...views?.description}\n >\n {description || children}\n </Text>\n </Vertical>\n </Horizontal>\n );\n }\n);\n","import React from 'react';\nimport { AlertView } from './Alert/Alert.view';\nimport { AlertProps } from './Alert/Alert.props';\nimport { useMergedDesignSystemComponentProps } from 'src/design-system/theme';\n// Definition of the AlertComponent functional component with props.\nconst AlertComponent = (props: AlertProps) => {\n const mergedProps = useMergedDesignSystemComponentProps('alert', props);\n return <AlertView {...mergedProps} />;\n};\n// Exporting the AlertComponent as 'Alert' for use in other parts of the application.\nexport const Alert = AlertComponent;\n"],"names":["getThemes","themeMode","isDark","defaultRoles","AlertView","React","icon","title","views","description","variant","elementMode","children","props","useTheme","currentThemeMode","themes","useMemo","iconColor","_a","getIcon","iconProps","jsx","InfoIcon","SuccessIcon","ErrorIcon","WarningIcon","jsxs","Horizontal","View","Vertical","Text","AlertComponent","mergedProps","useMergedDesignSystemComponentProps","Alert"],"mappings":";;;;;AAiBO,MAAMA,IAAY,CACvBC,MAIG;AACH,QAAMC,IAASD,MAAc;AAE7B,SAAO;AAAA,IACL,SAAS;AAAA,MACP,WAAW;AAAA,QACT,iBAAiB;AAAA,QACjB,aAAa;AAAA,QACb,WAAWC,IACP,iCACA;AAAA,MAAA;AAAA,MAEN,SAAS;AAAA,QACP,OAAO;AAAA,MAAA;AAAA,MAET,MAAM;AAAA,QACJ,O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