@ankhorage/zora 28.11.1 → 28.12.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 (939) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/authoring.browser.d.ts +5 -5
  4. package/dist/authoring.d.ts +5 -5
  5. package/dist/capabilities/index.js +9 -1
  6. package/dist/capabilities/index.js.map +3 -3
  7. package/dist/features/accordion/adapters/inbound/Accordion.d.ts +1 -1
  8. package/dist/features/accordion/adapters/inbound/AccordionItem.d.ts +1 -1
  9. package/dist/features/accordion/composition/AccordionPresentationContext.d.ts +1 -1
  10. package/dist/features/accordion/public.d.ts +3 -3
  11. package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.d.ts +1 -1
  12. package/dist/features/activity-indicator/public.d.ts +2 -2
  13. package/dist/features/app-bar/adapters/inbound/AppBar.d.ts +1 -1
  14. package/dist/features/app-bar/public.d.ts +2 -2
  15. package/dist/features/app-header/adapters/inbound/AppHeader.d.ts +1 -1
  16. package/dist/features/app-header/public.d.ts +2 -2
  17. package/dist/features/audio/adapters/inbound/Audio.d.ts +1 -1
  18. package/dist/features/audio/composition/useAudioController.d.ts +2 -2
  19. package/dist/features/audio/composition/useAudioController.web.d.ts +2 -2
  20. package/dist/features/audio/public.d.ts +2 -2
  21. package/dist/features/auth/adapters/inbound/AuthForm.d.ts +2 -2
  22. package/dist/features/auth/adapters/inbound/AuthFormField.d.ts +2 -2
  23. package/dist/features/auth/adapters/inbound/AuthScreen.d.ts +1 -1
  24. package/dist/features/auth/adapters/inbound/ForgotPasswordForm.d.ts +1 -1
  25. package/dist/features/auth/adapters/inbound/OAuthProviderButton.d.ts +1 -1
  26. package/dist/features/auth/adapters/inbound/OAuthProviderList.d.ts +1 -1
  27. package/dist/features/auth/adapters/inbound/OtpForm.d.ts +1 -1
  28. package/dist/features/auth/adapters/inbound/SignInForm.d.ts +1 -1
  29. package/dist/features/auth/adapters/inbound/SignUpForm.d.ts +1 -1
  30. package/dist/features/auth/public.d.ts +9 -9
  31. package/dist/features/auth/utils/authForm.d.ts +2 -2
  32. package/dist/features/auth/utils/oauthProviders.d.ts +1 -1
  33. package/dist/features/avatar/adapters/inbound/Avatar.d.ts +1 -1
  34. package/dist/features/avatar/adapters/inbound/AvatarGroup.d.ts +1 -1
  35. package/dist/features/avatar/public.d.ts +5 -5
  36. package/dist/features/badge/adapters/inbound/Badge.d.ts +1 -1
  37. package/dist/features/badge/public.d.ts +2 -2
  38. package/dist/features/badge/utils/resolveBadgeRecipe.d.ts +3 -3
  39. package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.d.ts +1 -1
  40. package/dist/features/bottom-sheet/public.d.ts +2 -2
  41. package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.d.ts +1 -1
  42. package/dist/features/breadcrumbs/public.d.ts +2 -2
  43. package/dist/features/button/adapters/inbound/Button.d.ts +1 -1
  44. package/dist/features/button/adapters/inbound/ButtonGroup.d.ts +1 -1
  45. package/dist/features/button/adapters/inbound/IconButton.d.ts +1 -1
  46. package/dist/features/button/public.d.ts +6 -6
  47. package/dist/features/button/utils/resolveButtonRecipe.d.ts +3 -3
  48. package/dist/features/button/utils/resolveButtonThemeRecipe.d.ts +3 -3
  49. package/dist/features/calendar/adapters/inbound/Calendar.d.ts +1 -1
  50. package/dist/features/calendar/application/createCalendarMonth.d.ts +1 -1
  51. package/dist/features/calendar/application/isCalendarDateDisabled.d.ts +1 -1
  52. package/dist/features/calendar/public.d.ts +3 -3
  53. package/dist/features/card/adapters/inbound/Card.d.ts +1 -1
  54. package/dist/features/card/adapters/inbound/MediaCard.d.ts +1 -1
  55. package/dist/features/card/adapters/inbound/MetricCard.d.ts +1 -1
  56. package/dist/features/card/adapters/inbound/PostCard.d.ts +1 -1
  57. package/dist/features/card/adapters/inbound/ProductCard.d.ts +2 -2
  58. package/dist/features/card/public.d.ts +10 -10
  59. package/dist/features/card/utils/resolveCardThemeRecipe.d.ts +1 -1
  60. package/dist/features/card/utils/resolveCardVariant.d.ts +1 -1
  61. package/dist/features/carousel/Carousel.d.ts +1 -1
  62. package/dist/features/carousel/public.d.ts +2 -2
  63. package/dist/features/carousel/useCarouselPlayback.d.ts +1 -1
  64. package/dist/features/chat/adapters/inbound/ChatListItem.d.ts +1 -1
  65. package/dist/features/chat/adapters/inbound/MessageBubble.d.ts +1 -1
  66. package/dist/features/chat/public.d.ts +3 -3
  67. package/dist/features/chess/adapters/inbound/ChessBoard.d.ts +1 -1
  68. package/dist/features/chess/adapters/inbound/OpeningBook.d.ts +1 -1
  69. package/dist/features/chess/public.d.ts +7 -7
  70. package/dist/features/chess/utils/createChessBoardCellPressHandler.d.ts +1 -1
  71. package/dist/features/chess/utils/createChessBoardCells.d.ts +1 -1
  72. package/dist/features/chess/utils/createChessBoardColorScheme.d.ts +1 -1
  73. package/dist/features/chess/utils/createOpeningBookColorScheme.d.ts +2 -2
  74. package/dist/features/chip/adapters/inbound/Chip.d.ts +1 -1
  75. package/dist/features/chip/adapters/inbound/ChipGroup.d.ts +1 -1
  76. package/dist/features/chip/public.d.ts +4 -4
  77. package/dist/features/chip/utils/resolveChipColors.d.ts +2 -2
  78. package/dist/features/collection-editor/adapters/inbound/CollectionEditor.d.ts +1 -1
  79. package/dist/features/collection-editor/public.d.ts +2 -2
  80. package/dist/features/color/ColorHorizontalPointerProxy.d.ts +1 -1
  81. package/dist/features/color/ColorHorizontalPointerProxy.native.d.ts +1 -1
  82. package/dist/features/color/ColorHorizontalPointerProxy.web.d.ts +1 -1
  83. package/dist/features/color/ColorHueScale.d.ts +1 -1
  84. package/dist/features/color/ColorPicker.d.ts +1 -1
  85. package/dist/features/color/ColorTone.d.ts +1 -1
  86. package/dist/features/color/ColorWheel.d.ts +1 -1
  87. package/dist/features/color/ColorWheelKeyboardProxy.d.ts +1 -1
  88. package/dist/features/color/ColorWheelKeyboardProxy.native.d.ts +1 -1
  89. package/dist/features/color/ColorWheelKeyboardProxy.web.d.ts +1 -1
  90. package/dist/features/color/ColorWheelPointerProxy.d.ts +1 -1
  91. package/dist/features/color/ColorWheelPointerProxy.native.d.ts +1 -1
  92. package/dist/features/color/ColorWheelPointerProxy.web.d.ts +1 -1
  93. package/dist/features/color/public.d.ts +5 -5
  94. package/dist/features/color/utils/resolveOklchColor.d.ts +1 -1
  95. package/dist/features/content-rail/adapters/inbound/ContentRail.d.ts +1 -1
  96. package/dist/features/content-rail/adapters/inbound/ContentRailFlow.d.ts +1 -1
  97. package/dist/features/content-rail/public.d.ts +2 -2
  98. package/dist/features/content-rail/utils/resolveContentRailItemWidth.d.ts +1 -1
  99. package/dist/features/content-rail/utils/useContentRailReducedMotion.d.ts +1 -1
  100. package/dist/features/data-table/adapters/inbound/DataTable.d.ts +1 -1
  101. package/dist/features/data-table/adapters/inbound/DataTable.d.ts.map +1 -1
  102. package/dist/features/data-table/adapters/inbound/DataTable.js +32 -20
  103. package/dist/features/data-table/adapters/inbound/DataTable.js.map +1 -1
  104. package/dist/features/data-table/dataTableMeta.d.ts +14 -0
  105. package/dist/features/data-table/dataTableMeta.d.ts.map +1 -1
  106. package/dist/features/data-table/dataTableMeta.js +8 -0
  107. package/dist/features/data-table/dataTableMeta.js.map +1 -1
  108. package/dist/features/data-table/public.d.ts +2 -2
  109. package/dist/features/date-picker/adapters/inbound/DatePicker.d.ts +1 -1
  110. package/dist/features/date-picker/adapters/inbound/DatePicker.native.d.ts +1 -1
  111. package/dist/features/date-picker/adapters/inbound/DatePicker.web.d.ts +1 -1
  112. package/dist/features/date-picker/composition/DatePickerContent.d.ts +1 -1
  113. package/dist/features/date-picker/composition/DatePickerField.d.ts +1 -1
  114. package/dist/features/date-picker/composition/DatePickerTrigger.d.ts +1 -1
  115. package/dist/features/date-picker/public.d.ts +2 -2
  116. package/dist/features/dialog/adapters/inbound/Dialog.d.ts +1 -1
  117. package/dist/features/dialog/public.d.ts +2 -2
  118. package/dist/features/dialog/utils/resolveDialogWidth.d.ts +1 -1
  119. package/dist/features/empty-state/adapters/inbound/EmptyState.d.ts +1 -1
  120. package/dist/features/empty-state/public.d.ts +2 -2
  121. package/dist/features/explorer/adapters/inbound/Explorer.d.ts +1 -1
  122. package/dist/features/explorer/adapters/inbound/FileExplorer.d.ts +1 -1
  123. package/dist/features/explorer/adapters/inbound/MediaExplorer.d.ts +1 -1
  124. package/dist/features/explorer/adapters/inbound/useExplorerKeyboardFocus.d.ts +1 -1
  125. package/dist/features/explorer/application/resolveExplorerSelection.d.ts +1 -1
  126. package/dist/features/explorer/application/shouldRequestExplorerPage.d.ts +1 -1
  127. package/dist/features/explorer/public.d.ts +6 -6
  128. package/dist/features/flow/adapters/inbound/FlowCanvas.d.ts +1 -1
  129. package/dist/features/flow/application/createFlowEditorController.d.ts +1 -1
  130. package/dist/features/flow/application/getFlowPortAnchor.d.ts +1 -1
  131. package/dist/features/flow/application/mapFlowViewport.d.ts +1 -1
  132. package/dist/features/flow/public.d.ts +2 -2
  133. package/dist/features/form/adapters/inbound/Form.d.ts +1 -1
  134. package/dist/features/form/adapters/inbound/FormActions.d.ts +1 -1
  135. package/dist/features/form/adapters/inbound/FormError.d.ts +1 -1
  136. package/dist/features/form/checkbox/adapters/inbound/Checkbox.d.ts +1 -1
  137. package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.d.ts +1 -1
  138. package/dist/features/form/checkbox/public.d.ts +3 -3
  139. package/dist/features/form/field/adapters/inbound/Field.d.ts +1 -1
  140. package/dist/features/form/field/public.d.ts +1 -1
  141. package/dist/features/form/public.d.ts +7 -7
  142. package/dist/features/form/radio/adapters/inbound/Radio.d.ts +1 -1
  143. package/dist/features/form/radio/adapters/inbound/RadioGroup.d.ts +1 -1
  144. package/dist/features/form/radio/adapters/inbound/RadioOptionControl.d.ts +2 -2
  145. package/dist/features/form/radio/public.d.ts +3 -3
  146. package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.d.ts +2 -2
  147. package/dist/features/form/radio/utils/resolveRadioOptionColors.d.ts +1 -1
  148. package/dist/features/form/search-input/adapters/inbound/SearchInput.d.ts +1 -1
  149. package/dist/features/form/search-input/public.d.ts +2 -2
  150. package/dist/features/form/select/adapters/inbound/Select.d.ts +1 -1
  151. package/dist/features/form/select/adapters/inbound/Select.native.d.ts +1 -1
  152. package/dist/features/form/select/adapters/inbound/Select.web.d.ts +1 -1
  153. package/dist/features/form/select/composition/SelectField.d.ts +1 -1
  154. package/dist/features/form/select/composition/SelectOptionRow.d.ts +1 -1
  155. package/dist/features/form/select/composition/SelectSearchInput.d.ts +1 -1
  156. package/dist/features/form/select/composition/SelectTrigger.d.ts +1 -1
  157. package/dist/features/form/select/composition/getVisibleSelectOptions.d.ts +1 -1
  158. package/dist/features/form/select/composition/useSelectController.d.ts +1 -1
  159. package/dist/features/form/select/public.d.ts +2 -2
  160. package/dist/features/form/switch/adapters/inbound/Switch.d.ts +1 -1
  161. package/dist/features/form/switch/public.d.ts +2 -2
  162. package/dist/features/form/text-input/adapters/inbound/TextInput.d.ts +1 -1
  163. package/dist/features/form/text-input/public.d.ts +2 -2
  164. package/dist/features/form/useFormController.d.ts +1 -1
  165. package/dist/features/form/utils/validation.d.ts +1 -1
  166. package/dist/features/game/adapters/inbound/Game.d.ts +1 -1
  167. package/dist/features/game/adapters/inbound/GameEntity.d.ts +1 -1
  168. package/dist/features/game/adapters/inbound/GameField.d.ts +1 -1
  169. package/dist/features/game/adapters/inbound/GameInputZone.d.ts +1 -1
  170. package/dist/features/game/adapters/inbound/GameMeasurementProbe.d.ts +1 -1
  171. package/dist/features/game/adapters/inbound/GameOverlay.d.ts +1 -1
  172. package/dist/features/game/adapters/inbound/createGameKeyboardEvent.d.ts +1 -1
  173. package/dist/features/game/adapters/inbound/createGameMeasurementEvent.d.ts +1 -1
  174. package/dist/features/game/adapters/inbound/useGameInputZoneResponder.d.ts +1 -1
  175. package/dist/features/game/composition/GameRuntimeContext.d.ts +1 -1
  176. package/dist/features/game/composition/createGameMeasurementRegistry.d.ts +1 -1
  177. package/dist/features/game/composition/useGameRuntime.d.ts +2 -2
  178. package/dist/features/game/composition/useGameScheduledEffects.d.ts +1 -1
  179. package/dist/features/game/public.d.ts +7 -7
  180. package/dist/features/game/utils/measureGameEntity.d.ts +2 -2
  181. package/dist/features/game/utils/resolveGameEntityMotionPlan.d.ts +1 -1
  182. package/dist/features/game/utils/useAnimatedGameEntityValue.d.ts +1 -1
  183. package/dist/features/game/utils/useGameEntityAnimatedStyle.d.ts +1 -1
  184. package/dist/features/game/utils/useGameEntityMeasurement.d.ts +1 -1
  185. package/dist/features/game/utils/useGameEntityMotionProgress.d.ts +1 -1
  186. package/dist/features/gradient/adapters/inbound/Gradient.d.ts +1 -1
  187. package/dist/features/gradient/adapters/inbound/GradientRendererContext.d.ts +1 -1
  188. package/dist/features/gradient/public.d.ts +3 -3
  189. package/dist/features/graph-node/adapters/inbound/GraphNode.d.ts +1 -1
  190. package/dist/features/graph-node/getGraphNodePortGeometry.d.ts +1 -1
  191. package/dist/features/graph-node/public.d.ts +2 -2
  192. package/dist/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.d.ts +1 -1
  193. package/dist/features/graph-view/adapters/inbound/web-artifact/GraphView.d.ts +1 -1
  194. package/dist/features/graph-view/adapters/inbound/web-artifact/bindGraphEvents.d.ts +1 -1
  195. package/dist/features/graph-view/adapters/inbound/web-artifact/compactGraphSpacing.d.ts +1 -1
  196. package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphController.d.ts +2 -2
  197. package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.d.ts +2 -2
  198. package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphSpacingEvaluator.d.ts +1 -1
  199. package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphViewDomCallbacks.d.ts +1 -1
  200. package/dist/features/graph-view/adapters/inbound/web-artifact/createRenderableGraphElements.d.ts +1 -1
  201. package/dist/features/graph-view/adapters/inbound/web-artifact/fitGraphViewport.d.ts +1 -1
  202. package/dist/features/graph-view/adapters/inbound/web-artifact/getGraphTopologyKey.d.ts +1 -1
  203. package/dist/features/graph-view/adapters/inbound/web-artifact/hasGraphLayoutChanged.d.ts +1 -1
  204. package/dist/features/graph-view/adapters/inbound/web-artifact/placeAddedGraphNodes.d.ts +1 -1
  205. package/dist/features/graph-view/adapters/inbound/web-artifact/readGraphRenderedNodes.d.ts +1 -1
  206. package/dist/features/graph-view/adapters/inbound/web-artifact/resolveGraphViewProps.d.ts +1 -1
  207. package/dist/features/graph-view/adapters/inbound/web-artifact/runGraphLayout.d.ts +1 -1
  208. package/dist/features/graph-view/adapters/inbound/web-artifact/syncGraphElements.d.ts +1 -1
  209. package/dist/features/graph-view/public.d.ts +3 -3
  210. package/dist/features/grid-interactions/adapters/inbound/GridInteractions.d.ts +1 -1
  211. package/dist/features/grid-interactions/adapters/inbound/GridInteractionsKeyboardProxy.d.ts +1 -1
  212. package/dist/features/grid-interactions/adapters/inbound/GridInteractionsKeyboardProxy.native.d.ts +1 -1
  213. package/dist/features/grid-interactions/adapters/inbound/GridInteractionsKeyboardProxy.web.d.ts +1 -1
  214. package/dist/features/grid-interactions/adapters/inbound/resolveGridInteractionPointer.d.ts +1 -1
  215. package/dist/features/grid-interactions/adapters/inbound/useGridInteractionScrollLock.d.ts +1 -1
  216. package/dist/features/grid-interactions/adapters/inbound/useGridInteractionScrollLock.native.d.ts +1 -1
  217. package/dist/features/grid-interactions/adapters/inbound/useGridInteractionScrollLock.web.d.ts +1 -1
  218. package/dist/features/grid-interactions/application/createGridInteractionScrollLock.d.ts +2 -2
  219. package/dist/features/grid-interactions/application/createGridInteractionsController.d.ts +1 -1
  220. package/dist/features/grid-interactions/public.d.ts +3 -3
  221. package/dist/features/grid-rulers/adapters/inbound/GridLineOverlay.d.ts +1 -1
  222. package/dist/features/grid-rulers/adapters/inbound/GridRuler.d.ts +1 -1
  223. package/dist/features/grid-rulers/application/resolveGridRulerMarks.d.ts +1 -1
  224. package/dist/features/grid-rulers/public.d.ts +4 -4
  225. package/dist/features/grid-view/adapters/inbound/GridView.d.ts +1 -1
  226. package/dist/features/grid-view/adapters/inbound/TileGrid.d.ts +1 -1
  227. package/dist/features/grid-view/application/createGridScrollSync.d.ts +1 -1
  228. package/dist/features/grid-view/application/layoutTileGrid.d.ts +1 -1
  229. package/dist/features/grid-view/application/resolveScrollEventSource.d.ts +1 -1
  230. package/dist/features/grid-view/public.d.ts +4 -4
  231. package/dist/features/hero/adapters/inbound/Hero.d.ts +1 -1
  232. package/dist/features/hero/public.d.ts +2 -2
  233. package/dist/features/icon/adapters/inbound/Icon.d.ts +1 -1
  234. package/dist/features/icon/public.d.ts +2 -2
  235. package/dist/features/icon/utils/resolveIconSize.d.ts +1 -1
  236. package/dist/features/image/adapters/inbound/Image.d.ts +1 -1
  237. package/dist/features/image/public.d.ts +2 -2
  238. package/dist/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.d.ts +1 -1
  239. package/dist/features/keyboard-avoiding-view/public.d.ts +2 -2
  240. package/dist/features/layout/adapters/inbound/AppShell.d.ts +1 -1
  241. package/dist/features/layout/adapters/inbound/Divider.d.ts +1 -1
  242. package/dist/features/layout/adapters/inbound/Grid.d.ts +1 -1
  243. package/dist/features/layout/adapters/inbound/Screen.d.ts +1 -1
  244. package/dist/features/layout/adapters/inbound/ScrollGestureLockContext.d.ts +1 -1
  245. package/dist/features/layout/adapters/inbound/ScrollView.d.ts +1 -1
  246. package/dist/features/layout/adapters/inbound/View.d.ts +1 -1
  247. package/dist/features/layout/adapters/inbound/useScrollGestureLock.d.ts +1 -1
  248. package/dist/features/layout/public.d.ts +9 -9
  249. package/dist/features/layout/utils/createScrollGestureLock.d.ts +1 -1
  250. package/dist/features/layout/utils/resolvePageMaxWidth.d.ts +1 -1
  251. package/dist/features/link/adapters/inbound/Link.d.ts +1 -1
  252. package/dist/features/link/adapters/inbound/Link.native.d.ts +1 -1
  253. package/dist/features/link/adapters/inbound/Link.web.d.ts +1 -1
  254. package/dist/features/link/public.d.ts +2 -2
  255. package/dist/features/list/adapters/inbound/FlatList.d.ts +1 -1
  256. package/dist/features/list/adapters/inbound/List.d.ts +1 -1
  257. package/dist/features/list/adapters/inbound/ListItem.d.ts +1 -1
  258. package/dist/features/list/adapters/inbound/ListSection.d.ts +1 -1
  259. package/dist/features/list/adapters/inbound/SectionList.d.ts +1 -1
  260. package/dist/features/list/adapters/inbound/useListVisibility.d.ts +1 -1
  261. package/dist/features/list/application/use-cases/partitionListSections.d.ts +1 -1
  262. package/dist/features/list/public.d.ts +7 -7
  263. package/dist/features/list/utils/resolveListSeparator.d.ts +1 -1
  264. package/dist/features/master-detail/adapters/inbound/MasterDetail.d.ts +1 -1
  265. package/dist/features/master-detail/application/resolveMasterDetailPresentation.d.ts +1 -1
  266. package/dist/features/master-detail/public.d.ts +2 -2
  267. package/dist/features/matrix-grid/adapters/inbound/MatrixGrid.d.ts +1 -1
  268. package/dist/features/matrix-grid/adapters/inbound/useMatrixGridKeyboardFocus.d.ts +1 -1
  269. package/dist/features/matrix-grid/application/getMatrixGridNextFocusId.d.ts +1 -1
  270. package/dist/features/matrix-grid/application/resolveMatrixGridSelection.d.ts +1 -1
  271. package/dist/features/matrix-grid/public.d.ts +3 -3
  272. package/dist/features/missing-element/adapters/inbound/MissingElement.d.ts +1 -1
  273. package/dist/features/missing-element/public.d.ts +2 -2
  274. package/dist/features/pagination/adapters/inbound/Pagination.d.ts +1 -1
  275. package/dist/features/pagination/public.d.ts +2 -2
  276. package/dist/features/palette-item/adapters/inbound/PaletteItem.d.ts +1 -1
  277. package/dist/features/palette-item/public.d.ts +2 -2
  278. package/dist/features/popover/adapters/inbound/Popover.d.ts +1 -1
  279. package/dist/features/popover/public.d.ts +2 -2
  280. package/dist/features/popover-menu/adapters/inbound/PopoverMenu.d.ts +1 -1
  281. package/dist/features/popover-menu/public.d.ts +2 -2
  282. package/dist/features/progress/adapters/inbound/Progress.d.ts +1 -1
  283. package/dist/features/progress/adapters/inbound/ProgressRing.d.ts +1 -1
  284. package/dist/features/progress/public.d.ts +3 -3
  285. package/dist/features/rating/adapters/inbound/Rating.d.ts +1 -1
  286. package/dist/features/rating/public.d.ts +2 -2
  287. package/dist/features/reader/adapters/inbound/Reader.d.ts +1 -1
  288. package/dist/features/reader/composition/useReaderController.d.ts +1 -1
  289. package/dist/features/reader/public.d.ts +3 -3
  290. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts +1 -1
  291. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts +1 -1
  292. package/dist/features/registry/adapters/inbound/AuthoringBindingEditorAdapter.d.ts +1 -1
  293. package/dist/features/registry/adapters/inbound/AuthoringPropertyInspectorAdapter.d.ts +1 -1
  294. package/dist/features/registry/adapters/inbound/AuthoringSelectionAdapter.d.ts +1 -1
  295. package/dist/features/registry/adapters/inbound/ThemeEditorAdapter.d.ts +1 -1
  296. package/dist/features/registry/bindableComponentMeta.d.ts +14 -0
  297. package/dist/features/registry/bindableComponentMeta.d.ts.map +1 -1
  298. package/dist/features/registry/bindableComponentMeta.js +8 -0
  299. package/dist/features/registry/bindableComponentMeta.js.map +1 -1
  300. package/dist/features/registry/componentMeta.d.ts +1 -1
  301. package/dist/features/registry/createManifestBindings.d.ts +1 -1
  302. package/dist/features/registry/createZoraComponentRegistry.d.ts +1 -1
  303. package/dist/features/registry/finalizeFeatureMetadata.d.ts +1 -1
  304. package/dist/features/registry/index.d.ts +7 -7
  305. package/dist/features/registry/public.d.ts +3 -3
  306. package/dist/features/registry/readerFreeRegistry.d.ts +2 -2
  307. package/dist/features/registry/themeRecipeMeta.d.ts +1 -1
  308. package/dist/features/rich-text/adapters/inbound/RichText.d.ts +1 -1
  309. package/dist/features/rich-text/adapters/inbound/RichText.web.d.ts +1 -1
  310. package/dist/features/rich-text/adapters/inbound/RichTextClient.d.ts +1 -1
  311. package/dist/features/rich-text/public.d.ts +2 -2
  312. package/dist/features/scanner/adapters/inbound/BarcodeScannerView.d.ts +1 -1
  313. package/dist/features/scanner/adapters/inbound/CameraPermissionView.d.ts +1 -1
  314. package/dist/features/scanner/adapters/inbound/ScanOverlay.d.ts +1 -1
  315. package/dist/features/scanner/public.d.ts +4 -4
  316. package/dist/features/section/adapters/inbound/ScreenSection.d.ts +1 -1
  317. package/dist/features/section/adapters/inbound/SectionHeader.d.ts +1 -1
  318. package/dist/features/section/public.d.ts +3 -3
  319. package/dist/features/selection/adapters/inbound/RuntimeAuthoringOverlay.d.ts +1 -1
  320. package/dist/features/selection/adapters/inbound/SelectableItem.d.ts +1 -1
  321. package/dist/features/selection/adapters/inbound/SelectionProvider.d.ts +1 -1
  322. package/dist/features/selection/public.d.ts +5 -5
  323. package/dist/features/selection/utils/resolveSelectionNextIds.d.ts +1 -1
  324. package/dist/features/skeleton/adapters/inbound/Skeleton.d.ts +1 -1
  325. package/dist/features/skeleton/adapters/inbound/SkeletonCard.d.ts +1 -1
  326. package/dist/features/skeleton/adapters/inbound/SkeletonList.d.ts +1 -1
  327. package/dist/features/skeleton/adapters/inbound/SkeletonText.d.ts +1 -1
  328. package/dist/features/skeleton/public.d.ts +5 -5
  329. package/dist/features/spatial-grid/adapters/inbound/SpatialGrid.d.ts +1 -1
  330. package/dist/features/spatial-grid/application/sortSpatialGridItems.d.ts +1 -1
  331. package/dist/features/spatial-grid/public.d.ts +2 -2
  332. package/dist/features/surface/adapters/inbound/Surface.d.ts +1 -1
  333. package/dist/features/surface/public.d.ts +2 -2
  334. package/dist/features/tabletop/adapters/inbound/CardBack.d.ts +1 -1
  335. package/dist/features/tabletop/adapters/inbound/CardHand.d.ts +1 -1
  336. package/dist/features/tabletop/adapters/inbound/PlayingCard.d.ts +1 -1
  337. package/dist/features/tabletop/adapters/inbound/PokerTrainingTable.d.ts +1 -1
  338. package/dist/features/tabletop/adapters/inbound/TabletopTable.d.ts +1 -1
  339. package/dist/features/tabletop/public.d.ts +10 -10
  340. package/dist/features/tabletop/utils/createPokerTrainingTableState.d.ts +1 -1
  341. package/dist/features/tabletop/utils/createTabletopColorScheme.d.ts +1 -1
  342. package/dist/features/tabletop/utils/createTabletopGameSeats.d.ts +1 -1
  343. package/dist/features/tabletop/utils/getPlayingCardLabel.d.ts +1 -1
  344. package/dist/features/tabletop/utils/getTabletopCardDimensions.d.ts +1 -1
  345. package/dist/features/tabs/adapters/inbound/Tab.d.ts +1 -1
  346. package/dist/features/tabs/adapters/inbound/TabList.d.ts +1 -1
  347. package/dist/features/tabs/adapters/inbound/TabPanel.d.ts +1 -1
  348. package/dist/features/tabs/adapters/inbound/Tabs.d.ts +1 -1
  349. package/dist/features/tabs/public.d.ts +5 -5
  350. package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts +1 -1
  351. package/dist/features/theme/adapters/inbound/ZoraProvider.d.ts +2 -2
  352. package/dist/features/theme/adapters/inbound/ZoraThemeScope.d.ts +1 -1
  353. package/dist/features/theme/adapters/inbound/withZoraThemeScope.d.ts +1 -1
  354. package/dist/features/theme/application/use-cases/compileZoraTheme.d.ts +1 -1
  355. package/dist/features/theme/application/use-cases/compileZoraTheme.d.ts.map +1 -1
  356. package/dist/features/theme/application/use-cases/compileZoraTheme.js.map +1 -1
  357. package/dist/features/theme/application/use-cases/createZoraThemeConfig.d.ts +1 -1
  358. package/dist/features/theme/application/use-cases/createZoraThemeConfig.d.ts.map +1 -1
  359. package/dist/features/theme/application/use-cases/createZoraThemeConfig.js.map +1 -1
  360. package/dist/features/theme/colorModel.d.ts +1 -1
  361. package/dist/features/theme/composition/ZoraRuntimeCapabilities.d.ts +1 -1
  362. package/dist/features/theme/composition/ZoraRuntimeCapabilities.native.d.ts +1 -1
  363. package/dist/features/theme/composition/ZoraRuntimeCapabilities.web.d.ts +1 -1
  364. package/dist/features/theme/composition/ZoraThemeRuntimeContext.d.ts +1 -1
  365. package/dist/features/theme/composition/useZoraThemeRecipe.d.ts +1 -1
  366. package/dist/features/theme/mode-toggle/public.d.ts +2 -2
  367. package/dist/features/theme/node.d.ts +1 -1
  368. package/dist/features/theme/node.d.ts.map +1 -1
  369. package/dist/features/theme/node.js.map +1 -1
  370. package/dist/features/theme/public.d.ts +3 -3
  371. package/dist/features/theme/public.d.ts.map +1 -1
  372. package/dist/features/theme/public.js.map +1 -1
  373. package/dist/features/theme/runtime.d.ts +8 -8
  374. package/dist/features/theme/utils/resolveThemeModeToggleState.d.ts +1 -1
  375. package/dist/features/theme/utils/resolveZoraScopedThemeId.d.ts +1 -1
  376. package/dist/features/theme/utils/resolveZoraThemeRecipe.d.ts +1 -1
  377. package/dist/features/theme/zoraDefaultTheme.d.ts +1 -1
  378. package/dist/features/theme/zoraDefaultTheme.d.ts.map +1 -1
  379. package/dist/features/theme/zoraDefaultTheme.js.map +1 -1
  380. package/dist/features/time-grid/adapters/inbound/TimeGrid.d.ts +1 -1
  381. package/dist/features/time-grid/application/resolveTimeGridVisibleIntervals.d.ts +1 -1
  382. package/dist/features/time-grid/public.d.ts +4 -4
  383. package/dist/features/time-picker/adapters/inbound/TimePicker.d.ts +1 -1
  384. package/dist/features/time-picker/adapters/inbound/TimePicker.native.d.ts +1 -1
  385. package/dist/features/time-picker/adapters/inbound/TimePicker.web.d.ts +1 -1
  386. package/dist/features/time-picker/composition/TimePickerContent.d.ts +1 -1
  387. package/dist/features/time-picker/composition/TimePickerField.d.ts +1 -1
  388. package/dist/features/time-picker/composition/TimePickerTrigger.d.ts +1 -1
  389. package/dist/features/time-picker/public.d.ts +2 -2
  390. package/dist/features/timeline/adapters/inbound/Timeline.d.ts +1 -1
  391. package/dist/features/timeline/public.d.ts +2 -2
  392. package/dist/features/toast/adapters/inbound/Toast.d.ts +1 -1
  393. package/dist/features/toast/adapters/inbound/ToastProvider.d.ts +1 -1
  394. package/dist/features/toast/public.d.ts +3 -3
  395. package/dist/features/toolbar/adapters/inbound/Toolbar.d.ts +1 -1
  396. package/dist/features/toolbar/public.d.ts +2 -2
  397. package/dist/features/tree-view/adapters/inbound/TreeItem.d.ts +2 -2
  398. package/dist/features/tree-view/adapters/inbound/TreeView.d.ts +1 -1
  399. package/dist/features/tree-view/adapters/inbound/web-artifact/TreeItemRow.d.ts +1 -1
  400. package/dist/features/tree-view/public.d.ts +3 -3
  401. package/dist/features/typography/adapters/inbound/Heading.d.ts +1 -1
  402. package/dist/features/typography/adapters/inbound/Text.d.ts +1 -1
  403. package/dist/features/typography/public.d.ts +4 -4
  404. package/dist/features/typography/utils/resolveHeadingRecipe.d.ts +1 -1
  405. package/dist/features/typography/utils/resolveHeadingSizeFromLevel.d.ts +1 -1
  406. package/dist/features/typography/utils/resolveHeadingThemeRecipe.d.ts +1 -1
  407. package/dist/features/typography/utils/resolveTextStyle.d.ts +1 -1
  408. package/dist/features/typography/utils/resolveTextThemeRecipe.d.ts +1 -1
  409. package/dist/features/typography/utils/resolveTypographyStyleTokens.d.ts +1 -1
  410. package/dist/features/uploader/adapters/inbound/Uploader.d.ts +1 -1
  411. package/dist/features/uploader/adapters/outbound/pickDocumentOrFileAsync.d.ts +2 -2
  412. package/dist/features/uploader/adapters/outbound/pickImageOrVideoAsync.d.ts +2 -2
  413. package/dist/features/uploader/application/ports/outbound/UploadPickerPort.d.ts +1 -1
  414. package/dist/features/uploader/application/use-cases/pickUploadAssetAsync.d.ts +2 -2
  415. package/dist/features/uploader/application/use-cases/validateUploadAsset.d.ts +1 -1
  416. package/dist/features/uploader/composition/createUploadPicker.d.ts +1 -1
  417. package/dist/features/uploader/composition/createUploadPicker.web.d.ts +1 -1
  418. package/dist/features/uploader/public.d.ts +3 -3
  419. package/dist/features/video/adapters/inbound/Video.d.ts +1 -1
  420. package/dist/features/video/adapters/inbound/Video.native.d.ts +1 -1
  421. package/dist/features/video/adapters/inbound/Video.web.d.ts +1 -1
  422. package/dist/features/video/public.d.ts +2 -2
  423. package/dist/index.d.ts +20 -20
  424. package/dist/readerFree.d.ts +139 -139
  425. package/dist/types/accordion.d.ts +1 -1
  426. package/dist/types/activity-indicator.d.ts +1 -1
  427. package/dist/types/app-bar.d.ts +2 -2
  428. package/dist/types/app-header.d.ts +1 -1
  429. package/dist/types/audio.d.ts +1 -1
  430. package/dist/types/auth.d.ts +3 -3
  431. package/dist/types/authoring-adapters.d.ts +2 -2
  432. package/dist/types/avatar-group.d.ts +3 -3
  433. package/dist/types/avatar.d.ts +2 -2
  434. package/dist/types/badge.d.ts +3 -3
  435. package/dist/types/base.d.ts +1 -1
  436. package/dist/types/breadcrumbs.d.ts +1 -1
  437. package/dist/types/button-group.d.ts +2 -2
  438. package/dist/types/button.d.ts +3 -3
  439. package/dist/types/calendar.d.ts +2 -2
  440. package/dist/types/card.d.ts +1 -1
  441. package/dist/types/chat.d.ts +3 -3
  442. package/dist/types/checkbox.d.ts +1 -1
  443. package/dist/types/chess.d.ts +1 -1
  444. package/dist/types/chip-group.d.ts +3 -3
  445. package/dist/types/chip.d.ts +3 -3
  446. package/dist/types/collection-editor.d.ts +1 -1
  447. package/dist/types/color.d.ts +1 -1
  448. package/dist/types/content-rail.d.ts +1 -1
  449. package/dist/types/data-table.d.ts +5 -3
  450. package/dist/types/data-table.d.ts.map +1 -1
  451. package/dist/types/data-table.js.map +1 -1
  452. package/dist/types/date-picker.d.ts +1 -1
  453. package/dist/types/dialog.d.ts +2 -2
  454. package/dist/types/empty-state.d.ts +3 -3
  455. package/dist/types/explorer.d.ts +1 -1
  456. package/dist/types/flow.d.ts +1 -1
  457. package/dist/types/form.d.ts +2 -2
  458. package/dist/types/gamePresentation.d.ts +1 -1
  459. package/dist/types/gradient.d.ts +2 -2
  460. package/dist/types/graph-node.d.ts +2 -2
  461. package/dist/types/graphViewRuntime.d.ts +1 -1
  462. package/dist/types/grid-interactions.d.ts +1 -1
  463. package/dist/types/grid-rulers.d.ts +1 -1
  464. package/dist/types/grid-view.d.ts +1 -1
  465. package/dist/types/heading.d.ts +2 -2
  466. package/dist/types/hero.d.ts +3 -3
  467. package/dist/types/icon-button.d.ts +4 -4
  468. package/dist/types/icon.d.ts +1 -1
  469. package/dist/types/image.d.ts +2 -2
  470. package/dist/types/keyboard-avoiding-view.d.ts +1 -1
  471. package/dist/types/layout.d.ts +1 -1
  472. package/dist/types/link.d.ts +2 -2
  473. package/dist/types/list.d.ts +1 -1
  474. package/dist/types/manifest-bottom-sheet.d.ts +1 -1
  475. package/dist/types/manifest-list.d.ts +1 -1
  476. package/dist/types/master-detail.d.ts +1 -1
  477. package/dist/types/matrix-grid.d.ts +2 -2
  478. package/dist/types/media-card.d.ts +2 -2
  479. package/dist/types/metric-card.d.ts +3 -3
  480. package/dist/types/missing-element.d.ts +1 -1
  481. package/dist/types/pagination.d.ts +1 -1
  482. package/dist/types/palette-item.d.ts +1 -1
  483. package/dist/types/popover-menu.d.ts +1 -1
  484. package/dist/types/popover.d.ts +1 -1
  485. package/dist/types/post-card.d.ts +4 -4
  486. package/dist/types/product-card.d.ts +1 -1
  487. package/dist/types/progress.d.ts +3 -3
  488. package/dist/types/provider.d.ts +1 -1
  489. package/dist/types/radio.d.ts +2 -2
  490. package/dist/types/rating.d.ts +3 -3
  491. package/dist/types/reader.d.ts +1 -1
  492. package/dist/types/rich-text.d.ts +1 -1
  493. package/dist/types/scanner.d.ts +2 -2
  494. package/dist/types/search-input.d.ts +2 -2
  495. package/dist/types/section.d.ts +1 -1
  496. package/dist/types/select.d.ts +2 -2
  497. package/dist/types/selection.d.ts +1 -1
  498. package/dist/types/skeleton.d.ts +2 -2
  499. package/dist/types/spatial-grid.d.ts +1 -1
  500. package/dist/types/surface.d.ts +1 -1
  501. package/dist/types/switch.d.ts +1 -1
  502. package/dist/types/tabletop.d.ts +1 -1
  503. package/dist/types/tabs.d.ts +1 -1
  504. package/dist/types/text-input.d.ts +2 -2
  505. package/dist/types/text.d.ts +2 -2
  506. package/dist/types/theme-mode-toggle.d.ts +2 -2
  507. package/dist/types/theme.d.ts +2 -58
  508. package/dist/types/theme.d.ts.map +1 -1
  509. package/dist/types/theme.js.map +1 -1
  510. package/dist/types/themeNode.d.ts +58 -0
  511. package/dist/types/themeNode.d.ts.map +1 -0
  512. package/dist/types/themeNode.js +2 -0
  513. package/dist/types/themeNode.js.map +1 -0
  514. package/dist/types/time-grid.d.ts +2 -2
  515. package/dist/types/time-picker.d.ts +1 -1
  516. package/dist/types/timeline.d.ts +3 -3
  517. package/dist/types/toast.d.ts +1 -1
  518. package/dist/types/toolbar.d.ts +1 -1
  519. package/dist/types/tree-view.d.ts +1 -1
  520. package/dist/types/upload.d.ts +2 -2
  521. package/dist/types/video.d.ts +2 -2
  522. package/package.json +6 -3
  523. package/src/features/data-table/adapters/inbound/DataTable.test.tsx +52 -5
  524. package/src/features/data-table/adapters/inbound/DataTable.tsx +79 -64
  525. package/src/features/data-table/dataTableMeta.ts +9 -0
  526. package/src/features/registry/bindableComponentMeta.ts +9 -0
  527. package/src/features/theme/application/use-cases/compileZoraTheme.ts +1 -1
  528. package/src/features/theme/application/use-cases/createZoraThemeConfig.ts +1 -1
  529. package/src/features/theme/node.ts +1 -1
  530. package/src/features/theme/public.ts +4 -0
  531. package/src/features/theme/themeModuleResolution.test.ts +20 -0
  532. package/src/features/theme/zoraDefaultTheme.ts +1 -1
  533. package/src/types/data-table.ts +2 -0
  534. package/src/types/theme.ts +31 -79
  535. package/src/types/themeNode.ts +67 -0
  536. package/web-dist/components/accordion/Accordion.dependency-1.d.ts +2 -2
  537. package/web-dist/components/accordion/Accordion.dependency-2.d.ts +72 -0
  538. package/web-dist/components/accordion-item/AccordionItem.dependency-1.d.ts +2 -2
  539. package/web-dist/components/accordion-item/AccordionItem.dependency-2.d.ts +72 -0
  540. package/web-dist/components/app-bar/AppBar.dependency-1.d.ts +2 -2
  541. package/web-dist/components/app-bar/AppBar.dependency-2.d.ts +71 -17
  542. package/web-dist/components/app-bar/AppBar.dependency-3.d.ts +18 -0
  543. package/web-dist/components/app-bar/AppBar.types-0.d.ts +1 -1
  544. package/web-dist/components/app-header/AppHeader.dependency-0.d.ts +1 -1
  545. package/web-dist/components/app-header/AppHeader.dependency-2.d.ts +2 -2
  546. package/web-dist/components/app-header/AppHeader.dependency-3.d.ts +71 -17
  547. package/web-dist/components/app-header/AppHeader.dependency-4.d.ts +18 -0
  548. package/web-dist/components/app-shell/AppShell.dependency-1.d.ts +2 -2
  549. package/web-dist/components/app-shell/AppShell.dependency-2.d.ts +72 -0
  550. package/web-dist/components/audio/Audio.dependency-1.d.ts +2 -2
  551. package/web-dist/components/audio/Audio.dependency-2.d.ts +72 -0
  552. package/web-dist/components/auth-screen/AuthScreen.dependency-1.d.ts +2 -2
  553. package/web-dist/components/auth-screen/AuthScreen.dependency-2.d.ts +71 -44
  554. package/web-dist/components/auth-screen/AuthScreen.dependency-3.d.ts +39 -20
  555. package/web-dist/components/auth-screen/AuthScreen.dependency-4.d.ts +25 -2
  556. package/web-dist/components/auth-screen/AuthScreen.dependency-5.d.ts +3 -0
  557. package/web-dist/components/auth-screen/AuthScreen.types-0.d.ts +1 -1
  558. package/web-dist/components/avatar/Avatar.dependency-1.d.ts +2 -2
  559. package/web-dist/components/avatar/Avatar.dependency-2.d.ts +71 -2
  560. package/web-dist/components/avatar/Avatar.dependency-3.d.ts +3 -0
  561. package/web-dist/components/avatar/Avatar.types-0.d.ts +1 -1
  562. package/web-dist/components/avatar-group/AvatarGroup.dependency-2.d.ts +2 -2
  563. package/web-dist/components/avatar-group/AvatarGroup.dependency-3.d.ts +71 -2
  564. package/web-dist/components/avatar-group/AvatarGroup.dependency-4.d.ts +3 -0
  565. package/web-dist/components/avatar-group/AvatarGroup.types-0.d.ts +1 -1
  566. package/web-dist/components/badge/Badge.dependency-1.d.ts +2 -2
  567. package/web-dist/components/badge/Badge.dependency-2.d.ts +71 -2
  568. package/web-dist/components/badge/Badge.dependency-3.d.ts +2 -2
  569. package/web-dist/components/badge/Badge.dependency-4.d.ts +3 -0
  570. package/web-dist/components/badge/Badge.types-0.d.ts +2 -2
  571. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.dependency-1.d.ts +2 -2
  572. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.dependency-2.d.ts +72 -0
  573. package/web-dist/components/bottom-sheet/BottomSheet.dependency-1.d.ts +2 -2
  574. package/web-dist/components/bottom-sheet/BottomSheet.dependency-2.d.ts +72 -0
  575. package/web-dist/components/breadcrumbs/Breadcrumbs.dependency-1.d.ts +2 -2
  576. package/web-dist/components/breadcrumbs/Breadcrumbs.dependency-2.d.ts +72 -0
  577. package/web-dist/components/button/Button.dependency-1.d.ts +2 -2
  578. package/web-dist/components/button/Button.dependency-2.d.ts +71 -2
  579. package/web-dist/components/button/Button.dependency-3.d.ts +2 -2
  580. package/web-dist/components/button/Button.dependency-4.d.ts +3 -0
  581. package/web-dist/components/button/Button.types-0.d.ts +2 -2
  582. package/web-dist/components/button-group/ButtonGroup.dependency-1.d.ts +2 -2
  583. package/web-dist/components/button-group/ButtonGroup.dependency-2.d.ts +69 -3
  584. package/web-dist/components/button-group/ButtonGroup.dependency-3.d.ts +6 -0
  585. package/web-dist/components/button-group/ButtonGroup.types-0.d.ts +1 -1
  586. package/web-dist/components/calendar/Calendar.dependency-1.d.ts +2 -2
  587. package/web-dist/components/calendar/Calendar.dependency-2.d.ts +50 -143
  588. package/web-dist/components/calendar/Calendar.dependency-3.d.ts +165 -0
  589. package/web-dist/components/calendar/Calendar.types-0.d.ts +1 -1
  590. package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-1.d.ts +2 -2
  591. package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-2.d.ts +65 -13
  592. package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-3.d.ts +19 -2
  593. package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-4.d.ts +2 -2
  594. package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-5.d.ts +3 -0
  595. package/web-dist/components/camera-permission-view/CameraPermissionView.types-0.d.ts +1 -1
  596. package/web-dist/components/card/Card.dependency-1.d.ts +2 -2
  597. package/web-dist/components/card/Card.dependency-2.d.ts +72 -0
  598. package/web-dist/components/card-back/CardBack.dependency-1.d.ts +2 -2
  599. package/web-dist/components/card-back/CardBack.dependency-2.d.ts +72 -0
  600. package/web-dist/components/card-hand/CardHand.dependency-1.d.ts +2 -2
  601. package/web-dist/components/card-hand/CardHand.dependency-2.d.ts +72 -0
  602. package/web-dist/components/chat-list-item/ChatListItem.dependency-2.d.ts +2 -2
  603. package/web-dist/components/chat-list-item/ChatListItem.dependency-3.d.ts +71 -2
  604. package/web-dist/components/chat-list-item/ChatListItem.dependency-4.d.ts +3 -0
  605. package/web-dist/components/chat-list-item/ChatListItem.types-0.d.ts +1 -1
  606. package/web-dist/components/checkbox/Checkbox.dependency-1.d.ts +2 -2
  607. package/web-dist/components/checkbox/Checkbox.dependency-2.d.ts +72 -0
  608. package/web-dist/components/checkbox-group/CheckboxGroup.dependency-1.d.ts +2 -2
  609. package/web-dist/components/checkbox-group/CheckboxGroup.dependency-2.d.ts +72 -0
  610. package/web-dist/components/chess-board/ChessBoard.dependency-1.d.ts +2 -2
  611. package/web-dist/components/chess-board/ChessBoard.dependency-2.d.ts +72 -0
  612. package/web-dist/components/chip/Chip.dependency-1.d.ts +2 -2
  613. package/web-dist/components/chip/Chip.dependency-2.d.ts +71 -2
  614. package/web-dist/components/chip/Chip.dependency-3.d.ts +2 -2
  615. package/web-dist/components/chip/Chip.dependency-4.d.ts +3 -0
  616. package/web-dist/components/chip/Chip.types-0.d.ts +2 -2
  617. package/web-dist/components/chip-group/ChipGroup.dependency-1.d.ts +2 -2
  618. package/web-dist/components/chip-group/ChipGroup.dependency-2.d.ts +71 -2
  619. package/web-dist/components/chip-group/ChipGroup.dependency-3.d.ts +2 -2
  620. package/web-dist/components/chip-group/ChipGroup.dependency-4.d.ts +3 -0
  621. package/web-dist/components/chip-group/ChipGroup.types-0.d.ts +2 -2
  622. package/web-dist/components/collection-editor/CollectionEditor.dependency-1.d.ts +2 -2
  623. package/web-dist/components/collection-editor/CollectionEditor.dependency-2.d.ts +72 -0
  624. package/web-dist/components/color-hue-scale/ColorHueScale.dependency-1.d.ts +2 -2
  625. package/web-dist/components/color-hue-scale/ColorHueScale.dependency-2.d.ts +72 -0
  626. package/web-dist/components/color-picker/ColorPicker.dependency-1.d.ts +2 -2
  627. package/web-dist/components/color-picker/ColorPicker.dependency-2.d.ts +72 -0
  628. package/web-dist/components/color-tone/ColorTone.dependency-1.d.ts +2 -2
  629. package/web-dist/components/color-tone/ColorTone.dependency-2.d.ts +72 -0
  630. package/web-dist/components/color-wheel/ColorWheel.dependency-1.d.ts +2 -2
  631. package/web-dist/components/color-wheel/ColorWheel.dependency-2.d.ts +72 -0
  632. package/web-dist/components/content-rail/ContentRail.dependency-1.d.ts +2 -2
  633. package/web-dist/components/content-rail/ContentRail.dependency-2.d.ts +72 -0
  634. package/web-dist/components/data-table/DataTable.dependency-1.d.ts +2 -2
  635. package/web-dist/components/data-table/DataTable.dependency-2.d.ts +71 -2
  636. package/web-dist/components/data-table/DataTable.dependency-3.d.ts +3 -1
  637. package/web-dist/components/data-table/DataTable.dependency-4.d.ts +1 -0
  638. package/web-dist/components/data-table/DataTable.js +75 -59
  639. package/web-dist/components/data-table/DataTable.types-0.d.ts +4 -2
  640. package/web-dist/components/date-picker/DatePicker.dependency-1.d.ts +2 -2
  641. package/web-dist/components/date-picker/DatePicker.dependency-2.d.ts +72 -0
  642. package/web-dist/components/dialog/Dialog.dependency-1.d.ts +2 -2
  643. package/web-dist/components/dialog/Dialog.dependency-2.d.ts +72 -1
  644. package/web-dist/components/dialog/Dialog.dependency-3.d.ts +1 -0
  645. package/web-dist/components/dialog/Dialog.types-0.d.ts +1 -1
  646. package/web-dist/components/divider/Divider.dependency-1.d.ts +2 -2
  647. package/web-dist/components/divider/Divider.dependency-2.d.ts +72 -0
  648. package/web-dist/components/empty-state/EmptyState.dependency-1.d.ts +2 -2
  649. package/web-dist/components/empty-state/EmptyState.dependency-2.d.ts +71 -2
  650. package/web-dist/components/empty-state/EmptyState.dependency-3.d.ts +2 -2
  651. package/web-dist/components/empty-state/EmptyState.dependency-4.d.ts +3 -0
  652. package/web-dist/components/empty-state/EmptyState.types-0.d.ts +2 -2
  653. package/web-dist/components/explorer/Explorer.dependency-1.d.ts +2 -2
  654. package/web-dist/components/explorer/Explorer.dependency-2.d.ts +72 -0
  655. package/web-dist/components/field/Field.dependency-2.d.ts +2 -2
  656. package/web-dist/components/field/Field.dependency-3.d.ts +72 -0
  657. package/web-dist/components/file-explorer/FileExplorer.dependency-1.d.ts +2 -2
  658. package/web-dist/components/file-explorer/FileExplorer.dependency-2.d.ts +72 -0
  659. package/web-dist/components/flat-list/FlatList.dependency-1.d.ts +2 -2
  660. package/web-dist/components/flat-list/FlatList.dependency-2.d.ts +72 -0
  661. package/web-dist/components/flow-canvas/FlowCanvas.dependency-1.d.ts +2 -2
  662. package/web-dist/components/flow-canvas/FlowCanvas.dependency-2.d.ts +72 -0
  663. package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-1.d.ts +2 -2
  664. package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-2.d.ts +71 -44
  665. package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-3.d.ts +39 -20
  666. package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-4.d.ts +25 -2
  667. package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-5.d.ts +3 -0
  668. package/web-dist/components/forgot-password-form/ForgotPasswordForm.types-0.d.ts +1 -1
  669. package/web-dist/components/form/Form.dependency-1.d.ts +2 -2
  670. package/web-dist/components/form/Form.dependency-2.d.ts +72 -0
  671. package/web-dist/components/form-actions/FormActions.dependency-1.d.ts +2 -2
  672. package/web-dist/components/form-actions/FormActions.dependency-2.d.ts +72 -0
  673. package/web-dist/components/form-error/FormError.dependency-1.d.ts +2 -2
  674. package/web-dist/components/form-error/FormError.dependency-2.d.ts +72 -0
  675. package/web-dist/components/game/Game.dependency-1.d.ts +2 -2
  676. package/web-dist/components/game/Game.dependency-2.d.ts +72 -0
  677. package/web-dist/components/game-entity/GameEntity.dependency-1.d.ts +2 -2
  678. package/web-dist/components/game-entity/GameEntity.dependency-2.d.ts +72 -0
  679. package/web-dist/components/game-field/GameField.dependency-1.d.ts +2 -2
  680. package/web-dist/components/game-field/GameField.dependency-2.d.ts +72 -0
  681. package/web-dist/components/game-input-zone/GameInputZone.dependency-1.d.ts +2 -2
  682. package/web-dist/components/game-input-zone/GameInputZone.dependency-2.d.ts +72 -0
  683. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.dependency-1.d.ts +2 -2
  684. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.dependency-2.d.ts +72 -0
  685. package/web-dist/components/game-overlay/GameOverlay.dependency-1.d.ts +2 -2
  686. package/web-dist/components/game-overlay/GameOverlay.dependency-2.d.ts +72 -0
  687. package/web-dist/components/gradient/Gradient.dependency-1.d.ts +2 -2
  688. package/web-dist/components/gradient/Gradient.dependency-2.d.ts +69 -3
  689. package/web-dist/components/gradient/Gradient.dependency-3.d.ts +6 -0
  690. package/web-dist/components/gradient/Gradient.types-0.d.ts +1 -1
  691. package/web-dist/components/graph-node/GraphNode.dependency-1.d.ts +2 -2
  692. package/web-dist/components/graph-node/GraphNode.dependency-2.d.ts +70 -3
  693. package/web-dist/components/graph-node/GraphNode.dependency-3.d.ts +5 -0
  694. package/web-dist/components/graph-node/GraphNode.types-0.d.ts +1 -1
  695. package/web-dist/components/grid/Grid.dependency-1.d.ts +2 -2
  696. package/web-dist/components/grid/Grid.dependency-2.d.ts +72 -0
  697. package/web-dist/components/grid-interactions/GridInteractions.dependency-1.d.ts +2 -2
  698. package/web-dist/components/grid-interactions/GridInteractions.dependency-2.d.ts +72 -0
  699. package/web-dist/components/grid-line-overlay/GridLineOverlay.dependency-1.d.ts +2 -2
  700. package/web-dist/components/grid-line-overlay/GridLineOverlay.dependency-2.d.ts +72 -0
  701. package/web-dist/components/grid-ruler/GridRuler.dependency-1.d.ts +2 -2
  702. package/web-dist/components/grid-ruler/GridRuler.dependency-2.d.ts +72 -0
  703. package/web-dist/components/grid-view/GridView.dependency-1.d.ts +2 -2
  704. package/web-dist/components/grid-view/GridView.dependency-2.d.ts +72 -0
  705. package/web-dist/components/heading/Heading.dependency-1.d.ts +2 -2
  706. package/web-dist/components/heading/Heading.dependency-2.d.ts +70 -3
  707. package/web-dist/components/heading/Heading.dependency-3.d.ts +5 -0
  708. package/web-dist/components/heading/Heading.types-0.d.ts +1 -1
  709. package/web-dist/components/hero/Hero.dependency-1.d.ts +2 -2
  710. package/web-dist/components/hero/Hero.dependency-2.d.ts +71 -2
  711. package/web-dist/components/hero/Hero.dependency-3.d.ts +2 -2
  712. package/web-dist/components/hero/Hero.dependency-4.d.ts +3 -0
  713. package/web-dist/components/hero/Hero.types-0.d.ts +2 -2
  714. package/web-dist/components/icon/Icon.dependency-1.d.ts +2 -2
  715. package/web-dist/components/icon/Icon.dependency-2.d.ts +72 -0
  716. package/web-dist/components/icon-button/IconButton.dependency-1.d.ts +2 -2
  717. package/web-dist/components/icon-button/IconButton.dependency-2.d.ts +71 -2
  718. package/web-dist/components/icon-button/IconButton.dependency-3.d.ts +2 -2
  719. package/web-dist/components/icon-button/IconButton.dependency-4.d.ts +2 -2
  720. package/web-dist/components/icon-button/IconButton.dependency-5.d.ts +3 -0
  721. package/web-dist/components/icon-button/IconButton.types-0.d.ts +3 -3
  722. package/web-dist/components/image/Image.dependency-1.d.ts +2 -2
  723. package/web-dist/components/image/Image.dependency-2.d.ts +72 -23
  724. package/web-dist/components/image/Image.dependency-3.d.ts +23 -0
  725. package/web-dist/components/image/Image.types-0.d.ts +1 -1
  726. package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.dependency-1.d.ts +2 -2
  727. package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.dependency-2.d.ts +72 -0
  728. package/web-dist/components/link/Link.dependency-1.d.ts +2 -2
  729. package/web-dist/components/link/Link.dependency-2.d.ts +69 -4
  730. package/web-dist/components/link/Link.dependency-3.d.ts +5 -3
  731. package/web-dist/components/link/Link.dependency-4.d.ts +5 -0
  732. package/web-dist/components/link/Link.types-0.d.ts +1 -1
  733. package/web-dist/components/list/List.dependency-1.d.ts +2 -2
  734. package/web-dist/components/list/List.dependency-2.d.ts +72 -0
  735. package/web-dist/components/list-item/ListItem.dependency-1.d.ts +2 -2
  736. package/web-dist/components/list-item/ListItem.dependency-2.d.ts +72 -0
  737. package/web-dist/components/list-section/ListSection.dependency-1.d.ts +2 -2
  738. package/web-dist/components/list-section/ListSection.dependency-2.d.ts +72 -0
  739. package/web-dist/components/master-detail/MasterDetail.dependency-1.d.ts +2 -2
  740. package/web-dist/components/master-detail/MasterDetail.dependency-2.d.ts +72 -0
  741. package/web-dist/components/matrix-grid/MatrixGrid.dependency-1.d.ts +2 -2
  742. package/web-dist/components/matrix-grid/MatrixGrid.dependency-2.d.ts +72 -1
  743. package/web-dist/components/matrix-grid/MatrixGrid.dependency-3.d.ts +1 -0
  744. package/web-dist/components/matrix-grid/MatrixGrid.types-0.d.ts +1 -1
  745. package/web-dist/components/media-card/MediaCard.dependency-1.d.ts +2 -2
  746. package/web-dist/components/media-card/MediaCard.dependency-2.d.ts +72 -1
  747. package/web-dist/components/media-card/MediaCard.dependency-3.d.ts +1 -0
  748. package/web-dist/components/media-card/MediaCard.types-0.d.ts +1 -1
  749. package/web-dist/components/media-explorer/MediaExplorer.dependency-1.d.ts +2 -2
  750. package/web-dist/components/media-explorer/MediaExplorer.dependency-2.d.ts +72 -0
  751. package/web-dist/components/message-bubble/MessageBubble.dependency-2.d.ts +2 -2
  752. package/web-dist/components/message-bubble/MessageBubble.dependency-3.d.ts +71 -2
  753. package/web-dist/components/message-bubble/MessageBubble.dependency-4.d.ts +3 -0
  754. package/web-dist/components/message-bubble/MessageBubble.types-0.d.ts +1 -1
  755. package/web-dist/components/metric-card/MetricCard.dependency-1.d.ts +2 -2
  756. package/web-dist/components/metric-card/MetricCard.dependency-2.d.ts +72 -1
  757. package/web-dist/components/metric-card/MetricCard.dependency-3.d.ts +1 -3
  758. package/web-dist/components/metric-card/MetricCard.dependency-4.d.ts +3 -0
  759. package/web-dist/components/metric-card/MetricCard.types-0.d.ts +2 -2
  760. package/web-dist/components/missing-element/MissingElement.dependency-1.d.ts +2 -2
  761. package/web-dist/components/missing-element/MissingElement.dependency-2.d.ts +72 -0
  762. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-1.d.ts +2 -2
  763. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-2.d.ts +65 -13
  764. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-3.d.ts +19 -2
  765. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-4.d.ts +2 -2
  766. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-5.d.ts +3 -0
  767. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.types-0.d.ts +1 -1
  768. package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-1.d.ts +2 -2
  769. package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-2.d.ts +65 -13
  770. package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-3.d.ts +19 -2
  771. package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-4.d.ts +2 -2
  772. package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-5.d.ts +3 -0
  773. package/web-dist/components/o-auth-provider-list/OAuthProviderList.types-0.d.ts +1 -1
  774. package/web-dist/components/opening-book/OpeningBook.dependency-1.d.ts +2 -2
  775. package/web-dist/components/opening-book/OpeningBook.dependency-2.d.ts +72 -0
  776. package/web-dist/components/otp-form/OtpForm.dependency-1.d.ts +2 -2
  777. package/web-dist/components/otp-form/OtpForm.dependency-2.d.ts +71 -44
  778. package/web-dist/components/otp-form/OtpForm.dependency-3.d.ts +39 -20
  779. package/web-dist/components/otp-form/OtpForm.dependency-4.d.ts +25 -2
  780. package/web-dist/components/otp-form/OtpForm.dependency-5.d.ts +3 -0
  781. package/web-dist/components/otp-form/OtpForm.types-0.d.ts +1 -1
  782. package/web-dist/components/pagination/Pagination.dependency-1.d.ts +2 -2
  783. package/web-dist/components/pagination/Pagination.dependency-2.d.ts +72 -0
  784. package/web-dist/components/palette-item/PaletteItem.dependency-1.d.ts +2 -2
  785. package/web-dist/components/palette-item/PaletteItem.dependency-2.d.ts +72 -0
  786. package/web-dist/components/playing-card/PlayingCard.dependency-1.d.ts +2 -2
  787. package/web-dist/components/playing-card/PlayingCard.dependency-2.d.ts +72 -0
  788. package/web-dist/components/poker-training-table/PokerTrainingTable.dependency-1.d.ts +2 -2
  789. package/web-dist/components/poker-training-table/PokerTrainingTable.dependency-2.d.ts +72 -0
  790. package/web-dist/components/popover/Popover.dependency-1.d.ts +2 -2
  791. package/web-dist/components/popover/Popover.dependency-2.d.ts +72 -0
  792. package/web-dist/components/popover-menu/PopoverMenu.dependency-1.d.ts +2 -2
  793. package/web-dist/components/popover-menu/PopoverMenu.dependency-2.d.ts +72 -0
  794. package/web-dist/components/post-card/PostCard.dependency-2.d.ts +2 -2
  795. package/web-dist/components/post-card/PostCard.dependency-3.d.ts +72 -1
  796. package/web-dist/components/post-card/PostCard.dependency-4.d.ts +1 -3
  797. package/web-dist/components/post-card/PostCard.dependency-5.d.ts +3 -0
  798. package/web-dist/components/post-card/PostCard.types-0.d.ts +2 -2
  799. package/web-dist/components/product-card/ProductCard.dependency-1.d.ts +2 -2
  800. package/web-dist/components/product-card/ProductCard.dependency-2.d.ts +72 -0
  801. package/web-dist/components/progress/Progress.dependency-1.d.ts +2 -2
  802. package/web-dist/components/progress/Progress.dependency-2.d.ts +71 -2
  803. package/web-dist/components/progress/Progress.dependency-3.d.ts +2 -2
  804. package/web-dist/components/progress/Progress.dependency-4.d.ts +3 -0
  805. package/web-dist/components/progress/Progress.types-0.d.ts +2 -2
  806. package/web-dist/components/progress-ring/ProgressRing.dependency-1.d.ts +2 -2
  807. package/web-dist/components/progress-ring/ProgressRing.dependency-2.d.ts +71 -2
  808. package/web-dist/components/progress-ring/ProgressRing.dependency-3.d.ts +3 -0
  809. package/web-dist/components/progress-ring/ProgressRing.types-0.d.ts +1 -1
  810. package/web-dist/components/radio/Radio.dependency-1.d.ts +2 -2
  811. package/web-dist/components/radio/Radio.dependency-2.d.ts +72 -0
  812. package/web-dist/components/radio-group/RadioGroup.dependency-1.d.ts +2 -2
  813. package/web-dist/components/radio-group/RadioGroup.dependency-2.d.ts +70 -3
  814. package/web-dist/components/radio-group/RadioGroup.dependency-3.d.ts +5 -0
  815. package/web-dist/components/radio-group/RadioGroup.types-0.d.ts +1 -1
  816. package/web-dist/components/rating/Rating.dependency-1.d.ts +2 -2
  817. package/web-dist/components/rating/Rating.dependency-2.d.ts +71 -2
  818. package/web-dist/components/rating/Rating.dependency-3.d.ts +2 -2
  819. package/web-dist/components/rating/Rating.dependency-4.d.ts +3 -0
  820. package/web-dist/components/rating/Rating.types-0.d.ts +2 -2
  821. package/web-dist/components/reader/Reader.dependency-1.d.ts +2 -2
  822. package/web-dist/components/reader/Reader.dependency-2.d.ts +72 -0
  823. package/web-dist/components/rich-text/RichText.dependency-1.d.ts +2 -2
  824. package/web-dist/components/rich-text/RichText.dependency-2.d.ts +72 -0
  825. package/web-dist/components/scan-overlay/ScanOverlay.dependency-1.d.ts +2 -2
  826. package/web-dist/components/scan-overlay/ScanOverlay.dependency-2.d.ts +72 -0
  827. package/web-dist/components/screen/Screen.dependency-1.d.ts +2 -2
  828. package/web-dist/components/screen/Screen.dependency-2.d.ts +72 -0
  829. package/web-dist/components/screen-section/ScreenSection.dependency-1.d.ts +2 -2
  830. package/web-dist/components/screen-section/ScreenSection.dependency-2.d.ts +72 -0
  831. package/web-dist/components/scroll-view/ScrollView.dependency-1.d.ts +2 -2
  832. package/web-dist/components/scroll-view/ScrollView.dependency-2.d.ts +72 -0
  833. package/web-dist/components/search-input/SearchInput.dependency-1.d.ts +2 -2
  834. package/web-dist/components/search-input/SearchInput.dependency-2.d.ts +71 -2
  835. package/web-dist/components/search-input/SearchInput.dependency-3.d.ts +3 -0
  836. package/web-dist/components/search-input/SearchInput.types-0.d.ts +1 -1
  837. package/web-dist/components/section-header/SectionHeader.dependency-1.d.ts +2 -2
  838. package/web-dist/components/section-header/SectionHeader.dependency-2.d.ts +72 -0
  839. package/web-dist/components/section-list/SectionList.dependency-1.d.ts +2 -2
  840. package/web-dist/components/section-list/SectionList.dependency-2.d.ts +72 -0
  841. package/web-dist/components/select/Select.dependency-1.d.ts +2 -2
  842. package/web-dist/components/select/Select.dependency-2.d.ts +68 -5
  843. package/web-dist/components/select/Select.dependency-3.d.ts +8 -22
  844. package/web-dist/components/select/Select.dependency-4.d.ts +23 -0
  845. package/web-dist/components/select/Select.types-0.d.ts +1 -1
  846. package/web-dist/components/selectable-item/SelectableItem.dependency-1.d.ts +2 -2
  847. package/web-dist/components/selectable-item/SelectableItem.dependency-2.d.ts +72 -0
  848. package/web-dist/components/sign-in-form/SignInForm.dependency-1.d.ts +2 -2
  849. package/web-dist/components/sign-in-form/SignInForm.dependency-2.d.ts +71 -44
  850. package/web-dist/components/sign-in-form/SignInForm.dependency-3.d.ts +39 -20
  851. package/web-dist/components/sign-in-form/SignInForm.dependency-4.d.ts +25 -2
  852. package/web-dist/components/sign-in-form/SignInForm.dependency-5.d.ts +3 -0
  853. package/web-dist/components/sign-in-form/SignInForm.types-0.d.ts +1 -1
  854. package/web-dist/components/sign-up-form/SignUpForm.dependency-1.d.ts +2 -2
  855. package/web-dist/components/sign-up-form/SignUpForm.dependency-2.d.ts +71 -44
  856. package/web-dist/components/sign-up-form/SignUpForm.dependency-3.d.ts +39 -20
  857. package/web-dist/components/sign-up-form/SignUpForm.dependency-4.d.ts +25 -2
  858. package/web-dist/components/sign-up-form/SignUpForm.dependency-5.d.ts +3 -0
  859. package/web-dist/components/sign-up-form/SignUpForm.types-0.d.ts +1 -1
  860. package/web-dist/components/skeleton/Skeleton.dependency-1.d.ts +2 -2
  861. package/web-dist/components/skeleton/Skeleton.dependency-2.d.ts +69 -3
  862. package/web-dist/components/skeleton/Skeleton.dependency-3.d.ts +6 -0
  863. package/web-dist/components/skeleton/Skeleton.types-0.d.ts +1 -1
  864. package/web-dist/components/skeleton-card/SkeletonCard.dependency-1.d.ts +2 -2
  865. package/web-dist/components/skeleton-card/SkeletonCard.dependency-2.d.ts +72 -0
  866. package/web-dist/components/skeleton-list/SkeletonList.dependency-1.d.ts +2 -2
  867. package/web-dist/components/skeleton-list/SkeletonList.dependency-2.d.ts +72 -0
  868. package/web-dist/components/skeleton-text/SkeletonText.dependency-1.d.ts +2 -2
  869. package/web-dist/components/skeleton-text/SkeletonText.dependency-2.d.ts +69 -3
  870. package/web-dist/components/skeleton-text/SkeletonText.dependency-3.d.ts +6 -0
  871. package/web-dist/components/skeleton-text/SkeletonText.types-0.d.ts +1 -1
  872. package/web-dist/components/spatial-grid/SpatialGrid.dependency-1.d.ts +2 -2
  873. package/web-dist/components/spatial-grid/SpatialGrid.dependency-2.d.ts +72 -0
  874. package/web-dist/components/surface/Surface.dependency-1.d.ts +2 -2
  875. package/web-dist/components/surface/Surface.dependency-2.d.ts +72 -0
  876. package/web-dist/components/switch/Switch.dependency-1.d.ts +2 -2
  877. package/web-dist/components/switch/Switch.dependency-2.d.ts +72 -0
  878. package/web-dist/components/tab/Tab.dependency-1.d.ts +2 -2
  879. package/web-dist/components/tab/Tab.dependency-2.d.ts +72 -0
  880. package/web-dist/components/tab-list/TabList.dependency-1.d.ts +2 -2
  881. package/web-dist/components/tab-list/TabList.dependency-2.d.ts +72 -0
  882. package/web-dist/components/tab-panel/TabPanel.dependency-1.d.ts +2 -2
  883. package/web-dist/components/tab-panel/TabPanel.dependency-2.d.ts +72 -0
  884. package/web-dist/components/tabletop-table/TabletopTable.dependency-1.d.ts +2 -2
  885. package/web-dist/components/tabletop-table/TabletopTable.dependency-2.d.ts +72 -0
  886. package/web-dist/components/tabs/Tabs.dependency-1.d.ts +2 -2
  887. package/web-dist/components/tabs/Tabs.dependency-2.d.ts +72 -0
  888. package/web-dist/components/text/Text.dependency-1.d.ts +2 -2
  889. package/web-dist/components/text/Text.dependency-2.d.ts +70 -3
  890. package/web-dist/components/text/Text.dependency-3.d.ts +5 -0
  891. package/web-dist/components/text/Text.types-0.d.ts +1 -1
  892. package/web-dist/components/text-input/TextInput.dependency-1.d.ts +2 -2
  893. package/web-dist/components/text-input/TextInput.dependency-2.d.ts +71 -2
  894. package/web-dist/components/text-input/TextInput.dependency-3.d.ts +3 -0
  895. package/web-dist/components/text-input/TextInput.types-0.d.ts +1 -1
  896. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-1.d.ts +2 -2
  897. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-2.d.ts +66 -18
  898. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-3.d.ts +23 -2
  899. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-4.d.ts +2 -2
  900. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-5.d.ts +2 -2
  901. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-6.d.ts +3 -0
  902. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.types-0.d.ts +1 -1
  903. package/web-dist/components/tile-grid/TileGrid.dependency-1.d.ts +2 -2
  904. package/web-dist/components/tile-grid/TileGrid.dependency-2.d.ts +72 -0
  905. package/web-dist/components/time-grid/TimeGrid.dependency-1.d.ts +2 -2
  906. package/web-dist/components/time-grid/TimeGrid.dependency-2.d.ts +71 -12
  907. package/web-dist/components/time-grid/TimeGrid.dependency-3.d.ts +13 -0
  908. package/web-dist/components/time-grid/TimeGrid.types-0.d.ts +1 -1
  909. package/web-dist/components/time-picker/TimePicker.dependency-1.d.ts +2 -2
  910. package/web-dist/components/time-picker/TimePicker.dependency-2.d.ts +72 -0
  911. package/web-dist/components/timeline/Timeline.dependency-1.d.ts +2 -2
  912. package/web-dist/components/timeline/Timeline.dependency-2.d.ts +68 -5
  913. package/web-dist/components/timeline/Timeline.dependency-3.d.ts +8 -22
  914. package/web-dist/components/timeline/Timeline.dependency-4.d.ts +22 -2
  915. package/web-dist/components/timeline/Timeline.dependency-5.d.ts +3 -0
  916. package/web-dist/components/timeline/Timeline.types-0.d.ts +2 -2
  917. package/web-dist/components/toast/Toast.dependency-1.d.ts +2 -2
  918. package/web-dist/components/toast/Toast.dependency-2.d.ts +72 -0
  919. package/web-dist/components/toolbar/Toolbar.dependency-1.d.ts +2 -2
  920. package/web-dist/components/toolbar/Toolbar.dependency-2.d.ts +72 -0
  921. package/web-dist/components/tree-item/TreeItem.dependency-1.d.ts +2 -2
  922. package/web-dist/components/tree-item/TreeItem.dependency-2.d.ts +72 -0
  923. package/web-dist/components/uploader/Uploader.dependency-1.d.ts +2 -2
  924. package/web-dist/components/uploader/Uploader.dependency-2.d.ts +69 -12
  925. package/web-dist/components/uploader/Uploader.dependency-3.d.ts +15 -0
  926. package/web-dist/components/uploader/Uploader.types-0.d.ts +1 -1
  927. package/web-dist/components/video/Video.dependency-1.d.ts +2 -2
  928. package/web-dist/components/video/Video.dependency-2.d.ts +68 -5
  929. package/web-dist/components/video/Video.dependency-3.d.ts +8 -22
  930. package/web-dist/components/video/Video.dependency-4.d.ts +23 -0
  931. package/web-dist/components/video/Video.types-0.d.ts +1 -1
  932. package/web-dist/components/view/View.dependency-1.d.ts +2 -2
  933. package/web-dist/components/view/View.dependency-2.d.ts +72 -0
  934. package/web-dist/components/zora-provider/ZoraProvider.dependency-0.d.ts +2 -14
  935. package/web-dist/components/zora-provider/ZoraProvider.dependency-1.d.ts +72 -0
  936. package/web-dist/components/zora-theme-scope/ZoraThemeScope.d.ts +1 -1
  937. package/web-dist/components/zora-theme-scope/ZoraThemeScope.dependency-0.d.ts +3 -0
  938. package/web-dist/components/zora-theme-scope/ZoraThemeScope.dependency-1.d.ts +72 -0
  939. package/web-dist/manifest.json +134 -0
@@ -1,4 +1,4 @@
1
- import type { ChessBoardCell, ChessBoardProps } from '../../../types/chess';
1
+ import type { ChessBoardCell, ChessBoardProps } from '../../../types/chess.js';
2
2
  type ChessBoardCellPressHandlerOptions = Pick<ChessBoardProps, 'disabled' | 'interactionPolicy' | 'onCellPress' | 'onMoveAttempt' | 'selectedCell'>;
3
3
  /*** Creates the caller-owned cell and move intent boundary for an interactive chess presentation. */
4
4
  export declare function createChessBoardCellPressHandler({ disabled, interactionPolicy, onCellPress, onMoveAttempt, selectedCell, }: ChessBoardCellPressHandlerOptions): (cell: ChessBoardCell) => void;
@@ -1,4 +1,4 @@
1
- import type { ChessBoardCell, ChessBoardOrientation } from '../../../types/chess';
1
+ import type { ChessBoardCell, ChessBoardOrientation } from '../../../types/chess.js';
2
2
  type ChessBoardGridCell = ChessBoardCell & {
3
3
  readonly height: 1;
4
4
  readonly id: string;
@@ -1,4 +1,4 @@
1
- import type { ChessBoardColorOverrides, ChessBoardColorScheme } from '../../../types/chess';
1
+ import type { ChessBoardColorOverrides, ChessBoardColorScheme } from '../../../types/chess.js';
2
2
  export interface ChessColorThemeShape {
3
3
  semantics: {
4
4
  action: {
@@ -1,5 +1,5 @@
1
- import type { OpeningBookColorOverrides, OpeningBookColorScheme } from '../../../types/chess';
2
- import type { ChessColorThemeShape } from './createChessBoardColorScheme';
1
+ import type { OpeningBookColorOverrides, OpeningBookColorScheme } from '../../../types/chess.js';
2
+ import type { ChessColorThemeShape } from './createChessBoardColorScheme.js';
3
3
  /***
4
4
  * Creates the theme-derived palette used by `OpeningBook`.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ChipProps } from '../../../../types/chip';
2
+ import type { ChipProps } from '../../../../types/chip.js';
3
3
  /***
4
4
  * Compact pill-like control for filters, tags, and quick selections.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ChipGroupProps } from '../../../../types/chip-group';
2
+ import type { ChipGroupProps } from '../../../../types/chip-group.js';
3
3
  /***
4
4
  * Renders a row or wrap layout of `Chip` items.
5
5
  */
@@ -1,5 +1,5 @@
1
- export type { ChipProps } from '../../types/chip';
2
- export type { ChipGroupItem, ChipGroupProps } from '../../types/chip-group';
3
- export { Chip } from './adapters/inbound/Chip';
4
- export { ChipGroup } from './adapters/inbound/ChipGroup';
1
+ export type { ChipProps } from '../../types/chip.js';
2
+ export type { ChipGroupItem, ChipGroupProps } from '../../types/chip-group.js';
3
+ export { Chip } from './adapters/inbound/Chip.js';
4
+ export { ChipGroup } from './adapters/inbound/ChipGroup.js';
5
5
  //# sourceMappingURL=public.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { SurfaceTheme } from '@ankhorage/surface';
2
- import type { ChipColors, ChipInteractionState } from '../../../types/chip';
3
- import type { ZoraColor } from '../../../types/theme';
2
+ import type { ChipColors, ChipInteractionState } from '../../../types/chip.js';
3
+ import type { ZoraColor } from '../../../types/theme.js';
4
4
  export declare function resolveChipColors({ theme, color, selected, state, }: {
5
5
  theme: SurfaceTheme;
6
6
  color: ZoraColor;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { CollectionEditorProps } from '../../../../types/collection-editor';
2
+ import type { CollectionEditorProps } from '../../../../types/collection-editor.js';
3
3
  /***
4
4
  * Editor pattern for adding, removing, and reordering a collection of items.
5
5
  *
@@ -1,3 +1,3 @@
1
- export type { CollectionEditorProps, CollectionEditorRenderItemProps, } from '../../types/collection-editor';
2
- export { CollectionEditor } from './adapters/inbound/CollectionEditor';
1
+ export type { CollectionEditorProps, CollectionEditorRenderItemProps, } from '../../types/collection-editor.js';
2
+ export { CollectionEditor } from './adapters/inbound/CollectionEditor.js';
3
3
  //# sourceMappingURL=public.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- export { ColorHorizontalPointerProxy } from './ColorHorizontalPointerProxy.native';
2
+ export { ColorHorizontalPointerProxy } from './ColorHorizontalPointerProxy.native.js';
3
3
  export interface ColorHorizontalPointerProxyProps {
4
4
  readonly children: React.ReactNode;
5
5
  readonly disabled: boolean;
@@ -1,4 +1,4 @@
1
- import type { ColorHorizontalPointerProxyProps } from './ColorHorizontalPointerProxy';
1
+ import type { ColorHorizontalPointerProxyProps } from './ColorHorizontalPointerProxy.js';
2
2
  /*** Leaves native SVG responders in charge of horizontal slider gestures. */
3
3
  export declare function ColorHorizontalPointerProxy({ children }: ColorHorizontalPointerProxyProps): import("react").ReactNode;
4
4
  //# sourceMappingURL=ColorHorizontalPointerProxy.native.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ColorHorizontalPointerProxyProps } from './ColorHorizontalPointerProxy';
2
+ import type { ColorHorizontalPointerProxyProps } from './ColorHorizontalPointerProxy.js';
3
3
  /*** Maps browser drag coordinates into an SVG slider's stable viewbox width. */
4
4
  export declare function ColorHorizontalPointerProxy({ children, disabled, onChange, width, }: ColorHorizontalPointerProxyProps): React.JSX.Element;
5
5
  //# sourceMappingURL=ColorHorizontalPointerProxy.web.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ColorHueScaleProps } from '../../types/color';
1
+ import type { ColorHueScaleProps } from '../../types/color.js';
2
2
  /*** Edits the 500 base color and previews its canonical 50-to-950 swatch. */
3
3
  export declare const ColorHueScale: (props: ColorHueScaleProps) => React.ReactElement | null;
4
4
  //# sourceMappingURL=ColorHueScale.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ColorPickerProps } from '../../types/color';
2
+ import type { ColorPickerProps } from '../../types/color.js';
3
3
  /*** Replaces the former Tone/Hue picker with one controlled Grid/Wheel presentation. */
4
4
  export declare const ColorPicker: (props: ColorPickerProps) => React.ReactElement | null;
5
5
  //# sourceMappingURL=ColorPicker.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ColorToneProps } from '../../types/color';
2
+ import type { ColorToneProps } from '../../types/color.js';
3
3
  /*** Selects consumer-provided OKLCH tone targets while keeping hue adjustable. */
4
4
  export declare const ColorTone: (props: ColorToneProps) => React.ReactElement | null;
5
5
  //# sourceMappingURL=ColorTone.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ColorWheelProps } from '../../types/color';
2
+ import type { ColorWheelProps } from '../../types/color.js';
3
3
  /*** Renders a size-owned, filled OKLCH wheel with controlled primary and harmony points. */
4
4
  export declare const ColorWheel: (props: ColorWheelProps) => React.ReactElement | null;
5
5
  //# sourceMappingURL=ColorWheel.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- export { ColorWheelKeyboardProxy } from './ColorWheelKeyboardProxy.native';
2
+ export { ColorWheelKeyboardProxy } from './ColorWheelKeyboardProxy.native.js';
3
3
  export interface ColorWheelKeyboardProxyProps {
4
4
  readonly children: React.ReactNode;
5
5
  readonly chroma: number;
@@ -1,4 +1,4 @@
1
- import type { ColorWheelKeyboardProxyProps } from './ColorWheelKeyboardProxy';
1
+ import type { ColorWheelKeyboardProxyProps } from './ColorWheelKeyboardProxy.js';
2
2
  /*** Exposes native accessibility increment and decrement actions for the controlled color wheel. */
3
3
  export declare function ColorWheelKeyboardProxy({ children, chroma, disabled, hue, onChange, }: ColorWheelKeyboardProxyProps): import("react").JSX.Element;
4
4
  //# sourceMappingURL=ColorWheelKeyboardProxy.native.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { ColorWheelKeyboardProxyProps } from './ColorWheelKeyboardProxy';
2
+ import type { ColorWheelKeyboardProxyProps } from './ColorWheelKeyboardProxy.js';
3
3
  /*** Bridges browser keyboard input to controlled OKLCH wheel hue and chroma changes. */
4
4
  export declare function ColorWheelKeyboardProxy({ children, chroma, disabled, hue, maxChroma, onChange, }: ColorWheelKeyboardProxyProps): React.JSX.Element;
5
5
  //# sourceMappingURL=ColorWheelKeyboardProxy.web.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- export { ColorWheelPointerProxy } from './ColorWheelPointerProxy.native';
2
+ export { ColorWheelPointerProxy } from './ColorWheelPointerProxy.native.js';
3
3
  export interface ColorWheelPointerProxyProps {
4
4
  readonly children: React.ReactNode;
5
5
  readonly disabled: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ColorWheelPointerProxyProps } from './ColorWheelPointerProxy';
2
+ import type { ColorWheelPointerProxyProps } from './ColorWheelPointerProxy.js';
3
3
  /*** Adds the sole native responder path to the SVG wheel. */
4
4
  export declare function ColorWheelPointerProxy({ children, disabled, height, onChange, width, renderedSize, }: ColorWheelPointerProxyProps): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.ReactElement<Record<string, unknown>, string | React.JSXElementConstructor<any>> | null | undefined;
5
5
  //# sourceMappingURL=ColorWheelPointerProxy.native.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ColorWheelPointerProxyProps } from './ColorWheelPointerProxy';
2
+ import type { ColorWheelPointerProxyProps } from './ColorWheelPointerProxy.js';
3
3
  /*** Maps mouse, pen and touch coordinates into the wheel viewBox for click and drag selection. */
4
4
  export declare function ColorWheelPointerProxy({ children, disabled, height, onChange, renderedSize: _renderedSize, width, }: ColorWheelPointerProxyProps): React.JSX.Element;
5
5
  //# sourceMappingURL=ColorWheelPointerProxy.web.d.ts.map
@@ -1,6 +1,6 @@
1
- export type { ColorHueScaleProps, ColorPickerProps, ColorPickerTab, ColorToneDefinition, ColorToneProps, ColorToneSelection, ColorToneTarget, ColorWheelProps, ColorWheelSelection, } from '../../types/color';
2
- export { ColorHueScale } from './ColorHueScale';
3
- export { ColorPicker } from './ColorPicker';
4
- export { ColorTone } from './ColorTone';
5
- export { ColorWheel } from './ColorWheel';
1
+ export type { ColorHueScaleProps, ColorPickerProps, ColorPickerTab, ColorToneDefinition, ColorToneProps, ColorToneSelection, ColorToneTarget, ColorWheelProps, ColorWheelSelection, } from '../../types/color.js';
2
+ export { ColorHueScale } from './ColorHueScale.js';
3
+ export { ColorPicker } from './ColorPicker.js';
4
+ export { ColorTone } from './ColorTone.js';
5
+ export { ColorWheel } from './ColorWheel.js';
6
6
  //# sourceMappingURL=public.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type { HexColor } from '@ankhorage/color-theory';
2
- import type { ColorToneTarget } from '../../../types/color';
2
+ import type { ColorToneTarget } from '../../../types/color.js';
3
3
  /*** Resolve a valid hex color from a bounded OKLCH target without owning color theory policy. */
4
4
  export declare function resolveOklchColor(target: ColorToneTarget, hue: number): HexColor;
5
5
  //# sourceMappingURL=resolveOklchColor.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ContentRailProps } from '../../../../types/content-rail';
2
+ import type { ContentRailProps } from '../../../../types/content-rail.js';
3
3
  /**
4
4
  * Horizontally browsable, manifest-authorable content with responsive item sizing.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ContentRailProps } from '../../../../types/content-rail';
2
+ import type { ContentRailProps } from '../../../../types/content-rail.js';
3
3
  /*** Wraps intrinsically sized content in a free horizontal native scroll view. */
4
4
  export declare function ContentRailFlow({ children, gap, padding, direction, bounces, showsScrollIndicator, accessibilityLabel, interactionPolicy, testID, }: ContentRailProps): React.JSX.Element;
5
5
  //# sourceMappingURL=ContentRailFlow.d.ts.map
@@ -1,3 +1,3 @@
1
- export type { ContentRailControlPressEvent, ContentRailDirection, ContentRailItemSize, ContentRailMotion, ContentRailProps, ContentRailSpacing, ContentRailVisibleRangeChangeEvent, } from '../../types/content-rail';
2
- export { ContentRail } from './adapters/inbound/ContentRail';
1
+ export type { ContentRailControlPressEvent, ContentRailDirection, ContentRailItemSize, ContentRailMotion, ContentRailProps, ContentRailSpacing, ContentRailVisibleRangeChangeEvent, } from '../../types/content-rail.js';
2
+ export { ContentRail } from './adapters/inbound/ContentRail.js';
3
3
  //# sourceMappingURL=public.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ContentRailItemSize } from '../../../types/content-rail';
1
+ import type { ContentRailItemSize } from '../../../types/content-rail.js';
2
2
  export declare function resolveContentRailItemWidth({ gap, itemCount, itemSize, padding, peek, viewportWidth, }: {
3
3
  gap: number;
4
4
  itemCount: number;
@@ -1,3 +1,3 @@
1
- import type { ContentRailMotion } from '../../../types/content-rail';
1
+ import type { ContentRailMotion } from '../../../types/content-rail.js';
2
2
  export declare function useContentRailReducedMotion(motion: ContentRailMotion): boolean;
3
3
  //# sourceMappingURL=useContentRailReducedMotion.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { DataTableProps } from '../../../../types/data-table';
2
+ import type { DataTableProps } from '../../../../types/data-table.js';
3
3
  /***
4
4
  * Displays structured tabular data with responsive columns and optional controlled row selection.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../../src/features/data-table/adapters/inbound/DataTable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAMV,cAAc,EAGf,MAAM,8BAA8B,CAAC;AAYtC;;GAEG;AACH,eAAO,MAAM,SAAS,GAklBE,IAAI,SAAS,MAAM,2DAllBgB,CAAC"}
1
+ {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../../src/features/data-table/adapters/inbound/DataTable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAMV,cAAc,EAGf,MAAM,8BAA8B,CAAC;AAYtC;;GAEG;AACH,eAAO,MAAM,SAAS,GAimBE,IAAI,SAAS,MAAM,2DAjmBgB,CAAC"}
@@ -118,7 +118,10 @@ function renderPortableCell(cell, row) {
118
118
  const href = resolveCellString(resolveCellField(row, cell.href));
119
119
  const label = resolveCellString(resolveCellField(row, cell.label ?? cell.href)) ?? href;
120
120
  const externalUrl = href ? resolveExternalWebsiteUrl(href) : undefined;
121
- return externalUrl ? (<Pressable accessibilityRole="link" onPress={() => openExternalUrl(externalUrl)}>
121
+ return externalUrl ? (<Pressable accessibilityRole="link" onPress={(event) => {
122
+ event.stopPropagation();
123
+ openExternalUrl(externalUrl);
124
+ }}>
122
125
  <Text color="primary" variant={cell.variant ?? 'bodySmall'} weight="medium">
123
126
  {label}
124
127
  </Text>
@@ -232,7 +235,7 @@ function DataTableHeader({ columns, sort, onSortChange, density, interactionPoli
232
235
  </View>
233
236
  </View>);
234
237
  }
235
- function DataTableDesktop({ columns, rows, rowActions, rowId, rowKey, selectedRowIds, onSelectedRowIdsChange, onSelectionChange, onRowActivate, sort, onSortChange, density, testID, interactionPolicy, }) {
238
+ function DataTableDesktop({ columns, rows, rowActions, rowId, rowKey, activeRowId, selectedRowIds, onSelectedRowIdsChange, onSelectionChange, onRowActivate, sort, onSortChange, density, testID, interactionPolicy, }) {
236
239
  const padding = resolveRowPadding(density ?? 'comfortable');
237
240
  const rowIds = rows.map((row, rowIndex) => resolveDataTableRowKey(row, rowIndex, rowKey, rowId));
238
241
  const controlledSelectedRowIds = selectedRowIds ?? [];
@@ -260,7 +263,8 @@ function DataTableDesktop({ columns, rows, rowActions, rowId, rowKey, selectedRo
260
263
  {rows.map((row, rowIndex) => {
261
264
  const currentRowId = resolveDataTableRowKey(row, rowIndex, rowKey, rowId);
262
265
  const selected = selectedRowIdSet.has(currentRowId);
263
- return (<View bg="surface" borderColor="border" borderWidth={1} key={currentRowId} radius="m" testID={testID ? `${testID}-row-${rowIndex}` : undefined}>
266
+ const active = activeRowId === currentRowId;
267
+ return (<View bg={active ? 'subtle' : 'surface'} borderColor={active ? 'primary' : 'border'} borderWidth={1} key={currentRowId} radius="m" testID={testID ? `${testID}-row-${rowIndex}` : undefined}>
264
268
  <View direction="row" align="center">
265
269
  {selectionEnabled ? (<View px={padding.px} py={padding.py} style={resolveSelectionColumnStyle()}>
266
270
  <Checkbox accessibilityLabel={`Select row ${currentRowId}`} checked={selected} disabled={selectionDisabled} interactionPolicy={interactionPolicy} onCheckedChange={(nextSelected) => {
@@ -269,12 +273,17 @@ function DataTableDesktop({ columns, rows, rowActions, rowId, rowKey, selectedRo
269
273
  emitSelectionChange(resolveNextSelectedRowIds(controlledSelectedRowIds, currentRowId, nextSelected), onSelectedRowIdsChange, onSelectionChange);
270
274
  }}/>
271
275
  </View>) : null}
272
- <View direction="row" style={{ flexGrow: 1, flexShrink: 1 }}>
273
- {columns.map((column) => (<View key={column.id} px={padding.px} py={padding.py} style={resolveCellStyle(column)}>
274
- {renderTableCell(column, row, rowIndex)}
275
- </View>))}
276
- </View>
277
- {onRowActivate ? (<IconButton icon={{ name: 'arrow-forward' }} interactionPolicy={interactionPolicy} label={`Activate row ${currentRowId}`} onPress={() => onRowActivate({ rowId: currentRowId })} size="s" variant="ghost"/>) : null}
276
+ {onRowActivate ? (<Pressable accessibilityLabel={`Activate row ${currentRowId}`} accessibilityRole="button" disabled={interactionPolicy === 'passive'} onPress={() => onRowActivate({ rowId: currentRowId })} style={{ flexGrow: 1, flexShrink: 1 }}>
277
+ <View direction="row">
278
+ {columns.map((column) => (<View key={column.id} px={padding.px} py={padding.py} style={resolveCellStyle(column)}>
279
+ {renderTableCell(column, row, rowIndex)}
280
+ </View>))}
281
+ </View>
282
+ </Pressable>) : (<View direction="row">
283
+ {columns.map((column) => (<View key={column.id} px={padding.px} py={padding.py} style={resolveCellStyle(column)}>
284
+ {renderTableCell(column, row, rowIndex)}
285
+ </View>))}
286
+ </View>)}
278
287
  {hasRowActions ? (<View px={padding.px} py={padding.py} style={{ alignItems: 'flex-end', minWidth: 56, width: 56 }}>
279
288
  {renderRowActions({ row, rowActions, rowIndex, testID, interactionPolicy })}
280
289
  </View>) : null}
@@ -286,7 +295,7 @@ function DataTableDesktop({ columns, rows, rowActions, rowId, rowKey, selectedRo
286
295
  </View>
287
296
  </ScrollView>);
288
297
  }
289
- function DataTableMobile({ columns, rows, rowActions, rowId, rowKey, selectedRowIds, onSelectedRowIdsChange, onSelectionChange, onRowActivate, testID, interactionPolicy, }) {
298
+ function DataTableMobile({ columns, rows, rowActions, rowId, rowKey, activeRowId, selectedRowIds, onSelectedRowIdsChange, onSelectionChange, onRowActivate, testID, interactionPolicy, }) {
290
299
  const [primaryColumn, ...detailColumns] = columns;
291
300
  const controlledSelectedRowIds = selectedRowIds ?? [];
292
301
  const selectedRowIdSet = new Set(controlledSelectedRowIds);
@@ -296,21 +305,13 @@ function DataTableMobile({ columns, rows, rowActions, rowId, rowKey, selectedRow
296
305
  return (<View gap="s">
297
306
  {rows.map((row, rowIndex) => {
298
307
  const currentRowId = resolveDataTableRowKey(row, rowIndex, rowKey, rowId);
308
+ const active = activeRowId === currentRowId;
299
309
  const title = primaryColumn
300
310
  ? renderCell(primaryColumn, row, rowIndex)
301
311
  : `Row ${rowIndex + 1}`;
302
312
  const actions = renderRowActions({ row, rowActions, rowIndex, testID, interactionPolicy });
303
- const rowActivation = onRowActivate ? (<IconButton icon={{ name: 'arrow-forward' }} interactionPolicy={interactionPolicy} label={`Activate row ${currentRowId}`} onPress={() => onRowActivate({ rowId: currentRowId })} size="s" variant="ghost"/>) : null;
304
- return (<Card actions={rowActivation || actions ? (<View direction="row" gap="xs">
305
- {rowActivation}
306
- {actions}
307
- </View>) : null} compact interactionPolicy={interactionPolicy} key={currentRowId} testID={testID ? `${testID}-card-${rowIndex}` : undefined} title={title}>
313
+ const card = (<Card actions={onRowActivate ? undefined : actions} accessibilityLabel={onRowActivate ? `Activate row ${currentRowId}` : undefined} compact interactionPolicy={interactionPolicy} onPress={onRowActivate ? () => onRowActivate({ rowId: currentRowId }) : undefined} testID={testID ? `${testID}-card-${rowIndex}` : undefined} title={title} tone={active ? 'subtle' : undefined}>
308
314
  <View gap="s">
309
- {selectionEnabled ? (<Checkbox accessibilityLabel={`Select row ${currentRowId}`} checked={selectedRowIdSet.has(currentRowId)} disabled={selectionDisabled} interactionPolicy={interactionPolicy} onCheckedChange={(nextSelected) => {
310
- if (selectionDisabled)
311
- return;
312
- emitSelectionChange(resolveNextSelectedRowIds(controlledSelectedRowIds, currentRowId, nextSelected), onSelectedRowIdsChange, onSelectionChange);
313
- }}/>) : null}
314
315
  {detailColumns.map((column) => (<View gap="xxs" key={column.id}>
315
316
  <Text emphasis="muted" variant="caption" weight="semiBold">
316
317
  {column.header}
@@ -321,6 +322,17 @@ function DataTableMobile({ columns, rows, rowActions, rowId, rowKey, selectedRow
321
322
  </View>))}
322
323
  </View>
323
324
  </Card>);
325
+ return (<View gap="s" key={currentRowId}>
326
+ {onRowActivate && actions ? (<View align="flex-start" direction="row" gap="xs">
327
+ <View flex={1}>{card}</View>
328
+ {actions}
329
+ </View>) : (card)}
330
+ {selectionEnabled ? (<Checkbox accessibilityLabel={`Select row ${currentRowId}`} checked={selectedRowIdSet.has(currentRowId)} disabled={selectionDisabled} interactionPolicy={interactionPolicy} onCheckedChange={(nextSelected) => {
331
+ if (selectionDisabled)
332
+ return;
333
+ emitSelectionChange(resolveNextSelectedRowIds(controlledSelectedRowIds, currentRowId, nextSelected), onSelectedRowIdsChange, onSelectionChange);
334
+ }}/>) : null}
335
+ </View>);
324
336
  })}
325
337
  </View>);
326
338
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataTable.js","sourceRoot":"","sources":["../../../../../src/features/data-table/adapters/inbound/DataTable.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAkB,MAAM,cAAc,CAAC;AAY9E,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAA0B,MAAM,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,eAAe,CAAC,IAAI,UAAU,CAAC,EAAG,CAAC,CACnF;QAAA,CAAC,gBAAgB,CAAC,IAAI,UAAU,CAAC,EACnC;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC","sourcesContent":["import type { InteractionPolicy } from '@ankhorage/surface';\nimport { Show } from '@ankhorage/surface';\nimport React from 'react';\nimport { Linking, Pressable, ScrollView, type ViewStyle } from 'react-native';\n\nimport type {\n DataTableCellContext,\n DataTableCellSpec,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableSortDirection,\n} from '../../../../types/data-table';\nimport { Button, IconButton } from '../../../button/public';\nimport { Card } from '../../../card/public';\nimport { EmptyState } from '../../../empty-state/public';\nimport { Checkbox } from '../../../form/checkbox/public';\nimport { Image } from '../../../image/public';\nimport { View } from '../../../layout/public';\nimport { PopoverMenu, type PopoverMenuAction } from '../../../popover-menu/public';\nimport { SkeletonList } from '../../../skeleton/public';\nimport { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';\nimport { Text, type TextAlign } from '../../../typography/public';\nimport { resolveDataTableRowKey } from '../../utils/resolveDataTableRowKey';\n/***\n * Displays structured tabular data with responsive columns and optional controlled row selection.\n */\nexport const DataTable = withZoraThemeScope(DataTableInner);\n\nfunction resolveTextAlign(align: DataTableColumnAlign | undefined): TextAlign {\n switch (align) {\n case 'center':\n return 'center';\n case 'end':\n return 'right';\n case 'start':\n default:\n return 'left';\n }\n}\n\nfunction resolveCellJustify(align: DataTableColumnAlign | undefined): ViewStyle['alignItems'] {\n switch (align) {\n case 'center':\n return 'center';\n case 'end':\n return 'flex-end';\n case 'start':\n default:\n return 'flex-start';\n }\n}\n\nfunction resolveCellStyle<TRow extends object>(column: DataTableColumn<TRow>): ViewStyle {\n return {\n alignItems: resolveCellJustify(column.align),\n flexGrow: column.width === undefined ? 1 : 0,\n flexShrink: column.width === undefined && column.minWidth === undefined ? 1 : 0,\n minWidth: column.minWidth,\n width: column.width,\n };\n}\n\n/*** Resolves the compact, fixed width reserved for the optional selection control. */\nfunction resolveSelectionColumnStyle(): ViewStyle {\n return { alignItems: 'center', flexShrink: 0, width: 40 };\n}\n\nfunction resolveRowPadding(density: DataTableDensity) {\n return density === 'compact'\n ? { px: 'm' as const, py: 's' as const }\n : { px: 'm' as const, py: 'm' as const };\n}\n\nfunction resolveAccessorValue<TRow extends object>(row: TRow, column: DataTableColumn<TRow>) {\n if (column.accessor === undefined) {\n return undefined;\n }\n\n return row[column.accessor];\n}\n\nfunction renderDefaultCell(value: unknown): React.ReactNode {\n if (value === null || value === undefined) {\n return '—';\n }\n\n if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {\n return String(value);\n }\n\n if (typeof value === 'bigint') {\n return value.toString();\n }\n\n if (value instanceof Date) {\n return value.toLocaleDateString();\n }\n\n return '—';\n}\n\n/** Reads a manifest cell field without accepting executable accessor behavior. */\nfunction resolveCellField<TRow extends object>(row: TRow, field: keyof TRow): unknown {\n return Object.getOwnPropertyDescriptor(row, field)?.value;\n}\n\n/** Resolves a row value into a string suitable for portable text and URL presentation. */\nfunction resolveCellString(value: unknown): string | undefined {\n return typeof value === 'string' || typeof value === 'number' ? String(value) : undefined;\n}\n\n/*** Resolves an untrusted row value to the HTTP(S) URL accepted by the platform navigation boundary. */\nfunction resolveExternalWebsiteUrl(url: string): string | undefined {\n try {\n const parsedUrl = new URL(url);\n return parsedUrl.protocol === 'http:' || parsedUrl.protocol === 'https:' ? url : undefined;\n } catch {\n return undefined;\n }\n}\n\n/** Opens a validated portable website cell through React Native's platform URL boundary. */\nfunction openExternalUrl(url: string): void {\n const externalUrl = resolveExternalWebsiteUrl(url);\n if (externalUrl) {\n void Linking.openURL(externalUrl);\n }\n}\n\n/** Renders one serializable manifest cell specification with canonical ZORA primitives. */\nfunction renderPortableCell<TRow extends object>(\n cell: DataTableCellSpec<TRow>,\n row: TRow,\n): React.ReactNode {\n switch (cell.kind) {\n case 'image': {\n const source = resolveCellString(resolveCellField(row, cell.source));\n const alt = resolveCellString(resolveCellField(row, cell.alt ?? cell.source));\n return <Image alt={alt} height={32} radius=\"s\" source={source} width={32} />;\n }\n case 'text':\n return (\n <Text variant={cell.variant ?? 'bodySmall'} weight={cell.weight}>\n {renderDefaultCell(resolveCellField(row, cell.value))}\n </Text>\n );\n case 'link': {\n const href = resolveCellString(resolveCellField(row, cell.href));\n const label = resolveCellString(resolveCellField(row, cell.label ?? cell.href)) ?? href;\n const externalUrl = href ? resolveExternalWebsiteUrl(href) : undefined;\n return externalUrl ? (\n <Pressable accessibilityRole=\"link\" onPress={() => openExternalUrl(externalUrl)}>\n <Text color=\"primary\" variant={cell.variant ?? 'bodySmall'} weight=\"medium\">\n {label}\n </Text>\n </Pressable>\n ) : (\n <Text variant=\"bodySmall\">—</Text>\n );\n }\n case 'stack':\n return (\n <View align={cell.align} direction={cell.direction} gap={cell.gap}>\n {cell.children.map((child, index) => (\n <React.Fragment key={`cell-${index}`}>{renderPortableCell(child, row)}</React.Fragment>\n ))}\n </View>\n );\n }\n}\n\nfunction createCellContext<TRow extends object>(\n column: DataTableColumn<TRow>,\n row: TRow,\n rowIndex: number,\n): DataTableCellContext<TRow> {\n return {\n column,\n row,\n rowIndex,\n value: resolveAccessorValue(row, column),\n };\n}\n\nfunction renderCell<TRow extends object>(\n column: DataTableColumn<TRow>,\n row: TRow,\n rowIndex: number,\n) {\n const context = createCellContext(column, row, rowIndex);\n if (column.renderCell) return column.renderCell(context);\n if (column.cell) return renderPortableCell(column.cell, row);\n return renderDefaultCell(context.value);\n}\n\nfunction renderTableCell<TRow extends object>(\n column: DataTableColumn<TRow>,\n row: TRow,\n rowIndex: number,\n) {\n if (column.renderCell) return column.renderCell(createCellContext(column, row, rowIndex));\n if (column.cell) return renderPortableCell(column.cell, row);\n\n return (\n <Text align={resolveTextAlign(column.align)} variant=\"bodySmall\">\n {renderDefaultCell(resolveAccessorValue(row, column))}\n </Text>\n );\n}\n\nfunction resolveNextSortDirection(\n current: DataTableSortDirection | undefined,\n): DataTableSortDirection {\n return current === 'asc' ? 'desc' : 'asc';\n}\n\n/*** Applies a single row checkbox change to controlled DataTable selection. */\nfunction resolveNextSelectedRowIds(\n selectedRowIds: readonly string[],\n rowId: string,\n selected: boolean,\n): readonly string[] {\n return selected\n ? [...new Set([...selectedRowIds, rowId])]\n : selectedRowIds.filter((selectedRowId) => selectedRowId !== rowId);\n}\n\n/*** Applies the header checkbox change to the currently visible DataTable rows. */\nfunction resolveNextVisibleSelection(\n selectedRowIds: readonly string[],\n visibleRowIds: readonly string[],\n selected: boolean,\n): readonly string[] {\n const visibleRowIdSet = new Set(visibleRowIds);\n return selected\n ? [...new Set([...selectedRowIds, ...visibleRowIds])]\n : selectedRowIds.filter((selectedRowId) => !visibleRowIdSet.has(selectedRowId));\n}\n\n/** Emits both the established controlled callback and its portable manifest event counterpart. */\nfunction emitSelectionChange<TRow extends object>(\n selectedRowIds: readonly string[],\n onSelectedRowIdsChange: DataTableProps<TRow>['onSelectedRowIdsChange'],\n onSelectionChange: DataTableProps<TRow>['onSelectionChange'],\n): void {\n onSelectedRowIdsChange?.(selectedRowIds);\n onSelectionChange?.({ selectedRowIds });\n}\n\n/*** Maps row-scoped DataTable actions into the shared PopoverMenu action contract. */\nfunction mapRowActions<TRow extends object>(\n row: TRow,\n actions: readonly DataTableRowAction<TRow>[],\n): readonly PopoverMenuAction[] {\n return actions.map((action) => ({\n description: action.description,\n disabled: action.disabled,\n icon: action.icon,\n id: action.id,\n intent: action.intent,\n onPress: action.onPress ? () => action.onPress?.(row) : undefined,\n title: action.title,\n }));\n}\n\n/*** Renders the row action trigger and anchored PopoverMenu when actions exist. */\nfunction renderRowActions<TRow extends object>({\n row,\n rowIndex,\n rowActions,\n testID,\n interactionPolicy,\n}: {\n row: TRow;\n rowIndex: number;\n rowActions: DataTableProps<TRow>['rowActions'];\n testID?: string;\n interactionPolicy?: InteractionPolicy;\n}): React.ReactNode {\n const actions = rowActions?.(row, rowIndex) ?? [];\n\n if (actions.length === 0) {\n return null;\n }\n\n return (\n <PopoverMenu\n actions={mapRowActions(row, actions)}\n interactionPolicy={interactionPolicy}\n testID={testID ? `${testID}-row-actions-${rowIndex}` : undefined}\n trigger={({ toggle }) => (\n <IconButton\n icon={{ name: 'ellipsis-horizontal' }}\n interactionPolicy={interactionPolicy}\n label=\"Row actions\"\n onPress={toggle}\n size=\"s\"\n variant=\"ghost\"\n />\n )}\n />\n );\n}\n\nfunction DataTableHeader<TRow extends object>({\n columns,\n sort,\n onSortChange,\n density,\n interactionPolicy,\n selection,\n hasRowActions,\n}: Pick<DataTableProps<TRow>, 'columns' | 'density' | 'onSortChange' | 'sort'> & {\n interactionPolicy?: InteractionPolicy;\n selection?: {\n allVisibleSelected: boolean;\n disabled: boolean;\n onAllVisibleSelectedChange: (selected: boolean) => void;\n };\n hasRowActions: boolean;\n}) {\n const padding = resolveRowPadding(density ?? 'comfortable');\n const passive = interactionPolicy === 'passive';\n\n return (\n <View bg=\"subtle\" borderColor=\"border\" borderWidth={1} radius=\"m\">\n <View direction=\"row\" align=\"center\">\n {selection ? (\n <View px={padding.px} py={padding.py} style={resolveSelectionColumnStyle()}>\n <Checkbox\n accessibilityLabel=\"Select all visible rows\"\n checked={selection.allVisibleSelected}\n disabled={selection.disabled}\n interactionPolicy={interactionPolicy}\n onCheckedChange={selection.onAllVisibleSelectedChange}\n />\n </View>\n ) : null}\n {columns.map((column) => {\n const currentDirection = sort?.columnId === column.id ? sort.direction : undefined;\n const sortable = Boolean(column.sortable && onSortChange);\n const directionLabel =\n currentDirection === undefined ? '' : currentDirection === 'asc' ? ' ↑' : ' ↓';\n\n return (\n <View key={column.id} px={padding.px} py={padding.py} style={resolveCellStyle(column)}>\n {sortable ? (\n <Button\n color=\"primary\"\n interactionPolicy={interactionPolicy}\n onPress={() => {\n if (passive) return;\n\n onSortChange?.({\n columnId: column.id,\n direction: resolveNextSortDirection(currentDirection),\n });\n }}\n size=\"s\"\n variant=\"ghost\"\n >\n {column.header}\n {directionLabel}\n </Button>\n ) : (\n <Text\n align={resolveTextAlign(column.align)}\n emphasis=\"muted\"\n variant=\"caption\"\n weight=\"semiBold\"\n >\n {column.header}\n </Text>\n )}\n </View>\n );\n })}\n {hasRowActions ? (\n <View px={padding.px} py={padding.py} style={{ minWidth: 56, width: 56 }}>\n <Text align=\"right\" emphasis=\"muted\" variant=\"caption\" weight=\"semiBold\">\n Actions\n </Text>\n </View>\n ) : null}\n </View>\n </View>\n );\n}\n\nfunction DataTableDesktop<TRow extends object>({\n columns,\n rows,\n rowActions,\n rowId,\n rowKey,\n selectedRowIds,\n onSelectedRowIdsChange,\n onSelectionChange,\n onRowActivate,\n sort,\n onSortChange,\n density,\n testID,\n interactionPolicy,\n}: DataTableProps<TRow>) {\n const padding = resolveRowPadding(density ?? 'comfortable');\n const rowIds = rows.map((row, rowIndex) => resolveDataTableRowKey(row, rowIndex, rowKey, rowId));\n const controlledSelectedRowIds = selectedRowIds ?? [];\n const selectedRowIdSet = new Set(controlledSelectedRowIds);\n const selectionEnabled = selectedRowIds !== undefined;\n const selectionDisabled =\n interactionPolicy === 'passive' ||\n (onSelectedRowIdsChange === undefined && onSelectionChange === undefined);\n const hasRowActions = rows.some((row, rowIndex) => (rowActions?.(row, rowIndex).length ?? 0) > 0);\n const selection = selectionEnabled\n ? {\n allVisibleSelected: rowIds.every((currentRowId) => selectedRowIdSet.has(currentRowId)),\n disabled: selectionDisabled,\n onAllVisibleSelectedChange: (selected: boolean) => {\n if (selectionDisabled) return;\n emitSelectionChange(\n resolveNextVisibleSelection(controlledSelectedRowIds, rowIds, selected),\n onSelectedRowIdsChange,\n onSelectionChange,\n );\n },\n }\n : undefined;\n\n return (\n <ScrollView horizontal showsHorizontalScrollIndicator={false}>\n <View style={{ width: '100%' }}>\n <View gap=\"xs\">\n <DataTableHeader\n columns={columns}\n density={density}\n hasRowActions={hasRowActions}\n interactionPolicy={interactionPolicy}\n onSortChange={onSortChange}\n selection={selection}\n sort={sort}\n />\n <View gap=\"xs\">\n {rows.map((row, rowIndex) => {\n const currentRowId = resolveDataTableRowKey(row, rowIndex, rowKey, rowId);\n const selected = selectedRowIdSet.has(currentRowId);\n\n return (\n <View\n bg=\"surface\"\n borderColor=\"border\"\n borderWidth={1}\n key={currentRowId}\n radius=\"m\"\n testID={testID ? `${testID}-row-${rowIndex}` : undefined}\n >\n <View direction=\"row\" align=\"center\">\n {selectionEnabled ? (\n <View px={padding.px} py={padding.py} style={resolveSelectionColumnStyle()}>\n <Checkbox\n accessibilityLabel={`Select row ${currentRowId}`}\n checked={selected}\n disabled={selectionDisabled}\n interactionPolicy={interactionPolicy}\n onCheckedChange={(nextSelected) => {\n if (selectionDisabled) return;\n emitSelectionChange(\n resolveNextSelectedRowIds(\n controlledSelectedRowIds,\n currentRowId,\n nextSelected,\n ),\n onSelectedRowIdsChange,\n onSelectionChange,\n );\n }}\n />\n </View>\n ) : null}\n <View direction=\"row\" style={{ flexGrow: 1, flexShrink: 1 }}>\n {columns.map((column) => (\n <View\n key={column.id}\n px={padding.px}\n py={padding.py}\n style={resolveCellStyle(column)}\n >\n {renderTableCell(column, row, rowIndex)}\n </View>\n ))}\n </View>\n {onRowActivate ? (\n <IconButton\n icon={{ name: 'arrow-forward' }}\n interactionPolicy={interactionPolicy}\n label={`Activate row ${currentRowId}`}\n onPress={() => onRowActivate({ rowId: currentRowId })}\n size=\"s\"\n variant=\"ghost\"\n />\n ) : null}\n {hasRowActions ? (\n <View\n px={padding.px}\n py={padding.py}\n style={{ alignItems: 'flex-end', minWidth: 56, width: 56 }}\n >\n {renderRowActions({ row, rowActions, rowIndex, testID, interactionPolicy })}\n </View>\n ) : null}\n </View>\n </View>\n );\n })}\n </View>\n </View>\n </View>\n </ScrollView>\n );\n}\n\nfunction DataTableMobile<TRow extends object>({\n columns,\n rows,\n rowActions,\n rowId,\n rowKey,\n selectedRowIds,\n onSelectedRowIdsChange,\n onSelectionChange,\n onRowActivate,\n testID,\n interactionPolicy,\n}: DataTableProps<TRow>) {\n const [primaryColumn, ...detailColumns] = columns;\n const controlledSelectedRowIds = selectedRowIds ?? [];\n const selectedRowIdSet = new Set(controlledSelectedRowIds);\n const selectionEnabled = selectedRowIds !== undefined;\n const selectionDisabled =\n interactionPolicy === 'passive' ||\n (onSelectedRowIdsChange === undefined && onSelectionChange === undefined);\n\n return (\n <View gap=\"s\">\n {rows.map((row, rowIndex) => {\n const currentRowId = resolveDataTableRowKey(row, rowIndex, rowKey, rowId);\n const title = primaryColumn\n ? renderCell(primaryColumn, row, rowIndex)\n : `Row ${rowIndex + 1}`;\n const actions = renderRowActions({ row, rowActions, rowIndex, testID, interactionPolicy });\n const rowActivation = onRowActivate ? (\n <IconButton\n icon={{ name: 'arrow-forward' }}\n interactionPolicy={interactionPolicy}\n label={`Activate row ${currentRowId}`}\n onPress={() => onRowActivate({ rowId: currentRowId })}\n size=\"s\"\n variant=\"ghost\"\n />\n ) : null;\n\n return (\n <Card\n actions={\n rowActivation || actions ? (\n <View direction=\"row\" gap=\"xs\">\n {rowActivation}\n {actions}\n </View>\n ) : null\n }\n compact\n interactionPolicy={interactionPolicy}\n key={currentRowId}\n testID={testID ? `${testID}-card-${rowIndex}` : undefined}\n title={title}\n >\n <View gap=\"s\">\n {selectionEnabled ? (\n <Checkbox\n accessibilityLabel={`Select row ${currentRowId}`}\n checked={selectedRowIdSet.has(currentRowId)}\n disabled={selectionDisabled}\n interactionPolicy={interactionPolicy}\n onCheckedChange={(nextSelected) => {\n if (selectionDisabled) return;\n emitSelectionChange(\n resolveNextSelectedRowIds(\n controlledSelectedRowIds,\n currentRowId,\n nextSelected,\n ),\n onSelectedRowIdsChange,\n onSelectionChange,\n );\n }}\n />\n ) : null}\n {detailColumns.map((column) => (\n <View gap=\"xxs\" key={column.id}>\n <Text emphasis=\"muted\" variant=\"caption\" weight=\"semiBold\">\n {column.header}\n </Text>\n {column.renderCell || column.cell ? (\n renderCell(column, row, rowIndex)\n ) : (\n <Text variant=\"bodySmall\">\n {renderDefaultCell(resolveAccessorValue(row, column))}\n </Text>\n )}\n </View>\n ))}\n </View>\n </Card>\n );\n })}\n </View>\n );\n}\n\nfunction DataTableInner<TRow extends object>({\n themeId: _themeId,\n mode: _mode,\n rows,\n loading = false,\n loadingRows = 5,\n emptyTitle = 'No data',\n emptyDescription = 'There are no rows to display.',\n testID,\n density = 'comfortable',\n interactionPolicy,\n ...props\n}: DataTableProps<TRow>) {\n if (loading) {\n return <SkeletonList rows={loadingRows} variant=\"card\" testID={testID} />;\n }\n\n if (rows.length === 0) {\n return <EmptyState title={emptyTitle} description={emptyDescription} />;\n }\n\n const tableProps: DataTableProps<TRow> = {\n ...props,\n density,\n emptyDescription,\n emptyTitle,\n interactionPolicy,\n loading,\n loadingRows,\n rows,\n testID,\n };\n\n return (\n <View testID={testID}>\n <Show when={{ base: false, md: true }} fallback={<DataTableMobile {...tableProps} />}>\n <DataTableDesktop {...tableProps} />\n </Show>\n </View>\n );\n}\n"]}
1
+ {"version":3,"file":"DataTable.js","sourceRoot":"","sources":["../../../../../src/features/data-table/adapters/inbound/DataTable.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAkB,MAAM,cAAc,CAAC;AAY9E,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,E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IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CAAsB,EAC3C,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,IAAI,EACJ,OAAO,GAAG,KAAK,EACf,WAAW,GAAG,CAAC,EACf,UAAU,GAAG,SAAS,EACtB,gBAAgB,GAAG,+BAA+B,EAClD,MAAM,EACN,OAAO,GAAG,aAAa,EACvB,iBAAiB,EACjB,GAAG,KAAK,EACa;IACrB,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,EAAG,CAAC;IAC5E,CAAC;IAED,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC,WAAW,CAAC,CAAC,gBAAgB,CAAC,EAAG,CAAC;IAC1E,CAAC;IAED,MAAM,UAAU,GAAyB;QACvC,GAAG,KAAK;QACR,OAAO;QACP,gBAAgB;QAChB,UAAU;QACV,iBAAiB;QACjB,OAAO;QACP,WAAW;QACX,IAAI;QACJ,MAAM;KACP,CAAC;IAEF,OAAO,CACL,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CACnB;MAAA,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,IAAI,UAAU,CAAC,EAAG,CAAC,CACnF;QAAA,CAAC,gBAAgB,CAAC,IAAI,UAAU,CAAC,EACnC;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC","sourcesContent":["import type { InteractionPolicy } from '@ankhorage/surface';\nimport { Show } from '@ankhorage/surface';\nimport React from 'react';\nimport { Linking, Pressable, ScrollView, type ViewStyle } from 'react-native';\n\nimport type {\n DataTableCellContext,\n DataTableCellSpec,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableSortDirection,\n} from '../../../../types/data-table';\nimport { Button, IconButton } from '../../../button/public';\nimport { Card } from '../../../card/public';\nimport { EmptyState } from '../../../empty-state/public';\nimport { Checkbox } from '../../../form/checkbox/public';\nimport { Image } from '../../../image/public';\nimport { View } from '../../../layout/public';\nimport { PopoverMenu, type PopoverMenuAction } from '../../../popover-menu/public';\nimport { SkeletonList } from '../../../skeleton/public';\nimport { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';\nimport { Text, type TextAlign } from '../../../typography/public';\nimport { resolveDataTableRowKey } from '../../utils/resolveDataTableRowKey';\n/***\n * Displays structured tabular data with responsive columns and optional controlled row selection.\n */\nexport const DataTable = withZoraThemeScope(DataTableInner);\n\nfunction resolveTextAlign(align: DataTableColumnAlign | undefined): TextAlign {\n switch (align) {\n case 'center':\n return 'center';\n case 'end':\n return 'right';\n case 'start':\n default:\n return 'left';\n }\n}\n\nfunction resolveCellJustify(align: DataTableColumnAlign | undefined): ViewStyle['alignItems'] {\n switch (align) {\n case 'center':\n return 'center';\n case 'end':\n return 'flex-end';\n case 'start':\n default:\n return 'flex-start';\n }\n}\n\nfunction resolveCellStyle<TRow extends object>(column: DataTableColumn<TRow>): ViewStyle {\n return {\n alignItems: resolveCellJustify(column.align),\n flexGrow: column.width === undefined ? 1 : 0,\n flexShrink: column.width === undefined && column.minWidth === undefined ? 1 : 0,\n minWidth: column.minWidth,\n width: column.width,\n };\n}\n\n/*** Resolves the compact, fixed width reserved for the optional selection control. */\nfunction resolveSelectionColumnStyle(): ViewStyle {\n return { alignItems: 'center', flexShrink: 0, width: 40 };\n}\n\nfunction resolveRowPadding(density: DataTableDensity) {\n return density === 'compact'\n ? { px: 'm' as const, py: 's' as const }\n : { px: 'm' as const, py: 'm' as const };\n}\n\nfunction resolveAccessorValue<TRow extends object>(row: TRow, column: DataTableColumn<TRow>) {\n if (column.accessor === undefined) {\n return undefined;\n }\n\n return row[column.accessor];\n}\n\nfunction renderDefaultCell(value: unknown): React.ReactNode {\n if (value === null || value === undefined) {\n return '—';\n }\n\n if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {\n return String(value);\n }\n\n if (typeof value === 'bigint') {\n return value.toString();\n }\n\n if (value instanceof Date) {\n return value.toLocaleDateString();\n }\n\n return '—';\n}\n\n/** Reads a manifest cell field without accepting executable accessor behavior. */\nfunction resolveCellField<TRow extends object>(row: TRow, field: keyof TRow): unknown {\n return Object.getOwnPropertyDescriptor(row, field)?.value;\n}\n\n/** Resolves a row value into a string suitable for portable text and URL presentation. */\nfunction resolveCellString(value: unknown): string | undefined {\n return typeof value === 'string' || typeof value === 'number' ? String(value) : undefined;\n}\n\n/*** Resolves an untrusted row value to the HTTP(S) URL accepted by the platform navigation boundary. */\nfunction resolveExternalWebsiteUrl(url: string): string | undefined {\n try {\n const parsedUrl = new URL(url);\n return parsedUrl.protocol === 'http:' || parsedUrl.protocol === 'https:' ? url : undefined;\n } catch {\n return undefined;\n }\n}\n\n/** Opens a validated portable website cell through React Native's platform URL boundary. */\nfunction openExternalUrl(url: string): void {\n const externalUrl = resolveExternalWebsiteUrl(url);\n if (externalUrl) {\n void Linking.openURL(externalUrl);\n }\n}\n\n/** Renders one serializable manifest cell specification with canonical ZORA primitives. */\nfunction renderPortableCell<TRow extends object>(\n cell: DataTableCellSpec<TRow>,\n row: TRow,\n): React.ReactNode {\n switch (cell.kind) {\n case 'image': {\n const source = resolveCellString(resolveCellField(row, cell.source));\n const alt = resolveCellString(resolveCellField(row, cell.alt ?? cell.source));\n return <Image alt={alt} height={32} radius=\"s\" source={source} width={32} />;\n }\n case 'text':\n return (\n <Text variant={cell.variant ?? 'bodySmall'} weight={cell.weight}>\n {renderDefaultCell(resolveCellField(row, cell.value))}\n </Text>\n );\n case 'link': {\n const href = resolveCellString(resolveCellField(row, cell.href));\n const label = resolveCellString(resolveCellField(row, cell.label ?? cell.href)) ?? href;\n const externalUrl = href ? resolveExternalWebsiteUrl(href) : undefined;\n return externalUrl ? (\n <Pressable\n accessibilityRole=\"link\"\n onPress={(event) => {\n event.stopPropagation();\n openExternalUrl(externalUrl);\n }}\n >\n <Text color=\"primary\" variant={cell.variant ?? 'bodySmall'} weight=\"medium\">\n {label}\n </Text>\n </Pressable>\n ) : (\n <Text variant=\"bodySmall\">—</Text>\n );\n }\n case 'stack':\n return (\n <View align={cell.align} direction={cell.direction} gap={cell.gap}>\n {cell.children.map((child, index) => (\n <React.Fragment key={`cell-${index}`}>{renderPortableCell(child, row)}</React.Fragment>\n ))}\n </View>\n );\n }\n}\n\nfunction createCellContext<TRow extends object>(\n column: DataTableColumn<TRow>,\n row: TRow,\n rowIndex: number,\n): DataTableCellContext<TRow> {\n return {\n column,\n row,\n rowIndex,\n value: resolveAccessorValue(row, column),\n };\n}\n\nfunction renderCell<TRow extends object>(\n column: DataTableColumn<TRow>,\n row: TRow,\n rowIndex: number,\n) {\n const context = createCellContext(column, row, rowIndex);\n if (column.renderCell) return column.renderCell(context);\n if (column.cell) return renderPortableCell(column.cell, row);\n return renderDefaultCell(context.value);\n}\n\nfunction renderTableCell<TRow extends object>(\n column: DataTableColumn<TRow>,\n row: TRow,\n rowIndex: number,\n) {\n if (column.renderCell) return column.renderCell(createCellContext(column, row, rowIndex));\n if (column.cell) return renderPortableCell(column.cell, row);\n\n return (\n <Text align={resolveTextAlign(column.align)} variant=\"bodySmall\">\n {renderDefaultCell(resolveAccessorValue(row, column))}\n </Text>\n );\n}\n\nfunction resolveNextSortDirection(\n current: DataTableSortDirection | undefined,\n): DataTableSortDirection {\n return current === 'asc' ? 'desc' : 'asc';\n}\n\n/*** Applies a single row checkbox change to controlled DataTable selection. */\nfunction resolveNextSelectedRowIds(\n selectedRowIds: readonly string[],\n rowId: string,\n selected: boolean,\n): readonly string[] {\n return selected\n ? [...new Set([...selectedRowIds, rowId])]\n : selectedRowIds.filter((selectedRowId) => selectedRowId !== rowId);\n}\n\n/*** Applies the header checkbox change to the currently visible DataTable rows. */\nfunction resolveNextVisibleSelection(\n selectedRowIds: readonly string[],\n visibleRowIds: readonly string[],\n selected: boolean,\n): readonly string[] {\n const visibleRowIdSet = new Set(visibleRowIds);\n return selected\n ? [...new Set([...selectedRowIds, ...visibleRowIds])]\n : selectedRowIds.filter((selectedRowId) => !visibleRowIdSet.has(selectedRowId));\n}\n\n/** Emits both the established controlled callback and its portable manifest event counterpart. */\nfunction emitSelectionChange<TRow extends object>(\n selectedRowIds: readonly string[],\n onSelectedRowIdsChange: DataTableProps<TRow>['onSelectedRowIdsChange'],\n onSelectionChange: DataTableProps<TRow>['onSelectionChange'],\n): void {\n onSelectedRowIdsChange?.(selectedRowIds);\n onSelectionChange?.({ selectedRowIds });\n}\n\n/*** Maps row-scoped DataTable actions into the shared PopoverMenu action contract. */\nfunction mapRowActions<TRow extends object>(\n row: TRow,\n actions: readonly DataTableRowAction<TRow>[],\n): readonly PopoverMenuAction[] {\n return actions.map((action) => ({\n description: action.description,\n disabled: action.disabled,\n icon: action.icon,\n id: action.id,\n intent: action.intent,\n onPress: action.onPress ? () => action.onPress?.(row) : undefined,\n title: action.title,\n }));\n}\n\n/*** Renders the row action trigger and anchored PopoverMenu when actions exist. */\nfunction renderRowActions<TRow extends object>({\n row,\n rowIndex,\n rowActions,\n testID,\n interactionPolicy,\n}: {\n row: TRow;\n rowIndex: number;\n rowActions: DataTableProps<TRow>['rowActions'];\n testID?: string;\n interactionPolicy?: InteractionPolicy;\n}): React.ReactNode {\n const actions = rowActions?.(row, rowIndex) ?? [];\n\n if (actions.length === 0) {\n return null;\n }\n\n return (\n <PopoverMenu\n actions={mapRowActions(row, actions)}\n interactionPolicy={interactionPolicy}\n testID={testID ? `${testID}-row-actions-${rowIndex}` : undefined}\n trigger={({ toggle }) => (\n <IconButton\n icon={{ name: 'ellipsis-horizontal' }}\n interactionPolicy={interactionPolicy}\n label=\"Row actions\"\n onPress={toggle}\n size=\"s\"\n variant=\"ghost\"\n />\n )}\n />\n );\n}\n\nfunction DataTableHeader<TRow extends object>({\n columns,\n sort,\n onSortChange,\n density,\n interactionPolicy,\n selection,\n hasRowActions,\n}: Pick<DataTableProps<TRow>, 'columns' | 'density' | 'onSortChange' | 'sort'> & {\n interactionPolicy?: InteractionPolicy;\n selection?: {\n allVisibleSelected: boolean;\n disabled: boolean;\n onAllVisibleSelectedChange: (selected: boolean) => void;\n };\n hasRowActions: boolean;\n}) {\n const padding = resolveRowPadding(density ?? 'comfortable');\n const passive = interactionPolicy === 'passive';\n\n return (\n <View bg=\"subtle\" borderColor=\"border\" borderWidth={1} radius=\"m\">\n <View direction=\"row\" align=\"center\">\n {selection ? (\n <View px={padding.px} py={padding.py} style={resolveSelectionColumnStyle()}>\n <Checkbox\n accessibilityLabel=\"Select all visible rows\"\n checked={selection.allVisibleSelected}\n disabled={selection.disabled}\n interactionPolicy={interactionPolicy}\n onCheckedChange={selection.onAllVisibleSelectedChange}\n />\n </View>\n ) : null}\n {columns.map((column) => {\n const currentDirection = sort?.columnId === column.id ? sort.direction : undefined;\n const sortable = Boolean(column.sortable && onSortChange);\n const directionLabel =\n currentDirection === undefined ? '' : currentDirection === 'asc' ? ' ↑' : ' ↓';\n\n return (\n <View key={column.id} px={padding.px} py={padding.py} style={resolveCellStyle(column)}>\n {sortable ? (\n <Button\n color=\"primary\"\n interactionPolicy={interactionPolicy}\n onPress={() => {\n if (passive) return;\n\n onSortChange?.({\n columnId: column.id,\n direction: resolveNextSortDirection(currentDirection),\n });\n }}\n size=\"s\"\n variant=\"ghost\"\n >\n {column.header}\n {directionLabel}\n </Button>\n ) : (\n <Text\n align={resolveTextAlign(column.align)}\n emphasis=\"muted\"\n variant=\"caption\"\n weight=\"semiBold\"\n >\n {column.header}\n </Text>\n )}\n </View>\n );\n })}\n {hasRowActions ? (\n <View px={padding.px} py={padding.py} style={{ minWidth: 56, width: 56 }}>\n <Text align=\"right\" emphasis=\"muted\" variant=\"caption\" weight=\"semiBold\">\n Actions\n </Text>\n </View>\n ) : null}\n </View>\n </View>\n );\n}\n\nfunction DataTableDesktop<TRow extends object>({\n columns,\n rows,\n rowActions,\n rowId,\n rowKey,\n activeRowId,\n selectedRowIds,\n onSelectedRowIdsChange,\n onSelectionChange,\n onRowActivate,\n sort,\n onSortChange,\n density,\n testID,\n interactionPolicy,\n}: DataTableProps<TRow>) {\n const padding = resolveRowPadding(density ?? 'comfortable');\n const rowIds = rows.map((row, rowIndex) => resolveDataTableRowKey(row, rowIndex, rowKey, rowId));\n const controlledSelectedRowIds = selectedRowIds ?? [];\n const selectedRowIdSet = new Set(controlledSelectedRowIds);\n const selectionEnabled = selectedRowIds !== undefined;\n const selectionDisabled =\n interactionPolicy === 'passive' ||\n (onSelectedRowIdsChange === undefined && onSelectionChange === undefined);\n const hasRowActions = rows.some((row, rowIndex) => (rowActions?.(row, rowIndex).length ?? 0) > 0);\n const selection = selectionEnabled\n ? {\n allVisibleSelected: rowIds.every((currentRowId) => selectedRowIdSet.has(currentRowId)),\n disabled: selectionDisabled,\n onAllVisibleSelectedChange: (selected: boolean) => {\n if (selectionDisabled) return;\n emitSelectionChange(\n resolveNextVisibleSelection(controlledSelectedRowIds, rowIds, selected),\n onSelectedRowIdsChange,\n onSelectionChange,\n );\n },\n }\n : undefined;\n\n return (\n <ScrollView horizontal showsHorizontalScrollIndicator={false}>\n <View style={{ width: '100%' }}>\n <View gap=\"xs\">\n <DataTableHeader\n columns={columns}\n density={density}\n hasRowActions={hasRowActions}\n interactionPolicy={interactionPolicy}\n onSortChange={onSortChange}\n selection={selection}\n sort={sort}\n />\n <View gap=\"xs\">\n {rows.map((row, rowIndex) => {\n const currentRowId = resolveDataTableRowKey(row, rowIndex, rowKey, rowId);\n const selected = selectedRowIdSet.has(currentRowId);\n const active = activeRowId === currentRowId;\n\n return (\n <View\n bg={active ? 'subtle' : 'surface'}\n borderColor={active ? 'primary' : 'border'}\n borderWidth={1}\n key={currentRowId}\n radius=\"m\"\n testID={testID ? `${testID}-row-${rowIndex}` : undefined}\n >\n <View direction=\"row\" align=\"center\">\n {selectionEnabled ? (\n <View px={padding.px} py={padding.py} style={resolveSelectionColumnStyle()}>\n <Checkbox\n accessibilityLabel={`Select row ${currentRowId}`}\n checked={selected}\n disabled={selectionDisabled}\n interactionPolicy={interactionPolicy}\n onCheckedChange={(nextSelected) => {\n if (selectionDisabled) return;\n emitSelectionChange(\n resolveNextSelectedRowIds(\n controlledSelectedRowIds,\n currentRowId,\n nextSelected,\n ),\n onSelectedRowIdsChange,\n onSelectionChange,\n );\n }}\n />\n </View>\n ) : null}\n {onRowActivate ? (\n <Pressable\n accessibilityLabel={`Activate row ${currentRowId}`}\n accessibilityRole=\"button\"\n disabled={interactionPolicy === 'passive'}\n onPress={() => onRowActivate({ rowId: currentRowId })}\n style={{ flexGrow: 1, flexShrink: 1 }}\n >\n <View direction=\"row\">\n {columns.map((column) => (\n <View\n key={column.id}\n px={padding.px}\n py={padding.py}\n style={resolveCellStyle(column)}\n >\n {renderTableCell(column, row, rowIndex)}\n </View>\n ))}\n </View>\n </Pressable>\n ) : (\n <View direction=\"row\">\n {columns.map((column) => (\n <View\n key={column.id}\n px={padding.px}\n py={padding.py}\n style={resolveCellStyle(column)}\n >\n {renderTableCell(column, row, rowIndex)}\n </View>\n ))}\n </View>\n )}\n {hasRowActions ? (\n <View\n px={padding.px}\n py={padding.py}\n style={{ alignItems: 'flex-end', minWidth: 56, width: 56 }}\n >\n {renderRowActions({ row, rowActions, rowIndex, testID, interactionPolicy })}\n </View>\n ) : null}\n </View>\n </View>\n );\n })}\n </View>\n </View>\n </View>\n </ScrollView>\n );\n}\n\nfunction DataTableMobile<TRow extends object>({\n columns,\n rows,\n rowActions,\n rowId,\n rowKey,\n activeRowId,\n selectedRowIds,\n onSelectedRowIdsChange,\n onSelectionChange,\n onRowActivate,\n testID,\n interactionPolicy,\n}: DataTableProps<TRow>) {\n const [primaryColumn, ...detailColumns] = columns;\n const controlledSelectedRowIds = selectedRowIds ?? [];\n const selectedRowIdSet = new Set(controlledSelectedRowIds);\n const selectionEnabled = selectedRowIds !== undefined;\n const selectionDisabled =\n interactionPolicy === 'passive' ||\n (onSelectedRowIdsChange === undefined && onSelectionChange === undefined);\n\n return (\n <View gap=\"s\">\n {rows.map((row, rowIndex) => {\n const currentRowId = resolveDataTableRowKey(row, rowIndex, rowKey, rowId);\n const active = activeRowId === currentRowId;\n const title = primaryColumn\n ? renderCell(primaryColumn, row, rowIndex)\n : `Row ${rowIndex + 1}`;\n const actions = renderRowActions({ row, rowActions, rowIndex, testID, interactionPolicy });\n const card = (\n <Card\n actions={onRowActivate ? undefined : actions}\n accessibilityLabel={onRowActivate ? `Activate row ${currentRowId}` : undefined}\n compact\n interactionPolicy={interactionPolicy}\n onPress={onRowActivate ? () => onRowActivate({ rowId: currentRowId }) : undefined}\n testID={testID ? `${testID}-card-${rowIndex}` : undefined}\n title={title}\n tone={active ? 'subtle' : undefined}\n >\n <View gap=\"s\">\n {detailColumns.map((column) => (\n <View gap=\"xxs\" key={column.id}>\n <Text emphasis=\"muted\" variant=\"caption\" weight=\"semiBold\">\n {column.header}\n </Text>\n {column.renderCell || column.cell ? (\n renderCell(column, row, rowIndex)\n ) : (\n <Text variant=\"bodySmall\">\n {renderDefaultCell(resolveAccessorValue(row, column))}\n </Text>\n )}\n </View>\n ))}\n </View>\n </Card>\n );\n return (\n <View gap=\"s\" key={currentRowId}>\n {onRowActivate && actions ? (\n <View align=\"flex-start\" direction=\"row\" gap=\"xs\">\n <View flex={1}>{card}</View>\n {actions}\n </View>\n ) : (\n card\n )}\n {selectionEnabled ? (\n <Checkbox\n accessibilityLabel={`Select row ${currentRowId}`}\n checked={selectedRowIdSet.has(currentRowId)}\n disabled={selectionDisabled}\n interactionPolicy={interactionPolicy}\n onCheckedChange={(nextSelected) => {\n if (selectionDisabled) return;\n emitSelectionChange(\n resolveNextSelectedRowIds(controlledSelectedRowIds, currentRowId, nextSelected),\n onSelectedRowIdsChange,\n onSelectionChange,\n );\n }}\n />\n ) : null}\n </View>\n );\n })}\n </View>\n );\n}\n\nfunction DataTableInner<TRow extends object>({\n themeId: _themeId,\n mode: _mode,\n rows,\n loading = false,\n loadingRows = 5,\n emptyTitle = 'No data',\n emptyDescription = 'There are no rows to display.',\n testID,\n density = 'comfortable',\n interactionPolicy,\n ...props\n}: DataTableProps<TRow>) {\n if (loading) {\n return <SkeletonList rows={loadingRows} variant=\"card\" testID={testID} />;\n }\n\n if (rows.length === 0) {\n return <EmptyState title={emptyTitle} description={emptyDescription} />;\n }\n\n const tableProps: DataTableProps<TRow> = {\n ...props,\n density,\n emptyDescription,\n emptyTitle,\n interactionPolicy,\n loading,\n loadingRows,\n rows,\n testID,\n };\n\n return (\n <View testID={testID}>\n <Show when={{ base: false, md: true }} fallback={<DataTableMobile {...tableProps} />}>\n <DataTableDesktop {...tableProps} />\n </Show>\n </View>\n );\n}\n"]}