@ankhorage/zora 23.2.5 → 23.4.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 +12 -0
- package/README.md +1 -6
- package/dist/capabilities/index.d.ts +75 -0
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/index.js +62 -0
- package/dist/capabilities/index.js.map +1 -0
- package/dist/cli/index.d.ts +74 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +4 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/constants/authoring.d.ts +8 -0
- package/dist/constants/authoring.d.ts.map +1 -1
- package/dist/constants/authoring.js +6 -0
- package/dist/constants/authoring.js.map +1 -1
- package/dist/features/app-bar/appBarMeta.d.ts +10 -1
- package/dist/features/app-bar/appBarMeta.d.ts.map +1 -1
- package/dist/features/app-bar/appBarMeta.js +2 -1
- package/dist/features/app-bar/appBarMeta.js.map +1 -1
- package/dist/features/app-header/adapters/inbound/AppHeader.d.ts +5 -0
- package/dist/features/app-header/adapters/inbound/AppHeader.d.ts.map +1 -0
- package/dist/features/app-header/adapters/inbound/AppHeader.js +7 -0
- package/dist/features/app-header/adapters/inbound/AppHeader.js.map +1 -0
- package/dist/features/app-header/appHeaderMeta.d.ts +18 -0
- package/dist/features/app-header/appHeaderMeta.d.ts.map +1 -0
- package/dist/features/app-header/appHeaderMeta.js +12 -0
- package/dist/features/app-header/appHeaderMeta.js.map +1 -0
- package/dist/features/app-header/public.d.ts +3 -0
- package/dist/features/app-header/public.d.ts.map +1 -0
- package/dist/features/app-header/public.js +2 -0
- package/dist/features/app-header/public.js.map +1 -0
- package/dist/features/game/adapters/inbound/Game.d.ts +1 -1
- package/dist/features/game/adapters/inbound/Game.d.ts.map +1 -1
- package/dist/features/game/adapters/inbound/Game.js +4 -1
- package/dist/features/game/adapters/inbound/Game.js.map +1 -1
- package/dist/features/game/adapters/inbound/GameEntity.d.ts +1 -1
- package/dist/features/game/adapters/inbound/GameEntity.d.ts.map +1 -1
- package/dist/features/game/adapters/inbound/GameEntity.js +4 -1
- package/dist/features/game/adapters/inbound/GameEntity.js.map +1 -1
- package/dist/features/game/adapters/inbound/GameField.d.ts +1 -1
- package/dist/features/game/adapters/inbound/GameField.d.ts.map +1 -1
- package/dist/features/game/adapters/inbound/GameField.js +4 -1
- package/dist/features/game/adapters/inbound/GameField.js.map +1 -1
- package/dist/features/game/adapters/inbound/GameInputZone.d.ts +1 -1
- package/dist/features/game/adapters/inbound/GameInputZone.d.ts.map +1 -1
- package/dist/features/game/adapters/inbound/GameInputZone.js +4 -1
- package/dist/features/game/adapters/inbound/GameInputZone.js.map +1 -1
- package/dist/features/game/adapters/inbound/GameMeasurementProbe.d.ts +2 -1
- package/dist/features/game/adapters/inbound/GameMeasurementProbe.d.ts.map +1 -1
- package/dist/features/game/adapters/inbound/GameMeasurementProbe.js +4 -1
- package/dist/features/game/adapters/inbound/GameMeasurementProbe.js.map +1 -1
- package/dist/features/game/adapters/inbound/GameOverlay.d.ts +1 -1
- package/dist/features/game/adapters/inbound/GameOverlay.d.ts.map +1 -1
- package/dist/features/game/adapters/inbound/GameOverlay.js +4 -1
- package/dist/features/game/adapters/inbound/GameOverlay.js.map +1 -1
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts.map +1 -1
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +2 -0
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -1
- package/dist/features/registry/bindableComponentMeta.d.ts +415 -327
- package/dist/features/registry/bindableComponentMeta.d.ts.map +1 -1
- package/dist/features/registry/bindableComponentMeta.js +12 -0
- package/dist/features/registry/bindableComponentMeta.js.map +1 -1
- package/dist/features/registry/componentMeta.d.ts.map +1 -1
- package/dist/features/registry/componentMeta.js +2 -0
- package/dist/features/registry/componentMeta.js.map +1 -1
- package/dist/features/registry/finalizeFeatureMetadata.d.ts.map +1 -1
- package/dist/features/registry/finalizeFeatureMetadata.js +5 -4
- package/dist/features/registry/finalizeFeatureMetadata.js.map +1 -1
- package/dist/features/selection/adapters/inbound/SelectableItem.d.ts +1 -1
- package/dist/features/selection/adapters/inbound/SelectableItem.d.ts.map +1 -1
- package/dist/features/selection/adapters/inbound/SelectableItem.js +4 -1
- package/dist/features/selection/adapters/inbound/SelectableItem.js.map +1 -1
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts +2 -1
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts.map +1 -1
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.js +5 -1
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.js.map +1 -1
- package/dist/features/theme/adapters/inbound/ZoraThemeScope.d.ts +2 -1
- package/dist/features/theme/adapters/inbound/ZoraThemeScope.d.ts.map +1 -1
- package/dist/features/theme/adapters/inbound/ZoraThemeScope.js +7 -5
- package/dist/features/theme/adapters/inbound/ZoraThemeScope.js.map +1 -1
- package/dist/features/theme/adapters/inbound/withZoraThemeScope.d.ts +1 -0
- package/dist/features/theme/adapters/inbound/withZoraThemeScope.d.ts.map +1 -1
- package/dist/features/theme/adapters/inbound/withZoraThemeScope.js +9 -4
- package/dist/features/theme/adapters/inbound/withZoraThemeScope.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types/app-header.d.ts +3 -0
- package/dist/types/app-header.d.ts.map +1 -0
- package/dist/types/app-header.js +2 -0
- package/dist/types/app-header.js.map +1 -0
- package/dist/types/base.d.ts +2 -0
- package/dist/types/base.d.ts.map +1 -1
- package/dist/types/base.js.map +1 -1
- package/dist/types/gamePresentation.d.ts +6 -6
- package/dist/types/gamePresentation.d.ts.map +1 -1
- package/dist/types/gamePresentation.js.map +1 -1
- package/dist/types/selection.d.ts +2 -1
- package/dist/types/selection.d.ts.map +1 -1
- package/dist/types/selection.js.map +1 -1
- package/dist/types/theme-mode-toggle.d.ts +2 -1
- package/dist/types/theme-mode-toggle.d.ts.map +1 -1
- package/dist/types/theme-mode-toggle.js.map +1 -1
- package/package.json +103 -7
- package/src/capabilities/index.test.ts +50 -0
- package/src/capabilities/index.ts +63 -0
- package/src/cli/index.test.ts +10 -1
- package/src/cli/index.ts +7 -14
- package/src/constants/authoring.ts +7 -0
- package/src/features/app-bar/appBarMeta.ts +2 -1
- package/src/features/app-header/adapters/inbound/AppHeader.tsx +9 -0
- package/src/features/app-header/appHeaderMeta.ts +13 -0
- package/src/features/app-header/public.ts +2 -0
- package/src/features/game/adapters/inbound/Game.tsx +5 -1
- package/src/features/game/adapters/inbound/GameEntity.tsx +5 -1
- package/src/features/game/adapters/inbound/GameField.tsx +5 -1
- package/src/features/game/adapters/inbound/GameInputZone.tsx +5 -1
- package/src/features/game/adapters/inbound/GameMeasurementProbe.tsx +5 -1
- package/src/features/game/adapters/inbound/GameOverlay.tsx +5 -1
- package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +2 -0
- package/src/features/registry/authoringMeta.test.ts +11 -0
- package/src/features/registry/bindableComponentMeta.ts +12 -0
- package/src/features/registry/componentMeta.ts +2 -0
- package/src/features/registry/finalizeFeatureMetadata.ts +7 -6
- package/src/features/registry/registry.test.ts +1 -0
- package/src/features/selection/adapters/inbound/SelectableItem.tsx +5 -1
- package/src/features/theme/adapters/inbound/ThemeModeToggle.tsx +6 -1
- package/src/features/theme/adapters/inbound/ZoraThemeScope.tsx +12 -5
- package/src/features/theme/adapters/inbound/withZoraThemeScope.tsx +9 -4
- package/src/features/theme/themeConfigScope.test.ts +1 -1
- package/src/features/theme/themeScopeStructure.test.ts +6 -1
- package/src/index.ts +1 -0
- package/src/invertedThemeAcceptance.test.tsx +177 -0
- package/src/structureOwnership.test.ts +1 -1
- package/src/types/app-header.ts +3 -0
- package/src/types/base.ts +3 -0
- package/src/types/gamePresentation.ts +7 -6
- package/src/types/selection.ts +3 -1
- package/src/types/theme-mode-toggle.ts +3 -4
- package/web-dist/chunks/{Accordion-c3yfjhex.js → Accordion-0047zyx7.js} +4 -4
- package/web-dist/chunks/{Accordion-vq198z68.js → Accordion-0yhkg017.js} +9 -9
- package/web-dist/chunks/{Accordion-hztfb9ex.js → Accordion-0yvepteg.js} +5 -5
- package/web-dist/chunks/{Accordion-r1geqzsp.js → Accordion-1e1nfhtc.js} +5 -5
- package/web-dist/chunks/{Accordion-vc8pv1jf.js → Accordion-1xpq9bxk.js} +7 -7
- package/web-dist/chunks/{Accordion-11xym8p8.js → Accordion-2dqpjya2.js} +7 -7
- package/web-dist/chunks/{Accordion-g69czys5.js → Accordion-37n4bt3g.js} +2 -2
- package/web-dist/chunks/{Accordion-0f748ad5.js → Accordion-3m6de80j.js} +1 -1
- package/web-dist/chunks/{Accordion-jynbc7d0.js → Accordion-693gvpde.js} +3 -3
- package/web-dist/chunks/{Accordion-een6jq8f.js → Accordion-6xrse5my.js} +1 -1
- package/web-dist/chunks/{Accordion-904ncmad.js → Accordion-6ytrt7xj.js} +5 -5
- package/web-dist/chunks/{Accordion-jfjery84.js → Accordion-70g7n6tk.js} +8 -8
- package/web-dist/chunks/{Accordion-n7hckxte.js → Accordion-73x0gt11.js} +6 -6
- package/web-dist/chunks/{Accordion-7cgv14wd.js → Accordion-7y9wt946.js} +2 -2
- package/web-dist/chunks/{Accordion-scacsnhj.js → Accordion-8bxy3g7a.js} +3 -3
- package/web-dist/chunks/{Accordion-6h4zc69v.js → Accordion-8fne0gf9.js} +4 -4
- package/web-dist/chunks/{Accordion-xak1mcaf.js → Accordion-8z7naxj2.js} +18 -13
- package/web-dist/chunks/{Accordion-whhnrz92.js → Accordion-a1ervhyg.js} +13 -13
- package/web-dist/chunks/{Accordion-tp2gn95w.js → Accordion-adc7k14q.js} +37 -13
- package/web-dist/chunks/{Accordion-vtndpbzt.js → Accordion-ancjf7q8.js} +7 -3
- package/web-dist/chunks/{Accordion-7ccpdvga.js → Accordion-axxgq453.js} +7 -7
- package/web-dist/chunks/{Accordion-bn954rjh.js → Accordion-basd2gyf.js} +2 -2
- package/web-dist/chunks/{Accordion-z4d0pncs.js → Accordion-bz2dzbad.js} +9 -9
- package/web-dist/chunks/{Accordion-pt0f1v0m.js → Accordion-ct805sm7.js} +2 -2
- package/web-dist/chunks/{Accordion-katngqxf.js → Accordion-d24n7srd.js} +4 -4
- package/web-dist/chunks/{Accordion-a09gnx45.js → Accordion-dbxpv5eq.js} +3 -3
- package/web-dist/chunks/{Accordion-8zerapbc.js → Accordion-e2kr1z3g.js} +5 -5
- package/web-dist/chunks/{Accordion-8rx1stgv.js → Accordion-ebw6xj6x.js} +5 -7
- package/web-dist/chunks/{Accordion-090whwtv.js → Accordion-ekjwm5dw.js} +17 -8
- package/web-dist/chunks/{Accordion-ej4p6ae3.js → Accordion-g2d4fskg.js} +2 -2
- package/web-dist/chunks/{Accordion-65kvpq6z.js → Accordion-gkx1kszz.js} +1 -1
- package/web-dist/chunks/{Accordion-40sj6k87.js → Accordion-k6dg8zd2.js} +3 -3
- package/web-dist/chunks/{Accordion-xdgpa7kf.js → Accordion-kxa15n19.js} +1 -1
- package/web-dist/chunks/{Accordion-ps286k56.js → Accordion-m4brcz8v.js} +5 -5
- package/web-dist/chunks/{Accordion-hdnpzyk9.js → Accordion-mbqtk7y0.js} +1 -1
- package/web-dist/chunks/{Accordion-sh0sk3cz.js → Accordion-nkd7nhyx.js} +5 -5
- package/web-dist/chunks/{Accordion-qqsxfq5h.js → Accordion-p0fh69qq.js} +6 -6
- package/web-dist/chunks/{Accordion-02d3sw7t.js → Accordion-ph15h010.js} +10 -10
- package/web-dist/chunks/{Accordion-a60dhqsv.js → Accordion-pvz3r99n.js} +38 -1
- package/web-dist/chunks/{Accordion-qd4r5b4s.js → Accordion-q9zge7kd.js} +2 -2
- package/web-dist/chunks/{Accordion-1dppb4fr.js → Accordion-qyssgtwe.js} +2 -2
- package/web-dist/chunks/{Accordion-pe49atda.js → Accordion-rmp9sfra.js} +1 -1
- package/web-dist/chunks/{Accordion-v1fxp6yd.js → Accordion-snyacfyh.js} +8 -8
- package/web-dist/chunks/{Accordion-47mg9vze.js → Accordion-tdjh81ax.js} +5 -5
- package/web-dist/chunks/{Accordion-3v7sz3vv.js → Accordion-v4n4ygwn.js} +1 -1
- package/web-dist/chunks/{Accordion-2z0415ed.js → Accordion-vjgk1sz7.js} +1 -1
- package/web-dist/chunks/{Accordion-qq9bvraa.js → Accordion-wgesygtk.js} +10 -10
- package/web-dist/chunks/{Accordion-tvzq4dw8.js → Accordion-wxbh98kp.js} +8 -8
- package/web-dist/chunks/{Accordion-3w1t105s.js → Accordion-wytj5wwc.js} +3 -3
- package/web-dist/chunks/{Accordion-19j1mncn.js → Accordion-yae3m7g7.js} +4 -4
- package/web-dist/chunks/{Accordion-c7pd59w7.js → Accordion-zgzrah0a.js} +6 -6
- package/web-dist/components/accordion/Accordion.js +12 -13
- package/web-dist/components/accordion-item/AccordionItem.js +12 -13
- package/web-dist/components/activity-indicator/ActivityIndicator.js +3 -4
- package/web-dist/components/app-bar/AppBar.js +19 -20
- package/web-dist/components/app-header/AppHeader.d.ts +3 -0
- package/web-dist/components/app-header/AppHeader.js +41 -0
- package/web-dist/components/app-header/index.d.ts +1 -0
- package/web-dist/components/app-header/index.js +2 -0
- package/web-dist/components/app-shell/AppShell.js +6 -7
- package/web-dist/components/auth-screen/AuthScreen.js +21 -22
- package/web-dist/components/avatar/Avatar.js +12 -13
- package/web-dist/components/avatar-group/AvatarGroup.js +12 -13
- package/web-dist/components/badge/Badge.js +7 -8
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +20 -21
- package/web-dist/components/bottom-sheet/BottomSheet.js +8 -9
- package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +8 -9
- package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +8 -9
- package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +8 -9
- package/web-dist/components/bottom-sheet-view/BottomSheetView.js +8 -9
- package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +8 -9
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +14 -15
- package/web-dist/components/button/Button.js +12 -13
- package/web-dist/components/button-group/ButtonGroup.js +12 -13
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +20 -21
- package/web-dist/components/card/Card.js +19 -20
- package/web-dist/components/card-back/CardBack.js +4 -5
- package/web-dist/components/card-hand/CardHand.js +4 -5
- package/web-dist/components/chat-list-item/ChatListItem.js +16 -17
- package/web-dist/components/checkbox/Checkbox.js +12 -13
- package/web-dist/components/checkbox-group/CheckboxGroup.js +12 -13
- package/web-dist/components/chess-board/ChessBoard.js +4 -5
- package/web-dist/components/chip/Chip.js +13 -14
- package/web-dist/components/chip-group/ChipGroup.js +13 -14
- package/web-dist/components/collection-editor/CollectionEditor.js +19 -20
- package/web-dist/components/content-rail/ContentRail.js +13 -14
- package/web-dist/components/data-table/DataTable.js +26 -27
- package/web-dist/components/date-picker/DatePicker.js +17 -18
- package/web-dist/components/dialog/Dialog.js +12 -13
- package/web-dist/components/divider/Divider.js +6 -7
- package/web-dist/components/empty-state/EmptyState.js +20 -21
- package/web-dist/components/field/Field.js +12 -13
- package/web-dist/components/flat-list/FlatList.js +13 -14
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +21 -22
- package/web-dist/components/form/Form.js +16 -17
- package/web-dist/components/form-actions/FormActions.js +16 -17
- package/web-dist/components/form-error/FormError.js +16 -17
- package/web-dist/components/game/Game.js +7 -8
- package/web-dist/components/game-entity/GameEntity.js +7 -8
- package/web-dist/components/game-field/GameField.js +7 -8
- package/web-dist/components/game-input-zone/GameInputZone.js +7 -8
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +7 -8
- package/web-dist/components/game-overlay/GameOverlay.js +7 -8
- package/web-dist/components/gradient/Gradient.js +7 -8
- package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +7 -8
- package/web-dist/components/grid/Grid.js +6 -7
- package/web-dist/components/heading/Heading.js +6 -7
- package/web-dist/components/hero/Hero.js +19 -20
- package/web-dist/components/icon/Icon.js +4 -5
- package/web-dist/components/icon-button/IconButton.js +12 -13
- package/web-dist/components/image/Image.js +10 -11
- package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +3 -4
- package/web-dist/components/list/List.js +13 -14
- package/web-dist/components/list-item/ListItem.js +13 -14
- package/web-dist/components/list-section/ListSection.js +13 -14
- package/web-dist/components/media-card/MediaCard.js +19 -20
- package/web-dist/components/message-bubble/MessageBubble.js +16 -17
- package/web-dist/components/metric-card/MetricCard.js +19 -20
- package/web-dist/components/missing-element/MissingElement.js +11 -12
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +21 -22
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +21 -22
- package/web-dist/components/opening-book/OpeningBook.js +4 -5
- package/web-dist/components/otp-form/OtpForm.js +21 -22
- package/web-dist/components/pagination/Pagination.js +13 -14
- package/web-dist/components/palette-item/PaletteItem.js +19 -20
- package/web-dist/components/playing-card/PlayingCard.js +4 -5
- package/web-dist/components/poker-training-table/PokerTrainingTable.js +4 -5
- package/web-dist/components/popover-menu/PopoverMenu.js +14 -15
- package/web-dist/components/post-card/PostCard.js +19 -20
- package/web-dist/components/product-card/ProductCard.js +19 -20
- package/web-dist/components/progress/Progress.js +10 -11
- package/web-dist/components/progress-ring/ProgressRing.js +10 -11
- package/web-dist/components/radio/Radio.js +14 -15
- package/web-dist/components/radio-group/RadioGroup.js +14 -15
- package/web-dist/components/rating/Rating.js +9 -10
- package/web-dist/components/reader-surface/ReaderSurface.js +21 -22
- package/web-dist/components/scan-overlay/ScanOverlay.js +20 -21
- package/web-dist/components/screen/Screen.js +6 -7
- package/web-dist/components/screen-section/ScreenSection.js +10 -11
- package/web-dist/components/scroll-view/ScrollView.js +6 -7
- package/web-dist/components/search-input/SearchInput.js +13 -14
- package/web-dist/components/section-header/SectionHeader.js +10 -11
- package/web-dist/components/section-list/SectionList.js +13 -14
- package/web-dist/components/select/Select.js +16 -17
- package/web-dist/components/selectable-item/SelectableItem.js +6 -5
- package/web-dist/components/selection-provider/SelectionProvider.js +6 -5
- package/web-dist/components/sign-in-form/SignInForm.js +21 -22
- package/web-dist/components/sign-up-form/SignUpForm.js +21 -22
- package/web-dist/components/skeleton/Skeleton.js +22 -23
- package/web-dist/components/skeleton-card/SkeletonCard.js +22 -23
- package/web-dist/components/skeleton-list/SkeletonList.js +22 -23
- package/web-dist/components/skeleton-text/SkeletonText.js +22 -23
- package/web-dist/components/surface/Surface.js +7 -8
- package/web-dist/components/switch/Switch.js +7 -8
- package/web-dist/components/tab/Tab.js +7 -8
- package/web-dist/components/tab-list/TabList.js +7 -8
- package/web-dist/components/tab-panel/TabPanel.js +7 -8
- package/web-dist/components/tabletop-table/TabletopTable.js +4 -5
- package/web-dist/components/tabs/Tabs.js +7 -8
- package/web-dist/components/text/Text.js +6 -7
- package/web-dist/components/text-input/TextInput.js +13 -14
- package/web-dist/components/time-picker/TimePicker.js +17 -18
- package/web-dist/components/timeline/Timeline.js +11 -12
- package/web-dist/components/toast/Toast.js +9 -10
- package/web-dist/components/toast-provider/ToastProvider.js +9 -10
- package/web-dist/components/toolbar/Toolbar.js +19 -20
- package/web-dist/components/tree-item/TreeItem.js +17 -18
- package/web-dist/components/uploader/Uploader.js +22 -23
- package/web-dist/components/view/View.js +6 -7
- package/web-dist/manifest.json +1500 -1567
- package/web-dist/runtime/ZoraProvider.js +12 -14
- package/web-dist/chunks/Accordion-kcx57mk5.js +0 -39
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-wytj5wwc.js";
|
|
5
5
|
import {
|
|
6
6
|
require_cjs,
|
|
7
7
|
useTheme
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-pvz3r99n.js";
|
|
9
9
|
import {
|
|
10
10
|
Surface3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-g2d4fskg.js";
|
|
12
12
|
import {
|
|
13
13
|
Text2
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-rmp9sfra.js";
|
|
15
15
|
import {
|
|
16
16
|
Portal
|
|
17
17
|
} from "./Accordion-0gfsj9qh.js";
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
useFontRuntime,
|
|
4
|
-
ZoraThemeRuntimeContext,
|
|
5
|
-
useZoraThemeRuntime
|
|
6
|
-
} from "./Accordion-kcx57mk5.js";
|
|
7
|
-
import {
|
|
8
4
|
createTheme,
|
|
9
5
|
ThemeRuntimeContext,
|
|
10
|
-
useTheme
|
|
11
|
-
|
|
6
|
+
useTheme,
|
|
7
|
+
ZoraThemeRuntimeContext,
|
|
8
|
+
useZoraThemeRuntime
|
|
9
|
+
} from "./Accordion-pvz3r99n.js";
|
|
12
10
|
import {
|
|
13
11
|
deepMerge
|
|
14
12
|
} from "./Accordion-59pa0677.js";
|
|
@@ -54,24 +52,26 @@ function resolveZoraScopedThemeId({
|
|
|
54
52
|
|
|
55
53
|
// src/features/theme/adapters/inbound/ZoraThemeScope.tsx
|
|
56
54
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
57
|
-
function ZoraThemeScope({ children, themeId, mode }) {
|
|
58
|
-
if (mode === undefined && themeId === undefined)
|
|
55
|
+
function ZoraThemeScope({ children, themeId, mode, inverted }) {
|
|
56
|
+
if (mode === undefined && themeId === undefined && inverted === undefined)
|
|
59
57
|
return children;
|
|
60
58
|
return /* @__PURE__ */ jsx2(ZoraThemeScopeInner, {
|
|
61
59
|
mode,
|
|
62
60
|
themeId,
|
|
61
|
+
inverted,
|
|
63
62
|
children
|
|
64
63
|
});
|
|
65
64
|
}
|
|
66
|
-
function ZoraThemeScopeInner({ children, themeId, mode }) {
|
|
65
|
+
function ZoraThemeScopeInner({ children, themeId, mode, inverted }) {
|
|
67
66
|
const parentRuntime = useZoraThemeRuntime();
|
|
68
67
|
const scopedThemeId = resolveZoraScopedThemeId({
|
|
69
68
|
desiredThemeId: themeId,
|
|
70
69
|
inheritedThemeId: parentRuntime.themeId
|
|
71
70
|
});
|
|
72
71
|
const scopedRuntimeValue = useMemo2(() => ({ themeId: scopedThemeId }), [scopedThemeId]);
|
|
73
|
-
const scopedChildren = mode === undefined ? children : /* @__PURE__ */ jsx2(ThemeScope, {
|
|
72
|
+
const scopedChildren = mode === undefined && inverted === undefined ? children : /* @__PURE__ */ jsx2(ThemeScope, {
|
|
74
73
|
mode,
|
|
74
|
+
inverted,
|
|
75
75
|
children
|
|
76
76
|
});
|
|
77
77
|
return /* @__PURE__ */ jsx2(ZoraThemeRuntimeContext, {
|
|
@@ -84,13 +84,18 @@ function ZoraThemeScopeInner({ children, themeId, mode }) {
|
|
|
84
84
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
85
85
|
function withZoraThemeScope(Component) {
|
|
86
86
|
const Wrapped = (props) => {
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
const componentProps = { ...props };
|
|
88
|
+
delete componentProps.themeId;
|
|
89
|
+
delete componentProps.mode;
|
|
90
|
+
delete componentProps.inverted;
|
|
91
|
+
if (props.mode === undefined && props.themeId === undefined && props.inverted === undefined) {
|
|
92
|
+
return React2.createElement(Component, componentProps);
|
|
89
93
|
}
|
|
90
94
|
return /* @__PURE__ */ jsx3(ZoraThemeScope, {
|
|
91
95
|
mode: props.mode,
|
|
92
96
|
themeId: props.themeId,
|
|
93
|
-
|
|
97
|
+
inverted: props.inverted,
|
|
98
|
+
children: React2.createElement(Component, componentProps)
|
|
94
99
|
});
|
|
95
100
|
};
|
|
96
101
|
const name = Component.displayName ?? (Component.name || "Component");
|
|
@@ -2,49 +2,49 @@
|
|
|
2
2
|
import {
|
|
3
3
|
require_cjs,
|
|
4
4
|
useTheme
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-pvz3r99n.js";
|
|
6
6
|
import {
|
|
7
7
|
Pressable
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-8bxy3g7a.js";
|
|
9
9
|
import {
|
|
10
10
|
Surface3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-g2d4fskg.js";
|
|
12
12
|
import {
|
|
13
13
|
withZoraThemeScope
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-8z7naxj2.js";
|
|
15
15
|
import {
|
|
16
16
|
View2,
|
|
17
17
|
Divider2
|
|
18
|
-
} from "./Accordion-
|
|
18
|
+
} from "./Accordion-0yvepteg.js";
|
|
19
19
|
import {
|
|
20
20
|
Heading2,
|
|
21
21
|
Text3
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveBadgeRecipe,
|
|
25
25
|
Badge2
|
|
26
|
-
} from "./Accordion-
|
|
26
|
+
} from "./Accordion-d24n7srd.js";
|
|
27
27
|
import {
|
|
28
28
|
Icon2
|
|
29
|
-
} from "./Accordion-
|
|
29
|
+
} from "./Accordion-37n4bt3g.js";
|
|
30
30
|
import {
|
|
31
31
|
Avatar2
|
|
32
|
-
} from "./Accordion-
|
|
32
|
+
} from "./Accordion-73x0gt11.js";
|
|
33
33
|
import {
|
|
34
34
|
Button2
|
|
35
|
-
} from "./Accordion-
|
|
35
|
+
} from "./Accordion-snyacfyh.js";
|
|
36
36
|
import {
|
|
37
37
|
Image2
|
|
38
|
-
} from "./Accordion-
|
|
38
|
+
} from "./Accordion-6ytrt7xj.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveIconSize
|
|
41
41
|
} from "./Accordion-961ncx4e.js";
|
|
42
42
|
import {
|
|
43
43
|
useZoraThemeRecipe
|
|
44
|
-
} from "./Accordion-
|
|
44
|
+
} from "./Accordion-kxa15n19.js";
|
|
45
45
|
import {
|
|
46
46
|
useZoraTheme2
|
|
47
|
-
} from "./Accordion-
|
|
47
|
+
} from "./Accordion-6xrse5my.js";
|
|
48
48
|
import {
|
|
49
49
|
__toESM
|
|
50
50
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-wytj5wwc.js";
|
|
5
5
|
import {
|
|
6
6
|
require_cjs,
|
|
7
7
|
useTheme
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-pvz3r99n.js";
|
|
9
9
|
import {
|
|
10
10
|
Text2
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-rmp9sfra.js";
|
|
12
12
|
import {
|
|
13
13
|
withZoraThemeScope
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-8z7naxj2.js";
|
|
15
15
|
import {
|
|
16
16
|
useFocusManager
|
|
17
17
|
} from "./Accordion-6zb9d92y.js";
|
|
@@ -75,7 +75,7 @@ function Tab({
|
|
|
75
75
|
trailing
|
|
76
76
|
}) {
|
|
77
77
|
const { theme } = useTheme();
|
|
78
|
-
const { activeValue, getPanelId, getTabId, setActiveValue, setFocusedValue } = useTabsContext();
|
|
78
|
+
const { activeValue, getPanelId, getTabId, setActiveValue, setFocusedValue, variant } = useTabsContext();
|
|
79
79
|
const pressableRef = useTabRegistration({ disabled, value });
|
|
80
80
|
const selected = activeValue === value;
|
|
81
81
|
const passive = interactionPolicy === "passive";
|
|
@@ -96,8 +96,12 @@ function Tab({
|
|
|
96
96
|
px: "m",
|
|
97
97
|
py: "s",
|
|
98
98
|
style: resolveTabStyle({
|
|
99
|
+
activeBackground: theme.semantics.surface.subtle,
|
|
99
100
|
borderColor: selected ? "transparent" : theme.semantics.border.default,
|
|
100
|
-
disabled
|
|
101
|
+
disabled,
|
|
102
|
+
radius: theme.radii.s,
|
|
103
|
+
selected,
|
|
104
|
+
variant
|
|
101
105
|
}),
|
|
102
106
|
children: renderTabContent(children, trailing, selected)
|
|
103
107
|
})
|
|
@@ -123,9 +127,21 @@ function renderTabContent(children, trailing, selected) {
|
|
|
123
127
|
});
|
|
124
128
|
}
|
|
125
129
|
function resolveTabStyle({
|
|
130
|
+
activeBackground,
|
|
126
131
|
borderColor,
|
|
127
|
-
disabled
|
|
132
|
+
disabled,
|
|
133
|
+
radius,
|
|
134
|
+
selected,
|
|
135
|
+
variant
|
|
128
136
|
}) {
|
|
137
|
+
if (variant === "attached") {
|
|
138
|
+
return {
|
|
139
|
+
backgroundColor: selected ? activeBackground : "transparent",
|
|
140
|
+
borderTopLeftRadius: selected ? radius : 0,
|
|
141
|
+
borderTopRightRadius: selected ? radius : 0,
|
|
142
|
+
opacity: disabled ? 0.64 : 1
|
|
143
|
+
};
|
|
144
|
+
}
|
|
129
145
|
return { borderBottomColor: borderColor, borderBottomWidth: 2, opacity: disabled ? 0.64 : 1 };
|
|
130
146
|
}
|
|
131
147
|
|
|
@@ -240,8 +256,9 @@ function TabListInner({
|
|
|
240
256
|
// node_modules/@ankhorage/surface/src/features/tabs/adapters/inbound/TabPanel.tsx
|
|
241
257
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
242
258
|
var TAB_PANEL_ROLE = "tabpanel";
|
|
243
|
-
function TabPanel({ value, children, testID, ...layoutProps }) {
|
|
244
|
-
const {
|
|
259
|
+
function TabPanel({ value, children, testID, style, ...layoutProps }) {
|
|
260
|
+
const { theme } = useTheme();
|
|
261
|
+
const { activeValue, getPanelId, getTabId, variant } = useTabsContext();
|
|
245
262
|
if (activeValue !== value)
|
|
246
263
|
return null;
|
|
247
264
|
return /* @__PURE__ */ jsx6(View3, {
|
|
@@ -249,6 +266,10 @@ function TabPanel({ value, children, testID, ...layoutProps }) {
|
|
|
249
266
|
accessibilityLabelledBy: getTabId(value),
|
|
250
267
|
accessibilityRole: TAB_PANEL_ROLE,
|
|
251
268
|
nativeID: getPanelId(value),
|
|
269
|
+
style: [
|
|
270
|
+
style,
|
|
271
|
+
variant === "attached" ? { backgroundColor: theme.semantics.surface.subtle } : undefined
|
|
272
|
+
],
|
|
252
273
|
testID,
|
|
253
274
|
children
|
|
254
275
|
});
|
|
@@ -285,7 +306,8 @@ function useTabsController({
|
|
|
285
306
|
defaultValue,
|
|
286
307
|
onValueChange,
|
|
287
308
|
testID,
|
|
288
|
-
value
|
|
309
|
+
value,
|
|
310
|
+
variant = "line"
|
|
289
311
|
}) {
|
|
290
312
|
const [activeValue, setActiveValue] = useControllableState({
|
|
291
313
|
defaultValue,
|
|
@@ -319,8 +341,9 @@ function useTabsController({
|
|
|
319
341
|
setActiveValue: (nextValue) => setActiveValue(nextValue),
|
|
320
342
|
setFocusedValue,
|
|
321
343
|
tabs,
|
|
322
|
-
unregisterTab
|
|
323
|
-
|
|
344
|
+
unregisterTab,
|
|
345
|
+
variant
|
|
346
|
+
}), [activeValue, focusedValue, registerTab, setActiveValue, tabs, testID, unregisterTab, variant]);
|
|
324
347
|
}
|
|
325
348
|
|
|
326
349
|
// node_modules/@ankhorage/surface/src/features/tabs/adapters/inbound/Tabs.tsx
|
|
@@ -331,9 +354,10 @@ function Tabs({
|
|
|
331
354
|
onValueChange,
|
|
332
355
|
testID,
|
|
333
356
|
value,
|
|
357
|
+
variant,
|
|
334
358
|
...layoutProps
|
|
335
359
|
}) {
|
|
336
|
-
const contextValue = useTabsController({ defaultValue, onValueChange, testID, value });
|
|
360
|
+
const contextValue = useTabsController({ defaultValue, onValueChange, testID, value, variant });
|
|
337
361
|
return /* @__PURE__ */ jsx8(TabsContext, {
|
|
338
362
|
value: contextValue,
|
|
339
363
|
children: /* @__PURE__ */ jsx8(View3, {
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
require_cjs
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pvz3r99n.js";
|
|
5
5
|
import {
|
|
6
6
|
Pressable
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-8bxy3g7a.js";
|
|
8
|
+
import {
|
|
9
|
+
withZoraThemeScope
|
|
10
|
+
} from "./Accordion-8z7naxj2.js";
|
|
8
11
|
import {
|
|
9
12
|
resolveSelectionEventIntent
|
|
10
13
|
} from "./Accordion-5df6cgyf.js";
|
|
@@ -159,7 +162,8 @@ function resolveTrigger(trigger) {
|
|
|
159
162
|
function isRenderProp(children) {
|
|
160
163
|
return typeof children === "function";
|
|
161
164
|
}
|
|
162
|
-
|
|
165
|
+
var SelectableItem2 = withZoraThemeScope(SelectableItemInner);
|
|
166
|
+
function SelectableItemInner({
|
|
163
167
|
id,
|
|
164
168
|
trigger,
|
|
165
169
|
disabled = false,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Pressable
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-8bxy3g7a.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-8z7naxj2.js";
|
|
8
8
|
import {
|
|
9
9
|
View2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-0yvepteg.js";
|
|
11
11
|
import {
|
|
12
12
|
Text3
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
14
14
|
import {
|
|
15
15
|
Avatar2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-73x0gt11.js";
|
|
17
17
|
import {
|
|
18
18
|
Badge2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-d24n7srd.js";
|
|
20
20
|
import {
|
|
21
21
|
useZoraTheme2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-6xrse5my.js";
|
|
23
23
|
|
|
24
24
|
// src/features/chat/adapters/inbound/ChatListItem.tsx
|
|
25
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Toast3,
|
|
4
4
|
ToastProvider3
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-8fne0gf9.js";
|
|
6
6
|
import {
|
|
7
7
|
withZoraThemeScope
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-8z7naxj2.js";
|
|
9
9
|
|
|
10
10
|
// src/features/toast/adapters/inbound/Toast.tsx
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
import {
|
|
3
3
|
require_cjs,
|
|
4
4
|
useTheme
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-pvz3r99n.js";
|
|
6
6
|
import {
|
|
7
7
|
withZoraThemeScope
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-8z7naxj2.js";
|
|
9
9
|
import {
|
|
10
10
|
Text3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
12
12
|
import {
|
|
13
13
|
View3
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-wytj5wwc.js";
|
|
15
15
|
import {
|
|
16
16
|
View2,
|
|
17
17
|
Divider2
|
|
18
|
-
} from "./Accordion-
|
|
18
|
+
} from "./Accordion-0yvepteg.js";
|
|
19
19
|
import {
|
|
20
20
|
Pressable
|
|
21
|
-
} from "./Accordion-
|
|
21
|
+
} from "./Accordion-8bxy3g7a.js";
|
|
22
22
|
import {
|
|
23
23
|
Text2
|
|
24
|
-
} from "./Accordion-
|
|
24
|
+
} from "./Accordion-rmp9sfra.js";
|
|
25
25
|
import {
|
|
26
26
|
SectionHeader2
|
|
27
|
-
} from "./Accordion-
|
|
27
|
+
} from "./Accordion-k6dg8zd2.js";
|
|
28
28
|
import {
|
|
29
29
|
useZoraTheme2
|
|
30
|
-
} from "./Accordion-
|
|
30
|
+
} from "./Accordion-6xrse5my.js";
|
|
31
31
|
import {
|
|
32
32
|
__toESM
|
|
33
33
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
require_cjs
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pvz3r99n.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-8z7naxj2.js";
|
|
8
8
|
import {
|
|
9
9
|
__toESM
|
|
10
10
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-wytj5wwc.js";
|
|
5
5
|
import {
|
|
6
6
|
useTheme
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-pvz3r99n.js";
|
|
8
8
|
import {
|
|
9
9
|
Text2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-rmp9sfra.js";
|
|
11
11
|
import {
|
|
12
12
|
withZoraThemeScope
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-8z7naxj2.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveControlSize,
|
|
16
16
|
resolveButtonColors
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
require_cjs
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pvz3r99n.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-8z7naxj2.js";
|
|
8
8
|
import {
|
|
9
9
|
useZoraTheme2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-6xrse5my.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM
|
|
13
13
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import {
|
|
3
3
|
resolveResponsive,
|
|
4
4
|
useResponsiveRuntime
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-gkx1kszz.js";
|
|
6
6
|
import {
|
|
7
7
|
require_cjs
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-pvz3r99n.js";
|
|
9
9
|
import {
|
|
10
10
|
withZoraThemeScope
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-8z7naxj2.js";
|
|
12
12
|
import {
|
|
13
13
|
useZoraThemeRecipe,
|
|
14
14
|
ZORA_COLORS,
|
|
15
15
|
ZORA_EMPHASES
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-kxa15n19.js";
|
|
17
17
|
import {
|
|
18
18
|
useZoraTheme2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-6xrse5my.js";
|
|
20
20
|
import {
|
|
21
21
|
__toESM
|
|
22
22
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
|
+
require_cjs,
|
|
3
4
|
useZoraThemeRuntime
|
|
4
|
-
} from "./Accordion-
|
|
5
|
-
import {
|
|
6
|
-
require_cjs
|
|
7
|
-
} from "./Accordion-a60dhqsv.js";
|
|
5
|
+
} from "./Accordion-pvz3r99n.js";
|
|
8
6
|
import {
|
|
9
7
|
withZoraThemeScope
|
|
10
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-8z7naxj2.js";
|
|
11
9
|
import {
|
|
12
10
|
View2
|
|
13
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-0yvepteg.js";
|
|
14
12
|
import {
|
|
15
13
|
useZoraTheme2
|
|
16
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-6xrse5my.js";
|
|
17
15
|
import {
|
|
18
16
|
__toESM
|
|
19
17
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
require_cjs
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pvz3r99n.js";
|
|
5
|
+
import {
|
|
6
|
+
withZoraThemeScope
|
|
7
|
+
} from "./Accordion-8z7naxj2.js";
|
|
5
8
|
import {
|
|
6
9
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-0yvepteg.js";
|
|
8
11
|
import {
|
|
9
12
|
__toESM
|
|
10
13
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -12,7 +15,8 @@ import {
|
|
|
12
15
|
// src/features/game/adapters/inbound/GameField.tsx
|
|
13
16
|
var import_react_native = __toESM(require_cjs(), 1);
|
|
14
17
|
import { jsx } from "react/jsx-runtime";
|
|
15
|
-
|
|
18
|
+
var GameField2 = withZoraThemeScope(GameFieldInner);
|
|
19
|
+
function GameFieldInner({
|
|
16
20
|
children,
|
|
17
21
|
aspectRatio,
|
|
18
22
|
minHeight = 320,
|
|
@@ -946,7 +950,8 @@ function useLatestValue(value) {
|
|
|
946
950
|
|
|
947
951
|
// src/features/game/adapters/inbound/Game.tsx
|
|
948
952
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
949
|
-
|
|
953
|
+
var Game2 = withZoraThemeScope(GameInner);
|
|
954
|
+
function GameInner(props) {
|
|
950
955
|
const runtime = useGameRuntime(props);
|
|
951
956
|
const [measurementRegistry] = React5.useState(createGameMeasurementRegistry);
|
|
952
957
|
const runtimeContext = React5.useMemo(() => ({ ...runtime, ...measurementRegistry, interactionPolicy: props.interactionPolicy }), [measurementRegistry, props.interactionPolicy, runtime]);
|
|
@@ -1214,7 +1219,8 @@ function useGameEntityMeasurement(elementRef, measurementId) {
|
|
|
1214
1219
|
|
|
1215
1220
|
// src/features/game/adapters/inbound/GameEntity.tsx
|
|
1216
1221
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
1217
|
-
|
|
1222
|
+
var GameEntity2 = withZoraThemeScope(GameEntityInner);
|
|
1223
|
+
function GameEntityInner(props) {
|
|
1218
1224
|
const elementRef = React10.useRef(null);
|
|
1219
1225
|
const animatedStyle = useGameEntityAnimatedStyle(props);
|
|
1220
1226
|
useGameEntityMeasurement(elementRef, props.measurementId);
|
|
@@ -1353,7 +1359,8 @@ function useGameInputZoneResponder(props) {
|
|
|
1353
1359
|
|
|
1354
1360
|
// src/features/game/adapters/inbound/GameInputZone.tsx
|
|
1355
1361
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
1356
|
-
|
|
1362
|
+
var GameInputZone2 = withZoraThemeScope(GameInputZoneInner);
|
|
1363
|
+
function GameInputZoneInner({
|
|
1357
1364
|
x = 0,
|
|
1358
1365
|
y = 0,
|
|
1359
1366
|
width = 100,
|
|
@@ -1450,7 +1457,8 @@ function toGameMeasurementRecord(bounds) {
|
|
|
1450
1457
|
}
|
|
1451
1458
|
|
|
1452
1459
|
// src/features/game/adapters/inbound/GameMeasurementProbe.tsx
|
|
1453
|
-
|
|
1460
|
+
var GameMeasurementProbe2 = withZoraThemeScope(GameMeasurementProbeInner);
|
|
1461
|
+
function GameMeasurementProbeInner({
|
|
1454
1462
|
sourceId,
|
|
1455
1463
|
targetId,
|
|
1456
1464
|
eventType = "game.measurement",
|
|
@@ -1510,7 +1518,8 @@ async function dispatchGameMeasurement(input) {
|
|
|
1510
1518
|
// src/features/game/adapters/inbound/GameOverlay.tsx
|
|
1511
1519
|
var import_react_native8 = __toESM(require_cjs(), 1);
|
|
1512
1520
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
1513
|
-
|
|
1521
|
+
var GameOverlay2 = withZoraThemeScope(GameOverlayInner);
|
|
1522
|
+
function GameOverlayInner({
|
|
1514
1523
|
children,
|
|
1515
1524
|
placement = "fill",
|
|
1516
1525
|
blocking = false,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-wytj5wwc.js";
|
|
5
5
|
import {
|
|
6
6
|
useTheme
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-pvz3r99n.js";
|
|
8
8
|
|
|
9
9
|
// node_modules/@ankhorage/surface/src/features/surface/adapters/inbound/Surface.tsx
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-8z7naxj2.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-0yvepteg.js";
|
|
8
8
|
import {
|
|
9
9
|
Heading2,
|
|
10
10
|
Text3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
12
12
|
|
|
13
13
|
// src/features/section/adapters/inbound/SectionHeader.tsx
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
require_cjs
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pvz3r99n.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-8z7naxj2.js";
|
|
8
8
|
import {
|
|
9
9
|
View2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-0yvepteg.js";
|
|
11
11
|
import {
|
|
12
12
|
Text3
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
14
14
|
import {
|
|
15
15
|
useZoraTheme2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-6xrse5my.js";
|
|
17
17
|
import {
|
|
18
18
|
__toESM
|
|
19
19
|
} from "./Accordion-9qvmwkxe.js";
|