@ankhorage/zora 23.2.4 → 23.3.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/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 +5 -5
- 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/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-5pskbqss.js → Accordion-0047zyx7.js} +4 -4
- package/web-dist/chunks/{Accordion-99cj85ez.js → Accordion-0gfsj9qh.js} +1 -1
- package/web-dist/chunks/{Accordion-8xdet564.js → Accordion-0yhkg017.js} +10 -10
- package/web-dist/chunks/{Accordion-01e56hb5.js → Accordion-0yvepteg.js} +5 -5
- package/web-dist/chunks/{Accordion-nggjwm07.js → Accordion-1e1nfhtc.js} +5 -5
- package/web-dist/chunks/{Accordion-4r9a9qny.js → Accordion-1xpq9bxk.js} +9 -9
- package/web-dist/chunks/{Accordion-mm4kx13n.js → Accordion-2dqpjya2.js} +8 -8
- package/web-dist/chunks/{Accordion-x4rjd7yn.js → Accordion-37n4bt3g.js} +2 -2
- package/web-dist/chunks/{Accordion-w6n8e1ff.js → Accordion-3m6de80j.js} +1 -1
- package/web-dist/chunks/{Accordion-rjgdrn7y.js → Accordion-693gvpde.js} +3 -3
- package/web-dist/chunks/Accordion-6a2hscrx.js +50 -0
- package/web-dist/chunks/{Accordion-7zfskq1s.js → Accordion-6xrse5my.js} +1 -1
- package/web-dist/chunks/{Accordion-17pht8jd.js → Accordion-6ytrt7xj.js} +5 -5
- package/web-dist/chunks/{Accordion-2ak69ntj.js → Accordion-70g7n6tk.js} +8 -8
- package/web-dist/chunks/{Accordion-jksn8783.js → Accordion-73x0gt11.js} +6 -6
- package/web-dist/chunks/{Accordion-8xk2zmr5.js → Accordion-7y9wt946.js} +2 -2
- package/web-dist/chunks/{Accordion-cdppbyad.js → Accordion-8bxy3g7a.js} +4 -4
- package/web-dist/chunks/{Accordion-z8h1hn96.js → Accordion-8fne0gf9.js} +6 -6
- package/web-dist/chunks/{Accordion-13y3zx87.js → Accordion-8z7naxj2.js} +22 -16
- package/web-dist/chunks/{Accordion-z1trs7s1.js → Accordion-a1ervhyg.js} +13 -13
- package/web-dist/chunks/{Accordion-v166qr59.js → Accordion-a61amgk4.js} +4 -4
- package/web-dist/chunks/{Accordion-m9hjta5k.js → Accordion-ancjf7q8.js} +7 -3
- package/web-dist/chunks/{Accordion-f2mfgcx6.js → Accordion-axxgq453.js} +7 -7
- package/web-dist/chunks/{Accordion-cydzrpk2.js → Accordion-basd2gyf.js} +2 -2
- package/web-dist/chunks/Accordion-bfzeab9x.js +18 -0
- package/web-dist/chunks/{Accordion-rnjt5z4y.js → Accordion-bz2dzbad.js} +9 -9
- package/web-dist/chunks/{Accordion-r23sx4gf.js → Accordion-ct805sm7.js} +2 -2
- package/web-dist/chunks/{Accordion-cqgbx1pw.js → Accordion-d24n7srd.js} +6 -7
- package/web-dist/chunks/{Accordion-14p7zanv.js → Accordion-dbxpv5eq.js} +3 -3
- package/web-dist/chunks/{Accordion-46vwm9xv.js → Accordion-e2kr1z3g.js} +5 -5
- package/web-dist/chunks/{Accordion-78mj69zp.js → Accordion-ebw6xj6x.js} +5 -7
- package/web-dist/chunks/{Accordion-kpnwdpb5.js → Accordion-ekjwm5dw.js} +17 -8
- package/web-dist/chunks/{Accordion-13b6y37e.js → Accordion-g2d4fskg.js} +2 -2
- package/web-dist/chunks/{Accordion-x5ny2aax.js → Accordion-gkx1kszz.js} +1 -1
- package/web-dist/chunks/{Accordion-tyqds4zr.js → Accordion-k6dg8zd2.js} +3 -3
- package/web-dist/chunks/{Accordion-e1nn8m46.js → Accordion-kxa15n19.js} +5 -17
- package/web-dist/chunks/{Accordion-rev0zb75.js → Accordion-m4brcz8v.js} +5 -5
- package/web-dist/chunks/{Accordion-vq462y0x.js → Accordion-mbqtk7y0.js} +11 -2
- package/web-dist/chunks/{Accordion-2d8xn32m.js → Accordion-n7y08rz5.js} +14 -49
- package/web-dist/chunks/{Accordion-ejy7gr0a.js → Accordion-nkd7nhyx.js} +5 -5
- package/web-dist/chunks/{Accordion-xw1gkpfk.js → Accordion-p0fh69qq.js} +6 -6
- package/web-dist/chunks/{Accordion-kmv2fp6m.js → Accordion-ph15h010.js} +10 -10
- package/web-dist/chunks/{Accordion-7hn324r1.js → Accordion-pvz3r99n.js} +236 -4
- package/web-dist/chunks/{Accordion-qb8ppq9t.js → Accordion-q9zge7kd.js} +3 -3
- package/web-dist/chunks/{Accordion-kemavggr.js → Accordion-qyssgtwe.js} +2 -2
- package/web-dist/chunks/{Accordion-ff583p4q.js → Accordion-rmp9sfra.js} +9 -5
- package/web-dist/chunks/{Accordion-yms7x22j.js → Accordion-snyacfyh.js} +10 -12
- package/web-dist/chunks/{Accordion-ejns5mga.js → Accordion-tdjh81ax.js} +6 -6
- package/web-dist/chunks/{Accordion-rgyg9bw8.js → Accordion-v4n4ygwn.js} +1 -1
- package/web-dist/chunks/{Accordion-ew71mmkm.js → Accordion-vjgk1sz7.js} +2 -2
- package/web-dist/chunks/{Accordion-bmp1ab7m.js → Accordion-wgesygtk.js} +10 -10
- package/web-dist/chunks/{Accordion-9n7h9hag.js → Accordion-wxbh98kp.js} +8 -8
- package/web-dist/chunks/{Accordion-r1epjp5y.js → Accordion-wytj5wwc.js} +3 -3
- package/web-dist/chunks/{Accordion-jnwa02s7.js → Accordion-yae3m7g7.js} +4 -4
- package/web-dist/chunks/{Accordion-b9myvfep.js → Accordion-zgzrah0a.js} +6 -6
- package/web-dist/components/accordion/Accordion.js +13 -13
- package/web-dist/components/accordion-item/AccordionItem.js +13 -13
- package/web-dist/components/activity-indicator/ActivityIndicator.js +3 -4
- package/web-dist/components/app-bar/AppBar.js +21 -21
- 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 +22 -22
- package/web-dist/components/avatar/Avatar.js +13 -13
- package/web-dist/components/avatar-group/AvatarGroup.js +13 -13
- package/web-dist/components/badge/Badge.js +7 -8
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +21 -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 +15 -15
- package/web-dist/components/button/Button.js +13 -13
- package/web-dist/components/button-group/ButtonGroup.js +13 -13
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +21 -21
- package/web-dist/components/card/Card.js +20 -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 +17 -17
- package/web-dist/components/checkbox/Checkbox.js +13 -13
- package/web-dist/components/checkbox-group/CheckboxGroup.js +13 -13
- package/web-dist/components/chess-board/ChessBoard.js +4 -5
- package/web-dist/components/chip/Chip.js +14 -14
- package/web-dist/components/chip-group/ChipGroup.js +14 -14
- package/web-dist/components/collection-editor/CollectionEditor.js +20 -20
- package/web-dist/components/content-rail/ContentRail.js +14 -14
- package/web-dist/components/data-table/DataTable.js +28 -28
- package/web-dist/components/date-picker/DatePicker.js +19 -19
- package/web-dist/components/dialog/Dialog.js +14 -14
- package/web-dist/components/divider/Divider.js +6 -7
- package/web-dist/components/empty-state/EmptyState.js +21 -21
- package/web-dist/components/field/Field.js +13 -13
- package/web-dist/components/flat-list/FlatList.js +14 -14
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +22 -22
- package/web-dist/components/form/Form.js +17 -17
- package/web-dist/components/form-actions/FormActions.js +17 -17
- package/web-dist/components/form-error/FormError.js +17 -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 +7 -7
- package/web-dist/components/hero/Hero.js +20 -20
- package/web-dist/components/icon/Icon.js +5 -5
- package/web-dist/components/icon-button/IconButton.js +13 -13
- package/web-dist/components/image/Image.js +11 -11
- package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +3 -4
- package/web-dist/components/list/List.js +14 -14
- package/web-dist/components/list-item/ListItem.js +14 -14
- package/web-dist/components/list-section/ListSection.js +14 -14
- package/web-dist/components/media-card/MediaCard.js +20 -20
- package/web-dist/components/message-bubble/MessageBubble.js +17 -17
- package/web-dist/components/metric-card/MetricCard.js +20 -20
- package/web-dist/components/missing-element/MissingElement.js +12 -12
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +22 -22
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +22 -22
- package/web-dist/components/opening-book/OpeningBook.js +4 -5
- package/web-dist/components/otp-form/OtpForm.js +22 -22
- package/web-dist/components/pagination/Pagination.js +14 -14
- package/web-dist/components/palette-item/PaletteItem.js +20 -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 +16 -16
- package/web-dist/components/post-card/PostCard.js +20 -20
- package/web-dist/components/product-card/ProductCard.js +20 -20
- package/web-dist/components/progress/Progress.js +11 -11
- package/web-dist/components/progress-ring/ProgressRing.js +11 -11
- package/web-dist/components/radio/Radio.js +15 -15
- package/web-dist/components/radio-group/RadioGroup.js +15 -15
- package/web-dist/components/rating/Rating.js +10 -10
- package/web-dist/components/reader-surface/ReaderSurface.js +23 -23
- package/web-dist/components/scan-overlay/ScanOverlay.js +21 -21
- package/web-dist/components/screen/Screen.js +6 -7
- package/web-dist/components/screen-section/ScreenSection.js +11 -11
- package/web-dist/components/scroll-view/ScrollView.js +6 -7
- package/web-dist/components/search-input/SearchInput.js +14 -14
- package/web-dist/components/section-header/SectionHeader.js +11 -11
- package/web-dist/components/section-list/SectionList.js +14 -14
- package/web-dist/components/select/Select.js +18 -18
- 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 +22 -22
- package/web-dist/components/sign-up-form/SignUpForm.js +22 -22
- package/web-dist/components/skeleton/Skeleton.js +23 -23
- package/web-dist/components/skeleton-card/SkeletonCard.js +23 -23
- package/web-dist/components/skeleton-list/SkeletonList.js +23 -23
- package/web-dist/components/skeleton-text/SkeletonText.js +23 -23
- package/web-dist/components/surface/Surface.js +7 -8
- package/web-dist/components/switch/Switch.js +8 -9
- 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 +7 -7
- package/web-dist/components/text-input/TextInput.js +14 -14
- package/web-dist/components/time-picker/TimePicker.js +19 -19
- package/web-dist/components/timeline/Timeline.js +12 -12
- package/web-dist/components/toast/Toast.js +10 -11
- package/web-dist/components/toast-provider/ToastProvider.js +10 -11
- package/web-dist/components/toolbar/Toolbar.js +20 -20
- package/web-dist/components/tree-item/TreeItem.js +18 -18
- package/web-dist/components/uploader/Uploader.js +24 -24
- package/web-dist/components/view/View.js +6 -7
- package/web-dist/manifest.json +1779 -1693
- package/web-dist/runtime/ZoraProvider.js +14 -15
- package/web-dist/chunks/Accordion-kcx57mk5.js +0 -39
|
@@ -4,39 +4,39 @@ import {
|
|
|
4
4
|
} from "./Accordion-mnac2z83.js";
|
|
5
5
|
import {
|
|
6
6
|
View3
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-wytj5wwc.js";
|
|
8
8
|
import {
|
|
9
9
|
require_cjs,
|
|
10
10
|
useTheme
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-pvz3r99n.js";
|
|
12
12
|
import {
|
|
13
13
|
Pressable
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-8bxy3g7a.js";
|
|
15
15
|
import {
|
|
16
16
|
Text2
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-rmp9sfra.js";
|
|
18
18
|
import {
|
|
19
19
|
withZoraThemeScope
|
|
20
|
-
} from "./Accordion-
|
|
20
|
+
} from "./Accordion-8z7naxj2.js";
|
|
21
21
|
import {
|
|
22
22
|
View2
|
|
23
|
-
} from "./Accordion-
|
|
23
|
+
} from "./Accordion-0yvepteg.js";
|
|
24
24
|
import {
|
|
25
25
|
Text3
|
|
26
|
-
} from "./Accordion-
|
|
26
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
27
27
|
import {
|
|
28
28
|
Icon2
|
|
29
|
-
} from "./Accordion-
|
|
29
|
+
} from "./Accordion-37n4bt3g.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveFieldState,
|
|
32
32
|
resolveIndicatorSize,
|
|
33
33
|
resolveSelectionControlNextChecked,
|
|
34
34
|
resolveSelectionControlColors
|
|
35
|
-
} from "./Accordion-
|
|
35
|
+
} from "./Accordion-n7y08rz5.js";
|
|
36
36
|
import {
|
|
37
37
|
useZoraThemeRecipe,
|
|
38
38
|
ZORA_COLORS
|
|
39
|
-
} from "./Accordion-
|
|
39
|
+
} from "./Accordion-kxa15n19.js";
|
|
40
40
|
import {
|
|
41
41
|
__toESM
|
|
42
42
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
import {
|
|
3
3
|
resolveResponsive,
|
|
4
4
|
useResponsiveRuntime
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-gkx1kszz.js";
|
|
6
6
|
import {
|
|
7
7
|
View3,
|
|
8
8
|
Divider3
|
|
9
|
-
} from "./Accordion-
|
|
9
|
+
} from "./Accordion-wytj5wwc.js";
|
|
10
10
|
import {
|
|
11
11
|
require_cjs,
|
|
12
12
|
useTheme
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-pvz3r99n.js";
|
|
14
14
|
import {
|
|
15
15
|
withZoraThemeScope
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-8z7naxj2.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveSpacing,
|
|
19
19
|
resolveViewStyles
|
|
20
|
-
} from "./Accordion-
|
|
20
|
+
} from "./Accordion-v4n4ygwn.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
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
|
Icon2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-37n4bt3g.js";
|
|
11
11
|
import {
|
|
12
12
|
View2,
|
|
13
13
|
Divider2
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-0yvepteg.js";
|
|
15
15
|
import {
|
|
16
16
|
Heading2,
|
|
17
17
|
Text3
|
|
18
|
-
} from "./Accordion-
|
|
18
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
19
19
|
import {
|
|
20
20
|
__toESM
|
|
21
21
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
FocusScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-3m6de80j.js";
|
|
5
5
|
import {
|
|
6
6
|
Portal
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-0gfsj9qh.js";
|
|
8
8
|
import {
|
|
9
9
|
resolvePointerEvents,
|
|
10
10
|
View3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-wytj5wwc.js";
|
|
12
12
|
import {
|
|
13
13
|
require_cjs,
|
|
14
14
|
useTheme
|
|
15
|
-
} from "./Accordion-
|
|
15
|
+
} from "./Accordion-pvz3r99n.js";
|
|
16
16
|
import {
|
|
17
17
|
Surface3
|
|
18
|
-
} from "./Accordion-
|
|
18
|
+
} from "./Accordion-g2d4fskg.js";
|
|
19
19
|
import {
|
|
20
20
|
withZoraThemeScope
|
|
21
|
-
} from "./Accordion-
|
|
21
|
+
} from "./Accordion-8z7naxj2.js";
|
|
22
22
|
import {
|
|
23
23
|
View2
|
|
24
|
-
} from "./Accordion-
|
|
24
|
+
} from "./Accordion-0yvepteg.js";
|
|
25
25
|
import {
|
|
26
26
|
Heading2,
|
|
27
27
|
Text3
|
|
28
|
-
} from "./Accordion-
|
|
28
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
29
29
|
import {
|
|
30
30
|
resolveOverlayAnimation
|
|
31
|
-
} from "./Accordion-
|
|
31
|
+
} from "./Accordion-n7y08rz5.js";
|
|
32
32
|
import {
|
|
33
33
|
__toESM
|
|
34
34
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
} from "./Accordion-mnac2z83.js";
|
|
5
5
|
import {
|
|
6
6
|
View3
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-wytj5wwc.js";
|
|
8
8
|
import {
|
|
9
9
|
useTheme
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-pvz3r99n.js";
|
|
11
11
|
import {
|
|
12
12
|
Pressable
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-8bxy3g7a.js";
|
|
14
14
|
import {
|
|
15
15
|
Text2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-rmp9sfra.js";
|
|
17
17
|
import {
|
|
18
18
|
withZoraThemeScope
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-8z7naxj2.js";
|
|
20
20
|
import {
|
|
21
21
|
View2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-0yvepteg.js";
|
|
23
23
|
import {
|
|
24
24
|
Text3
|
|
25
|
-
} from "./Accordion-
|
|
25
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveFieldState,
|
|
28
28
|
resolveIndicatorSize,
|
|
29
29
|
resolveSelectionControlNextChecked,
|
|
30
30
|
resolveSelectionControlColors
|
|
31
|
-
} from "./Accordion-
|
|
31
|
+
} from "./Accordion-n7y08rz5.js";
|
|
32
32
|
|
|
33
33
|
// node_modules/@ankhorage/surface/src/features/form/checkbox/adapters/inbound/Checkbox.tsx
|
|
34
34
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Icon3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-mbqtk7y0.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-8z7naxj2.js";
|
|
8
8
|
|
|
9
9
|
// src/features/icon/adapters/inbound/Icon.tsx
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
require_cjs,
|
|
4
4
|
parseHexColor,
|
|
5
5
|
getReadableForeground
|
|
6
|
-
} from "./Accordion-
|
|
6
|
+
} from "./Accordion-pvz3r99n.js";
|
|
7
7
|
import {
|
|
8
8
|
withZoraThemeScope
|
|
9
|
-
} from "./Accordion-
|
|
9
|
+
} from "./Accordion-8z7naxj2.js";
|
|
10
10
|
import {
|
|
11
11
|
useZoraTheme2
|
|
12
|
-
} from "./Accordion-
|
|
12
|
+
} from "./Accordion-6xrse5my.js";
|
|
13
13
|
import {
|
|
14
14
|
__toESM
|
|
15
15
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
// node_modules/@ankhorage/surface/src/internal/resolvers/resolveSurfaceColor.ts
|
|
3
|
+
function resolveSurfaceColor(theme, color = "primary") {
|
|
4
|
+
switch (color) {
|
|
5
|
+
case "secondary":
|
|
6
|
+
return theme.semantics.secondary;
|
|
7
|
+
case "tertiary":
|
|
8
|
+
return theme.semantics.accent;
|
|
9
|
+
case "quaternary":
|
|
10
|
+
return theme.semantics.highlight;
|
|
11
|
+
case "neutral":
|
|
12
|
+
return theme.semantics.action.neutral;
|
|
13
|
+
case "error":
|
|
14
|
+
return theme.semantics.error;
|
|
15
|
+
case "info":
|
|
16
|
+
return theme.semantics.info;
|
|
17
|
+
case "danger":
|
|
18
|
+
return theme.semantics.action.danger;
|
|
19
|
+
case "success":
|
|
20
|
+
return theme.semantics.success;
|
|
21
|
+
case "warning":
|
|
22
|
+
return theme.semantics.warning;
|
|
23
|
+
case "primary":
|
|
24
|
+
default:
|
|
25
|
+
return theme.semantics.action.primary;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// node_modules/@ankhorage/surface/src/internal/resolvers/resolveTextColor.ts
|
|
30
|
+
function resolveTextColor(theme, emphasis = "default", color) {
|
|
31
|
+
if (color) {
|
|
32
|
+
if (emphasis === "inverse") {
|
|
33
|
+
return resolveSurfaceColor(theme, color).onSolidText;
|
|
34
|
+
}
|
|
35
|
+
const role = resolveSurfaceColor(theme, color);
|
|
36
|
+
return theme.inverted ? role.onSurfaceText : role.base;
|
|
37
|
+
}
|
|
38
|
+
switch (emphasis) {
|
|
39
|
+
case "muted":
|
|
40
|
+
return theme.semantics.content.muted;
|
|
41
|
+
case "subtle":
|
|
42
|
+
return theme.semantics.content.subtle;
|
|
43
|
+
case "inverse":
|
|
44
|
+
return theme.semantics.content.inverse;
|
|
45
|
+
default:
|
|
46
|
+
return theme.semantics.content.default;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { resolveSurfaceColor, resolveTextColor };
|
|
@@ -2,19 +2,19 @@
|
|
|
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
|
Icon2
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-37n4bt3g.js";
|
|
12
12
|
import {
|
|
13
13
|
View2
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-0yvepteg.js";
|
|
15
15
|
import {
|
|
16
16
|
useZoraTheme2
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-6xrse5my.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveToken
|
|
20
20
|
} from "./Accordion-fre84yaq.js";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
require_cjs
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-pvz3r99n.js";
|
|
5
5
|
import {
|
|
6
6
|
Button2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-snyacfyh.js";
|
|
8
8
|
import {
|
|
9
9
|
withZoraThemeScope
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-8z7naxj2.js";
|
|
11
11
|
import {
|
|
12
12
|
View2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-0yvepteg.js";
|
|
14
14
|
import {
|
|
15
15
|
Card2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-a1ervhyg.js";
|
|
17
17
|
import {
|
|
18
18
|
Text3
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
20
20
|
import {
|
|
21
21
|
Badge2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-d24n7srd.js";
|
|
23
23
|
import {
|
|
24
24
|
useZoraTheme2
|
|
25
|
-
} from "./Accordion-
|
|
25
|
+
} from "./Accordion-6xrse5my.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
28
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
Icon2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-37n4bt3g.js";
|
|
11
11
|
import {
|
|
12
12
|
View2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-0yvepteg.js";
|
|
14
14
|
import {
|
|
15
15
|
Text3
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-e2kr1z3g.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,10 +1,10 @@
|
|
|
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
|
|
|
9
9
|
// src/features/gradient/adapters/inbound/GradientRendererContext.tsx
|
|
10
10
|
import { createContext, use } from "react";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
useResponsiveRuntime
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-gkx1kszz.js";
|
|
5
5
|
import {
|
|
6
6
|
require_cjs,
|
|
7
7
|
useTheme
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-pvz3r99n.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveFocusRingStyles,
|
|
11
11
|
resolveInteractiveState
|
|
12
|
-
} from "./Accordion-
|
|
12
|
+
} from "./Accordion-n7y08rz5.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveViewStyles
|
|
15
|
-
} from "./Accordion-
|
|
15
|
+
} from "./Accordion-v4n4ygwn.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
18
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
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
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-0gfsj9qh.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveOverlayAnimation
|
|
20
|
-
} from "./Accordion-
|
|
20
|
+
} from "./Accordion-n7y08rz5.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./Accordion-9qvmwkxe.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";
|
|
@@ -19,13 +17,14 @@ import React2 from "react";
|
|
|
19
17
|
// node_modules/@ankhorage/surface/src/features/theme/adapters/inbound/ThemeScope.tsx
|
|
20
18
|
import { useMemo } from "react";
|
|
21
19
|
import { jsx } from "react/jsx-runtime";
|
|
22
|
-
function ThemeScope({ children, themeConfig, mode }) {
|
|
20
|
+
function ThemeScope({ children, themeConfig, mode, inverted }) {
|
|
23
21
|
const parent = useTheme();
|
|
24
22
|
const { activeFontId } = useFontRuntime();
|
|
25
23
|
const scopedMode = mode ?? parent.mode;
|
|
24
|
+
const scopedInverted = inverted ?? parent.inverted ?? false;
|
|
26
25
|
const scopedConfig = useMemo(() => themeConfig ? deepMerge(parent.theme.config, themeConfig) : parent.theme.config, [parent.theme.config, themeConfig]);
|
|
27
|
-
const theme = useMemo(() => createTheme(scopedConfig, scopedMode, activeFontId), [activeFontId, scopedConfig, scopedMode]);
|
|
28
|
-
const value = useMemo(() => ({ ...parent, theme, mode: scopedMode }), [parent, scopedMode, theme]);
|
|
26
|
+
const theme = useMemo(() => createTheme(scopedConfig, scopedMode, activeFontId, scopedInverted), [activeFontId, scopedConfig, scopedMode, scopedInverted]);
|
|
27
|
+
const value = useMemo(() => ({ ...parent, theme, mode: scopedMode, inverted: scopedInverted }), [parent, scopedMode, scopedInverted, theme]);
|
|
29
28
|
return /* @__PURE__ */ jsx(ThemeRuntimeContext, {
|
|
30
29
|
value,
|
|
31
30
|
children
|
|
@@ -53,24 +52,26 @@ function resolveZoraScopedThemeId({
|
|
|
53
52
|
|
|
54
53
|
// src/features/theme/adapters/inbound/ZoraThemeScope.tsx
|
|
55
54
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
56
|
-
function ZoraThemeScope({ children, themeId, mode }) {
|
|
57
|
-
if (mode === undefined && themeId === undefined)
|
|
55
|
+
function ZoraThemeScope({ children, themeId, mode, inverted }) {
|
|
56
|
+
if (mode === undefined && themeId === undefined && inverted === undefined)
|
|
58
57
|
return children;
|
|
59
58
|
return /* @__PURE__ */ jsx2(ZoraThemeScopeInner, {
|
|
60
59
|
mode,
|
|
61
60
|
themeId,
|
|
61
|
+
inverted,
|
|
62
62
|
children
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
function ZoraThemeScopeInner({ children, themeId, mode }) {
|
|
65
|
+
function ZoraThemeScopeInner({ children, themeId, mode, inverted }) {
|
|
66
66
|
const parentRuntime = useZoraThemeRuntime();
|
|
67
67
|
const scopedThemeId = resolveZoraScopedThemeId({
|
|
68
68
|
desiredThemeId: themeId,
|
|
69
69
|
inheritedThemeId: parentRuntime.themeId
|
|
70
70
|
});
|
|
71
71
|
const scopedRuntimeValue = useMemo2(() => ({ themeId: scopedThemeId }), [scopedThemeId]);
|
|
72
|
-
const scopedChildren = mode === undefined ? children : /* @__PURE__ */ jsx2(ThemeScope, {
|
|
72
|
+
const scopedChildren = mode === undefined && inverted === undefined ? children : /* @__PURE__ */ jsx2(ThemeScope, {
|
|
73
73
|
mode,
|
|
74
|
+
inverted,
|
|
74
75
|
children
|
|
75
76
|
});
|
|
76
77
|
return /* @__PURE__ */ jsx2(ZoraThemeRuntimeContext, {
|
|
@@ -83,13 +84,18 @@ function ZoraThemeScopeInner({ children, themeId, mode }) {
|
|
|
83
84
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
84
85
|
function withZoraThemeScope(Component) {
|
|
85
86
|
const Wrapped = (props) => {
|
|
86
|
-
|
|
87
|
-
|
|
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);
|
|
88
93
|
}
|
|
89
94
|
return /* @__PURE__ */ jsx3(ZoraThemeScope, {
|
|
90
95
|
mode: props.mode,
|
|
91
96
|
themeId: props.themeId,
|
|
92
|
-
|
|
97
|
+
inverted: props.inverted,
|
|
98
|
+
children: React2.createElement(Component, componentProps)
|
|
93
99
|
});
|
|
94
100
|
};
|
|
95
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";
|
|
@@ -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,
|