@ankhorage/zora 28.0.0 → 28.1.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 (278) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js.map +1 -1
  4. package/dist/features/color/ColorHexField.d.ts +1 -1
  5. package/dist/features/color/ColorHexField.d.ts.map +1 -1
  6. package/dist/features/color/ColorHexField.js +30 -3
  7. package/dist/features/color/ColorHexField.js.map +1 -1
  8. package/dist/features/color/ColorPicker.d.ts.map +1 -1
  9. package/dist/features/color/ColorPicker.js +124 -63
  10. package/dist/features/color/ColorPicker.js.map +1 -1
  11. package/dist/features/color/ColorWheel.d.ts.map +1 -1
  12. package/dist/features/color/ColorWheel.js +33 -22
  13. package/dist/features/color/ColorWheel.js.map +1 -1
  14. package/dist/features/color/ColorWheelKeyboardProxy.d.ts +1 -0
  15. package/dist/features/color/ColorWheelKeyboardProxy.d.ts.map +1 -1
  16. package/dist/features/color/ColorWheelKeyboardProxy.js.map +1 -1
  17. package/dist/features/color/ColorWheelKeyboardProxy.web.d.ts +1 -1
  18. package/dist/features/color/ColorWheelKeyboardProxy.web.d.ts.map +1 -1
  19. package/dist/features/color/ColorWheelKeyboardProxy.web.js +4 -4
  20. package/dist/features/color/ColorWheelKeyboardProxy.web.js.map +1 -1
  21. package/dist/features/color/ColorWheelPointerProxy.d.ts +1 -0
  22. package/dist/features/color/ColorWheelPointerProxy.d.ts.map +1 -1
  23. package/dist/features/color/ColorWheelPointerProxy.js.map +1 -1
  24. package/dist/features/color/ColorWheelPointerProxy.native.d.ts +3 -2
  25. package/dist/features/color/ColorWheelPointerProxy.native.d.ts.map +1 -1
  26. package/dist/features/color/ColorWheelPointerProxy.native.js +12 -3
  27. package/dist/features/color/ColorWheelPointerProxy.native.js.map +1 -1
  28. package/dist/features/color/ColorWheelPointerProxy.web.d.ts +1 -1
  29. package/dist/features/color/ColorWheelPointerProxy.web.d.ts.map +1 -1
  30. package/dist/features/color/ColorWheelPointerProxy.web.js +1 -1
  31. package/dist/features/color/ColorWheelPointerProxy.web.js.map +1 -1
  32. package/dist/features/color/resolveColorPickerGeometry.d.ts +31 -0
  33. package/dist/features/color/resolveColorPickerGeometry.d.ts.map +1 -0
  34. package/dist/features/color/resolveColorPickerGeometry.js +94 -0
  35. package/dist/features/color/resolveColorPickerGeometry.js.map +1 -0
  36. package/dist/features/color/utils/resolveWheelColor.d.ts +2 -2
  37. package/dist/features/color/utils/resolveWheelColor.d.ts.map +1 -1
  38. package/dist/features/color/utils/resolveWheelColor.js +2 -3
  39. package/dist/features/color/utils/resolveWheelColor.js.map +1 -1
  40. package/dist/features/form/select/adapters/inbound/Select.native.js.map +1 -1
  41. package/dist/features/form/select/composition/SelectTrigger.d.ts.map +1 -1
  42. package/dist/features/form/select/composition/SelectTrigger.js +2 -2
  43. package/dist/features/form/select/composition/SelectTrigger.js.map +1 -1
  44. package/dist/index.d.ts +2 -0
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +1 -0
  47. package/dist/index.js.map +1 -1
  48. package/dist/types/color.d.ts +9 -1
  49. package/dist/types/color.d.ts.map +1 -1
  50. package/dist/types/color.js.map +1 -1
  51. package/dist/types/select.d.ts +2 -0
  52. package/dist/types/select.d.ts.map +1 -1
  53. package/dist/types/select.js.map +1 -1
  54. package/package.json +5 -5
  55. package/src/features/bottom-sheet/adapters/inbound/BottomSheet.tsx +1 -1
  56. package/src/features/color/ColorHexField.tsx +67 -21
  57. package/src/features/color/ColorPicker.layout.test.tsx +19 -10
  58. package/src/features/color/ColorPicker.tsx +319 -115
  59. package/src/features/color/ColorWheel.tsx +53 -51
  60. package/src/features/color/ColorWheelKeyboardProxy.tsx +1 -0
  61. package/src/features/color/ColorWheelKeyboardProxy.web.tsx +4 -3
  62. package/src/features/color/ColorWheelPointerProxy.native.tsx +25 -3
  63. package/src/features/color/ColorWheelPointerProxy.tsx +1 -0
  64. package/src/features/color/ColorWheelPointerProxy.web.tsx +1 -0
  65. package/src/features/color/resolveColorPickerGeometry.test.ts +43 -0
  66. package/src/features/color/resolveColorPickerGeometry.ts +116 -0
  67. package/src/features/color/utils/resolveWheelColor.ts +2 -3
  68. package/src/features/form/select/adapters/inbound/Select.native.tsx +1 -1
  69. package/src/features/form/select/composition/SelectTrigger.tsx +2 -1
  70. package/src/index.ts +6 -0
  71. package/src/types/color.ts +9 -1
  72. package/src/types/select.ts +2 -0
  73. package/web-dist/chunks/{Accordion-sn241nek.js → Accordion-01bsg7zt.js} +5 -5
  74. package/web-dist/chunks/{Accordion-jara9sqj.js → Accordion-01zvarrn.js} +8 -9
  75. package/web-dist/chunks/{Accordion-dxh9yn4f.js → Accordion-0dj1r7w3.js} +1 -1
  76. package/web-dist/chunks/{Accordion-nkppqfz4.js → Accordion-0xaq2k2h.js} +8 -8
  77. package/web-dist/chunks/{Accordion-3t2936t6.js → Accordion-15sxxjym.js} +4 -5
  78. package/web-dist/chunks/{Accordion-eq27a9ms.js → Accordion-1fz55hk4.js} +1 -1
  79. package/web-dist/chunks/{Accordion-q697hacs.js → Accordion-22cda3h5.js} +7 -8
  80. package/web-dist/chunks/{Accordion-3ar6p84m.js → Accordion-27yg9ktv.js} +3 -3
  81. package/web-dist/chunks/{Accordion-94vndckf.js → Accordion-34b3rwbc.js} +6 -8
  82. package/web-dist/chunks/{Accordion-8wm25z0h.js → Accordion-3zzzw7a8.js} +2 -2
  83. package/web-dist/chunks/{Accordion-00h253nv.js → Accordion-46n609yq.js} +13 -12
  84. package/web-dist/chunks/{Accordion-0t53jhx1.js → Accordion-4zb6dcys.js} +4 -7
  85. package/web-dist/chunks/{Accordion-dfv6p6gt.js → Accordion-5cjhz94e.js} +5 -5
  86. package/web-dist/chunks/{Accordion-5wx67nhg.js → Accordion-5mga7hty.js} +2 -2
  87. package/web-dist/chunks/{Accordion-kcx57mk5.js → Accordion-76b0qz8y.js} +24 -22
  88. package/web-dist/chunks/{Accordion-5adv6dv1.js → Accordion-78tknqmc.js} +4 -4
  89. package/web-dist/chunks/{Accordion-81rx3bh0.js → Accordion-7bd6zq4s.js} +9 -9
  90. package/web-dist/chunks/{Accordion-7ppf31tg.js → Accordion-8c4w7366.js} +5 -5
  91. package/web-dist/chunks/{Accordion-1b2t4k36.js → Accordion-8t6vh482.js} +3 -4
  92. package/web-dist/chunks/{Accordion-7d0e5vhe.js → Accordion-9d38cgqj.js} +87 -91
  93. package/web-dist/chunks/{Accordion-6wcbzxzb.js → Accordion-9k7ktksc.js} +212 -215
  94. package/web-dist/chunks/{Accordion-1dv8wytq.js → Accordion-afpjg1d6.js} +3 -4
  95. package/web-dist/chunks/{Accordion-j6hgazmz.js → Accordion-b1y5mjac.js} +1 -1
  96. package/web-dist/chunks/{Accordion-re4r47xn.js → Accordion-b8w0f8s0.js} +6 -7
  97. package/web-dist/chunks/{Accordion-9fhsfynt.js → Accordion-bexwrnfh.js} +3 -4
  98. package/web-dist/chunks/Accordion-chdbfcm6.js +93 -0
  99. package/web-dist/chunks/{Accordion-wbmzvfaw.js → Accordion-d405whfb.js} +2 -2
  100. package/web-dist/chunks/{Accordion-z9yw0xy9.js → Accordion-de8srt4x.js} +8 -8
  101. package/web-dist/chunks/{Accordion-dpkp0y4p.js → Accordion-epv5yhch.js} +3 -3
  102. package/web-dist/chunks/{Accordion-d4dp5ryp.js → Accordion-f4919ghm.js} +4 -4
  103. package/web-dist/chunks/{Accordion-0gae3kzr.js → Accordion-f8a49gy8.js} +19 -22
  104. package/web-dist/chunks/{Accordion-3s7zeagv.js → Accordion-fdzyyqe9.js} +1 -1
  105. package/web-dist/chunks/{Accordion-rev9ssd4.js → Accordion-gnxmybxx.js} +490 -205
  106. package/web-dist/chunks/{Accordion-36674tfw.js → Accordion-h1q243zq.js} +13 -11
  107. package/web-dist/chunks/{Accordion-dtt4qkrb.js → Accordion-h63c9k9k.js} +1 -1
  108. package/web-dist/chunks/{Accordion-43gp801f.js → Accordion-hdyzyw8q.js} +3 -3
  109. package/web-dist/chunks/{Accordion-phcp8d5v.js → Accordion-htvmkx8s.js} +118 -118
  110. package/web-dist/chunks/{Accordion-b41rev86.js → Accordion-jmxe6kw0.js} +9 -11
  111. package/web-dist/chunks/{Accordion-wpj8pd40.js → Accordion-kcm6jcpp.js} +2 -3
  112. package/web-dist/chunks/{Accordion-fcczvwgg.js → Accordion-mrstcjcm.js} +1 -0
  113. package/web-dist/chunks/{Accordion-6225tr9r.js → Accordion-mx7nkg85.js} +1 -1
  114. package/web-dist/chunks/{Accordion-pm2f2j32.js → Accordion-pdjhezmz.js} +2 -2
  115. package/web-dist/chunks/{Accordion-hbkzy0bg.js → Accordion-q046ws5p.js} +6 -6
  116. package/web-dist/chunks/{Accordion-tppk4vwt.js → Accordion-q11svb96.js} +19 -19
  117. package/web-dist/chunks/{Accordion-36j1fw8r.js → Accordion-qkkeyr18.js} +6 -8
  118. package/web-dist/chunks/{Accordion-c8mmgjtj.js → Accordion-qrt9xz0h.js} +7 -8
  119. package/web-dist/chunks/{Accordion-z1cq2mnx.js → Accordion-qsppnx7g.js} +10 -11
  120. package/web-dist/chunks/{Accordion-neg1cgeh.js → Accordion-rhjddvkh.js} +1 -2
  121. package/web-dist/chunks/{Accordion-238zba4h.js → Accordion-rtamzg9j.js} +47 -28
  122. package/web-dist/chunks/{Accordion-zzymcpty.js → Accordion-sfvqf4fz.js} +134 -132
  123. package/web-dist/chunks/{Accordion-ah1d9b6z.js → Accordion-sh79sr5g.js} +5 -5
  124. package/web-dist/chunks/{Accordion-wcw153f0.js → Accordion-t9n4ey2r.js} +5 -3
  125. package/web-dist/chunks/{Accordion-zte416jw.js → Accordion-tk8zf9ff.js} +3 -3
  126. package/web-dist/chunks/{Accordion-zypyr9xw.js → Accordion-tnyqv1xv.js} +296 -305
  127. package/web-dist/chunks/{Accordion-52s4t1aq.js → Accordion-v6vhyv31.js} +95 -165
  128. package/web-dist/chunks/{Accordion-m5baah44.js → Accordion-vkqqktc5.js} +3 -3
  129. package/web-dist/chunks/{Accordion-ytxgphds.js → Accordion-vzq344av.js} +2 -3
  130. package/web-dist/chunks/{Accordion-d2kg4729.js → Accordion-wb9pmykz.js} +5 -6
  131. package/web-dist/chunks/{Accordion-6r1e7k5r.js → Accordion-ww4f12ty.js} +1 -1
  132. package/web-dist/chunks/{Accordion-ec1tt3be.js → Accordion-xb9zhdhp.js} +42 -45
  133. package/web-dist/chunks/{Accordion-knb3e18b.js → Accordion-xfkg7dcw.js} +4 -5
  134. package/web-dist/chunks/{Accordion-6ec4gxv2.js → Accordion-xzaa9s7f.js} +12 -23
  135. package/web-dist/chunks/{Accordion-epwpdegg.js → Accordion-yrac5a7m.js} +1 -1
  136. package/web-dist/chunks/{zip-reader-f0yphjb9.js → zip-reader-5xrcmjr8.js} +1 -1
  137. package/web-dist/components/accordion/Accordion.js +11 -11
  138. package/web-dist/components/accordion-item/AccordionItem.js +11 -11
  139. package/web-dist/components/activity-indicator/ActivityIndicator.js +4 -4
  140. package/web-dist/components/app-bar/AppBar.js +18 -18
  141. package/web-dist/components/app-header/AppHeader.js +18 -18
  142. package/web-dist/components/app-shell/AppShell.js +5 -5
  143. package/web-dist/components/auth-screen/AuthScreen.js +21 -21
  144. package/web-dist/components/avatar/Avatar.js +11 -11
  145. package/web-dist/components/avatar-group/AvatarGroup.js +11 -11
  146. package/web-dist/components/badge/Badge.js +6 -6
  147. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +19 -19
  148. package/web-dist/components/bottom-sheet/BottomSheet.js +10 -7
  149. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +10 -7
  150. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +10 -7
  151. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +10 -7
  152. package/web-dist/components/bottom-sheet-view/BottomSheetView.js +10 -7
  153. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +10 -7
  154. package/web-dist/components/breadcrumbs/Breadcrumbs.js +13 -13
  155. package/web-dist/components/button/Button.js +11 -11
  156. package/web-dist/components/button-group/ButtonGroup.js +11 -11
  157. package/web-dist/components/calendar/Calendar.js +14 -14
  158. package/web-dist/components/camera-permission-view/CameraPermissionView.js +19 -19
  159. package/web-dist/components/card/Card.js +18 -18
  160. package/web-dist/components/card-back/CardBack.js +5 -5
  161. package/web-dist/components/card-hand/CardHand.js +5 -5
  162. package/web-dist/components/carousel/Carousel.js +2 -2
  163. package/web-dist/components/chat-list-item/ChatListItem.js +15 -15
  164. package/web-dist/components/checkbox/Checkbox.js +11 -11
  165. package/web-dist/components/checkbox-group/CheckboxGroup.js +11 -11
  166. package/web-dist/components/chess-board/ChessBoard.js +6 -6
  167. package/web-dist/components/chip/Chip.js +12 -12
  168. package/web-dist/components/chip-group/ChipGroup.js +12 -12
  169. package/web-dist/components/collection-editor/CollectionEditor.js +18 -18
  170. package/web-dist/components/color-hue-scale/ColorHueScale.js +27 -27
  171. package/web-dist/components/color-picker/ColorPicker.js +27 -27
  172. package/web-dist/components/color-picker/ColorPicker.types-0.d.ts +9 -1
  173. package/web-dist/components/color-tone/ColorTone.js +27 -27
  174. package/web-dist/components/color-wheel/ColorWheel.js +27 -27
  175. package/web-dist/components/color-wheel/ColorWheel.types-0.d.ts +8 -0
  176. package/web-dist/components/content-rail/ContentRail.js +12 -12
  177. package/web-dist/components/data-table/DataTable.js +26 -26
  178. package/web-dist/components/date-picker/DatePicker.js +20 -20
  179. package/web-dist/components/dialog/Dialog.js +11 -11
  180. package/web-dist/components/divider/Divider.js +5 -5
  181. package/web-dist/components/empty-state/EmptyState.js +19 -19
  182. package/web-dist/components/explorer/Explorer.js +13 -13
  183. package/web-dist/components/field/Field.js +11 -11
  184. package/web-dist/components/file-explorer/FileExplorer.js +13 -13
  185. package/web-dist/components/flat-list/FlatList.js +12 -12
  186. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +21 -21
  187. package/web-dist/components/form/Form.js +15 -15
  188. package/web-dist/components/form-actions/FormActions.js +15 -15
  189. package/web-dist/components/form-error/FormError.js +15 -15
  190. package/web-dist/components/game/Game.js +7 -6
  191. package/web-dist/components/game-entity/GameEntity.js +7 -6
  192. package/web-dist/components/game-field/GameField.js +7 -6
  193. package/web-dist/components/game-input-zone/GameInputZone.js +7 -6
  194. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +7 -6
  195. package/web-dist/components/game-overlay/GameOverlay.js +7 -6
  196. package/web-dist/components/gradient/Gradient.js +6 -6
  197. package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +6 -6
  198. package/web-dist/components/graph-view/GraphView.js +2 -2
  199. package/web-dist/components/grid/Grid.js +5 -5
  200. package/web-dist/components/grid-interactions/GridInteractions.js +1 -1
  201. package/web-dist/components/grid-line-overlay/GridLineOverlay.js +5 -5
  202. package/web-dist/components/grid-ruler/GridRuler.js +5 -5
  203. package/web-dist/components/grid-view/GridView.js +1 -1
  204. package/web-dist/components/heading/Heading.js +6 -6
  205. package/web-dist/components/hero/Hero.js +18 -18
  206. package/web-dist/components/icon/Icon.js +5 -5
  207. package/web-dist/components/icon-button/IconButton.js +11 -11
  208. package/web-dist/components/image/Image.js +9 -9
  209. package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +4 -4
  210. package/web-dist/components/list/List.js +12 -12
  211. package/web-dist/components/list-item/ListItem.js +12 -12
  212. package/web-dist/components/list-section/ListSection.js +12 -12
  213. package/web-dist/components/master-detail/MasterDetail.js +5 -5
  214. package/web-dist/components/matrix-grid/MatrixGrid.js +9 -9
  215. package/web-dist/components/media-card/MediaCard.js +18 -18
  216. package/web-dist/components/media-explorer/MediaExplorer.js +13 -13
  217. package/web-dist/components/message-bubble/MessageBubble.js +15 -15
  218. package/web-dist/components/metric-card/MetricCard.js +18 -18
  219. package/web-dist/components/missing-element/MissingElement.js +10 -10
  220. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +21 -21
  221. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +21 -21
  222. package/web-dist/components/opening-book/OpeningBook.js +6 -6
  223. package/web-dist/components/otp-form/OtpForm.js +21 -21
  224. package/web-dist/components/pagination/Pagination.js +12 -12
  225. package/web-dist/components/palette-item/PaletteItem.js +18 -18
  226. package/web-dist/components/playing-card/PlayingCard.js +5 -5
  227. package/web-dist/components/poker-training-table/PokerTrainingTable.js +5 -5
  228. package/web-dist/components/popover-menu/PopoverMenu.js +13 -13
  229. package/web-dist/components/post-card/PostCard.js +18 -18
  230. package/web-dist/components/product-card/ProductCard.js +18 -18
  231. package/web-dist/components/progress/Progress.js +9 -9
  232. package/web-dist/components/progress-ring/ProgressRing.js +9 -9
  233. package/web-dist/components/radio/Radio.js +13 -13
  234. package/web-dist/components/radio-group/RadioGroup.js +13 -13
  235. package/web-dist/components/rating/Rating.js +8 -8
  236. package/web-dist/components/reader/Reader.js +34 -34
  237. package/web-dist/components/scan-overlay/ScanOverlay.js +19 -19
  238. package/web-dist/components/screen/Screen.js +5 -5
  239. package/web-dist/components/screen-section/ScreenSection.js +9 -9
  240. package/web-dist/components/scroll-view/ScrollView.js +5 -5
  241. package/web-dist/components/search-input/SearchInput.js +13 -13
  242. package/web-dist/components/section-header/SectionHeader.js +9 -9
  243. package/web-dist/components/section-list/SectionList.js +12 -12
  244. package/web-dist/components/select/Select.js +20 -20
  245. package/web-dist/components/select/Select.types-0.d.ts +2 -0
  246. package/web-dist/components/selectable-item/SelectableItem.js +4 -4
  247. package/web-dist/components/selection-provider/SelectionProvider.js +4 -4
  248. package/web-dist/components/sign-in-form/SignInForm.js +21 -21
  249. package/web-dist/components/sign-up-form/SignUpForm.js +21 -21
  250. package/web-dist/components/skeleton/Skeleton.js +21 -21
  251. package/web-dist/components/skeleton-card/SkeletonCard.js +21 -21
  252. package/web-dist/components/skeleton-list/SkeletonList.js +21 -21
  253. package/web-dist/components/skeleton-text/SkeletonText.js +21 -21
  254. package/web-dist/components/spatial-grid/SpatialGrid.js +1 -1
  255. package/web-dist/components/surface/Surface.js +6 -6
  256. package/web-dist/components/switch/Switch.js +8 -8
  257. package/web-dist/components/tab/Tab.js +6 -6
  258. package/web-dist/components/tab-list/TabList.js +6 -6
  259. package/web-dist/components/tab-panel/TabPanel.js +6 -6
  260. package/web-dist/components/tabletop-table/TabletopTable.js +5 -5
  261. package/web-dist/components/tabs/Tabs.js +6 -6
  262. package/web-dist/components/text/Text.js +6 -6
  263. package/web-dist/components/text-input/TextInput.js +13 -13
  264. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +11 -11
  265. package/web-dist/components/tile-grid/TileGrid.js +1 -1
  266. package/web-dist/components/time-grid/TimeGrid.js +2 -2
  267. package/web-dist/components/time-picker/TimePicker.js +18 -18
  268. package/web-dist/components/timeline/Timeline.js +11 -11
  269. package/web-dist/components/toast/Toast.js +9 -9
  270. package/web-dist/components/toast-provider/ToastProvider.js +9 -9
  271. package/web-dist/components/toolbar/Toolbar.js +18 -18
  272. package/web-dist/components/tree-item/TreeItem.js +17 -17
  273. package/web-dist/components/tree-view/TreeView.js +1 -1
  274. package/web-dist/components/uploader/Uploader.js +23 -23
  275. package/web-dist/components/view/View.js +5 -5
  276. package/web-dist/manifest.json +1897 -1873
  277. package/web-dist/runtime/ZoraProvider.js +9 -9
  278. package/web-dist/chunks/{Accordion-vgkvvdvg.js → Accordion-ykk40jz9.js} +36 -36
@@ -4,7 +4,6 @@ import { Circle, Defs, Line, Path, Polygon, RadialGradient, Stop, Svg } from 're
4
4
 
5
5
  import type { ColorWheelProps } from '../../types/color';
6
6
  import { withZoraThemeScope } from '../theme/adapters/inbound/withZoraThemeScope';
7
- import { useZoraTheme } from '../theme/composition/useZoraTheme';
8
7
  import { ColorWheelKeyboardProxy } from './ColorWheelKeyboardProxy';
9
8
  import { ColorWheelPointerProxy } from './ColorWheelPointerProxy';
10
9
  import { resolveColorHue } from './utils/resolveColorHue';
@@ -15,7 +14,7 @@ import { resolveWheelColorComponents } from './utils/resolveWheelColorComponents
15
14
  const VIEWBOX = 1000;
16
15
  const CENTER = VIEWBOX / 2;
17
16
  const RADIUS = 480;
18
- const SEGMENTS = 96;
17
+ const SEGMENTS = 720;
19
18
  const MAX_CHROMA = 0.2;
20
19
 
21
20
  /*** Renders a size-owned, filled OKLCH wheel with controlled primary and harmony points. */
@@ -29,106 +28,104 @@ function ColorWheelInner({
29
28
  interactionPolicy,
30
29
  value,
31
30
  harmony = null,
31
+ toneTarget,
32
32
  onChange,
33
33
  size = 340,
34
34
  testID,
35
35
  }: ColorWheelProps) {
36
- const { theme } = useZoraTheme();
37
36
  const hue = resolveColorHue(value);
38
37
  const { chroma, lightness } = resolveWheelColorComponents(value);
39
- const primaryPoint = pointFor(hue, Math.min(1, chroma / MAX_CHROMA));
40
- const harmonyPoints = harmony
41
- ? generateHarmonyRoleColors(value, harmony).colors.map((color) => pointFor(color.hueDegrees))
42
- : [];
38
+ const targetLightness = toneTarget?.lightness ?? lightness;
39
+ const maximumChroma = toneTarget?.chroma ?? MAX_CHROMA;
40
+ const primaryPoint = pointFor(hue, Math.min(1, chroma / maximumChroma));
41
+ const harmonyRoles = harmony ? generateHarmonyRoleColors(value, harmony).colors : [];
42
+ const harmonyPoints = harmonyRoles.map((role) => ({
43
+ color: role.hex,
44
+ ...pointFor(
45
+ role.hueDegrees,
46
+ Math.min(1, resolveWheelColorComponents(role.hex).chroma / maximumChroma),
47
+ ),
48
+ }));
43
49
  const gradientId = `color-wheel-${React.useId().replaceAll(':', '')}`;
44
50
  const changeAt = (x: number, y: number) => {
45
51
  if (interactionPolicy !== 'passive')
46
- onChange({ color: resolveWheelColor(value, x, y, CENTER, RADIUS, MAX_CHROMA), harmony });
52
+ onChange({
53
+ color: resolveWheelColor(value, x, y, CENTER, RADIUS, maximumChroma, targetLightness),
54
+ harmony,
55
+ });
47
56
  };
48
57
  return (
49
58
  <ColorWheelKeyboardProxy
50
59
  chroma={chroma}
51
60
  disabled={interactionPolicy === 'passive'}
52
61
  hue={hue}
62
+ maxChroma={maximumChroma}
53
63
  onChange={(nextHue, nextChroma) =>
54
- onChange({ color: resolveOklchColor({ chroma: nextChroma, lightness }, nextHue), harmony })
64
+ onChange({
65
+ color: resolveOklchColor({ chroma: nextChroma, lightness: targetLightness }, nextHue),
66
+ harmony,
67
+ })
55
68
  }
56
69
  >
57
70
  <ColorWheelPointerProxy
58
71
  disabled={interactionPolicy === 'passive'}
59
72
  height={VIEWBOX}
60
73
  onChange={changeAt}
74
+ renderedSize={size}
61
75
  width={VIEWBOX}
62
76
  >
63
77
  <Svg
64
78
  accessibilityLabel="Color wheel"
65
79
  height={size}
66
- onResponderGrant={(event) =>
67
- changeAt(
68
- (event.nativeEvent.locationX / size) * VIEWBOX,
69
- (event.nativeEvent.locationY / size) * VIEWBOX,
70
- )
71
- }
72
- onResponderMove={(event) =>
73
- changeAt(
74
- (event.nativeEvent.locationX / size) * VIEWBOX,
75
- (event.nativeEvent.locationY / size) * VIEWBOX,
76
- )
77
- }
78
- onResponderRelease={(event) =>
79
- changeAt(
80
- (event.nativeEvent.locationX / size) * VIEWBOX,
81
- (event.nativeEvent.locationY / size) * VIEWBOX,
82
- )
83
- }
84
- onStartShouldSetResponder={() => interactionPolicy !== 'passive'}
85
80
  testID={testID}
86
81
  viewBox={`0 0 ${VIEWBOX} ${VIEWBOX}`}
87
82
  width={size}
88
83
  >
89
84
  <Defs>
90
- {segments().map((segment) => (
85
+ {segments(targetLightness, maximumChroma).map((segment) => (
91
86
  <RadialGradient
92
87
  cx={CENTER}
93
88
  cy={CENTER}
89
+ gradientUnits="userSpaceOnUse"
94
90
  id={`${gradientId}-${segment.hue}`}
95
91
  key={segment.hue}
96
92
  r={RADIUS}
97
93
  >
98
- <Stop
99
- offset="0"
100
- stopColor={resolveOklchColor({ chroma: 0, lightness: 0.72 }, segment.hue)}
101
- />
94
+ <Stop offset="0" stopColor={segment.centerColor} />
102
95
  <Stop offset="1" stopColor={segment.color} />
103
96
  </RadialGradient>
104
97
  ))}
105
98
  </Defs>
106
- {segments().map((segment) => (
99
+ {segments(targetLightness, maximumChroma).map((segment) => (
107
100
  <Path d={segment.path} fill={`url(#${gradientId}-${segment.hue})`} key={segment.hue} />
108
101
  ))}
109
- {harmonyPoints.length === 3 ? (
102
+ {harmonyPoints.length >= 3 ? (
110
103
  <Polygon
111
104
  fill="none"
112
105
  points={harmonyPoints.map((point) => `${point.x},${point.y}`).join(' ')}
113
- stroke={theme.semantics.content.default}
106
+ stroke="white"
114
107
  strokeWidth={6}
115
108
  />
116
109
  ) : (
117
- linesFor(harmonyPoints, primaryPoint, theme.semantics.content.default)
110
+ linesFor(harmonyPoints, primaryPoint, 'white')
118
111
  )}
119
- {harmonyPoints.map((point) => (
120
- <Circle
121
- cx={point.x}
122
- cy={point.y}
123
- fill={theme.semantics.content.default}
124
- key={`${point.x}-${point.y}`}
125
- r={26}
126
- />
127
- ))}
112
+ {harmonyPoints
113
+ .filter((point) => point.color !== value)
114
+ .map((point) => (
115
+ <Circle
116
+ cx={point.x}
117
+ cy={point.y}
118
+ fill={point.color}
119
+ key={`${point.x}-${point.y}`}
120
+ stroke="white"
121
+ strokeWidth={6}
122
+ r={26}
123
+ />
124
+ ))}
128
125
  <Circle
129
126
  cx={primaryPoint.x}
130
127
  cy={primaryPoint.y}
131
- fill="none"
128
+ fill={value}
132
129
  r={36}
133
130
  stroke="white"
134
131
  strokeWidth={12}
@@ -138,7 +135,7 @@ function ColorWheelInner({
138
135
  cy={primaryPoint.y}
139
136
  fill="none"
140
137
  r={42}
141
- stroke={theme.semantics.content.default}
138
+ stroke="white"
142
139
  strokeWidth={6}
143
140
  />
144
141
  </Svg>
@@ -147,8 +144,12 @@ function ColorWheelInner({
147
144
  );
148
145
  }
149
146
 
150
- /*** Creates continuous-looking radial hue segments for the wheel viewBox. */
151
- function segments(): readonly {
147
+ /*** Creates fine radial hue segments from the same OKLCH projection used for interaction. */
148
+ function segments(
149
+ lightness: number,
150
+ maximumChroma: number,
151
+ ): readonly {
152
+ readonly centerColor: HexColor;
152
153
  readonly color: HexColor;
153
154
  readonly hue: number;
154
155
  readonly path: string;
@@ -156,7 +157,8 @@ function segments(): readonly {
156
157
  return Array.from({ length: SEGMENTS }, (_, index) => {
157
158
  const hue = (index * 360) / SEGMENTS;
158
159
  return {
159
- color: resolveOklchColor({ chroma: MAX_CHROMA, lightness: 0.65 }, hue),
160
+ centerColor: resolveOklchColor({ chroma: 0, lightness }, hue),
161
+ color: resolveOklchColor({ chroma: maximumChroma, lightness }, hue),
160
162
  hue,
161
163
  path: segmentPath(hue, hue + 360 / SEGMENTS),
162
164
  };
@@ -7,5 +7,6 @@ export interface ColorWheelKeyboardProxyProps {
7
7
  readonly chroma: number;
8
8
  readonly disabled: boolean;
9
9
  readonly hue: number;
10
+ readonly maxChroma?: number;
10
11
  readonly onChange: (hue: number, chroma: number) => void;
11
12
  }
@@ -8,6 +8,7 @@ export function ColorWheelKeyboardProxy({
8
8
  chroma,
9
9
  disabled,
10
10
  hue,
11
+ maxChroma = 0.2,
11
12
  onChange,
12
13
  }: ColorWheelKeyboardProxyProps) {
13
14
  return (
@@ -19,7 +20,7 @@ export function ColorWheelKeyboardProxy({
19
20
  aria-valuetext={`Hue ${Math.round(hue)}, chroma ${chroma.toFixed(2)}`}
20
21
  aria-disabled={disabled}
21
22
  onKeyDown={(event) => {
22
- const nextValue = resolveKeyboardWheelValue(event.key, hue, chroma);
23
+ const nextValue = resolveKeyboardWheelValue(event.key, hue, chroma, maxChroma);
23
24
  if (!nextValue || disabled) return;
24
25
  event.preventDefault();
25
26
  onChange(nextValue.hue, nextValue.chroma);
@@ -33,11 +34,11 @@ export function ColorWheelKeyboardProxy({
33
34
  }
34
35
 
35
36
  /*** Resolve portable arrow keys into bounded color-wheel increments. */
36
- function resolveKeyboardWheelValue(key: string, hue: number, chroma: number) {
37
+ function resolveKeyboardWheelValue(key: string, hue: number, chroma: number, maxChroma: number) {
37
38
  if (key === 'ArrowLeft') return { chroma, hue: normalizeHue(hue - 5) };
38
39
  if (key === 'ArrowRight') return { chroma, hue: normalizeHue(hue + 5) };
39
40
  if (key === 'ArrowDown') return { chroma: Math.max(0, chroma - 0.02), hue };
40
- if (key === 'ArrowUp') return { chroma: Math.min(0.2, chroma + 0.02), hue };
41
+ if (key === 'ArrowUp') return { chroma: Math.min(maxChroma, chroma + 0.02), hue };
41
42
  return undefined;
42
43
  }
43
44
 
@@ -1,6 +1,28 @@
1
+ import React from 'react';
2
+
1
3
  import type { ColorWheelPointerProxyProps } from './ColorWheelPointerProxy';
2
4
 
3
- /*** Leaves native SVG responders in charge of direct color-wheel gestures. */
4
- export function ColorWheelPointerProxy({ children }: ColorWheelPointerProxyProps) {
5
- return children;
5
+ /*** Adds the sole native responder path to the SVG wheel. */
6
+ export function ColorWheelPointerProxy({
7
+ children,
8
+ disabled,
9
+ height,
10
+ onChange,
11
+ width,
12
+ renderedSize = width,
13
+ }: ColorWheelPointerProxyProps) {
14
+ if (!React.isValidElement(children)) return children;
15
+ const changeAt = (event: {
16
+ readonly nativeEvent: { readonly locationX: number; readonly locationY: number };
17
+ }) =>
18
+ onChange(
19
+ (event.nativeEvent.locationX / renderedSize) * width,
20
+ (event.nativeEvent.locationY / renderedSize) * height,
21
+ );
22
+ return React.cloneElement(children as React.ReactElement<Record<string, unknown>>, {
23
+ onResponderGrant: disabled ? undefined : changeAt,
24
+ onResponderMove: disabled ? undefined : changeAt,
25
+ onResponderRelease: disabled ? undefined : changeAt,
26
+ onStartShouldSetResponder: () => !disabled,
27
+ });
6
28
  }
@@ -7,5 +7,6 @@ export interface ColorWheelPointerProxyProps {
7
7
  readonly disabled: boolean;
8
8
  readonly height: number;
9
9
  readonly onChange: (x: number, y: number) => void;
10
+ readonly renderedSize?: number;
10
11
  readonly width: number;
11
12
  }
@@ -8,6 +8,7 @@ export function ColorWheelPointerProxy({
8
8
  disabled,
9
9
  height,
10
10
  onChange,
11
+ renderedSize: _renderedSize,
11
12
  width,
12
13
  }: ColorWheelPointerProxyProps) {
13
14
  const dragging = React.useRef(false);
@@ -0,0 +1,43 @@
1
+ import { expect, test } from 'bun:test';
2
+
3
+ import { resolveColorPickerGeometry } from './resolveColorPickerGeometry';
4
+
5
+ test('keeps the reference Grid and Wheel stage geometry at the approved width', () => {
6
+ const geometry = resolveColorPickerGeometry({
7
+ height: 700,
8
+ hostHeight: 700,
9
+ hostWidth: 560,
10
+ showTabs: true,
11
+ width: 560,
12
+ });
13
+
14
+ expect(geometry.insufficientSpace).toBe(false);
15
+ expect(geometry.footerInset).toBe(12);
16
+ expect(geometry.stage).toBe(340);
17
+ expect(geometry.width).toBe(560);
18
+ });
19
+
20
+ test('uses the largest coherent geometry that fits a height-constrained host', () => {
21
+ const geometry = resolveColorPickerGeometry({
22
+ hostHeight: 500,
23
+ hostWidth: 560,
24
+ showTabs: true,
25
+ });
26
+
27
+ expect(geometry.insufficientSpace).toBe(false);
28
+ expect(geometry.height).toBeLessThanOrEqual(500);
29
+ expect(geometry.stage).toBeGreaterThanOrEqual(218);
30
+ expect(geometry.stage).toBeLessThan(340);
31
+ });
32
+
33
+ test('reports insufficient host height instead of hiding a shrunken unusable picker', () => {
34
+ const geometry = resolveColorPickerGeometry({
35
+ hostHeight: 360,
36
+ hostWidth: 560,
37
+ showTabs: true,
38
+ });
39
+
40
+ expect(geometry.insufficientSpace).toBe(true);
41
+ expect(geometry.stage).toBeGreaterThanOrEqual(218);
42
+ expect(geometry.minimumHeight).toBeGreaterThan(360);
43
+ });
@@ -0,0 +1,116 @@
1
+ const MINIMUM_WIDTH = 360;
2
+ const REFERENCE_WIDTH = 560;
3
+
4
+ /*** Resolves one coherent ColorPicker geometry from the host's actual available bounds. */
5
+ export function resolveColorPickerGeometry(input: {
6
+ readonly height?: number;
7
+ readonly hostHeight?: number;
8
+ readonly hostWidth?: number;
9
+ readonly showTabs: boolean;
10
+ readonly width?: number;
11
+ }) {
12
+ const availableWidth = Math.min(
13
+ input.width ?? REFERENCE_WIDTH,
14
+ input.hostWidth ?? REFERENCE_WIDTH,
15
+ );
16
+ const availableHeight = Math.min(
17
+ input.height ?? Number.POSITIVE_INFINITY,
18
+ input.hostHeight ?? Number.POSITIVE_INFINITY,
19
+ );
20
+ const minimum = resolveGeometryAtWidth(MINIMUM_WIDTH, input.showTabs);
21
+ const maximum = resolveGeometryAtWidth(Math.max(MINIMUM_WIDTH, availableWidth), input.showTabs);
22
+ const resolved = resolveLargestGeometry(maximum, availableHeight, input.showTabs);
23
+
24
+ return {
25
+ ...resolved,
26
+ insufficientSpace: availableWidth < MINIMUM_WIDTH || availableHeight < minimum.height,
27
+ minimumHeight: minimum.height,
28
+ minimumWidth: MINIMUM_WIDTH,
29
+ };
30
+ }
31
+
32
+ /*** Calculates every descendant measurement from a single continuous logical width. */
33
+ function resolveGeometryAtWidth(width: number, showTabs: boolean) {
34
+ const progress = Math.max(
35
+ 0,
36
+ Math.min(1, (width - MINIMUM_WIDTH) / (REFERENCE_WIDTH - MINIMUM_WIDTH)),
37
+ );
38
+ const padding = interpolate(12, 24, progress);
39
+ const rail = interpolate(104, 150, progress);
40
+ const gap = interpolate(12, 20, progress);
41
+ const scale = interpolate(0.75, 1, progress);
42
+ const border = 1;
43
+ const stage = width - border * 2 - padding * 2 - rail - gap;
44
+ const headerHeight = 48 * scale;
45
+ const tabHeight = showTabs ? 48 * scale : 0;
46
+ const cardGap = 16 * scale;
47
+ const cardHeight = 52 * scale;
48
+ const settingsHeight = cardHeight * 2 + cardGap;
49
+ const mainHeight = Math.max(stage, settingsHeight);
50
+ const infoLineHeight = 20 * scale;
51
+ const mainGap = 16 * scale;
52
+ const footerGap = 10 * scale;
53
+ const footerHeight = 52 * scale;
54
+ const footerInset = 12 * scale;
55
+ const height =
56
+ border * 2 +
57
+ padding +
58
+ headerHeight +
59
+ mainGap +
60
+ tabHeight +
61
+ (showTabs ? mainGap : 0) +
62
+ mainHeight +
63
+ mainGap +
64
+ infoLineHeight +
65
+ footerGap +
66
+ 1 +
67
+ footerGap +
68
+ footerHeight +
69
+ footerInset;
70
+
71
+ return {
72
+ border,
73
+ cardGap,
74
+ cardHeight,
75
+ footerGap,
76
+ footerHeight,
77
+ footerInset,
78
+ gap,
79
+ headerHeight,
80
+ height,
81
+ infoLineHeight,
82
+ mainGap,
83
+ padding,
84
+ rail,
85
+ scale,
86
+ settingsHeight,
87
+ stage,
88
+ tabHeight,
89
+ width,
90
+ };
91
+ }
92
+
93
+ /*** Finds the largest coherent width geometry that fits the available host height. */
94
+ function resolveLargestGeometry(
95
+ maximum: ReturnType<typeof resolveGeometryAtWidth>,
96
+ height: number,
97
+ showTabs: boolean,
98
+ ) {
99
+ if (!Number.isFinite(height) || maximum.height <= height) return maximum;
100
+ const minimum = resolveGeometryAtWidth(MINIMUM_WIDTH, showTabs);
101
+ if (height < minimum.height) return minimum;
102
+
103
+ let lower = MINIMUM_WIDTH;
104
+ let upper = maximum.width;
105
+ for (let iteration = 0; iteration < 20; iteration += 1) {
106
+ const midpoint = (lower + upper) / 2;
107
+ if (resolveGeometryAtWidth(midpoint, showTabs).height <= height) lower = midpoint;
108
+ else upper = midpoint;
109
+ }
110
+ return resolveGeometryAtWidth(lower, showTabs);
111
+ }
112
+
113
+ /*** Interpolates a reference measurement without changing component hierarchy. */
114
+ function interpolate(minimum: number, reference: number, progress: number) {
115
+ return minimum + (reference - minimum) * progress;
116
+ }
@@ -3,7 +3,7 @@ import type { HexColor } from '@ankhorage/color-theory';
3
3
  import { resolveOklchColor } from './resolveOklchColor';
4
4
  import { resolveWheelColorComponents } from './resolveWheelColorComponents';
5
5
 
6
- /*** Resolve a wheel coordinate into a bounded OKLCH color while retaining the selected lightness. */
6
+ /*** Resolve a wheel coordinate into the same bounded OKLCH projection rendered by the wheel. */
7
7
  export function resolveWheelColor(
8
8
  color: HexColor,
9
9
  x: number,
@@ -11,9 +11,8 @@ export function resolveWheelColor(
11
11
  center: number,
12
12
  radius: number,
13
13
  maxChroma: number,
14
+ lightness = resolveWheelColorComponents(color).lightness,
14
15
  ): HexColor {
15
- const { lightness } = resolveWheelColorComponents(color);
16
-
17
16
  const deltaX = x - center;
18
17
  const deltaY = y - center;
19
18
  const distance = Math.min(Math.hypot(deltaX, deltaY), radius);
@@ -57,7 +57,7 @@ function SelectInner<TValue extends string = string>({
57
57
  <BottomSheetFlatList
58
58
  contentContainerStyle={styles.listContent}
59
59
  data={listData}
60
- keyExtractor={(item) => item.value}
60
+ keyExtractor={(item: SelectOption<TValue>) => item.value}
61
61
  renderItem={renderOption}
62
62
  />
63
63
  ),
@@ -37,7 +37,7 @@ export function SelectTrigger<TValue extends string>({
37
37
  borderWidth={1}
38
38
  direction="row"
39
39
  gap="s"
40
- minHeight={44}
40
+ minHeight={props.compact ? 36 : 44}
41
41
  px="m"
42
42
  radius="m"
43
43
  >
@@ -67,6 +67,7 @@ export function SelectTrigger<TValue extends string>({
67
67
  leadingIcon={props.leadingIcon}
68
68
  labelWeight={props.labelWeight ?? 'semiBold'}
69
69
  onPress={props.readOnly ? undefined : onPress}
70
+ size={props.compact ? 's' : undefined}
70
71
  testID={props.testID ? `${props.testID}-trigger` : undefined}
71
72
  trailingIcon={SELECT_CHEVRON_ICON}
72
73
  variant="outline"
package/src/index.ts CHANGED
@@ -28,6 +28,12 @@ export type {
28
28
  ColorWheelSelection,
29
29
  } from './features/color/public';
30
30
  export { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';
31
+ export type {
32
+ GradientRenderer,
33
+ GradientRendererProps,
34
+ GradientRendererProviderProps,
35
+ } from './features/gradient/public';
36
+ export { GradientRendererProvider } from './features/gradient/public';
31
37
  export type {
32
38
  MasterDetailActivePane,
33
39
  MasterDetailDesktopMode,
@@ -35,6 +35,8 @@ export interface ColorWheelProps extends ZoraBaseProps {
35
35
  /** Square stage side derived by the owning ColorPicker geometry. */
36
36
  readonly size?: number;
37
37
  readonly harmony?: ColorHarmony | null;
38
+ /** Optional consumer-provided target applied consistently to wheel rendering and selection. */
39
+ readonly toneTarget?: ColorToneTarget;
38
40
  readonly harmonies?: readonly ColorHarmony[];
39
41
  readonly onChange: (selection: ColorWheelSelection) => void;
40
42
  }
@@ -62,8 +64,14 @@ export interface ColorPickerProps extends ZoraBaseProps {
62
64
  readonly tone?: string;
63
65
  /** Consumer-owned tone catalogue; ZORA deliberately does not copy it. */
64
66
  readonly tones?: readonly ColorToneDefinition[];
65
- /** Requested outer logical width; hosts must provide at least 360 logical pixels. */
67
+ /** Requested outer logical width; it is clamped to the measured host width. */
66
68
  readonly width?: number;
69
+ /** Requested outer logical height; it is clamped to the measured host height. */
70
+ readonly height?: number;
71
+ /** Receives whether the host must provide a larger or full-screen presentation. */
72
+ readonly onInsufficientSpaceChange?: (insufficient: boolean) => void;
73
+ /** Optional one-line contextual information rendered above the footer. */
74
+ readonly infoLine?: string;
67
75
  /** Controlled active presentation. */
68
76
  readonly activeTab?: ColorPickerTab;
69
77
  /** Emits one canonical controlled selection payload. */
@@ -29,6 +29,8 @@ export interface SelectProps<TValue extends string = string> extends ZoraBasePro
29
29
  leadingMedia?: ImageProps['source'];
30
30
  /** Optional Surface Button label emphasis; defaults to semiBold. */
31
31
  labelWeight?: ButtonLabelWeight;
32
+ /** Uses the compact control height for dense settings surfaces. */
33
+ compact?: boolean;
32
34
  required?: boolean;
33
35
  disabled?: boolean;
34
36
  readOnly?: boolean;
@@ -1,19 +1,19 @@
1
1
  'use client';
2
2
  import {
3
3
  useTheme
4
- } from "./Accordion-7d0e5vhe.js";
4
+ } from "./Accordion-9d38cgqj.js";
5
5
  import {
6
6
  withZoraThemeScope
7
- } from "./Accordion-zte416jw.js";
7
+ } from "./Accordion-tk8zf9ff.js";
8
8
  import {
9
9
  Icon2
10
- } from "./Accordion-8wm25z0h.js";
10
+ } from "./Accordion-3zzzw7a8.js";
11
11
  import {
12
12
  View2
13
- } from "./Accordion-0gae3kzr.js";
13
+ } from "./Accordion-f8a49gy8.js";
14
14
  import {
15
15
  useZoraTheme2
16
- } from "./Accordion-j6hgazmz.js";
16
+ } from "./Accordion-b1y5mjac.js";
17
17
  import {
18
18
  resolveToken
19
19
  } from "./Accordion-fre84yaq.js";
@@ -4,29 +4,29 @@ import {
4
4
  } from "./Accordion-mnac2z83.js";
5
5
  import {
6
6
  View3
7
- } from "./Accordion-6r1e7k5r.js";
7
+ } from "./Accordion-ww4f12ty.js";
8
8
  import {
9
9
  useTheme
10
- } from "./Accordion-7d0e5vhe.js";
10
+ } from "./Accordion-9d38cgqj.js";
11
11
  import {
12
12
  Pressable
13
- } from "./Accordion-43gp801f.js";
13
+ } from "./Accordion-hdyzyw8q.js";
14
14
  import {
15
15
  Text2
16
- } from "./Accordion-wpj8pd40.js";
16
+ } from "./Accordion-kcm6jcpp.js";
17
17
  import {
18
18
  withZoraThemeScope
19
- } from "./Accordion-zte416jw.js";
19
+ } from "./Accordion-tk8zf9ff.js";
20
20
  import {
21
21
  View2
22
- } from "./Accordion-0gae3kzr.js";
22
+ } from "./Accordion-f8a49gy8.js";
23
23
  import {
24
24
  Text3
25
- } from "./Accordion-1dv8wytq.js";
25
+ } from "./Accordion-afpjg1d6.js";
26
26
  import {
27
27
  resolveSelectionControlNextChecked,
28
28
  resolveSelectionControlInteractionState
29
- } from "./Accordion-6ec4gxv2.js";
29
+ } from "./Accordion-xzaa9s7f.js";
30
30
 
31
31
  // node_modules/@ankhorage/surface/src/features/form/checkbox/adapters/inbound/Checkbox.tsx
32
32
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -171,7 +171,6 @@ function CheckboxInner({
171
171
  });
172
172
  }
173
173
  var Checkbox2 = withZoraThemeScope(CheckboxInner);
174
-
175
174
  // src/features/form/checkbox/adapters/inbound/CheckboxGroup.tsx
176
175
  import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
177
176
  function CheckboxGroupInner({
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  useTheme
4
- } from "./Accordion-7d0e5vhe.js";
4
+ } from "./Accordion-9d38cgqj.js";
5
5
  import {
6
6
  resolveTextColor
7
7
  } from "./Accordion-6a2hscrx.js";
@@ -4,30 +4,30 @@ import {
4
4
  } from "./Accordion-be2yhfqz.js";
5
5
  import {
6
6
  Portal
7
- } from "./Accordion-dtt4qkrb.js";
7
+ } from "./Accordion-h63c9k9k.js";
8
8
  import {
9
9
  resolvePointerEvents,
10
10
  View3
11
- } from "./Accordion-6r1e7k5r.js";
11
+ } from "./Accordion-ww4f12ty.js";
12
12
  import {
13
13
  useTheme
14
- } from "./Accordion-7d0e5vhe.js";
14
+ } from "./Accordion-9d38cgqj.js";
15
15
  import {
16
16
  Surface3
17
- } from "./Accordion-pm2f2j32.js";
17
+ } from "./Accordion-pdjhezmz.js";
18
18
  import {
19
19
  withZoraThemeScope
20
- } from "./Accordion-zte416jw.js";
20
+ } from "./Accordion-tk8zf9ff.js";
21
21
  import {
22
22
  View2
23
- } from "./Accordion-0gae3kzr.js";
23
+ } from "./Accordion-f8a49gy8.js";
24
24
  import {
25
25
  Heading2,
26
26
  Text3
27
- } from "./Accordion-1dv8wytq.js";
27
+ } from "./Accordion-afpjg1d6.js";
28
28
  import {
29
29
  resolveOverlayAnimation
30
- } from "./Accordion-6ec4gxv2.js";
30
+ } from "./Accordion-xzaa9s7f.js";
31
31
  import {
32
32
  require_cjs
33
33
  } from "./Accordion-xgpzh4wq.js";