@ankhorage/zora 19.0.0 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1287) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -2
  3. package/dist/features/accordion/accordionItemMeta.js +1 -1
  4. package/dist/features/accordion/accordionItemMeta.js.map +1 -1
  5. package/dist/features/accordion/accordionMeta.js.map +1 -1
  6. package/dist/features/accordion/adapters/inbound/Accordion.d.ts.map +1 -1
  7. package/dist/features/accordion/adapters/inbound/Accordion.js +1 -1
  8. package/dist/features/accordion/adapters/inbound/Accordion.js.map +1 -1
  9. package/dist/features/accordion/adapters/inbound/AccordionItem.d.ts.map +1 -1
  10. package/dist/features/accordion/adapters/inbound/AccordionItem.js +1 -1
  11. package/dist/features/accordion/adapters/inbound/AccordionItem.js.map +1 -1
  12. package/dist/features/activity-indicator/activityIndicatorMeta.js.map +1 -1
  13. package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.d.ts.map +1 -1
  14. package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.js +2 -2
  15. package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.js.map +1 -1
  16. package/dist/features/app-bar/adapters/inbound/AppBar.d.ts.map +1 -1
  17. package/dist/features/app-bar/adapters/inbound/AppBar.js +2 -2
  18. package/dist/features/app-bar/adapters/inbound/AppBar.js.map +1 -1
  19. package/dist/features/app-bar/appBarMeta.js.map +1 -1
  20. package/dist/features/auth/adapters/inbound/AuthForm.d.ts +1 -1
  21. package/dist/features/auth/adapters/inbound/AuthForm.d.ts.map +1 -1
  22. package/dist/features/auth/adapters/inbound/AuthForm.js.map +1 -1
  23. package/dist/features/auth/adapters/inbound/AuthFormField.d.ts +1 -1
  24. package/dist/features/auth/adapters/inbound/AuthFormField.d.ts.map +1 -1
  25. package/dist/features/auth/adapters/inbound/AuthFormField.js.map +1 -1
  26. package/dist/features/auth/adapters/inbound/ForgotPasswordForm.d.ts.map +1 -1
  27. package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js +1 -1
  28. package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js.map +1 -1
  29. package/dist/features/auth/adapters/inbound/OAuthProviderButton.d.ts.map +1 -1
  30. package/dist/features/auth/adapters/inbound/OAuthProviderButton.js +1 -1
  31. package/dist/features/auth/adapters/inbound/OAuthProviderButton.js.map +1 -1
  32. package/dist/features/auth/adapters/inbound/OAuthProviderList.d.ts.map +1 -1
  33. package/dist/features/auth/adapters/inbound/OAuthProviderList.js +1 -1
  34. package/dist/features/auth/adapters/inbound/OAuthProviderList.js.map +1 -1
  35. package/dist/features/auth/adapters/inbound/OtpForm.d.ts.map +1 -1
  36. package/dist/features/auth/adapters/inbound/OtpForm.js +1 -1
  37. package/dist/features/auth/adapters/inbound/OtpForm.js.map +1 -1
  38. package/dist/features/auth/adapters/inbound/SignInForm.d.ts.map +1 -1
  39. package/dist/features/auth/adapters/inbound/SignInForm.js +1 -1
  40. package/dist/features/auth/adapters/inbound/SignInForm.js.map +1 -1
  41. package/dist/features/auth/adapters/inbound/SignUpForm.d.ts.map +1 -1
  42. package/dist/features/auth/adapters/inbound/SignUpForm.js +1 -1
  43. package/dist/features/auth/adapters/inbound/SignUpForm.js.map +1 -1
  44. package/dist/features/auth/forgotPasswordFormMeta.js.map +1 -1
  45. package/dist/features/auth/oauthProviderButtonMeta.js +1 -1
  46. package/dist/features/auth/oauthProviderButtonMeta.js.map +1 -1
  47. package/dist/features/auth/oauthProviderListMeta.js +1 -1
  48. package/dist/features/auth/oauthProviderListMeta.js.map +1 -1
  49. package/dist/features/auth/otpFormMeta.js.map +1 -1
  50. package/dist/features/auth/signInFormMeta.js.map +1 -1
  51. package/dist/features/auth/signUpFormMeta.js.map +1 -1
  52. package/dist/features/authoring/allowedChildren.d.ts.map +1 -0
  53. package/dist/features/authoring/allowedChildren.js.map +1 -0
  54. package/dist/{metadata → features/authoring}/bindableComponentMeta.d.ts +3 -3
  55. package/dist/{metadata → features/authoring}/bindableComponentMeta.d.ts.map +1 -1
  56. package/dist/{metadata → features/authoring}/bindableComponentMeta.js +2 -2
  57. package/dist/features/authoring/bindableComponentMeta.js.map +1 -0
  58. package/dist/features/authoring/componentMeta.d.ts +3 -0
  59. package/dist/features/authoring/componentMeta.d.ts.map +1 -0
  60. package/dist/features/authoring/componentMeta.js +184 -0
  61. package/dist/features/authoring/componentMeta.js.map +1 -0
  62. package/dist/{constants.d.ts → features/authoring/constants.d.ts} +1 -0
  63. package/dist/features/authoring/constants.d.ts.map +1 -0
  64. package/dist/{constants.js → features/authoring/constants.js} +7 -0
  65. package/dist/features/authoring/constants.js.map +1 -0
  66. package/dist/{metadata → features/authoring}/index.d.ts +7 -6
  67. package/dist/features/authoring/index.d.ts.map +1 -0
  68. package/dist/features/authoring/index.js +8 -0
  69. package/dist/features/authoring/index.js.map +1 -0
  70. package/dist/features/authoring/themeRecipeMeta.d.ts +3 -0
  71. package/dist/features/authoring/themeRecipeMeta.d.ts.map +1 -0
  72. package/dist/features/authoring/themeRecipeMeta.js +13 -0
  73. package/dist/features/authoring/themeRecipeMeta.js.map +1 -0
  74. package/dist/{utils → features/authoring/utils}/createManifestBindings.d.ts +1 -1
  75. package/dist/features/authoring/utils/createManifestBindings.d.ts.map +1 -0
  76. package/dist/features/authoring/utils/createManifestBindings.js.map +1 -0
  77. package/dist/{utils → features/authoring/utils}/finalizeFeatureMetadata.d.ts +1 -1
  78. package/dist/features/authoring/utils/finalizeFeatureMetadata.d.ts.map +1 -0
  79. package/dist/features/authoring/utils/finalizeFeatureMetadata.js.map +1 -0
  80. package/dist/features/avatar/adapters/inbound/Avatar.d.ts.map +1 -1
  81. package/dist/features/avatar/adapters/inbound/Avatar.js +2 -2
  82. package/dist/features/avatar/adapters/inbound/Avatar.js.map +1 -1
  83. package/dist/features/avatar/adapters/inbound/AvatarGroup.d.ts.map +1 -1
  84. package/dist/features/avatar/adapters/inbound/AvatarGroup.js +2 -2
  85. package/dist/features/avatar/adapters/inbound/AvatarGroup.js.map +1 -1
  86. package/dist/features/avatar/avatarGroupMeta.js.map +1 -1
  87. package/dist/features/avatar/avatarMeta.js.map +1 -1
  88. package/dist/features/badge/adapters/inbound/Badge.d.ts.map +1 -1
  89. package/dist/features/badge/adapters/inbound/Badge.js +2 -2
  90. package/dist/features/badge/adapters/inbound/Badge.js.map +1 -1
  91. package/dist/features/badge/badgeMeta.js.map +1 -1
  92. package/dist/features/badge/utils/resolveBadgeRecipe.d.ts +10 -0
  93. package/dist/features/badge/utils/resolveBadgeRecipe.d.ts.map +1 -0
  94. package/dist/features/badge/utils/resolveBadgeRecipe.js +4 -0
  95. package/dist/features/badge/utils/resolveBadgeRecipe.js.map +1 -0
  96. package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.d.ts.map +1 -1
  97. package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js +3 -3
  98. package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js.map +1 -1
  99. package/dist/features/bottom-sheet/bottomSheetMeta.js +1 -1
  100. package/dist/features/bottom-sheet/bottomSheetMeta.js.map +1 -1
  101. package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.d.ts.map +1 -1
  102. package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js +3 -3
  103. package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js.map +1 -1
  104. package/dist/features/breadcrumbs/breadcrumbsMeta.js.map +1 -1
  105. package/dist/features/button/adapters/inbound/Button.d.ts.map +1 -1
  106. package/dist/features/button/adapters/inbound/Button.js +2 -2
  107. package/dist/features/button/adapters/inbound/Button.js.map +1 -1
  108. package/dist/features/button/adapters/inbound/ButtonGroup.d.ts.map +1 -1
  109. package/dist/features/button/adapters/inbound/ButtonGroup.js +1 -1
  110. package/dist/features/button/adapters/inbound/ButtonGroup.js.map +1 -1
  111. package/dist/features/button/adapters/inbound/IconButton.d.ts.map +1 -1
  112. package/dist/features/button/adapters/inbound/IconButton.js +2 -2
  113. package/dist/features/button/adapters/inbound/IconButton.js.map +1 -1
  114. package/dist/features/button/buttonGroupMeta.js.map +1 -1
  115. package/dist/features/button/buttonMeta.js +2 -2
  116. package/dist/features/button/buttonMeta.js.map +1 -1
  117. package/dist/features/button/iconButtonMeta.js.map +1 -1
  118. package/dist/features/button/utils/resolveButtonRecipe.d.ts +10 -0
  119. package/dist/features/button/utils/resolveButtonRecipe.d.ts.map +1 -0
  120. package/dist/features/button/utils/resolveButtonRecipe.js +4 -0
  121. package/dist/features/button/utils/resolveButtonRecipe.js.map +1 -0
  122. package/dist/features/button/utils/resolveButtonThemeRecipe.d.ts +4 -2
  123. package/dist/features/button/utils/resolveButtonThemeRecipe.d.ts.map +1 -1
  124. package/dist/features/button/utils/resolveButtonThemeRecipe.js +1 -1
  125. package/dist/features/button/utils/resolveButtonThemeRecipe.js.map +1 -1
  126. package/dist/features/button/utils/themeRecipeMeta.js +1 -1
  127. package/dist/features/button/utils/themeRecipeMeta.js.map +1 -1
  128. package/dist/features/card/adapters/inbound/Card.d.ts.map +1 -1
  129. package/dist/features/card/adapters/inbound/Card.js +3 -3
  130. package/dist/features/card/adapters/inbound/Card.js.map +1 -1
  131. package/dist/features/card/adapters/inbound/MediaCard.d.ts.map +1 -1
  132. package/dist/features/card/adapters/inbound/MediaCard.js +2 -2
  133. package/dist/features/card/adapters/inbound/MediaCard.js.map +1 -1
  134. package/dist/features/card/adapters/inbound/MetricCard.d.ts.map +1 -1
  135. package/dist/features/card/adapters/inbound/MetricCard.js +4 -3
  136. package/dist/features/card/adapters/inbound/MetricCard.js.map +1 -1
  137. package/dist/features/card/adapters/inbound/PostCard.d.ts.map +1 -1
  138. package/dist/features/card/adapters/inbound/PostCard.js +2 -2
  139. package/dist/features/card/adapters/inbound/PostCard.js.map +1 -1
  140. package/dist/features/card/adapters/inbound/ProductCard.d.ts +1 -1
  141. package/dist/features/card/adapters/inbound/ProductCard.d.ts.map +1 -1
  142. package/dist/features/card/adapters/inbound/ProductCard.js +1 -1
  143. package/dist/features/card/adapters/inbound/ProductCard.js.map +1 -1
  144. package/dist/features/card/cardMeta.js +2 -2
  145. package/dist/features/card/cardMeta.js.map +1 -1
  146. package/dist/features/card/mediaCardMeta.js +1 -1
  147. package/dist/features/card/mediaCardMeta.js.map +1 -1
  148. package/dist/features/card/metricCardMeta.js.map +1 -1
  149. package/dist/features/card/postCardMeta.js +1 -1
  150. package/dist/features/card/postCardMeta.js.map +1 -1
  151. package/dist/features/card/productCardMeta.js.map +1 -1
  152. package/dist/features/card/utils/resolveCardThemeRecipe.d.ts +1 -1
  153. package/dist/features/card/utils/resolveCardThemeRecipe.d.ts.map +1 -1
  154. package/dist/features/card/utils/resolveCardThemeRecipe.js.map +1 -1
  155. package/dist/features/card/utils/resolveCardVariant.d.ts +4 -0
  156. package/dist/features/card/utils/resolveCardVariant.d.ts.map +1 -0
  157. package/dist/features/card/utils/resolveCardVariant.js +12 -0
  158. package/dist/features/card/utils/resolveCardVariant.js.map +1 -0
  159. package/dist/features/card/utils/themeRecipeMeta.js.map +1 -1
  160. package/dist/features/chat/adapters/inbound/ChatListItem.d.ts.map +1 -1
  161. package/dist/features/chat/adapters/inbound/ChatListItem.js +2 -2
  162. package/dist/features/chat/adapters/inbound/ChatListItem.js.map +1 -1
  163. package/dist/features/chat/adapters/inbound/MessageBubble.d.ts.map +1 -1
  164. package/dist/features/chat/adapters/inbound/MessageBubble.js +2 -2
  165. package/dist/features/chat/adapters/inbound/MessageBubble.js.map +1 -1
  166. package/dist/features/chat/chatListItemMeta.js.map +1 -1
  167. package/dist/features/chat/messageBubbleMeta.js +1 -1
  168. package/dist/features/chat/messageBubbleMeta.js.map +1 -1
  169. package/dist/features/chip/adapters/inbound/Chip.d.ts.map +1 -1
  170. package/dist/features/chip/adapters/inbound/Chip.js +3 -3
  171. package/dist/features/chip/adapters/inbound/Chip.js.map +1 -1
  172. package/dist/features/chip/adapters/inbound/ChipGroup.d.ts.map +1 -1
  173. package/dist/features/chip/adapters/inbound/ChipGroup.js +1 -1
  174. package/dist/features/chip/adapters/inbound/ChipGroup.js.map +1 -1
  175. package/dist/features/chip/chipGroupMeta.js.map +1 -1
  176. package/dist/features/chip/chipMeta.js.map +1 -1
  177. package/dist/features/chip/utils/resolveChipColors.d.ts +1 -1
  178. package/dist/features/chip/utils/resolveChipColors.d.ts.map +1 -1
  179. package/dist/features/chip/utils/resolveChipColors.js.map +1 -1
  180. package/dist/features/collection-editor/adapters/inbound/CollectionEditor.d.ts.map +1 -1
  181. package/dist/features/collection-editor/adapters/inbound/CollectionEditor.js +1 -1
  182. package/dist/features/collection-editor/adapters/inbound/CollectionEditor.js.map +1 -1
  183. package/dist/features/collection-editor/meta.js.map +1 -1
  184. package/dist/features/content-rail/adapters/inbound/ContentRail.d.ts.map +1 -1
  185. package/dist/features/content-rail/adapters/inbound/ContentRail.js +2 -2
  186. package/dist/features/content-rail/adapters/inbound/ContentRail.js.map +1 -1
  187. package/dist/features/content-rail/adapters/inbound/ContentRailFlow.d.ts.map +1 -1
  188. package/dist/features/content-rail/adapters/inbound/ContentRailFlow.js +1 -1
  189. package/dist/features/content-rail/adapters/inbound/ContentRailFlow.js.map +1 -1
  190. package/dist/features/content-rail/contentRailMeta.js +1 -1
  191. package/dist/features/content-rail/contentRailMeta.js.map +1 -1
  192. package/dist/features/data-table/adapters/inbound/DataTable.d.ts.map +1 -1
  193. package/dist/features/data-table/adapters/inbound/DataTable.js +1 -1
  194. package/dist/features/data-table/adapters/inbound/DataTable.js.map +1 -1
  195. package/dist/features/data-table/dataTableMeta.js.map +1 -1
  196. package/dist/features/date-picker/adapters/inbound/DatePicker.native.d.ts.map +1 -1
  197. package/dist/features/date-picker/adapters/inbound/DatePicker.native.js +1 -1
  198. package/dist/features/date-picker/adapters/inbound/DatePicker.native.js.map +1 -1
  199. package/dist/features/date-picker/adapters/inbound/DatePicker.web.d.ts.map +1 -1
  200. package/dist/features/date-picker/adapters/inbound/DatePicker.web.js +1 -1
  201. package/dist/features/date-picker/adapters/inbound/DatePicker.web.js.map +1 -1
  202. package/dist/features/date-picker/datePickerMeta.js.map +1 -1
  203. package/dist/features/dialog/adapters/inbound/Dialog.d.ts.map +1 -1
  204. package/dist/features/dialog/adapters/inbound/Dialog.js +2 -2
  205. package/dist/features/dialog/adapters/inbound/Dialog.js.map +1 -1
  206. package/dist/features/dialog/dialogMeta.js +1 -1
  207. package/dist/features/dialog/dialogMeta.js.map +1 -1
  208. package/dist/features/dialog/utils/resolveDialogWidth.d.ts +3 -0
  209. package/dist/features/dialog/utils/resolveDialogWidth.d.ts.map +1 -0
  210. package/dist/features/dialog/utils/resolveDialogWidth.js +12 -0
  211. package/dist/features/dialog/utils/resolveDialogWidth.js.map +1 -0
  212. package/dist/features/empty-state/adapters/inbound/EmptyState.d.ts.map +1 -1
  213. package/dist/features/empty-state/adapters/inbound/EmptyState.js +1 -1
  214. package/dist/features/empty-state/adapters/inbound/EmptyState.js.map +1 -1
  215. package/dist/features/empty-state/emptyStateMeta.js.map +1 -1
  216. package/dist/features/form/adapters/inbound/Form.d.ts.map +1 -1
  217. package/dist/features/form/adapters/inbound/Form.js +1 -1
  218. package/dist/features/form/adapters/inbound/Form.js.map +1 -1
  219. package/dist/features/form/adapters/inbound/FormActions.d.ts.map +1 -1
  220. package/dist/features/form/adapters/inbound/FormActions.js +1 -1
  221. package/dist/features/form/adapters/inbound/FormActions.js.map +1 -1
  222. package/dist/features/form/adapters/inbound/FormError.d.ts.map +1 -1
  223. package/dist/features/form/adapters/inbound/FormError.js +2 -2
  224. package/dist/features/form/adapters/inbound/FormError.js.map +1 -1
  225. package/dist/features/form/checkbox/adapters/inbound/Checkbox.d.ts.map +1 -1
  226. package/dist/features/form/checkbox/adapters/inbound/Checkbox.js +1 -1
  227. package/dist/features/form/checkbox/adapters/inbound/Checkbox.js.map +1 -1
  228. package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.d.ts.map +1 -1
  229. package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js +1 -1
  230. package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js.map +1 -1
  231. package/dist/features/form/checkbox/checkboxMeta.js.map +1 -1
  232. package/dist/features/form/field/adapters/inbound/Field.d.ts.map +1 -1
  233. package/dist/features/form/field/adapters/inbound/Field.js +1 -1
  234. package/dist/features/form/field/adapters/inbound/Field.js.map +1 -1
  235. package/dist/features/form/field/meta.js.map +1 -1
  236. package/dist/features/form/formActionsMeta.js.map +1 -1
  237. package/dist/features/form/formErrorMeta.js.map +1 -1
  238. package/dist/features/form/formMeta.js.map +1 -1
  239. package/dist/features/form/radio/adapters/inbound/Radio.d.ts.map +1 -1
  240. package/dist/features/form/radio/adapters/inbound/Radio.js +1 -1
  241. package/dist/features/form/radio/adapters/inbound/Radio.js.map +1 -1
  242. package/dist/features/form/radio/adapters/inbound/RadioGroup.d.ts.map +1 -1
  243. package/dist/features/form/radio/adapters/inbound/RadioGroup.js +2 -2
  244. package/dist/features/form/radio/adapters/inbound/RadioGroup.js.map +1 -1
  245. package/dist/{constants/keyboard.d.ts → features/form/radio/constants.d.ts} +1 -1
  246. package/dist/features/form/radio/constants.d.ts.map +1 -0
  247. package/dist/{constants/keyboard.js → features/form/radio/constants.js} +1 -1
  248. package/dist/features/form/radio/constants.js.map +1 -0
  249. package/dist/features/form/radio/radioMeta.js +1 -1
  250. package/dist/features/form/radio/radioMeta.js.map +1 -1
  251. package/dist/features/form/radio/themeRecipeMeta.js +1 -1
  252. package/dist/features/form/radio/themeRecipeMeta.js.map +1 -1
  253. package/dist/features/form/radio/utils/handleRadioOptionKeyDown.js +1 -1
  254. package/dist/features/form/radio/utils/handleRadioOptionKeyDown.js.map +1 -1
  255. package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.d.ts +2 -2
  256. package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.d.ts.map +1 -1
  257. package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.js.map +1 -1
  258. package/dist/features/form/search-input/adapters/inbound/SearchInput.d.ts.map +1 -1
  259. package/dist/features/form/search-input/adapters/inbound/SearchInput.js +1 -1
  260. package/dist/features/form/search-input/adapters/inbound/SearchInput.js.map +1 -1
  261. package/dist/features/form/search-input/searchInputMeta.js.map +1 -1
  262. package/dist/features/form/select/adapters/inbound/Select.native.d.ts.map +1 -1
  263. package/dist/features/form/select/adapters/inbound/Select.native.js +1 -1
  264. package/dist/features/form/select/adapters/inbound/Select.native.js.map +1 -1
  265. package/dist/features/form/select/adapters/inbound/Select.web.d.ts.map +1 -1
  266. package/dist/features/form/select/adapters/inbound/Select.web.js +1 -1
  267. package/dist/features/form/select/adapters/inbound/Select.web.js.map +1 -1
  268. package/dist/features/form/select/selectMeta.js.map +1 -1
  269. package/dist/features/form/switch/adapters/inbound/Switch.d.ts.map +1 -1
  270. package/dist/features/form/switch/adapters/inbound/Switch.js +1 -1
  271. package/dist/features/form/switch/adapters/inbound/Switch.js.map +1 -1
  272. package/dist/features/form/switch/switchMeta.js.map +1 -1
  273. package/dist/features/form/text-input/adapters/inbound/TextInput.d.ts.map +1 -1
  274. package/dist/features/form/text-input/adapters/inbound/TextInput.js +3 -3
  275. package/dist/features/form/text-input/adapters/inbound/TextInput.js.map +1 -1
  276. package/dist/features/form/text-input/textInputMeta.js.map +1 -1
  277. package/dist/features/gradient/adapters/inbound/Gradient.d.ts.map +1 -1
  278. package/dist/features/gradient/adapters/inbound/Gradient.js +1 -1
  279. package/dist/features/gradient/adapters/inbound/Gradient.js.map +1 -1
  280. package/dist/features/gradient/gradientMeta.js +1 -1
  281. package/dist/features/gradient/gradientMeta.js.map +1 -1
  282. package/dist/features/hero/adapters/inbound/Hero.d.ts.map +1 -1
  283. package/dist/features/hero/adapters/inbound/Hero.js +1 -1
  284. package/dist/features/hero/adapters/inbound/Hero.js.map +1 -1
  285. package/dist/features/hero/heroMeta.js.map +1 -1
  286. package/dist/features/icon/adapters/inbound/Icon.d.ts.map +1 -1
  287. package/dist/features/icon/adapters/inbound/Icon.js +1 -1
  288. package/dist/features/icon/adapters/inbound/Icon.js.map +1 -1
  289. package/dist/features/icon/iconMeta.js.map +1 -1
  290. package/dist/features/icon/utils/resolveIconSize.d.ts +3 -0
  291. package/dist/features/icon/utils/resolveIconSize.d.ts.map +1 -0
  292. package/dist/features/icon/utils/resolveIconSize.js +12 -0
  293. package/dist/features/icon/utils/resolveIconSize.js.map +1 -0
  294. package/dist/features/image/adapters/inbound/Image.d.ts.map +1 -1
  295. package/dist/features/image/adapters/inbound/Image.js +2 -2
  296. package/dist/features/image/adapters/inbound/Image.js.map +1 -1
  297. package/dist/features/image/imageMeta.js.map +1 -1
  298. package/dist/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.d.ts.map +1 -1
  299. package/dist/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.js +1 -1
  300. package/dist/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.js.map +1 -1
  301. package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.js +1 -1
  302. package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.js.map +1 -1
  303. package/dist/features/layout/adapters/inbound/AppShell.d.ts.map +1 -1
  304. package/dist/features/layout/adapters/inbound/AppShell.js +1 -1
  305. package/dist/features/layout/adapters/inbound/AppShell.js.map +1 -1
  306. package/dist/features/layout/adapters/inbound/Divider.d.ts.map +1 -1
  307. package/dist/features/layout/adapters/inbound/Divider.js +1 -1
  308. package/dist/features/layout/adapters/inbound/Divider.js.map +1 -1
  309. package/dist/features/layout/adapters/inbound/Grid.d.ts.map +1 -1
  310. package/dist/features/layout/adapters/inbound/Grid.js +1 -1
  311. package/dist/features/layout/adapters/inbound/Grid.js.map +1 -1
  312. package/dist/features/layout/adapters/inbound/Screen.d.ts.map +1 -1
  313. package/dist/features/layout/adapters/inbound/Screen.js +2 -2
  314. package/dist/features/layout/adapters/inbound/Screen.js.map +1 -1
  315. package/dist/features/layout/adapters/inbound/ScrollView.d.ts.map +1 -1
  316. package/dist/features/layout/adapters/inbound/ScrollView.js +1 -1
  317. package/dist/features/layout/adapters/inbound/ScrollView.js.map +1 -1
  318. package/dist/features/layout/adapters/inbound/View.d.ts.map +1 -1
  319. package/dist/features/layout/adapters/inbound/View.js +1 -1
  320. package/dist/features/layout/adapters/inbound/View.js.map +1 -1
  321. package/dist/features/layout/appShellMeta.js.map +1 -1
  322. package/dist/features/layout/constants.js.map +1 -1
  323. package/dist/features/layout/dividerMeta.js.map +1 -1
  324. package/dist/features/layout/gridMeta.js +1 -1
  325. package/dist/features/layout/gridMeta.js.map +1 -1
  326. package/dist/features/layout/screenMeta.js +1 -1
  327. package/dist/features/layout/screenMeta.js.map +1 -1
  328. package/dist/features/layout/scrollViewMeta.js +1 -1
  329. package/dist/features/layout/scrollViewMeta.js.map +1 -1
  330. package/dist/features/layout/utils/resolvePageMaxWidth.d.ts +3 -0
  331. package/dist/features/layout/utils/resolvePageMaxWidth.d.ts.map +1 -0
  332. package/dist/features/layout/utils/resolvePageMaxWidth.js +12 -0
  333. package/dist/features/layout/utils/resolvePageMaxWidth.js.map +1 -0
  334. package/dist/features/layout/viewMeta.js +1 -1
  335. package/dist/features/layout/viewMeta.js.map +1 -1
  336. package/dist/features/list/adapters/inbound/FlatList.d.ts.map +1 -1
  337. package/dist/features/list/adapters/inbound/FlatList.js +1 -1
  338. package/dist/features/list/adapters/inbound/FlatList.js.map +1 -1
  339. package/dist/features/list/adapters/inbound/List.d.ts.map +1 -1
  340. package/dist/features/list/adapters/inbound/List.js +1 -1
  341. package/dist/features/list/adapters/inbound/List.js.map +1 -1
  342. package/dist/features/list/adapters/inbound/ListItem.d.ts.map +1 -1
  343. package/dist/features/list/adapters/inbound/ListItem.js +2 -2
  344. package/dist/features/list/adapters/inbound/ListItem.js.map +1 -1
  345. package/dist/features/list/adapters/inbound/ListSection.d.ts.map +1 -1
  346. package/dist/features/list/adapters/inbound/ListSection.js +1 -1
  347. package/dist/features/list/adapters/inbound/ListSection.js.map +1 -1
  348. package/dist/features/list/adapters/inbound/SectionList.d.ts.map +1 -1
  349. package/dist/features/list/adapters/inbound/SectionList.js +1 -1
  350. package/dist/features/list/adapters/inbound/SectionList.js.map +1 -1
  351. package/dist/features/list/flatListMeta.js +1 -1
  352. package/dist/features/list/flatListMeta.js.map +1 -1
  353. package/dist/features/list/meta.js.map +1 -1
  354. package/dist/features/list/sectionListMeta.js.map +1 -1
  355. package/dist/features/missing-element/adapters/inbound/MissingElement.d.ts.map +1 -1
  356. package/dist/features/missing-element/adapters/inbound/MissingElement.js +2 -2
  357. package/dist/features/missing-element/adapters/inbound/MissingElement.js.map +1 -1
  358. package/dist/features/missing-element/missingElementMeta.js.map +1 -1
  359. package/dist/features/pagination/adapters/inbound/Pagination.d.ts.map +1 -1
  360. package/dist/features/pagination/adapters/inbound/Pagination.js +1 -1
  361. package/dist/features/pagination/adapters/inbound/Pagination.js.map +1 -1
  362. package/dist/features/pagination/paginationMeta.js.map +1 -1
  363. package/dist/features/palette-item/adapters/inbound/PaletteItem.d.ts.map +1 -1
  364. package/dist/features/palette-item/adapters/inbound/PaletteItem.js +2 -2
  365. package/dist/features/palette-item/adapters/inbound/PaletteItem.js.map +1 -1
  366. package/dist/features/palette-item/paletteItemMeta.js.map +1 -1
  367. package/dist/{corePlugin.d.ts → features/plugin/ZORA_CORE_PLUGIN.d.ts} +2 -2
  368. package/dist/features/plugin/ZORA_CORE_PLUGIN.d.ts.map +1 -0
  369. package/dist/{corePlugin.js → features/plugin/ZORA_CORE_PLUGIN.js} +3 -3
  370. package/dist/features/plugin/ZORA_CORE_PLUGIN.js.map +1 -0
  371. package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.d.ts +3 -0
  372. package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.d.ts.map +1 -0
  373. package/dist/{corePluginMetadata.js → features/plugin/ZORA_CORE_PLUGIN_METADATA.js} +3 -3
  374. package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.js.map +1 -0
  375. package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.d.ts +4 -0
  376. package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.d.ts.map +1 -0
  377. package/dist/{pluginComposition.js → features/plugin/application/use-cases/composeZoraPluginMetadata.js} +4 -51
  378. package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.js.map +1 -0
  379. package/dist/features/plugin/application/use-cases/composeZoraPlugins.d.ts +4 -0
  380. package/dist/features/plugin/application/use-cases/composeZoraPlugins.d.ts.map +1 -0
  381. package/dist/features/plugin/application/use-cases/composeZoraPlugins.js +41 -0
  382. package/dist/features/plugin/application/use-cases/composeZoraPlugins.js.map +1 -0
  383. package/dist/features/plugin/domain/ZoraPluginCompositionError.d.ts +14 -0
  384. package/dist/features/plugin/domain/ZoraPluginCompositionError.d.ts.map +1 -0
  385. package/dist/features/plugin/domain/ZoraPluginCompositionError.js +14 -0
  386. package/dist/features/plugin/domain/ZoraPluginCompositionError.js.map +1 -0
  387. package/dist/features/plugin/public.d.ts +4 -0
  388. package/dist/features/plugin/public.d.ts.map +1 -0
  389. package/dist/features/plugin/public.js +4 -0
  390. package/dist/features/plugin/public.js.map +1 -0
  391. package/dist/features/plugin/runtime.d.ts +3 -0
  392. package/dist/features/plugin/runtime.d.ts.map +1 -0
  393. package/dist/features/plugin/runtime.js +3 -0
  394. package/dist/features/plugin/runtime.js.map +1 -0
  395. package/dist/features/popover-menu/adapters/inbound/PopoverMenu.d.ts.map +1 -1
  396. package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js +3 -3
  397. package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js.map +1 -1
  398. package/dist/features/popover-menu/popoverMenuMeta.js.map +1 -1
  399. package/dist/features/progress/adapters/inbound/Progress.d.ts.map +1 -1
  400. package/dist/features/progress/adapters/inbound/Progress.js +2 -2
  401. package/dist/features/progress/adapters/inbound/Progress.js.map +1 -1
  402. package/dist/features/progress/adapters/inbound/ProgressRing.d.ts.map +1 -1
  403. package/dist/features/progress/adapters/inbound/ProgressRing.js +2 -2
  404. package/dist/features/progress/adapters/inbound/ProgressRing.js.map +1 -1
  405. package/dist/features/progress/progressMeta.js +1 -1
  406. package/dist/features/progress/progressMeta.js.map +1 -1
  407. package/dist/features/rating/adapters/inbound/Rating.d.ts.map +1 -1
  408. package/dist/features/rating/adapters/inbound/Rating.js +3 -3
  409. package/dist/features/rating/adapters/inbound/Rating.js.map +1 -1
  410. package/dist/features/rating/ratingMeta.js.map +1 -1
  411. package/dist/features/reader/adapters/inbound/ReaderSurface.d.ts.map +1 -1
  412. package/dist/features/reader/adapters/inbound/ReaderSurface.js +2 -2
  413. package/dist/features/reader/adapters/inbound/ReaderSurface.js.map +1 -1
  414. package/dist/features/reader/meta.d.ts +3 -3
  415. package/dist/features/reader/meta.js +2 -2
  416. package/dist/features/reader/meta.js.map +1 -1
  417. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts +3 -0
  418. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts.map +1 -0
  419. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +151 -0
  420. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -0
  421. package/dist/features/registry/public.d.ts +2 -0
  422. package/dist/features/registry/public.d.ts.map +1 -0
  423. package/dist/features/registry/public.js +2 -0
  424. package/dist/features/registry/public.js.map +1 -0
  425. package/dist/features/scanner/adapters/inbound/BarcodeScannerView.d.ts.map +1 -1
  426. package/dist/features/scanner/adapters/inbound/BarcodeScannerView.js +2 -2
  427. package/dist/features/scanner/adapters/inbound/BarcodeScannerView.js.map +1 -1
  428. package/dist/features/scanner/adapters/inbound/CameraPermissionView.d.ts.map +1 -1
  429. package/dist/features/scanner/adapters/inbound/CameraPermissionView.js +1 -1
  430. package/dist/features/scanner/adapters/inbound/CameraPermissionView.js.map +1 -1
  431. package/dist/features/scanner/adapters/inbound/ScanOverlay.d.ts.map +1 -1
  432. package/dist/features/scanner/adapters/inbound/ScanOverlay.js +2 -2
  433. package/dist/features/scanner/adapters/inbound/ScanOverlay.js.map +1 -1
  434. package/dist/features/scanner/meta.d.ts +9 -9
  435. package/dist/features/scanner/meta.js +4 -4
  436. package/dist/features/scanner/meta.js.map +1 -1
  437. package/dist/features/section/adapters/inbound/ScreenSection.d.ts.map +1 -1
  438. package/dist/features/section/adapters/inbound/ScreenSection.js +1 -1
  439. package/dist/features/section/adapters/inbound/ScreenSection.js.map +1 -1
  440. package/dist/features/section/adapters/inbound/SectionHeader.d.ts.map +1 -1
  441. package/dist/features/section/adapters/inbound/SectionHeader.js +1 -1
  442. package/dist/features/section/adapters/inbound/SectionHeader.js.map +1 -1
  443. package/dist/features/section/screenSectionMeta.js +1 -1
  444. package/dist/features/section/screenSectionMeta.js.map +1 -1
  445. package/dist/features/section/sectionHeaderMeta.js.map +1 -1
  446. package/dist/features/selection/meta.js.map +1 -1
  447. package/dist/features/skeleton/adapters/inbound/Skeleton.d.ts.map +1 -1
  448. package/dist/features/skeleton/adapters/inbound/Skeleton.js +2 -2
  449. package/dist/features/skeleton/adapters/inbound/Skeleton.js.map +1 -1
  450. package/dist/features/skeleton/adapters/inbound/SkeletonCard.d.ts.map +1 -1
  451. package/dist/features/skeleton/adapters/inbound/SkeletonCard.js +1 -1
  452. package/dist/features/skeleton/adapters/inbound/SkeletonCard.js.map +1 -1
  453. package/dist/features/skeleton/adapters/inbound/SkeletonList.d.ts.map +1 -1
  454. package/dist/features/skeleton/adapters/inbound/SkeletonList.js +1 -1
  455. package/dist/features/skeleton/adapters/inbound/SkeletonList.js.map +1 -1
  456. package/dist/features/skeleton/adapters/inbound/SkeletonText.d.ts.map +1 -1
  457. package/dist/features/skeleton/adapters/inbound/SkeletonText.js +1 -1
  458. package/dist/features/skeleton/adapters/inbound/SkeletonText.js.map +1 -1
  459. package/dist/features/skeleton/skeletonMeta.js.map +1 -1
  460. package/dist/features/surface/adapters/inbound/Surface.d.ts.map +1 -1
  461. package/dist/features/surface/adapters/inbound/Surface.js +1 -1
  462. package/dist/features/surface/adapters/inbound/Surface.js.map +1 -1
  463. package/dist/features/surface/surfaceMeta.js +1 -1
  464. package/dist/features/surface/surfaceMeta.js.map +1 -1
  465. package/dist/features/tabs/adapters/inbound/Tab.d.ts.map +1 -1
  466. package/dist/features/tabs/adapters/inbound/Tab.js +1 -1
  467. package/dist/features/tabs/adapters/inbound/Tab.js.map +1 -1
  468. package/dist/features/tabs/adapters/inbound/TabList.d.ts.map +1 -1
  469. package/dist/features/tabs/adapters/inbound/TabList.js +1 -1
  470. package/dist/features/tabs/adapters/inbound/TabList.js.map +1 -1
  471. package/dist/features/tabs/adapters/inbound/TabPanel.d.ts.map +1 -1
  472. package/dist/features/tabs/adapters/inbound/TabPanel.js +1 -1
  473. package/dist/features/tabs/adapters/inbound/TabPanel.js.map +1 -1
  474. package/dist/features/tabs/adapters/inbound/Tabs.d.ts.map +1 -1
  475. package/dist/features/tabs/adapters/inbound/Tabs.js +1 -1
  476. package/dist/features/tabs/adapters/inbound/Tabs.js.map +1 -1
  477. package/dist/features/tabs/tabListMeta.js.map +1 -1
  478. package/dist/features/tabs/tabMeta.js.map +1 -1
  479. package/dist/features/tabs/tabPanelMeta.js +1 -1
  480. package/dist/features/tabs/tabPanelMeta.js.map +1 -1
  481. package/dist/features/tabs/tabsMeta.js.map +1 -1
  482. package/dist/features/theme/ThemeModeToggle.meta.d.ts.map +1 -0
  483. package/dist/features/theme/ThemeModeToggle.meta.js.map +1 -0
  484. package/dist/{theme → features/theme/adapters/inbound}/ThemeModeToggle.d.ts +1 -1
  485. package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts.map +1 -0
  486. package/dist/{theme → features/theme/adapters/inbound}/ThemeModeToggle.js +3 -3
  487. package/dist/features/theme/adapters/inbound/ThemeModeToggle.js.map +1 -0
  488. package/dist/{theme → features/theme/adapters/inbound}/ZoraProvider.d.ts +2 -2
  489. package/dist/features/theme/adapters/inbound/ZoraProvider.d.ts.map +1 -0
  490. package/dist/{theme → features/theme/adapters/inbound}/ZoraProvider.js +4 -4
  491. package/dist/features/theme/adapters/inbound/ZoraProvider.js.map +1 -0
  492. package/dist/{theme → features/theme/adapters/inbound}/ZoraThemeScope.d.ts +2 -2
  493. package/dist/features/theme/adapters/inbound/ZoraThemeScope.d.ts.map +1 -0
  494. package/dist/features/theme/adapters/inbound/ZoraThemeScope.js +24 -0
  495. package/dist/features/theme/adapters/inbound/ZoraThemeScope.js.map +1 -0
  496. package/dist/{theme → features/theme/adapters/inbound}/withZoraThemeScope.d.ts +1 -1
  497. package/dist/features/theme/adapters/inbound/withZoraThemeScope.d.ts.map +1 -0
  498. package/dist/features/theme/adapters/inbound/withZoraThemeScope.js.map +1 -0
  499. package/dist/{theme → features/theme/application/use-cases}/compileZoraTheme.d.ts +1 -1
  500. package/dist/features/theme/application/use-cases/compileZoraTheme.d.ts.map +1 -0
  501. package/dist/{theme → features/theme/application/use-cases}/compileZoraTheme.js +2 -1
  502. package/dist/features/theme/application/use-cases/compileZoraTheme.js.map +1 -0
  503. package/dist/{theme → features/theme/application/use-cases}/createZoraThemeConfig.d.ts +1 -1
  504. package/dist/features/theme/application/use-cases/createZoraThemeConfig.d.ts.map +1 -0
  505. package/dist/{theme → features/theme/application/use-cases}/createZoraThemeConfig.js +1 -1
  506. package/dist/features/theme/application/use-cases/createZoraThemeConfig.js.map +1 -0
  507. package/dist/{internal → features/theme}/colorModel.d.ts +1 -5
  508. package/dist/features/theme/colorModel.d.ts.map +1 -0
  509. package/dist/features/theme/colorModel.js +6 -0
  510. package/dist/features/theme/colorModel.js.map +1 -0
  511. package/dist/features/theme/composition/ZoraRuntimeCapabilities.d.ts.map +1 -0
  512. package/dist/features/theme/composition/ZoraRuntimeCapabilities.js.map +1 -0
  513. package/dist/{theme → features/theme/composition}/ZoraRuntimeCapabilities.native.d.ts +1 -1
  514. package/dist/features/theme/composition/ZoraRuntimeCapabilities.native.d.ts.map +1 -0
  515. package/dist/features/theme/composition/ZoraRuntimeCapabilities.native.js.map +1 -0
  516. package/dist/{theme → features/theme/composition}/ZoraRuntimeCapabilities.web.d.ts +1 -1
  517. package/dist/features/theme/composition/ZoraRuntimeCapabilities.web.d.ts.map +1 -0
  518. package/dist/features/theme/composition/ZoraRuntimeCapabilities.web.js.map +1 -0
  519. package/dist/{theme → features/theme/composition}/ZoraThemeRuntimeContext.d.ts +1 -1
  520. package/dist/features/theme/composition/ZoraThemeRuntimeContext.d.ts.map +1 -0
  521. package/dist/{theme → features/theme/composition}/ZoraThemeRuntimeContext.js +1 -1
  522. package/dist/features/theme/composition/ZoraThemeRuntimeContext.js.map +1 -0
  523. package/dist/features/theme/composition/useZoraTheme.d.ts +2 -0
  524. package/dist/features/theme/composition/useZoraTheme.d.ts.map +1 -0
  525. package/dist/features/theme/composition/useZoraTheme.js.map +1 -0
  526. package/dist/features/theme/composition/useZoraThemeRecipe.d.ts.map +1 -0
  527. package/dist/{theme → features/theme/composition}/useZoraThemeRecipe.js +1 -1
  528. package/dist/features/theme/composition/useZoraThemeRecipe.js.map +1 -0
  529. package/dist/{theme → features/theme}/public.d.ts +3 -3
  530. package/dist/features/theme/public.d.ts.map +1 -0
  531. package/dist/features/theme/public.js +4 -0
  532. package/dist/features/theme/public.js.map +1 -0
  533. package/dist/features/theme/runtime.d.ts +10 -0
  534. package/dist/features/theme/runtime.d.ts.map +1 -0
  535. package/dist/features/theme/runtime.js +6 -0
  536. package/dist/features/theme/runtime.js.map +1 -0
  537. package/dist/{theme → features/theme/utils}/resolveThemeModeToggleState.d.ts +1 -1
  538. package/dist/features/theme/utils/resolveThemeModeToggleState.d.ts.map +1 -0
  539. package/dist/features/theme/utils/resolveThemeModeToggleState.js.map +1 -0
  540. package/dist/{theme → features/theme/utils}/resolveZoraScopedThemeId.d.ts +1 -1
  541. package/dist/features/theme/utils/resolveZoraScopedThemeId.d.ts.map +1 -0
  542. package/dist/features/theme/utils/resolveZoraScopedThemeId.js.map +1 -0
  543. package/dist/features/theme/utils/resolveZoraThemeRecipe.d.ts.map +1 -0
  544. package/dist/{theme → features/theme/utils}/resolveZoraThemeRecipe.js +1 -1
  545. package/dist/features/theme/utils/resolveZoraThemeRecipe.js.map +1 -0
  546. package/dist/features/theme/zoraDefaultTheme.d.ts +3 -0
  547. package/dist/features/theme/zoraDefaultTheme.d.ts.map +1 -0
  548. package/dist/features/theme/zoraDefaultTheme.js.map +1 -0
  549. package/dist/features/time-picker/adapters/inbound/TimePicker.native.d.ts.map +1 -1
  550. package/dist/features/time-picker/adapters/inbound/TimePicker.native.js +1 -1
  551. package/dist/features/time-picker/adapters/inbound/TimePicker.native.js.map +1 -1
  552. package/dist/features/time-picker/adapters/inbound/TimePicker.web.d.ts.map +1 -1
  553. package/dist/features/time-picker/adapters/inbound/TimePicker.web.js +1 -1
  554. package/dist/features/time-picker/adapters/inbound/TimePicker.web.js.map +1 -1
  555. package/dist/features/time-picker/timePickerMeta.js.map +1 -1
  556. package/dist/features/timeline/adapters/inbound/Timeline.d.ts.map +1 -1
  557. package/dist/features/timeline/adapters/inbound/Timeline.js +3 -3
  558. package/dist/features/timeline/adapters/inbound/Timeline.js.map +1 -1
  559. package/dist/features/timeline/meta.js.map +1 -1
  560. package/dist/features/toast/adapters/inbound/Toast.d.ts.map +1 -1
  561. package/dist/features/toast/adapters/inbound/Toast.js +1 -1
  562. package/dist/features/toast/adapters/inbound/Toast.js.map +1 -1
  563. package/dist/features/toast/toastMeta.js.map +1 -1
  564. package/dist/features/toast/toastProviderMeta.js.map +1 -1
  565. package/dist/features/toolbar/adapters/inbound/Toolbar.d.ts.map +1 -1
  566. package/dist/features/toolbar/adapters/inbound/Toolbar.js +1 -1
  567. package/dist/features/toolbar/adapters/inbound/Toolbar.js.map +1 -1
  568. package/dist/features/toolbar/toolbarMeta.js.map +1 -1
  569. package/dist/features/tree-view/adapters/inbound/TreeItem.d.ts +1 -1
  570. package/dist/features/tree-view/adapters/inbound/TreeItem.d.ts.map +1 -1
  571. package/dist/features/tree-view/adapters/inbound/TreeItem.js +1 -1
  572. package/dist/features/tree-view/adapters/inbound/TreeItem.js.map +1 -1
  573. package/dist/features/tree-view/adapters/inbound/TreeView.d.ts.map +1 -1
  574. package/dist/features/tree-view/adapters/inbound/TreeView.js +1 -1
  575. package/dist/features/tree-view/adapters/inbound/TreeView.js.map +1 -1
  576. package/dist/features/tree-view/meta.js.map +1 -1
  577. package/dist/features/typography/adapters/inbound/Heading.d.ts.map +1 -1
  578. package/dist/features/typography/adapters/inbound/Heading.js +3 -3
  579. package/dist/features/typography/adapters/inbound/Heading.js.map +1 -1
  580. package/dist/features/typography/adapters/inbound/Text.d.ts.map +1 -1
  581. package/dist/features/typography/adapters/inbound/Text.js +3 -3
  582. package/dist/features/typography/adapters/inbound/Text.js.map +1 -1
  583. package/dist/features/typography/headingMeta.js +2 -2
  584. package/dist/features/typography/headingMeta.js.map +1 -1
  585. package/dist/features/typography/textMeta.js +2 -2
  586. package/dist/features/typography/textMeta.js.map +1 -1
  587. package/dist/features/typography/utils/headingThemeRecipeMeta.js +1 -1
  588. package/dist/features/typography/utils/headingThemeRecipeMeta.js.map +1 -1
  589. package/dist/features/typography/utils/resolveHeadingThemeRecipe.d.ts +1 -1
  590. package/dist/features/typography/utils/resolveTextThemeRecipe.d.ts +1 -1
  591. package/dist/features/typography/utils/textThemeRecipeMeta.js +1 -1
  592. package/dist/features/typography/utils/textThemeRecipeMeta.js.map +1 -1
  593. package/dist/features/uploader/adapters/inbound/Uploader.d.ts.map +1 -1
  594. package/dist/features/uploader/adapters/inbound/Uploader.js +1 -1
  595. package/dist/features/uploader/adapters/inbound/Uploader.js.map +1 -1
  596. package/dist/features/uploader/uploaderMeta.js.map +1 -1
  597. package/dist/index.d.ts +11 -11
  598. package/dist/index.d.ts.map +1 -1
  599. package/dist/index.js +7 -7
  600. package/dist/index.js.map +1 -1
  601. package/dist/types/accordion.d.ts +1 -1
  602. package/dist/types/accordion.d.ts.map +1 -1
  603. package/dist/types/accordion.js.map +1 -1
  604. package/dist/types/activity-indicator.d.ts +1 -1
  605. package/dist/types/activity-indicator.d.ts.map +1 -1
  606. package/dist/types/activity-indicator.js.map +1 -1
  607. package/dist/types/app-bar.d.ts +1 -1
  608. package/dist/types/app-bar.d.ts.map +1 -1
  609. package/dist/types/app-bar.js.map +1 -1
  610. package/dist/types/auth.d.ts +1 -1
  611. package/dist/types/auth.d.ts.map +1 -1
  612. package/dist/types/auth.js.map +1 -1
  613. package/dist/{metadata/types.d.ts → types/authoring.d.ts} +1 -1
  614. package/dist/types/authoring.d.ts.map +1 -0
  615. package/dist/types/authoring.js +2 -0
  616. package/dist/types/authoring.js.map +1 -0
  617. package/dist/types/avatar-group.d.ts +2 -2
  618. package/dist/types/avatar-group.d.ts.map +1 -1
  619. package/dist/types/avatar-group.js.map +1 -1
  620. package/dist/types/avatar.d.ts +2 -2
  621. package/dist/types/avatar.d.ts.map +1 -1
  622. package/dist/types/avatar.js.map +1 -1
  623. package/dist/types/badge.d.ts +4 -2
  624. package/dist/types/badge.d.ts.map +1 -1
  625. package/dist/types/badge.js.map +1 -1
  626. package/dist/{theme/ZoraBaseProps.d.ts → types/base.d.ts} +2 -2
  627. package/dist/types/base.d.ts.map +1 -0
  628. package/dist/types/base.js +2 -0
  629. package/dist/types/base.js.map +1 -0
  630. package/dist/types/breadcrumbs.d.ts +1 -1
  631. package/dist/types/breadcrumbs.d.ts.map +1 -1
  632. package/dist/types/breadcrumbs.js.map +1 -1
  633. package/dist/types/button-group.d.ts +1 -1
  634. package/dist/types/button-group.d.ts.map +1 -1
  635. package/dist/types/button-group.js.map +1 -1
  636. package/dist/types/button.d.ts +4 -2
  637. package/dist/types/button.d.ts.map +1 -1
  638. package/dist/types/button.js.map +1 -1
  639. package/dist/types/card.d.ts +2 -2
  640. package/dist/types/card.d.ts.map +1 -1
  641. package/dist/types/card.js.map +1 -1
  642. package/dist/types/chat.d.ts +2 -2
  643. package/dist/types/chat.d.ts.map +1 -1
  644. package/dist/types/chat.js.map +1 -1
  645. package/dist/types/checkbox.d.ts +1 -1
  646. package/dist/types/checkbox.d.ts.map +1 -1
  647. package/dist/types/checkbox.js.map +1 -1
  648. package/dist/types/chip-group.d.ts +3 -2
  649. package/dist/types/chip-group.d.ts.map +1 -1
  650. package/dist/types/chip-group.js.map +1 -1
  651. package/dist/types/chip.d.ts +3 -2
  652. package/dist/types/chip.d.ts.map +1 -1
  653. package/dist/types/chip.js.map +1 -1
  654. package/dist/types/collection-editor.d.ts +1 -1
  655. package/dist/types/collection-editor.d.ts.map +1 -1
  656. package/dist/types/collection-editor.js.map +1 -1
  657. package/dist/types/content-rail.d.ts +1 -1
  658. package/dist/types/content-rail.d.ts.map +1 -1
  659. package/dist/types/content-rail.js.map +1 -1
  660. package/dist/types/control.d.ts +3 -0
  661. package/dist/types/control.d.ts.map +1 -0
  662. package/dist/types/control.js +2 -0
  663. package/dist/types/control.js.map +1 -0
  664. package/dist/types/data-table.d.ts +1 -1
  665. package/dist/types/data-table.d.ts.map +1 -1
  666. package/dist/types/data-table.js.map +1 -1
  667. package/dist/types/date-picker.d.ts +1 -1
  668. package/dist/types/date-picker.d.ts.map +1 -1
  669. package/dist/types/date-picker.js.map +1 -1
  670. package/dist/types/dialog.d.ts +2 -2
  671. package/dist/types/dialog.d.ts.map +1 -1
  672. package/dist/types/dialog.js.map +1 -1
  673. package/dist/types/empty-state.d.ts +3 -2
  674. package/dist/types/empty-state.d.ts.map +1 -1
  675. package/dist/types/empty-state.js.map +1 -1
  676. package/dist/types/form.d.ts +1 -1
  677. package/dist/types/form.d.ts.map +1 -1
  678. package/dist/types/form.js.map +1 -1
  679. package/dist/types/gradient.d.ts +1 -1
  680. package/dist/types/gradient.d.ts.map +1 -1
  681. package/dist/types/gradient.js.map +1 -1
  682. package/dist/types/heading.d.ts +2 -2
  683. package/dist/types/heading.d.ts.map +1 -1
  684. package/dist/types/heading.js.map +1 -1
  685. package/dist/types/hero.d.ts +3 -2
  686. package/dist/types/hero.d.ts.map +1 -1
  687. package/dist/types/hero.js.map +1 -1
  688. package/dist/types/icon-button.d.ts +4 -2
  689. package/dist/types/icon-button.d.ts.map +1 -1
  690. package/dist/types/icon-button.js.map +1 -1
  691. package/dist/types/icon.d.ts +1 -1
  692. package/dist/types/icon.d.ts.map +1 -1
  693. package/dist/types/icon.js.map +1 -1
  694. package/dist/types/image.d.ts +1 -1
  695. package/dist/types/image.d.ts.map +1 -1
  696. package/dist/types/image.js.map +1 -1
  697. package/dist/types/keyboard-avoiding-view.d.ts +1 -1
  698. package/dist/types/keyboard-avoiding-view.d.ts.map +1 -1
  699. package/dist/types/keyboard-avoiding-view.js.map +1 -1
  700. package/dist/types/layout.d.ts +2 -2
  701. package/dist/types/layout.d.ts.map +1 -1
  702. package/dist/types/layout.js.map +1 -1
  703. package/dist/types/list.d.ts +1 -1
  704. package/dist/types/list.d.ts.map +1 -1
  705. package/dist/types/list.js.map +1 -1
  706. package/dist/types/manifest-bottom-sheet.d.ts +1 -1
  707. package/dist/types/manifest-bottom-sheet.d.ts.map +1 -1
  708. package/dist/types/manifest-bottom-sheet.js.map +1 -1
  709. package/dist/types/manifest-list.d.ts +1 -1
  710. package/dist/types/manifest-list.d.ts.map +1 -1
  711. package/dist/types/manifest-list.js.map +1 -1
  712. package/dist/types/media-card.d.ts +2 -2
  713. package/dist/types/media-card.d.ts.map +1 -1
  714. package/dist/types/media-card.js.map +1 -1
  715. package/dist/types/metric-card.d.ts +3 -2
  716. package/dist/types/metric-card.d.ts.map +1 -1
  717. package/dist/types/metric-card.js.map +1 -1
  718. package/dist/types/missing-element.d.ts +1 -1
  719. package/dist/types/missing-element.d.ts.map +1 -1
  720. package/dist/types/missing-element.js.map +1 -1
  721. package/dist/types/pagination.d.ts +1 -1
  722. package/dist/types/pagination.d.ts.map +1 -1
  723. package/dist/types/pagination.js.map +1 -1
  724. package/dist/types/palette-item.d.ts +1 -1
  725. package/dist/types/palette-item.d.ts.map +1 -1
  726. package/dist/types/palette-item.js.map +1 -1
  727. package/dist/{pluginComposition.d.ts → types/plugin.d.ts} +2 -18
  728. package/dist/types/plugin.d.ts.map +1 -0
  729. package/dist/types/plugin.js +2 -0
  730. package/dist/types/plugin.js.map +1 -0
  731. package/dist/types/popover-menu.d.ts +1 -1
  732. package/dist/types/popover-menu.d.ts.map +1 -1
  733. package/dist/types/popover-menu.js.map +1 -1
  734. package/dist/types/post-card.d.ts +3 -2
  735. package/dist/types/post-card.d.ts.map +1 -1
  736. package/dist/types/post-card.js.map +1 -1
  737. package/dist/types/product-card.d.ts +1 -1
  738. package/dist/types/product-card.d.ts.map +1 -1
  739. package/dist/types/product-card.js.map +1 -1
  740. package/dist/types/progress.d.ts +3 -2
  741. package/dist/types/progress.d.ts.map +1 -1
  742. package/dist/types/progress.js.map +1 -1
  743. package/dist/types/provider.d.ts +1 -1
  744. package/dist/types/provider.d.ts.map +1 -1
  745. package/dist/types/provider.js.map +1 -1
  746. package/dist/types/radio.d.ts +1 -1
  747. package/dist/types/radio.d.ts.map +1 -1
  748. package/dist/types/radio.js.map +1 -1
  749. package/dist/types/rating.d.ts +3 -2
  750. package/dist/types/rating.d.ts.map +1 -1
  751. package/dist/types/rating.js.map +1 -1
  752. package/dist/types/reader.d.ts +1 -1
  753. package/dist/types/reader.d.ts.map +1 -1
  754. package/dist/types/reader.js.map +1 -1
  755. package/dist/{registry.d.ts → types/registry.d.ts} +0 -1
  756. package/dist/types/registry.d.ts.map +1 -0
  757. package/dist/types/registry.js +2 -0
  758. package/dist/types/registry.js.map +1 -0
  759. package/dist/types/scanner.d.ts +1 -1
  760. package/dist/types/scanner.d.ts.map +1 -1
  761. package/dist/types/scanner.js.map +1 -1
  762. package/dist/types/search-input.d.ts +2 -2
  763. package/dist/types/search-input.d.ts.map +1 -1
  764. package/dist/types/search-input.js.map +1 -1
  765. package/dist/types/section.d.ts +1 -1
  766. package/dist/types/section.d.ts.map +1 -1
  767. package/dist/types/section.js.map +1 -1
  768. package/dist/types/select.d.ts +1 -1
  769. package/dist/types/select.d.ts.map +1 -1
  770. package/dist/types/select.js.map +1 -1
  771. package/dist/types/skeleton.d.ts +1 -1
  772. package/dist/types/skeleton.d.ts.map +1 -1
  773. package/dist/types/skeleton.js.map +1 -1
  774. package/dist/types/surface.d.ts +1 -1
  775. package/dist/types/surface.d.ts.map +1 -1
  776. package/dist/types/surface.js.map +1 -1
  777. package/dist/types/switch.d.ts +1 -1
  778. package/dist/types/switch.d.ts.map +1 -1
  779. package/dist/types/switch.js.map +1 -1
  780. package/dist/types/tabs.d.ts +1 -1
  781. package/dist/types/tabs.d.ts.map +1 -1
  782. package/dist/types/tabs.js.map +1 -1
  783. package/dist/types/text-input.d.ts +2 -2
  784. package/dist/types/text-input.d.ts.map +1 -1
  785. package/dist/types/text-input.js.map +1 -1
  786. package/dist/types/text.d.ts +2 -2
  787. package/dist/types/text.d.ts.map +1 -1
  788. package/dist/types/text.js.map +1 -1
  789. package/dist/{theme/ThemeModeToggleProps.d.ts → types/theme-mode-toggle.d.ts} +1 -1
  790. package/dist/types/theme-mode-toggle.d.ts.map +1 -0
  791. package/dist/types/theme-mode-toggle.js +2 -0
  792. package/dist/types/theme-mode-toggle.js.map +1 -0
  793. package/dist/{metadata/themeRecipeTypes.d.ts → types/theme-recipe.d.ts} +2 -3
  794. package/dist/types/theme-recipe.d.ts.map +1 -0
  795. package/dist/types/theme-recipe.js +2 -0
  796. package/dist/types/theme-recipe.js.map +1 -0
  797. package/dist/{theme/types.d.ts → types/theme.d.ts} +6 -1
  798. package/dist/types/theme.d.ts.map +1 -0
  799. package/dist/types/theme.js +2 -0
  800. package/dist/types/theme.js.map +1 -0
  801. package/dist/types/time-picker.d.ts +1 -1
  802. package/dist/types/time-picker.d.ts.map +1 -1
  803. package/dist/types/time-picker.js.map +1 -1
  804. package/dist/types/timeline.d.ts +2 -2
  805. package/dist/types/timeline.d.ts.map +1 -1
  806. package/dist/types/timeline.js.map +1 -1
  807. package/dist/types/toast.d.ts +1 -1
  808. package/dist/types/toast.d.ts.map +1 -1
  809. package/dist/types/toast.js.map +1 -1
  810. package/dist/types/toolbar.d.ts +1 -1
  811. package/dist/types/toolbar.d.ts.map +1 -1
  812. package/dist/types/toolbar.js.map +1 -1
  813. package/dist/types/tree-view.d.ts +1 -1
  814. package/dist/types/tree-view.d.ts.map +1 -1
  815. package/dist/types/tree-view.js.map +1 -1
  816. package/dist/types/upload.d.ts +1 -1
  817. package/dist/types/upload.d.ts.map +1 -1
  818. package/dist/types/upload.js.map +1 -1
  819. package/package.json +20 -19
  820. package/src/audit.test.ts +1 -1
  821. package/src/features/accordion/accordionItemMeta.ts +2 -2
  822. package/src/features/accordion/accordionMeta.ts +1 -1
  823. package/src/features/accordion/adapters/inbound/Accordion.tsx +1 -1
  824. package/src/features/accordion/adapters/inbound/AccordionItem.tsx +1 -1
  825. package/src/features/activity-indicator/activityIndicatorMeta.ts +1 -1
  826. package/src/features/activity-indicator/adapters/inbound/ActivityIndicator.tsx +2 -2
  827. package/src/features/app-bar/adapters/inbound/AppBar.tsx +2 -2
  828. package/src/features/app-bar/appBarMeta.ts +1 -1
  829. package/src/features/auth/adapters/inbound/AuthForm.tsx +1 -1
  830. package/src/features/auth/adapters/inbound/AuthFormField.tsx +1 -1
  831. package/src/features/auth/adapters/inbound/ForgotPasswordForm.tsx +1 -1
  832. package/src/features/auth/adapters/inbound/OAuthProviderButton.tsx +1 -1
  833. package/src/features/auth/adapters/inbound/OAuthProviderList.tsx +1 -1
  834. package/src/features/auth/adapters/inbound/OtpForm.tsx +1 -1
  835. package/src/features/auth/adapters/inbound/SignInForm.tsx +1 -1
  836. package/src/features/auth/adapters/inbound/SignUpForm.tsx +1 -1
  837. package/src/features/auth/forgotPasswordFormMeta.ts +1 -1
  838. package/src/features/auth/oauthProviderButtonMeta.ts +2 -2
  839. package/src/features/auth/oauthProviderListMeta.ts +2 -2
  840. package/src/features/auth/otpFormMeta.ts +1 -1
  841. package/src/features/auth/public.test.ts +1 -1
  842. package/src/features/auth/signInFormMeta.ts +1 -1
  843. package/src/features/auth/signUpFormMeta.ts +1 -1
  844. package/src/{metadata → features/authoring}/bindableComponentMeta.ts +2 -2
  845. package/src/{metadata → features/authoring}/componentMeta.test.ts +4 -4
  846. package/src/features/authoring/componentMeta.ts +190 -0
  847. package/src/{constants.ts → features/authoring/constants.ts} +10 -0
  848. package/src/{featureManifest.test.ts → features/authoring/featureManifest.test.ts} +2 -2
  849. package/src/{metadata → features/authoring}/index.ts +24 -23
  850. package/src/features/authoring/themeRecipeMeta.ts +14 -0
  851. package/src/{utils → features/authoring/utils}/createManifestBindings.ts +1 -1
  852. package/src/{utils → features/authoring/utils}/finalizeFeatureMetadata.ts +1 -1
  853. package/src/features/avatar/adapters/inbound/Avatar.tsx +3 -3
  854. package/src/features/avatar/adapters/inbound/AvatarGroup.tsx +2 -2
  855. package/src/features/avatar/avatarGroupMeta.ts +1 -1
  856. package/src/features/avatar/avatarMeta.ts +1 -1
  857. package/src/features/badge/adapters/inbound/Badge.tsx +2 -2
  858. package/src/features/badge/badgeMeta.ts +1 -1
  859. package/src/features/badge/utils/resolveBadgeRecipe.test.ts +9 -0
  860. package/src/features/badge/utils/resolveBadgeRecipe.ts +17 -0
  861. package/src/features/bottom-sheet/adapters/inbound/BottomSheet.tsx +3 -3
  862. package/src/features/bottom-sheet/bottomSheetMeta.ts +2 -2
  863. package/src/features/bottom-sheet/public.test.ts +3 -3
  864. package/src/features/breadcrumbs/adapters/inbound/Breadcrumbs.tsx +3 -3
  865. package/src/features/breadcrumbs/breadcrumbsMeta.ts +1 -1
  866. package/src/features/button/adapters/inbound/Button.tsx +2 -2
  867. package/src/features/button/adapters/inbound/ButtonGroup.tsx +1 -1
  868. package/src/features/button/adapters/inbound/IconButton.tsx +2 -2
  869. package/src/features/button/buttonGroupMeta.ts +1 -1
  870. package/src/features/button/buttonMeta.ts +3 -3
  871. package/src/features/button/iconButtonMeta.ts +1 -1
  872. package/src/features/button/utils/resolveButtonRecipe.test.ts +9 -0
  873. package/src/features/button/utils/resolveButtonRecipe.ts +17 -0
  874. package/src/features/button/utils/resolveButtonThemeRecipe.ts +4 -6
  875. package/src/features/button/utils/themeRecipeMeta.ts +2 -2
  876. package/src/features/card/adapters/inbound/Card.tsx +3 -3
  877. package/src/features/card/adapters/inbound/MediaCard.tsx +2 -2
  878. package/src/features/card/adapters/inbound/MetricCard.tsx +4 -3
  879. package/src/features/card/adapters/inbound/PostCard.test.tsx +1 -1
  880. package/src/features/card/adapters/inbound/PostCard.tsx +2 -2
  881. package/src/features/card/adapters/inbound/ProductCard.test.tsx +1 -1
  882. package/src/features/card/adapters/inbound/ProductCard.tsx +2 -2
  883. package/src/features/card/cardMeta.ts +3 -3
  884. package/src/features/card/mediaCardMeta.ts +2 -2
  885. package/src/features/card/metricCardMeta.ts +1 -1
  886. package/src/features/card/postCardMeta.ts +2 -2
  887. package/src/features/card/productCardMeta.ts +1 -1
  888. package/src/features/card/utils/resolveCardThemeRecipe.ts +1 -1
  889. package/src/features/card/utils/resolveCardVariant.test.ts +11 -0
  890. package/src/features/card/utils/resolveCardVariant.ts +15 -0
  891. package/src/features/card/utils/themeRecipeMeta.ts +1 -1
  892. package/src/features/chat/adapters/inbound/ChatListItem.test.tsx +1 -1
  893. package/src/features/chat/adapters/inbound/ChatListItem.tsx +2 -2
  894. package/src/features/chat/adapters/inbound/MessageBubble.tsx +2 -2
  895. package/src/features/chat/chatListItemMeta.ts +1 -1
  896. package/src/features/chat/messageBubbleMeta.ts +2 -2
  897. package/src/features/chip/adapters/inbound/Chip.tsx +3 -3
  898. package/src/features/chip/adapters/inbound/ChipGroup.tsx +1 -1
  899. package/src/features/chip/chipGroupMeta.ts +1 -1
  900. package/src/features/chip/chipMeta.ts +1 -1
  901. package/src/features/chip/utils/resolveChipColors.ts +1 -1
  902. package/src/features/collection-editor/adapters/inbound/CollectionEditor.tsx +1 -1
  903. package/src/features/collection-editor/meta.ts +1 -1
  904. package/src/features/content-rail/adapters/inbound/ContentRail.tsx +2 -2
  905. package/src/features/content-rail/adapters/inbound/ContentRailFlow.tsx +1 -1
  906. package/src/features/content-rail/contentRailMeta.ts +2 -2
  907. package/src/features/data-table/adapters/inbound/DataTable.tsx +1 -1
  908. package/src/features/data-table/dataTableMeta.ts +1 -1
  909. package/src/features/date-picker/adapters/inbound/DatePicker.native.tsx +1 -1
  910. package/src/features/date-picker/adapters/inbound/DatePicker.web.tsx +1 -1
  911. package/src/features/date-picker/datePickerMeta.ts +1 -1
  912. package/src/features/date-picker/public.test.ts +1 -1
  913. package/src/features/dialog/adapters/inbound/Dialog.tsx +2 -2
  914. package/src/features/dialog/dialogMeta.ts +2 -2
  915. package/src/features/dialog/utils/resolveDialogWidth.test.ts +10 -0
  916. package/src/features/dialog/utils/resolveDialogWidth.ts +13 -0
  917. package/src/features/empty-state/adapters/inbound/EmptyState.tsx +1 -1
  918. package/src/features/empty-state/emptyStateMeta.ts +1 -1
  919. package/src/features/form/adapters/inbound/Form.tsx +1 -1
  920. package/src/features/form/adapters/inbound/FormActions.tsx +1 -1
  921. package/src/features/form/adapters/inbound/FormError.tsx +2 -2
  922. package/src/features/form/checkbox/adapters/inbound/Checkbox.tsx +1 -1
  923. package/src/features/form/checkbox/adapters/inbound/CheckboxGroup.tsx +1 -1
  924. package/src/features/form/checkbox/checkboxMeta.ts +1 -1
  925. package/src/features/form/field/adapters/inbound/Field.tsx +1 -1
  926. package/src/features/form/field/meta.ts +1 -1
  927. package/src/features/form/formActionsMeta.ts +1 -1
  928. package/src/features/form/formErrorMeta.ts +1 -1
  929. package/src/features/form/formMeta.ts +1 -1
  930. package/src/features/form/radio/adapters/inbound/Radio.tsx +1 -1
  931. package/src/features/form/radio/adapters/inbound/RadioGroup.tsx +2 -2
  932. package/src/features/form/radio/radioMeta.ts +2 -2
  933. package/src/features/form/radio/themeRecipeMeta.ts +2 -2
  934. package/src/features/form/radio/utils/handleRadioOptionKeyDown.test.ts +1 -1
  935. package/src/features/form/radio/utils/handleRadioOptionKeyDown.ts +1 -1
  936. package/src/features/form/radio/utils/resolveRadioGroupThemeRecipe.ts +1 -1
  937. package/src/features/form/search-input/adapters/inbound/SearchInput.tsx +1 -1
  938. package/src/features/form/search-input/searchInputMeta.ts +1 -1
  939. package/src/features/form/select/adapters/inbound/Select.native.tsx +1 -1
  940. package/src/features/form/select/adapters/inbound/Select.web.tsx +1 -1
  941. package/src/features/form/select/selectMeta.ts +1 -1
  942. package/src/features/form/switch/adapters/inbound/Switch.tsx +1 -1
  943. package/src/features/form/switch/switchMeta.ts +1 -1
  944. package/src/features/form/text-input/adapters/inbound/TextInput.tsx +3 -3
  945. package/src/features/form/text-input/textInputMeta.ts +1 -1
  946. package/src/features/gradient/adapters/inbound/Gradient.tsx +1 -1
  947. package/src/features/gradient/gradientMeta.ts +2 -2
  948. package/src/features/gradient/public.test.ts +1 -1
  949. package/src/features/hero/adapters/inbound/Hero.tsx +1 -1
  950. package/src/features/hero/heroMeta.ts +1 -1
  951. package/src/features/icon/adapters/inbound/Icon.tsx +1 -1
  952. package/src/features/icon/iconMeta.ts +1 -1
  953. package/src/features/icon/utils/meta.test.ts +1 -1
  954. package/src/features/icon/utils/resolveIconSize.test.ts +11 -0
  955. package/src/features/icon/utils/resolveIconSize.ts +13 -0
  956. package/src/features/image/adapters/inbound/Image.tsx +2 -2
  957. package/src/features/image/imageMeta.ts +1 -1
  958. package/src/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.tsx +1 -1
  959. package/src/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.ts +2 -2
  960. package/src/features/layout/adapters/inbound/AppShell.tsx +1 -1
  961. package/src/features/layout/adapters/inbound/Divider.tsx +1 -1
  962. package/src/features/layout/adapters/inbound/Grid.tsx +1 -1
  963. package/src/features/layout/adapters/inbound/Screen.tsx +2 -2
  964. package/src/features/layout/adapters/inbound/ScrollView.tsx +1 -1
  965. package/src/features/layout/adapters/inbound/View.tsx +1 -1
  966. package/src/features/layout/appShellMeta.ts +1 -1
  967. package/src/features/layout/constants.ts +1 -1
  968. package/src/features/layout/dividerMeta.ts +1 -1
  969. package/src/features/layout/gridMeta.ts +2 -2
  970. package/src/features/layout/screenMeta.ts +2 -2
  971. package/src/features/layout/scrollViewMeta.ts +2 -2
  972. package/src/features/layout/utils/resolvePageMaxWidth.test.ts +10 -0
  973. package/src/features/layout/utils/resolvePageMaxWidth.ts +13 -0
  974. package/src/features/layout/viewMeta.ts +2 -2
  975. package/src/features/list/adapters/inbound/FlatList.tsx +1 -1
  976. package/src/features/list/adapters/inbound/List.tsx +1 -1
  977. package/src/features/list/adapters/inbound/ListItem.tsx +2 -2
  978. package/src/features/list/adapters/inbound/ListSection.tsx +1 -1
  979. package/src/features/list/adapters/inbound/SectionList.tsx +1 -1
  980. package/src/features/list/flatListMeta.ts +2 -2
  981. package/src/features/list/meta.ts +1 -1
  982. package/src/features/list/sectionListMeta.ts +1 -1
  983. package/src/features/missing-element/MissingElement.test.ts +1 -1
  984. package/src/features/missing-element/adapters/inbound/MissingElement.tsx +2 -2
  985. package/src/features/missing-element/missingElementMeta.ts +1 -1
  986. package/src/features/pagination/adapters/inbound/Pagination.tsx +1 -1
  987. package/src/features/pagination/paginationMeta.ts +1 -1
  988. package/src/features/palette-item/adapters/inbound/PaletteItem.tsx +2 -2
  989. package/src/features/palette-item/paletteItemMeta.ts +1 -1
  990. package/src/{corePlugin.ts → features/plugin/ZORA_CORE_PLUGIN.ts} +3 -3
  991. package/src/{corePluginMetadata.ts → features/plugin/ZORA_CORE_PLUGIN_METADATA.ts} +4 -4
  992. package/src/{pluginComposition.ts → features/plugin/application/use-cases/composeZoraPluginMetadata.ts} +10 -122
  993. package/src/features/plugin/application/use-cases/composeZoraPlugins.ts +76 -0
  994. package/src/features/plugin/domain/ZoraPluginCompositionError.ts +21 -0
  995. package/src/{pluginComposition.test.ts → features/plugin/pluginComposition.test.ts} +4 -6
  996. package/src/features/plugin/public.ts +3 -0
  997. package/src/features/plugin/runtime.ts +2 -0
  998. package/src/features/popover-menu/adapters/inbound/PopoverMenu.tsx +3 -3
  999. package/src/features/popover-menu/popoverMenuMeta.ts +1 -1
  1000. package/src/features/progress/adapters/inbound/Progress.tsx +2 -2
  1001. package/src/features/progress/adapters/inbound/ProgressRing.tsx +2 -2
  1002. package/src/features/progress/progressMeta.ts +2 -2
  1003. package/src/features/rating/adapters/inbound/Rating.tsx +4 -4
  1004. package/src/features/rating/ratingMeta.ts +1 -1
  1005. package/src/features/reader/adapters/inbound/ReaderSurface.tsx +2 -2
  1006. package/src/features/reader/meta.ts +3 -3
  1007. package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +186 -0
  1008. package/src/features/registry/public.ts +1 -0
  1009. package/src/{registry.test.ts → features/registry/registry.test.ts} +6 -3
  1010. package/src/features/scanner/adapters/inbound/BarcodeScannerView.tsx +2 -2
  1011. package/src/features/scanner/adapters/inbound/CameraPermissionView.tsx +1 -1
  1012. package/src/features/scanner/adapters/inbound/ScanOverlay.tsx +2 -2
  1013. package/src/features/scanner/meta.ts +5 -5
  1014. package/src/features/section/adapters/inbound/ScreenSection.tsx +1 -1
  1015. package/src/features/section/adapters/inbound/SectionHeader.tsx +1 -1
  1016. package/src/features/section/screenSectionMeta.ts +2 -2
  1017. package/src/features/section/sectionHeaderMeta.ts +1 -1
  1018. package/src/features/selection/meta.ts +1 -1
  1019. package/src/features/skeleton/adapters/inbound/Skeleton.tsx +2 -2
  1020. package/src/features/skeleton/adapters/inbound/SkeletonCard.tsx +1 -1
  1021. package/src/features/skeleton/adapters/inbound/SkeletonList.tsx +1 -1
  1022. package/src/features/skeleton/adapters/inbound/SkeletonText.tsx +1 -1
  1023. package/src/features/skeleton/public.test.ts +1 -1
  1024. package/src/features/skeleton/skeletonMeta.ts +1 -1
  1025. package/src/features/surface/adapters/inbound/Surface.tsx +1 -1
  1026. package/src/features/surface/surfaceMeta.ts +2 -2
  1027. package/src/features/tabs/adapters/inbound/Tab.tsx +1 -1
  1028. package/src/features/tabs/adapters/inbound/TabList.tsx +1 -1
  1029. package/src/features/tabs/adapters/inbound/TabPanel.tsx +1 -1
  1030. package/src/features/tabs/adapters/inbound/Tabs.tsx +1 -1
  1031. package/src/features/tabs/tabListMeta.ts +1 -1
  1032. package/src/features/tabs/tabMeta.ts +1 -1
  1033. package/src/features/tabs/tabPanelMeta.ts +2 -2
  1034. package/src/features/tabs/tabsMeta.ts +1 -1
  1035. package/src/{theme → features/theme}/ThemeModeToggle.meta.ts +1 -1
  1036. package/src/{theme → features/theme/adapters/inbound}/ThemeModeToggle.tsx +4 -4
  1037. package/src/{theme → features/theme/adapters/inbound}/ZoraProvider.tsx +6 -6
  1038. package/src/features/theme/adapters/inbound/ZoraThemeScope.tsx +41 -0
  1039. package/src/{theme → features/theme/adapters/inbound}/withZoraThemeScope.tsx +1 -1
  1040. package/src/{theme → features/theme/application/use-cases}/compileZoraTheme.test.ts +5 -1
  1041. package/src/{theme → features/theme/application/use-cases}/compileZoraTheme.ts +3 -2
  1042. package/src/{theme → features/theme/application/use-cases}/createZoraThemeConfig.test.ts +1 -1
  1043. package/src/{theme → features/theme/application/use-cases}/createZoraThemeConfig.ts +2 -2
  1044. package/src/features/theme/colorModel.ts +13 -0
  1045. package/src/{theme → features/theme/composition}/ZoraRuntimeCapabilities.native.tsx +1 -1
  1046. package/src/{theme → features/theme/composition}/ZoraRuntimeCapabilities.web.tsx +1 -1
  1047. package/src/{theme → features/theme/composition}/ZoraThemeRuntimeContext.tsx +2 -2
  1048. package/src/{theme → features/theme/composition}/useZoraThemeRecipe.ts +1 -1
  1049. package/src/{theme → features/theme}/public.ts +3 -3
  1050. package/src/features/theme/runtime.ts +9 -0
  1051. package/src/{theme → features/theme}/themeConfigScope.test.ts +16 -7
  1052. package/src/{theme → features/theme}/themeScopeStructure.test.ts +16 -9
  1053. package/src/{theme → features/theme/utils}/resolveThemeModeToggleState.ts +1 -1
  1054. package/src/{theme → features/theme/utils}/resolveZoraScopedThemeId.ts +1 -1
  1055. package/src/{theme → features/theme/utils}/resolveZoraThemeRecipe.ts +2 -2
  1056. package/src/{theme → features/theme}/zoraDefaultTheme.ts +1 -1
  1057. package/src/features/time-picker/adapters/inbound/TimePicker.native.tsx +1 -1
  1058. package/src/features/time-picker/adapters/inbound/TimePicker.web.tsx +1 -1
  1059. package/src/features/time-picker/public.test.ts +1 -1
  1060. package/src/features/time-picker/timePickerMeta.ts +1 -1
  1061. package/src/features/timeline/adapters/inbound/Timeline.tsx +4 -4
  1062. package/src/features/timeline/meta.ts +1 -1
  1063. package/src/features/toast/adapters/inbound/Toast.tsx +1 -1
  1064. package/src/features/toast/public.test.ts +4 -4
  1065. package/src/features/toast/toastMeta.ts +1 -1
  1066. package/src/features/toast/toastProviderMeta.ts +1 -1
  1067. package/src/features/toolbar/adapters/inbound/Toolbar.tsx +1 -1
  1068. package/src/features/toolbar/toolbarMeta.ts +1 -1
  1069. package/src/features/tree-view/adapters/inbound/TreeItem.tsx +2 -2
  1070. package/src/features/tree-view/adapters/inbound/TreeView.tsx +1 -1
  1071. package/src/features/tree-view/meta.ts +1 -1
  1072. package/src/features/typography/adapters/inbound/Heading.tsx +3 -3
  1073. package/src/features/typography/adapters/inbound/Text.tsx +3 -3
  1074. package/src/features/typography/headingMeta.ts +3 -3
  1075. package/src/features/typography/textMeta.ts +3 -3
  1076. package/src/features/typography/utils/headingThemeRecipeMeta.ts +2 -2
  1077. package/src/features/typography/utils/textThemeRecipeMeta.ts +2 -2
  1078. package/src/features/uploader/adapters/inbound/Uploader.tsx +1 -1
  1079. package/src/features/uploader/public.test.ts +2 -2
  1080. package/src/features/uploader/uploaderMeta.ts +1 -1
  1081. package/src/index.ts +56 -56
  1082. package/src/interactionPolicy.test.ts +3 -3
  1083. package/src/structureOwnership.test.ts +71 -0
  1084. package/src/types/accordion.ts +1 -1
  1085. package/src/types/activity-indicator.ts +1 -1
  1086. package/src/types/app-bar.ts +1 -1
  1087. package/src/types/auth.ts +1 -1
  1088. package/src/types/avatar-group.ts +2 -2
  1089. package/src/types/avatar.ts +2 -2
  1090. package/src/types/badge.ts +5 -2
  1091. package/src/{theme/ZoraBaseProps.ts → types/base.ts} +1 -1
  1092. package/src/types/breadcrumbs.ts +1 -1
  1093. package/src/types/button-group.ts +1 -1
  1094. package/src/types/button.ts +5 -2
  1095. package/src/types/card.ts +3 -2
  1096. package/src/types/chat.ts +2 -2
  1097. package/src/types/checkbox.ts +1 -1
  1098. package/src/types/chip-group.ts +3 -2
  1099. package/src/types/chip.ts +3 -2
  1100. package/src/types/collection-editor.ts +1 -1
  1101. package/src/types/content-rail.ts +1 -1
  1102. package/src/types/control.ts +3 -0
  1103. package/src/types/data-table.ts +1 -1
  1104. package/src/types/date-picker.ts +1 -1
  1105. package/src/types/dialog.ts +2 -2
  1106. package/src/types/empty-state.ts +3 -2
  1107. package/src/types/form.ts +1 -1
  1108. package/src/types/gradient.ts +1 -1
  1109. package/src/types/heading.ts +2 -2
  1110. package/src/types/hero.ts +3 -2
  1111. package/src/types/icon-button.ts +4 -2
  1112. package/src/types/icon.ts +1 -1
  1113. package/src/types/image.ts +1 -1
  1114. package/src/types/keyboard-avoiding-view.ts +1 -1
  1115. package/src/types/layout.ts +3 -2
  1116. package/src/types/list.ts +1 -1
  1117. package/src/types/manifest-bottom-sheet.ts +1 -1
  1118. package/src/types/manifest-list.ts +1 -1
  1119. package/src/types/media-card.ts +2 -2
  1120. package/src/types/metric-card.ts +3 -2
  1121. package/src/types/missing-element.ts +1 -1
  1122. package/src/types/pagination.ts +1 -1
  1123. package/src/types/palette-item.ts +1 -1
  1124. package/src/types/plugin.ts +43 -0
  1125. package/src/types/popover-menu.ts +1 -1
  1126. package/src/types/post-card.ts +3 -2
  1127. package/src/types/product-card.ts +1 -1
  1128. package/src/types/progress.ts +3 -2
  1129. package/src/types/provider.ts +1 -1
  1130. package/src/types/radio.ts +1 -1
  1131. package/src/types/rating.ts +3 -2
  1132. package/src/types/reader.ts +1 -1
  1133. package/src/types/registry.ts +3 -0
  1134. package/src/types/scanner.ts +1 -1
  1135. package/src/types/search-input.ts +2 -2
  1136. package/src/types/section.ts +1 -1
  1137. package/src/types/select.ts +1 -1
  1138. package/src/types/skeleton.ts +1 -1
  1139. package/src/types/surface.ts +1 -1
  1140. package/src/types/switch.ts +1 -1
  1141. package/src/types/tabs.ts +1 -1
  1142. package/src/types/text-input.ts +2 -2
  1143. package/src/types/text.ts +2 -2
  1144. package/src/{metadata/themeRecipeTypes.ts → types/theme-recipe.ts} +1 -9
  1145. package/src/{theme/types.ts → types/theme.ts} +11 -0
  1146. package/src/types/time-picker.ts +1 -1
  1147. package/src/types/timeline.ts +2 -2
  1148. package/src/types/toast.ts +1 -1
  1149. package/src/types/toolbar.ts +1 -1
  1150. package/src/types/tree-view.ts +1 -1
  1151. package/src/types/upload.ts +1 -1
  1152. package/dist/constants/keyboard.d.ts.map +0 -1
  1153. package/dist/constants/keyboard.js.map +0 -1
  1154. package/dist/constants.d.ts.map +0 -1
  1155. package/dist/constants.js.map +0 -1
  1156. package/dist/corePlugin.d.ts.map +0 -1
  1157. package/dist/corePlugin.js.map +0 -1
  1158. package/dist/corePluginMetadata.d.ts +0 -3
  1159. package/dist/corePluginMetadata.d.ts.map +0 -1
  1160. package/dist/corePluginMetadata.js.map +0 -1
  1161. package/dist/internal/colorModel.d.ts.map +0 -1
  1162. package/dist/internal/colorModel.js +0 -25
  1163. package/dist/internal/colorModel.js.map +0 -1
  1164. package/dist/internal/recipes.d.ts +0 -23
  1165. package/dist/internal/recipes.d.ts.map +0 -1
  1166. package/dist/internal/recipes.js +0 -59
  1167. package/dist/internal/recipes.js.map +0 -1
  1168. package/dist/metadata/allowedChildren.d.ts.map +0 -1
  1169. package/dist/metadata/allowedChildren.js.map +0 -1
  1170. package/dist/metadata/bindableComponentMeta.js.map +0 -1
  1171. package/dist/metadata/componentMeta.d.ts +0 -3
  1172. package/dist/metadata/componentMeta.d.ts.map +0 -1
  1173. package/dist/metadata/componentMeta.js +0 -184
  1174. package/dist/metadata/componentMeta.js.map +0 -1
  1175. package/dist/metadata/index.d.ts.map +0 -1
  1176. package/dist/metadata/index.js +0 -7
  1177. package/dist/metadata/index.js.map +0 -1
  1178. package/dist/metadata/themeRecipeMeta.d.ts +0 -3
  1179. package/dist/metadata/themeRecipeMeta.d.ts.map +0 -1
  1180. package/dist/metadata/themeRecipeMeta.js +0 -13
  1181. package/dist/metadata/themeRecipeMeta.js.map +0 -1
  1182. package/dist/metadata/themeRecipeTypes.d.ts.map +0 -1
  1183. package/dist/metadata/themeRecipeTypes.js +0 -8
  1184. package/dist/metadata/themeRecipeTypes.js.map +0 -1
  1185. package/dist/metadata/types.d.ts.map +0 -1
  1186. package/dist/metadata/types.js +0 -2
  1187. package/dist/metadata/types.js.map +0 -1
  1188. package/dist/pluginComposition.d.ts.map +0 -1
  1189. package/dist/pluginComposition.js.map +0 -1
  1190. package/dist/registry.d.ts.map +0 -1
  1191. package/dist/registry.js +0 -161
  1192. package/dist/registry.js.map +0 -1
  1193. package/dist/theme/ThemeModeToggle.d.ts.map +0 -1
  1194. package/dist/theme/ThemeModeToggle.js.map +0 -1
  1195. package/dist/theme/ThemeModeToggle.meta.d.ts.map +0 -1
  1196. package/dist/theme/ThemeModeToggle.meta.js.map +0 -1
  1197. package/dist/theme/ThemeModeToggleProps.d.ts.map +0 -1
  1198. package/dist/theme/ThemeModeToggleProps.js +0 -2
  1199. package/dist/theme/ThemeModeToggleProps.js.map +0 -1
  1200. package/dist/theme/ZoraBaseProps.d.ts.map +0 -1
  1201. package/dist/theme/ZoraBaseProps.js +0 -2
  1202. package/dist/theme/ZoraBaseProps.js.map +0 -1
  1203. package/dist/theme/ZoraProvider.d.ts.map +0 -1
  1204. package/dist/theme/ZoraProvider.js.map +0 -1
  1205. package/dist/theme/ZoraRuntimeCapabilities.d.ts.map +0 -1
  1206. package/dist/theme/ZoraRuntimeCapabilities.js.map +0 -1
  1207. package/dist/theme/ZoraRuntimeCapabilities.native.d.ts.map +0 -1
  1208. package/dist/theme/ZoraRuntimeCapabilities.native.js.map +0 -1
  1209. package/dist/theme/ZoraRuntimeCapabilities.web.d.ts.map +0 -1
  1210. package/dist/theme/ZoraRuntimeCapabilities.web.js.map +0 -1
  1211. package/dist/theme/ZoraThemeRuntimeContext.d.ts.map +0 -1
  1212. package/dist/theme/ZoraThemeRuntimeContext.js.map +0 -1
  1213. package/dist/theme/ZoraThemeScope.d.ts.map +0 -1
  1214. package/dist/theme/ZoraThemeScope.js +0 -37
  1215. package/dist/theme/ZoraThemeScope.js.map +0 -1
  1216. package/dist/theme/compileZoraTheme.d.ts.map +0 -1
  1217. package/dist/theme/compileZoraTheme.js.map +0 -1
  1218. package/dist/theme/createZoraThemeConfig.d.ts.map +0 -1
  1219. package/dist/theme/createZoraThemeConfig.js.map +0 -1
  1220. package/dist/theme/index.d.ts +0 -11
  1221. package/dist/theme/index.d.ts.map +0 -1
  1222. package/dist/theme/index.js +0 -7
  1223. package/dist/theme/index.js.map +0 -1
  1224. package/dist/theme/public.d.ts.map +0 -1
  1225. package/dist/theme/public.js +0 -4
  1226. package/dist/theme/public.js.map +0 -1
  1227. package/dist/theme/resolveThemeModeToggleState.d.ts.map +0 -1
  1228. package/dist/theme/resolveThemeModeToggleState.js.map +0 -1
  1229. package/dist/theme/resolveZoraScopedThemeId.d.ts.map +0 -1
  1230. package/dist/theme/resolveZoraScopedThemeId.js.map +0 -1
  1231. package/dist/theme/resolveZoraThemeRecipe.d.ts.map +0 -1
  1232. package/dist/theme/resolveZoraThemeRecipe.js.map +0 -1
  1233. package/dist/theme/types.d.ts.map +0 -1
  1234. package/dist/theme/types.js +0 -2
  1235. package/dist/theme/types.js.map +0 -1
  1236. package/dist/theme/useZoraTheme.d.ts +0 -8
  1237. package/dist/theme/useZoraTheme.d.ts.map +0 -1
  1238. package/dist/theme/useZoraTheme.js.map +0 -1
  1239. package/dist/theme/useZoraThemeRecipe.d.ts.map +0 -1
  1240. package/dist/theme/useZoraThemeRecipe.js.map +0 -1
  1241. package/dist/theme/withZoraThemeScope.d.ts.map +0 -1
  1242. package/dist/theme/withZoraThemeScope.js.map +0 -1
  1243. package/dist/theme/zoraDefaultTheme.d.ts +0 -3
  1244. package/dist/theme/zoraDefaultTheme.d.ts.map +0 -1
  1245. package/dist/theme/zoraDefaultTheme.js.map +0 -1
  1246. package/dist/utils/createManifestBindings.d.ts.map +0 -1
  1247. package/dist/utils/createManifestBindings.js.map +0 -1
  1248. package/dist/utils/finalizeFeatureMetadata.d.ts.map +0 -1
  1249. package/dist/utils/finalizeFeatureMetadata.js.map +0 -1
  1250. package/src/internal/colorModel.ts +0 -39
  1251. package/src/internal/recipes.test.ts +0 -46
  1252. package/src/internal/recipes.ts +0 -92
  1253. package/src/metadata/componentMeta.ts +0 -194
  1254. package/src/metadata/themeRecipeMeta.ts +0 -14
  1255. package/src/registry.ts +0 -197
  1256. package/src/theme/ZoraThemeScope.tsx +0 -56
  1257. package/src/theme/index.ts +0 -10
  1258. /package/dist/{metadata → features/authoring}/allowedChildren.d.ts +0 -0
  1259. /package/dist/{metadata → features/authoring}/allowedChildren.js +0 -0
  1260. /package/dist/{utils → features/authoring/utils}/createManifestBindings.js +0 -0
  1261. /package/dist/{utils → features/authoring/utils}/finalizeFeatureMetadata.js +0 -0
  1262. /package/dist/{theme → features/theme}/ThemeModeToggle.meta.d.ts +0 -0
  1263. /package/dist/{theme → features/theme}/ThemeModeToggle.meta.js +0 -0
  1264. /package/dist/{theme → features/theme/adapters/inbound}/withZoraThemeScope.js +0 -0
  1265. /package/dist/{theme → features/theme/composition}/ZoraRuntimeCapabilities.d.ts +0 -0
  1266. /package/dist/{theme → features/theme/composition}/ZoraRuntimeCapabilities.js +0 -0
  1267. /package/dist/{theme → features/theme/composition}/ZoraRuntimeCapabilities.native.js +0 -0
  1268. /package/dist/{theme → features/theme/composition}/ZoraRuntimeCapabilities.web.js +0 -0
  1269. /package/dist/{theme → features/theme/composition}/useZoraTheme.js +0 -0
  1270. /package/dist/{theme → features/theme/composition}/useZoraThemeRecipe.d.ts +0 -0
  1271. /package/dist/{theme → features/theme/utils}/resolveThemeModeToggleState.js +0 -0
  1272. /package/dist/{theme → features/theme/utils}/resolveZoraScopedThemeId.js +0 -0
  1273. /package/dist/{theme → features/theme/utils}/resolveZoraThemeRecipe.d.ts +0 -0
  1274. /package/dist/{theme → features/theme}/zoraDefaultTheme.js +0 -0
  1275. /package/src/{metadata → features/authoring}/allowedChildren.ts +0 -0
  1276. /package/src/{metadata → features/authoring}/authoringMeta.test.ts +0 -0
  1277. /package/src/{metadata → features/authoring}/bindableComponentMeta.test.ts +0 -0
  1278. /package/src/{metadata → features/authoring}/radioGroupReachability.test.ts +0 -0
  1279. /package/src/{metadata → features/authoring}/themeRecipeMeta.test.ts +0 -0
  1280. /package/src/{constants/keyboard.ts → features/form/radio/constants.ts} +0 -0
  1281. /package/src/{theme → features/theme/composition}/ZoraRuntimeCapabilities.tsx +0 -0
  1282. /package/src/{theme → features/theme/composition}/useZoraTheme.ts +0 -0
  1283. /package/src/{theme → features/theme/utils}/resolveThemeModeToggleState.test.ts +0 -0
  1284. /package/src/{theme → features/theme/utils}/resolveZoraScopedThemeId.test.ts +0 -0
  1285. /package/src/{theme → features/theme/utils}/resolveZoraThemeRecipe.test.ts +0 -0
  1286. /package/src/{metadata/types.ts → types/authoring.ts} +0 -0
  1287. /package/src/{theme/ThemeModeToggleProps.ts → types/theme-mode-toggle.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../src/types/progress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,I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AAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,GAAG,aAAa,CAwBxF"}
@@ -1 +1 @@
1
- {"version":3,"file":"progress.js","sourceRoot":"","sources":["../../src/types/progress.ts"],"names":[],"mappings":"AAyBA,MAAM,UAAU,mBAAmB,CAAC,KAAmB,EAAE,KAAgB;IACvE,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,WAAW;YACd,OAAO,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;QACnC,KAAK,UAAU;YACb,OAAO,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC;QAChC,KAAK,YAAY;YACf,OAAO,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;QACnC,KAAK,OAAO;YACV,OAAO,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC;QAC/B,KAAK,MAAM;YACT,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC;QAC9B,KAAK,SAAS;YACZ,OAAO,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC;QACxC,KAAK,QAAQ;YACX,OAAO,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC;QACvC,KAAK,SAAS;YACZ,OAAO,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC;QACjC,KAAK,SAAS;YACZ,OAAO,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC;QACjC,KAAK,SAAS,CAAC;QACf;YACE,OAAO,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC;IAC1C,CAAC;AACH,CAAC","sourcesContent":["import type { RoleSemantics, SurfaceTheme } from '@ankhorage/surface';\n\nimport type { ZoraColor, ZoraControlSize } from '../internal/recipes';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface ProgressProps extends ZoraBaseProps {\n value: number;\n max?: number;\n color?: ZoraColor;\n size?: ZoraControlSize;\n}\n\nexport interface ProgressRingProps extends ZoraBaseProps {\n value: number;\n max?: number;\n color?: ZoraColor;\n trackColor?: ZoraColor;\n size?: number;\n thickness?: number;\n centerValue?: string;\n centerLabel?: string;\n accessibilityLabel?: string;\n accessibilityValueText?: string;\n}\n\nexport function resolveProgressRole(theme: SurfaceTheme, color: ZoraColor): RoleSemantics {\n switch (color) {\n case 'secondary':\n return theme.semantics.secondary;\n case 'tertiary':\n return theme.semantics.accent;\n case 'quaternary':\n return theme.semantics.highlight;\n case 'error':\n return theme.semantics.error;\n case 'info':\n return theme.semantics.info;\n case 'primary':\n return theme.semantics.action.primary;\n case 'danger':\n return theme.semantics.action.danger;\n case 'success':\n return theme.semantics.success;\n case 'warning':\n return theme.semantics.warning;\n case 'neutral':\n default:\n return theme.semantics.action.neutral;\n }\n}\n"]}
1
+ {"version":3,"file":"progress.js","sourceRoot":"","sources":["../../src/types/progress.ts"],"names":[],"mappings":"AA0BA,MAAM,UAAU,mBAAmB,CAAC,KAAmB,EAAE,KAAgB;IACvE,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,WAAW;YACd,OAAO,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;QACnC,KAAK,UAAU;YACb,OAAO,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC;QAChC,KAAK,YAAY;YACf,OAAO,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;QACnC,KAAK,OAAO;YACV,OAAO,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC;QAC/B,KAAK,MAAM;YACT,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC;QAC9B,KAAK,SAAS;YACZ,OAAO,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC;QACxC,KAAK,QAAQ;YACX,OAAO,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC;QACvC,KAAK,SAAS;YACZ,OAAO,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC;QACjC,KAAK,SAAS;YACZ,OAAO,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC;QACjC,KAAK,SAAS,CAAC;QACf;YACE,OAAO,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC;IAC1C,CAAC;AACH,CAAC","sourcesContent":["import type { RoleSemantics, SurfaceTheme } from '@ankhorage/surface';\n\nimport type { ZoraBaseProps } from './base';\nimport type { ZoraControlSize } from './control';\nimport type { ZoraColor } from './theme';\n\nexport interface ProgressProps extends ZoraBaseProps {\n value: number;\n max?: number;\n color?: ZoraColor;\n size?: ZoraControlSize;\n}\n\nexport interface ProgressRingProps extends ZoraBaseProps {\n value: number;\n max?: number;\n color?: ZoraColor;\n trackColor?: ZoraColor;\n size?: number;\n thickness?: number;\n centerValue?: string;\n centerLabel?: string;\n accessibilityLabel?: string;\n accessibilityValueText?: string;\n}\n\nexport function resolveProgressRole(theme: SurfaceTheme, color: ZoraColor): RoleSemantics {\n switch (color) {\n case 'secondary':\n return theme.semantics.secondary;\n case 'tertiary':\n return theme.semantics.accent;\n case 'quaternary':\n return theme.semantics.highlight;\n case 'error':\n return theme.semantics.error;\n case 'info':\n return theme.semantics.info;\n case 'primary':\n return theme.semantics.action.primary;\n case 'danger':\n return theme.semantics.action.danger;\n case 'success':\n return theme.semantics.success;\n case 'warning':\n return theme.semantics.warning;\n case 'neutral':\n default:\n return theme.semantics.action.neutral;\n }\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { ThemeConfig } from '@ankhorage/contracts';
2
2
  import type { ToastProviderProps as SurfaceToastProviderProps } from '@ankhorage/surface';
3
3
  import type React from 'react';
4
- import type { ZoraTheme, ZoraThemeMode } from '../theme/types';
4
+ import type { ZoraTheme, ZoraThemeMode } from './theme';
5
5
  export type ZoraToastCapability = boolean | Omit<SurfaceToastProviderProps, 'children'>;
6
6
  export interface ZoraProviderProps {
7
7
  children: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/types/provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC1F,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,IAAI,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAAC;AAExF,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/types/provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC1F,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,IAAI,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAAC;AAExF,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/types/provider.ts"],"names":[],"mappings":"","sourcesContent":["import type { ThemeConfig } from '@ankhorage/contracts';\nimport type { ToastProviderProps as SurfaceToastProviderProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraTheme, ZoraThemeMode } from '../theme/types';\n\nexport type ZoraToastCapability = boolean | Omit<SurfaceToastProviderProps, 'children'>;\n\nexport interface ZoraProviderProps {\n children: React.ReactNode;\n theme?: ZoraTheme;\n themeConfig?: ThemeConfig;\n initialMode?: ZoraThemeMode;\n toast?: ZoraToastCapability;\n bottomSheet?: boolean;\n}\n\nexport interface ZoraRuntimeCapabilitiesProps {\n children: React.ReactNode;\n toast?: ZoraToastCapability;\n bottomSheet?: boolean;\n}\n"]}
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/types/provider.ts"],"names":[],"mappings":"","sourcesContent":["import type { ThemeConfig } from '@ankhorage/contracts';\nimport type { ToastProviderProps as SurfaceToastProviderProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraTheme, ZoraThemeMode } from './theme';\n\nexport type ZoraToastCapability = boolean | Omit<SurfaceToastProviderProps, 'children'>;\n\nexport interface ZoraProviderProps {\n children: React.ReactNode;\n theme?: ZoraTheme;\n themeConfig?: ThemeConfig;\n initialMode?: ZoraThemeMode;\n toast?: ZoraToastCapability;\n bottomSheet?: boolean;\n}\n\nexport interface ZoraRuntimeCapabilitiesProps {\n children: React.ReactNode;\n toast?: ZoraToastCapability;\n bottomSheet?: boolean;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { RadioProps as SurfaceRadioProps } from '@ankhorage/surface';
2
2
  import type React from 'react';
3
3
  import type { IconProps } from '../features/icon/public';
4
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
+ import type { ZoraBaseProps } from './base';
5
5
  export interface RadioProps extends ZoraBaseProps, Omit<SurfaceRadioProps, 'mode' | 'themeId'> {
6
6
  }
7
7
  export interface RadioGroupOption<TValue extends string> {
@@ -1 +1 @@
1
- {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../src/types/radio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,UAAW,SAAQ,aAAa,EAAE,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAEjG,MAAM,WAAW,gBAAgB,CAAC,MAAM,SAAS,MAAM;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAC,SAAS,EAAE;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,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AC;CAAG;AAEjG,MAAM,WAAW,gBAAgB,CAAC,MAAM,SAAS,MAAM;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAC,SAAS,EAAE;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe,CAAC,MAAM,SAAS,MAAM,CACpD,SACE,aAAa,EACb,IAAI,CACF,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC,EAC3C,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CACvD;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,OAAO,EAAE,SAAS,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC;IAC7C,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,GAAG,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC7B,YAAY,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IACjC,+EAA+E;IAC/E,kBAAkB,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IAC/C,oEAAoE;IACpE,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"radio.js","sourceRoot":"","sources":["../../src/types/radio.ts"],"names":[],"mappings":"","sourcesContent":["import type { RadioProps as SurfaceRadioProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { IconProps } from '../features/icon/public';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface RadioProps extends ZoraBaseProps, Omit<SurfaceRadioProps, 'mode' | 'themeId'> {}\n\nexport interface RadioGroupOption<TValue extends string> {\n value: TValue;\n label: React.ReactNode;\n description?: React.ReactNode;\n /** SVG media is resolved by the consuming runtime before rendering. */\n iconSource?: Extract<IconProps, { source: unknown }>['source'];\n disabled?: boolean;\n testID?: string;\n}\n\nexport interface RadioGroupProps<TValue extends string>\n extends\n ZoraBaseProps,\n Pick<\n Omit<SurfaceRadioProps, 'mode' | 'themeId'>,\n 'color' | 'size' | 'invalid' | 'readOnly' | 'disabled'\n > {\n value?: TValue;\n defaultValue?: TValue;\n onValueChange?: (value: TValue) => void;\n options: readonly RadioGroupOption<TValue>[];\n orientation?: 'horizontal' | 'vertical';\n gap?: 'xs' | 's' | 'm' | 'l';\n presentation?: 'inline' | 'card';\n /** Arrangement inside a selection card, independent of the group direction. */\n contentOrientation?: 'horizontal' | 'vertical';\n /** Equal-width card columns; omitted columns follow orientation. */\n columns?: 1 | 2 | 3 | 4;\n}\n"]}
1
+ {"version":3,"file":"radio.js","sourceRoot":"","sources":["../../src/types/radio.ts"],"names":[],"mappings":"","sourcesContent":["import type { RadioProps as SurfaceRadioProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { IconProps } from '../features/icon/public';\nimport type { ZoraBaseProps } from './base';\n\nexport interface RadioProps extends ZoraBaseProps, Omit<SurfaceRadioProps, 'mode' | 'themeId'> {}\n\nexport interface RadioGroupOption<TValue extends string> {\n value: TValue;\n label: React.ReactNode;\n description?: React.ReactNode;\n /** SVG media is resolved by the consuming runtime before rendering. */\n iconSource?: Extract<IconProps, { source: unknown }>['source'];\n disabled?: boolean;\n testID?: string;\n}\n\nexport interface RadioGroupProps<TValue extends string>\n extends\n ZoraBaseProps,\n Pick<\n Omit<SurfaceRadioProps, 'mode' | 'themeId'>,\n 'color' | 'size' | 'invalid' | 'readOnly' | 'disabled'\n > {\n value?: TValue;\n defaultValue?: TValue;\n onValueChange?: (value: TValue) => void;\n options: readonly RadioGroupOption<TValue>[];\n orientation?: 'horizontal' | 'vertical';\n gap?: 'xs' | 's' | 'm' | 'l';\n presentation?: 'inline' | 'card';\n /** Arrangement inside a selection card, independent of the group direction. */\n contentOrientation?: 'horizontal' | 'vertical';\n /** Equal-width card columns; omitted columns follow orientation. */\n columns?: 1 | 2 | 3 | 4;\n}\n"]}
@@ -1,5 +1,6 @@
1
- import type { ZoraColor, ZoraControlSize } from '../internal/recipes';
2
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
1
+ import type { ZoraBaseProps } from './base';
2
+ import type { ZoraControlSize } from './control';
3
+ import type { ZoraColor } from './theme';
3
4
  export interface RatingProps extends ZoraBaseProps {
4
5
  value: number;
5
6
  max?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"rating.d.ts","sourceRoot":"","sources":["../../src/types/rating.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,aAAa;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB"}
1
+ {"version":3,"file":"rating.d.ts","sourceRoot":"","sources":["../../src/types/rating.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,WAAW,WAAY,SAAQ,aAAa;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"rating.js","sourceRoot":"","sources":["../../src/types/rating.ts"],"names":[],"mappings":"","sourcesContent":["import type { ZoraColor, ZoraControlSize } from '../internal/recipes';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface RatingProps extends ZoraBaseProps {\n value: number;\n max?: number;\n color?: ZoraColor;\n size?: ZoraControlSize;\n}\n"]}
1
+ {"version":3,"file":"rating.js","sourceRoot":"","sources":["../../src/types/rating.ts"],"names":[],"mappings":"","sourcesContent":["import type { ZoraBaseProps } from './base';\nimport type { ZoraControlSize } from './control';\nimport type { ZoraColor } from './theme';\n\nexport interface RatingProps extends ZoraBaseProps {\n value: number;\n max?: number;\n color?: ZoraColor;\n size?: ZoraControlSize;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
2
+ import type { ZoraBaseProps } from './base';
3
3
  export type ReaderDocumentFormat = 'epub' | 'pdf';
4
4
  export type ReaderStatus = 'idle' | 'loading' | 'ready' | 'error';
5
5
  export type ReaderNavigationTrigger = 'swipe' | 'previousControl' | 'nextControl' | 'keyboard' | 'location';
@@ -1 +1 @@
1
- {"version":3,"file":"reader.d.ts","sourceRoot":"","sources":["../../src/types/reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,KAAK,CAAC;AAElD,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAElE,MAAM,MAAM,uBAAuB,GACj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AAC,EAAE,gBAAgB,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,UAAU,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9E,cAAc,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,gBAAgB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,iBAAiB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/C,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9E,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnE"}
@@ -1 +1 @@
1
- {"version":3,"file":"reader.js","sourceRoot":"","sources":["../../src/types/reader.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport type ReaderDocumentFormat = 'epub' | 'pdf';\n\nexport type ReaderStatus = 'idle' | 'loading' | 'ready' | 'error';\n\nexport type ReaderNavigationTrigger =\n 'swipe' | 'previousControl' | 'nextControl' | 'keyboard' | 'location';\n\nexport interface ReaderLocationChangeEvent {\n format: ReaderDocumentFormat;\n locator: string;\n page: number;\n pageCount?: number;\n progression: number;\n chapterId?: string;\n chapterTitle?: string;\n trigger: ReaderNavigationTrigger;\n}\n\nexport type ReaderErrorCode =\n 'invalid-document' | 'load-failed' | 'protected-document' | 'unsupported-format';\n\nexport interface ReaderErrorEvent {\n code: ReaderErrorCode;\n format?: ReaderDocumentFormat;\n message: string;\n}\n\nexport type ReaderColorScheme = 'system' | 'light' | 'dark' | 'sepia';\n\nexport type ReaderLineHeight = 'compact' | 'normal' | 'relaxed';\n\nexport type ReaderResolvedSource = string | number | { readonly uri: string };\n\nexport interface ReaderExternalLinkEvent {\n url: string;\n}\n\nexport interface ReaderSurfaceProps extends ZoraBaseProps {\n source?: ReaderResolvedSource | null;\n format: ReaderDocumentFormat;\n location?: string;\n status?: ReaderStatus;\n page?: number;\n pageCount?: number;\n progress?: number;\n canGoPrevious?: boolean;\n canGoNext?: boolean;\n title?: string;\n subtitle?: string;\n chapterLabel?: string;\n pageLabel?: string;\n previousPageLabel?: string;\n nextPageLabel?: string;\n contentsLabel?: string;\n appearanceLabel?: string;\n highlightLabel?: string;\n loadingLabel?: string;\n errorTitle?: string;\n unavailableTitle?: string;\n showChrome?: boolean;\n readerColorScheme?: ReaderColorScheme;\n fontScale?: number;\n lineHeight?: ReaderLineHeight;\n highlighted?: boolean;\n viewport?: React.ReactNode;\n headerActions?: React.ReactNode;\n footerActions?: React.ReactNode;\n onPreviousPage?: () => void | Promise<void>;\n onNextPage?: () => void | Promise<void>;\n onLocationChange?: (event: ReaderLocationChangeEvent) => void | Promise<void>;\n onOpenContents?: () => void | Promise<void>;\n onOpenAppearance?: () => void | Promise<void>;\n onToggleHighlight?: () => void | Promise<void>;\n onOpenExternalLink?: (event: ReaderExternalLinkEvent) => void | Promise<void>;\n onReaderError?: (event: ReaderErrorEvent) => void | Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"reader.js","sourceRoot":"","sources":["../../src/types/reader.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\nexport type ReaderDocumentFormat = 'epub' | 'pdf';\n\nexport type ReaderStatus = 'idle' | 'loading' | 'ready' | 'error';\n\nexport type ReaderNavigationTrigger =\n 'swipe' | 'previousControl' | 'nextControl' | 'keyboard' | 'location';\n\nexport interface ReaderLocationChangeEvent {\n format: ReaderDocumentFormat;\n locator: string;\n page: number;\n pageCount?: number;\n progression: number;\n chapterId?: string;\n chapterTitle?: string;\n trigger: ReaderNavigationTrigger;\n}\n\nexport type ReaderErrorCode =\n 'invalid-document' | 'load-failed' | 'protected-document' | 'unsupported-format';\n\nexport interface ReaderErrorEvent {\n code: ReaderErrorCode;\n format?: ReaderDocumentFormat;\n message: string;\n}\n\nexport type ReaderColorScheme = 'system' | 'light' | 'dark' | 'sepia';\n\nexport type ReaderLineHeight = 'compact' | 'normal' | 'relaxed';\n\nexport type ReaderResolvedSource = string | number | { readonly uri: string };\n\nexport interface ReaderExternalLinkEvent {\n url: string;\n}\n\nexport interface ReaderSurfaceProps extends ZoraBaseProps {\n source?: ReaderResolvedSource | null;\n format: ReaderDocumentFormat;\n location?: string;\n status?: ReaderStatus;\n page?: number;\n pageCount?: number;\n progress?: number;\n canGoPrevious?: boolean;\n canGoNext?: boolean;\n title?: string;\n subtitle?: string;\n chapterLabel?: string;\n pageLabel?: string;\n previousPageLabel?: string;\n nextPageLabel?: string;\n contentsLabel?: string;\n appearanceLabel?: string;\n highlightLabel?: string;\n loadingLabel?: string;\n errorTitle?: string;\n unavailableTitle?: string;\n showChrome?: boolean;\n readerColorScheme?: ReaderColorScheme;\n fontScale?: number;\n lineHeight?: ReaderLineHeight;\n highlighted?: boolean;\n viewport?: React.ReactNode;\n headerActions?: React.ReactNode;\n footerActions?: React.ReactNode;\n onPreviousPage?: () => void | Promise<void>;\n onNextPage?: () => void | Promise<void>;\n onLocationChange?: (event: ReaderLocationChangeEvent) => void | Promise<void>;\n onOpenContents?: () => void | Promise<void>;\n onOpenAppearance?: () => void | Promise<void>;\n onToggleHighlight?: () => void | Promise<void>;\n onOpenExternalLink?: (event: ReaderExternalLinkEvent) => void | Promise<void>;\n onReaderError?: (event: ReaderErrorEvent) => void | Promise<void>;\n}\n"]}
@@ -1,4 +1,3 @@
1
1
  import type React from 'react';
2
2
  export type ZoraComponentRegistry = Readonly<Record<string, React.ElementType>>;
3
- export declare const ZORA_COMPONENT_REGISTRY: ZoraComponentRegistry;
4
3
  //# sourceMappingURL=registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/types/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/types/registry.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nexport type ZoraComponentRegistry = Readonly<Record<string, React.ElementType>>;\n"]}
@@ -1,6 +1,6 @@
1
1
  import type React from 'react';
2
2
  import type { ButtonProps } from '../features/button/public';
3
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
3
+ import type { ZoraBaseProps } from './base';
4
4
  export type CameraPermissionStatus = 'unknown' | 'requesting' | 'granted' | 'denied';
5
5
  export interface BarcodeScanResult {
6
6
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"scanner.d.ts","sourceRoot":"","sources":["../../src/types/scanner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,MAAM,sBAAsB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EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjD,aAAa,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"scanner.js","sourceRoot":"","sources":["../../src/types/scanner.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ButtonProps } from '../features/button/public';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport type CameraPermissionStatus = 'unknown' | 'requesting' | 'granted' | 'denied';\n\nexport interface BarcodeScanResult {\n value: string;\n type?: string;\n}\n\nexport interface ScanOverlayProps extends ZoraBaseProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n cornerLabel?: React.ReactNode;\n}\n\nexport interface CameraPermissionViewProps extends ZoraBaseProps {\n status: Exclude<CameraPermissionStatus, 'granted'>;\n title?: React.ReactNode;\n description?: React.ReactNode;\n requestLabel?: React.ReactNode;\n deniedLabel?: React.ReactNode;\n manualEntryLabel?: React.ReactNode;\n onRequestPermission?: () => void | Promise<void>;\n onManualEntry?: () => void | Promise<void>;\n requestButtonProps?: Omit<ButtonProps, 'children' | 'onPress'>;\n manualEntryButtonProps?: Omit<ButtonProps, 'children' | 'onPress'>;\n}\n\nexport interface BarcodeScannerViewProps extends ZoraBaseProps {\n permissionStatus: CameraPermissionStatus;\n camera?: React.ReactNode;\n children?: React.ReactNode;\n title?: React.ReactNode;\n description?: React.ReactNode;\n overlayTitle?: React.ReactNode;\n overlayDescription?: React.ReactNode;\n cornerLabel?: React.ReactNode;\n requestPermissionLabel?: React.ReactNode;\n deniedPermissionLabel?: React.ReactNode;\n manualEntryLabel?: React.ReactNode;\n onRequestPermission?: () => void | Promise<void>;\n onManualEntry?: () => void | Promise<void>;\n onBarcodeScanned?: (result: BarcodeScanResult) => void | Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"scanner.js","sourceRoot":"","sources":["../../src/types/scanner.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ButtonProps } from '../features/button/public';\nimport type { ZoraBaseProps } from './base';\n\nexport type CameraPermissionStatus = 'unknown' | 'requesting' | 'granted' | 'denied';\n\nexport interface BarcodeScanResult {\n value: string;\n type?: string;\n}\n\nexport interface ScanOverlayProps extends ZoraBaseProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n cornerLabel?: React.ReactNode;\n}\n\nexport interface CameraPermissionViewProps extends ZoraBaseProps {\n status: Exclude<CameraPermissionStatus, 'granted'>;\n title?: React.ReactNode;\n description?: React.ReactNode;\n requestLabel?: React.ReactNode;\n deniedLabel?: React.ReactNode;\n manualEntryLabel?: React.ReactNode;\n onRequestPermission?: () => void | Promise<void>;\n onManualEntry?: () => void | Promise<void>;\n requestButtonProps?: Omit<ButtonProps, 'children' | 'onPress'>;\n manualEntryButtonProps?: Omit<ButtonProps, 'children' | 'onPress'>;\n}\n\nexport interface BarcodeScannerViewProps extends ZoraBaseProps {\n permissionStatus: CameraPermissionStatus;\n camera?: React.ReactNode;\n children?: React.ReactNode;\n title?: React.ReactNode;\n description?: React.ReactNode;\n overlayTitle?: React.ReactNode;\n overlayDescription?: React.ReactNode;\n cornerLabel?: React.ReactNode;\n requestPermissionLabel?: React.ReactNode;\n deniedPermissionLabel?: React.ReactNode;\n manualEntryLabel?: React.ReactNode;\n onRequestPermission?: () => void | Promise<void>;\n onManualEntry?: () => void | Promise<void>;\n onBarcodeScanned?: (result: BarcodeScanResult) => void | Promise<void>;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import type { ZoraControlSize } from '../internal/recipes';
2
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
1
+ import type { ZoraBaseProps } from './base';
2
+ import type { ZoraControlSize } from './control';
3
3
  export interface SearchInputProps extends ZoraBaseProps {
4
4
  value?: string;
5
5
  onValueChange?: (value: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"search-input.d.ts","sourceRoot":"","sources":["../../src/types/search-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
1
+ {"version":3,"file":"search-input.d.ts","sourceRoot":"","sources":["../../src/types/search-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"search-input.js","sourceRoot":"","sources":["../../src/types/search-input.ts"],"names":[],"mappings":"","sourcesContent":["import type { ZoraControlSize } from '../internal/recipes';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface SearchInputProps extends ZoraBaseProps {\n value?: string;\n onValueChange?: (value: string) => void;\n placeholder?: string;\n onSubmit?: (value: string) => void;\n onClear?: () => void;\n clearable?: boolean;\n size?: ZoraControlSize;\n disabled?: boolean;\n readOnly?: boolean;\n}\n"]}
1
+ {"version":3,"file":"search-input.js","sourceRoot":"","sources":["../../src/types/search-input.ts"],"names":[],"mappings":"","sourcesContent":["import type { ZoraBaseProps } from './base';\nimport type { ZoraControlSize } from './control';\n\nexport interface SearchInputProps extends ZoraBaseProps {\n value?: string;\n onValueChange?: (value: string) => void;\n placeholder?: string;\n onSubmit?: (value: string) => void;\n onClear?: () => void;\n clearable?: boolean;\n size?: ZoraControlSize;\n disabled?: boolean;\n readOnly?: boolean;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
2
+ import type { ZoraBaseProps } from './base';
3
3
  export interface SectionHeaderProps extends ZoraBaseProps {
4
4
  title: React.ReactNode;
5
5
  description?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../src/types/section.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACvD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACvD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B"}
1
+ {"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../src/types/section.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACvD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACvD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"section.js","sourceRoot":"","sources":["../../src/types/section.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface SectionHeaderProps extends ZoraBaseProps {\n title: React.ReactNode;\n description?: React.ReactNode;\n eyebrow?: React.ReactNode;\n actions?: React.ReactNode;\n}\n\nexport interface ScreenSectionProps extends ZoraBaseProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n actions?: React.ReactNode;\n children?: React.ReactNode;\n}\n"]}
1
+ {"version":3,"file":"section.js","sourceRoot":"","sources":["../../src/types/section.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\nexport interface SectionHeaderProps extends ZoraBaseProps {\n title: React.ReactNode;\n description?: React.ReactNode;\n eyebrow?: React.ReactNode;\n actions?: React.ReactNode;\n}\n\nexport interface ScreenSectionProps extends ZoraBaseProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n actions?: React.ReactNode;\n children?: React.ReactNode;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
1
+ import type { ZoraBaseProps } from './base';
2
2
  export interface SelectOption<TValue extends string = string> {
3
3
  value: TValue;
4
4
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../src/types/select.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,YAAY,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAW,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,aAAa;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,SAAS,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;IACzC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../src/types/select.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,WAAW,YAAY,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAW,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,aAAa;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,SAAS,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;IACzC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"select.js","sourceRoot":"","sources":["../../src/types/select.ts"],"names":[],"mappings":"","sourcesContent":["import type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface SelectOption<TValue extends string = string> {\n value: TValue;\n label: string;\n disabled?: boolean;\n}\n\nexport interface SelectProps<TValue extends string = string> extends ZoraBaseProps {\n value?: TValue;\n defaultValue?: TValue;\n options: readonly SelectOption<TValue>[];\n onValueChange?: (value: TValue) => void;\n label?: string;\n helperText?: string;\n errorText?: string;\n placeholder?: string;\n required?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n invalid?: boolean;\n testID?: string;\n}\n"]}
1
+ {"version":3,"file":"select.js","sourceRoot":"","sources":["../../src/types/select.ts"],"names":[],"mappings":"","sourcesContent":["import type { ZoraBaseProps } from './base';\n\nexport interface SelectOption<TValue extends string = string> {\n value: TValue;\n label: string;\n disabled?: boolean;\n}\n\nexport interface SelectProps<TValue extends string = string> extends ZoraBaseProps {\n value?: TValue;\n defaultValue?: TValue;\n options: readonly SelectOption<TValue>[];\n onValueChange?: (value: TValue) => void;\n label?: string;\n helperText?: string;\n errorText?: string;\n placeholder?: string;\n required?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n invalid?: boolean;\n testID?: string;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import type { ViewProps } from '../features/layout/public';
2
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
2
+ import type { ZoraBaseProps } from './base';
3
3
  export type SkeletonRadius = ViewProps['radius'];
4
4
  export type SkeletonDimension = ViewProps['width'];
5
5
  export type SkeletonListVariant = 'divider' | 'card';
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../src/types/skeleton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC;AACjD,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,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G,SAAS,CAAC,OAAO,CAAC,CAAC;AACnD,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,MAAM,CAAC;AAErD,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,MAAM,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IACvB,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.js","sourceRoot":"","sources":["../../src/types/skeleton.ts"],"names":[],"mappings":"","sourcesContent":["import type { ViewProps } from '../features/layout/public';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport type SkeletonRadius = ViewProps['radius'];\nexport type SkeletonDimension = ViewProps['width'];\nexport type SkeletonListVariant = 'divider' | 'card';\n\nexport interface SkeletonProps extends ZoraBaseProps {\n width?: SkeletonDimension;\n height?: ViewProps['height'];\n radius?: SkeletonRadius;\n}\n\nexport interface SkeletonTextProps extends ZoraBaseProps {\n lines?: number;\n lineHeight?: number;\n gap?: ViewProps['gap'];\n width?: SkeletonDimension;\n lastLineWidth?: SkeletonDimension;\n}\n\nexport interface SkeletonCardProps extends ZoraBaseProps {\n media?: boolean;\n actions?: boolean;\n lines?: number;\n compact?: boolean;\n}\n\nexport interface SkeletonListProps extends ZoraBaseProps {\n rows?: number;\n avatar?: boolean;\n media?: boolean;\n lines?: number;\n variant?: SkeletonListVariant;\n compact?: boolean;\n}\n"]}
1
+ {"version":3,"file":"skeleton.js","sourceRoot":"","sources":["../../src/types/skeleton.ts"],"names":[],"mappings":"","sourcesContent":["import type { ViewProps } from '../features/layout/public';\nimport type { ZoraBaseProps } from './base';\n\nexport type SkeletonRadius = ViewProps['radius'];\nexport type SkeletonDimension = ViewProps['width'];\nexport type SkeletonListVariant = 'divider' | 'card';\n\nexport interface SkeletonProps extends ZoraBaseProps {\n width?: SkeletonDimension;\n height?: ViewProps['height'];\n radius?: SkeletonRadius;\n}\n\nexport interface SkeletonTextProps extends ZoraBaseProps {\n lines?: number;\n lineHeight?: number;\n gap?: ViewProps['gap'];\n width?: SkeletonDimension;\n lastLineWidth?: SkeletonDimension;\n}\n\nexport interface SkeletonCardProps extends ZoraBaseProps {\n media?: boolean;\n actions?: boolean;\n lines?: number;\n compact?: boolean;\n}\n\nexport interface SkeletonListProps extends ZoraBaseProps {\n rows?: number;\n avatar?: boolean;\n media?: boolean;\n lines?: number;\n variant?: SkeletonListVariant;\n compact?: boolean;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import type { SurfaceProps as SurfaceSurfaceProps } from '@ankhorage/surface';
2
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
2
+ import type { ZoraBaseProps } from './base';
3
3
  export type { SurfaceVariant } from '@ankhorage/surface';
4
4
  export interface SurfaceProps extends ZoraBaseProps, Omit<SurfaceSurfaceProps, 'mode' | 'themeId'> {
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../src/types/surface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,MAAM,WAAW,YACf,SAAQ,aAAa,EAAE,IAAI,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG"}
1
+ {"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../src/types/surface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,MAAM,WAAW,YACf,SAAQ,aAAa,EAAE,IAAI,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"surface.js","sourceRoot":"","sources":["../../src/types/surface.ts"],"names":[],"mappings":"","sourcesContent":["import type { SurfaceProps as SurfaceSurfaceProps } from '@ankhorage/surface';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport type { SurfaceVariant } from '@ankhorage/surface';\nexport interface SurfaceProps\n extends ZoraBaseProps, Omit<SurfaceSurfaceProps, 'mode' | 'themeId'> {}\n"]}
1
+ {"version":3,"file":"surface.js","sourceRoot":"","sources":["../../src/types/surface.ts"],"names":[],"mappings":"","sourcesContent":["import type { SurfaceProps as SurfaceSurfaceProps } from '@ankhorage/surface';\n\nimport type { ZoraBaseProps } from './base';\n\nexport type { SurfaceVariant } from '@ankhorage/surface';\nexport interface SurfaceProps\n extends ZoraBaseProps, Omit<SurfaceSurfaceProps, 'mode' | 'themeId'> {}\n"]}
@@ -1,5 +1,5 @@
1
1
  import type { SwitchProps as SurfaceSwitchProps } from '@ankhorage/surface';
2
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
2
+ import type { ZoraBaseProps } from './base';
3
3
  export interface SwitchProps extends ZoraBaseProps, Omit<SurfaceSwitchProps, 'mode' | 'themeId'> {
4
4
  }
5
5
  //# sourceMappingURL=switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../src/types/switch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,aAAa,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG"}
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../src/types/switch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,WAAW,WAAY,SAAQ,aAAa,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"switch.js","sourceRoot":"","sources":["../../src/types/switch.ts"],"names":[],"mappings":"","sourcesContent":["import type { SwitchProps as SurfaceSwitchProps } from '@ankhorage/surface';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface SwitchProps extends ZoraBaseProps, Omit<SurfaceSwitchProps, 'mode' | 'themeId'> {}\n"]}
1
+ {"version":3,"file":"switch.js","sourceRoot":"","sources":["../../src/types/switch.ts"],"names":[],"mappings":"","sourcesContent":["import type { SwitchProps as SurfaceSwitchProps } from '@ankhorage/surface';\n\nimport type { ZoraBaseProps } from './base';\n\nexport interface SwitchProps extends ZoraBaseProps, Omit<SurfaceSwitchProps, 'mode' | 'themeId'> {}\n"]}
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
2
+ import type { ZoraBaseProps } from './base';
3
3
  export interface TabsProps extends ZoraBaseProps {
4
4
  children?: React.ReactNode;
5
5
  value?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../src/types/tabs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED,MAAM,WAAW,YAAa,SAAQ,aAAa;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,QAAS,SAAQ,aAAa;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B"}
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../src/types/tabs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED,MAAM,WAAW,YAAa,SAAQ,aAAa;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,QAAS,SAAQ,aAAa;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","sourceRoot":"","sources":["../../src/types/tabs.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface TabsProps extends ZoraBaseProps {\n children?: React.ReactNode;\n value?: string;\n defaultValue?: string;\n onValueChange?: (value: string) => void;\n}\n\nexport interface TabListProps extends ZoraBaseProps {\n children?: React.ReactNode;\n}\n\nexport interface TabProps extends ZoraBaseProps {\n value: string;\n label: string;\n disabled?: boolean;\n}\n\nexport interface TabPanelProps extends ZoraBaseProps {\n value: string;\n children?: React.ReactNode;\n}\n"]}
1
+ {"version":3,"file":"tabs.js","sourceRoot":"","sources":["../../src/types/tabs.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\nexport interface TabsProps extends ZoraBaseProps {\n children?: React.ReactNode;\n value?: string;\n defaultValue?: string;\n onValueChange?: (value: string) => void;\n}\n\nexport interface TabListProps extends ZoraBaseProps {\n children?: React.ReactNode;\n}\n\nexport interface TabProps extends ZoraBaseProps {\n value: string;\n label: string;\n disabled?: boolean;\n}\n\nexport interface TabPanelProps extends ZoraBaseProps {\n value: string;\n children?: React.ReactNode;\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import type * as Surface from '@ankhorage/surface';
2
- import type { ZoraControlSize } from '../internal/recipes';
3
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
2
+ import type { ZoraBaseProps } from './base';
3
+ import type { ZoraControlSize } from './control';
4
4
  export interface TextInputTrailingAction {
5
5
  icon: Surface.ButtonIconSpec;
6
6
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"text-input.d.ts","sourceRoot":"","sources":["../../src/types/text-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAEnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,KAAK,sBAAsB,GACvB;IACE,YAAY,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC;IACtC,cAAc,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACE,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC1C,CAAC;AAEN,UAAU,kBACR,SACE,aAAa,EACb,IAAI,CACF,OAAO,CAAC,cAAc,EACtB,kBAAkB,GAAG,MAAM,GAAG,mBAAmB,GAAG,MAAM,GAAG,SAAS,CACvE;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC;CACtC;AAED,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,sBAAsB,CAAC"}
1
+ {"version":3,"file":"text-input.d.ts","sourceRoot":"","sources":["../../src/types/text-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAEnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,KAAK,sBAAsB,GACvB;IACE,YAAY,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC;IACtC,cAAc,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACE,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC1C,CAAC;AAEN,UAAU,kBACR,SACE,aAAa,EACb,IAAI,CACF,OAAO,CAAC,cAAc,EACtB,kBAAkB,GAAG,MAAM,GAAG,mBAAmB,GAAG,MAAM,GAAG,SAAS,CACvE;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC;CACtC;AAED,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-input.js","sourceRoot":"","sources":["../../src/types/text-input.ts"],"names":[],"mappings":"","sourcesContent":["import type * as Surface from '@ankhorage/surface';\n\nimport type { ZoraControlSize } from '../internal/recipes';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface TextInputTrailingAction {\n icon: Surface.ButtonIconSpec;\n label: string;\n onPress: () => void;\n}\n\ntype TextInputTrailingProps =\n | {\n trailingIcon?: Surface.ButtonIconSpec;\n trailingAction?: never;\n }\n | {\n trailingIcon?: never;\n trailingAction?: TextInputTrailingAction;\n };\n\ninterface TextInputBaseProps\n extends\n ZoraBaseProps,\n Omit<\n Surface.TextInputProps,\n 'leadingAccessory' | 'size' | 'trailingAccessory' | 'mode' | 'themeId'\n > {\n size?: ZoraControlSize;\n leadingIcon?: Surface.ButtonIconSpec;\n}\n\nexport type TextInputProps = TextInputBaseProps & TextInputTrailingProps;\n"]}
1
+ {"version":3,"file":"text-input.js","sourceRoot":"","sources":["../../src/types/text-input.ts"],"names":[],"mappings":"","sourcesContent":["import type * as Surface from '@ankhorage/surface';\n\nimport type { ZoraBaseProps } from './base';\nimport type { ZoraControlSize } from './control';\n\nexport interface TextInputTrailingAction {\n icon: Surface.ButtonIconSpec;\n label: string;\n onPress: () => void;\n}\n\ntype TextInputTrailingProps =\n | {\n trailingIcon?: Surface.ButtonIconSpec;\n trailingAction?: never;\n }\n | {\n trailingIcon?: never;\n trailingAction?: TextInputTrailingAction;\n };\n\ninterface TextInputBaseProps\n extends\n ZoraBaseProps,\n Omit<\n Surface.TextInputProps,\n 'leadingAccessory' | 'size' | 'trailingAccessory' | 'mode' | 'themeId'\n > {\n size?: ZoraControlSize;\n leadingIcon?: Surface.ButtonIconSpec;\n}\n\nexport type TextInputProps = TextInputBaseProps & TextInputTrailingProps;\n"]}
@@ -1,8 +1,8 @@
1
1
  import type { Responsive } from '@ankhorage/surface';
2
2
  import type React from 'react';
3
3
  import type { AccessibilityRole, StyleProp, TextProps as ReactNativeTextProps, TextStyle } from 'react-native';
4
- import type { ZoraColor, ZoraEmphasis } from '../internal/recipes';
5
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
+ import type { ZoraBaseProps } from './base';
5
+ import type { ZoraColor, ZoraEmphasis } from './theme';
6
6
  export type TextVariant = 'body' | 'lead' | 'bodySmall' | 'caption' | 'label' | 'eyebrow' | 'code';
7
7
  export type TextColor = Z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C;AAE5D,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;IACpC,KAAK,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,uBAAuB,CAAC,EAAE,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;IAC1E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"text.js","sourceRoot":"","sources":["../../src/types/text.ts"],"names":[],"mappings":"","sourcesContent":["import type { Responsive } from '@ankhorage/surface';\nimport type React from 'react';\nimport type {\n AccessibilityRole,\n StyleProp,\n TextProps as ReactNativeTextProps,\n TextStyle,\n} from 'react-native';\n\nimport type { ZoraColor, ZoraEmphasis } from '../internal/recipes';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport type TextVariant = 'body' | 'lead' | 'bodySmall' | 'caption' | 'label' | 'eyebrow' | 'code';\n\nexport type TextColor = ZoraColor;\nexport type TextEmphasis = ZoraEmphasis;\n\nexport type TextWeight = 'regular' | 'medium' | 'semiBold' | 'bold';\n\nexport type TextAlign = NonNullable<TextStyle['textAlign']>;\n\nexport interface TextProps extends ZoraBaseProps {\n children?: React.ReactNode;\n text?: string;\n i18nKey?: string;\n variant?: Responsive<TextVariant>;\n color?: Responsive<TextColor>;\n emphasis?: Responsive<TextEmphasis>;\n align?: Responsive<TextAlign>;\n weight?: Responsive<TextWeight>;\n italic?: boolean;\n numberOfLines?: number;\n ellipsizeMode?: 'head' | 'middle' | 'tail' | 'clip';\n selectable?: boolean;\n style?: StyleProp<TextStyle>;\n accessibilityLabel?: string;\n accessibilityHint?: string;\n accessibilityRole?: AccessibilityRole;\n accessibilityLiveRegion?: ReactNativeTextProps['accessibilityLiveRegion'];\n nativeID?: string;\n}\n"]}
1
+ {"version":3,"file":"text.js","sourceRoot":"","sources":["../../src/types/text.ts"],"names":[],"mappings":"","sourcesContent":["import type { Responsive } from '@ankhorage/surface';\nimport type React from 'react';\nimport type {\n AccessibilityRole,\n StyleProp,\n TextProps as ReactNativeTextProps,\n TextStyle,\n} from 'react-native';\n\nimport type { ZoraBaseProps } from './base';\nimport type { ZoraColor, ZoraEmphasis } from './theme';\n\nexport type TextVariant = 'body' | 'lead' | 'bodySmall' | 'caption' | 'label' | 'eyebrow' | 'code';\n\nexport type TextColor = ZoraColor;\nexport type TextEmphasis = ZoraEmphasis;\n\nexport type TextWeight = 'regular' | 'medium' | 'semiBold' | 'bold';\n\nexport type TextAlign = NonNullable<TextStyle['textAlign']>;\n\nexport interface TextProps extends ZoraBaseProps {\n children?: React.ReactNode;\n text?: string;\n i18nKey?: string;\n variant?: Responsive<TextVariant>;\n color?: Responsive<TextColor>;\n emphasis?: Responsive<TextEmphasis>;\n align?: Responsive<TextAlign>;\n weight?: Responsive<TextWeight>;\n italic?: boolean;\n numberOfLines?: number;\n ellipsizeMode?: 'head' | 'middle' | 'tail' | 'clip';\n selectable?: boolean;\n style?: StyleProp<TextStyle>;\n accessibilityLabel?: string;\n accessibilityHint?: string;\n accessibilityRole?: AccessibilityRole;\n accessibilityLiveRegion?: ReactNativeTextProps['accessibilityLiveRegion'];\n nativeID?: string;\n}\n"]}
@@ -1,3 +1,3 @@
1
1
  import type { IconButtonProps } from '../features/button/public';
2
2
  export type ThemeModeToggleProps = Pick<IconButtonProps, 'disabled' | 'interactionPolicy' | 'size' | 'testID'>;
3
- //# sourceMappingURL=ThemeModeToggleProps.d.ts.map
3
+ //# sourceMappingURL=theme-mode-toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-mode-toggle.d.ts","sourceRoot":"","sources":["../../src/types/theme-mode-toggle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,eAAe,EACf,UAAU,GAAG,mBAAmB,GAAG,MAAM,GAAG,QAAQ,CACrD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=theme-mode-toggle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-mode-toggle.js","sourceRoot":"","sources":["../../src/types/theme-mode-toggle.ts"],"names":[],"mappings":"","sourcesContent":["import type { IconButtonProps } from '../features/button/public';\n\nexport type ThemeModeToggleProps = Pick<\n IconButtonProps,\n 'disabled' | 'interactionPolicy' | 'size' | 'testID'\n>;\n"]}
@@ -1,5 +1,4 @@
1
- export declare const ZORA_THEME_TOKEN_FAMILIES: readonly ["colors", "spacing", "radii", "typography", "shadows"];
2
- export type ZoraThemeTokenFamily = (typeof ZORA_THEME_TOKEN_FAMILIES)[number];
1
+ export type ZoraThemeTokenFamily = 'colors' | 'spacing' | 'radii' | 'typography' | 'shadows';
3
2
  export type ZoraThemeRecipeKind = 'component' | 'pattern';
4
3
  interface ZoraThemeRecipeFieldBase {
5
4
  readonly label: string;
@@ -28,4 +27,4 @@ export interface ZoraThemeRecipeMeta {
28
27
  }
29
28
  export type ZoraThemeRecipeMetaRegistry = Readonly<Record<string, ZoraThemeRecipeMeta>>;
30
29
  export {};
31
- //# sourceMappingURL=themeRecipeTypes.d.ts.map
30
+ //# sourceMappingURL=theme-recipe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-recipe.d.ts","sourceRoot":"","sources":["../../src/types/theme-recipe.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,YAAY,GAAG,SAAS,CAAC;AAE7F,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,SAAS,CAAC;AAE1D,UAAU,wBAAwB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,6BAA8B,SAAQ,wBAAwB;IAC7E,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,8BAA+B,SAAQ,wBAAwB;IAC9E,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,+BAAgC,SAAQ,wBAAwB;IAC/E,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,MAAM,wBAAwB,GAClC,6BAA6B,GAAG,8BAA8B,GAAG,+BAA+B,CAAC;AAEnG,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC,CAAC;CACrE;AAED,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=theme-recipe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-recipe.js","sourceRoot":"","sources":["../../src/types/theme-recipe.ts"],"names":[],"mappings":"","sourcesContent":["export type ZoraThemeTokenFamily = 'colors' | 'spacing' | 'radii' | 'typography' | 'shadows';\n\nexport type ZoraThemeRecipeKind = 'component' | 'pattern';\n\ninterface ZoraThemeRecipeFieldBase {\n readonly label: string;\n readonly description?: string;\n}\n\nexport interface ZoraThemeRecipeTokenFieldMeta extends ZoraThemeRecipeFieldBase {\n readonly type: 'token';\n readonly tokenFamily: ZoraThemeTokenFamily;\n readonly default?: string;\n}\n\nexport interface ZoraThemeRecipeChoiceFieldMeta extends ZoraThemeRecipeFieldBase {\n readonly type: 'choice';\n readonly options: readonly string[];\n readonly default?: string;\n}\n\nexport interface ZoraThemeRecipeBooleanFieldMeta extends ZoraThemeRecipeFieldBase {\n readonly type: 'boolean';\n readonly default?: boolean;\n}\n\nexport type ZoraThemeRecipeFieldMeta =\n ZoraThemeRecipeTokenFieldMeta | ZoraThemeRecipeChoiceFieldMeta | ZoraThemeRecipeBooleanFieldMeta;\n\nexport interface ZoraThemeRecipeMeta {\n readonly name: string;\n readonly kind: ZoraThemeRecipeKind;\n readonly description?: string;\n readonly fields: Readonly<Record<string, ZoraThemeRecipeFieldMeta>>;\n}\n\nexport type ZoraThemeRecipeMetaRegistry = Readonly<Record<string, ZoraThemeRecipeMeta>>;\n"]}
@@ -1,5 +1,6 @@
1
1
  import type { ColorContrastContext, ColorHarmony, ColorSelectionTarget, ColorSwatchSelectionResult, ColorSwatchTiePolicy, GeneratedThemeModeColors, GeneratedThemeSwatches } from '@ankhorage/color-theory';
2
2
  import type { AppCategory, ThemeConfig } from '@ankhorage/contracts';
3
+ import type { SurfaceColor, SurfaceEmphasis, SurfacePaletteColor, SurfaceStatusColor } from '@ankhorage/surface';
3
4
  import type { SurfaceTheme } from '@ankhorage/surface/theme';
4
5
  export type ZoraThemeId = string;
5
6
  export type ZoraThemeMode = 'light' | 'dark';
@@ -56,4 +57,8 @@ export interface ZoraComputedTheme {
56
57
  readonly diagnostics: readonly ZoraThemeCompilationDiagnostic[];
57
58
  readonly provenance: readonly ZoraThemeProvenanceEntry[];
58
59
  }
59
- //# sourceMappingURL=types.d.ts.map
60
+ export type ZoraPaletteColor = SurfacePaletteColor;
61
+ export type ZoraStatusColor = SurfaceStatusColor;
62
+ export type ZoraColor = SurfaceColor;
63
+ export type ZoraEmphasis = SurfaceEmphasis;
64
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/types/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AAEjC,MAAM,MAAM,aAAa,GAAG,OAAO,G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AM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,wBAAwB,CAAC;IAC7C,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,UAAU,EAAE,SAAS,wBAAwB,EAAE,CAAC;IACzD,QAAQ,CAAC,WAAW,EAAE,SAAS,8BAA8B,EAAE,CAAC;IAChE,QAAQ,CAAC,UAAU,EAAE,SAAS,wBAAwB,EAAE,CAAC;CAC1D;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,qBAAqB,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,qBAAqB,CAAC;IACrC,QAAQ,CAAC,WAAW,EAAE,SAAS,8BAA8B,EAAE,CAAC;IAChE,QAAQ,CAAC,UAAU,EAAE,SAAS,wBAAwB,EAAE,CAAC;CAC1D;AAED,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC;AACnD,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC;AACjD,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC;AACrC,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/types/theme.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n ColorContrastContext,\n ColorHarmony,\n ColorSelectionTarget,\n ColorSwatchSelectionResult,\n ColorSwatchTiePolicy,\n GeneratedThemeModeColors,\n GeneratedThemeSwatches,\n} from '@ankhorage/color-theory';\nimport type { AppCategory, ThemeConfig } from '@ankhorage/contracts';\nimport type {\n SurfaceColor,\n SurfaceEmphasis,\n SurfacePaletteColor,\n SurfaceStatusColor,\n} from '@ankhorage/surface';\nimport type { SurfaceTheme } from '@ankhorage/surface/theme';\n\nexport type ZoraThemeId = string;\n\nexport type ZoraThemeMode = 'light' | 'dark';\n\nexport interface ZoraTheme {\n id: ZoraThemeId;\n name: string;\n appCategory: AppCategory;\n primaryColor: string;\n harmony: ColorHarmony;\n}\n\nexport type ZoraThemeSwatchRole = keyof GeneratedThemeSwatches;\n\n/** A measurable request delegated to Color Theory's canonical swatch selector. */\nexport interface ZoraThemeSelectionTarget {\n readonly id: string;\n readonly swatch: ZoraThemeSwatchRole;\n readonly target: ColorSelectionTarget;\n readonly contexts: readonly ColorContrastContext[];\n readonly tiePolicy: ColorSwatchTiePolicy;\n}\n\nexport interface ZoraThemeCompilationOptions {\n readonly selectionTargets?: Partial<Record<ZoraThemeMode, readonly ZoraThemeSelectionTarget[]>>;\n}\n\nexport interface ZoraThemeSelectionResult {\n readonly request: ZoraThemeSelectionTarget;\n readonly result: ColorSwatchSelectionResult | null;\n}\n\nexport type ZoraThemeCompilationDiagnosticCode =\n 'generated-output-divergence' | 'missing-target-swatch' | 'unresolved-selection-target';\n\nexport interface ZoraThemeCompilationDiagnostic {\n readonly code: ZoraThemeCompilationDiagnosticCode;\n readonly message: string;\n readonly mode: ZoraThemeMode;\n readonly path: string;\n readonly severity: 'error';\n}\n\nexport type ZoraThemeValueOrigin = 'defaulted' | 'derived' | 'direct';\n\nexport interface ZoraThemeProvenanceEntry {\n readonly path: string;\n readonly origin: ZoraThemeValueOrigin;\n readonly owner: string;\n readonly inputs?: readonly string[];\n}\n\nexport interface ZoraComputedThemeMode {\n readonly mode: ZoraThemeMode;\n readonly generated: GeneratedThemeModeColors;\n readonly surfaceTheme: SurfaceTheme;\n readonly selections: readonly ZoraThemeSelectionResult[];\n readonly diagnostics: readonly ZoraThemeCompilationDiagnostic[];\n readonly provenance: readonly ZoraThemeProvenanceEntry[];\n}\n\nexport interface ZoraComputedTheme {\n readonly themeConfig: ThemeConfig;\n readonly light: ZoraComputedThemeMode;\n readonly dark: ZoraComputedThemeMode;\n readonly diagnostics: readonly ZoraThemeCompilationDiagnostic[];\n readonly provenance: readonly ZoraThemeProvenanceEntry[];\n}\n\nexport type ZoraPaletteColor = SurfacePaletteColor;\nexport type ZoraStatusColor = SurfaceStatusColor;\nexport type ZoraColor = SurfaceColor;\nexport type ZoraEmphasis = SurfaceEmphasis;\n"]}
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
2
+ import type { ZoraBaseProps } from './base';
3
3
  export type TimePickerValue = string | null;
4
4
  export interface TimePickerProps extends ZoraBaseProps {
5
5
  value: TimePickerValue;
@@ -1 +1 @@
1
- {"version":3,"file":"time-picker.d.ts","sourceRoot":"","sources":["../../src/types/time-picker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,eAAgB,SAAQ,aAAa;IACpD,KAAK,EAAE,eAAe,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IACjD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"time-picker.d.ts","sourceRoot":"","sources":["../../src/types/time-picker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,eAAgB,SAAQ,aAAa;IACpD,KAAK,EAAE,eAAe,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IACjD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"time-picker.js","sourceRoot":"","sources":["../../src/types/time-picker.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport type TimePickerValue = string | null;\n\nexport interface TimePickerProps extends ZoraBaseProps {\n value: TimePickerValue;\n onValueChange?: (value: TimePickerValue) => void;\n label?: React.ReactNode;\n description?: React.ReactNode;\n error?: React.ReactNode;\n placeholder?: React.ReactNode;\n minTime?: string;\n maxTime?: string;\n stepMinutes?: number;\n disabled?: boolean;\n required?: boolean;\n formatTime?: (value: string) => React.ReactNode;\n testID?: string;\n}\n"]}
1
+ {"version":3,"file":"time-picker.js","sourceRoot":"","sources":["../../src/types/time-picker.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\nexport type TimePickerValue = string | null;\n\nexport interface TimePickerProps extends ZoraBaseProps {\n value: TimePickerValue;\n onValueChange?: (value: TimePickerValue) => void;\n label?: React.ReactNode;\n description?: React.ReactNode;\n error?: React.ReactNode;\n placeholder?: React.ReactNode;\n minTime?: string;\n maxTime?: string;\n stepMinutes?: number;\n disabled?: boolean;\n required?: boolean;\n formatTime?: (value: string) => React.ReactNode;\n testID?: string;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { ButtonIconSpec } from '@ankhorage/surface';
2
2
  import type React from 'react';
3
- import type { ZoraColor } from '../internal/recipes';
4
- import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
3
+ import type { ZoraBaseProps } from './base';
4
+ import type { ZoraColor } from './theme';
5
5
  export interface TimelineItem {
6
6
  id: string;
7
7
  title: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"timeline.d.ts","sourceRoot":"","sources":["../../src/types/timeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,KAAK,EAAE,SAAS,YAAY,EAAE,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
1
+ {"version":3,"file":"timeline.d.ts","sourceRoot":"","sources":["../../src/types/timeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,KAAK,EAAE,SAAS,YAAY,EAAE,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"timeline.js","sourceRoot":"","sources":["../../src/types/timeline.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonIconSpec } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraColor } from '../internal/recipes';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface TimelineItem {\n id: string;\n title: React.ReactNode;\n description?: React.ReactNode;\n meta?: React.ReactNode;\n status?: ZoraColor;\n icon?: ButtonIconSpec;\n testID?: string;\n}\n\nexport interface TimelineProps extends ZoraBaseProps {\n items: readonly TimelineItem[];\n compact?: boolean;\n}\n"]}
1
+ {"version":3,"file":"timeline.js","sourceRoot":"","sources":["../../src/types/timeline.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonIconSpec } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\nimport type { ZoraColor } from './theme';\n\nexport interface TimelineItem {\n id: string;\n title: React.ReactNode;\n description?: React.ReactNode;\n meta?: React.ReactNode;\n status?: ZoraColor;\n icon?: ButtonIconSpec;\n testID?: string;\n}\n\nexport interface TimelineProps extends ZoraBaseProps {\n items: readonly TimelineItem[];\n compact?: boolean;\n}\n"]}