@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
@@ -1,13 +1,14 @@
1
- import { jsx as t, jsxs as y } from "react/jsx-runtime";
2
- import S from "react";
3
- import { Text as p, Vertical as c, useTheme as z, Horizontal as g, Typography as H } from "app-studio";
4
- import { L as C } from "./Label-BVEAujj2.mjs";
5
- const k = ({
6
- children: e,
1
+ import { jsx as a, jsxs as F } from "react/jsx-runtime";
2
+ import R from "react";
3
+ import { Text as f, Vertical as u, useTheme as L, Horizontal as y, Typography as _ } from "app-studio";
4
+ import { mergeDesignSystemViews as S, useDesignSystemComponentLayers as I } from "../theme.esm.mjs";
5
+ import { L as j } from "./Label-BVEAujj2.mjs";
6
+ const $ = ({
7
+ children: t,
7
8
  views: o = { helperText: {} },
8
- ...a
9
- }) => /* @__PURE__ */ t(
10
- p,
9
+ ...e
10
+ }) => /* @__PURE__ */ a(
11
+ f,
11
12
  {
12
13
  fontSize: "11px",
13
14
  fontWeight: "400",
@@ -18,14 +19,14 @@ const k = ({
18
19
  color: "color-gray-500",
19
20
  transition: "color 0.2s ease, opacity 0.2s ease",
20
21
  ...o.helperText,
21
- ...a,
22
- children: e
22
+ ...e,
23
+ children: t
23
24
  }
24
- ), V = S.forwardRef(
25
- ({ children: e, helperText: o, error: a = !1, errorId: i, views: r, ...l }, n) => /* @__PURE__ */ y(
26
- c,
25
+ ), w = R.forwardRef(
26
+ ({ children: t, helperText: o, error: e = !1, errorId: n, views: r, ...l }, i) => /* @__PURE__ */ F(
27
+ u,
27
28
  {
28
- ref: n,
29
+ ref: i,
29
30
  gap: 4,
30
31
  position: "relative",
31
32
  width: "100%",
@@ -34,12 +35,12 @@ const k = ({
34
35
  ...l,
35
36
  ...r == null ? void 0 : r.container,
36
37
  children: [
37
- e,
38
- !a && o && /* @__PURE__ */ t(k, { marginTop: 0, ...r == null ? void 0 : r.helperText, children: o }),
39
- a && /* @__PURE__ */ t(
40
- p,
38
+ t,
39
+ !e && o && /* @__PURE__ */ a($, { marginTop: 0, ...r == null ? void 0 : r.helperText, children: o }),
40
+ e && /* @__PURE__ */ a(
41
+ f,
41
42
  {
42
- id: i,
43
+ id: n,
43
44
  fontSize: "11px",
44
45
  lineHeight: "16px",
45
46
  marginTop: 0,
@@ -48,15 +49,15 @@ const k = ({
48
49
  color: "theme-error",
49
50
  transition: "color 0.2s ease, opacity 0.2s ease",
50
51
  ...r == null ? void 0 : r.error,
51
- children: a
52
+ children: e
52
53
  }
53
54
  )
54
55
  ]
55
56
  }
56
57
  )
57
58
  );
58
- V.displayName = "FieldContainer";
59
- const T = {
59
+ w.displayName = "FieldContainer";
60
+ const D = {
60
61
  default: {
61
62
  borderRadius: "8px"
62
63
  // Consistent with design system (rounded-md)
@@ -72,13 +73,13 @@ const T = {
72
73
  borderRadius: "9999px"
73
74
  // Full rounded for pill shape
74
75
  }
75
- }, W = {
76
+ }, B = {
76
77
  xs: "10px",
77
78
  sm: "11px",
78
79
  md: "11px",
79
80
  lg: "12px",
80
81
  xl: "12px"
81
- }, F = {
82
+ }, P = {
82
83
  outline: {
83
84
  borderWidth: "1px",
84
85
  borderStyle: "solid",
@@ -128,41 +129,54 @@ const T = {
128
129
  color: "inherit",
129
130
  transition: "background-color 0.2s ease"
130
131
  }
131
- }, R = {
132
+ }, q = {
132
133
  xs: { minHeight: 24, paddingVertical: 4, paddingHorizontal: 10 },
133
134
  sm: { minHeight: 32, paddingVertical: 7, paddingHorizontal: 10 },
134
135
  md: { minHeight: 40, paddingVertical: 9, paddingHorizontal: 12 },
135
136
  lg: { minHeight: 48, paddingVertical: 11, paddingHorizontal: 14 },
136
137
  xl: { minHeight: 56, paddingVertical: 13, paddingHorizontal: 16 }
137
- }, I = (e) => {
138
- const { minHeight: o, paddingVertical: a, paddingHorizontal: i } = R[e];
138
+ }, M = (t) => {
139
+ const { minHeight: o, paddingVertical: e, paddingHorizontal: n } = q[t];
139
140
  return {
140
141
  minHeight: `${o}px`,
141
- paddingTop: `${a}px`,
142
- paddingBottom: `${a}px`,
143
- paddingLeft: `${i}px`,
144
- paddingRight: `${i}px`
142
+ paddingTop: `${e}px`,
143
+ paddingBottom: `${e}px`,
144
+ paddingLeft: `${n}px`,
145
+ paddingRight: `${n}px`
145
146
  };
146
- }, N = ({
147
- label: e,
147
+ }, Q = ({
148
+ label: t,
148
149
  shadow: o,
149
- children: a,
150
- value: i,
150
+ children: e,
151
+ value: n,
151
152
  size: r = "md",
152
153
  shape: l = "default",
153
- variant: n = "default",
154
- error: x = !1,
155
- showLabel: L = !1,
156
- isFocused: m = !1,
157
- isHovered: b = !1,
158
- isDisabled: d = !1,
159
- isReadOnly: h = !1,
160
- views: s = { pickerBox: {} },
161
- ...f
154
+ variant: i = "default",
155
+ error: g = !1,
156
+ showLabel: N = !1,
157
+ isFocused: C = !1,
158
+ isHovered: z = !1,
159
+ isDisabled: s = !1,
160
+ isReadOnly: H = !1,
161
+ views: d = { pickerBox: {} },
162
+ themeContainer: p,
163
+ ...V
162
164
  }) => {
163
- const { themeMode: u } = z();
164
- return /* @__PURE__ */ t(
165
- g,
165
+ const { themeMode: k } = L(), T = k === "dark", m = (z || C) && !s, h = g ? "color-red-500" : m ? "theme-primary" : "color-gray-200", x = P[i];
166
+ let c = d == null ? void 0 : d.container;
167
+ if (p) {
168
+ const { borderRadius: O, ...b } = x ?? {}, W = i === "none" ? { borderWidth: 0, backgroundColor: "transparent" } : {
169
+ ...b,
170
+ borderColor: g || m ? h : b.borderColor
171
+ };
172
+ c = S(
173
+ { container: p },
174
+ { container: W },
175
+ { container: c }
176
+ ).container;
177
+ }
178
+ return /* @__PURE__ */ a(
179
+ y,
166
180
  {
167
181
  gap: 8,
168
182
  width: "100%",
@@ -172,26 +186,27 @@ const T = {
172
186
  alignItems: "center",
173
187
  justifyContent: "flex-start",
174
188
  borderStyle: "solid",
175
- borderColor: x ? "color-red-500" : (b || m) && !d ? "theme-primary" : "color-gray-200",
176
- backgroundColor: u === "dark" ? "color-gray-900" : "color-white",
177
- fontSize: H.fontSizes[r],
178
- cursor: d ? "not-allowed" : h ? "auto" : "text",
179
- opacity: d ? 0.7 : 1,
189
+ borderColor: h,
190
+ backgroundColor: T ? "color-gray-900" : "color-white",
191
+ fontSize: _.fontSizes[r],
192
+ cursor: s ? "not-allowed" : H ? "auto" : "text",
193
+ opacity: s ? 0.7 : 1,
194
+ _focusWithin: { outline: "2px solid theme-primary", outlineOffset: 2 },
180
195
  transition: "border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease",
181
- ...I(r),
196
+ ...M(r),
182
197
  ...typeof o == "object" && o !== null ? o : {},
183
- ...T[l],
184
- ...F[n],
185
- ...s == null ? void 0 : s.container,
186
- ...f,
187
- children: a
198
+ ...D[l],
199
+ ...!p && x,
200
+ ...c,
201
+ ...V,
202
+ children: e
188
203
  }
189
204
  );
190
- }, P = ({
191
- children: e,
205
+ }, U = ({
206
+ children: t,
192
207
  ...o
193
- }) => /* @__PURE__ */ t(
194
- g,
208
+ }) => /* @__PURE__ */ a(
209
+ y,
195
210
  {
196
211
  gap: 10,
197
212
  right: 10,
@@ -200,35 +215,35 @@ const T = {
200
215
  alignItems: "center",
201
216
  justifyContent: "flex-end",
202
217
  ...o,
203
- children: e
218
+ children: t
204
219
  }
205
- ), A = ({
206
- children: e,
220
+ ), X = ({
221
+ children: t,
207
222
  size: o = "md",
208
- error: a = !1,
209
- color: i = "theme-primary",
223
+ error: e = !1,
224
+ color: n = "theme-primary",
210
225
  views: r = { label: {} },
211
226
  helperText: l,
212
- ...n
213
- }) => /* @__PURE__ */ t(
214
- C,
227
+ ...i
228
+ }) => /* @__PURE__ */ a(
229
+ j,
215
230
  {
216
231
  position: "static",
217
- fontSize: W[o],
232
+ fontSize: B[o],
218
233
  letterSpacing: "-0.01em",
219
234
  whiteSpace: "nowrap",
220
235
  fontWeight: 500,
221
- color: a ? "theme-error" : "inherit",
236
+ color: e ? "theme-error" : "inherit",
222
237
  transition: "color 0.2s ease",
223
238
  ...r.label,
224
- ...n,
225
- children: e
239
+ ...i,
240
+ children: t
226
241
  }
227
- ), E = ({
228
- children: e,
242
+ ), Y = ({
243
+ children: t,
229
244
  ...o
230
- }) => /* @__PURE__ */ t(
231
- c,
245
+ }) => /* @__PURE__ */ a(
246
+ u,
232
247
  {
233
248
  display: "flex",
234
249
  flexDirection: "column",
@@ -238,15 +253,31 @@ const T = {
238
253
  maxWidth: "100%",
239
254
  boxSizing: "border-box",
240
255
  ...o,
241
- children: e
256
+ children: t
242
257
  }
243
258
  );
259
+ function Z(t, o) {
260
+ const e = I(t, o);
261
+ if (!e.themeViews) return { props: e.props };
262
+ const { container: n = {}, ...r } = e.themeViews;
263
+ return {
264
+ props: {
265
+ ...e.props,
266
+ views: S(
267
+ r,
268
+ e.props.views
269
+ )
270
+ },
271
+ themeContainer: n
272
+ };
273
+ }
244
274
  export {
245
- V as F,
246
- k as H,
247
- N as a,
248
- P as b,
249
- E as c,
250
- A as d
275
+ w as F,
276
+ $ as H,
277
+ Q as a,
278
+ U as b,
279
+ Y as c,
280
+ X as d,
281
+ Z as u
251
282
  };
252
- //# sourceMappingURL=FieldWrapper-Bb0j8Iog.mjs.map
283
+ //# sourceMappingURL=useFieldDesignSystemProps-BZj7d9gK.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFieldDesignSystemProps-BZj7d9gK.mjs","sources":["../../src/components/Input/HelperText/HelperText.tsx","../../src/components/Input/FieldContainer/FieldContainer.tsx","../../src/components/Input/Input.style.ts","../../src/components/Input/fieldSizes.ts","../../src/components/Input/FieldContent/FieldContent.tsx","../../src/components/Input/FieldIcons/FieldIcons.tsx","../../src/components/Input/FieldLabel/FieldLabel.tsx","../../src/components/Input/FieldWrapper/FieldWrapper.tsx","../../src/components/Input/useFieldDesignSystemProps.ts"],"sourcesContent":["/**\n * HelperText Component\n *\n * Renders helper text for form fields with appropriate styling\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Text } from 'app-studio';\n\nimport { HelperTextProps } from './HelperText.props';\n\nexport const HelperText: React.FC<HelperTextProps> = ({\n children,\n views = { helperText: {} },\n ...props\n}) => (\n <Text\n fontSize=\"11px\"\n fontWeight=\"400\"\n letterSpacing=\"-0.01em\"\n lineHeight=\"16px\"\n marginVertical={0}\n marginHorizontal={0}\n color=\"color-gray-500\"\n transition=\"color 0.2s ease, opacity 0.2s ease\"\n {...(views['helperText'] as any)}\n {...props}\n >\n {children}\n </Text>\n);\n","/**\n * FieldContainer Component\n *\n * Renders a container for a form field with helper text and error handling\n * according to the design guidelines.\n */\n\nimport React from 'react';\n\nimport { HelperText } from '../HelperText/HelperText';\n\nimport { ContainerProps } from './FieldContainer/FieldContainer.props';\nimport { Text } from 'app-studio';\nimport { Vertical } from 'app-studio';\n\nexport const FieldContainer = React.forwardRef<HTMLDivElement, ContainerProps>(\n ({ children, helperText, error = false, errorId, views, ...props }, ref) => (\n <Vertical\n ref={ref}\n gap={4}\n position=\"relative\"\n width=\"100%\"\n boxSizing=\"border-box\"\n marginVertical={0}\n {...props}\n {...views?.container}\n >\n {children}\n\n {!error && helperText && (\n <HelperText marginTop={0} {...views?.helperText}>\n {helperText}\n </HelperText>\n )}\n\n {error && (\n <Text\n id={errorId}\n fontSize=\"11px\"\n lineHeight=\"16px\"\n marginTop={0}\n marginHorizontal={0}\n fontWeight=\"500\"\n color=\"theme-error\"\n transition=\"color 0.2s ease, opacity 0.2s ease\"\n {...views?.error}\n >\n {error}\n </Text>\n )}\n </Vertical>\n )\n);\n\nFieldContainer.displayName = 'FieldContainer';\n","/**\n * Input Styles\n *\n * Defines the styles for input components following the design guidelines:\n * - Typography: Inter/Geist font, specific sizes/weights\n * - Spacing: 4px grid system\n * - Colors: Neutral palette with semantic colors\n * - Rounded corners: Consistent border radius\n * - Transitions: Subtle animations\n */\n\nimport { ViewProps } from 'app-studio';\nimport { Shape, Size, Variant } from './Input.type';\n\n/**\n * Shape styles for input components with consistent border radius\n */\nexport const Shapes: Record<Shape, ViewProps> = {\n default: {\n borderRadius: '8px', // Consistent with design system (rounded-md)\n },\n square: {\n borderRadius: 0,\n },\n rounded: {\n borderRadius: '8px', // Consistent with design system (rounded-md)\n },\n pill: {\n borderRadius: '9999px', // Full rounded for pill shape\n },\n};\n\n/**\n * Label sizes following the 4px grid system\n */\nexport const LabelSizes: Record<Size, string> = {\n xs: '10px',\n sm: '11px',\n md: '11px',\n lg: '12px',\n xl: '12px',\n};\n\n/**\n * Input variants with consistent styling\n * Design tokens:\n * - Transitions: 200ms ease-out for smooth, natural feel\n * - Focus ring: 3px offset with 15% opacity primary color\n * - Hover: Subtle background tint for better affordance\n */\nexport const InputVariants: Record<Variant, ViewProps> = {\n outline: {\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'color-gray-200',\n backgroundColor: 'transparent',\n color: 'inherit',\n transition:\n 'border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease',\n _hover: {\n borderColor: 'color-gray-300',\n },\n _focus: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n _focusVisible: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n },\n default: {\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'color-gray-200',\n borderRadius: '8px',\n backgroundColor: 'transparent',\n color: 'inherit',\n transition:\n 'border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease',\n _hover: {\n borderColor: 'color-gray-300',\n },\n _focus: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n _focusVisible: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n },\n none: {\n border: 'none',\n style: { backgroundColor: 'transparent' },\n color: 'inherit',\n transition: 'background-color 0.2s ease',\n },\n};\n\n/*\n * `PadddingWithLabel` and `PaddingWithoutLabel` used to live here. They were\n * removed rather than renamed (the first was misspelled with three d's) because\n * they had stopped meaning anything:\n *\n * - the two were byte-identical, so the `showLabel ? a : b` choice between\n * them had no effect;\n * - both were size-independent 10px/12px, which is why every field rendered\n * at roughly `md` height whatever size was requested;\n * - their `media.mobile` block repeated the same values, and being a nested\n * media rule it would have won over the size scale at mobile widths —\n * quietly pinning `xs` and `xl` fields back to `md` padding on phones.\n *\n * Field padding now comes from `Input/fieldSizes` via FieldContent.\n */\n","/**\n * The canonical size scale for form fields.\n *\n * One source of truth, because there used to be several: TextField and Select\n * each declared their own `fieldSizeStyles`, ComboBox declared a third in its\n * style file (with `xs` at 28px rather than 24px), and DatePicker, TagInput and\n * CountryPicker declared none at all — so they fell back to a fixed 10px\n * padding and rendered the same height at every size.\n *\n * The vertical metrics match `ButtonSizes`, so a Button and a field of the same\n * size line up in a row without any alignment work.\n *\n * `paddingVertical` is chosen so that padding + the input's natural line box +\n * the 1px border stays *under* `minHeight` at every size. `minHeight` is then\n * the binding constraint and each field renders at exactly its declared height,\n * while still being free to grow when its content wraps (TagInput chips, for\n * instance).\n */\n\nimport { Size } from './Input.type';\n\nexport interface FieldSizeMetrics {\n minHeight: number;\n paddingVertical: number;\n paddingHorizontal: number;\n}\n\nexport const FieldSizes: Record<Size, FieldSizeMetrics> = {\n xs: { minHeight: 24, paddingVertical: 4, paddingHorizontal: 10 },\n sm: { minHeight: 32, paddingVertical: 7, paddingHorizontal: 10 },\n md: { minHeight: 40, paddingVertical: 9, paddingHorizontal: 12 },\n lg: { minHeight: 48, paddingVertical: 11, paddingHorizontal: 14 },\n xl: { minHeight: 56, paddingVertical: 13, paddingHorizontal: 16 },\n};\n\n/** Field metrics as `ViewProps`, ready to spread onto the field shell. */\nexport const fieldSizeProps = (size: Size) => {\n const { minHeight, paddingVertical, paddingHorizontal } = FieldSizes[size];\n return {\n minHeight: `${minHeight}px`,\n paddingTop: `${paddingVertical}px`,\n paddingBottom: `${paddingVertical}px`,\n paddingLeft: `${paddingHorizontal}px`,\n paddingRight: `${paddingHorizontal}px`,\n };\n};\n","/**\n * FieldContent Component\n *\n * Renders the content area of a form field with various styles and states\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Typography, useTheme } from 'app-studio';\n\nimport { InputVariants, Shapes } from '../Input.style';\nimport { fieldSizeProps } from '../fieldSizes';\nimport { Horizontal } from 'app-studio';\n\nimport { ContentProps } from './FieldContent/FieldContent.props';\nimport { mergeDesignSystemViews } from 'src/design-system/theme';\n\nexport const FieldContent: React.FC<ContentProps> = ({\n label,\n shadow,\n children,\n value,\n size = 'md',\n shape = 'default',\n variant = 'default',\n error = false,\n showLabel = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n views = { pickerBox: {} },\n themeContainer,\n ...props\n}) => {\n const { themeMode } = useTheme();\n const isDark = themeMode === 'dark';\n\n // Determine if the field is in an interactive state\n const isInteractive = (isHovered || isFocused) && !isDisabled;\n const color = error\n ? 'color-red-500'\n : isInteractive\n ? 'theme-primary'\n : 'color-gray-200';\n const variantStyle = InputVariants[variant];\n let container = views?.container;\n if (themeContainer) {\n const { borderRadius, ...style } = variantStyle ?? {};\n const decoration =\n variant === 'none'\n ? { borderWidth: 0, backgroundColor: 'transparent' }\n : {\n ...style,\n borderColor: error || isInteractive ? color : style.borderColor,\n };\n container = mergeDesignSystemViews(\n { container: themeContainer },\n { container: decoration },\n { container }\n ).container;\n }\n\n return (\n <Horizontal\n gap={8}\n width=\"100%\"\n // Fields set `width: 100%` and then add their own padding/border, so they\n // only fit their container under border-box. Declared here rather than\n // relying on a host `* { box-sizing: border-box }` reset, whose absence\n // otherwise makes every field overflow its parent by padding + border.\n boxSizing=\"border-box\"\n display=\"flex\"\n flexWrap=\"nowrap\"\n alignItems=\"center\"\n justifyContent=\"flex-start\"\n borderStyle=\"solid\"\n borderColor={color}\n backgroundColor={isDark ? 'color-gray-900' : 'color-white'}\n fontSize={Typography.fontSizes[size]}\n cursor={isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'text'}\n opacity={isDisabled ? 0.7 : 1}\n _focusWithin={{ outline: '2px solid theme-primary', outlineOffset: 2 }}\n transition=\"border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease\"\n // Sizing belongs to the shell, not to each field: without it every field\n // rendered at roughly `md` height whatever size was asked for. Placed\n // before `views`/`props` so a caller can still override.\n {...fieldSizeProps(size)}\n {...(typeof shadow === 'object' && shadow !== null ? shadow : {})}\n {...Shapes[shape]}\n {...(!themeContainer && variantStyle)}\n {...container}\n {...props}\n >\n {children}\n </Horizontal>\n );\n};\n","import React from 'react';\nimport { Horizontal } from 'app-studio';\n\nimport { FieldIconsProps } from './FieldIcons/FieldIcons.props';\n\nexport const FieldIcons: React.FC<FieldIconsProps> = ({\n children,\n ...props\n}) => (\n <Horizontal\n gap={10}\n right={10}\n zIndex={500}\n flexWrap=\"nowrap\"\n alignItems=\"center\"\n justifyContent=\"flex-end\"\n {...props}\n >\n {children}\n </Horizontal>\n);\n","/**\n * FieldLabel Component\n *\n * Renders a label for a form field with various styles and states\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Label } from '../../Form/Label/Label';\n\nimport { LabelSizes } from '../Input.style';\n\nimport { LabelProps } from './FieldLabel/FieldLabel.props';\n\nexport const FieldLabel: React.FC<LabelProps> = ({\n children,\n size = 'md',\n error = false,\n color = 'theme-primary',\n views = { label: {} },\n helperText,\n ...props\n}) => (\n <Label\n position=\"static\"\n fontSize={LabelSizes[size]}\n letterSpacing=\"-0.01em\"\n whiteSpace=\"nowrap\"\n fontWeight={500}\n // Full opacity always: dimming inherited ink to 0.72 at 11–12px lands\n // under the 4.5:1 contrast ratio and fails axe (serious) on every form\n // screen. De-emphasis, where a design wants it, belongs to a color token\n // that still clears the ratio — not to an opacity filter.\n color={error ? 'theme-error' : 'inherit'}\n transition=\"color 0.2s ease\"\n {...views['label']}\n {...props}\n >\n {children}\n </Label>\n);\n","/**\n * FieldWrapper Component\n *\n * Renders a wrapper for form field content with appropriate styling\n * according to the design guidelines.\n */\n\nimport React from 'react';\n\nimport { Vertical } from 'app-studio';\n\nimport { WrapperFieldProps } from './FieldWrapper.props';\n\nexport const FieldWrapper: React.FC<WrapperFieldProps> = ({\n children,\n ...props\n}) => (\n <Vertical\n display=\"flex\"\n flexDirection=\"column\"\n gap={4}\n flex={1}\n width=\"100%\"\n maxWidth=\"100%\"\n boxSizing=\"border-box\"\n {...props}\n >\n {children}\n </Vertical>\n);\n","import type { ViewProps } from 'app-studio';\nimport {\n mergeDesignSystemViews,\n useDesignSystemComponentLayers,\n} from 'src/design-system/theme';\n\nexport function useFieldDesignSystemProps<\n T extends { views?: { container?: ViewProps } }\n>(\n name: 'input' | 'select',\n props: T\n): { props: T; themeContainer?: ViewProps } {\n const layers = useDesignSystemComponentLayers(name, props);\n if (!layers.themeViews) return { props: layers.props };\n\n const { container = {}, ...otherThemeViews } = layers.themeViews;\n return {\n props: {\n ...layers.props,\n views: mergeDesignSystemViews(\n otherThemeViews as Partial<NonNullable<T['views']>>,\n layers.props.views\n ),\n },\n themeContainer: container,\n };\n}\n"],"names":["HelperText","children","views","props","jsx","Text","FieldContainer","React","helperText","error","errorId","ref","jsxs","Vertical","Shapes","LabelSizes","InputVariants","FieldSizes","fieldSizeProps","size","minHeight","paddingVertical","paddingHorizontal","FieldContent","label","shadow","value","shape","variant","showLabel","isFocused","isHovered","isDisabled","isReadOnly","themeContainer","themeMode","useTheme","isDark","isInteractive","color","variantStyle","container","borderRadius","style","decoration","mergeDesignSystemViews","Horizontal","Typography","FieldIcons","FieldLabel","Label","FieldWrapper","useFieldDesignSystemProps","name","layers","useDesignSystemComponentLayers","otherThemeViews"],"mappings":";;;;;AAYO,MAAMA,IAAwC,CAAC;AAAA,EACpD,UAAAC;AAAA,EACA,OAAAC,IAAQ,EAAE,YAAY,GAAC;AAAA,EACvB,GAAGC;AACL,MACE,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,UAAS;AAAA,IACT,YAAW;AAAA,IACX,eAAc;AAAA,IACd,YAAW;AAAA,IACX,gBAAgB;AAAA,IAChB,kBAAkB;AAAA,IAClB,OAAM;AAAA,IACN,YAAW;AAAA,IACV,GAAIH,EAAM;AAAA,IACV,GAAGC;AAAA,IAEH,UAAAF;AAAA,EAAA;AACH,GCfWK,IAAiBC,EAAM;AAAA,EAClC,CAAC,EAAE,UAAAN,GAAU,YAAAO,GAAY,OAAAC,IAAQ,IAAO,SAAAC,GAAS,OAAAR,GAAO,GAAGC,KAASQ,MAClE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,KAAK;AAAA,MACL,UAAS;AAAA,MACT,OAAM;AAAA,MACN,WAAU;AAAA,MACV,gBAAgB;AAAA,MACf,GAAGR;AAAA,MACH,GAAGD,KAAA,gBAAAA,EAAO;AAAA,MAEV,UAAA;AAAA,QAAAD;AAAA,QAEA,CAACQ,KAASD,KACT,gBAAAJ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AAGV;AAAA,IAEH,UAAAF;AAAA,EAAA;AACH;ACtBK,SAASmD,EAGdC,GACAlD,GAC0C;AAC1C,QAAMmD,IAASC,EAA+BF,GAAMlD,CAAK;AACzD,MAAI,CAACmD,EAAO,mBAAmB,EAAE,OAAOA,EAAO,MAAA;AAE/C,QAAM,EAAE,WAAAb,IAAY,CAAA,GAAI,GAAGe,EAAA,IAAoBF,EAAO;AACtD,SAAO;AAAA,IACL,OAAO;AAAA,MACL,GAAGA,EAAO;AAAA,MACV,OAAOT;AAAA,QACLW;AAAA,QACAF,EAAO,MAAM;AAAA,MAAA;AAAA,IACf;AAAA,IAEF,gBAAgBb;AAAA,EAAA;AAEpB;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const i=require("react/jsx-runtime"),k=require("react"),a=require("app-studio"),x=require("../theme.cjs.js"),W=require("./Label-Bd0TpfkG.cjs"),y=({children:t,views:e={helperText:{}},...o})=>i.jsx(a.Text,{fontSize:"11px",fontWeight:"400",letterSpacing:"-0.01em",lineHeight:"16px",marginVertical:0,marginHorizontal:0,color:"color-gray-500",transition:"color 0.2s ease, opacity 0.2s ease",...e.helperText,...o,children:t}),S=k.forwardRef(({children:t,helperText:e,error:o=!1,errorId:n,views:r,...s},l)=>i.jsxs(a.Vertical,{ref:l,gap:4,position:"relative",width:"100%",boxSizing:"border-box",marginVertical:0,...s,...r==null?void 0:r.container,children:[t,!o&&e&&i.jsx(y,{marginTop:0,...r==null?void 0:r.helperText,children:e}),o&&i.jsx(a.Text,{id:n,fontSize:"11px",lineHeight:"16px",marginTop:0,marginHorizontal:0,fontWeight:"500",color:"theme-error",transition:"color 0.2s ease, opacity 0.2s ease",...r==null?void 0:r.error,children:o})]}));S.displayName="FieldContainer";const R={default:{borderRadius:"8px"},square:{borderRadius:0},rounded:{borderRadius:"8px"},pill:{borderRadius:"9999px"}},L={xs:"10px",sm:"11px",md:"11px",lg:"12px",xl:"12px"},I={outline:{borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",backgroundColor:"transparent",color:"inherit",transition:"border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease",_hover:{borderColor:"color-gray-300"},_focus:{borderColor:"theme-primary",outline:"none",boxShadow:"0 0 0 3px theme-primary"},_focusVisible:{borderColor:"theme-primary",outline:"none",boxShadow:"0 0 0 3px theme-primary"}},default:{borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",borderRadius:"8px",backgroundColor:"transparent",color:"inherit",transition:"border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease",_hover:{borderColor:"color-gray-300"},_focus:{borderColor:"theme-primary",outline:"none",boxShadow:"0 0 0 3px theme-primary"},_focusVisible:{borderColor:"theme-primary",outline:"none",boxShadow:"0 0 0 3px theme-primary"}},none:{border:"none",style:{backgroundColor:"transparent"},color:"inherit",transition:"background-color 0.2s ease"}},_={xs:{minHeight:24,paddingVertical:4,paddingHorizontal:10},sm:{minHeight:32,paddingVertical:7,paddingHorizontal:10},md:{minHeight:40,paddingVertical:9,paddingHorizontal:12},lg:{minHeight:48,paddingVertical:11,paddingHorizontal:14},xl:{minHeight:56,paddingVertical:13,paddingHorizontal:16}},q=t=>{const{minHeight:e,paddingVertical:o,paddingHorizontal:n}=_[t];return{minHeight:`${e}px`,paddingTop:`${o}px`,paddingBottom:`${o}px`,paddingLeft:`${n}px`,paddingRight:`${n}px`}},w=({label:t,shadow:e,children:o,value:n,size:r="md",shape:s="default",variant:l="default",error:m=!1,showLabel:M=!1,isFocused:C=!1,isHovered:z=!1,isDisabled:d=!1,isReadOnly:H=!1,views:p={pickerBox:{}},themeContainer:c,...V})=>{const{themeMode:F}=a.useTheme(),T=F==="dark",h=(z||C)&&!d,b=m?"color-red-500":h?"theme-primary":"color-gray-200",u=I[l];let g=p==null?void 0:p.container;if(c){const{borderRadius:N,...f}=u??{},j=l==="none"?{borderWidth:0,backgroundColor:"transparent"}:{...f,borderColor:m||h?b:f.borderColor};g=x.mergeDesignSystemViews({container:c},{container:j},{container:g}).container}return i.jsx(a.Horizontal,{gap:8,width:"100%",boxSizing:"border-box",display:"flex",flexWrap:"nowrap",alignItems:"center",justifyContent:"flex-start",borderStyle:"solid",borderColor:b,backgroundColor:T?"color-gray-900":"color-white",fontSize:a.Typography.fontSizes[r],cursor:d?"not-allowed":H?"auto":"text",opacity:d?.7:1,_focusWithin:{outline:"2px solid theme-primary",outlineOffset:2},transition:"border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease",...q(r),...typeof e=="object"&&e!==null?e:{},...R[s],...!c&&u,...g,...V,children:o})},D=({children:t,...e})=>i.jsx(a.Horizontal,{gap:10,right:10,zIndex:500,flexWrap:"nowrap",alignItems:"center",justifyContent:"flex-end",...e,children:t}),$=({children:t,size:e="md",error:o=!1,color:n="theme-primary",views:r={label:{}},helperText:s,...l})=>i.jsx(W.Label,{position:"static",fontSize:L[e],letterSpacing:"-0.01em",whiteSpace:"nowrap",fontWeight:500,color:o?"theme-error":"inherit",transition:"color 0.2s ease",...r.label,...l,children:t}),P=({children:t,...e})=>i.jsx(a.Vertical,{display:"flex",flexDirection:"column",gap:4,flex:1,width:"100%",maxWidth:"100%",boxSizing:"border-box",...e,children:t});function B(t,e){const o=x.useDesignSystemComponentLayers(t,e);if(!o.themeViews)return{props:o.props};const{container:n={},...r}=o.themeViews;return{props:{...o.props,views:x.mergeDesignSystemViews(r,o.props.views)},themeContainer:n}}exports.FieldContainer=S;exports.FieldContent=w;exports.FieldIcons=D;exports.FieldLabel=$;exports.FieldWrapper=P;exports.HelperText=y;exports.useFieldDesignSystemProps=B;
2
+ //# sourceMappingURL=useFieldDesignSystemProps-CgVU3R10.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFieldDesignSystemProps-CgVU3R10.cjs","sources":["../../src/components/Input/HelperText/HelperText.tsx","../../src/components/Input/FieldContainer/FieldContainer.tsx","../../src/components/Input/Input.style.ts","../../src/components/Input/fieldSizes.ts","../../src/components/Input/FieldContent/FieldContent.tsx","../../src/components/Input/FieldIcons/FieldIcons.tsx","../../src/components/Input/FieldLabel/FieldLabel.tsx","../../src/components/Input/FieldWrapper/FieldWrapper.tsx","../../src/components/Input/useFieldDesignSystemProps.ts"],"sourcesContent":["/**\n * HelperText Component\n *\n * Renders helper text for form fields with appropriate styling\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Text } from 'app-studio';\n\nimport { HelperTextProps } from './HelperText.props';\n\nexport const HelperText: React.FC<HelperTextProps> = ({\n children,\n views = { helperText: {} },\n ...props\n}) => (\n <Text\n fontSize=\"11px\"\n fontWeight=\"400\"\n letterSpacing=\"-0.01em\"\n lineHeight=\"16px\"\n marginVertical={0}\n marginHorizontal={0}\n color=\"color-gray-500\"\n transition=\"color 0.2s ease, opacity 0.2s ease\"\n {...(views['helperText'] as any)}\n {...props}\n >\n {children}\n </Text>\n);\n","/**\n * FieldContainer Component\n *\n * Renders a container for a form field with helper text and error handling\n * according to the design guidelines.\n */\n\nimport React from 'react';\n\nimport { HelperText } from '../HelperText/HelperText';\n\nimport { ContainerProps } from './FieldContainer/FieldContainer.props';\nimport { Text } from 'app-studio';\nimport { Vertical } from 'app-studio';\n\nexport const FieldContainer = React.forwardRef<HTMLDivElement, ContainerProps>(\n ({ children, helperText, error = false, errorId, views, ...props }, ref) => (\n <Vertical\n ref={ref}\n gap={4}\n position=\"relative\"\n width=\"100%\"\n boxSizing=\"border-box\"\n marginVertical={0}\n {...props}\n {...views?.container}\n >\n {children}\n\n {!error && helperText && (\n <HelperText marginTop={0} {...views?.helperText}>\n {helperText}\n </HelperText>\n )}\n\n {error && (\n <Text\n id={errorId}\n fontSize=\"11px\"\n lineHeight=\"16px\"\n marginTop={0}\n marginHorizontal={0}\n fontWeight=\"500\"\n color=\"theme-error\"\n transition=\"color 0.2s ease, opacity 0.2s ease\"\n {...views?.error}\n >\n {error}\n </Text>\n )}\n </Vertical>\n )\n);\n\nFieldContainer.displayName = 'FieldContainer';\n","/**\n * Input Styles\n *\n * Defines the styles for input components following the design guidelines:\n * - Typography: Inter/Geist font, specific sizes/weights\n * - Spacing: 4px grid system\n * - Colors: Neutral palette with semantic colors\n * - Rounded corners: Consistent border radius\n * - Transitions: Subtle animations\n */\n\nimport { ViewProps } from 'app-studio';\nimport { Shape, Size, Variant } from './Input.type';\n\n/**\n * Shape styles for input components with consistent border radius\n */\nexport const Shapes: Record<Shape, ViewProps> = {\n default: {\n borderRadius: '8px', // Consistent with design system (rounded-md)\n },\n square: {\n borderRadius: 0,\n },\n rounded: {\n borderRadius: '8px', // Consistent with design system (rounded-md)\n },\n pill: {\n borderRadius: '9999px', // Full rounded for pill shape\n },\n};\n\n/**\n * Label sizes following the 4px grid system\n */\nexport const LabelSizes: Record<Size, string> = {\n xs: '10px',\n sm: '11px',\n md: '11px',\n lg: '12px',\n xl: '12px',\n};\n\n/**\n * Input variants with consistent styling\n * Design tokens:\n * - Transitions: 200ms ease-out for smooth, natural feel\n * - Focus ring: 3px offset with 15% opacity primary color\n * - Hover: Subtle background tint for better affordance\n */\nexport const InputVariants: Record<Variant, ViewProps> = {\n outline: {\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'color-gray-200',\n backgroundColor: 'transparent',\n color: 'inherit',\n transition:\n 'border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease',\n _hover: {\n borderColor: 'color-gray-300',\n },\n _focus: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n _focusVisible: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n },\n default: {\n borderWidth: '1px',\n borderStyle: 'solid',\n borderColor: 'color-gray-200',\n borderRadius: '8px',\n backgroundColor: 'transparent',\n color: 'inherit',\n transition:\n 'border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease',\n _hover: {\n borderColor: 'color-gray-300',\n },\n _focus: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n _focusVisible: {\n borderColor: 'theme-primary',\n outline: 'none',\n boxShadow: '0 0 0 3px theme-primary',\n },\n },\n none: {\n border: 'none',\n style: { backgroundColor: 'transparent' },\n color: 'inherit',\n transition: 'background-color 0.2s ease',\n },\n};\n\n/*\n * `PadddingWithLabel` and `PaddingWithoutLabel` used to live here. They were\n * removed rather than renamed (the first was misspelled with three d's) because\n * they had stopped meaning anything:\n *\n * - the two were byte-identical, so the `showLabel ? a : b` choice between\n * them had no effect;\n * - both were size-independent 10px/12px, which is why every field rendered\n * at roughly `md` height whatever size was requested;\n * - their `media.mobile` block repeated the same values, and being a nested\n * media rule it would have won over the size scale at mobile widths —\n * quietly pinning `xs` and `xl` fields back to `md` padding on phones.\n *\n * Field padding now comes from `Input/fieldSizes` via FieldContent.\n */\n","/**\n * The canonical size scale for form fields.\n *\n * One source of truth, because there used to be several: TextField and Select\n * each declared their own `fieldSizeStyles`, ComboBox declared a third in its\n * style file (with `xs` at 28px rather than 24px), and DatePicker, TagInput and\n * CountryPicker declared none at all — so they fell back to a fixed 10px\n * padding and rendered the same height at every size.\n *\n * The vertical metrics match `ButtonSizes`, so a Button and a field of the same\n * size line up in a row without any alignment work.\n *\n * `paddingVertical` is chosen so that padding + the input's natural line box +\n * the 1px border stays *under* `minHeight` at every size. `minHeight` is then\n * the binding constraint and each field renders at exactly its declared height,\n * while still being free to grow when its content wraps (TagInput chips, for\n * instance).\n */\n\nimport { Size } from './Input.type';\n\nexport interface FieldSizeMetrics {\n minHeight: number;\n paddingVertical: number;\n paddingHorizontal: number;\n}\n\nexport const FieldSizes: Record<Size, FieldSizeMetrics> = {\n xs: { minHeight: 24, paddingVertical: 4, paddingHorizontal: 10 },\n sm: { minHeight: 32, paddingVertical: 7, paddingHorizontal: 10 },\n md: { minHeight: 40, paddingVertical: 9, paddingHorizontal: 12 },\n lg: { minHeight: 48, paddingVertical: 11, paddingHorizontal: 14 },\n xl: { minHeight: 56, paddingVertical: 13, paddingHorizontal: 16 },\n};\n\n/** Field metrics as `ViewProps`, ready to spread onto the field shell. */\nexport const fieldSizeProps = (size: Size) => {\n const { minHeight, paddingVertical, paddingHorizontal } = FieldSizes[size];\n return {\n minHeight: `${minHeight}px`,\n paddingTop: `${paddingVertical}px`,\n paddingBottom: `${paddingVertical}px`,\n paddingLeft: `${paddingHorizontal}px`,\n paddingRight: `${paddingHorizontal}px`,\n };\n};\n","/**\n * FieldContent Component\n *\n * Renders the content area of a form field with various styles and states\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Typography, useTheme } from 'app-studio';\n\nimport { InputVariants, Shapes } from '../Input.style';\nimport { fieldSizeProps } from '../fieldSizes';\nimport { Horizontal } from 'app-studio';\n\nimport { ContentProps } from './FieldContent/FieldContent.props';\nimport { mergeDesignSystemViews } from 'src/design-system/theme';\n\nexport const FieldContent: React.FC<ContentProps> = ({\n label,\n shadow,\n children,\n value,\n size = 'md',\n shape = 'default',\n variant = 'default',\n error = false,\n showLabel = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n views = { pickerBox: {} },\n themeContainer,\n ...props\n}) => {\n const { themeMode } = useTheme();\n const isDark = themeMode === 'dark';\n\n // Determine if the field is in an interactive state\n const isInteractive = (isHovered || isFocused) && !isDisabled;\n const color = error\n ? 'color-red-500'\n : isInteractive\n ? 'theme-primary'\n : 'color-gray-200';\n const variantStyle = InputVariants[variant];\n let container = views?.container;\n if (themeContainer) {\n const { borderRadius, ...style } = variantStyle ?? {};\n const decoration =\n variant === 'none'\n ? { borderWidth: 0, backgroundColor: 'transparent' }\n : {\n ...style,\n borderColor: error || isInteractive ? color : style.borderColor,\n };\n container = mergeDesignSystemViews(\n { container: themeContainer },\n { container: decoration },\n { container }\n ).container;\n }\n\n return (\n <Horizontal\n gap={8}\n width=\"100%\"\n // Fields set `width: 100%` and then add their own padding/border, so they\n // only fit their container under border-box. Declared here rather than\n // relying on a host `* { box-sizing: border-box }` reset, whose absence\n // otherwise makes every field overflow its parent by padding + border.\n boxSizing=\"border-box\"\n display=\"flex\"\n flexWrap=\"nowrap\"\n alignItems=\"center\"\n justifyContent=\"flex-start\"\n borderStyle=\"solid\"\n borderColor={color}\n backgroundColor={isDark ? 'color-gray-900' : 'color-white'}\n fontSize={Typography.fontSizes[size]}\n cursor={isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'text'}\n opacity={isDisabled ? 0.7 : 1}\n _focusWithin={{ outline: '2px solid theme-primary', outlineOffset: 2 }}\n transition=\"border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease\"\n // Sizing belongs to the shell, not to each field: without it every field\n // rendered at roughly `md` height whatever size was asked for. Placed\n // before `views`/`props` so a caller can still override.\n {...fieldSizeProps(size)}\n {...(typeof shadow === 'object' && shadow !== null ? shadow : {})}\n {...Shapes[shape]}\n {...(!themeContainer && variantStyle)}\n {...container}\n {...props}\n >\n {children}\n </Horizontal>\n );\n};\n","import React from 'react';\nimport { Horizontal } from 'app-studio';\n\nimport { FieldIconsProps } from './FieldIcons/FieldIcons.props';\n\nexport const FieldIcons: React.FC<FieldIconsProps> = ({\n children,\n ...props\n}) => (\n <Horizontal\n gap={10}\n right={10}\n zIndex={500}\n flexWrap=\"nowrap\"\n alignItems=\"center\"\n justifyContent=\"flex-end\"\n {...props}\n >\n {children}\n </Horizontal>\n);\n","/**\n * FieldLabel Component\n *\n * Renders a label for a form field with various styles and states\n * according to the design guidelines.\n */\n\nimport React from 'react';\nimport { Label } from '../../Form/Label/Label';\n\nimport { LabelSizes } from '../Input.style';\n\nimport { LabelProps } from './FieldLabel/FieldLabel.props';\n\nexport const FieldLabel: React.FC<LabelProps> = ({\n children,\n size = 'md',\n error = false,\n color = 'theme-primary',\n views = { label: {} },\n helperText,\n ...props\n}) => (\n <Label\n position=\"static\"\n fontSize={LabelSizes[size]}\n letterSpacing=\"-0.01em\"\n whiteSpace=\"nowrap\"\n fontWeight={500}\n // Full opacity always: dimming inherited ink to 0.72 at 11–12px lands\n // under the 4.5:1 contrast ratio and fails axe (serious) on every form\n // screen. De-emphasis, where a design wants it, belongs to a color token\n // that still clears the ratio — not to an opacity filter.\n color={error ? 'theme-error' : 'inherit'}\n transition=\"color 0.2s ease\"\n {...views['label']}\n {...props}\n >\n {children}\n </Label>\n);\n","/**\n * FieldWrapper Component\n *\n * Renders a wrapper for form field content with appropriate styling\n * according to the design guidelines.\n */\n\nimport React from 'react';\n\nimport { Vertical } from 'app-studio';\n\nimport { WrapperFieldProps } from './FieldWrapper.props';\n\nexport const FieldWrapper: React.FC<WrapperFieldProps> = ({\n children,\n ...props\n}) => (\n <Vertical\n display=\"flex\"\n flexDirection=\"column\"\n gap={4}\n flex={1}\n width=\"100%\"\n maxWidth=\"100%\"\n boxSizing=\"border-box\"\n {...props}\n >\n {children}\n </Vertical>\n);\n","import type { ViewProps } from 'app-studio';\nimport {\n mergeDesignSystemViews,\n useDesignSystemComponentLayers,\n} from 'src/design-system/theme';\n\nexport function useFieldDesignSystemProps<\n T extends { views?: { container?: ViewProps } }\n>(\n name: 'input' | 'select',\n props: T\n): { props: T; themeContainer?: ViewProps } {\n const layers = useDesignSystemComponentLayers(name, props);\n if (!layers.themeViews) return { props: layers.props };\n\n const { container = {}, ...otherThemeViews } = layers.themeViews;\n return {\n props: {\n ...layers.props,\n views: mergeDesignSystemViews(\n otherThemeViews as Partial<NonNullable<T['views']>>,\n layers.props.views\n ),\n },\n themeContainer: container,\n };\n}\n"],"names":["HelperText","children","views","props","jsx","Text","FieldContainer","React","helperText","error","errorId","ref","jsxs","Vertical","Shapes","LabelSizes","InputVariants","FieldSizes","fieldSizeProps","size","minHeight","paddingVertical","paddingHorizontal","FieldContent","label","shadow","value","shape","variant","showLabel","isFocused","isHovered","isDisabled","isReadOnly","themeContainer","themeMode","useTheme","isDark","isInteractive","color","variantStyle","container","borderRadius","style","decoration","mergeDesignSystemViews","Horizontal","Typography","FieldIcons","FieldLabel","Label","FieldWrapper","useFieldDesignSystemProps","name","layers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AAAF,CAAA,CAAA,CAGP,EC5Fa+C,EAAwC,CAAC,CACpD,SAAA/C,EACA,GAAGE,CACL,IACEC,EAAAA,IAAC0C,EAAAA,WAAA,CACC,IAAK,GACL,MAAO,GACP,OAAQ,IACR,SAAS,SACT,WAAW,SACX,eAAe,WACd,GAAG3C,EAEH,SAAAF,CAAA,CACH,ECLWgD,EAAmC,CAAC,CAC/C,SAAAhD,EACA,KAAAkB,EAAO,KACP,MAAAV,EAAQ,GACR,MAAA8B,EAAQ,gBACR,MAAArC,EAAQ,CAAE,MAAO,EAAC,EAClB,WAAAM,EACA,GAAGL,CACL,IACEC,EAAAA,IAAC8C,EAAAA,MAAA,CACC,SAAS,SACT,SAAUnC,EAAWI,CAAI,EACzB,cAAc,UACd,WAAW,SACX,WAAY,IAKZ,MAAOV,EAAQ,cAAgB,UAC/B,WAAW,kBACV,GAAGP,EAAM,MACT,GAAGC,EAEH,SAAAF,CAAA,CACH,EC1BWkD,EAA4C,CAAC,CACxD,SAAAlD,EACA,GAAGE,CACL,IACEC,EAAAA,IAACS,EAAAA,SAAA,CACC,QAAQ,OACR,cAAc,SACd,IAAK,EACL,KAAM,EACN,MAAM,OACN,SAAS,OACT,UAAU,aACT,GAAGV,EAEH,SAAAF,CAAA,CACH,ECtBK,SAASmD,EAGdC,EACAlD,EAC0C,CAC1C,MAAMmD,EAASC,EAAAA,+BAA+BF,EAAMlD,CAAK,EACzD,GAAI,CAACmD,EAAO,iBAAmB,CAAE,MAAOA,EAAO,KAAA,EAE/C,KAAM,CAAE,UAAAb,EAAY,CAAA,EAAI,GAAGe,CAAA,EAAoBF,EAAO,WACtD,MAAO,CACL,MAAO,CACL,GAAGA,EAAO,MACV,MAAOT,EAAAA,uBACLW,EACAF,EAAO,MAAM,KAAA,CACf,EAEF,eAAgBb,CAAA,CAEpB"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("react/jsx-runtime");require("react");require("app-studio");const e=require("./chunks/designSystem.page-B74Vm2Dt.cjs");require("react-dom");require("./chunks/Icon-C37alecH.cjs");require("./chunks/Alert-Bjl40k3x.cjs");require("./chunks/Avatar-BB0DeN9j.cjs");require("./chunks/Card-CNSl9fD5.cjs");require("./chunks/Loader-4V81BN95.cjs");require("./chunks/Select-C6R0Tei-.cjs");require("./chunks/Switch-D80yPNFV.cjs");require("./chunks/FieldWrapper-DRCn7BLi.cjs");require("./chunks/TextField-Da4JCcAU.cjs");require("./chunks/Checkbox-CAI6RtuO.cjs");require("lucide-react");require("./chunks/Icon.frame-DD6ycsWD.cjs");require("./link.cjs.js");require("./chunks/Tabs-DQeBJwkz.cjs");require("./theme.cjs.js");require("./chunks/Formik.Uploader-D0nzjyau.cjs");require("./presets.cjs.js");require("formik");require("./chunks/Modal-zok954As.cjs");require("./chunks/Router.store-Bxe2uZWk.cjs");exports.DesignSystem=e.DesignSystem;exports.default=e.DesignSystemPage;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("react/jsx-runtime");require("react");require("app-studio");const e=require("./chunks/designSystem.page-BgmjSYsz.cjs");require("react-dom");require("./chunks/Icon-C37alecH.cjs");require("./chunks/Alert-BHlgJZAo.cjs");require("./chunks/Avatar-DtfD7QQ6.cjs");require("./chunks/Card-CK_D7gzP.cjs");require("./chunks/Loader-4V81BN95.cjs");require("./chunks/Select-DRMUC3NX.cjs");require("./chunks/Switch-DqgmPp8M.cjs");require("./chunks/useFieldDesignSystemProps-CgVU3R10.cjs");require("./chunks/TextField-CwaxvcqN.cjs");require("./chunks/Checkbox-BXbEChdd.cjs");require("./theme.cjs.js");require("lucide-react");require("./chunks/Icon.frame-DD6ycsWD.cjs");require("./link.cjs.js");require("./chunks/Tabs-DneEt-le.cjs");require("./chunks/Formik.Uploader-DePTdd7A.cjs");require("./presets.cjs.js");require("formik");require("./chunks/Modal-BzlrQQu5.cjs");require("./chunks/Router.store-Bxe2uZWk.cjs");exports.DesignSystem=e.DesignSystem;exports.default=e.DesignSystemPage;
2
2
  //# sourceMappingURL=design-system-preview.cjs.js.map
@@ -1,27 +1,27 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "app-studio";
4
- import { o as v, W as w } from "./chunks/designSystem.page-K0ajTvy7.mjs";
4
+ import { o as v, W as w } from "./chunks/designSystem.page-CM_h09Ui.mjs";
5
5
  import "react-dom";
6
- import "./chunks/Icon-DrAZswNH.mjs";
7
- import "./chunks/Alert-Q1HlVX8f.mjs";
8
- import "./chunks/Avatar-D-GkyL2c.mjs";
9
- import "./chunks/Card-DMhV_NTt.mjs";
6
+ import "./chunks/Icon-Cy5kEVYz.mjs";
7
+ import "./chunks/Alert-B5vkpWXy.mjs";
8
+ import "./chunks/Avatar-CC1SDq6h.mjs";
9
+ import "./chunks/Card-ymI5Thma.mjs";
10
10
  import "./chunks/Loader-DMLQky1k.mjs";
11
- import "./chunks/Select-C7IBNyjR.mjs";
12
- import "./chunks/Switch-DWx1g3jT.mjs";
13
- import "./chunks/FieldWrapper-Bb0j8Iog.mjs";
14
- import "./chunks/TextField-DOU2CL5J.mjs";
15
- import "./chunks/Checkbox-Bo7IRVRE.mjs";
11
+ import "./chunks/Select-CrOxhfvQ.mjs";
12
+ import "./chunks/Switch-04GGHGrV.mjs";
13
+ import "./chunks/useFieldDesignSystemProps-BZj7d9gK.mjs";
14
+ import "./chunks/TextField-Bwc_F2Rq.mjs";
15
+ import "./chunks/Checkbox-DnwrApdj.mjs";
16
+ import "./theme.esm.mjs";
16
17
  import "lucide-react";
17
18
  import "./chunks/Icon.frame-COrb0u94.mjs";
18
19
  import "./link.esm.mjs";
19
- import "./chunks/Tabs-D5chMrkE.mjs";
20
- import "./theme.esm.mjs";
21
- import "./chunks/Formik.Uploader-DRIyxMI0.mjs";
20
+ import "./chunks/Tabs-BdoE88Ee.mjs";
21
+ import "./chunks/Formik.Uploader-CIYySBWB.mjs";
22
22
  import "./presets.esm.mjs";
23
23
  import "formik";
24
- import "./chunks/Modal-DkckCT8-.mjs";
24
+ import "./chunks/Modal-CqbUQXoc.mjs";
25
25
  import "./chunks/Router.store-C0zWd45T.mjs";
26
26
  export {
27
27
  v as DesignSystem,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunks/AttachmentPreview-Bwrz5TJh.cjs"),r=require("./chunks/Formik.Uploader-D0nzjyau.cjs");exports.AttachmentPreview=o.AttachmentPreview;exports.FormikChatInput=o.FormikChatInput;exports.FormikCheckbox=o.FormikCheckbox;exports.FormikColorInput=o.FormikColorInput;exports.FormikComboBox=o.FormikComboBox;exports.FormikCountryPicker=o.FormikCountryPicker;exports.FormikDatePicker=o.FormikDatePicker;exports.FormikEmojiPicker=o.FormikEmojiPicker;exports.FormikIconPicker=o.FormikIconPicker;exports.FormikOTPInput=o.FormikOTPInput;exports.FormikPassword=o.FormikPassword;exports.FormikRadio=o.FormikRadio;exports.FormikSelect=o.FormikSelect;exports.FormikSelector=o.FormikSelector;exports.FormikSlider=o.FormikSlider;exports.FormikSwitch=o.FormikSwitch;exports.FormikTagInput=o.FormikTagInput;exports.FormikTextArea=o.FormikTextArea;exports.FormikTextField=o.FormikTextField;exports.FormikToggle=o.FormikToggle;exports.FormikToggleGroup=o.FormikToggleGroup;exports.FormikForm=r.FormikForm;exports.FormikUploader=r.FormikUploader;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunks/AttachmentPreview-BZV6xSa4.cjs"),r=require("./chunks/Formik.Uploader-DePTdd7A.cjs");exports.AttachmentPreview=o.AttachmentPreview;exports.FormikChatInput=o.FormikChatInput;exports.FormikCheckbox=o.FormikCheckbox;exports.FormikColorInput=o.FormikColorInput;exports.FormikComboBox=o.FormikComboBox;exports.FormikCountryPicker=o.FormikCountryPicker;exports.FormikDatePicker=o.FormikDatePicker;exports.FormikEmojiPicker=o.FormikEmojiPicker;exports.FormikIconPicker=o.FormikIconPicker;exports.FormikOTPInput=o.FormikOTPInput;exports.FormikPassword=o.FormikPassword;exports.FormikRadio=o.FormikRadio;exports.FormikSelect=o.FormikSelect;exports.FormikSelector=o.FormikSelector;exports.FormikSlider=o.FormikSlider;exports.FormikSwitch=o.FormikSwitch;exports.FormikTagInput=o.FormikTagInput;exports.FormikTextArea=o.FormikTextArea;exports.FormikTextField=o.FormikTextField;exports.FormikToggle=o.FormikToggle;exports.FormikToggleGroup=o.FormikToggleGroup;exports.FormikForm=r.FormikForm;exports.FormikUploader=r.FormikUploader;
2
2
  //# sourceMappingURL=formik.cjs.js.map
@@ -1,5 +1,5 @@
1
- import { A as a, F as i, a as m, b as k, c as s, d as F, e, f as t, g as c, h as l, i as p, j as n, k as P, l as d, m as g, n as u, o as x, p as T, q as h, r as C, s as I } from "./chunks/AttachmentPreview-8d8gZ5kk.mjs";
2
- import { F as b, a as f } from "./chunks/Formik.Uploader-DRIyxMI0.mjs";
1
+ import { A as a, F as i, a as m, b as k, c as s, d as F, e, f as t, g as c, h as l, i as p, j as n, k as P, l as d, m as g, n as u, o as x, p as T, q as h, r as C, s as I } from "./chunks/AttachmentPreview-B2-kP0Bn.mjs";
2
+ import { F as b, a as f } from "./chunks/Formik.Uploader-CIYySBWB.mjs";
3
3
  export {
4
4
  a as AttachmentPreview,
5
5
  i as FormikChatInput,
package/dist/link.esm.mjs CHANGED
@@ -2,7 +2,7 @@ import { jsxs as g, jsx as s } from "react/jsx-runtime";
2
2
  import c from "react";
3
3
  import { useHref as p, useNavigate as y, useInRouterContext as L } from "react-router-dom";
4
4
  import { Element as k } from "app-studio";
5
- import { E as w } from "./chunks/Icon-DrAZswNH.mjs";
5
+ import { E as w } from "./chunks/Icon-Cy5kEVYz.mjs";
6
6
  const A = {
7
7
  xs: 12,
8
8
  sm: 14,
package/dist/modal.cjs.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunks/Modal-zok954As.cjs");exports.Modal=o.Modal;exports.ModalLayout=o.ModalLayout;exports.ModalRouter=o.ModalLayout;exports.hideModal=o.hideModal;exports.showModal=o.showModal;exports.useModalStore=o.useModalStore;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunks/Modal-BzlrQQu5.cjs");exports.Modal=o.Modal;exports.ModalLayout=o.ModalLayout;exports.ModalRouter=o.ModalLayout;exports.hideModal=o.hideModal;exports.showModal=o.showModal;exports.useModalStore=o.useModalStore;
2
2
  //# sourceMappingURL=modal.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { M as s, a as d, a as M, h as l, s as e, u as r } from "./chunks/Modal-DkckCT8-.mjs";
1
+ import { M as s, a as d, a as M, h as l, s as e, u as r } from "./chunks/Modal-CqbUQXoc.mjs";
2
2
  export {
3
3
  s as Modal,
4
4
  d as ModalLayout,
@@ -3,6 +3,9 @@ import { Keyboard, KeyboardAvoidingView, Modal as RNModal, Platform, ScrollView,
3
3
  import { Horizontal, Text, Vertical, View } from 'app-studio';
4
4
  import { TickIcon } from '../../Icon/FixedIcons';
5
5
  import { actionSheetShadow, ActionSheetItemSizes, ActionSheetTextSizes, } from './ActionSheet.style';
6
+ const modalAccessibility = {
7
+ accessibilityViewIsModal: true,
8
+ };
6
9
  const getItemKey = (item, index) => item.id ?? item.value ?? `action-sheet-item-${index}`;
7
10
  const getItemValue = (item) => item.value ?? item.id;
8
11
  const isItemDisabled = (item) => item.disabled || item.isDisabled || item.divider;
@@ -103,11 +106,11 @@ const ActionSheetView = ({ isSheetOpen, closeSheet, selectedValue, setSelectedVa
103
106
  handleClose();
104
107
  };
105
108
  return (<RNModal visible={isSheetOpen} transparent animationType={animationType} onRequestClose={handleClose}>
106
- <TouchableWithoutFeedback onPress={handleBackdropPress}>
109
+ <TouchableWithoutFeedback accessible={false} onPress={handleBackdropPress}>
107
110
  <View flex={1} backgroundColor="color-dark-50-360" {...views?.overlay}>
108
111
  <KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'padding' : 'height'} keyboardVerticalOffset={0} style={{ flex: 1, justifyContent: 'flex-end' }}>
109
- <TouchableWithoutFeedback>
110
- <Vertical width="100%" maxHeight={resolvedMaxHeight} backgroundColor="color-white" borderTopLeftRadius={24} borderTopRightRadius={24} paddingTop={8} paddingBottom={Platform.OS === 'ios' ? 18 : 12} overflow="hidden" style={actionSheetShadow} {...views?.container} {...views?.sheet} {...props}>
112
+ <TouchableWithoutFeedback accessible={false}>
113
+ <Vertical {...modalAccessibility} width="100%" maxHeight={resolvedMaxHeight} backgroundColor="color-white" borderTopLeftRadius={24} borderTopRightRadius={24} paddingTop={8} paddingBottom={Platform.OS === 'ios' ? 18 : 12} overflow="hidden" style={actionSheetShadow} {...views?.container} {...views?.sheet} {...props}>
111
114
  {showHandle && (<View width={36} height={4} borderRadius={999} backgroundColor="color-gray-300" alignSelf="center" marginTop={4} marginBottom={8} {...views?.handle}/>)}
112
115
 
113
116
  {(title || description) && (<Vertical paddingHorizontal={20} paddingTop={6} paddingBottom={12} gap={4} {...views?.header}>
@@ -136,7 +139,12 @@ const ActionSheetView = ({ isSheetOpen, closeSheet, selectedValue, setSelectedVa
136
139
  : selected
137
140
  ? 'theme-primary'
138
141
  : 'color-gray-900';
139
- return (<Horizontal key={getItemKey(item, index)} alignItems="center" gap={12} opacity={disabled ? 0.5 : 1} onPress={() => handleItemPress(item)} onClick={() => handleItemPress(item)} {...ActionSheetItemSizes[size]} {...views?.item}>
142
+ return (<Horizontal key={getItemKey(item, index)} alignItems="center" gap={12} accessible accessibilityRole="button" accessibilityLabel={typeof item.label === 'string'
143
+ ? item.label
144
+ : undefined} accessibilityState={{
145
+ selected,
146
+ disabled: Boolean(disabled),
147
+ }} opacity={disabled ? 0.5 : 1} onPress={disabled ? undefined : () => handleItemPress(item)} {...ActionSheetItemSizes[size]} {...views?.item}>
140
148
  {item.icon && (<View flexShrink={0} {...views?.itemIcon}>
141
149
  {item.icon}
142
150
  </View>)}
@@ -156,7 +164,7 @@ const ActionSheetView = ({ isSheetOpen, closeSheet, selectedValue, setSelectedVa
156
164
  </ScrollView>
157
165
 
158
166
  {showCancel && (<View marginTop={8} paddingHorizontal={12} paddingTop={8} borderTopWidth={1} borderTopColor="color-gray-200">
159
- <Horizontal minHeight={52} alignItems="center" justifyContent="center" borderRadius={14} backgroundColor="color-gray-100" onPress={handleCancel} onClick={handleCancel} {...views?.cancelButton}>
167
+ <Horizontal minHeight={52} alignItems="center" justifyContent="center" borderRadius={14} backgroundColor="color-gray-100" accessible accessibilityRole="button" onPress={handleCancel} {...views?.cancelButton}>
160
168
  <Text fontSize={ActionSheetTextSizes[size].label} lineHeight={ActionSheetTextSizes[size].label + 6} fontWeight="600" color="color-gray-900" {...views?.cancelLabel}>
161
169
  {cancelLabel}
162
170
  </Text>
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheet.view.native.js","sourceRoot":"","sources":["../../../../../src/components/ActionSheet/ActionSheet/ActionSheet.view.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,QAAQ,EACR,oBAAoB,EAEpB,KAAK,IAAI,OAAO,EAChB,QAAQ,EACR,UAAU,EACV,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,UAAU,GAAG,CAAC,IAAqB,EAAE,KAAa,EAAE,EAAE,CAC1D,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,KAAK,IAAI,qBAAqB,KAAK,EAAE,CAAC;AAExD,MAAM,YAAY,GAAG,CAAC,IAAqB,EAAE,EAAE,C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,OAAO,CAAC,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"ActionSheet.view.native.js","sourceRoot":"","sources":["../../../../../src/components/ActionSheet/ActionSheet/ActionSheet.view.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,QAAQ,EACR,oBAAoB,EAEpB,KAAK,IAAI,OAAO,EAChB,QAAQ,EACR,UAAU,EACV,wBAAwB,EACxB,mBAAmB,GAEpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,kBAAkB,GAAuB;IAC7C,wBAAwB,EAAE,IAAI;CAC/B,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,IAAqB,EAAE,KAAa,EAAE,EAAE,CAC1D,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,KAAK,IAAI,qBAAqB,KAAK,EAAE,CAAC;AAExD,MAAM,YAAY,GAAG,CAAC,IAAqB,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,EAAE,CAAC;AAEtE,MAAM,cAAc,GAAG,CAAC,IAAqB,EAAE,EAAE,CAC/C,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,OAAO,CAAC;AAEnD,MAAM,cAAc,GAAG,CACrB,IAAqB,EACrB,aAAgC,EAChC,EAAE;IACF,IAAI,OAAO,IAAI,CAAC,QAAQ,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC,QAAQ,CAAC;IAC7D,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACrC,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