@ankhorage/zora 28.7.2 → 28.7.4

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 (519) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +1 -1
  3. package/dist/features/carousel/Carousel.d.ts.map +1 -1
  4. package/dist/features/carousel/Carousel.js +22 -4
  5. package/dist/features/carousel/Carousel.js.map +1 -1
  6. package/dist/features/form/select/adapters/inbound/Select.web.d.ts.map +1 -1
  7. package/dist/features/form/select/adapters/inbound/Select.web.js +4 -1
  8. package/dist/features/form/select/adapters/inbound/Select.web.js.map +1 -1
  9. package/dist/features/form/select/composition/SelectOptionsList.d.ts +9 -0
  10. package/dist/features/form/select/composition/SelectOptionsList.d.ts.map +1 -0
  11. package/dist/features/form/select/composition/SelectOptionsList.js +17 -0
  12. package/dist/features/form/select/composition/SelectOptionsList.js.map +1 -0
  13. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.d.ts +6 -1
  14. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.d.ts.map +1 -1
  15. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.js +4 -3
  16. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.js.map +1 -1
  17. package/package.json +2 -2
  18. package/src/features/carousel/Carousel.tsx +27 -5
  19. package/src/features/form/select/adapters/inbound/Select.web.tsx +13 -10
  20. package/src/features/form/select/composition/SelectOptionsList.tsx +29 -0
  21. package/src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx +4 -5
  22. package/src/webPackageExports.test.ts +40 -0
  23. package/web-dist/authoring/index.d.ts +2 -2
  24. package/web-dist/authoring/index.js +132 -23545
  25. package/web-dist/chunks/{Accordion-nh0cs9hq.js → Accordion-0g45tq8n.js} +1 -43
  26. package/web-dist/chunks/{Accordion-rhjddvkh.js → Accordion-0zk0xp73.js} +26 -27
  27. package/web-dist/chunks/{Accordion-arr9ayv0.js → Accordion-25v2vczc.js} +12 -18
  28. package/web-dist/chunks/{Accordion-mpb070cf.js → Accordion-2berhsg5.js} +27 -33
  29. package/web-dist/chunks/Accordion-2ej7s27r.js +18 -0
  30. package/web-dist/chunks/{Accordion-tdrk9cyn.js → Accordion-2jcas7qq.js} +8 -8
  31. package/web-dist/chunks/{Accordion-ar8qe05j.js → Accordion-3xfqmr1r.js} +4 -4
  32. package/web-dist/chunks/Accordion-457amtv7.js +4721 -0
  33. package/web-dist/chunks/{Accordion-8skz71ct.js → Accordion-6gc0jw1n.js} +25 -30
  34. package/web-dist/chunks/{Accordion-ytf9ba8v.js → Accordion-73p2mg3h.js} +10 -10
  35. package/web-dist/chunks/Accordion-778fjjsh.js +117 -0
  36. package/web-dist/chunks/Accordion-7ayxbm7k.js +20 -0
  37. package/web-dist/chunks/{Accordion-kcspvk6q.js → Accordion-7pgh8q4h.js} +9 -11
  38. package/web-dist/chunks/Accordion-9dq115tn.js +99 -0
  39. package/web-dist/chunks/Accordion-casb2ndy.js +171 -0
  40. package/web-dist/chunks/{Accordion-9d38cgqj.js → Accordion-cwx73cjc.js} +4 -1426
  41. package/web-dist/chunks/{Accordion-1fz55hk4.js → Accordion-d15mjc4n.js} +5 -4
  42. package/web-dist/chunks/Accordion-dcjzxzv3.js +103 -0
  43. package/web-dist/chunks/{Accordion-htvmkx8s.js → Accordion-dv5c27w4.js} +105 -41
  44. package/web-dist/chunks/Accordion-e6ettgh0.js +219 -0
  45. package/web-dist/chunks/Accordion-e8tapf5a.js +22 -0
  46. package/web-dist/chunks/{Accordion-yrac5a7m.js → Accordion-fkftnxgw.js} +7 -17
  47. package/web-dist/chunks/Accordion-fsdgssfq.js +20 -0
  48. package/web-dist/chunks/{Accordion-jtgh2tep.js → Accordion-g5pvs1aa.js} +24 -30
  49. package/web-dist/chunks/Accordion-gnkzvj03.js +40 -0
  50. package/web-dist/chunks/Accordion-hadw5304.js +78 -0
  51. package/web-dist/chunks/{Accordion-1g91we37.js → Accordion-hg4db1sk.js} +48 -205
  52. package/web-dist/chunks/Accordion-k9n1yse4.js +234 -0
  53. package/web-dist/chunks/{Accordion-0spfxhpg.js → Accordion-m3tq2vcc.js} +22 -28
  54. package/web-dist/chunks/{Accordion-2ad57stc.js → Accordion-mw8zh0vs.js} +12 -12
  55. package/web-dist/chunks/{Accordion-5mga7hty.js → Accordion-pr1tv6jx.js} +3 -5
  56. package/web-dist/chunks/{Accordion-zd15byha.js → Accordion-pvcdvh3w.js} +2 -2
  57. package/web-dist/chunks/{Accordion-0egwarcs.js → Accordion-q8ymmar7.js} +8 -8
  58. package/web-dist/chunks/{Accordion-19aegsx2.js → Accordion-qwftammh.js} +21 -22
  59. package/web-dist/chunks/{Accordion-d5sz8vaq.js → Accordion-r8swmfjm.js} +5 -7
  60. package/web-dist/chunks/{Accordion-bexwrnfh.js → Accordion-rp9cjtpg.js} +28 -34
  61. package/web-dist/chunks/{Accordion-qjxx43r1.js → Accordion-rsw5jt7m.js} +40 -48
  62. package/web-dist/chunks/Accordion-se0pee16.js +213 -0
  63. package/web-dist/chunks/{Accordion-3zzzw7a8.js → Accordion-t9w365ke.js} +3 -5
  64. package/web-dist/chunks/Accordion-tb0vc91c.js +203 -0
  65. package/web-dist/chunks/{Accordion-3cpkxpdg.js → Accordion-tj4fe6wk.js} +5 -5
  66. package/web-dist/chunks/{Accordion-agt9vt85.js → Accordion-v3bmbnfh.js} +13 -13
  67. package/web-dist/chunks/{Accordion-516n2cx4.js → Accordion-vbz1mjm6.js} +43 -168
  68. package/web-dist/chunks/{Accordion-9dk62zn9.js → Accordion-vdzyhtyd.js} +66 -48
  69. package/web-dist/chunks/{Accordion-9m5asd8r.js → Accordion-vtbs98r4.js} +9 -15
  70. package/web-dist/chunks/Accordion-vwqf8kn1.js +70 -0
  71. package/web-dist/chunks/{Accordion-gs838h0n.js → Accordion-w2kx944a.js} +8 -10
  72. package/web-dist/chunks/Accordion-wbf7gqrm.js +136 -0
  73. package/web-dist/chunks/{Accordion-b1y5mjac.js → Accordion-x1ze1wvk.js} +1 -4
  74. package/web-dist/chunks/{Accordion-8t6vh482.js → Accordion-xhkphta6.js} +15 -21
  75. package/web-dist/chunks/Accordion-xqkkfwkm.js +61 -0
  76. package/web-dist/chunks/{Accordion-77514sk9.js → Accordion-yca8r7kx.js} +6 -6
  77. package/web-dist/chunks/{Accordion-tk8zf9ff.js → Accordion-zhgty1ae.js} +10 -35
  78. package/web-dist/chunks/{Accordion-78astqx3.js → Accordion-zmrbktd8.js} +100 -170
  79. package/web-dist/chunks/{RichTextClient-7qqj2dpw.js → RichTextClient-w75r2x97.js} +19 -31
  80. package/web-dist/chunks/{Video.native-6142s9f7.js → Video.native-bb9g33nd.js} +22 -32
  81. package/web-dist/chunks/{index-n6p0wdvg.js → index-m1y984nz.js} +547 -241
  82. package/web-dist/components/accordion/Accordion.dependency-0.d.ts +1 -1
  83. package/web-dist/components/accordion/Accordion.js +8 -14
  84. package/web-dist/components/accordion/Accordion.types-0.d.ts +1 -1
  85. package/web-dist/components/accordion-item/AccordionItem.dependency-0.d.ts +1 -1
  86. package/web-dist/components/accordion-item/AccordionItem.js +8 -14
  87. package/web-dist/components/accordion-item/AccordionItem.types-0.d.ts +1 -1
  88. package/web-dist/components/activity-indicator/ActivityIndicator.js +3 -4
  89. package/web-dist/components/app-bar/AppBar.dependency-0.d.ts +1 -1
  90. package/web-dist/components/app-bar/AppBar.dependency-2.d.ts +1 -1
  91. package/web-dist/components/app-bar/AppBar.js +10 -27
  92. package/web-dist/components/app-bar/AppBar.types-0.d.ts +1 -1
  93. package/web-dist/components/app-header/AppHeader.dependency-0.d.ts +1 -1
  94. package/web-dist/components/app-header/AppHeader.dependency-1.d.ts +1 -1
  95. package/web-dist/components/app-header/AppHeader.dependency-3.d.ts +1 -1
  96. package/web-dist/components/app-header/AppHeader.js +10 -27
  97. package/web-dist/components/app-shell/AppShell.dependency-0.d.ts +1 -1
  98. package/web-dist/components/app-shell/AppShell.js +3 -8
  99. package/web-dist/components/audio/Audio.dependency-0.d.ts +1 -1
  100. package/web-dist/components/audio/Audio.js +17 -28
  101. package/web-dist/components/auth-screen/AuthScreen.dependency-0.d.ts +1 -1
  102. package/web-dist/components/auth-screen/AuthScreen.dependency-3.d.ts +1 -1
  103. package/web-dist/components/auth-screen/AuthScreen.dependency-4.d.ts +1 -1
  104. package/web-dist/components/auth-screen/AuthScreen.js +13 -25
  105. package/web-dist/components/auth-screen/AuthScreen.types-0.d.ts +1 -1
  106. package/web-dist/components/avatar/Avatar.dependency-0.d.ts +1 -1
  107. package/web-dist/components/avatar/Avatar.dependency-2.d.ts +1 -1
  108. package/web-dist/components/avatar/Avatar.js +8 -14
  109. package/web-dist/components/avatar/Avatar.types-0.d.ts +1 -1
  110. package/web-dist/components/avatar-group/AvatarGroup.dependency-1.d.ts +1 -1
  111. package/web-dist/components/avatar-group/AvatarGroup.dependency-3.d.ts +1 -1
  112. package/web-dist/components/avatar-group/AvatarGroup.js +8 -14
  113. package/web-dist/components/avatar-group/AvatarGroup.types-0.d.ts +1 -1
  114. package/web-dist/components/badge/Badge.dependency-0.d.ts +1 -1
  115. package/web-dist/components/badge/Badge.dependency-2.d.ts +1 -1
  116. package/web-dist/components/badge/Badge.dependency-3.d.ts +1 -1
  117. package/web-dist/components/badge/Badge.js +3 -10
  118. package/web-dist/components/badge/Badge.types-0.d.ts +1 -1
  119. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.dependency-0.d.ts +1 -1
  120. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +13 -25
  121. package/web-dist/components/bottom-sheet/BottomSheet.dependency-0.d.ts +1 -1
  122. package/web-dist/components/bottom-sheet/BottomSheet.js +5 -13
  123. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.d.ts +1 -1
  124. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +5 -13
  125. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.d.ts +1 -1
  126. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +5 -13
  127. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.d.ts +1 -1
  128. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +5 -13
  129. package/web-dist/components/bottom-sheet-view/BottomSheetView.d.ts +1 -1
  130. package/web-dist/components/bottom-sheet-view/BottomSheetView.js +5 -13
  131. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.d.ts +1 -1
  132. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +5 -13
  133. package/web-dist/components/breadcrumbs/Breadcrumbs.dependency-0.d.ts +1 -1
  134. package/web-dist/components/breadcrumbs/Breadcrumbs.js +17 -27
  135. package/web-dist/components/breadcrumbs/Breadcrumbs.types-0.d.ts +1 -1
  136. package/web-dist/components/button/Button.dependency-0.d.ts +1 -1
  137. package/web-dist/components/button/Button.dependency-2.d.ts +1 -1
  138. package/web-dist/components/button/Button.dependency-3.d.ts +1 -1
  139. package/web-dist/components/button/Button.js +8 -18
  140. package/web-dist/components/button/Button.types-0.d.ts +1 -1
  141. package/web-dist/components/button-group/ButtonGroup.dependency-0.d.ts +1 -1
  142. package/web-dist/components/button-group/ButtonGroup.dependency-2.d.ts +1 -1
  143. package/web-dist/components/button-group/ButtonGroup.js +6 -16
  144. package/web-dist/components/calendar/Calendar.dependency-0.d.ts +1 -1
  145. package/web-dist/components/calendar/Calendar.js +9 -19
  146. package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-0.d.ts +1 -1
  147. package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-2.d.ts +1 -1
  148. package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-3.d.ts +1 -1
  149. package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-4.d.ts +1 -1
  150. package/web-dist/components/camera-permission-view/CameraPermissionView.js +13 -25
  151. package/web-dist/components/card/Card.dependency-0.d.ts +1 -1
  152. package/web-dist/components/card/Card.js +12 -24
  153. package/web-dist/components/card/Card.types-0.d.ts +1 -1
  154. package/web-dist/components/card-back/CardBack.dependency-0.d.ts +1 -1
  155. package/web-dist/components/card-back/CardBack.js +5 -6
  156. package/web-dist/components/card-hand/CardHand.dependency-0.d.ts +1 -1
  157. package/web-dist/components/card-hand/CardHand.js +5 -6
  158. package/web-dist/components/carousel/Carousel.js +58 -49
  159. package/web-dist/components/chat-list-item/ChatListItem.dependency-1.d.ts +1 -1
  160. package/web-dist/components/chat-list-item/ChatListItem.dependency-3.d.ts +1 -1
  161. package/web-dist/components/chat-list-item/ChatListItem.js +10 -19
  162. package/web-dist/components/checkbox/Checkbox.dependency-0.d.ts +1 -1
  163. package/web-dist/components/checkbox/Checkbox.js +7 -17
  164. package/web-dist/components/checkbox/Checkbox.types-0.d.ts +1 -1
  165. package/web-dist/components/checkbox-group/CheckboxGroup.dependency-0.d.ts +1 -1
  166. package/web-dist/components/checkbox-group/CheckboxGroup.js +7 -17
  167. package/web-dist/components/checkbox-group/CheckboxGroup.types-0.d.ts +1 -1
  168. package/web-dist/components/chess-board/ChessBoard.dependency-0.d.ts +1 -1
  169. package/web-dist/components/chess-board/ChessBoard.js +5 -7
  170. package/web-dist/components/chip/Chip.dependency-0.d.ts +1 -1
  171. package/web-dist/components/chip/Chip.dependency-2.d.ts +1 -1
  172. package/web-dist/components/chip/Chip.dependency-3.d.ts +1 -1
  173. package/web-dist/components/chip/Chip.js +8 -15
  174. package/web-dist/components/chip/Chip.types-0.d.ts +1 -1
  175. package/web-dist/components/chip-group/ChipGroup.dependency-0.d.ts +1 -1
  176. package/web-dist/components/chip-group/ChipGroup.dependency-2.d.ts +1 -1
  177. package/web-dist/components/chip-group/ChipGroup.dependency-3.d.ts +1 -1
  178. package/web-dist/components/chip-group/ChipGroup.js +8 -15
  179. package/web-dist/components/chip-group/ChipGroup.types-0.d.ts +1 -1
  180. package/web-dist/components/collection-editor/CollectionEditor.dependency-0.d.ts +1 -1
  181. package/web-dist/components/collection-editor/CollectionEditor.js +19 -31
  182. package/web-dist/components/color-hue-scale/ColorHueScale.dependency-0.d.ts +1 -1
  183. package/web-dist/components/color-hue-scale/ColorHueScale.js +19 -35
  184. package/web-dist/components/color-picker/ColorPicker.dependency-0.d.ts +1 -1
  185. package/web-dist/components/color-picker/ColorPicker.js +19 -35
  186. package/web-dist/components/color-tone/ColorTone.dependency-0.d.ts +1 -1
  187. package/web-dist/components/color-tone/ColorTone.js +19 -35
  188. package/web-dist/components/color-wheel/ColorWheel.dependency-0.d.ts +1 -1
  189. package/web-dist/components/color-wheel/ColorWheel.js +19 -35
  190. package/web-dist/components/content-rail/ContentRail.dependency-0.d.ts +1 -1
  191. package/web-dist/components/content-rail/ContentRail.js +23 -35
  192. package/web-dist/components/data-table/DataTable.dependency-0.d.ts +1 -1
  193. package/web-dist/components/data-table/DataTable.dependency-2.d.ts +1 -1
  194. package/web-dist/components/data-table/DataTable.js +67 -101
  195. package/web-dist/components/data-table/DataTable.types-0.d.ts +1 -1
  196. package/web-dist/components/date-picker/DatePicker.dependency-0.d.ts +1 -1
  197. package/web-dist/components/date-picker/DatePicker.js +16 -32
  198. package/web-dist/components/dialog/Dialog.dependency-0.d.ts +1 -1
  199. package/web-dist/components/dialog/Dialog.js +7 -18
  200. package/web-dist/components/divider/Divider.dependency-0.d.ts +1 -1
  201. package/web-dist/components/divider/Divider.js +3 -8
  202. package/web-dist/components/divider/Divider.types-0.d.ts +1 -1
  203. package/web-dist/components/empty-state/EmptyState.dependency-0.d.ts +1 -1
  204. package/web-dist/components/empty-state/EmptyState.dependency-2.d.ts +1 -1
  205. package/web-dist/components/empty-state/EmptyState.dependency-3.d.ts +1 -1
  206. package/web-dist/components/empty-state/EmptyState.js +13 -25
  207. package/web-dist/components/explorer/Explorer.dependency-0.d.ts +1 -1
  208. package/web-dist/components/explorer/Explorer.js +10 -16
  209. package/web-dist/components/field/Field.dependency-0.d.ts +1 -1
  210. package/web-dist/components/field/Field.dependency-1.d.ts +1 -1
  211. package/web-dist/components/field/Field.js +7 -15
  212. package/web-dist/components/file-explorer/FileExplorer.dependency-0.d.ts +1 -1
  213. package/web-dist/components/file-explorer/FileExplorer.js +10 -16
  214. package/web-dist/components/flat-list/FlatList.dependency-0.d.ts +1 -1
  215. package/web-dist/components/flat-list/FlatList.js +8 -17
  216. package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-0.d.ts +1 -1
  217. package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-3.d.ts +1 -1
  218. package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-4.d.ts +1 -1
  219. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +13 -25
  220. package/web-dist/components/form/Form.dependency-0.d.ts +1 -1
  221. package/web-dist/components/form/Form.js +9 -20
  222. package/web-dist/components/form-actions/FormActions.dependency-0.d.ts +1 -1
  223. package/web-dist/components/form-actions/FormActions.js +9 -20
  224. package/web-dist/components/form-error/FormError.dependency-0.d.ts +1 -1
  225. package/web-dist/components/form-error/FormError.js +9 -20
  226. package/web-dist/components/game/Game.dependency-0.d.ts +1 -1
  227. package/web-dist/components/game/Game.js +4 -10
  228. package/web-dist/components/game-entity/GameEntity.dependency-0.d.ts +1 -1
  229. package/web-dist/components/game-entity/GameEntity.js +4 -10
  230. package/web-dist/components/game-field/GameField.dependency-0.d.ts +1 -1
  231. package/web-dist/components/game-field/GameField.js +4 -10
  232. package/web-dist/components/game-input-zone/GameInputZone.dependency-0.d.ts +1 -1
  233. package/web-dist/components/game-input-zone/GameInputZone.js +4 -10
  234. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.dependency-0.d.ts +1 -1
  235. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +4 -10
  236. package/web-dist/components/game-overlay/GameOverlay.dependency-0.d.ts +1 -1
  237. package/web-dist/components/game-overlay/GameOverlay.js +4 -10
  238. package/web-dist/components/gradient/Gradient.dependency-0.d.ts +1 -1
  239. package/web-dist/components/gradient/Gradient.dependency-2.d.ts +1 -1
  240. package/web-dist/components/gradient/Gradient.js +4 -9
  241. package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +4 -9
  242. package/web-dist/components/graph-view/GraphView.js +3 -5
  243. package/web-dist/components/grid/Grid.dependency-0.d.ts +1 -1
  244. package/web-dist/components/grid/Grid.js +3 -8
  245. package/web-dist/components/grid/Grid.types-0.d.ts +1 -1
  246. package/web-dist/components/grid-interactions/GridInteractions.dependency-0.d.ts +1 -1
  247. package/web-dist/components/grid-interactions/GridInteractions.js +2 -8
  248. package/web-dist/components/grid-line-overlay/GridLineOverlay.dependency-0.d.ts +1 -1
  249. package/web-dist/components/grid-line-overlay/GridLineOverlay.js +4 -6
  250. package/web-dist/components/grid-ruler/GridRuler.dependency-0.d.ts +1 -1
  251. package/web-dist/components/grid-ruler/GridRuler.js +4 -6
  252. package/web-dist/components/grid-view/GridView.dependency-0.d.ts +1 -1
  253. package/web-dist/components/grid-view/GridView.js +1 -2
  254. package/web-dist/components/heading/Heading.dependency-0.d.ts +1 -1
  255. package/web-dist/components/heading/Heading.dependency-2.d.ts +1 -1
  256. package/web-dist/components/heading/Heading.js +5 -8
  257. package/web-dist/components/heading/Heading.types-0.d.ts +1 -1
  258. package/web-dist/components/hero/Hero.dependency-0.d.ts +1 -1
  259. package/web-dist/components/hero/Hero.dependency-2.d.ts +1 -1
  260. package/web-dist/components/hero/Hero.dependency-3.d.ts +1 -1
  261. package/web-dist/components/hero/Hero.js +20 -32
  262. package/web-dist/components/icon/Icon.dependency-0.d.ts +1 -1
  263. package/web-dist/components/icon/Icon.js +3 -7
  264. package/web-dist/components/icon/Icon.types-0.d.ts +1 -1
  265. package/web-dist/components/icon-button/IconButton.dependency-0.d.ts +1 -1
  266. package/web-dist/components/icon-button/IconButton.dependency-2.d.ts +1 -1
  267. package/web-dist/components/icon-button/IconButton.dependency-3.d.ts +1 -1
  268. package/web-dist/components/icon-button/IconButton.dependency-4.d.ts +1 -1
  269. package/web-dist/components/icon-button/IconButton.js +6 -16
  270. package/web-dist/components/icon-button/IconButton.types-0.d.ts +1 -1
  271. package/web-dist/components/image/Image.dependency-0.d.ts +1 -1
  272. package/web-dist/components/image/Image.js +6 -12
  273. package/web-dist/components/image/Image.types-0.d.ts +1 -1
  274. package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.dependency-0.d.ts +1 -1
  275. package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +3 -5
  276. package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.types-0.d.ts +1 -1
  277. package/web-dist/components/link/Link.dependency-0.d.ts +1 -1
  278. package/web-dist/components/link/Link.dependency-3.d.ts +1 -1
  279. package/web-dist/components/link/Link.js +9 -12
  280. package/web-dist/components/link/Link.types-0.d.ts +1 -1
  281. package/web-dist/components/list/List.dependency-0.d.ts +1 -1
  282. package/web-dist/components/list/List.js +8 -17
  283. package/web-dist/components/list/List.types-0.d.ts +1 -1
  284. package/web-dist/components/list-item/ListItem.dependency-0.d.ts +1 -1
  285. package/web-dist/components/list-item/ListItem.js +8 -17
  286. package/web-dist/components/list-item/ListItem.types-0.d.ts +1 -1
  287. package/web-dist/components/list-section/ListSection.dependency-0.d.ts +1 -1
  288. package/web-dist/components/list-section/ListSection.js +8 -17
  289. package/web-dist/components/list-section/ListSection.types-0.d.ts +1 -1
  290. package/web-dist/components/master-detail/MasterDetail.dependency-0.d.ts +1 -1
  291. package/web-dist/components/master-detail/MasterDetail.js +4 -17
  292. package/web-dist/components/matrix-grid/MatrixGrid.dependency-0.d.ts +1 -1
  293. package/web-dist/components/matrix-grid/MatrixGrid.js +14 -23
  294. package/web-dist/components/media-card/MediaCard.dependency-0.d.ts +1 -1
  295. package/web-dist/components/media-card/MediaCard.js +12 -24
  296. package/web-dist/components/media-explorer/MediaExplorer.dependency-0.d.ts +1 -1
  297. package/web-dist/components/media-explorer/MediaExplorer.js +10 -16
  298. package/web-dist/components/message-bubble/MessageBubble.dependency-1.d.ts +1 -1
  299. package/web-dist/components/message-bubble/MessageBubble.dependency-3.d.ts +1 -1
  300. package/web-dist/components/message-bubble/MessageBubble.js +10 -19
  301. package/web-dist/components/metric-card/MetricCard.dependency-0.d.ts +1 -1
  302. package/web-dist/components/metric-card/MetricCard.dependency-3.d.ts +1 -1
  303. package/web-dist/components/metric-card/MetricCard.js +12 -24
  304. package/web-dist/components/metric-card/MetricCard.types-0.d.ts +1 -1
  305. package/web-dist/components/missing-element/MissingElement.dependency-0.d.ts +1 -1
  306. package/web-dist/components/missing-element/MissingElement.js +15 -27
  307. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-0.d.ts +1 -1
  308. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-2.d.ts +1 -1
  309. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-3.d.ts +1 -1
  310. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-4.d.ts +1 -1
  311. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +13 -25
  312. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.types-0.d.ts +1 -1
  313. package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-0.d.ts +1 -1
  314. package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-2.d.ts +1 -1
  315. package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-3.d.ts +1 -1
  316. package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-4.d.ts +1 -1
  317. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +13 -25
  318. package/web-dist/components/o-auth-provider-list/OAuthProviderList.types-0.d.ts +1 -1
  319. package/web-dist/components/opening-book/OpeningBook.dependency-0.d.ts +1 -1
  320. package/web-dist/components/opening-book/OpeningBook.js +5 -7
  321. package/web-dist/components/otp-form/OtpForm.dependency-0.d.ts +1 -1
  322. package/web-dist/components/otp-form/OtpForm.dependency-3.d.ts +1 -1
  323. package/web-dist/components/otp-form/OtpForm.dependency-4.d.ts +1 -1
  324. package/web-dist/components/otp-form/OtpForm.js +13 -25
  325. package/web-dist/components/pagination/Pagination.dependency-0.d.ts +1 -1
  326. package/web-dist/components/pagination/Pagination.js +16 -26
  327. package/web-dist/components/palette-item/PaletteItem.dependency-0.d.ts +1 -1
  328. package/web-dist/components/palette-item/PaletteItem.js +17 -29
  329. package/web-dist/components/palette-item/PaletteItem.types-0.d.ts +1 -1
  330. package/web-dist/components/playing-card/PlayingCard.dependency-0.d.ts +1 -1
  331. package/web-dist/components/playing-card/PlayingCard.js +5 -6
  332. package/web-dist/components/poker-training-table/PokerTrainingTable.dependency-0.d.ts +1 -1
  333. package/web-dist/components/poker-training-table/PokerTrainingTable.js +5 -6
  334. package/web-dist/components/popover/Popover.dependency-0.d.ts +1 -1
  335. package/web-dist/components/popover/Popover.js +4 -10
  336. package/web-dist/components/popover/Popover.types-0.d.ts +1 -1
  337. package/web-dist/components/popover-menu/PopoverMenu.dependency-0.d.ts +1 -1
  338. package/web-dist/components/popover-menu/PopoverMenu.js +6 -21
  339. package/web-dist/components/popover-menu/PopoverMenu.types-0.d.ts +1 -1
  340. package/web-dist/components/post-card/PostCard.dependency-1.d.ts +1 -1
  341. package/web-dist/components/post-card/PostCard.dependency-4.d.ts +1 -1
  342. package/web-dist/components/post-card/PostCard.js +12 -24
  343. package/web-dist/components/post-card/PostCard.types-0.d.ts +1 -1
  344. package/web-dist/components/product-card/ProductCard.dependency-0.d.ts +1 -1
  345. package/web-dist/components/product-card/ProductCard.js +12 -24
  346. package/web-dist/components/progress/Progress.dependency-0.d.ts +1 -1
  347. package/web-dist/components/progress/Progress.dependency-2.d.ts +1 -1
  348. package/web-dist/components/progress/Progress.dependency-3.d.ts +1 -1
  349. package/web-dist/components/progress/Progress.js +7 -12
  350. package/web-dist/components/progress-ring/ProgressRing.dependency-0.d.ts +1 -1
  351. package/web-dist/components/progress-ring/ProgressRing.dependency-2.d.ts +1 -1
  352. package/web-dist/components/progress-ring/ProgressRing.js +7 -12
  353. package/web-dist/components/radio/Radio.dependency-0.d.ts +1 -1
  354. package/web-dist/components/radio/Radio.js +8 -19
  355. package/web-dist/components/radio/Radio.types-0.d.ts +1 -1
  356. package/web-dist/components/radio-group/RadioGroup.dependency-0.d.ts +1 -1
  357. package/web-dist/components/radio-group/RadioGroup.dependency-2.d.ts +1 -1
  358. package/web-dist/components/radio-group/RadioGroup.js +8 -19
  359. package/web-dist/components/radio-group/RadioGroup.types-0.d.ts +1 -1
  360. package/web-dist/components/rating/Rating.dependency-0.d.ts +1 -1
  361. package/web-dist/components/rating/Rating.dependency-2.d.ts +1 -1
  362. package/web-dist/components/rating/Rating.dependency-3.d.ts +1 -1
  363. package/web-dist/components/rating/Rating.js +7 -13
  364. package/web-dist/components/reader/Reader.dependency-0.d.ts +1 -1
  365. package/web-dist/components/reader/Reader.js +25 -45
  366. package/web-dist/components/rich-text/RichText.dependency-0.d.ts +1 -1
  367. package/web-dist/components/rich-text/RichText.js +5 -6
  368. package/web-dist/components/scan-overlay/ScanOverlay.dependency-0.d.ts +1 -1
  369. package/web-dist/components/scan-overlay/ScanOverlay.js +13 -25
  370. package/web-dist/components/screen/Screen.dependency-0.d.ts +1 -1
  371. package/web-dist/components/screen/Screen.js +3 -8
  372. package/web-dist/components/screen-section/ScreenSection.dependency-0.d.ts +1 -1
  373. package/web-dist/components/screen-section/ScreenSection.js +7 -12
  374. package/web-dist/components/scroll-view/ScrollView.dependency-0.d.ts +1 -1
  375. package/web-dist/components/scroll-view/ScrollView.js +3 -8
  376. package/web-dist/components/scroll-view/ScrollView.types-0.d.ts +1 -1
  377. package/web-dist/components/search-input/SearchInput.dependency-0.d.ts +1 -1
  378. package/web-dist/components/search-input/SearchInput.dependency-2.d.ts +1 -1
  379. package/web-dist/components/search-input/SearchInput.js +8 -18
  380. package/web-dist/components/section-header/SectionHeader.dependency-0.d.ts +1 -1
  381. package/web-dist/components/section-header/SectionHeader.js +7 -12
  382. package/web-dist/components/section-list/SectionList.dependency-0.d.ts +1 -1
  383. package/web-dist/components/section-list/SectionList.js +8 -17
  384. package/web-dist/components/select/Select.dependency-0.d.ts +1 -1
  385. package/web-dist/components/select/Select.dependency-2.d.ts +1 -1
  386. package/web-dist/components/select/Select.js +13 -28
  387. package/web-dist/components/select/Select.types-0.d.ts +1 -1
  388. package/web-dist/components/selectable-item/SelectableItem.dependency-0.d.ts +1 -1
  389. package/web-dist/components/selectable-item/SelectableItem.js +3 -5
  390. package/web-dist/components/selectable-item/SelectableItem.types-0.d.ts +1 -1
  391. package/web-dist/components/selection-provider/SelectionProvider.js +3 -5
  392. package/web-dist/components/selection-provider/SelectionProvider.types-0.d.ts +1 -1
  393. package/web-dist/components/sign-in-form/SignInForm.dependency-0.d.ts +1 -1
  394. package/web-dist/components/sign-in-form/SignInForm.dependency-3.d.ts +1 -1
  395. package/web-dist/components/sign-in-form/SignInForm.dependency-4.d.ts +1 -1
  396. package/web-dist/components/sign-in-form/SignInForm.js +13 -25
  397. package/web-dist/components/sign-up-form/SignUpForm.dependency-0.d.ts +1 -1
  398. package/web-dist/components/sign-up-form/SignUpForm.dependency-3.d.ts +1 -1
  399. package/web-dist/components/sign-up-form/SignUpForm.dependency-4.d.ts +1 -1
  400. package/web-dist/components/sign-up-form/SignUpForm.js +13 -25
  401. package/web-dist/components/skeleton/Skeleton.dependency-0.d.ts +1 -1
  402. package/web-dist/components/skeleton/Skeleton.dependency-2.d.ts +1 -1
  403. package/web-dist/components/skeleton/Skeleton.js +15 -27
  404. package/web-dist/components/skeleton-card/SkeletonCard.dependency-0.d.ts +1 -1
  405. package/web-dist/components/skeleton-card/SkeletonCard.js +15 -27
  406. package/web-dist/components/skeleton-list/SkeletonList.dependency-0.d.ts +1 -1
  407. package/web-dist/components/skeleton-list/SkeletonList.js +15 -27
  408. package/web-dist/components/skeleton-text/SkeletonText.dependency-0.d.ts +1 -1
  409. package/web-dist/components/skeleton-text/SkeletonText.dependency-2.d.ts +1 -1
  410. package/web-dist/components/skeleton-text/SkeletonText.js +15 -27
  411. package/web-dist/components/spatial-grid/SpatialGrid.dependency-0.d.ts +1 -1
  412. package/web-dist/components/spatial-grid/SpatialGrid.js +4 -10
  413. package/web-dist/components/surface/Surface.dependency-0.d.ts +1 -1
  414. package/web-dist/components/surface/Surface.js +3 -10
  415. package/web-dist/components/surface/Surface.types-0.d.ts +1 -1
  416. package/web-dist/components/switch/Switch.dependency-0.d.ts +1 -1
  417. package/web-dist/components/switch/Switch.js +7 -121
  418. package/web-dist/components/switch/Switch.types-0.d.ts +1 -1
  419. package/web-dist/components/tab/Tab.dependency-0.d.ts +1 -1
  420. package/web-dist/components/tab/Tab.js +3 -12
  421. package/web-dist/components/tab/Tab.types-0.d.ts +1 -1
  422. package/web-dist/components/tab-list/TabList.dependency-0.d.ts +1 -1
  423. package/web-dist/components/tab-list/TabList.js +3 -12
  424. package/web-dist/components/tab-list/TabList.types-0.d.ts +1 -1
  425. package/web-dist/components/tab-panel/TabPanel.dependency-0.d.ts +1 -1
  426. package/web-dist/components/tab-panel/TabPanel.js +3 -12
  427. package/web-dist/components/tab-panel/TabPanel.types-0.d.ts +1 -1
  428. package/web-dist/components/tabletop-table/TabletopTable.dependency-0.d.ts +1 -1
  429. package/web-dist/components/tabletop-table/TabletopTable.js +5 -6
  430. package/web-dist/components/tabs/Tabs.dependency-0.d.ts +1 -1
  431. package/web-dist/components/tabs/Tabs.js +3 -12
  432. package/web-dist/components/tabs/Tabs.types-0.d.ts +1 -1
  433. package/web-dist/components/text/Text.dependency-0.d.ts +1 -1
  434. package/web-dist/components/text/Text.dependency-2.d.ts +1 -1
  435. package/web-dist/components/text/Text.js +7 -10
  436. package/web-dist/components/text/Text.types-0.d.ts +1 -1
  437. package/web-dist/components/text-input/TextInput.dependency-0.d.ts +1 -1
  438. package/web-dist/components/text-input/TextInput.dependency-2.d.ts +1 -1
  439. package/web-dist/components/text-input/TextInput.js +9 -19
  440. package/web-dist/components/text-input/TextInput.types-0.d.ts +1 -1
  441. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-0.d.ts +1 -1
  442. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-2.d.ts +1 -1
  443. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-3.d.ts +1 -1
  444. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-4.d.ts +1 -1
  445. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-5.d.ts +1 -1
  446. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +8 -18
  447. package/web-dist/components/tile-grid/TileGrid.dependency-0.d.ts +1 -1
  448. package/web-dist/components/tile-grid/TileGrid.js +1 -2
  449. package/web-dist/components/time-grid/TimeGrid.dependency-0.d.ts +1 -1
  450. package/web-dist/components/time-grid/TimeGrid.js +6 -12
  451. package/web-dist/components/time-picker/TimePicker.dependency-0.d.ts +1 -1
  452. package/web-dist/components/time-picker/TimePicker.js +18 -39
  453. package/web-dist/components/timeline/Timeline.dependency-0.d.ts +1 -1
  454. package/web-dist/components/timeline/Timeline.dependency-2.d.ts +1 -1
  455. package/web-dist/components/timeline/Timeline.dependency-4.d.ts +1 -1
  456. package/web-dist/components/timeline/Timeline.js +15 -21
  457. package/web-dist/components/timeline/Timeline.types-0.d.ts +1 -1
  458. package/web-dist/components/toast/Toast.dependency-0.d.ts +1 -1
  459. package/web-dist/components/toast/Toast.js +3 -14
  460. package/web-dist/components/toast/Toast.types-0.d.ts +1 -1
  461. package/web-dist/components/toast-provider/ToastProvider.js +3 -14
  462. package/web-dist/components/toast-provider/ToastProvider.types-0.d.ts +1 -1
  463. package/web-dist/components/toolbar/Toolbar.dependency-0.d.ts +1 -1
  464. package/web-dist/components/toolbar/Toolbar.js +13 -25
  465. package/web-dist/components/tree-item/TreeItem.dependency-0.d.ts +1 -1
  466. package/web-dist/components/tree-item/TreeItem.js +16 -32
  467. package/web-dist/components/tree-item/TreeItem.types-0.d.ts +1 -1
  468. package/web-dist/components/tree-view/TreeView.js +1 -1
  469. package/web-dist/components/uploader/Uploader.dependency-0.d.ts +1 -1
  470. package/web-dist/components/uploader/Uploader.js +28 -44
  471. package/web-dist/components/video/Video.dependency-0.d.ts +1 -1
  472. package/web-dist/components/video/Video.dependency-2.d.ts +1 -1
  473. package/web-dist/components/video/Video.js +11 -17
  474. package/web-dist/components/view/View.dependency-0.d.ts +1 -1
  475. package/web-dist/components/view/View.js +3 -8
  476. package/web-dist/components/view/View.types-0.d.ts +1 -1
  477. package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.d.ts +6 -1
  478. package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.js +3 -8
  479. package/web-dist/manifest.json +1104 -2714
  480. package/web-dist/runtime/ZoraProvider.js +19 -178
  481. package/web-dist/chunks/Accordion-0dj1r7w3.js +0 -13528
  482. package/web-dist/chunks/Accordion-224snqz3.js +0 -89
  483. package/web-dist/chunks/Accordion-23k6n6zk.js +0 -278
  484. package/web-dist/chunks/Accordion-2yat0x6x.js +0 -188
  485. package/web-dist/chunks/Accordion-4mg3epm9.js +0 -405
  486. package/web-dist/chunks/Accordion-4qrva6ye.js +0 -15
  487. package/web-dist/chunks/Accordion-4yrszsvs.js +0 -273
  488. package/web-dist/chunks/Accordion-5z75befg.js +0 -69
  489. package/web-dist/chunks/Accordion-61e19g3e.js +0 -1
  490. package/web-dist/chunks/Accordion-6a2hscrx.js +0 -50
  491. package/web-dist/chunks/Accordion-6zb9d92y.js +0 -87
  492. package/web-dist/chunks/Accordion-76b0qz8y.js +0 -41
  493. package/web-dist/chunks/Accordion-7nn4r909.js +0 -81
  494. package/web-dist/chunks/Accordion-7v6mrp8n.js +0 -311
  495. package/web-dist/chunks/Accordion-9b4bsxwe.js +0 -46
  496. package/web-dist/chunks/Accordion-9tgvr155.js +0 -9575
  497. package/web-dist/chunks/Accordion-a5fsrv3x.js +0 -198
  498. package/web-dist/chunks/Accordion-akwd4brm.js +0 -397
  499. package/web-dist/chunks/Accordion-c6edgxay.js +0 -1
  500. package/web-dist/chunks/Accordion-chdbfcm6.js +0 -93
  501. package/web-dist/chunks/Accordion-eqvdv7tt.js +0 -1
  502. package/web-dist/chunks/Accordion-fre84yaq.js +0 -12
  503. package/web-dist/chunks/Accordion-j1zerr6z.js +0 -389
  504. package/web-dist/chunks/Accordion-khfjh10v.js +0 -82
  505. package/web-dist/chunks/Accordion-ktscjwa2.js +0 -213
  506. package/web-dist/chunks/Accordion-mnac2z83.js +0 -21
  507. package/web-dist/chunks/Accordion-mnxf855g.js +0 -121
  508. package/web-dist/chunks/Accordion-mrstcjcm.js +0 -28
  509. package/web-dist/chunks/Accordion-mx7nkg85.js +0 -34
  510. package/web-dist/chunks/Accordion-pdjhezmz.js +0 -43
  511. package/web-dist/chunks/Accordion-q8a423pk.js +0 -379
  512. package/web-dist/chunks/Accordion-qjxbf8nt.js +0 -150
  513. package/web-dist/chunks/Accordion-sfvqf4fz.js +0 -1299
  514. package/web-dist/chunks/Accordion-sj30964p.js +0 -1350
  515. package/web-dist/chunks/Accordion-vx8bjm5k.js +0 -263
  516. package/web-dist/chunks/Accordion-wgc67k1g.js +0 -93
  517. package/web-dist/chunks/Accordion-ww4f12ty.js +0 -200
  518. package/web-dist/chunks/Accordion-xgpzh4wq.js +0 -18061
  519. package/web-dist/chunks/Accordion-xhxv2v0g.js +0 -196
@@ -1,7 +1,8 @@
1
1
  'use client';
2
- import {
3
- isRecord
4
- } from "./Accordion-mrstcjcm.js";
2
+ // node_modules/@ankhorage/utility/dist/object/isRecord.js
3
+ function isRecord(value) {
4
+ return typeof value === "object" && value !== null && !Array.isArray(value);
5
+ }
5
6
  // node_modules/@ankhorage/utility/dist/interaction/resolveSelectionIntent.js
6
7
  function resolveSelectionIntent(input) {
7
8
  if (input.kind === "touch")
@@ -53,4 +54,4 @@ function readInteractionModifiers(value) {
53
54
  };
54
55
  }
55
56
 
56
- export { resolveSelectionEventIntent };
57
+ export { isRecord, resolveSelectionEventIntent };
@@ -0,0 +1,103 @@
1
+ 'use client';
2
+ import {
3
+ useZoraThemeRuntime
4
+ } from "./Accordion-e8tapf5a.js";
5
+ import {
6
+ withZoraThemeScope
7
+ } from "./Accordion-zhgty1ae.js";
8
+ import {
9
+ View2
10
+ } from "./Accordion-k9n1yse4.js";
11
+ import {
12
+ useZoraTheme2
13
+ } from "./Accordion-x1ze1wvk.js";
14
+
15
+ // src/features/bottom-sheet/adapters/inbound/BottomSheet.tsx
16
+ import { useBottomSheet } from "@ankhorage/surface/web";
17
+ import React from "react";
18
+ import { jsx } from "react/jsx-runtime";
19
+ var BottomSheet2 = withZoraThemeScope(BottomSheetInner);
20
+ function BottomSheetInner({
21
+ mode: _mode,
22
+ themeId: _themeId,
23
+ children,
24
+ open = false,
25
+ interactionPolicy,
26
+ testID,
27
+ snapPoints,
28
+ initialIndex,
29
+ enableDynamicSizing,
30
+ enablePanDownToClose,
31
+ dismissOnBackdropPress,
32
+ keyboardBehavior,
33
+ keyboardBlurBehavior,
34
+ onDismiss,
35
+ onIndexChange
36
+ }) {
37
+ const { present, dismiss } = useBottomSheet();
38
+ const { mode } = useZoraTheme2();
39
+ const { themeId } = useZoraThemeRuntime();
40
+ const active = open && interactionPolicy !== "passive";
41
+ const dismissed = React.useRef(false);
42
+ React.useEffect(() => {
43
+ dismissed.current = false;
44
+ if (!active)
45
+ return;
46
+ return () => {
47
+ dismiss();
48
+ };
49
+ }, [active, dismiss]);
50
+ React.useEffect(() => {
51
+ if (!active || dismissed.current)
52
+ return;
53
+ present({
54
+ content: /* @__PURE__ */ jsx(View2, {
55
+ mode,
56
+ themeId,
57
+ testID,
58
+ children
59
+ }),
60
+ snapPoints,
61
+ initialIndex,
62
+ enableDynamicSizing,
63
+ enablePanDownToClose,
64
+ dismissOnBackdropPress,
65
+ keyboardBehavior,
66
+ keyboardBlurBehavior,
67
+ onDismiss: () => {
68
+ dismissed.current = true;
69
+ onDismiss?.();
70
+ },
71
+ onIndexChange: (index) => onIndexChange?.({ index })
72
+ });
73
+ }, [
74
+ active,
75
+ children,
76
+ dismissOnBackdropPress,
77
+ enableDynamicSizing,
78
+ enablePanDownToClose,
79
+ initialIndex,
80
+ keyboardBehavior,
81
+ keyboardBlurBehavior,
82
+ mode,
83
+ onDismiss,
84
+ onIndexChange,
85
+ present,
86
+ snapPoints,
87
+ testID,
88
+ themeId
89
+ ]);
90
+ return null;
91
+ }
92
+
93
+ // src/features/bottom-sheet/public.ts
94
+ import {
95
+ BottomSheetFlatList as BottomSheetFlatList2,
96
+ BottomSheetScrollView as BottomSheetScrollView2,
97
+ BottomSheetSectionList as BottomSheetSectionList2,
98
+ BottomSheetView as BottomSheetView2,
99
+ BottomSheetVirtualizedList as BottomSheetVirtualizedList2,
100
+ useBottomSheet as useBottomSheet2
101
+ } from "@ankhorage/surface/web";
102
+
103
+ export { BottomSheet2, BottomSheetFlatList2, BottomSheetScrollView2, BottomSheetSectionList2, BottomSheetView2, BottomSheetVirtualizedList2 };
@@ -1,24 +1,88 @@
1
1
  'use client';
2
- import {
3
- parseHexColor,
4
- getReadableForeground
5
- } from "./Accordion-9d38cgqj.js";
6
2
  import {
7
3
  withZoraThemeScope
8
- } from "./Accordion-tk8zf9ff.js";
4
+ } from "./Accordion-zhgty1ae.js";
9
5
  import {
10
6
  useZoraTheme2
11
- } from "./Accordion-b1y5mjac.js";
7
+ } from "./Accordion-x1ze1wvk.js";
12
8
  import {
13
- require_cjs
14
- } from "./Accordion-xgpzh4wq.js";
9
+ contrastRatio
10
+ } from "./Accordion-cwx73cjc.js";
15
11
  import {
16
- __toESM
17
- } from "./Accordion-nh0cs9hq.js";
12
+ parseHexColor,
13
+ parseHexColorOrThrow
14
+ } from "./Accordion-fsdgssfq.js";
18
15
 
19
16
  // src/features/tabletop/adapters/inbound/CardBack.tsx
20
- var import_react_native = __toESM(require_cjs(), 1);
21
17
  import React from "react";
18
+ import { StyleSheet, View } from "react-native-web";
19
+
20
+ // node_modules/@ankhorage/color-theory/dist/contrast.js
21
+ var BLACK = parseHexColorOrThrow("#000000");
22
+ var WHITE = parseHexColorOrThrow("#FFFFFF");
23
+ function getContrastRatio(colorA, colorB) {
24
+ return contrastRatio(colorA, colorB);
25
+ }
26
+ function selectReadableForeground(background, foregrounds, minimumContrast, tiePolicy) {
27
+ assertMinimumContrast(minimumContrast);
28
+ if (foregrounds.length === 0) {
29
+ throw new Error("[color-theory] Foreground candidates must not be empty.");
30
+ }
31
+ const normalizedBackground = parseHexColorOrThrow(background);
32
+ const measured = foregrounds.map((foreground, index) => {
33
+ const normalizedForeground = parseHexColorOrThrow(foreground);
34
+ return {
35
+ foreground: normalizedForeground,
36
+ contrast: getContrastRatio(normalizedBackground, normalizedForeground),
37
+ index
38
+ };
39
+ });
40
+ const passing = measured.filter(({ contrast }) => contrast >= minimumContrast);
41
+ const strongestContrast = Math.max(...passing.map(({ contrast }) => contrast));
42
+ const strongest = passing.filter(({ contrast }) => contrast === strongestContrast);
43
+ const selectedMeasured = tiePolicy === "first" ? strongest.at(0) : strongest.at(-1);
44
+ const tieBreakApplied = strongest.length > 1;
45
+ const candidates = measured.map(({ foreground, contrast, index }) => {
46
+ const selected = selectedMeasured?.index === index;
47
+ return {
48
+ foreground,
49
+ contrast,
50
+ passesMinimum: contrast >= minimumContrast,
51
+ selected,
52
+ ...!selected ? {
53
+ rejectionReason: getForegroundRejectionReason(contrast, minimumContrast, strongestContrast)
54
+ } : {}
55
+ };
56
+ });
57
+ return {
58
+ selected: candidates.find(({ selected }) => selected) ?? null,
59
+ candidates,
60
+ minimumContrast,
61
+ tieBreak: { policy: tiePolicy, applied: tieBreakApplied }
62
+ };
63
+ }
64
+ function getReadableForeground(background) {
65
+ const result = selectReadableForeground(background, [BLACK, WHITE], 1, "first");
66
+ if (!result.selected) {
67
+ throw new Error("[color-theory] Expected black or white to be a readable foreground.");
68
+ }
69
+ return {
70
+ foreground: result.selected.foreground,
71
+ contrast: result.selected.contrast
72
+ };
73
+ }
74
+ function assertMinimumContrast(minimumContrast) {
75
+ if (!Number.isFinite(minimumContrast) || minimumContrast < 1 || minimumContrast > 21) {
76
+ throw new Error(`[color-theory] Minimum contrast must be a finite ratio from 1 through 21: ${minimumContrast}.`);
77
+ }
78
+ }
79
+ function getForegroundRejectionReason(contrast, minimumContrast, strongestContrast) {
80
+ if (contrast < minimumContrast)
81
+ return "minimum-contrast";
82
+ if (contrast < strongestContrast)
83
+ return "weaker-contrast";
84
+ return "tie-break";
85
+ }
22
86
 
23
87
  // src/features/tabletop/utils/createTabletopColorScheme.ts
24
88
  var MINIMUM_READABLE_CONTRAST = 4.5;
@@ -54,7 +118,7 @@ function createTabletopColorScheme(theme, overrides = {}) {
54
118
  };
55
119
  }
56
120
  function resolveReadableTextColor(background, preferred, fallback) {
57
- const preferredContrast = getContrastRatio(background, preferred);
121
+ const preferredContrast = getContrastRatio2(background, preferred);
58
122
  if (preferredContrast !== null && preferredContrast >= MINIMUM_READABLE_CONTRAST) {
59
123
  return preferred;
60
124
  }
@@ -66,7 +130,7 @@ function resolveReadableTextColor(background, preferred, fallback) {
66
130
  fallback,
67
131
  ...strongestForeground === undefined ? [] : [strongestForeground]
68
132
  ]);
69
- const [readableCandidate] = candidates.map((candidate) => ({ candidate, contrast: getContrastRatio(background, candidate) })).filter((entry) => entry.contrast !== null).sort((left, right) => right.contrast - left.contrast);
133
+ const [readableCandidate] = candidates.map((candidate) => ({ candidate, contrast: getContrastRatio2(background, candidate) })).filter((entry) => entry.contrast !== null).sort((left, right) => right.contrast - left.contrast);
70
134
  return readableCandidate?.candidate ?? preferred;
71
135
  }
72
136
  function toHexColor(color) {
@@ -75,7 +139,7 @@ function toHexColor(color) {
75
139
  function uniqueColors(colors) {
76
140
  return [...new Set(colors)];
77
141
  }
78
- function getContrastRatio(background, foreground) {
142
+ function getContrastRatio2(background, foreground) {
79
143
  const backgroundColor = parseHexColor2(background);
80
144
  const foregroundColor = parseHexColor2(foreground);
81
145
  if (backgroundColor === null || foregroundColor === null)
@@ -181,7 +245,7 @@ function CardBackInner({
181
245
  const { theme } = useZoraTheme2();
182
246
  const colors = React.useMemo(() => createTabletopColorScheme(theme, colorScheme), [colorScheme, theme]);
183
247
  const dimensions = getTabletopCardDimensions(size);
184
- return /* @__PURE__ */ jsx(import_react_native.View, {
248
+ return /* @__PURE__ */ jsx(View, {
185
249
  accessibilityLabel: accessibilityLabel ?? "Hidden card",
186
250
  accessibilityRole: "image",
187
251
  style: [
@@ -196,7 +260,7 @@ function CardBackInner({
196
260
  }
197
261
  ],
198
262
  testID,
199
- children: /* @__PURE__ */ jsx(import_react_native.View, {
263
+ children: /* @__PURE__ */ jsx(View, {
200
264
  style: [
201
265
  styles.inner,
202
266
  {
@@ -207,7 +271,7 @@ function CardBackInner({
207
271
  })
208
272
  });
209
273
  }
210
- var styles = import_react_native.StyleSheet.create({
274
+ var styles = StyleSheet.create({
211
275
  card: {
212
276
  alignItems: "center",
213
277
  borderWidth: 1,
@@ -221,11 +285,11 @@ var styles = import_react_native.StyleSheet.create({
221
285
  }
222
286
  });
223
287
  // src/features/tabletop/adapters/inbound/CardHand.tsx
224
- var import_react_native3 = __toESM(require_cjs(), 1);
288
+ import { StyleSheet as StyleSheet3, View as View3 } from "react-native-web";
225
289
 
226
290
  // src/features/tabletop/adapters/inbound/PlayingCard.tsx
227
- var import_react_native2 = __toESM(require_cjs(), 1);
228
291
  import React2 from "react";
292
+ import { StyleSheet as StyleSheet2, Text, View as View2 } from "react-native-web";
229
293
 
230
294
  // src/features/tabletop/utils/getPlayingCardLabel.ts
231
295
  var rankLabels = { A: "ace", J: "jack", K: "king", Q: "queen" };
@@ -250,7 +314,7 @@ function PlayingCardInner({
250
314
  const colors = React2.useMemo(() => createTabletopColorScheme(theme, colorScheme), [colorScheme, theme]);
251
315
  const dimensions = getTabletopCardDimensions(size);
252
316
  const suitColor = card.suit === "hearts" || card.suit === "diamonds" ? colors.redSuitText : colors.cardText;
253
- return /* @__PURE__ */ jsxs(import_react_native2.View, {
317
+ return /* @__PURE__ */ jsxs(View2, {
254
318
  accessibilityLabel: accessibilityLabel ?? getPlayingCardLabel(card),
255
319
  accessibilityRole: "image",
256
320
  style: [
@@ -266,7 +330,7 @@ function PlayingCardInner({
266
330
  ],
267
331
  testID,
268
332
  children: [
269
- /* @__PURE__ */ jsx2(import_react_native2.Text, {
333
+ /* @__PURE__ */ jsx2(Text, {
270
334
  selectable: false,
271
335
  style: [
272
336
  styles2.rank,
@@ -278,7 +342,7 @@ function PlayingCardInner({
278
342
  ],
279
343
  children: card.rank
280
344
  }),
281
- /* @__PURE__ */ jsx2(import_react_native2.Text, {
345
+ /* @__PURE__ */ jsx2(Text, {
282
346
  selectable: false,
283
347
  style: [
284
348
  styles2.suit,
@@ -293,7 +357,7 @@ function PlayingCardInner({
293
357
  ]
294
358
  });
295
359
  }
296
- var styles2 = import_react_native2.StyleSheet.create({
360
+ var styles2 = StyleSheet2.create({
297
361
  card: {
298
362
  alignItems: "center",
299
363
  borderWidth: 1,
@@ -324,7 +388,7 @@ function CardHandInner({
324
388
  testID
325
389
  }) {
326
390
  const hiddenCards = createFaceDownCards(faceDownCards);
327
- return /* @__PURE__ */ jsxs2(import_react_native3.View, {
391
+ return /* @__PURE__ */ jsxs2(View3, {
328
392
  accessibilityLabel,
329
393
  style: styles3.hand,
330
394
  testID,
@@ -345,7 +409,7 @@ function CardHandInner({
345
409
  ]
346
410
  });
347
411
  }
348
- var styles3 = import_react_native3.StyleSheet.create({
412
+ var styles3 = StyleSheet3.create({
349
413
  hand: {
350
414
  alignItems: "center",
351
415
  flexDirection: "row",
@@ -468,8 +532,8 @@ function createPokerAccessibilityLabel(tableSize, heroPosition, task) {
468
532
  }
469
533
 
470
534
  // src/features/tabletop/adapters/inbound/TabletopTable.tsx
471
- var import_react_native4 = __toESM(require_cjs(), 1);
472
535
  import React3 from "react";
536
+ import { StyleSheet as StyleSheet4, Text as Text2, View as View4 } from "react-native-web";
473
537
 
474
538
  // src/features/tabletop/utils/getTabletopSeatPosition.ts
475
539
  var fallbackSeatPosition = { top: "82%", left: "50%" };
@@ -592,7 +656,7 @@ function TabletopTableInner({
592
656
  const { theme } = useZoraTheme2();
593
657
  const colors = React3.useMemo(() => createTabletopColorScheme(theme, colorScheme), [colorScheme, theme]);
594
658
  const resolvedSeatCount = seatCount ?? seats.length;
595
- return /* @__PURE__ */ jsxs3(import_react_native4.View, {
659
+ return /* @__PURE__ */ jsxs3(View4, {
596
660
  accessibilityLabel,
597
661
  style: [
598
662
  styles4.root,
@@ -600,7 +664,7 @@ function TabletopTableInner({
600
664
  ],
601
665
  testID,
602
666
  children: [
603
- /* @__PURE__ */ jsxs3(import_react_native4.View, {
667
+ /* @__PURE__ */ jsxs3(View4, {
604
668
  style: [
605
669
  styles4.surface,
606
670
  shape === "circle" ? styles4.circleSurface : styles4.ovalSurface,
@@ -611,7 +675,7 @@ function TabletopTableInner({
611
675
  }
612
676
  ],
613
677
  children: [
614
- /* @__PURE__ */ jsx4(import_react_native4.View, {
678
+ /* @__PURE__ */ jsx4(View4, {
615
679
  pointerEvents: "none",
616
680
  style: [
617
681
  styles4.innerSurface,
@@ -620,7 +684,7 @@ function TabletopTableInner({
620
684
  { borderColor: colors.tableInnerBorder }
621
685
  ]
622
686
  }),
623
- /* @__PURE__ */ jsxs3(import_react_native4.View, {
687
+ /* @__PURE__ */ jsxs3(View4, {
624
688
  style: styles4.centerContent,
625
689
  children: [
626
690
  centerCards.length > 0 ? /* @__PURE__ */ jsx4(CardHand2, {
@@ -628,14 +692,14 @@ function TabletopTableInner({
628
692
  colorScheme,
629
693
  size: cardSize
630
694
  }) : null,
631
- centerLabel !== undefined ? /* @__PURE__ */ jsx4(import_react_native4.View, {
695
+ centerLabel !== undefined ? /* @__PURE__ */ jsx4(View4, {
632
696
  style: [styles4.centerLabel, { backgroundColor: colors.seatSurface }],
633
- children: /* @__PURE__ */ jsx4(import_react_native4.Text, {
697
+ children: /* @__PURE__ */ jsx4(Text2, {
634
698
  style: [styles4.centerLabelText, { color: colors.seatText }],
635
699
  children: centerLabel
636
700
  })
637
701
  }) : null,
638
- centerSublabel !== undefined ? /* @__PURE__ */ jsx4(import_react_native4.Text, {
702
+ centerSublabel !== undefined ? /* @__PURE__ */ jsx4(Text2, {
639
703
  style: [styles4.centerSublabel, { color: colors.tableMutedText }],
640
704
  children: centerSublabel
641
705
  }) : null
@@ -647,7 +711,7 @@ function TabletopTableInner({
647
711
  const position = getTabletopSeatPosition(index, resolvedSeatCount);
648
712
  const hasCards = seat.cards !== undefined || seat.faceDownCards !== undefined;
649
713
  const seatCardSize = seat.selected && cardSize === "small" ? "medium" : cardSize;
650
- return /* @__PURE__ */ jsxs3(import_react_native4.View, {
714
+ return /* @__PURE__ */ jsxs3(View4, {
651
715
  accessibilityLabel: createSeatAccessibilityLabel(seat),
652
716
  accessibilityRole: "summary",
653
717
  style: [
@@ -660,7 +724,7 @@ function TabletopTableInner({
660
724
  ],
661
725
  testID: testID ? `${testID}-seat-${seat.id}` : undefined,
662
726
  children: [
663
- /* @__PURE__ */ jsxs3(import_react_native4.View, {
727
+ /* @__PURE__ */ jsxs3(View4, {
664
728
  style: [
665
729
  styles4.seatPanel,
666
730
  seat.selected ? styles4.selectedSeatPanel : null,
@@ -677,14 +741,14 @@ function TabletopTableInner({
677
741
  muted: seat.muted ?? seat.disabled,
678
742
  size: seatCardSize
679
743
  }) : null,
680
- /* @__PURE__ */ jsxs3(import_react_native4.View, {
744
+ /* @__PURE__ */ jsxs3(View4, {
681
745
  style: styles4.seatTextGroup,
682
746
  children: [
683
- /* @__PURE__ */ jsx4(import_react_native4.Text, {
747
+ /* @__PURE__ */ jsx4(Text2, {
684
748
  style: [styles4.seatLabel, { color: colors.seatText }],
685
749
  children: seat.label
686
750
  }),
687
- seat.sublabel !== undefined ? /* @__PURE__ */ jsx4(import_react_native4.Text, {
751
+ seat.sublabel !== undefined ? /* @__PURE__ */ jsx4(Text2, {
688
752
  style: [styles4.seatSublabel, { color: colors.seatMutedText }],
689
753
  children: seat.sublabel
690
754
  }) : null
@@ -692,7 +756,7 @@ function TabletopTableInner({
692
756
  })
693
757
  ]
694
758
  }),
695
- seat.tokenLabel !== undefined ? /* @__PURE__ */ jsx4(import_react_native4.View, {
759
+ seat.tokenLabel !== undefined ? /* @__PURE__ */ jsx4(View4, {
696
760
  style: [
697
761
  styles4.token,
698
762
  {
@@ -700,7 +764,7 @@ function TabletopTableInner({
700
764
  borderColor: seat.selected ? colors.seatSelectedBorder : colors.tableInnerBorder
701
765
  }
702
766
  ],
703
- children: /* @__PURE__ */ jsx4(import_react_native4.Text, {
767
+ children: /* @__PURE__ */ jsx4(Text2, {
704
768
  style: [styles4.tokenText, { color: colors.tokenText }],
705
769
  children: seat.tokenLabel
706
770
  })
@@ -711,7 +775,7 @@ function TabletopTableInner({
711
775
  ]
712
776
  });
713
777
  }
714
- var styles4 = import_react_native4.StyleSheet.create({
778
+ var styles4 = StyleSheet4.create({
715
779
  centerContent: {
716
780
  alignItems: "center",
717
781
  gap: 6,
@@ -0,0 +1,219 @@
1
+ 'use client';
2
+ import {
3
+ withZoraThemeScope
4
+ } from "./Accordion-zhgty1ae.js";
5
+ import {
6
+ useZoraThemeRecipe,
7
+ ZORA_COLORS
8
+ } from "./Accordion-fkftnxgw.js";
9
+ import {
10
+ View2
11
+ } from "./Accordion-k9n1yse4.js";
12
+
13
+ // src/features/button/adapters/inbound/Button.tsx
14
+ import { Button as SurfaceButton } from "@ankhorage/surface/web";
15
+
16
+ // src/features/button/utils/resolveButtonRecipe.ts
17
+ function resolveButtonRecipe({
18
+ color = "primary",
19
+ variant = "solid",
20
+ size = "l"
21
+ }) {
22
+ return { size, color, variant };
23
+ }
24
+
25
+ // src/features/button/utils/resolveButtonThemeRecipe.ts
26
+ function resolveButtonThemeRecipe(input) {
27
+ return resolveButtonRecipe({
28
+ color: input.color ?? readColor(input.themeFields.color),
29
+ variant: input.variant ?? readVariant(input.themeFields.variant),
30
+ size: input.size ?? readSize(input.themeFields.size)
31
+ });
32
+ }
33
+ function readColor(value) {
34
+ if (typeof value !== "string")
35
+ return;
36
+ if (value === "primary" || value === "secondary" || value === "tertiary")
37
+ return value;
38
+ if (value === "quaternary" || value === "neutral" || value === "danger")
39
+ return value;
40
+ if (value === "success" || value === "warning" || value === "error" || value === "info")
41
+ return value;
42
+ return;
43
+ }
44
+ function readVariant(value) {
45
+ if (value === "solid" || value === "outline" || value === "ghost" || value === "soft")
46
+ return value;
47
+ return;
48
+ }
49
+ function readSize(value) {
50
+ if (value === "s" || value === "m" || value === "l")
51
+ return value;
52
+ return;
53
+ }
54
+
55
+ // src/features/button/utils/themeRecipeMeta.ts
56
+ var buttonThemeRecipeMeta = {
57
+ name: "Button",
58
+ kind: "component",
59
+ description: "Maps shared semantic choices into Button presentation defaults.",
60
+ fields: {
61
+ color: {
62
+ type: "choice",
63
+ label: "Color",
64
+ options: ZORA_COLORS,
65
+ default: "primary"
66
+ },
67
+ variant: {
68
+ type: "choice",
69
+ label: "Variant",
70
+ options: ["solid", "outline", "ghost", "soft"],
71
+ default: "solid"
72
+ },
73
+ size: {
74
+ type: "choice",
75
+ label: "Size",
76
+ description: "A Button-specific semantic scale, not a universal pixel size.",
77
+ options: ["s", "m", "l"],
78
+ default: "l"
79
+ }
80
+ }
81
+ };
82
+
83
+ // src/features/button/adapters/inbound/Button.tsx
84
+ import { jsx } from "react/jsx-runtime";
85
+ var Button2 = withZoraThemeScope(ButtonInner);
86
+ function ButtonInner({
87
+ themeId: _themeId,
88
+ mode: _mode,
89
+ color,
90
+ variant,
91
+ size,
92
+ interactionPolicy,
93
+ ...props
94
+ }) {
95
+ const themeFields = useZoraThemeRecipe(buttonThemeRecipeMeta);
96
+ const recipe = resolveButtonThemeRecipe({ color, variant, size, themeFields });
97
+ return /* @__PURE__ */ jsx(SurfaceButton, {
98
+ ...props,
99
+ color: recipe.color,
100
+ size: recipe.size,
101
+ variant: recipe.variant,
102
+ interactionPolicy
103
+ });
104
+ }
105
+ // src/features/button/adapters/inbound/ButtonGroup.tsx
106
+ import React from "react";
107
+ import { jsx as jsx2 } from "react/jsx-runtime";
108
+ var ButtonGroup2 = withZoraThemeScope(ButtonGroupInner);
109
+ function resolveDirection(orientation) {
110
+ if (orientation === "vertical") {
111
+ return "column";
112
+ }
113
+ if (orientation === "responsive") {
114
+ return { base: "column", md: "row" };
115
+ }
116
+ return "row";
117
+ }
118
+ function resolveHorizontalJustify(align) {
119
+ switch (align) {
120
+ case "start":
121
+ return "flex-start";
122
+ case "center":
123
+ return "center";
124
+ case "between":
125
+ return "space-between";
126
+ case "stretch":
127
+ case "end":
128
+ default:
129
+ return "flex-end";
130
+ }
131
+ }
132
+ function resolveVerticalAlign(align) {
133
+ switch (align) {
134
+ case "start":
135
+ return "flex-start";
136
+ case "center":
137
+ case "between":
138
+ return "center";
139
+ case "stretch":
140
+ return "stretch";
141
+ case "end":
142
+ default:
143
+ return "flex-end";
144
+ }
145
+ }
146
+ function resolveStackAlign(align, orientation) {
147
+ if (orientation === "horizontal") {
148
+ return align === "stretch" ? "stretch" : "center";
149
+ }
150
+ if (orientation === "responsive") {
151
+ return {
152
+ base: resolveVerticalAlign(align),
153
+ md: align === "stretch" ? "stretch" : "center"
154
+ };
155
+ }
156
+ return resolveVerticalAlign(align);
157
+ }
158
+ function resolveStackJustify(align, orientation) {
159
+ if (orientation === "horizontal") {
160
+ return resolveHorizontalJustify(align);
161
+ }
162
+ if (orientation === "responsive") {
163
+ return {
164
+ base: align === "between" ? "space-between" : "flex-start",
165
+ md: resolveHorizontalJustify(align)
166
+ };
167
+ }
168
+ return align === "between" ? "space-between" : "flex-start";
169
+ }
170
+ function ButtonGroupInner({
171
+ themeId: _themeId,
172
+ mode: _mode,
173
+ children,
174
+ align = "end",
175
+ orientation = "horizontal",
176
+ gap = "s",
177
+ reverse = false,
178
+ testID,
179
+ interactionPolicy: _interactionPolicy
180
+ }) {
181
+ const items = React.Children.toArray(children);
182
+ const orderedItems = reverse ? items.reverse() : items;
183
+ return /* @__PURE__ */ jsx2(View2, {
184
+ align: resolveStackAlign(align, orientation),
185
+ direction: resolveDirection(orientation),
186
+ gap,
187
+ justify: resolveStackJustify(align, orientation),
188
+ testID,
189
+ children: orderedItems
190
+ });
191
+ }
192
+ // src/features/button/adapters/inbound/IconButton.tsx
193
+ import { IconButton as SurfaceIconButton } from "@ankhorage/surface/web";
194
+ import { jsx as jsx3 } from "react/jsx-runtime";
195
+ var IconButton2 = withZoraThemeScope(IconButtonInner);
196
+ function IconButtonInner({
197
+ themeId: _themeId,
198
+ mode: _mode,
199
+ icon,
200
+ iconName,
201
+ label,
202
+ variant = "ghost",
203
+ color = "neutral",
204
+ size = "m",
205
+ interactionPolicy,
206
+ ...props
207
+ }) {
208
+ const recipe = resolveButtonRecipe({ color, variant, size });
209
+ return /* @__PURE__ */ jsx3(SurfaceIconButton, {
210
+ ...props,
211
+ icon: icon ?? { name: iconName ?? "add" },
212
+ accessibilityLabel: label,
213
+ color: recipe.color,
214
+ size: recipe.size,
215
+ variant: recipe.variant,
216
+ interactionPolicy
217
+ });
218
+ }
219
+ export { Button2, ButtonGroup2, IconButton2 };