@ankhorage/zora 28.10.1 → 28.11.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.
- package/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/dist/features/flow/adapters/inbound/FlowCanvas.d.ts +5 -0
- package/dist/features/flow/adapters/inbound/FlowCanvas.d.ts.map +1 -0
- package/dist/features/flow/adapters/inbound/FlowCanvas.js +261 -0
- package/dist/features/flow/adapters/inbound/FlowCanvas.js.map +1 -0
- package/dist/features/flow/application/createFlowEditorController.d.ts +13 -0
- package/dist/features/flow/application/createFlowEditorController.d.ts.map +1 -0
- package/dist/features/flow/application/createFlowEditorController.js +86 -0
- package/dist/features/flow/application/createFlowEditorController.js.map +1 -0
- package/dist/features/flow/application/getFlowPortAnchor.d.ts +10 -0
- package/dist/features/flow/application/getFlowPortAnchor.d.ts.map +1 -0
- package/dist/features/flow/application/getFlowPortAnchor.js +18 -0
- package/dist/features/flow/application/getFlowPortAnchor.js.map +1 -0
- package/dist/features/flow/application/mapFlowViewport.d.ts +10 -0
- package/dist/features/flow/application/mapFlowViewport.d.ts.map +1 -0
- package/dist/features/flow/application/mapFlowViewport.js +22 -0
- package/dist/features/flow/application/mapFlowViewport.js.map +1 -0
- package/dist/features/flow/public.d.ts +3 -0
- package/dist/features/flow/public.d.ts.map +1 -0
- package/dist/features/flow/public.js +2 -0
- package/dist/features/flow/public.js.map +1 -0
- package/dist/features/graph-node/adapters/inbound/GraphNode.d.ts +5 -0
- package/dist/features/graph-node/adapters/inbound/GraphNode.d.ts.map +1 -0
- package/dist/features/graph-node/adapters/inbound/GraphNode.js +190 -0
- package/dist/features/graph-node/adapters/inbound/GraphNode.js.map +1 -0
- package/dist/features/graph-node/getGraphNodePortGeometry.d.ts +17 -0
- package/dist/features/graph-node/getGraphNodePortGeometry.d.ts.map +1 -0
- package/dist/features/graph-node/getGraphNodePortGeometry.js +23 -0
- package/dist/features/graph-node/getGraphNodePortGeometry.js.map +1 -0
- package/dist/features/graph-node/public.d.ts +3 -0
- package/dist/features/graph-node/public.d.ts.map +1 -0
- package/dist/features/graph-node/public.js +2 -0
- package/dist/features/graph-node/public.js.map +1 -0
- package/dist/features/grid-view/adapters/inbound/GridView.d.ts +1 -1
- package/dist/features/grid-view/adapters/inbound/GridView.d.ts.map +1 -1
- package/dist/features/grid-view/adapters/inbound/GridView.js +105 -41
- package/dist/features/grid-view/adapters/inbound/GridView.js.map +1 -1
- package/dist/features/grid-view/application/createGridScrollSync.d.ts +2 -5
- package/dist/features/grid-view/application/createGridScrollSync.d.ts.map +1 -1
- package/dist/features/grid-view/application/createGridScrollSync.js +109 -45
- package/dist/features/grid-view/application/createGridScrollSync.js.map +1 -1
- package/dist/features/grid-view/public.d.ts +1 -1
- package/dist/features/grid-view/public.d.ts.map +1 -1
- package/dist/features/grid-view/public.js.map +1 -1
- package/dist/features/layout/utils/createScrollGestureLock.d.ts.map +1 -1
- package/dist/features/layout/utils/createScrollGestureLock.js +4 -0
- package/dist/features/layout/utils/createScrollGestureLock.js.map +1 -1
- package/dist/features/theme/node.d.ts +5 -0
- package/dist/features/theme/node.d.ts.map +1 -0
- package/dist/features/theme/node.js +4 -0
- package/dist/features/theme/node.js.map +1 -0
- package/dist/features/theme/public.d.ts +2 -0
- package/dist/features/theme/public.d.ts.map +1 -1
- package/dist/features/theme/public.js +1 -0
- package/dist/features/theme/public.js.map +1 -1
- package/dist/types/flow.d.ts +81 -0
- package/dist/types/flow.d.ts.map +1 -0
- package/dist/types/flow.js +2 -0
- package/dist/types/flow.js.map +1 -0
- package/dist/types/graph-node.d.ts +42 -0
- package/dist/types/graph-node.d.ts.map +1 -0
- package/dist/types/graph-node.js +2 -0
- package/dist/types/graph-node.js.map +1 -0
- package/dist/types/grid-view.d.ts +27 -3
- package/dist/types/grid-view.d.ts.map +1 -1
- package/dist/types/grid-view.js.map +1 -1
- package/dist/types/layout.d.ts +2 -0
- package/dist/types/layout.d.ts.map +1 -1
- package/dist/types/layout.js.map +1 -1
- package/package.json +21 -3
- package/src/features/flow/adapters/inbound/FlowCanvas.tsx +501 -0
- package/src/features/flow/application/createFlowEditorController.test.ts +146 -0
- package/src/features/flow/application/createFlowEditorController.ts +99 -0
- package/src/features/flow/application/getFlowPortAnchor.test.ts +23 -0
- package/src/features/flow/application/getFlowPortAnchor.ts +30 -0
- package/src/features/flow/application/mapFlowViewport.test.ts +11 -0
- package/src/features/flow/application/mapFlowViewport.ts +29 -0
- package/src/features/flow/public.test.ts +7 -0
- package/src/features/flow/public.ts +13 -0
- package/src/features/graph-node/adapters/inbound/GraphNode.test.tsx +80 -0
- package/src/features/graph-node/adapters/inbound/GraphNode.tsx +259 -0
- package/src/features/graph-node/getGraphNodePortGeometry.test.ts +35 -0
- package/src/features/graph-node/getGraphNodePortGeometry.ts +41 -0
- package/src/features/graph-node/public.test.ts +7 -0
- package/src/features/graph-node/public.ts +2 -0
- package/src/features/grid-view/adapters/inbound/GridView.nativeScrollSync.test.tsx +198 -7
- package/src/features/grid-view/adapters/inbound/GridView.tsx +248 -145
- package/src/features/grid-view/application/createGridScrollSync.test.ts +46 -17
- package/src/features/grid-view/application/createGridScrollSync.ts +100 -43
- package/src/features/grid-view/public.ts +6 -1
- package/src/features/layout/utils/createScrollGestureLock.ts +4 -0
- package/src/features/theme/application/use-cases/compileZoraTheme.test.ts +1 -1
- package/src/features/theme/node.ts +18 -0
- package/src/features/theme/public.ts +7 -0
- package/src/platformAcceptance.test.ts +15 -11
- package/src/types/flow.ts +99 -0
- package/src/types/graph-node.ts +45 -0
- package/src/types/grid-view.ts +25 -3
- package/src/types/layout.ts +2 -0
- package/web-dist/chunks/{Accordion-9dq115tn.js → Accordion-064hgrct.js} +3 -3
- package/web-dist/chunks/{Accordion-wbf7gqrm.js → Accordion-2b3sd76b.js} +3 -3
- package/web-dist/chunks/{Accordion-k9n1yse4.js → Accordion-2kv6p7by.js} +10 -38
- package/web-dist/chunks/{Accordion-6gc0jw1n.js → Accordion-5x4cv0kv.js} +1 -1
- package/web-dist/chunks/{Accordion-r8swmfjm.js → Accordion-6d63tc7d.js} +1 -1
- package/web-dist/chunks/{Accordion-vbz1mjm6.js → Accordion-7eysykr1.js} +4 -4
- package/web-dist/chunks/{Accordion-59x6e7bs.js → Accordion-91qf4q27.js} +1 -1
- package/web-dist/chunks/{Accordion-hadw5304.js → Accordion-98886mbn.js} +1 -1
- package/web-dist/chunks/{Accordion-vtbs98r4.js → Accordion-a0hbjxg9.js} +4 -4
- package/web-dist/chunks/{Accordion-73p2mg3h.js → Accordion-a49s4ywn.js} +4 -4
- package/web-dist/chunks/{Accordion-tb0vc91c.js → Accordion-a8b6g53f.js} +4 -4
- package/web-dist/chunks/{Accordion-25v2vczc.js → Accordion-afxbyvwp.js} +3 -3
- package/web-dist/chunks/{Accordion-g5pvs1aa.js → Accordion-ajqj6ymg.js} +5 -5
- package/web-dist/chunks/{Accordion-w2kx944a.js → Accordion-ak6dvant.js} +3 -3
- package/web-dist/chunks/{Accordion-778fjjsh.js → Accordion-b1tqkxx6.js} +3 -3
- package/web-dist/chunks/{Accordion-rp9cjtpg.js → Accordion-bm30dkbw.js} +2 -2
- package/web-dist/chunks/{Accordion-rsw5jt7m.js → Accordion-cah5j61y.js} +2 -2
- package/web-dist/chunks/{Accordion-pr1tv6jx.js → Accordion-dfr26j8m.js} +1 -1
- package/web-dist/chunks/{Accordion-zmrbktd8.js → Accordion-dnfgtbq3.js} +8 -8
- package/web-dist/chunks/{Accordion-m3tq2vcc.js → Accordion-dy1j2a7p.js} +6 -6
- package/web-dist/chunks/{Accordion-7pgh8q4h.js → Accordion-e9jwetg7.js} +2 -2
- package/web-dist/chunks/{Accordion-gnkzvj03.js → Accordion-e9xmwxzp.js} +1 -1
- package/web-dist/chunks/{Accordion-q8ymmar7.js → Accordion-ek0hh2nx.js} +4 -4
- package/web-dist/chunks/{Accordion-2berhsg5.js → Accordion-et7xzm6k.js} +9 -9
- package/web-dist/chunks/Accordion-eysfka31.js +1590 -0
- package/web-dist/chunks/{Accordion-3xfqmr1r.js → Accordion-gy3bx3xa.js} +2 -2
- package/web-dist/chunks/{Accordion-tj4fe6wk.js → Accordion-h2rnzgyv.js} +3 -3
- package/web-dist/chunks/Accordion-hbwhya78.js +83 -0
- package/web-dist/chunks/{Accordion-t9w365ke.js → Accordion-hbwyj12m.js} +1 -1
- package/web-dist/chunks/{Accordion-q2yxtdzc.js → Accordion-j3esnt3f.js} +6 -6
- package/web-dist/chunks/Accordion-jkgd7dmf.js +1 -0
- package/web-dist/chunks/{Accordion-qwftammh.js → Accordion-kxjjp03t.js} +5 -5
- package/web-dist/chunks/Accordion-mkd3k28h.js +275 -0
- package/web-dist/chunks/{Accordion-xqkkfwkm.js → Accordion-nhf8zjt4.js} +2 -2
- package/web-dist/chunks/{Accordion-hg4db1sk.js → Accordion-p84h11ek.js} +4 -4
- package/web-dist/chunks/{Accordion-zhgty1ae.js → Accordion-pagdkp07.js} +3 -3
- package/web-dist/chunks/{Accordion-dv5c27w4.js → Accordion-pjbmmr20.js} +1 -1
- package/web-dist/chunks/{Accordion-7ayxbm7k.js → Accordion-pr4a281g.js} +1 -1
- package/web-dist/chunks/{Accordion-yca8r7kx.js → Accordion-qz6ddnmv.js} +3 -3
- package/web-dist/chunks/{Accordion-dcjzxzv3.js → Accordion-rv90tjqr.js} +2 -2
- package/web-dist/chunks/{Accordion-0zk0xp73.js → Accordion-snk6nggm.js} +326 -174
- package/web-dist/chunks/{Accordion-casb2ndy.js → Accordion-th7yhwhf.js} +5 -5
- package/web-dist/chunks/{Accordion-e6ettgh0.js → Accordion-vbh3xqv6.js} +2 -2
- package/web-dist/chunks/{Accordion-vdzyhtyd.js → Accordion-w4zh2nws.js} +8 -8
- package/web-dist/chunks/Accordion-w8zke8fa.js +37 -0
- package/web-dist/chunks/{Accordion-3e60xwvy.js → Accordion-wkqemqjw.js} +1 -1
- package/web-dist/chunks/{Accordion-vwqf8kn1.js → Accordion-x9sb23p3.js} +3 -3
- package/web-dist/chunks/{Accordion-xhkphta6.js → Accordion-y6sg47rv.js} +1 -1
- package/web-dist/chunks/{Accordion-mw8zh0vs.js → Accordion-yannd7r3.js} +4 -4
- package/web-dist/chunks/{Accordion-457amtv7.js → Accordion-z3m3wvfz.js} +6 -1580
- package/web-dist/chunks/{Accordion-pvcdvh3w.js → Accordion-zagrbkq1.js} +2 -2
- package/web-dist/chunks/{Accordion-2jcas7qq.js → Accordion-zays65re.js} +5 -5
- package/web-dist/chunks/{RichTextClient-w75r2x97.js → RichTextClient-qd6gmm0x.js} +12 -11
- package/web-dist/chunks/{Video.native-bb9g33nd.js → Video.native-7zsbp5vg.js} +7 -6
- package/web-dist/components/accordion/Accordion.js +6 -5
- package/web-dist/components/accordion-item/AccordionItem.js +6 -5
- package/web-dist/components/activity-indicator/ActivityIndicator.js +1 -1
- package/web-dist/components/app-bar/AppBar.js +8 -7
- package/web-dist/components/app-header/AppHeader.js +8 -7
- package/web-dist/components/app-shell/AppShell.js +3 -2
- package/web-dist/components/audio/Audio.js +6 -5
- package/web-dist/components/auth-screen/AuthScreen.js +11 -10
- package/web-dist/components/avatar/Avatar.js +6 -5
- package/web-dist/components/avatar-group/AvatarGroup.js +6 -5
- package/web-dist/components/badge/Badge.js +2 -2
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +11 -10
- package/web-dist/components/bottom-sheet/BottomSheet.js +4 -3
- package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +4 -3
- package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +4 -3
- package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +4 -3
- package/web-dist/components/bottom-sheet-view/BottomSheetView.js +4 -3
- package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +4 -3
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +6 -5
- package/web-dist/components/button/Button.js +4 -3
- package/web-dist/components/button-group/ButtonGroup.js +4 -3
- package/web-dist/components/calendar/Calendar.js +8 -7
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +11 -10
- package/web-dist/components/card/Card.js +10 -9
- package/web-dist/components/card-back/CardBack.js +2 -2
- package/web-dist/components/card-hand/CardHand.js +2 -2
- package/web-dist/components/chat-list-item/ChatListItem.js +8 -7
- package/web-dist/components/checkbox/Checkbox.js +5 -4
- package/web-dist/components/checkbox-group/CheckboxGroup.js +5 -4
- package/web-dist/components/chess-board/ChessBoard.js +4 -3
- package/web-dist/components/chip/Chip.js +6 -5
- package/web-dist/components/chip-group/ChipGroup.js +6 -5
- package/web-dist/components/collection-editor/CollectionEditor.js +10 -9
- package/web-dist/components/color-hue-scale/ColorHueScale.js +17 -15
- package/web-dist/components/color-picker/ColorPicker.js +17 -15
- package/web-dist/components/color-tone/ColorTone.js +17 -15
- package/web-dist/components/color-wheel/ColorWheel.js +17 -15
- package/web-dist/components/content-rail/ContentRail.js +5 -4
- package/web-dist/components/data-table/DataTable.js +16 -15
- package/web-dist/components/date-picker/DatePicker.js +10 -9
- package/web-dist/components/dialog/Dialog.js +5 -4
- package/web-dist/components/divider/Divider.js +3 -2
- package/web-dist/components/empty-state/EmptyState.js +11 -10
- package/web-dist/components/explorer/Explorer.js +8 -7
- package/web-dist/components/field/Field.js +5 -4
- package/web-dist/components/file-explorer/FileExplorer.js +8 -7
- package/web-dist/components/flat-list/FlatList.js +6 -5
- package/web-dist/components/flow-canvas/FlowCanvas.d.ts +7 -0
- package/web-dist/components/flow-canvas/FlowCanvas.dependency-0.d.ts +27 -0
- package/web-dist/components/flow-canvas/FlowCanvas.dependency-1.d.ts +3 -0
- package/web-dist/components/flow-canvas/FlowCanvas.js +513 -0
- package/web-dist/components/flow-canvas/FlowCanvas.types-0.d.ts +92 -0
- package/web-dist/components/flow-canvas/index.d.ts +2 -0
- package/web-dist/components/flow-canvas/index.js +2 -0
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +11 -10
- package/web-dist/components/form/Form.js +7 -6
- package/web-dist/components/form-actions/FormActions.js +7 -6
- package/web-dist/components/form-error/FormError.js +7 -6
- package/web-dist/components/game/Game.js +4 -3
- package/web-dist/components/game-entity/GameEntity.js +4 -3
- package/web-dist/components/game-field/GameField.js +4 -3
- package/web-dist/components/game-input-zone/GameInputZone.js +4 -3
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +4 -3
- package/web-dist/components/game-overlay/GameOverlay.js +4 -3
- package/web-dist/components/gradient/Gradient.js +4 -3
- package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +4 -3
- package/web-dist/components/graph-node/GraphNode.d.ts +7 -0
- package/web-dist/components/graph-node/GraphNode.dependency-0.d.ts +27 -0
- package/web-dist/components/graph-node/GraphNode.dependency-1.d.ts +3 -0
- package/web-dist/components/graph-node/GraphNode.dependency-2.d.ts +5 -0
- package/web-dist/components/graph-node/GraphNode.js +20 -0
- package/web-dist/components/graph-node/GraphNode.types-0.d.ts +46 -0
- package/web-dist/components/graph-node/index.d.ts +2 -0
- package/web-dist/components/graph-node/index.js +2 -0
- package/web-dist/components/grid/Grid.js +3 -2
- package/web-dist/components/grid-line-overlay/GridLineOverlay.js +2 -2
- package/web-dist/components/grid-ruler/GridRuler.js +2 -2
- package/web-dist/components/grid-view/GridView.d.ts +1 -1
- package/web-dist/components/grid-view/GridView.js +2 -1
- package/web-dist/components/grid-view/GridView.types-0.d.ts +21 -0
- package/web-dist/components/heading/Heading.js +2 -2
- package/web-dist/components/hero/Hero.js +10 -9
- package/web-dist/components/icon/Icon.js +2 -2
- package/web-dist/components/icon-button/IconButton.js +4 -3
- package/web-dist/components/image/Image.js +5 -4
- package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +2 -2
- package/web-dist/components/link/Link.js +2 -2
- package/web-dist/components/list/List.js +6 -5
- package/web-dist/components/list-item/ListItem.js +6 -5
- package/web-dist/components/list-section/ListSection.js +6 -5
- package/web-dist/components/master-detail/MasterDetail.js +3 -2
- package/web-dist/components/matrix-grid/MatrixGrid.js +5 -4
- package/web-dist/components/media-card/MediaCard.js +10 -9
- package/web-dist/components/media-explorer/MediaExplorer.js +8 -7
- package/web-dist/components/message-bubble/MessageBubble.js +8 -7
- package/web-dist/components/metric-card/MetricCard.js +10 -9
- package/web-dist/components/missing-element/MissingElement.js +5 -4
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +11 -10
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +11 -10
- package/web-dist/components/opening-book/OpeningBook.js +4 -3
- package/web-dist/components/otp-form/OtpForm.js +11 -10
- package/web-dist/components/pagination/Pagination.js +5 -4
- package/web-dist/components/palette-item/PaletteItem.js +10 -9
- package/web-dist/components/playing-card/PlayingCard.js +2 -2
- package/web-dist/components/poker-training-table/PokerTrainingTable.js +2 -2
- package/web-dist/components/popover/Popover.js +1 -1
- package/web-dist/components/popover-menu/PopoverMenu.js +5 -4
- package/web-dist/components/post-card/PostCard.js +10 -9
- package/web-dist/components/product-card/ProductCard.js +10 -9
- package/web-dist/components/progress/Progress.js +5 -4
- package/web-dist/components/progress-ring/ProgressRing.js +5 -4
- package/web-dist/components/radio/Radio.js +6 -5
- package/web-dist/components/radio-group/RadioGroup.js +6 -5
- package/web-dist/components/rating/Rating.js +4 -3
- package/web-dist/components/reader/Reader.js +11 -10
- package/web-dist/components/rich-text/RichText.js +3 -3
- package/web-dist/components/runtime-authoring-overlay/RuntimeAuthoringOverlay.js +4 -3
- package/web-dist/components/scan-overlay/ScanOverlay.js +11 -10
- package/web-dist/components/screen/Screen.js +3 -2
- package/web-dist/components/screen-section/ScreenSection.js +5 -4
- package/web-dist/components/scroll-view/ScrollView.js +3 -2
- package/web-dist/components/search-input/SearchInput.js +6 -5
- package/web-dist/components/section-header/SectionHeader.js +5 -4
- package/web-dist/components/section-list/SectionList.js +6 -5
- package/web-dist/components/select/Select.js +11 -10
- package/web-dist/components/selectable-item/SelectableItem.js +4 -3
- package/web-dist/components/selection-provider/SelectionProvider.js +4 -3
- package/web-dist/components/sign-in-form/SignInForm.js +11 -10
- package/web-dist/components/sign-up-form/SignUpForm.js +11 -10
- package/web-dist/components/skeleton/Skeleton.js +13 -12
- package/web-dist/components/skeleton-card/SkeletonCard.js +13 -12
- package/web-dist/components/skeleton-list/SkeletonList.js +13 -12
- package/web-dist/components/skeleton-text/SkeletonText.js +13 -12
- package/web-dist/components/spatial-grid/SpatialGrid.js +2 -1
- package/web-dist/components/surface/Surface.js +2 -2
- package/web-dist/components/switch/Switch.js +1 -1
- package/web-dist/components/tab/Tab.js +2 -2
- package/web-dist/components/tab-list/TabList.js +2 -2
- package/web-dist/components/tab-panel/TabPanel.js +2 -2
- package/web-dist/components/tabletop-table/TabletopTable.js +2 -2
- package/web-dist/components/tabs/Tabs.js +2 -2
- package/web-dist/components/text/Text.js +2 -2
- package/web-dist/components/text-input/TextInput.js +5 -4
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +4 -3
- package/web-dist/components/tile-grid/TileGrid.js +2 -1
- package/web-dist/components/time-grid/TimeGrid.js +3 -2
- package/web-dist/components/time-picker/TimePicker.js +7 -6
- package/web-dist/components/timeline/Timeline.js +6 -5
- package/web-dist/components/toast/Toast.js +2 -2
- package/web-dist/components/toast-provider/ToastProvider.js +2 -2
- package/web-dist/components/toolbar/Toolbar.js +11 -10
- package/web-dist/components/tree-item/TreeItem.js +9 -8
- package/web-dist/components/uploader/Uploader.js +13 -12
- package/web-dist/components/video/Video.js +7 -6
- package/web-dist/components/view/View.js +3 -2
- package/web-dist/components/zora-provider/ZoraProvider.d.ts +7 -0
- package/web-dist/components/zora-provider/ZoraProvider.dependency-0.d.ts +15 -0
- package/web-dist/components/zora-provider/ZoraProvider.js +11 -0
- package/web-dist/components/zora-provider/ZoraProvider.types-0.d.ts +19 -0
- package/web-dist/components/zora-provider/index.d.ts +2 -0
- package/web-dist/components/zora-provider/index.js +2 -0
- package/web-dist/components/zora-theme-scope/ZoraThemeScope.d.ts +14 -0
- package/web-dist/components/zora-theme-scope/ZoraThemeScope.js +11 -0
- package/web-dist/components/zora-theme-scope/ZoraThemeScope.types-0.d.ts +3 -0
- package/web-dist/components/zora-theme-scope/index.d.ts +2 -0
- package/web-dist/components/zora-theme-scope/index.js +2 -0
- package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.js +3 -2
- package/web-dist/manifest.json +1058 -832
- package/web-dist/runtime/ZoraProvider.js +4 -80
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { FlowPortDescriptor } from '@ankhorage/contracts/flow';
|
|
2
|
+
|
|
3
|
+
import type React from 'react';
|
|
4
|
+
|
|
5
|
+
import type { ZoraBaseProps } from './FlowCanvas.dependency-0.js';
|
|
6
|
+
|
|
7
|
+
/** A position in the caller-owned flow coordinate space. */
|
|
8
|
+
export interface FlowPoint {
|
|
9
|
+
readonly x: number;
|
|
10
|
+
readonly y: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** A typed connection endpoint owned by one flow node. */
|
|
14
|
+
export interface FlowPort {
|
|
15
|
+
readonly id: string;
|
|
16
|
+
readonly direction: 'input' | 'output';
|
|
17
|
+
readonly label: string;
|
|
18
|
+
/** The portable Contracts schema used to validate a prospective connection. */
|
|
19
|
+
readonly data?: FlowPortDescriptor['data'];
|
|
20
|
+
readonly disabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/** Explains why the controlled canvas refused a connection request. */
|
|
24
|
+
export type FlowConnectionRejection = 'connection_requires_distinct_nodes' | 'connection_requires_output_to_input' | 'connection_targets_disabled_port' | 'connection_types_incompatible';
|
|
25
|
+
|
|
26
|
+
/** A caller-owned node rendered on the flow canvas. */
|
|
27
|
+
export interface FlowNodeData {
|
|
28
|
+
readonly id: string;
|
|
29
|
+
readonly title: string;
|
|
30
|
+
readonly position: FlowPoint;
|
|
31
|
+
readonly ports: readonly FlowPort[];
|
|
32
|
+
readonly description?: string;
|
|
33
|
+
readonly disabled?: boolean;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** A stable address for a typed flow port. */
|
|
37
|
+
export interface FlowPortAddress {
|
|
38
|
+
readonly nodeId: string;
|
|
39
|
+
readonly portId: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/** A directed connection from an output port to an input port. */
|
|
43
|
+
export interface FlowConnection {
|
|
44
|
+
readonly id: string;
|
|
45
|
+
readonly source: FlowPortAddress;
|
|
46
|
+
readonly target: FlowPortAddress;
|
|
47
|
+
readonly label?: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/** A palette entry that asks the controlled host to insert a node. */
|
|
51
|
+
export interface FlowPaletteItem {
|
|
52
|
+
readonly id: string;
|
|
53
|
+
readonly title: string;
|
|
54
|
+
readonly description?: string;
|
|
55
|
+
readonly disabled?: boolean;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/** The controlled viewport for pan and zoom. */
|
|
59
|
+
export interface FlowViewport {
|
|
60
|
+
readonly pan: FlowPoint;
|
|
61
|
+
readonly zoom: number;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/** State given to a custom node renderer. */
|
|
65
|
+
export interface FlowNodeRenderState {
|
|
66
|
+
readonly selected: boolean;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/** Public controlled interaction contract for the shared React Native and React Native Web canvas. */
|
|
70
|
+
export interface FlowCanvasProps extends ZoraBaseProps {
|
|
71
|
+
readonly nodes: readonly FlowNodeData[];
|
|
72
|
+
readonly connections: readonly FlowConnection[];
|
|
73
|
+
readonly viewport: FlowViewport;
|
|
74
|
+
readonly paletteItems?: readonly FlowPaletteItem[];
|
|
75
|
+
readonly selectedNodeIds?: readonly string[];
|
|
76
|
+
readonly readOnly?: boolean;
|
|
77
|
+
readonly canUndo?: boolean;
|
|
78
|
+
readonly canRedo?: boolean;
|
|
79
|
+
readonly minZoom?: number;
|
|
80
|
+
readonly maxZoom?: number;
|
|
81
|
+
readonly renderNode?: (node: FlowNodeData, state: FlowNodeRenderState) => React.ReactNode;
|
|
82
|
+
readonly onNodeSelectionChange?: (nodeIds: readonly string[]) => void;
|
|
83
|
+
readonly onNodesMove?: (nodes: readonly FlowNodeData[]) => void;
|
|
84
|
+
readonly onViewportChange?: (viewport: FlowViewport) => void;
|
|
85
|
+
readonly onConnect?: (source: FlowPortAddress, target: FlowPortAddress) => void;
|
|
86
|
+
readonly onConnectionRejected?: (source: FlowPortAddress, target: FlowPortAddress, reason: FlowConnectionRejection) => void;
|
|
87
|
+
readonly onDisconnect?: (connectionId: string) => void;
|
|
88
|
+
readonly onInsert?: (paletteItemId: string) => void;
|
|
89
|
+
readonly onNodesDelete?: (nodeIds: readonly string[]) => void;
|
|
90
|
+
readonly onUndo?: () => void;
|
|
91
|
+
readonly onRedo?: () => void;
|
|
92
|
+
}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
4
|
-
import"../../chunks/Accordion-
|
|
5
|
-
import"../../chunks/Accordion-
|
|
6
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
|
+
import"../../chunks/Accordion-pr4a281g.js";
|
|
5
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
6
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
7
|
+
import"../../chunks/Accordion-dfr26j8m.js";
|
|
7
8
|
import"../../chunks/Accordion-x1ze1wvk.js";
|
|
8
9
|
import"../../chunks/Accordion-fkftnxgw.js";
|
|
9
|
-
import"../../chunks/Accordion-
|
|
10
|
-
import"../../chunks/Accordion-
|
|
10
|
+
import"../../chunks/Accordion-5x4cv0kv.js";
|
|
11
|
+
import"../../chunks/Accordion-vbh3xqv6.js";
|
|
11
12
|
import {
|
|
12
13
|
ForgotPasswordForm2
|
|
13
|
-
} from "../../chunks/Accordion-
|
|
14
|
-
import"../../chunks/Accordion-
|
|
15
|
-
import"../../chunks/Accordion-
|
|
16
|
-
import"../../chunks/Accordion-
|
|
14
|
+
} from "../../chunks/Accordion-et7xzm6k.js";
|
|
15
|
+
import"../../chunks/Accordion-a49s4ywn.js";
|
|
16
|
+
import"../../chunks/Accordion-ak6dvant.js";
|
|
17
|
+
import"../../chunks/Accordion-nhf8zjt4.js";
|
|
17
18
|
export {
|
|
18
19
|
ForgotPasswordForm2 as ForgotPasswordForm
|
|
19
20
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
4
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
5
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
5
6
|
import"../../chunks/Accordion-x1ze1wvk.js";
|
|
6
7
|
import"../../chunks/Accordion-fkftnxgw.js";
|
|
7
|
-
import"../../chunks/Accordion-
|
|
8
|
+
import"../../chunks/Accordion-vbh3xqv6.js";
|
|
8
9
|
import {
|
|
9
10
|
Form2
|
|
10
|
-
} from "../../chunks/Accordion-
|
|
11
|
-
import"../../chunks/Accordion-
|
|
12
|
-
import"../../chunks/Accordion-
|
|
11
|
+
} from "../../chunks/Accordion-a49s4ywn.js";
|
|
12
|
+
import"../../chunks/Accordion-5x4cv0kv.js";
|
|
13
|
+
import"../../chunks/Accordion-ak6dvant.js";
|
|
13
14
|
export {
|
|
14
15
|
Form2 as Form
|
|
15
16
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
4
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
5
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
5
6
|
import"../../chunks/Accordion-x1ze1wvk.js";
|
|
6
7
|
import"../../chunks/Accordion-fkftnxgw.js";
|
|
7
|
-
import"../../chunks/Accordion-
|
|
8
|
+
import"../../chunks/Accordion-vbh3xqv6.js";
|
|
8
9
|
import {
|
|
9
10
|
FormActions2
|
|
10
|
-
} from "../../chunks/Accordion-
|
|
11
|
-
import"../../chunks/Accordion-
|
|
12
|
-
import"../../chunks/Accordion-
|
|
11
|
+
} from "../../chunks/Accordion-a49s4ywn.js";
|
|
12
|
+
import"../../chunks/Accordion-5x4cv0kv.js";
|
|
13
|
+
import"../../chunks/Accordion-ak6dvant.js";
|
|
13
14
|
export {
|
|
14
15
|
FormActions2 as FormActions
|
|
15
16
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
4
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
5
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
5
6
|
import"../../chunks/Accordion-x1ze1wvk.js";
|
|
6
7
|
import"../../chunks/Accordion-fkftnxgw.js";
|
|
7
|
-
import"../../chunks/Accordion-
|
|
8
|
+
import"../../chunks/Accordion-vbh3xqv6.js";
|
|
8
9
|
import {
|
|
9
10
|
FormError2
|
|
10
|
-
} from "../../chunks/Accordion-
|
|
11
|
-
import"../../chunks/Accordion-
|
|
12
|
-
import"../../chunks/Accordion-
|
|
11
|
+
} from "../../chunks/Accordion-a49s4ywn.js";
|
|
12
|
+
import"../../chunks/Accordion-5x4cv0kv.js";
|
|
13
|
+
import"../../chunks/Accordion-ak6dvant.js";
|
|
13
14
|
export {
|
|
14
15
|
FormError2 as FormError
|
|
15
16
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import {
|
|
5
5
|
Game2
|
|
6
|
-
} from "../../chunks/Accordion-
|
|
7
|
-
import"../../chunks/Accordion-
|
|
6
|
+
} from "../../chunks/Accordion-cah5j61y.js";
|
|
7
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
8
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
8
9
|
export {
|
|
9
10
|
Game2 as Game
|
|
10
11
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import {
|
|
5
5
|
GameEntity2
|
|
6
|
-
} from "../../chunks/Accordion-
|
|
7
|
-
import"../../chunks/Accordion-
|
|
6
|
+
} from "../../chunks/Accordion-cah5j61y.js";
|
|
7
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
8
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
8
9
|
export {
|
|
9
10
|
GameEntity2 as GameEntity
|
|
10
11
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import {
|
|
5
5
|
GameField2
|
|
6
|
-
} from "../../chunks/Accordion-
|
|
7
|
-
import"../../chunks/Accordion-
|
|
6
|
+
} from "../../chunks/Accordion-cah5j61y.js";
|
|
7
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
8
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
8
9
|
export {
|
|
9
10
|
GameField2 as GameField
|
|
10
11
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import {
|
|
5
5
|
GameInputZone2
|
|
6
|
-
} from "../../chunks/Accordion-
|
|
7
|
-
import"../../chunks/Accordion-
|
|
6
|
+
} from "../../chunks/Accordion-cah5j61y.js";
|
|
7
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
8
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
8
9
|
export {
|
|
9
10
|
GameInputZone2 as GameInputZone
|
|
10
11
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import {
|
|
5
5
|
GameMeasurementProbe2
|
|
6
|
-
} from "../../chunks/Accordion-
|
|
7
|
-
import"../../chunks/Accordion-
|
|
6
|
+
} from "../../chunks/Accordion-cah5j61y.js";
|
|
7
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
8
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
8
9
|
export {
|
|
9
10
|
GameMeasurementProbe2 as GameMeasurementProbe
|
|
10
11
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import {
|
|
5
5
|
GameOverlay2
|
|
6
|
-
} from "../../chunks/Accordion-
|
|
7
|
-
import"../../chunks/Accordion-
|
|
6
|
+
} from "../../chunks/Accordion-cah5j61y.js";
|
|
7
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
8
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
8
9
|
export {
|
|
9
10
|
GameOverlay2 as GameOverlay
|
|
10
11
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
4
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
5
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
5
6
|
import {
|
|
6
7
|
Gradient2
|
|
7
|
-
} from "../../chunks/Accordion-
|
|
8
|
+
} from "../../chunks/Accordion-zagrbkq1.js";
|
|
8
9
|
export {
|
|
9
10
|
Gradient2 as Gradient
|
|
10
11
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
4
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
5
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
5
6
|
import {
|
|
6
7
|
GradientRendererProvider2
|
|
7
|
-
} from "../../chunks/Accordion-
|
|
8
|
+
} from "../../chunks/Accordion-zagrbkq1.js";
|
|
8
9
|
export {
|
|
9
10
|
GradientRendererProvider2 as GradientRendererProvider
|
|
10
11
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import type { GraphNodeProps } from './GraphNode.types-0.js';
|
|
4
|
+
|
|
5
|
+
/*** Presents one generic node with composed content, optional ports and controlled interactions. */
|
|
6
|
+
export declare const GraphNode: React.MemoExoticComponent<(props: GraphNodeProps) => React.ReactElement | null>;
|
|
7
|
+
export type { GraphNodePoint, GraphNodePort, GraphNodeProps } from './GraphNode.types-0.js';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { InteractionPolicy } from '@ankhorage/surface/web';
|
|
2
|
+
|
|
3
|
+
import type { ZoraThemeId, ZoraThemeMode } from './GraphNode.dependency-1.js';
|
|
4
|
+
|
|
5
|
+
export interface ZoraBaseProps {
|
|
6
|
+
/**
|
|
7
|
+
* Overrides the active ZORA theme for this component and its subtree.
|
|
8
|
+
* If omitted, the nearest parent theme is inherited.
|
|
9
|
+
*
|
|
10
|
+
* Plan 2: theme registries are not available yet. Only the inherited theme id
|
|
11
|
+
* is valid; unknown ids throw in dev/test and warn+fallback in production.
|
|
12
|
+
*/
|
|
13
|
+
themeId?: ZoraThemeId;
|
|
14
|
+
/**
|
|
15
|
+
* Overrides the light/dark mode for this component and its subtree.
|
|
16
|
+
* If omitted, the nearest parent mode is inherited.
|
|
17
|
+
*/
|
|
18
|
+
mode?: ZoraThemeMode;
|
|
19
|
+
/** Inherits the nearest surface polarity unless explicitly inverted or reset to normal. */
|
|
20
|
+
inverted?: boolean;
|
|
21
|
+
testID?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Controls whether user interaction is enabled or suppressed.
|
|
24
|
+
* When omitted, the component behaves as enabled.
|
|
25
|
+
*/
|
|
26
|
+
interactionPolicy?: InteractionPolicy;
|
|
27
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
|
+
import"../../chunks/Accordion-e9xmwxzp.js";
|
|
5
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
6
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
7
|
+
import"../../chunks/Accordion-x1ze1wvk.js";
|
|
8
|
+
import"../../chunks/Accordion-fkftnxgw.js";
|
|
9
|
+
import"../../chunks/Accordion-5x4cv0kv.js";
|
|
10
|
+
import"../../chunks/Accordion-dnfgtbq3.js";
|
|
11
|
+
import"../../chunks/Accordion-hbwyj12m.js";
|
|
12
|
+
import"../../chunks/Accordion-a0hbjxg9.js";
|
|
13
|
+
import"../../chunks/Accordion-vbh3xqv6.js";
|
|
14
|
+
import"../../chunks/Accordion-2b3sd76b.js";
|
|
15
|
+
import {
|
|
16
|
+
GraphNode2
|
|
17
|
+
} from "../../chunks/Accordion-mkd3k28h.js";
|
|
18
|
+
export {
|
|
19
|
+
GraphNode2 as GraphNode
|
|
20
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
|
|
3
|
+
import type { ZoraBaseProps } from './GraphNode.dependency-0.js';
|
|
4
|
+
|
|
5
|
+
import type { IconProps } from './GraphNode.dependency-2.js';
|
|
6
|
+
|
|
7
|
+
/** A node-local point in unscaled pixels, measured from the node's top-left corner. */
|
|
8
|
+
export interface GraphNodePoint {
|
|
9
|
+
readonly x: number;
|
|
10
|
+
readonly y: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** An optional connection anchor presented by a GraphNode; connection rules belong to the caller. */
|
|
14
|
+
export interface GraphNodePort {
|
|
15
|
+
readonly id: string;
|
|
16
|
+
readonly direction: 'input' | 'output';
|
|
17
|
+
readonly label: string;
|
|
18
|
+
readonly disabled?: boolean;
|
|
19
|
+
readonly testID?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Generic, cross-platform node presentation shared by graph and canvas hosts. */
|
|
23
|
+
export interface GraphNodeProps extends ZoraBaseProps {
|
|
24
|
+
/** Optional default header title. Omit all header props to compose the entire card body. */
|
|
25
|
+
readonly title?: string;
|
|
26
|
+
readonly description?: string;
|
|
27
|
+
/** Leading icon source, rendered with the ZORA Icon. */
|
|
28
|
+
readonly icon?: IconProps;
|
|
29
|
+
/** Trailing caller-supplied badge content, rendered with the ZORA Badge. */
|
|
30
|
+
readonly badge?: React.ReactNode;
|
|
31
|
+
/** Arbitrary ZORA content composed beneath the title. */
|
|
32
|
+
readonly children?: React.ReactNode;
|
|
33
|
+
readonly ports?: readonly GraphNodePort[];
|
|
34
|
+
readonly selected?: boolean;
|
|
35
|
+
readonly disabled?: boolean;
|
|
36
|
+
readonly readOnly?: boolean;
|
|
37
|
+
/** Unscaled node width in pixels; defaults to 224. */
|
|
38
|
+
readonly width?: number;
|
|
39
|
+
/** Controlled press. Omit it, with `onMove`, to leave pointer handling to the host. */
|
|
40
|
+
readonly onPress?: () => void;
|
|
41
|
+
/** Controlled drag in screen-pixel deltas. Omit it to attach no gesture handlers. */
|
|
42
|
+
readonly onMove?: (delta: GraphNodePoint) => void;
|
|
43
|
+
readonly onPortPress?: (portId: string) => void;
|
|
44
|
+
/** Reports a port's anchor center in node-local pixels whenever layout changes. */
|
|
45
|
+
readonly onPortLayout?: (portId: string, anchor: GraphNodePoint) => void;
|
|
46
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import {
|
|
5
5
|
Grid2
|
|
6
|
-
} from "../../chunks/Accordion-
|
|
6
|
+
} from "../../chunks/Accordion-2kv6p7by.js";
|
|
7
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
7
8
|
export {
|
|
8
9
|
Grid2 as Grid
|
|
9
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import"../../chunks/Accordion-x1ze1wvk.js";
|
|
5
5
|
import {
|
|
6
6
|
GridLineOverlay2
|
|
7
|
-
} from "../../chunks/Accordion-
|
|
7
|
+
} from "../../chunks/Accordion-y6sg47rv.js";
|
|
8
8
|
export {
|
|
9
9
|
GridLineOverlay2 as GridLineOverlay
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import"../../chunks/Accordion-x1ze1wvk.js";
|
|
5
5
|
import {
|
|
6
6
|
GridRuler2
|
|
7
|
-
} from "../../chunks/Accordion-
|
|
7
|
+
} from "../../chunks/Accordion-y6sg47rv.js";
|
|
8
8
|
export {
|
|
9
9
|
GridRuler2 as GridRuler
|
|
10
10
|
};
|
|
@@ -3,5 +3,5 @@ import React from 'react';
|
|
|
3
3
|
import type { GridViewProps } from './GridView.types-0.js';
|
|
4
4
|
|
|
5
5
|
/*** Renders a controlled or uncontrolled, virtualized 2D world through the canonical grid viewport engine. */
|
|
6
|
-
export declare function GridView({ items, contentWidth, contentHeight, width, height, viewport: controlledViewport, defaultViewport, viewportConstraints, zoomLimits, zoom, overscanPixels, focusedItemId, revealPaddingPixels, interactionPolicy, onViewportChange, onVisibleItemIdsChange, renderItem, testID, viewportInteraction, }: GridViewProps): React.JSX.Element;
|
|
6
|
+
export declare function GridView({ items, contentWidth, contentHeight, width, height, viewport: controlledViewport, defaultViewport, viewportConstraints, zoomLimits, zoom, overscanPixels, focusedItemId, revealPaddingPixels, interactionPolicy, onViewportChange, onVisibleItemIdsChange, renderItem, testID, viewportInteraction, viewportControls, renderWorldLayer, }: GridViewProps): React.JSX.Element;
|
|
7
7
|
export type { GridViewProps } from './GridView.types-0.js';
|
|
@@ -4,6 +4,20 @@ import type React from 'react';
|
|
|
4
4
|
|
|
5
5
|
import type { ZoraBaseProps } from './GridView.dependency-0.js';
|
|
6
6
|
|
|
7
|
+
/** Pixel mapping handed to a world layer so it can draw in the same coordinates as the items. */
|
|
8
|
+
export interface GridWorldLayerContext {
|
|
9
|
+
/** Pixel position of world coordinate (0, 0) inside the layer. */
|
|
10
|
+
readonly origin: {
|
|
11
|
+
readonly x: number;
|
|
12
|
+
readonly y: number;
|
|
13
|
+
};
|
|
14
|
+
readonly pixelsPerUnitX: number;
|
|
15
|
+
readonly pixelsPerUnitY: number;
|
|
16
|
+
/** Pixel size of the scrollable layer. */
|
|
17
|
+
readonly width: number;
|
|
18
|
+
readonly height: number;
|
|
19
|
+
}
|
|
20
|
+
|
|
7
21
|
/** The renderer owns presentation only; world geometry comes from grid-view. */
|
|
8
22
|
export interface GridViewProps extends ZoraBaseProps {
|
|
9
23
|
items: readonly GridRectItem[];
|
|
@@ -31,6 +45,13 @@ export interface GridViewProps extends ZoraBaseProps {
|
|
|
31
45
|
revealPaddingPixels?: number;
|
|
32
46
|
/** Keeps the rendered viewport fixed while preserving interaction within rendered items. */
|
|
33
47
|
viewportInteraction?: 'enabled' | 'locked';
|
|
48
|
+
/** Shows or hides the built-in pan and zoom buttons while keeping scroll and pinch interaction. */
|
|
49
|
+
viewportControls?: 'visible' | 'hidden';
|
|
50
|
+
/**
|
|
51
|
+
* Renders content in world coordinates beneath the items, scrolling and zooming with them.
|
|
52
|
+
* The layer is not virtualized and does not receive touches outside its own children.
|
|
53
|
+
*/
|
|
54
|
+
renderWorldLayer?: (layer: GridWorldLayerContext) => React.ReactNode;
|
|
34
55
|
onViewportChange?: (viewport: GridViewport) => void;
|
|
35
56
|
onVisibleItemIdsChange?: (ids: readonly string[]) => void;
|
|
36
57
|
renderItem: (item: GridRectItem) => React.ReactNode;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import"../../chunks/Accordion-x1ze1wvk.js";
|
|
5
5
|
import"../../chunks/Accordion-fkftnxgw.js";
|
|
6
6
|
import {
|
|
7
7
|
Heading2
|
|
8
|
-
} from "../../chunks/Accordion-
|
|
8
|
+
} from "../../chunks/Accordion-5x4cv0kv.js";
|
|
9
9
|
export {
|
|
10
10
|
Heading2 as Heading
|
|
11
11
|
};
|
|
@@ -2,27 +2,28 @@
|
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
3
|
import {
|
|
4
4
|
withZoraThemeScope
|
|
5
|
-
} from "../../chunks/Accordion-
|
|
5
|
+
} from "../../chunks/Accordion-pagdkp07.js";
|
|
6
6
|
import"../../chunks/Accordion-x1ze1wvk.js";
|
|
7
7
|
import"../../chunks/Accordion-fkftnxgw.js";
|
|
8
8
|
import {
|
|
9
9
|
Button2
|
|
10
|
-
} from "../../chunks/Accordion-
|
|
10
|
+
} from "../../chunks/Accordion-vbh3xqv6.js";
|
|
11
11
|
import {
|
|
12
12
|
View2,
|
|
13
13
|
Grid2
|
|
14
|
-
} from "../../chunks/Accordion-
|
|
14
|
+
} from "../../chunks/Accordion-2kv6p7by.js";
|
|
15
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
15
16
|
import {
|
|
16
17
|
Heading2,
|
|
17
18
|
Text2
|
|
18
|
-
} from "../../chunks/Accordion-
|
|
19
|
+
} from "../../chunks/Accordion-5x4cv0kv.js";
|
|
19
20
|
import {
|
|
20
21
|
Card2
|
|
21
|
-
} from "../../chunks/Accordion-
|
|
22
|
-
import"../../chunks/Accordion-
|
|
23
|
-
import"../../chunks/Accordion-
|
|
24
|
-
import"../../chunks/Accordion-
|
|
25
|
-
import"../../chunks/Accordion-
|
|
22
|
+
} from "../../chunks/Accordion-dnfgtbq3.js";
|
|
23
|
+
import"../../chunks/Accordion-e9xmwxzp.js";
|
|
24
|
+
import"../../chunks/Accordion-hbwyj12m.js";
|
|
25
|
+
import"../../chunks/Accordion-a0hbjxg9.js";
|
|
26
|
+
import"../../chunks/Accordion-2b3sd76b.js";
|
|
26
27
|
|
|
27
28
|
// src/features/hero/adapters/inbound/Hero.tsx
|
|
28
29
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon2
|
|
6
|
-
} from "../../chunks/Accordion-
|
|
6
|
+
} from "../../chunks/Accordion-hbwyj12m.js";
|
|
7
7
|
export {
|
|
8
8
|
Icon2 as Icon
|
|
9
9
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import"../../chunks/Accordion-e8tapf5a.js";
|
|
3
|
-
import"../../chunks/Accordion-
|
|
3
|
+
import"../../chunks/Accordion-pagdkp07.js";
|
|
4
4
|
import"../../chunks/Accordion-x1ze1wvk.js";
|
|
5
5
|
import"../../chunks/Accordion-fkftnxgw.js";
|
|
6
6
|
import {
|
|
7
7
|
IconButton2
|
|
8
|
-
} from "../../chunks/Accordion-
|
|
9
|
-
import"../../chunks/Accordion-
|
|
8
|
+
} from "../../chunks/Accordion-vbh3xqv6.js";
|
|
9
|
+
import"../../chunks/Accordion-2kv6p7by.js";
|
|
10
|
+
import"../../chunks/Accordion-w8zke8fa.js";
|
|
10
11
|
export {
|
|
11
12
|
IconButton2 as IconButton
|
|
12
13
|
};
|