@ankhorage/zora 12.1.0 → 14.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 (263) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +11 -5
  3. package/dist/features/accordion/accordionItemMeta.d.ts +53 -0
  4. package/dist/features/accordion/accordionItemMeta.d.ts.map +1 -0
  5. package/dist/features/accordion/accordionItemMeta.js +45 -0
  6. package/dist/features/accordion/accordionItemMeta.js.map +1 -0
  7. package/dist/features/accordion/accordionMeta.d.ts +36 -0
  8. package/dist/features/accordion/accordionMeta.d.ts.map +1 -0
  9. package/dist/features/accordion/accordionMeta.js +33 -0
  10. package/dist/features/accordion/accordionMeta.js.map +1 -0
  11. package/dist/features/accordion/adapters/inbound/Accordion.d.ts +5 -0
  12. package/dist/features/accordion/adapters/inbound/Accordion.d.ts.map +1 -0
  13. package/dist/features/accordion/adapters/inbound/Accordion.js +41 -0
  14. package/dist/features/accordion/adapters/inbound/Accordion.js.map +1 -0
  15. package/dist/features/accordion/adapters/inbound/AccordionItem.d.ts +5 -0
  16. package/dist/features/accordion/adapters/inbound/AccordionItem.d.ts.map +1 -0
  17. package/dist/features/accordion/adapters/inbound/AccordionItem.js +52 -0
  18. package/dist/features/accordion/adapters/inbound/AccordionItem.js.map +1 -0
  19. package/dist/features/accordion/composition/AccordionPresentationContext.d.ts +4 -0
  20. package/dist/features/accordion/composition/AccordionPresentationContext.d.ts.map +1 -0
  21. package/dist/features/accordion/composition/AccordionPresentationContext.js +3 -0
  22. package/dist/features/accordion/composition/AccordionPresentationContext.js.map +1 -0
  23. package/dist/features/accordion/public.d.ts +4 -0
  24. package/dist/features/accordion/public.d.ts.map +1 -0
  25. package/dist/features/accordion/public.js +3 -0
  26. package/dist/features/accordion/public.js.map +1 -0
  27. package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
  28. package/dist/features/card/cardMeta.d.ts +1 -1
  29. package/dist/features/card/mediaCardMeta.d.ts +1 -1
  30. package/dist/features/card/postCardMeta.d.ts +1 -1
  31. package/dist/features/date-picker/adapters/inbound/DatePicker.d.ts +1 -6
  32. package/dist/features/date-picker/adapters/inbound/DatePicker.d.ts.map +1 -1
  33. package/dist/features/date-picker/adapters/inbound/DatePicker.js +1 -175
  34. package/dist/features/date-picker/adapters/inbound/DatePicker.js.map +1 -1
  35. package/dist/features/date-picker/adapters/inbound/DatePicker.native.d.ts +5 -0
  36. package/dist/features/date-picker/adapters/inbound/DatePicker.native.d.ts.map +1 -0
  37. package/dist/features/date-picker/adapters/inbound/DatePicker.native.js +27 -0
  38. package/dist/features/date-picker/adapters/inbound/DatePicker.native.js.map +1 -0
  39. package/dist/features/date-picker/adapters/inbound/DatePicker.web.d.ts +5 -0
  40. package/dist/features/date-picker/adapters/inbound/DatePicker.web.d.ts.map +1 -0
  41. package/dist/features/date-picker/adapters/inbound/DatePicker.web.js +25 -0
  42. package/dist/features/date-picker/adapters/inbound/DatePicker.web.js.map +1 -0
  43. package/dist/features/date-picker/composition/DatePickerContent.d.ts +10 -0
  44. package/dist/features/date-picker/composition/DatePickerContent.d.ts.map +1 -0
  45. package/dist/features/date-picker/composition/DatePickerContent.js +129 -0
  46. package/dist/features/date-picker/composition/DatePickerContent.js.map +1 -0
  47. package/dist/features/date-picker/composition/DatePickerField.d.ts +9 -0
  48. package/dist/features/date-picker/composition/DatePickerField.d.ts.map +1 -0
  49. package/dist/features/date-picker/composition/DatePickerField.js +21 -0
  50. package/dist/features/date-picker/composition/DatePickerField.js.map +1 -0
  51. package/dist/features/date-picker/composition/DatePickerTrigger.d.ts +9 -0
  52. package/dist/features/date-picker/composition/DatePickerTrigger.d.ts.map +1 -0
  53. package/dist/features/date-picker/composition/DatePickerTrigger.js +18 -0
  54. package/dist/features/date-picker/composition/DatePickerTrigger.js.map +1 -0
  55. package/dist/features/gradient/gradientMeta.d.ts +1 -1
  56. package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
  57. package/dist/features/layout/boxMeta.d.ts +1 -1
  58. package/dist/features/layout/containerMeta.d.ts +1 -1
  59. package/dist/features/layout/gridMeta.d.ts +1 -1
  60. package/dist/features/layout/stackMeta.d.ts +1 -1
  61. package/dist/features/list/flatListMeta.d.ts +1 -1
  62. package/dist/features/list/sectionListMeta.d.ts +1 -1
  63. package/dist/features/surface/surfaceMeta.d.ts +1 -1
  64. package/dist/features/time-picker/adapters/inbound/TimePicker.d.ts +1 -6
  65. package/dist/features/time-picker/adapters/inbound/TimePicker.d.ts.map +1 -1
  66. package/dist/features/time-picker/adapters/inbound/TimePicker.js +1 -116
  67. package/dist/features/time-picker/adapters/inbound/TimePicker.js.map +1 -1
  68. package/dist/features/time-picker/adapters/inbound/TimePicker.native.d.ts +5 -0
  69. package/dist/features/time-picker/adapters/inbound/TimePicker.native.d.ts.map +1 -0
  70. package/dist/features/time-picker/adapters/inbound/TimePicker.native.js +26 -0
  71. package/dist/features/time-picker/adapters/inbound/TimePicker.native.js.map +1 -0
  72. package/dist/features/time-picker/adapters/inbound/TimePicker.web.d.ts +5 -0
  73. package/dist/features/time-picker/adapters/inbound/TimePicker.web.d.ts.map +1 -0
  74. package/dist/features/time-picker/adapters/inbound/TimePicker.web.js +24 -0
  75. package/dist/features/time-picker/adapters/inbound/TimePicker.web.js.map +1 -0
  76. package/dist/features/time-picker/composition/TimePickerContent.d.ts +10 -0
  77. package/dist/features/time-picker/composition/TimePickerContent.d.ts.map +1 -0
  78. package/dist/features/time-picker/composition/TimePickerContent.js +78 -0
  79. package/dist/features/time-picker/composition/TimePickerContent.js.map +1 -0
  80. package/dist/features/time-picker/composition/TimePickerField.d.ts +9 -0
  81. package/dist/features/time-picker/composition/TimePickerField.d.ts.map +1 -0
  82. package/dist/features/time-picker/composition/TimePickerField.js +21 -0
  83. package/dist/features/time-picker/composition/TimePickerField.js.map +1 -0
  84. package/dist/features/time-picker/composition/TimePickerTrigger.d.ts +8 -0
  85. package/dist/features/time-picker/composition/TimePickerTrigger.d.ts.map +1 -0
  86. package/dist/features/time-picker/composition/TimePickerTrigger.js +9 -0
  87. package/dist/features/time-picker/composition/TimePickerTrigger.js.map +1 -0
  88. package/dist/features/toast/adapters/inbound/Toast.d.ts +5 -0
  89. package/dist/features/toast/adapters/inbound/Toast.d.ts.map +1 -0
  90. package/dist/features/toast/adapters/inbound/Toast.js +10 -0
  91. package/dist/features/toast/adapters/inbound/Toast.js.map +1 -0
  92. package/dist/features/toast/adapters/inbound/ToastProvider.d.ts +5 -0
  93. package/dist/features/toast/adapters/inbound/ToastProvider.d.ts.map +1 -0
  94. package/dist/features/toast/adapters/inbound/ToastProvider.js +7 -0
  95. package/dist/features/toast/adapters/inbound/ToastProvider.js.map +1 -0
  96. package/dist/features/toast/public.d.ts +5 -0
  97. package/dist/features/toast/public.d.ts.map +1 -0
  98. package/dist/features/toast/public.js +4 -0
  99. package/dist/features/toast/public.js.map +1 -0
  100. package/dist/features/toast/toastMeta.d.ts +9 -0
  101. package/dist/features/toast/toastMeta.d.ts.map +1 -0
  102. package/dist/features/toast/toastMeta.js +9 -0
  103. package/dist/features/toast/toastMeta.js.map +1 -0
  104. package/dist/features/toast/toastProviderMeta.d.ts +9 -0
  105. package/dist/features/toast/toastProviderMeta.d.ts.map +1 -0
  106. package/dist/features/toast/toastProviderMeta.js +9 -0
  107. package/dist/features/toast/toastProviderMeta.js.map +1 -0
  108. package/dist/index.d.ts +3 -4
  109. package/dist/index.d.ts.map +1 -1
  110. package/dist/index.js +2 -2
  111. package/dist/index.js.map +1 -1
  112. package/dist/layout/screen/meta.d.ts +1 -1
  113. package/dist/layout/screen-section/meta.d.ts +1 -1
  114. package/dist/metadata/allowedChildren.d.ts +3 -3
  115. package/dist/metadata/allowedChildren.d.ts.map +1 -1
  116. package/dist/metadata/allowedChildren.js +1 -0
  117. package/dist/metadata/allowedChildren.js.map +1 -1
  118. package/dist/metadata/bindableComponentMeta.d.ts +2 -2
  119. package/dist/metadata/componentMeta.d.ts.map +1 -1
  120. package/dist/metadata/componentMeta.js +6 -3
  121. package/dist/metadata/componentMeta.js.map +1 -1
  122. package/dist/patterns/message-bubble/meta.d.ts +1 -1
  123. package/dist/patterns/notice/meta.d.ts +1 -1
  124. package/dist/patterns/panel/meta.d.ts +1 -1
  125. package/dist/patterns/reader/meta.d.ts +2 -2
  126. package/dist/patterns/scanner/meta.d.ts +2 -2
  127. package/dist/patterns/selection/SelectionProvider.d.ts +0 -4
  128. package/dist/patterns/selection/SelectionProvider.d.ts.map +1 -1
  129. package/dist/patterns/selection/SelectionProvider.js +4 -6
  130. package/dist/patterns/selection/SelectionProvider.js.map +1 -1
  131. package/dist/registry.d.ts.map +1 -1
  132. package/dist/registry.js +4 -3
  133. package/dist/registry.js.map +1 -1
  134. package/dist/theme/ZoraProvider.d.ts +4 -10
  135. package/dist/theme/ZoraProvider.d.ts.map +1 -1
  136. package/dist/theme/ZoraProvider.js +8 -6
  137. package/dist/theme/ZoraProvider.js.map +1 -1
  138. package/dist/theme/ZoraRuntimeCapabilities.d.ts +2 -0
  139. package/dist/theme/ZoraRuntimeCapabilities.d.ts.map +1 -0
  140. package/dist/theme/ZoraRuntimeCapabilities.js +2 -0
  141. package/dist/theme/ZoraRuntimeCapabilities.js.map +1 -0
  142. package/dist/theme/ZoraRuntimeCapabilities.native.d.ts +4 -0
  143. package/dist/theme/ZoraRuntimeCapabilities.native.d.ts.map +1 -0
  144. package/dist/theme/ZoraRuntimeCapabilities.native.js +8 -0
  145. package/dist/theme/ZoraRuntimeCapabilities.native.js.map +1 -0
  146. package/dist/theme/ZoraRuntimeCapabilities.web.d.ts +4 -0
  147. package/dist/theme/ZoraRuntimeCapabilities.web.d.ts.map +1 -0
  148. package/dist/theme/ZoraRuntimeCapabilities.web.js +8 -0
  149. package/dist/theme/ZoraRuntimeCapabilities.web.js.map +1 -0
  150. package/dist/theme/ZoraThemeRuntimeContext.d.ts +1 -0
  151. package/dist/theme/ZoraThemeRuntimeContext.d.ts.map +1 -1
  152. package/dist/theme/ZoraThemeRuntimeContext.js +3 -2
  153. package/dist/theme/ZoraThemeRuntimeContext.js.map +1 -1
  154. package/dist/theme/ZoraThemeScope.d.ts +1 -0
  155. package/dist/theme/ZoraThemeScope.d.ts.map +1 -1
  156. package/dist/theme/ZoraThemeScope.js +12 -10
  157. package/dist/theme/ZoraThemeScope.js.map +1 -1
  158. package/dist/theme/index.d.ts +1 -1
  159. package/dist/theme/index.d.ts.map +1 -1
  160. package/dist/theme/index.js.map +1 -1
  161. package/dist/types/accordion.d.ts +23 -0
  162. package/dist/types/accordion.d.ts.map +1 -0
  163. package/dist/types/accordion.js +2 -0
  164. package/dist/types/accordion.js.map +1 -0
  165. package/dist/types/provider.d.ts +19 -0
  166. package/dist/types/provider.d.ts.map +1 -0
  167. package/dist/types/provider.js +2 -0
  168. package/dist/types/provider.js.map +1 -0
  169. package/dist/types/toast.d.ts +9 -0
  170. package/dist/types/toast.d.ts.map +1 -0
  171. package/dist/types/toast.js +2 -0
  172. package/dist/types/toast.js.map +1 -0
  173. package/package.json +2 -2
  174. package/src/features/accordion/accordionItemMeta.ts +46 -0
  175. package/src/features/accordion/accordionMeta.ts +34 -0
  176. package/src/features/accordion/adapters/inbound/Accordion.tsx +94 -0
  177. package/src/features/accordion/adapters/inbound/AccordionItem.tsx +86 -0
  178. package/src/features/accordion/composition/AccordionPresentationContext.ts +6 -0
  179. package/src/features/accordion/public.ts +9 -0
  180. package/src/features/bottom-sheet/public.test.ts +15 -12
  181. package/src/features/date-picker/adapters/inbound/DatePicker.native.tsx +46 -0
  182. package/src/features/date-picker/adapters/inbound/DatePicker.tsx +1 -356
  183. package/src/features/date-picker/adapters/inbound/DatePicker.web.tsx +48 -0
  184. package/src/features/date-picker/composition/DatePickerContent.tsx +256 -0
  185. package/src/features/date-picker/composition/DatePickerField.tsx +53 -0
  186. package/src/features/date-picker/composition/DatePickerTrigger.tsx +47 -0
  187. package/src/features/date-picker/public.test.ts +14 -4
  188. package/src/features/time-picker/adapters/inbound/TimePicker.native.tsx +47 -0
  189. package/src/features/time-picker/adapters/inbound/TimePicker.tsx +1 -258
  190. package/src/features/time-picker/adapters/inbound/TimePicker.web.tsx +49 -0
  191. package/src/features/time-picker/composition/TimePickerContent.tsx +164 -0
  192. package/src/features/time-picker/composition/TimePickerField.tsx +53 -0
  193. package/src/features/time-picker/composition/TimePickerTrigger.tsx +35 -0
  194. package/src/features/time-picker/public.test.ts +14 -3
  195. package/src/features/toast/adapters/inbound/Toast.tsx +13 -0
  196. package/src/features/toast/adapters/inbound/ToastProvider.tsx +9 -0
  197. package/src/features/toast/public.test.ts +19 -0
  198. package/src/features/toast/public.ts +10 -0
  199. package/src/features/toast/toastMeta.ts +10 -0
  200. package/src/features/toast/toastProviderMeta.ts +10 -0
  201. package/src/index.ts +17 -4
  202. package/src/metadata/allowedChildren.ts +1 -0
  203. package/src/metadata/componentMeta.test.ts +9 -0
  204. package/src/metadata/componentMeta.ts +6 -3
  205. package/src/patterns/selection/SelectionProvider.tsx +4 -6
  206. package/src/registry.ts +4 -3
  207. package/src/showcaseCoverage.test.ts +2 -1
  208. package/src/theme/ZoraProvider.tsx +11 -13
  209. package/src/theme/ZoraRuntimeCapabilities.native.tsx +19 -0
  210. package/src/theme/ZoraRuntimeCapabilities.tsx +1 -0
  211. package/src/theme/ZoraRuntimeCapabilities.web.tsx +10 -0
  212. package/src/theme/ZoraThemeRuntimeContext.tsx +3 -2
  213. package/src/theme/ZoraThemeScope.tsx +14 -12
  214. package/src/theme/index.ts +1 -1
  215. package/src/theme/themeConfigScope.test.ts +4 -1
  216. package/src/theme/themeScopeStructure.test.ts +27 -18
  217. package/src/types/accordion.ts +38 -0
  218. package/src/types/provider.ts +22 -0
  219. package/src/{components/toast/types.ts → types/toast.ts} +5 -7
  220. package/dist/components/toast/Toast.d.ts +0 -9
  221. package/dist/components/toast/Toast.d.ts.map +0 -1
  222. package/dist/components/toast/Toast.js +0 -13
  223. package/dist/components/toast/Toast.js.map +0 -1
  224. package/dist/components/toast/ToastProvider.d.ts +0 -9
  225. package/dist/components/toast/ToastProvider.d.ts.map +0 -1
  226. package/dist/components/toast/ToastProvider.js +0 -14
  227. package/dist/components/toast/ToastProvider.js.map +0 -1
  228. package/dist/components/toast/index.d.ts +0 -5
  229. package/dist/components/toast/index.d.ts.map +0 -1
  230. package/dist/components/toast/index.js +0 -4
  231. package/dist/components/toast/index.js.map +0 -1
  232. package/dist/components/toast/meta.d.ts +0 -17
  233. package/dist/components/toast/meta.d.ts.map +0 -1
  234. package/dist/components/toast/meta.js +0 -17
  235. package/dist/components/toast/meta.js.map +0 -1
  236. package/dist/components/toast/types.d.ts +0 -12
  237. package/dist/components/toast/types.d.ts.map +0 -1
  238. package/dist/components/toast/types.js +0 -2
  239. package/dist/components/toast/types.js.map +0 -1
  240. package/dist/patterns/disclosure-section/DisclosureSection.d.ts +0 -9
  241. package/dist/patterns/disclosure-section/DisclosureSection.d.ts.map +0 -1
  242. package/dist/patterns/disclosure-section/DisclosureSection.js +0 -86
  243. package/dist/patterns/disclosure-section/DisclosureSection.js.map +0 -1
  244. package/dist/patterns/disclosure-section/index.d.ts +0 -3
  245. package/dist/patterns/disclosure-section/index.d.ts.map +0 -1
  246. package/dist/patterns/disclosure-section/index.js +0 -3
  247. package/dist/patterns/disclosure-section/index.js.map +0 -1
  248. package/dist/patterns/disclosure-section/meta.d.ts +0 -9
  249. package/dist/patterns/disclosure-section/meta.d.ts.map +0 -1
  250. package/dist/patterns/disclosure-section/meta.js +0 -9
  251. package/dist/patterns/disclosure-section/meta.js.map +0 -1
  252. package/dist/patterns/disclosure-section/types.d.ts +0 -15
  253. package/dist/patterns/disclosure-section/types.d.ts.map +0 -1
  254. package/dist/patterns/disclosure-section/types.js +0 -2
  255. package/dist/patterns/disclosure-section/types.js.map +0 -1
  256. package/src/components/toast/Toast.tsx +0 -16
  257. package/src/components/toast/ToastProvider.tsx +0 -17
  258. package/src/components/toast/index.ts +0 -4
  259. package/src/components/toast/meta.ts +0 -19
  260. package/src/patterns/disclosure-section/DisclosureSection.tsx +0 -130
  261. package/src/patterns/disclosure-section/index.ts +0 -2
  262. package/src/patterns/disclosure-section/meta.ts +0 -10
  263. package/src/patterns/disclosure-section/types.ts +0 -16
@@ -1 +1 @@
1
- {"version":3,"file":"componentMeta.js","sourceRoot":"","sources":["../../src/metadata/componentMeta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,eA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AAO,EAAE,WAAW;IACpB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,cAAc,EAAE,kBAAkB;IAClC,MAAM,EAAE,UAAU;IAClB,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,kBAAkB,EAAE,sBAAsB;IAC1C,oBAAoB,EAAE,wBAAwB;IAC9C,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,cAAc,EAAE,kBAAkB;IAClC,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;CACvB,CAAC,CAAC","sourcesContent":["import { appBarMeta } from '../components/app-bar/meta';\nimport { breadcrumbsMeta } from '../components/breadcrumbs/meta';\nimport { dropdownMenuMeta, menuMeta } from '../components/menu/meta';\nimport { modalMeta } from '../components/modal/meta';\nimport { paginationMeta } from '../components/pagination/meta';\nimport { ratingMeta } from '../components/rating/meta';\nimport { searchBarMeta } from '../components/search-bar/meta';\nimport { selectMeta } from '../components/select/meta';\nimport { tabsMeta } from '../components/tabs/meta';\nimport { toastMeta, toastProviderMeta } from '../components/toast/meta';\nimport { toolbarActionMeta, toolbarMeta } from '../components/toolbar/meta';\nimport { activityIndicatorMeta } from '../features/activity-indicator/activityIndicatorMeta';\nimport { forgotPasswordFormMeta } from '../features/auth/forgotPasswordFormMeta';\nimport { oauthProviderButtonMeta } from '../features/auth/oauthProviderButtonMeta';\nimport { oauthProviderListMeta } from '../features/auth/oauthProviderListMeta';\nimport { otpFormMeta } from '../features/auth/otpFormMeta';\nimport { signInFormMeta } from '../features/auth/signInFormMeta';\nimport { signUpFormMeta } from '../features/auth/signUpFormMeta';\nimport { avatarGroupMeta } from '../features/avatar/avatarGroupMeta';\nimport { avatarMeta } from '../features/avatar/avatarMeta';\nimport { badgeMeta } from '../features/badge/badgeMeta';\nimport { bottomSheetMeta } from '../features/bottom-sheet/bottomSheetMeta';\nimport { buttonGroupMeta } from '../features/button/buttonGroupMeta';\nimport { buttonMeta } from '../features/button/buttonMeta';\nimport { iconButtonMeta } from '../features/button/iconButtonMeta';\nimport { cardMeta } from '../features/card/cardMeta';\nimport { mediaCardMeta } from '../features/card/mediaCardMeta';\nimport { metricCardMeta } from '../features/card/metricCardMeta';\nimport { postCardMeta } from '../features/card/postCardMeta';\nimport { productCardMeta } from '../features/card/productCardMeta';\nimport { chipGroupMeta } from '../features/chip/chipGroupMeta';\nimport { chipMeta } from '../features/chip/chipMeta';\nimport { dataTableMeta } from '../features/data-table/dataTableMeta';\nimport { datePickerMeta } from '../features/date-picker/datePickerMeta';\nimport { emptyStateMeta } from '../features/empty-state/emptyStateMeta';\nimport { checkboxGroupMeta, checkboxMeta } from '../features/form/checkbox/checkboxMeta';\nimport { formActionsMeta } from '../features/form/formActionsMeta';\nimport { formErrorMeta } from '../features/form/formErrorMeta';\nimport { formFieldMeta } from '../features/form/formFieldMeta';\nimport { formMeta } from '../features/form/formMeta';\nimport { radioGroupMeta, radioMeta } from '../features/form/radio/radioMeta';\nimport { textInputMeta } from '../features/form/text-input/textInputMeta';\nimport { gradientMeta } from '../features/gradient/gradientMeta';\nimport { heroMeta } from '../features/hero/heroMeta';\nimport { iconMeta } from '../features/icon/iconMeta';\nimport { imageMeta } from '../features/image/imageMeta';\nimport { keyboardAvoidingViewMeta } from '../features/keyboard-avoiding-view/keyboardAvoidingViewMeta';\nimport { boxMeta } from '../features/layout/boxMeta';\nimport { containerMeta } from '../features/layout/containerMeta';\nimport { contentRailMeta } from '../features/layout/contentRailMeta';\nimport { dividerMeta } from '../features/layout/dividerMeta';\nimport { gridMeta } from '../features/layout/gridMeta';\nimport { stackMeta } from '../features/layout/stackMeta';\nimport { flatListMeta } from '../features/list/flatListMeta';\nimport { sectionListMeta } from '../features/list/sectionListMeta';\nimport { missingElementMeta } from '../features/missing-element/missingElementMeta';\nimport { progressMeta, progressRingMeta } from '../features/progress/progressMeta';\nimport {\n skeletonCardMeta,\n skeletonListMeta,\n skeletonMeta,\n skeletonTextMeta,\n} from '../features/skeleton/skeletonMeta';\nimport { surfaceMeta } from '../features/surface/surfaceMeta';\nimport { timePickerMeta } from '../features/time-picker/timePickerMeta';\nimport { headingMeta } from '../features/typography/headingMeta';\nimport { textMeta } from '../features/typography/textMeta';\nimport { uploaderMeta } from '../features/uploader/uploaderMeta';\nimport { foundationMetas } from '../foundation/meta';\nimport { appShellMeta } from '../layout/app-shell/meta';\nimport { screenMeta } from '../layout/screen/meta';\nimport { screenSectionMeta } from '../layout/screen-section/meta';\nimport { settingsLayoutMeta } from '../layout/settings-layout/meta';\nimport { sidebarLayoutMeta } from '../layout/sidebar-layout/meta';\nimport { topbarLayoutMeta } from '../layout/topbar-layout/meta';\nimport { chatListItemMeta } from '../patterns/chat-list-item/meta';\nimport { collectionEditorMeta } from '../patterns/collection-editor/meta';\nimport { confirmDialogMeta } from '../patterns/confirm-dialog/meta';\nimport { disclosureSectionMeta } from '../patterns/disclosure-section/meta';\nimport { filterBarMeta } from '../patterns/filter-bar/meta';\nimport { inspectorFieldMeta } from '../patterns/inspector-field/meta';\nimport { listMeta, listRowMeta, listSectionMeta } from '../patterns/list/meta';\nimport { messageBubbleMeta } from '../patterns/message-bubble/meta';\nimport { noticeMeta } from '../patterns/notice/meta';\nimport { panelMeta } from '../patterns/panel/meta';\nimport { readerSurfaceMeta } from '../patterns/reader/meta';\nimport {\n barcodeScannerViewMeta,\n cameraPermissionViewMeta,\n scanOverlayMeta,\n} from '../patterns/scanner/meta';\nimport { sectionHeaderMeta } from '../patterns/section-header/meta';\nimport { selectableItemMeta, selectionProviderMeta } from '../patterns/selection/meta';\nimport { settingsRowMeta } from '../patterns/settings-row/meta';\nimport { switchFieldMeta } from '../patterns/switch-field/meta';\nimport { themeComposerMeta } from '../patterns/theme-composer/meta';\nimport { paletteItemMeta, tileGridMeta } from '../patterns/tile-grid/meta';\nimport { timelineMeta } from '../patterns/timeline/meta';\nimport { treeItemMeta, treeViewMeta } from '../patterns/tree-view/meta';\nimport { themeModeToggleMeta } from '../theme/ThemeModeToggle.meta';\nimport { finalizeFeatureMetadata } from '../utils/finalizeFeatureMetadata';\nimport type { ZoraComponentMetaRegistry } from './types';\n\nexport const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMetadata({\n ...foundationMetas,\n ActivityIndicator: activityIndicatorMeta,\n Box: boxMeta,\n Container: containerMeta,\n Stack: stackMeta,\n Grid: gridMeta,\n Divider: dividerMeta,\n Surface: surfaceMeta,\n AppBar: appBarMeta,\n Avatar: avatarMeta,\n AvatarGroup: avatarGroupMeta,\n Badge: badgeMeta,\n Breadcrumbs: breadcrumbsMeta,\n Button: buttonMeta,\n ButtonGroup: buttonGroupMeta,\n Card: cardMeta,\n Checkbox: checkboxMeta,\n CheckboxGroup: checkboxGroupMeta,\n Chip: chipMeta,\n ChipGroup: chipGroupMeta,\n DataTable: dataTableMeta,\n DatePicker: datePickerMeta,\n DropdownMenu: dropdownMenuMeta,\n Form: formMeta,\n FormActions: formActionsMeta,\n FormError: formErrorMeta,\n FormField: formFieldMeta,\n Gradient: gradientMeta,\n Heading: headingMeta,\n Icon: iconMeta,\n IconButton: iconButtonMeta,\n Image: imageMeta,\n KeyboardAvoidingView: keyboardAvoidingViewMeta,\n TextInput: textInputMeta,\n MediaCard: mediaCardMeta,\n Menu: menuMeta,\n MetricCard: metricCardMeta,\n Modal: modalMeta,\n Pagination: paginationMeta,\n Progress: progressMeta,\n ProgressRing: progressRingMeta,\n Radio: radioMeta,\n RadioGroup: radioGroupMeta,\n Rating: ratingMeta,\n SearchBar: searchBarMeta,\n Select: selectMeta,\n Skeleton: skeletonMeta,\n SkeletonCard: skeletonCardMeta,\n SkeletonList: skeletonListMeta,\n SkeletonText: skeletonTextMeta,\n Tabs: tabsMeta,\n Text: textMeta,\n TimePicker: timePickerMeta,\n Toast: toastMeta,\n ToastProvider: toastProviderMeta,\n Toolbar: toolbarMeta,\n ToolbarAction: toolbarActionMeta,\n Uploader: uploaderMeta,\n BottomSheet: bottomSheetMeta,\n FlatList: flatListMeta,\n SectionList: sectionListMeta,\n ThemeModeToggle: themeModeToggleMeta,\n AppShell: appShellMeta,\n Screen: screenMeta,\n ScreenSection: screenSectionMeta,\n SettingsLayout: settingsLayoutMeta,\n SidebarLayout: sidebarLayoutMeta,\n TopbarLayout: topbarLayoutMeta,\n ForgotPasswordForm: forgotPasswordFormMeta,\n OAuthProviderButton: oauthProviderButtonMeta,\n OAuthProviderList: oauthProviderListMeta,\n OtpForm: otpFormMeta,\n SignInForm: signInFormMeta,\n SignUpForm: signUpFormMeta,\n ChatListItem: chatListItemMeta,\n CollectionEditor: collectionEditorMeta,\n ConfirmDialog: confirmDialogMeta,\n ContentRail: contentRailMeta,\n DisclosureSection: disclosureSectionMeta,\n EmptyState: emptyStateMeta,\n FilterBar: filterBarMeta,\n Hero: heroMeta,\n InspectorField: inspectorFieldMeta,\n List: listMeta,\n ListRow: listRowMeta,\n ListSection: listSectionMeta,\n MessageBubble: messageBubbleMeta,\n MissingElement: missingElementMeta,\n Notice: noticeMeta,\n Panel: panelMeta,\n PostCard: postCardMeta,\n ProductCard: productCardMeta,\n ReaderSurface: readerSurfaceMeta,\n BarcodeScannerView: barcodeScannerViewMeta,\n CameraPermissionView: cameraPermissionViewMeta,\n ScanOverlay: scanOverlayMeta,\n SectionHeader: sectionHeaderMeta,\n SelectableItem: selectableItemMeta,\n SelectionProvider: selectionProviderMeta,\n SettingsRow: settingsRowMeta,\n SwitchField: switchFieldMeta,\n ThemeComposer: themeComposerMeta,\n PaletteItem: paletteItemMeta,\n TileGrid: tileGridMeta,\n Timeline: timelineMeta,\n TreeItem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AAW;IACpB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,cAAc,EAAE,kBAAkB;IAClC,MAAM,EAAE,UAAU;IAClB,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,kBAAkB,EAAE,sBAAsB;IAC1C,oBAAoB,EAAE,wBAAwB;IAC9C,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,cAAc,EAAE,kBAAkB;IAClC,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;CACvB,CAAC,CAAC","sourcesContent":["import { appBarMeta } from '../components/app-bar/meta';\nimport { breadcrumbsMeta } from '../components/breadcrumbs/meta';\nimport { dropdownMenuMeta, menuMeta } from '../components/menu/meta';\nimport { modalMeta } from '../components/modal/meta';\nimport { paginationMeta } from '../components/pagination/meta';\nimport { ratingMeta } from '../components/rating/meta';\nimport { searchBarMeta } from '../components/search-bar/meta';\nimport { selectMeta } from '../components/select/meta';\nimport { tabsMeta } from '../components/tabs/meta';\nimport { toolbarActionMeta, toolbarMeta } from '../components/toolbar/meta';\nimport { accordionItemMeta } from '../features/accordion/accordionItemMeta';\nimport { accordionMeta } from '../features/accordion/accordionMeta';\nimport { activityIndicatorMeta } from '../features/activity-indicator/activityIndicatorMeta';\nimport { forgotPasswordFormMeta } from '../features/auth/forgotPasswordFormMeta';\nimport { oauthProviderButtonMeta } from '../features/auth/oauthProviderButtonMeta';\nimport { oauthProviderListMeta } from '../features/auth/oauthProviderListMeta';\nimport { otpFormMeta } from '../features/auth/otpFormMeta';\nimport { signInFormMeta } from '../features/auth/signInFormMeta';\nimport { signUpFormMeta } from '../features/auth/signUpFormMeta';\nimport { avatarGroupMeta } from '../features/avatar/avatarGroupMeta';\nimport { avatarMeta } from '../features/avatar/avatarMeta';\nimport { badgeMeta } from '../features/badge/badgeMeta';\nimport { bottomSheetMeta } from '../features/bottom-sheet/bottomSheetMeta';\nimport { buttonGroupMeta } from '../features/button/buttonGroupMeta';\nimport { buttonMeta } from '../features/button/buttonMeta';\nimport { iconButtonMeta } from '../features/button/iconButtonMeta';\nimport { cardMeta } from '../features/card/cardMeta';\nimport { mediaCardMeta } from '../features/card/mediaCardMeta';\nimport { metricCardMeta } from '../features/card/metricCardMeta';\nimport { postCardMeta } from '../features/card/postCardMeta';\nimport { productCardMeta } from '../features/card/productCardMeta';\nimport { chipGroupMeta } from '../features/chip/chipGroupMeta';\nimport { chipMeta } from '../features/chip/chipMeta';\nimport { dataTableMeta } from '../features/data-table/dataTableMeta';\nimport { datePickerMeta } from '../features/date-picker/datePickerMeta';\nimport { emptyStateMeta } from '../features/empty-state/emptyStateMeta';\nimport { checkboxGroupMeta, checkboxMeta } from '../features/form/checkbox/checkboxMeta';\nimport { formActionsMeta } from '../features/form/formActionsMeta';\nimport { formErrorMeta } from '../features/form/formErrorMeta';\nimport { formFieldMeta } from '../features/form/formFieldMeta';\nimport { formMeta } from '../features/form/formMeta';\nimport { radioGroupMeta, radioMeta } from '../features/form/radio/radioMeta';\nimport { textInputMeta } from '../features/form/text-input/textInputMeta';\nimport { gradientMeta } from '../features/gradient/gradientMeta';\nimport { heroMeta } from '../features/hero/heroMeta';\nimport { iconMeta } from '../features/icon/iconMeta';\nimport { imageMeta } from '../features/image/imageMeta';\nimport { keyboardAvoidingViewMeta } from '../features/keyboard-avoiding-view/keyboardAvoidingViewMeta';\nimport { boxMeta } from '../features/layout/boxMeta';\nimport { containerMeta } from '../features/layout/containerMeta';\nimport { contentRailMeta } from '../features/layout/contentRailMeta';\nimport { dividerMeta } from '../features/layout/dividerMeta';\nimport { gridMeta } from '../features/layout/gridMeta';\nimport { stackMeta } from '../features/layout/stackMeta';\nimport { flatListMeta } from '../features/list/flatListMeta';\nimport { sectionListMeta } from '../features/list/sectionListMeta';\nimport { missingElementMeta } from '../features/missing-element/missingElementMeta';\nimport { progressMeta, progressRingMeta } from '../features/progress/progressMeta';\nimport {\n skeletonCardMeta,\n skeletonListMeta,\n skeletonMeta,\n skeletonTextMeta,\n} from '../features/skeleton/skeletonMeta';\nimport { surfaceMeta } from '../features/surface/surfaceMeta';\nimport { timePickerMeta } from '../features/time-picker/timePickerMeta';\nimport { toastMeta } from '../features/toast/toastMeta';\nimport { toastProviderMeta } from '../features/toast/toastProviderMeta';\nimport { headingMeta } from '../features/typography/headingMeta';\nimport { textMeta } from '../features/typography/textMeta';\nimport { uploaderMeta } from '../features/uploader/uploaderMeta';\nimport { foundationMetas } from '../foundation/meta';\nimport { appShellMeta } from '../layout/app-shell/meta';\nimport { screenMeta } from '../layout/screen/meta';\nimport { screenSectionMeta } from '../layout/screen-section/meta';\nimport { settingsLayoutMeta } from '../layout/settings-layout/meta';\nimport { sidebarLayoutMeta } from '../layout/sidebar-layout/meta';\nimport { topbarLayoutMeta } from '../layout/topbar-layout/meta';\nimport { chatListItemMeta } from '../patterns/chat-list-item/meta';\nimport { collectionEditorMeta } from '../patterns/collection-editor/meta';\nimport { confirmDialogMeta } from '../patterns/confirm-dialog/meta';\nimport { filterBarMeta } from '../patterns/filter-bar/meta';\nimport { inspectorFieldMeta } from '../patterns/inspector-field/meta';\nimport { listMeta, listRowMeta, listSectionMeta } from '../patterns/list/meta';\nimport { messageBubbleMeta } from '../patterns/message-bubble/meta';\nimport { noticeMeta } from '../patterns/notice/meta';\nimport { panelMeta } from '../patterns/panel/meta';\nimport { readerSurfaceMeta } from '../patterns/reader/meta';\nimport {\n barcodeScannerViewMeta,\n cameraPermissionViewMeta,\n scanOverlayMeta,\n} from '../patterns/scanner/meta';\nimport { sectionHeaderMeta } from '../patterns/section-header/meta';\nimport { selectableItemMeta, selectionProviderMeta } from '../patterns/selection/meta';\nimport { settingsRowMeta } from '../patterns/settings-row/meta';\nimport { switchFieldMeta } from '../patterns/switch-field/meta';\nimport { themeComposerMeta } from '../patterns/theme-composer/meta';\nimport { paletteItemMeta, tileGridMeta } from '../patterns/tile-grid/meta';\nimport { timelineMeta } from '../patterns/timeline/meta';\nimport { treeItemMeta, treeViewMeta } from '../patterns/tree-view/meta';\nimport { themeModeToggleMeta } from '../theme/ThemeModeToggle.meta';\nimport { finalizeFeatureMetadata } from '../utils/finalizeFeatureMetadata';\nimport type { ZoraComponentMetaRegistry } from './types';\n\nexport const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMetadata({\n ...foundationMetas,\n Accordion: accordionMeta,\n AccordionItem: accordionItemMeta,\n ActivityIndicator: activityIndicatorMeta,\n Box: boxMeta,\n Container: containerMeta,\n Stack: stackMeta,\n Grid: gridMeta,\n Divider: dividerMeta,\n Surface: surfaceMeta,\n AppBar: appBarMeta,\n Avatar: avatarMeta,\n AvatarGroup: avatarGroupMeta,\n Badge: badgeMeta,\n Breadcrumbs: breadcrumbsMeta,\n Button: buttonMeta,\n ButtonGroup: buttonGroupMeta,\n Card: cardMeta,\n Checkbox: checkboxMeta,\n CheckboxGroup: checkboxGroupMeta,\n Chip: chipMeta,\n ChipGroup: chipGroupMeta,\n DataTable: dataTableMeta,\n DatePicker: datePickerMeta,\n DropdownMenu: dropdownMenuMeta,\n Form: formMeta,\n FormActions: formActionsMeta,\n FormError: formErrorMeta,\n FormField: formFieldMeta,\n Gradient: gradientMeta,\n Heading: headingMeta,\n Icon: iconMeta,\n IconButton: iconButtonMeta,\n Image: imageMeta,\n KeyboardAvoidingView: keyboardAvoidingViewMeta,\n TextInput: textInputMeta,\n MediaCard: mediaCardMeta,\n Menu: menuMeta,\n MetricCard: metricCardMeta,\n Modal: modalMeta,\n Pagination: paginationMeta,\n Progress: progressMeta,\n ProgressRing: progressRingMeta,\n Radio: radioMeta,\n RadioGroup: radioGroupMeta,\n Rating: ratingMeta,\n SearchBar: searchBarMeta,\n Select: selectMeta,\n Skeleton: skeletonMeta,\n SkeletonCard: skeletonCardMeta,\n SkeletonList: skeletonListMeta,\n SkeletonText: skeletonTextMeta,\n Tabs: tabsMeta,\n Text: textMeta,\n TimePicker: timePickerMeta,\n Toast: toastMeta,\n ToastProvider: toastProviderMeta,\n Toolbar: toolbarMeta,\n ToolbarAction: toolbarActionMeta,\n Uploader: uploaderMeta,\n BottomSheet: bottomSheetMeta,\n FlatList: flatListMeta,\n SectionList: sectionListMeta,\n ThemeModeToggle: themeModeToggleMeta,\n AppShell: appShellMeta,\n Screen: screenMeta,\n ScreenSection: screenSectionMeta,\n SettingsLayout: settingsLayoutMeta,\n SidebarLayout: sidebarLayoutMeta,\n TopbarLayout: topbarLayoutMeta,\n ForgotPasswordForm: forgotPasswordFormMeta,\n OAuthProviderButton: oauthProviderButtonMeta,\n OAuthProviderList: oauthProviderListMeta,\n OtpForm: otpFormMeta,\n SignInForm: signInFormMeta,\n SignUpForm: signUpFormMeta,\n ChatListItem: chatListItemMeta,\n CollectionEditor: collectionEditorMeta,\n ConfirmDialog: confirmDialogMeta,\n ContentRail: contentRailMeta,\n EmptyState: emptyStateMeta,\n FilterBar: filterBarMeta,\n Hero: heroMeta,\n InspectorField: inspectorFieldMeta,\n List: listMeta,\n ListRow: listRowMeta,\n ListSection: listSectionMeta,\n MessageBubble: messageBubbleMeta,\n MissingElement: missingElementMeta,\n Notice: noticeMeta,\n Panel: panelMeta,\n PostCard: postCardMeta,\n ProductCard: productCardMeta,\n ReaderSurface: readerSurfaceMeta,\n BarcodeScannerView: barcodeScannerViewMeta,\n CameraPermissionView: cameraPermissionViewMeta,\n ScanOverlay: scanOverlayMeta,\n SectionHeader: sectionHeaderMeta,\n SelectableItem: selectableItemMeta,\n SelectionProvider: selectionProviderMeta,\n SettingsRow: settingsRowMeta,\n SwitchField: switchFieldMeta,\n ThemeComposer: themeComposerMeta,\n PaletteItem: paletteItemMeta,\n TileGrid: tileGridMeta,\n Timeline: timelineMeta,\n TreeItem: treeItemMeta,\n TreeView: treeViewMeta,\n});\n"]}
@@ -3,7 +3,7 @@ export declare const messageBubbleMeta: {
3
3
  readonly category: "pattern";
4
4
  readonly description: "Chat/message bubble with direction, author, text, meta, and delivery status presentation.";
5
5
  readonly directManifestNode: true;
6
- readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
6
+ readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
7
7
  readonly blueprint: {
8
8
  readonly label: "Message bubble";
9
9
  readonly icon: {
@@ -2,7 +2,7 @@ export declare const noticeMeta: {
2
2
  readonly name: "Notice";
3
3
  readonly category: "pattern";
4
4
  readonly directManifestNode: true;
5
- readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
5
+ readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
6
6
  readonly blueprint: {
7
7
  readonly label: "Notice";
8
8
  readonly defaultProps: {
@@ -2,7 +2,7 @@ export declare const panelMeta: {
2
2
  readonly name: "Panel";
3
3
  readonly category: "pattern";
4
4
  readonly directManifestNode: true;
5
- readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
5
+ readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
6
6
  readonly blueprint: {
7
7
  readonly label: "Panel";
8
8
  readonly defaultProps: {
@@ -125,11 +125,11 @@ export declare const readerSurfaceMeta: {
125
125
  };
126
126
  readonly headerActions: {
127
127
  readonly label: "Header actions";
128
- readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
128
+ readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
129
129
  };
130
130
  readonly footerActions: {
131
131
  readonly label: "Footer actions";
132
- readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
132
+ readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
133
133
  };
134
134
  };
135
135
  readonly props: {
@@ -105,7 +105,7 @@ export declare const barcodeScannerViewMeta: {
105
105
  readonly category: "pattern";
106
106
  readonly description: "Composed scanner shell with permission, camera slot, scan overlay, and manual entry affordance.";
107
107
  readonly directManifestNode: true;
108
- readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
108
+ readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
109
109
  readonly requirements: {
110
110
  readonly permissions: readonly [{
111
111
  readonly permission: "camera";
@@ -145,7 +145,7 @@ export declare const barcodeScannerViewMeta: {
145
145
  };
146
146
  readonly children: {
147
147
  readonly label: "Scanner footer";
148
- readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
148
+ readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
149
149
  };
150
150
  };
151
151
  readonly props: {
@@ -2,14 +2,10 @@ import React from 'react';
2
2
  import type { SelectionProviderProps, UseSelectionResult } from './types';
3
3
  /***
4
4
  * Accesses selection state provided by `SelectionProvider`.
5
- *
6
-
7
5
  */
8
6
  export declare function useSelection(): UseSelectionResult;
9
7
  /***
10
8
  * Provides selection state for building selectable lists and grids.
11
- *
12
-
13
9
  */
14
10
  export declare function SelectionProvider({ children, selectedIds, defaultSelectedIds, mode, disabled, onSelectionChange, interactionPolicy, }: SelectionProviderProps): React.JSX.Element;
15
11
  //# sourceMappingURL=SelectionProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectionProvider.d.ts","sourceRoot":"","sources":["../../../src/patterns/selection/SelectionProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAiB,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAiBzF;;;;GAIG;AACH,wBAAgB,YAAY,IAAI,kBAAkB,CAOjD;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,IAAI,EACJ,QAAQ,EACR,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,sBAAsB,qBAkExB"}
1
+ {"version":3,"file":"SelectionProvider.d.ts","sourceRoot":"","sources":["../../../src/patterns/selection/SelectionProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAiB,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAmBzF;;GAEG;AACH,wBAAgB,YAAY,IAAI,kBAAkB,CAOjD;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,IAAI,EACJ,QAAQ,EACR,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,sBAAsB,qBAkExB"}
@@ -2,19 +2,19 @@ import React from 'react';
2
2
  import { areIdsEqual, clearIds, normalizeIds, selectId, toggleId } from './resolveSelectionNextIds';
3
3
  const MISSING_CONTEXT_MESSAGE = 'ZORA selection context is missing. Wrap this tree in <SelectionProvider>.';
4
4
  const SelectionContext = React.createContext(null);
5
+ /*** Resolve the effective selection mode. */
5
6
  function resolveMode(mode) {
6
7
  return mode ?? 'single';
7
8
  }
9
+ /*** Resolve the effective disabled state. */
8
10
  function resolveDisabled(disabled) {
9
11
  return disabled ?? false;
10
12
  }
11
13
  /***
12
14
  * Accesses selection state provided by `SelectionProvider`.
13
- *
14
-
15
15
  */
16
16
  export function useSelection() {
17
- const value = React.useContext(SelectionContext);
17
+ const value = React.use(SelectionContext);
18
18
  if (!value) {
19
19
  throw new Error(MISSING_CONTEXT_MESSAGE);
20
20
  }
@@ -22,8 +22,6 @@ export function useSelection() {
22
22
  }
23
23
  /***
24
24
  * Provides selection state for building selectable lists and grids.
25
- *
26
-
27
25
  */
28
26
  export function SelectionProvider({ children, selectedIds, defaultSelectedIds, mode, disabled, onSelectionChange, interactionPolicy, }) {
29
27
  const resolvedMode = resolveMode(mode);
@@ -71,6 +69,6 @@ export function SelectionProvider({ children, selectedIds, defaultSelectedIds, m
71
69
  clear,
72
70
  };
73
71
  }, [clear, currentNormalizedIds, resolvedDisabled, resolvedMode, select, selectedIdSet, toggle]);
74
- return <SelectionContext.Provider value={value}>{children}</SelectionContext.Provider>;
72
+ return <SelectionContext value={value}>{children}</SelectionContext>;
75
73
  }
76
74
  //# sourceMappingURL=SelectionProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectionProvider.js","sourceRoot":"","sources":["../../../src/patterns/selection/SelectionProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGpG,MAAM,uBAAuB,GAC3B,2EAA2E,CAAC;AAI9E,MAAM,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAA+B,IAAI,CAAC,CAAC;AAEjF,SAAS,WAAW,CAAC,IAA+B;IAClD,OAAO,IAAI,IAAI,QAAQ,CAAC;AAC1B,CAAC;AAED,SAAS,eAAe,CAAC,QAA6B;IACpD,OAAO,QAAQ,IAAI,KAAK,CAAC;AAC3B,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,YAAY;IAC1B,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;IACjD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,oBAAoB,CAAC,MAAM,GAAG,CAAC;YAC7C,UAAU,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,CAAC;YACjD,MAAM;YACN,MAAM;YACN,KAAK;SACN,CAAC;IACJ,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC;IAEjG,OAAO,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;AACzF,CAAC","sourcesContent":["import React from 'react';\n\nimport { areIdsEqual, clearIds, normalizeIds, selectId, toggleId } from './resolveSelectionNextIds';\nimport type { SelectionMode, SelectionProviderProps, UseSelectionResult } from './types';\n\nconst MISSING_CONTEXT_MESSAGE =\n 'ZORA selection context is missing. Wrap this tree in <SelectionProvider>.';\n\ntype SelectionContextValue = UseSelectionResult;\n\nconst SelectionContext = React.createContext<SelectionContextValue | null>(null);\n\nfunction resolveMode(mode: SelectionMode | undefined): SelectionMode {\n return mode ?? 'single';\n}\n\nfunction resolveDisabled(disabled: boolean | undefined): boolean {\n return disabled ?? false;\n}\n\n/***\n * Accesses selection state provided by `SelectionProvider`.\n *\n \n */\nexport function useSelection(): UseSelectionResult {\n const value = React.useContext(SelectionContext);\n if (!value) {\n throw new Error(MISSING_CONTEXT_MESSAGE);\n }\n\n return value;\n}\n\n/***\n * Provides selection state for building selectable lists and grids.\n *\n \n */\nexport function SelectionProvider({\n children,\n selectedIds,\n defaultSelectedIds,\n mode,\n disabled,\n onSelectionChange,\n interactionPolicy,\n}: SelectionProviderProps) {\n const resolvedMode = resolveMode(mode);\n const resolvedDisabled = resolveDisabled(disabled);\n const isControlled = selectedIds !== undefined;\n\n const [uncontrolledIds, setUncontrolledIds] = React.useState<readonly string[]>(\n defaultSelectedIds ?? [],\n );\n\n const rawIds = isControlled ? selectedIds : uncontrolledIds;\n const currentNormalizedIds = normalizeIds(rawIds, resolvedMode);\n\n const selectedIdSet = React.useMemo(() => new Set(currentNormalizedIds), [currentNormalizedIds]);\n\n const commitSelectionChange = React.useCallback(\n (nextNormalizedIds: readonly string[]) => {\n if (resolvedDisabled) return;\n if (interactionPolicy === 'passive') return;\n if (areIdsEqual(nextNormalizedIds, currentNormalizedIds)) return;\n\n onSelectionChange?.(nextNormalizedIds);\n\n if (!isControlled) {\n setUncontrolledIds(nextNormalizedIds);\n }\n },\n [currentNormalizedIds, interactionPolicy, isControlled, onSelectionChange, resolvedDisabled],\n );\n\n const clear = React.useCallback(() => {\n commitSelectionChange(normalizeIds(clearIds(), resolvedMode));\n }, [commitSelectionChange, resolvedMode]);\n\n const select = React.useCallback(\n (id: string) => {\n const nextIds = selectId({ mode: resolvedMode, ids: currentNormalizedIds, id });\n const nextNormalizedIds = normalizeIds(nextIds, resolvedMode);\n commitSelectionChange(nextNormalizedIds);\n },\n [commitSelectionChange, currentNormalizedIds, resolvedMode],\n );\n\n const toggle = React.useCallback(\n (id: string) => {\n const nextIds = toggleId({ mode: resolvedMode, ids: currentNormalizedIds, id });\n const nextNormalizedIds = normalizeIds(nextIds, resolvedMode);\n commitSelectionChange(nextNormalizedIds);\n },\n [commitSelectionChange, currentNormalizedIds, resolvedMode],\n );\n\n const value = React.useMemo<UseSelectionResult>(() => {\n return {\n mode: resolvedMode,\n disabled: resolvedDisabled,\n selectedIds: currentNormalizedIds,\n selectedCount: currentNormalizedIds.length,\n hasSelection: currentNormalizedIds.length > 0,\n isSelected: (id: string) => selectedIdSet.has(id),\n select,\n toggle,\n clear,\n };\n }, [clear, currentNormalizedIds, resolvedDisabled, resolvedMode, select, selectedIdSet, toggle]);\n\n return <SelectionContext.Provider value={value}>{children}</SelectionContext.Provider>;\n}\n"]}
1
+ {"version":3,"file":"SelectionProvider.js","sourceRoot":"","sources":["../../../src/patterns/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C;IAEF,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,CAC9B,CAAC,EAAU,EAAE,EAAE;QACb,MAAM,OAAO,GAAG,QAAQ,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,EAAE,oBAAoB,EAAE,EAAE,EAAE,CAAC,CAAC;QAChF,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;QAC9D,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;IAC3C,CAAC,EACD,CAAC,qBAAqB,EAAE,oBAAoB,EAAE,YAAY,CAAC,CAC5D,CAAC;IAEF,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAqB,GAAG,EAAE;QACnD,OAAO;YACL,IAAI,EAAE,YAAY;YAClB,QAAQ,EAAE,gBAAgB;YAC1B,WAAW,EAAE,oBAAoB;YACjC,aAAa,EAAE,oBAAoB,CAAC,MAAM;YAC1C,YAAY,EAAE,oBAAoB,CAAC,MAAM,GAAG,CAAC;YAC7C,UAAU,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,CAAC;YACjD,MAAM;YACN,MAAM;YACN,KAAK;SACN,CAAC;IACJ,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC;IAEjG,OAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,CAAC;AACvE,CAAC","sourcesContent":["import React from 'react';\n\nimport { areIdsEqual, clearIds, normalizeIds, selectId, toggleId } from './resolveSelectionNextIds';\nimport type { SelectionMode, SelectionProviderProps, UseSelectionResult } from './types';\n\nconst MISSING_CONTEXT_MESSAGE =\n 'ZORA selection context is missing. Wrap this tree in <SelectionProvider>.';\n\ntype SelectionContextValue = UseSelectionResult;\n\nconst SelectionContext = React.createContext<SelectionContextValue | null>(null);\n\n/*** Resolve the effective selection mode. */\nfunction resolveMode(mode: SelectionMode | undefined): SelectionMode {\n return mode ?? 'single';\n}\n\n/*** Resolve the effective disabled state. */\nfunction resolveDisabled(disabled: boolean | undefined): boolean {\n return disabled ?? false;\n}\n\n/***\n * Accesses selection state provided by `SelectionProvider`.\n */\nexport function useSelection(): UseSelectionResult {\n const value = React.use(SelectionContext);\n if (!value) {\n throw new Error(MISSING_CONTEXT_MESSAGE);\n }\n\n return value;\n}\n\n/***\n * Provides selection state for building selectable lists and grids.\n */\nexport function SelectionProvider({\n children,\n selectedIds,\n defaultSelectedIds,\n mode,\n disabled,\n onSelectionChange,\n interactionPolicy,\n}: SelectionProviderProps) {\n const resolvedMode = resolveMode(mode);\n const resolvedDisabled = resolveDisabled(disabled);\n const isControlled = selectedIds !== undefined;\n\n const [uncontrolledIds, setUncontrolledIds] = React.useState<readonly string[]>(\n defaultSelectedIds ?? [],\n );\n\n const rawIds = isControlled ? selectedIds : uncontrolledIds;\n const currentNormalizedIds = normalizeIds(rawIds, resolvedMode);\n\n const selectedIdSet = React.useMemo(() => new Set(currentNormalizedIds), [currentNormalizedIds]);\n\n const commitSelectionChange = React.useCallback(\n (nextNormalizedIds: readonly string[]) => {\n if (resolvedDisabled) return;\n if (interactionPolicy === 'passive') return;\n if (areIdsEqual(nextNormalizedIds, currentNormalizedIds)) return;\n\n onSelectionChange?.(nextNormalizedIds);\n\n if (!isControlled) {\n setUncontrolledIds(nextNormalizedIds);\n }\n },\n [currentNormalizedIds, interactionPolicy, isControlled, onSelectionChange, resolvedDisabled],\n );\n\n const clear = React.useCallback(() => {\n commitSelectionChange(normalizeIds(clearIds(), resolvedMode));\n }, [commitSelectionChange, resolvedMode]);\n\n const select = React.useCallback(\n (id: string) => {\n const nextIds = selectId({ mode: resolvedMode, ids: currentNormalizedIds, id });\n const nextNormalizedIds = normalizeIds(nextIds, resolvedMode);\n commitSelectionChange(nextNormalizedIds);\n },\n [commitSelectionChange, currentNormalizedIds, resolvedMode],\n );\n\n const toggle = React.useCallback(\n (id: string) => {\n const nextIds = toggleId({ mode: resolvedMode, ids: currentNormalizedIds, id });\n const nextNormalizedIds = normalizeIds(nextIds, resolvedMode);\n commitSelectionChange(nextNormalizedIds);\n },\n [commitSelectionChange, currentNormalizedIds, resolvedMode],\n );\n\n const value = React.useMemo<UseSelectionResult>(() => {\n return {\n mode: resolvedMode,\n disabled: resolvedDisabled,\n selectedIds: currentNormalizedIds,\n selectedCount: currentNormalizedIds.length,\n hasSelection: currentNormalizedIds.length > 0,\n isSelected: (id: string) => selectedIdSet.has(id),\n select,\n toggle,\n clear,\n };\n }, [clear, currentNormalizedIds, resolvedDisabled, resolvedMode, select, selectedIdSet, toggle]);\n\n return <SelectionContext value={value}>{children}</SelectionContext>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwF/B,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AAwIhF,eAAO,MAAM,uBAAuB,EAAE,qBAAgD,CAAC"}
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwF/B,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AAyIhF,eAAO,MAAM,uBAAuB,EAAE,qBAAgD,CAAC"}
package/dist/registry.js CHANGED
@@ -7,8 +7,8 @@ import { Rating } from './components/rating';
7
7
  import { SearchBar } from './components/search-bar';
8
8
  import { Select } from './components/select';
9
9
  import { Tabs } from './components/tabs';
10
- import { Toast } from './components/toast';
11
10
  import { Toolbar, ToolbarAction } from './components/toolbar';
11
+ import { Accordion, AccordionItem } from './features/accordion/public';
12
12
  import { ActivityIndicator } from './features/activity-indicator/public';
13
13
  import { ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, SignInForm, SignUpForm, } from './features/auth/public';
14
14
  import { Avatar } from './features/avatar/public';
@@ -45,6 +45,7 @@ import { Progress, ProgressRing } from './features/progress/public';
45
45
  import { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from './features/skeleton/public';
46
46
  import { Surface } from './features/surface/public';
47
47
  import { TimePicker } from './features/time-picker/public';
48
+ import { Toast } from './features/toast/public';
48
49
  import { Heading } from './features/typography/public';
49
50
  import { Text } from './features/typography/public';
50
51
  import { Uploader } from './features/uploader/public';
@@ -58,7 +59,6 @@ import { TopbarLayout } from './layout/topbar-layout';
58
59
  import { ChatListItem } from './patterns/chat-list-item';
59
60
  import { CollectionEditor } from './patterns/collection-editor';
60
61
  import { ConfirmDialog } from './patterns/confirm-dialog';
61
- import { DisclosureSection } from './patterns/disclosure-section';
62
62
  import { FilterBar } from './patterns/filter-bar';
63
63
  import { InspectorField } from './patterns/inspector-field';
64
64
  import { List, ListRow, ListSection } from './patterns/list';
@@ -77,6 +77,8 @@ import { Timeline } from './patterns/timeline';
77
77
  import { TreeItem, TreeView } from './patterns/tree-view';
78
78
  import { ThemeModeToggle } from './theme/ThemeModeToggle';
79
79
  const _ZORA_COMPONENT_REGISTRY = {
80
+ Accordion,
81
+ AccordionItem,
80
82
  ActivityIndicator,
81
83
  AppBar,
82
84
  Avatar,
@@ -157,7 +159,6 @@ const _ZORA_COMPONENT_REGISTRY = {
157
159
  CollectionEditor,
158
160
  ConfirmDialog,
159
161
  ContentRail,
160
- DisclosureSection,
161
162
  EmptyState,
162
163
  FilterBar,
163
164
  Hero,
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MA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,QAAQ;IACR,WAAW;IACX,QAAQ;IACR,WAAW;IACX,eAAe;IACf,GAAG;IACH,MAAM;IACN,SAAS;IACT,OAAO;IACP,IAAI;IACJ,MAAM;IACN,IAAI;IACJ,MAAM;IACN,KAAK;IACL,OAAO;IACP,QAAQ;IACR,MAAM;IACN,aAAa;IACb,cAAc;IACd,aAAa;IACb,YAAY;IACZ,kBAAkB;IAClB,mBAAmB;IACnB,iBAAiB;IACjB,OAAO;IACP,UAAU;IACV,UAAU;IACV,YAAY;IACZ,gBAAgB;IAChB,aAAa;IACb,WAAW;IACX,iBAAiB;IACjB,UAAU;IACV,SAAS;IACT,IAAI;IACJ,cAAc;IACd,IAAI;IACJ,OAAO;IACP,WAAW;IACX,aAAa;IACb,cAAc;IACd,MAAM;IACN,KAAK;IACL,QAAQ;IACR,WAAW;IACX,aAAa;IACb,kBAAkB;IAClB,oBAAoB;IACpB,WAAW;IACX,aAAa;IACb,cAAc;IACd,WAAW;IACX,WAAW;IACX,aAAa;IACb,WAAW;IACX,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,QAAQ;CACgC,CAAC;AAE3C,MAAM,CAAC,MAAM,uBAAuB,GAA0B,wBAAwB,CAAC","sourcesContent":["import type { InteractionPolicyProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport { AppBar } from './components/app-bar';\nimport { Breadcrumbs } from './components/breadcrumbs';\nimport { DropdownMenu, Menu } from './components/menu';\nimport { Modal } from './components/modal';\nimport { Pagination } from './components/pagination';\nimport { Rating } from './components/rating';\nimport { SearchBar } from './components/search-bar';\nimport { Select } from './components/select';\nimport { Tabs } from './components/tabs';\nimport { Toast } from './components/toast';\nimport { Toolbar, ToolbarAction } from './components/toolbar';\nimport { ActivityIndicator } from './features/activity-indicator/public';\nimport {\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nimport { Avatar } from './features/avatar/public';\nimport { AvatarGroup } from './features/avatar/public';\nimport { Badge } from './features/badge/public';\nimport { BottomSheet } from './features/bottom-sheet/public';\nimport { Button } from './features/button/public';\nimport { ButtonGroup } from './features/button/public';\nimport { IconButton } from './features/button/public';\nimport { Card } from './features/card/public';\nimport { MediaCard } from './features/card/public';\nimport { MetricCard } from './features/card/public';\nimport { PostCard } from './features/card/public';\nimport { ProductCard } from './features/card/public';\nimport { Chip } from './features/chip/public';\nimport { ChipGroup } from './features/chip/public';\nimport { DataTable } from './features/data-table/public';\nimport { DatePicker } from './features/date-picker/public';\nimport { EmptyState } from './features/empty-state/public';\nimport { Checkbox, CheckboxGroup } from './features/form/checkbox/public';\nimport { Form, FormActions, FormError, FormField } from './features/form/public';\nimport { Radio, RadioGroup } from './features/form/radio/public';\nimport { TextInput } from './features/form/text-input/public';\nimport { Gradient } from './features/gradient/public';\nimport { Hero } from './features/hero/public';\nimport { Icon } from './features/icon/public';\nimport { Image } from './features/image/public';\nimport { KeyboardAvoidingView } from './features/keyboard-avoiding-view/public';\nimport { Box, Container, Divider, Grid, Stack } from './features/layout/public';\nimport { ContentRail } from './features/layout/public';\nimport { FlatList, SectionList } from './features/list/public';\nimport { MissingElement } from './features/missing-element/public';\nimport { Progress, ProgressRing } from './features/progress/public';\nimport { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from './features/skeleton/public';\nimport { Surface } from './features/surface/public';\nimport { TimePicker } from './features/time-picker/public';\nimport { Heading } from './features/typography/public';\nimport { Text } from './features/typography/public';\nimport { Uploader } from './features/uploader/public';\nimport { Center, Inline, Show, Spacer } from './foundation';\nimport { AppShell } from './layout/app-shell';\nimport { Screen } from './layout/screen';\nimport { ScreenSection } from './layout/screen-section';\nimport { SettingsLayout } from './layout/settings-layout';\nimport { SidebarLayout } from './layout/sidebar-layout';\nimport { TopbarLayout } from './layout/topbar-layout';\nimport { ChatListItem } from './patterns/chat-list-item';\nimport { CollectionEditor } from './patterns/collection-editor';\nimport { ConfirmDialog } from './patterns/confirm-dialog';\nimport { DisclosureSection } from './patterns/disclosure-section';\nimport { FilterBar } from './patterns/filter-bar';\nimport { InspectorField } from './patterns/inspector-field';\nimport { List, ListRow, ListSection } from './patterns/list';\nimport { MessageBubble } from './patterns/message-bubble';\nimport { Notice } from './patterns/notice';\nimport { Panel } from './patterns/panel';\nimport { ReaderSurface } from './patterns/reader';\nimport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './patterns/scanner';\nimport { SectionHeader } from './patterns/section-header';\nimport { SelectableItem } from './patterns/selection';\nimport { SettingsRow } from './patterns/settings-row';\nimport { SwitchField } from './patterns/switch-field';\nimport { ThemeComposer } from './patterns/theme-composer';\nimport { PaletteItem, TileGrid } from './patterns/tile-grid';\nimport { Timeline } from './patterns/timeline';\nimport { TreeItem, TreeView } from './patterns/tree-view';\nimport { ThemeModeToggle } from './theme/ThemeModeToggle';\n\nexport type ZoraComponentRegistry = Readonly<Record<string, React.ElementType>>;\n\ntype ComponentPropsFor<K extends keyof typeof _ZORA_COMPONENT_REGISTRY> = React.ComponentProps<\n (typeof _ZORA_COMPONENT_REGISTRY)[K]\n>;\n\ntype AcceptsSurfaceInteractionPolicyProps<P> = 'interactionPolicy' extends keyof P\n ? InteractionPolicyProps extends Pick<P, 'interactionPolicy'>\n ? Pick<P, 'interactionPolicy'> extends InteractionPolicyProps\n ? true\n : false\n : false\n : false;\n\ntype RegistryInteractionPolicyContract = {\n [K in keyof typeof _ZORA_COMPONENT_REGISTRY]: AcceptsSurfaceInteractionPolicyProps<\n ComponentPropsFor<K>\n >;\n};\n\ntype _AssertTrue<T extends true> = T;\ntype _RegistryInteractionPolicyCheck = _AssertTrue<\n RegistryInteractionPolicyContract[keyof typeof _ZORA_COMPONENT_REGISTRY]\n>;\n\nconst _ZORA_COMPONENT_REGISTRY = {\n ActivityIndicator,\n AppBar,\n Avatar,\n AvatarGroup,\n Badge,\n Breadcrumbs,\n Button,\n ButtonGroup,\n Card,\n Checkbox,\n CheckboxGroup,\n Chip,\n ChipGroup,\n DataTable,\n DatePicker,\n DropdownMenu,\n Form,\n FormActions,\n FormError,\n FormField,\n Gradient,\n Heading,\n Icon,\n IconButton,\n Image,\n KeyboardAvoidingView,\n TextInput,\n MediaCard,\n Menu,\n MetricCard,\n Modal,\n Pagination,\n Progress,\n ProgressRing,\n Radio,\n RadioGroup,\n Rating,\n SearchBar,\n Select,\n Skeleton,\n SkeletonCard,\n SkeletonList,\n SkeletonText,\n Tabs,\n Text,\n TimePicker,\n Toast,\n Toolbar,\n ToolbarAction,\n Uploader,\n BottomSheet,\n FlatList,\n SectionList,\n ThemeModeToggle,\n Box,\n Center,\n Container,\n Divider,\n Grid,\n Inline,\n Show,\n Spacer,\n Stack,\n Surface,\n AppShell,\n Screen,\n ScreenSection,\n SettingsLayout,\n SidebarLayout,\n TopbarLayout,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n ChatListItem,\n CollectionEditor,\n ConfirmDialog,\n ContentRail,\n DisclosureSection,\n EmptyState,\n FilterBar,\n Hero,\n InspectorField,\n List,\n ListRow,\n ListSection,\n MessageBubble,\n MissingElement,\n Notice,\n Panel,\n PostCard,\n ProductCard,\n ReaderSurface,\n BarcodeScannerView,\n CameraPermissionView,\n ScanOverlay,\n SectionHeader,\n SelectableItem,\n SettingsRow,\n SwitchField,\n ThemeComposer,\n PaletteItem,\n TileGrid,\n Timeline,\n TreeItem,\n TreeView,\n} as const satisfies ZoraComponentRegistry;\n\nexport const ZORA_COMPONENT_REGISTRY: ZoraComponentRegistry = _ZORA_COMPONENT_REGISTRY;\n"]}
1
+ {"version":3,"file":"registry.js","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE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IACN,IAAI;IACJ,MAAM;IACN,KAAK;IACL,OAAO;IACP,QAAQ;IACR,MAAM;IACN,aAAa;IACb,cAAc;IACd,aAAa;IACb,YAAY;IACZ,kBAAkB;IAClB,mBAAmB;IACnB,iBAAiB;IACjB,OAAO;IACP,UAAU;IACV,UAAU;IACV,YAAY;IACZ,gBAAgB;IAChB,aAAa;IACb,WAAW;IACX,UAAU;IACV,SAAS;IACT,IAAI;IACJ,cAAc;IACd,IAAI;IACJ,OAAO;IACP,WAAW;IACX,aAAa;IACb,cAAc;IACd,MAAM;IACN,KAAK;IACL,QAAQ;IACR,WAAW;IACX,aAAa;IACb,kBAAkB;IAClB,oBAAoB;IACpB,WAAW;IACX,aAAa;IACb,cAAc;IACd,WAAW;IACX,WAAW;IACX,aAAa;IACb,WAAW;IACX,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,QAAQ;CACgC,CAAC;AAE3C,MAAM,CAAC,MAAM,uBAAuB,GAA0B,wBAAwB,CAAC","sourcesContent":["import type { InteractionPolicyProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport { AppBar } from './components/app-bar';\nimport { Breadcrumbs } from './components/breadcrumbs';\nimport { DropdownMenu, Menu } from './components/menu';\nimport { Modal } from './components/modal';\nimport { Pagination } from './components/pagination';\nimport { Rating } from './components/rating';\nimport { SearchBar } from './components/search-bar';\nimport { Select } from './components/select';\nimport { Tabs } from './components/tabs';\nimport { Toolbar, ToolbarAction } from './components/toolbar';\nimport { Accordion, AccordionItem } from './features/accordion/public';\nimport { ActivityIndicator } from './features/activity-indicator/public';\nimport {\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nimport { Avatar } from './features/avatar/public';\nimport { AvatarGroup } from './features/avatar/public';\nimport { Badge } from './features/badge/public';\nimport { BottomSheet } from './features/bottom-sheet/public';\nimport { Button } from './features/button/public';\nimport { ButtonGroup } from './features/button/public';\nimport { IconButton } from './features/button/public';\nimport { Card } from './features/card/public';\nimport { MediaCard } from './features/card/public';\nimport { MetricCard } from './features/card/public';\nimport { PostCard } from './features/card/public';\nimport { ProductCard } from './features/card/public';\nimport { Chip } from './features/chip/public';\nimport { ChipGroup } from './features/chip/public';\nimport { DataTable } from './features/data-table/public';\nimport { DatePicker } from './features/date-picker/public';\nimport { EmptyState } from './features/empty-state/public';\nimport { Checkbox, CheckboxGroup } from './features/form/checkbox/public';\nimport { Form, FormActions, FormError, FormField } from './features/form/public';\nimport { Radio, RadioGroup } from './features/form/radio/public';\nimport { TextInput } from './features/form/text-input/public';\nimport { Gradient } from './features/gradient/public';\nimport { Hero } from './features/hero/public';\nimport { Icon } from './features/icon/public';\nimport { Image } from './features/image/public';\nimport { KeyboardAvoidingView } from './features/keyboard-avoiding-view/public';\nimport { Box, Container, Divider, Grid, Stack } from './features/layout/public';\nimport { ContentRail } from './features/layout/public';\nimport { FlatList, SectionList } from './features/list/public';\nimport { MissingElement } from './features/missing-element/public';\nimport { Progress, ProgressRing } from './features/progress/public';\nimport { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from './features/skeleton/public';\nimport { Surface } from './features/surface/public';\nimport { TimePicker } from './features/time-picker/public';\nimport { Toast } from './features/toast/public';\nimport { Heading } from './features/typography/public';\nimport { Text } from './features/typography/public';\nimport { Uploader } from './features/uploader/public';\nimport { Center, Inline, Show, Spacer } from './foundation';\nimport { AppShell } from './layout/app-shell';\nimport { Screen } from './layout/screen';\nimport { ScreenSection } from './layout/screen-section';\nimport { SettingsLayout } from './layout/settings-layout';\nimport { SidebarLayout } from './layout/sidebar-layout';\nimport { TopbarLayout } from './layout/topbar-layout';\nimport { ChatListItem } from './patterns/chat-list-item';\nimport { CollectionEditor } from './patterns/collection-editor';\nimport { ConfirmDialog } from './patterns/confirm-dialog';\nimport { FilterBar } from './patterns/filter-bar';\nimport { InspectorField } from './patterns/inspector-field';\nimport { List, ListRow, ListSection } from './patterns/list';\nimport { MessageBubble } from './patterns/message-bubble';\nimport { Notice } from './patterns/notice';\nimport { Panel } from './patterns/panel';\nimport { ReaderSurface } from './patterns/reader';\nimport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './patterns/scanner';\nimport { SectionHeader } from './patterns/section-header';\nimport { SelectableItem } from './patterns/selection';\nimport { SettingsRow } from './patterns/settings-row';\nimport { SwitchField } from './patterns/switch-field';\nimport { ThemeComposer } from './patterns/theme-composer';\nimport { PaletteItem, TileGrid } from './patterns/tile-grid';\nimport { Timeline } from './patterns/timeline';\nimport { TreeItem, TreeView } from './patterns/tree-view';\nimport { ThemeModeToggle } from './theme/ThemeModeToggle';\n\nexport type ZoraComponentRegistry = Readonly<Record<string, React.ElementType>>;\n\ntype ComponentPropsFor<K extends keyof typeof _ZORA_COMPONENT_REGISTRY> = React.ComponentProps<\n (typeof _ZORA_COMPONENT_REGISTRY)[K]\n>;\n\ntype AcceptsSurfaceInteractionPolicyProps<P> = 'interactionPolicy' extends keyof P\n ? InteractionPolicyProps extends Pick<P, 'interactionPolicy'>\n ? Pick<P, 'interactionPolicy'> extends InteractionPolicyProps\n ? true\n : false\n : false\n : false;\n\ntype RegistryInteractionPolicyContract = {\n [K in keyof typeof _ZORA_COMPONENT_REGISTRY]: AcceptsSurfaceInteractionPolicyProps<\n ComponentPropsFor<K>\n >;\n};\n\ntype _AssertTrue<T extends true> = T;\ntype _RegistryInteractionPolicyCheck = _AssertTrue<\n RegistryInteractionPolicyContract[keyof typeof _ZORA_COMPONENT_REGISTRY]\n>;\n\nconst _ZORA_COMPONENT_REGISTRY = {\n Accordion,\n AccordionItem,\n ActivityIndicator,\n AppBar,\n Avatar,\n AvatarGroup,\n Badge,\n Breadcrumbs,\n Button,\n ButtonGroup,\n Card,\n Checkbox,\n CheckboxGroup,\n Chip,\n ChipGroup,\n DataTable,\n DatePicker,\n DropdownMenu,\n Form,\n FormActions,\n FormError,\n FormField,\n Gradient,\n Heading,\n Icon,\n IconButton,\n Image,\n KeyboardAvoidingView,\n TextInput,\n MediaCard,\n Menu,\n MetricCard,\n Modal,\n Pagination,\n Progress,\n ProgressRing,\n Radio,\n RadioGroup,\n Rating,\n SearchBar,\n Select,\n Skeleton,\n SkeletonCard,\n SkeletonList,\n SkeletonText,\n Tabs,\n Text,\n TimePicker,\n Toast,\n Toolbar,\n ToolbarAction,\n Uploader,\n BottomSheet,\n FlatList,\n SectionList,\n ThemeModeToggle,\n Box,\n Center,\n Container,\n Divider,\n Grid,\n Inline,\n Show,\n Spacer,\n Stack,\n Surface,\n AppShell,\n Screen,\n ScreenSection,\n SettingsLayout,\n SidebarLayout,\n TopbarLayout,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n ChatListItem,\n CollectionEditor,\n ConfirmDialog,\n ContentRail,\n EmptyState,\n FilterBar,\n Hero,\n InspectorField,\n List,\n ListRow,\n ListSection,\n MessageBubble,\n MissingElement,\n Notice,\n Panel,\n PostCard,\n ProductCard,\n ReaderSurface,\n BarcodeScannerView,\n CameraPermissionView,\n ScanOverlay,\n SectionHeader,\n SelectableItem,\n SettingsRow,\n SwitchField,\n ThemeComposer,\n PaletteItem,\n TileGrid,\n Timeline,\n TreeItem,\n TreeView,\n} as const satisfies ZoraComponentRegistry;\n\nexport const ZORA_COMPONENT_REGISTRY: ZoraComponentRegistry = _ZORA_COMPONENT_REGISTRY;\n"]}
@@ -1,12 +1,6 @@
1
- import type { ThemeConfig } from '@ankhorage/contracts';
2
1
  import React from 'react';
3
- import type { ZoraTheme, ZoraThemeMode } from './types';
4
- export interface ZoraProviderProps {
5
- children: React.ReactNode;
6
- theme?: ZoraTheme;
7
- themeConfig?: ThemeConfig;
8
- initialMode?: ZoraThemeMode;
9
- }
10
- /** Installs the ZORA theme runtime, Surface theme, and shared bottom-sheet controller. */
11
- export declare function ZoraProvider({ children, theme, themeConfig, initialMode, }: ZoraProviderProps): React.JSX.Element;
2
+ import type { ZoraProviderProps } from '../types/provider';
3
+ export type { ZoraProviderProps, ZoraToastCapability } from '../types/provider';
4
+ /*** Installs the core ZORA theme runtime and explicitly enabled optional capabilities. */
5
+ export declare function ZoraProvider({ bottomSheet, children, theme, themeConfig, initialMode, toast, }: ZoraProviderProps): React.JSX.Element;
12
6
  //# sourceMappingURL=ZoraProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ZoraProvider.d.ts","sourceRoot":"","sources":["../../src/theme/ZoraProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAIxD,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;CAC7B;AAED,0FAA0F;AAC1F,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,KAAwB,EACxB,WAAW,EACX,WAAqB,GACtB,EAAE,iBAAiB,qBAcnB"}
1
+ {"version":3,"file":"ZoraProvider.d.ts","sourceRoot":"","sources":["../../src/theme/ZoraProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAM3D,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,0FAA0F;AAC1F,wBAAgB,YAAY,CAAC,EAC3B,WAAmB,EACnB,QAAQ,EACR,KAAwB,EACxB,WAAW,EACX,WAAqB,EACrB,KAAa,GACd,EAAE,iBAAiB,qBAgBnB"}
@@ -1,17 +1,19 @@
1
1
  import { ThemeProvider } from '@ankhorage/surface';
2
- import { BottomSheetProvider } from '@ankhorage/surface/bottom-sheet';
3
2
  import React from 'react';
4
3
  import { createZoraThemeConfig } from './createZoraThemeConfig';
5
4
  import { zoraDefaultTheme } from './zoraDefaultTheme';
5
+ import { ZoraRuntimeCapabilities } from './ZoraRuntimeCapabilities';
6
6
  import { ZoraThemeRuntimeContext } from './ZoraThemeRuntimeContext';
7
- /** Installs the ZORA theme runtime, Surface theme, and shared bottom-sheet controller. */
8
- export function ZoraProvider({ children, theme = zoraDefaultTheme, themeConfig, initialMode = 'light', }) {
7
+ /*** Installs the core ZORA theme runtime and explicitly enabled optional capabilities. */
8
+ export function ZoraProvider({ bottomSheet = false, children, theme = zoraDefaultTheme, themeConfig, initialMode = 'light', toast = false, }) {
9
9
  const resolvedConfig = React.useMemo(() => themeConfig ?? createZoraThemeConfig(theme), [theme, themeConfig]);
10
10
  const runtimeValue = React.useMemo(() => ({ themeId: resolvedConfig.id }), [resolvedConfig.id]);
11
- return (<ZoraThemeRuntimeContext.Provider value={runtimeValue}>
11
+ return (<ZoraThemeRuntimeContext value={runtimeValue}>
12
12
  <ThemeProvider initialConfig={resolvedConfig} initialMode={initialMode}>
13
- <BottomSheetProvider>{children}</BottomSheetProvider>
13
+ <ZoraRuntimeCapabilities bottomSheet={bottomSheet} toast={toast}>
14
+ {children}
15
+ </ZoraRuntimeCapabilities>
14
16
  </ThemeProvider>
15
- </ZoraThemeRuntimeContext.Provider>);
17
+ </ZoraThemeRuntimeContext>);
16
18
  }
17
19
  //# sourceMappingURL=ZoraProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ZoraProvider.js","sourceRoot":"","sources":["../../src/theme/ZoraProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AASpE,0FAA0F;AAC1F,MAAM,UAAU,YAAY,CAAC,EAC3B,QAAQ,EACR,KAAK,GAAG,gBAAgB,EACxB,WAAW,EACX,WAAW,GAAG,OAAO,GACH;IAClB,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAClC,GAAG,EAAE,CAAC,WAAW,IAAI,qBAAqB,CAAC,KAAK,CAAC,EACjD,CAAC,KAAK,EAAE,WAAW,CAAC,CACrB,CAAC;IACF,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,cAAc,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC;IAEhG,OAAO,CACL,CAAC,uBAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CACpD;MAAA,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,cAAc,CAAC,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CACrE;QAAA,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC,EAAE,mBAAmB,CACtD;MAAA,EAAE,aAAa,CACjB;IAAA,EAAE,uBAAuB,CAAC,QAAQ,CAAC,CACpC,CAAC;AACJ,CAAC","sourcesContent":["import type { ThemeConfig } from '@ankhorage/contracts';\nimport { ThemeProvider } from '@ankhorage/surface';\nimport { BottomSheetProvider } from '@ankhorage/surface/bottom-sheet';\nimport React from 'react';\n\nimport { createZoraThemeConfig } from './createZoraThemeConfig';\nimport type { ZoraTheme, ZoraThemeMode } from './types';\nimport { zoraDefaultTheme } from './zoraDefaultTheme';\nimport { ZoraThemeRuntimeContext } from './ZoraThemeRuntimeContext';\n\nexport interface ZoraProviderProps {\n children: React.ReactNode;\n theme?: ZoraTheme;\n themeConfig?: ThemeConfig;\n initialMode?: ZoraThemeMode;\n}\n\n/** Installs the ZORA theme runtime, Surface theme, and shared bottom-sheet controller. */\nexport function ZoraProvider({\n children,\n theme = zoraDefaultTheme,\n themeConfig,\n initialMode = 'light',\n}: ZoraProviderProps) {\n const resolvedConfig = React.useMemo(\n () => themeConfig ?? createZoraThemeConfig(theme),\n [theme, themeConfig],\n );\n const runtimeValue = React.useMemo(() => ({ themeId: resolvedConfig.id }), [resolvedConfig.id]);\n\n return (\n <ZoraThemeRuntimeContext.Provider value={runtimeValue}>\n <ThemeProvider initialConfig={resolvedConfig} initialMode={initialMode}>\n <BottomSheetProvider>{children}</BottomSheetProvider>\n </ThemeProvider>\n </ZoraThemeRuntimeContext.Provider>\n );\n}\n"]}
1
+ {"version":3,"file":"ZoraProvider.js","sourceRoot":"","sources":["../../src/theme/ZoraProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAIpE,0FAA0F;AAC1F,MAAM,UAAU,YAAY,CAAC,EAC3B,WAAW,GAAG,KAAK,EACnB,QAAQ,EACR,KAAK,GAAG,gBAAgB,EACxB,WAAW,EACX,WAAW,GAAG,OAAO,EACrB,KAAK,GAAG,KAAK,GACK;IAClB,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAClC,GAAG,EAAE,CAAC,WAAW,IAAI,qBAAqB,CAAC,KAAK,CAAC,EACjD,CAAC,KAAK,EAAE,WAAW,CAAC,CACrB,CAAC;IACF,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,cAAc,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC;IAEhG,OAAO,CACL,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAC3C;MAAA,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,cAAc,CAAC,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CACrE;QAAA,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAC9D;UAAA,CAAC,QAAQ,CACX;QAAA,EAAE,uBAAuB,CAC3B;MAAA,EAAE,aAAa,CACjB;IAAA,EAAE,uBAAuB,CAAC,CAC3B,CAAC;AACJ,CAAC","sourcesContent":["import { ThemeProvider } from '@ankhorage/surface';\nimport React from 'react';\n\nimport type { ZoraProviderProps } from '../types/provider';\nimport { createZoraThemeConfig } from './createZoraThemeConfig';\nimport { zoraDefaultTheme } from './zoraDefaultTheme';\nimport { ZoraRuntimeCapabilities } from './ZoraRuntimeCapabilities';\nimport { ZoraThemeRuntimeContext } from './ZoraThemeRuntimeContext';\n\nexport type { ZoraProviderProps, ZoraToastCapability } from '../types/provider';\n\n/*** Installs the core ZORA theme runtime and explicitly enabled optional capabilities. */\nexport function ZoraProvider({\n bottomSheet = false,\n children,\n theme = zoraDefaultTheme,\n themeConfig,\n initialMode = 'light',\n toast = false,\n}: ZoraProviderProps) {\n const resolvedConfig = React.useMemo(\n () => themeConfig ?? createZoraThemeConfig(theme),\n [theme, themeConfig],\n );\n const runtimeValue = React.useMemo(() => ({ themeId: resolvedConfig.id }), [resolvedConfig.id]);\n\n return (\n <ZoraThemeRuntimeContext value={runtimeValue}>\n <ThemeProvider initialConfig={resolvedConfig} initialMode={initialMode}>\n <ZoraRuntimeCapabilities bottomSheet={bottomSheet} toast={toast}>\n {children}\n </ZoraRuntimeCapabilities>\n </ThemeProvider>\n </ZoraThemeRuntimeContext>\n );\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export { ZoraRuntimeCapabilities } from './ZoraRuntimeCapabilities.web';
2
+ //# sourceMappingURL=ZoraRuntimeCapabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoraRuntimeCapabilities.d.ts","sourceRoot":"","sources":["../../src/theme/ZoraRuntimeCapabilities.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ZoraRuntimeCapabilities } from './ZoraRuntimeCapabilities.web';
2
+ //# sourceMappingURL=ZoraRuntimeCapabilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoraRuntimeCapabilities.js","sourceRoot":"","sources":["../../src/theme/ZoraRuntimeCapabilities.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC","sourcesContent":["export { ZoraRuntimeCapabilities } from './ZoraRuntimeCapabilities.web';\n"]}
@@ -0,0 +1,4 @@
1
+ import type { ZoraRuntimeCapabilitiesProps } from '../types/provider';
2
+ /*** Installs optional native runtime capabilities without forcing unused hosts. */
3
+ export declare function ZoraRuntimeCapabilities({ bottomSheet, children, toast, }: ZoraRuntimeCapabilitiesProps): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
4
+ //# sourceMappingURL=ZoraRuntimeCapabilities.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoraRuntimeCapabilities.native.d.ts","sourceRoot":"","sources":["../../src/theme/ZoraRuntimeCapabilities.native.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEtE,mFAAmF;AACnF,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,EACX,QAAQ,EACR,KAAK,GACN,EAAE,4BAA4B,+VAQ9B"}
@@ -0,0 +1,8 @@
1
+ import { ToastProvider as SurfaceToastProvider } from '@ankhorage/surface';
2
+ import { BottomSheetProvider } from '@ankhorage/surface/bottom-sheet';
3
+ /*** Installs optional native runtime capabilities without forcing unused hosts. */
4
+ export function ZoraRuntimeCapabilities({ bottomSheet, children, toast, }) {
5
+ const toastContent = toast ? (<SurfaceToastProvider {...(toast === true ? {} : toast)}>{children}</SurfaceToastProvider>) : (children);
6
+ return bottomSheet ? <BottomSheetProvider>{toastContent}</BottomSheetProvider> : toastContent;
7
+ }
8
+ //# sourceMappingURL=ZoraRuntimeCapabilities.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoraRuntimeCapabilities.native.js","sourceRoot":"","sources":["../../src/theme/ZoraRuntimeCapabilities.native.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAItE,mFAAmF;AACnF,MAAM,UAAU,uBAAuB,CAAC,EACtC,WAAW,EACX,QAAQ,EACR,KAAK,GACwB;IAC7B,MAAM,YAAY,GAAG,KAAK,CAAC,CAAC,CAAC,CAC3B,CAAC,oBAAoB,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAC,CAC3F,CAAC,CAAC,CAAC,CACF,QAAQ,CACT,CAAC;IAEF,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,YAAY,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC;AAChG,CAAC","sourcesContent":["import { ToastProvider as SurfaceToastProvider } from '@ankhorage/surface';\nimport { BottomSheetProvider } from '@ankhorage/surface/bottom-sheet';\n\nimport type { ZoraRuntimeCapabilitiesProps } from '../types/provider';\n\n/*** Installs optional native runtime capabilities without forcing unused hosts. */\nexport function ZoraRuntimeCapabilities({\n bottomSheet,\n children,\n toast,\n}: ZoraRuntimeCapabilitiesProps) {\n const toastContent = toast ? (\n <SurfaceToastProvider {...(toast === true ? {} : toast)}>{children}</SurfaceToastProvider>\n ) : (\n children\n );\n\n return bottomSheet ? <BottomSheetProvider>{toastContent}</BottomSheetProvider> : toastContent;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ import type { ZoraRuntimeCapabilitiesProps } from '../types/provider';
2
+ /*** Installs only web-relevant optional runtime capabilities. */
3
+ export declare function ZoraRuntimeCapabilities({ children, toast }: ZoraRuntimeCapabilitiesProps): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
4
+ //# sourceMappingURL=ZoraRuntimeCapabilities.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoraRuntimeCapabilities.web.d.ts","sourceRoot":"","sources":["../../src/theme/ZoraRuntimeCapabilities.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEtE,iEAAiE;AACjE,wBAAgB,uBAAuB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,4BAA4B,+VAIxF"}
@@ -0,0 +1,8 @@
1
+ import { ToastProvider as SurfaceToastProvider } from '@ankhorage/surface';
2
+ /*** Installs only web-relevant optional runtime capabilities. */
3
+ export function ZoraRuntimeCapabilities({ children, toast }) {
4
+ if (!toast)
5
+ return children;
6
+ return <SurfaceToastProvider {...(toast === true ? {} : toast)}>{children}</SurfaceToastProvider>;
7
+ }
8
+ //# sourceMappingURL=ZoraRuntimeCapabilities.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoraRuntimeCapabilities.web.js","sourceRoot":"","sources":["../../src/theme/ZoraRuntimeCapabilities.web.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAI3E,iEAAiE;AACjE,MAAM,UAAU,uBAAuB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAgC;IACvF,IAAI,CAAC,KAAK;QAAE,OAAO,QAAQ,CAAC;IAE5B,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAC,CAAC;AACpG,CAAC","sourcesContent":["import { ToastProvider as SurfaceToastProvider } from '@ankhorage/surface';\n\nimport type { ZoraRuntimeCapabilitiesProps } from '../types/provider';\n\n/*** Installs only web-relevant optional runtime capabilities. */\nexport function ZoraRuntimeCapabilities({ children, toast }: ZoraRuntimeCapabilitiesProps) {\n if (!toast) return children;\n\n return <SurfaceToastProvider {...(toast === true ? {} : toast)}>{children}</SurfaceToastProvider>;\n}\n"]}
@@ -3,6 +3,7 @@ interface ZoraThemeRuntime {
3
3
  themeId: ZoraThemeId;
4
4
  }
5
5
  export declare const ZoraThemeRuntimeContext: import("react").Context<ZoraThemeRuntime>;
6
+ /*** Returns the active ZORA theme runtime. */
6
7
  export declare function useZoraThemeRuntime(): ZoraThemeRuntime;
7
8
  export {};
8
9
  //# sourceMappingURL=ZoraThemeRuntimeContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ZoraThemeRuntimeContext.d.ts","sourceRoot":"","sources":["../../src/theme/ZoraThemeRuntimeContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,UAAU,gBAAgB;IACxB,OAAO,EAAE,WAAW,CAAC;CACtB;AAED,eAAO,MAAM,uBAAuB,2CAElC,CAAC;AAEH,wBAAgB,mBAAmB,IAAI,gBAAgB,CAEtD"}
1
+ {"version":3,"file":"ZoraThemeRuntimeContext.d.ts","sourceRoot":"","sources":["../../src/theme/ZoraThemeRuntimeContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,UAAU,gBAAgB;IACxB,OAAO,EAAE,WAAW,CAAC;CACtB;AAED,eAAO,MAAM,uBAAuB,2CAElC,CAAC;AAEH,8CAA8C;AAC9C,wBAAgB,mBAAmB,IAAI,gBAAgB,CAEtD"}
@@ -1,9 +1,10 @@
1
- import { createContext, useContext } from 'react';
1
+ import { createContext, use } from 'react';
2
2
  import { zoraDefaultTheme } from './zoraDefaultTheme';
3
3
  export const ZoraThemeRuntimeContext = createContext({
4
4
  themeId: zoraDefaultTheme.id,
5
5
  });
6
+ /*** Returns the active ZORA theme runtime. */
6
7
  export function useZoraThemeRuntime() {
7
- return useContext(ZoraThemeRuntimeContext);
8
+ return use(ZoraThemeRuntimeContext);
8
9
  }
9
10
  //# sourceMappingURL=ZoraThemeRuntimeContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ZoraThemeRuntimeContext.js","sourceRoot":"","sources":["../../src/theme/ZoraThemeRuntimeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAMtD,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAmB;IACrE,OAAO,EAAE,gBAAgB,CAAC,EAAE;CAC7B,CAAC,CAAC;AAEH,MAAM,UAAU,mBAAmB;IACjC,OAAO,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAC7C,CAAC","sourcesContent":["import { createContext, useContext } from 'react';\n\nimport type { ZoraThemeId } from './types';\nimport { zoraDefaultTheme } from './zoraDefaultTheme';\n\ninterface ZoraThemeRuntime {\n themeId: ZoraThemeId;\n}\n\nexport const ZoraThemeRuntimeContext = createContext<ZoraThemeRuntime>({\n themeId: zoraDefaultTheme.id,\n});\n\nexport function useZoraThemeRuntime(): ZoraThemeRuntime {\n return useContext(ZoraThemeRuntimeContext);\n}\n"]}
1
+ {"version":3,"file":"ZoraThemeRuntimeContext.js","sourceRoot":"","sources":["../../src/theme/ZoraThemeRuntimeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAMtD,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAmB;IACrE,OAAO,EAAE,gBAAgB,CAAC,EAAE;CAC7B,CAAC,CAAC;AAEH,8CAA8C;AAC9C,MAAM,UAAU,mBAAmB;IACjC,OAAO,GAAG,CAAC,uBAAuB,CAAC,CAAC;AACtC,CAAC","sourcesContent":["import { createContext, use } from 'react';\n\nimport type { ZoraThemeId } from './types';\nimport { zoraDefaultTheme } from './zoraDefaultTheme';\n\ninterface ZoraThemeRuntime {\n themeId: ZoraThemeId;\n}\n\nexport const ZoraThemeRuntimeContext = createContext<ZoraThemeRuntime>({\n themeId: zoraDefaultTheme.id,\n});\n\n/*** Returns the active ZORA theme runtime. */\nexport function useZoraThemeRuntime(): ZoraThemeRuntime {\n return use(ZoraThemeRuntimeContext);\n}\n"]}