@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pagdkp07.js";
|
|
5
5
|
import {
|
|
6
6
|
TextInput2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-nhf8zjt4.js";
|
|
8
8
|
|
|
9
9
|
// src/features/form/search-input/adapters/inbound/SearchInput.tsx
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pagdkp07.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-2kv6p7by.js";
|
|
8
8
|
import {
|
|
9
9
|
Card2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-dnfgtbq3.js";
|
|
11
11
|
|
|
12
12
|
// src/features/toolbar/adapters/inbound/Toolbar.tsx
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
zoraDefaultTheme,
|
|
4
|
+
ZoraThemeRuntimeContext
|
|
5
|
+
} from "./Accordion-e8tapf5a.js";
|
|
6
|
+
import {
|
|
7
|
+
parseHexColorOrThrow
|
|
8
|
+
} from "./Accordion-fsdgssfq.js";
|
|
9
|
+
|
|
10
|
+
// src/features/theme/adapters/inbound/ZoraProvider.tsx
|
|
11
|
+
import { ResponsiveProvider, ThemeProvider, useTheme as useSurfaceTheme } from "@ankhorage/surface/web";
|
|
12
|
+
import React from "react";
|
|
13
|
+
|
|
14
|
+
// src/features/theme/application/use-cases/createZoraThemeConfig.ts
|
|
15
|
+
function createZoraThemeConfig(theme = zoraDefaultTheme) {
|
|
16
|
+
const primaryColor = parseHexColorOrThrow(theme.primaryColor);
|
|
17
|
+
return {
|
|
18
|
+
id: theme.id,
|
|
19
|
+
name: theme.name,
|
|
20
|
+
light: {
|
|
21
|
+
primaryColor,
|
|
22
|
+
harmony: theme.harmony
|
|
23
|
+
},
|
|
24
|
+
dark: {
|
|
25
|
+
primaryColor,
|
|
26
|
+
harmony: theme.harmony
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// src/features/theme/composition/ZoraRuntimeCapabilities.web.tsx
|
|
32
|
+
import { ToastProvider as SurfaceToastProvider } from "@ankhorage/surface/web";
|
|
33
|
+
import { jsx } from "react/jsx-runtime";
|
|
34
|
+
function ZoraRuntimeCapabilities({ children, toast }) {
|
|
35
|
+
if (!toast)
|
|
36
|
+
return children;
|
|
37
|
+
return /* @__PURE__ */ jsx(SurfaceToastProvider, {
|
|
38
|
+
...toast === true ? {} : toast,
|
|
39
|
+
children
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// src/features/theme/adapters/inbound/ZoraProvider.tsx
|
|
44
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
45
|
+
function ZoraProvider2({
|
|
46
|
+
bottomSheet = false,
|
|
47
|
+
children,
|
|
48
|
+
theme = zoraDefaultTheme,
|
|
49
|
+
themeConfig,
|
|
50
|
+
initialMode = "light",
|
|
51
|
+
mode,
|
|
52
|
+
toast = false
|
|
53
|
+
}) {
|
|
54
|
+
const resolvedConfig = React.useMemo(() => themeConfig ?? createZoraThemeConfig(theme), [theme, themeConfig]);
|
|
55
|
+
const runtimeValue = React.useMemo(() => ({ themeId: resolvedConfig.id }), [resolvedConfig.id]);
|
|
56
|
+
return /* @__PURE__ */ jsx2(ZoraThemeRuntimeContext, {
|
|
57
|
+
value: runtimeValue,
|
|
58
|
+
children: /* @__PURE__ */ jsx2(ResponsiveProvider, {
|
|
59
|
+
children: /* @__PURE__ */ jsx2(ThemeProvider, {
|
|
60
|
+
initialConfig: resolvedConfig,
|
|
61
|
+
initialMode: mode ?? initialMode,
|
|
62
|
+
children: /* @__PURE__ */ jsx2(ZoraProviderMode, {
|
|
63
|
+
mode,
|
|
64
|
+
children: /* @__PURE__ */ jsx2(ZoraRuntimeCapabilities, {
|
|
65
|
+
bottomSheet,
|
|
66
|
+
toast,
|
|
67
|
+
children
|
|
68
|
+
})
|
|
69
|
+
})
|
|
70
|
+
})
|
|
71
|
+
})
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
function ZoraProviderMode({ children, mode }) {
|
|
75
|
+
const runtime = useSurfaceTheme();
|
|
76
|
+
React.useEffect(() => {
|
|
77
|
+
if (mode !== undefined && runtime.mode !== mode)
|
|
78
|
+
runtime.setMode(mode);
|
|
79
|
+
}, [mode, runtime]);
|
|
80
|
+
return children;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export { ZoraProvider2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pagdkp07.js";
|
|
5
5
|
import {
|
|
6
6
|
Button2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-vbh3xqv6.js";
|
|
8
8
|
import {
|
|
9
9
|
View2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-2kv6p7by.js";
|
|
11
11
|
import {
|
|
12
12
|
GridView2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-snk6nggm.js";
|
|
14
14
|
import {
|
|
15
15
|
TimeGrid2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-91qf4q27.js";
|
|
17
17
|
import {
|
|
18
18
|
Text2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-5x4cv0kv.js";
|
|
20
20
|
|
|
21
21
|
// src/features/calendar/adapters/inbound/Calendar.tsx
|
|
22
22
|
import React from "react";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use client';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pagdkp07.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-2kv6p7by.js";
|
|
8
8
|
import {
|
|
9
9
|
useZoraTheme2
|
|
10
10
|
} from "./Accordion-x1ze1wvk.js";
|
|
11
11
|
import {
|
|
12
12
|
Text2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-5x4cv0kv.js";
|
|
14
14
|
import {
|
|
15
15
|
Avatar2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-a0hbjxg9.js";
|
|
17
17
|
import {
|
|
18
18
|
Badge2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-e9xmwxzp.js";
|
|
20
20
|
|
|
21
21
|
// src/features/chat/adapters/inbound/ChatListItem.tsx
|
|
22
22
|
import { Pressable } from "@ankhorage/surface/web";
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
withZoraThemeScope
|
|
4
|
+
} from "./Accordion-pagdkp07.js";
|
|
5
|
+
import {
|
|
6
|
+
Badge2
|
|
7
|
+
} from "./Accordion-e9xmwxzp.js";
|
|
8
|
+
import {
|
|
9
|
+
useScrollGestureLock
|
|
10
|
+
} from "./Accordion-w8zke8fa.js";
|
|
11
|
+
import {
|
|
12
|
+
useZoraTheme2
|
|
13
|
+
} from "./Accordion-x1ze1wvk.js";
|
|
14
|
+
import {
|
|
15
|
+
Text2
|
|
16
|
+
} from "./Accordion-5x4cv0kv.js";
|
|
17
|
+
import {
|
|
18
|
+
Card2
|
|
19
|
+
} from "./Accordion-dnfgtbq3.js";
|
|
20
|
+
import {
|
|
21
|
+
Icon2
|
|
22
|
+
} from "./Accordion-hbwyj12m.js";
|
|
23
|
+
|
|
24
|
+
// src/features/graph-node/getGraphNodePortGeometry.ts
|
|
25
|
+
var DEFAULT_GRAPH_NODE_WIDTH = 224;
|
|
26
|
+
var DEFAULT_PORTS_TOP = 32;
|
|
27
|
+
var PORT_INSET = 4;
|
|
28
|
+
var PORT_SIZE = 44;
|
|
29
|
+
function getGraphNodePortGeometry(input) {
|
|
30
|
+
const width = input.width ?? DEFAULT_GRAPH_NODE_WIDTH;
|
|
31
|
+
const portsTop = input.portsTop ?? DEFAULT_PORTS_TOP;
|
|
32
|
+
return {
|
|
33
|
+
height: portsTop + input.ports.length * PORT_SIZE,
|
|
34
|
+
ports: input.ports.map((port, index) => ({
|
|
35
|
+
anchor: {
|
|
36
|
+
x: port.direction === "input" ? PORT_INSET + PORT_SIZE / 2 : width - PORT_INSET - PORT_SIZE / 2,
|
|
37
|
+
y: portsTop + index * PORT_SIZE + PORT_SIZE / 2
|
|
38
|
+
},
|
|
39
|
+
id: port.id
|
|
40
|
+
})),
|
|
41
|
+
width
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// src/features/graph-node/adapters/inbound/GraphNode.tsx
|
|
46
|
+
import React from "react";
|
|
47
|
+
import { Pressable, View } from "react-native-web";
|
|
48
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
49
|
+
var PORT_INSET2 = 4;
|
|
50
|
+
var PORT_SIZE2 = 44;
|
|
51
|
+
var DRAG_THRESHOLD = 2;
|
|
52
|
+
var GraphNode2 = React.memo(withZoraThemeScope(GraphNodeInner));
|
|
53
|
+
function GraphNodeInner(props) {
|
|
54
|
+
const { onPortLayout, ports = [] } = props;
|
|
55
|
+
const { theme } = useZoraTheme2();
|
|
56
|
+
const drag = useNodeDrag(props);
|
|
57
|
+
const portsOffsetY = React.useRef(0);
|
|
58
|
+
const geometry = getGraphNodePortGeometry({ ports, width: props.width });
|
|
59
|
+
const reportPortAnchors = React.useCallback(() => {
|
|
60
|
+
if (!onPortLayout)
|
|
61
|
+
return;
|
|
62
|
+
getGraphNodePortGeometry({
|
|
63
|
+
ports,
|
|
64
|
+
portsTop: portsOffsetY.current,
|
|
65
|
+
width: props.width
|
|
66
|
+
}).ports.forEach((port) => onPortLayout(port.id, port.anchor));
|
|
67
|
+
}, [onPortLayout, ports, props.width]);
|
|
68
|
+
React.useLayoutEffect(reportPortAnchors, [reportPortAnchors]);
|
|
69
|
+
const unavailable = props.readOnly === true || props.disabled === true;
|
|
70
|
+
const hasDefaultHeader = props.title !== undefined || props.description !== undefined || props.icon !== undefined || props.badge !== undefined;
|
|
71
|
+
return /* @__PURE__ */ jsxs(View, {
|
|
72
|
+
style: {
|
|
73
|
+
backgroundColor: theme.semantics.surface.default,
|
|
74
|
+
borderRadius: 12,
|
|
75
|
+
elevation: props.selected ? 3 : 1,
|
|
76
|
+
shadowColor: theme.semantics.neutral.text,
|
|
77
|
+
shadowOpacity: props.selected ? 0.16 : 0.08,
|
|
78
|
+
shadowRadius: props.selected ? 10 : 6,
|
|
79
|
+
width: geometry.width
|
|
80
|
+
},
|
|
81
|
+
testID: props.testID ? `${props.testID}-frame` : undefined,
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ jsx(Card2, {
|
|
84
|
+
compact: true,
|
|
85
|
+
padding: "xs",
|
|
86
|
+
radius: "m",
|
|
87
|
+
style: { borderWidth: 0, elevation: 0, shadowOpacity: 0 },
|
|
88
|
+
children: /* @__PURE__ */ jsxs(View, {
|
|
89
|
+
accessible: false,
|
|
90
|
+
collapsable: false,
|
|
91
|
+
...drag.handlers,
|
|
92
|
+
children: [
|
|
93
|
+
hasDefaultHeader ? /* @__PURE__ */ jsxs(Pressable, {
|
|
94
|
+
"aria-selected": props.selected === true,
|
|
95
|
+
accessibilityHint: props.onMove ? "Select this node. Drag to move it." : undefined,
|
|
96
|
+
accessibilityLabel: props.title,
|
|
97
|
+
accessibilityRole: "button",
|
|
98
|
+
accessibilityState: { disabled: unavailable, selected: props.selected === true },
|
|
99
|
+
disabled: props.onPress === undefined || unavailable,
|
|
100
|
+
style: { alignItems: "flex-start", flexDirection: "row", gap: 8 },
|
|
101
|
+
testID: props.testID,
|
|
102
|
+
onPress: drag.press,
|
|
103
|
+
children: [
|
|
104
|
+
props.icon ? /* @__PURE__ */ jsx(View, {
|
|
105
|
+
accessible: false,
|
|
106
|
+
style: {
|
|
107
|
+
alignItems: "center",
|
|
108
|
+
backgroundColor: theme.semantics.brand.softBg,
|
|
109
|
+
borderRadius: 10,
|
|
110
|
+
height: 36,
|
|
111
|
+
justifyContent: "center",
|
|
112
|
+
width: 36
|
|
113
|
+
},
|
|
114
|
+
children: /* @__PURE__ */ jsx(Icon2, {
|
|
115
|
+
color: theme.semantics.brand.onSoftText,
|
|
116
|
+
size: 20,
|
|
117
|
+
...props.icon
|
|
118
|
+
})
|
|
119
|
+
}) : null,
|
|
120
|
+
/* @__PURE__ */ jsxs(View, {
|
|
121
|
+
style: { flex: 1, minWidth: 0 },
|
|
122
|
+
children: [
|
|
123
|
+
props.title ? /* @__PURE__ */ jsx(Text2, {
|
|
124
|
+
ellipsizeMode: "tail",
|
|
125
|
+
numberOfLines: 1,
|
|
126
|
+
variant: "body",
|
|
127
|
+
weight: "bold",
|
|
128
|
+
children: props.title
|
|
129
|
+
}) : null,
|
|
130
|
+
props.description ? /* @__PURE__ */ jsx(Text2, {
|
|
131
|
+
ellipsizeMode: "tail",
|
|
132
|
+
emphasis: "muted",
|
|
133
|
+
numberOfLines: 2,
|
|
134
|
+
variant: "bodySmall",
|
|
135
|
+
children: props.description
|
|
136
|
+
}) : null
|
|
137
|
+
]
|
|
138
|
+
}),
|
|
139
|
+
props.badge ? /* @__PURE__ */ jsx(Badge2, {
|
|
140
|
+
size: "s",
|
|
141
|
+
children: props.badge
|
|
142
|
+
}) : null
|
|
143
|
+
]
|
|
144
|
+
}) : null,
|
|
145
|
+
props.children
|
|
146
|
+
]
|
|
147
|
+
})
|
|
148
|
+
}),
|
|
149
|
+
ports.length > 0 ? /* @__PURE__ */ jsx(View, {
|
|
150
|
+
style: { paddingHorizontal: PORT_INSET2 },
|
|
151
|
+
onLayout: (event) => {
|
|
152
|
+
portsOffsetY.current = event.nativeEvent.layout.y;
|
|
153
|
+
reportPortAnchors();
|
|
154
|
+
},
|
|
155
|
+
children: ports.map((port) => {
|
|
156
|
+
const disabled = unavailable || port.disabled === true;
|
|
157
|
+
return /* @__PURE__ */ jsx(View, {
|
|
158
|
+
style: {
|
|
159
|
+
alignItems: "center",
|
|
160
|
+
flexDirection: "row",
|
|
161
|
+
height: PORT_SIZE2,
|
|
162
|
+
justifyContent: port.direction === "input" ? "flex-start" : "flex-end"
|
|
163
|
+
},
|
|
164
|
+
children: /* @__PURE__ */ jsx(Pressable, {
|
|
165
|
+
accessibilityHint: `Connect ${port.direction} port`,
|
|
166
|
+
accessibilityLabel: `${props.title}: ${port.label}`,
|
|
167
|
+
accessibilityRole: "button",
|
|
168
|
+
accessibilityState: { disabled },
|
|
169
|
+
disabled: disabled || props.onPortPress === undefined,
|
|
170
|
+
style: {
|
|
171
|
+
alignItems: "center",
|
|
172
|
+
height: PORT_SIZE2,
|
|
173
|
+
justifyContent: "center",
|
|
174
|
+
width: PORT_SIZE2
|
|
175
|
+
},
|
|
176
|
+
testID: port.testID,
|
|
177
|
+
onPress: () => props.onPortPress?.(port.id),
|
|
178
|
+
children: /* @__PURE__ */ jsx(View, {
|
|
179
|
+
accessible: false,
|
|
180
|
+
style: {
|
|
181
|
+
backgroundColor: port.direction === "input" ? theme.semantics.surface.default : theme.semantics.brand.base,
|
|
182
|
+
borderColor: port.direction === "input" ? theme.semantics.brand.outline : theme.semantics.brand.base,
|
|
183
|
+
borderRadius: 6,
|
|
184
|
+
borderWidth: 2,
|
|
185
|
+
height: 12,
|
|
186
|
+
width: 12
|
|
187
|
+
}
|
|
188
|
+
})
|
|
189
|
+
})
|
|
190
|
+
}, port.id);
|
|
191
|
+
})
|
|
192
|
+
}) : null,
|
|
193
|
+
/* @__PURE__ */ jsx(View, {
|
|
194
|
+
pointerEvents: "none",
|
|
195
|
+
style: {
|
|
196
|
+
borderColor: props.selected ? theme.semantics.selection.border : theme.semantics.neutral.divider,
|
|
197
|
+
borderRadius: 12,
|
|
198
|
+
borderWidth: props.selected ? 2 : 1,
|
|
199
|
+
bottom: 0,
|
|
200
|
+
left: 0,
|
|
201
|
+
position: "absolute",
|
|
202
|
+
right: 0,
|
|
203
|
+
top: 0
|
|
204
|
+
}
|
|
205
|
+
})
|
|
206
|
+
]
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
function useNodeDrag(props) {
|
|
210
|
+
const scrollLock = useScrollGestureLock();
|
|
211
|
+
const propsRef = React.useRef(props);
|
|
212
|
+
React.useLayoutEffect(() => {
|
|
213
|
+
propsRef.current = props;
|
|
214
|
+
});
|
|
215
|
+
const cancelled = React.useRef(false);
|
|
216
|
+
const moved = React.useRef(false);
|
|
217
|
+
const handledByPointer = React.useRef(false);
|
|
218
|
+
const releaseScrollLock = React.useRef(undefined);
|
|
219
|
+
const start = React.useRef(null);
|
|
220
|
+
const interactive = props.onMove !== undefined;
|
|
221
|
+
const handlers = interactive ? {
|
|
222
|
+
onResponderGrant: (event) => {
|
|
223
|
+
releaseScrollLock.current = scrollLock.acquire();
|
|
224
|
+
cancelled.current = false;
|
|
225
|
+
moved.current = false;
|
|
226
|
+
start.current = { x: event.nativeEvent.pageX, y: event.nativeEvent.pageY };
|
|
227
|
+
},
|
|
228
|
+
onResponderMove: (event) => {
|
|
229
|
+
const origin = start.current;
|
|
230
|
+
const { onMove, readOnly } = propsRef.current;
|
|
231
|
+
if (!origin || cancelled.current || readOnly)
|
|
232
|
+
return;
|
|
233
|
+
const delta = {
|
|
234
|
+
x: event.nativeEvent.pageX - origin.x,
|
|
235
|
+
y: event.nativeEvent.pageY - origin.y
|
|
236
|
+
};
|
|
237
|
+
if (Math.abs(delta.x) < DRAG_THRESHOLD && Math.abs(delta.y) < DRAG_THRESHOLD)
|
|
238
|
+
return;
|
|
239
|
+
moved.current = true;
|
|
240
|
+
start.current = { x: event.nativeEvent.pageX, y: event.nativeEvent.pageY };
|
|
241
|
+
onMove?.(delta);
|
|
242
|
+
},
|
|
243
|
+
onResponderRelease: () => {
|
|
244
|
+
releaseScrollLock.current?.();
|
|
245
|
+
releaseScrollLock.current = undefined;
|
|
246
|
+
start.current = null;
|
|
247
|
+
handledByPointer.current = true;
|
|
248
|
+
const { onPress, readOnly } = propsRef.current;
|
|
249
|
+
if (cancelled.current || readOnly || moved.current)
|
|
250
|
+
return;
|
|
251
|
+
onPress?.();
|
|
252
|
+
},
|
|
253
|
+
onResponderTerminate: () => {
|
|
254
|
+
releaseScrollLock.current?.();
|
|
255
|
+
releaseScrollLock.current = undefined;
|
|
256
|
+
cancelled.current = true;
|
|
257
|
+
start.current = null;
|
|
258
|
+
},
|
|
259
|
+
onResponderTerminationRequest: () => false,
|
|
260
|
+
onStartShouldSetResponderCapture: () => !propsRef.current.readOnly && !propsRef.current.disabled
|
|
261
|
+
} : undefined;
|
|
262
|
+
React.useEffect(() => () => {
|
|
263
|
+
releaseScrollLock.current?.();
|
|
264
|
+
releaseScrollLock.current = undefined;
|
|
265
|
+
}, []);
|
|
266
|
+
const press = () => {
|
|
267
|
+
if (handledByPointer.current) {
|
|
268
|
+
handledByPointer.current = false;
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
propsRef.current.onPress?.();
|
|
272
|
+
};
|
|
273
|
+
return { handlers, press };
|
|
274
|
+
}
|
|
275
|
+
export { getGraphNodePortGeometry, GraphNode2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pagdkp07.js";
|
|
5
5
|
import {
|
|
6
6
|
useZoraTheme2
|
|
7
7
|
} from "./Accordion-x1ze1wvk.js";
|
|
8
8
|
import {
|
|
9
9
|
IconButton2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-vbh3xqv6.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveIconSize
|
|
13
13
|
} from "./Accordion-961ncx4e.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pagdkp07.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-2kv6p7by.js";
|
|
8
8
|
import {
|
|
9
9
|
useZoraThemeRecipe,
|
|
10
10
|
ZORA_COLORS
|
|
11
11
|
} from "./Accordion-fkftnxgw.js";
|
|
12
12
|
import {
|
|
13
13
|
Text2
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-5x4cv0kv.js";
|
|
15
15
|
import {
|
|
16
16
|
Icon2
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-hbwyj12m.js";
|
|
18
18
|
|
|
19
19
|
// src/features/form/radio/adapters/inbound/Radio.tsx
|
|
20
20
|
import { Radio as SurfaceRadio } from "@ankhorage/surface/web";
|
|
@@ -29,7 +29,7 @@ function resolveZoraScopedThemeId({
|
|
|
29
29
|
|
|
30
30
|
// src/features/theme/adapters/inbound/ZoraThemeScope.tsx
|
|
31
31
|
import { jsx } from "react/jsx-runtime";
|
|
32
|
-
function
|
|
32
|
+
function ZoraThemeScope2({ children, themeId, mode, inverted }) {
|
|
33
33
|
if (mode === undefined && themeId === undefined && inverted === undefined)
|
|
34
34
|
return children;
|
|
35
35
|
return /* @__PURE__ */ jsx(ZoraThemeScopeInner, {
|
|
@@ -68,7 +68,7 @@ function withZoraThemeScope(Component) {
|
|
|
68
68
|
if (props.mode === undefined && props.themeId === undefined && props.inverted === undefined) {
|
|
69
69
|
return React2.createElement(Component, componentProps);
|
|
70
70
|
}
|
|
71
|
-
return /* @__PURE__ */ jsx2(
|
|
71
|
+
return /* @__PURE__ */ jsx2(ZoraThemeScope2, {
|
|
72
72
|
mode: props.mode,
|
|
73
73
|
themeId: props.themeId,
|
|
74
74
|
inverted: props.inverted,
|
|
@@ -80,4 +80,4 @@ function withZoraThemeScope(Component) {
|
|
|
80
80
|
return Wrapped;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { withZoraThemeScope };
|
|
83
|
+
export { ZoraThemeScope2, withZoraThemeScope };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pagdkp07.js";
|
|
5
5
|
|
|
6
6
|
// src/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.tsx
|
|
7
7
|
import { KeyboardAvoidingView as SurfaceKeyboardAvoidingView } from "@ankhorage/surface/web";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pagdkp07.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-2kv6p7by.js";
|
|
8
8
|
import {
|
|
9
9
|
Heading2,
|
|
10
10
|
Text2
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-5x4cv0kv.js";
|
|
12
12
|
|
|
13
13
|
// src/features/section/adapters/inbound/SectionHeader.tsx
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./Accordion-e8tapf5a.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-pagdkp07.js";
|
|
8
8
|
import {
|
|
9
9
|
View2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-2kv6p7by.js";
|
|
11
11
|
import {
|
|
12
12
|
useZoraTheme2
|
|
13
13
|
} from "./Accordion-x1ze1wvk.js";
|