@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
|
@@ -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";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
// node_modules/@ankhorage/surface/src/constants/surfaceColor.ts
|
|
3
|
+
var SURFACE_PALETTE_COLORS = [
|
|
4
|
+
"primary",
|
|
5
|
+
"secondary",
|
|
6
|
+
"tertiary",
|
|
7
|
+
"quaternary",
|
|
8
|
+
"neutral"
|
|
9
|
+
];
|
|
10
|
+
var SURFACE_STATUS_COLORS = ["success", "warning", "error", "info"];
|
|
11
|
+
var SURFACE_COLORS = [
|
|
12
|
+
...SURFACE_PALETTE_COLORS,
|
|
13
|
+
...SURFACE_STATUS_COLORS,
|
|
14
|
+
"danger"
|
|
15
|
+
];
|
|
16
|
+
var SURFACE_EMPHASES = ["default", "muted", "subtle", "inverse"];
|
|
17
|
+
|
|
18
|
+
export { SURFACE_COLORS, SURFACE_EMPHASES };
|
|
@@ -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,20 +1,20 @@
|
|
|
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
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-n7y08rz5.js";
|
|
18
18
|
|
|
19
19
|
// node_modules/@ankhorage/surface/src/features/badge/adapters/inbound/Badge.tsx
|
|
20
20
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -39,8 +39,7 @@ function Badge({
|
|
|
39
39
|
style: resolveBadgeStyle(colors.backgroundColor, colors.borderColor, variant),
|
|
40
40
|
testID,
|
|
41
41
|
children: /* @__PURE__ */ jsx(Text2, {
|
|
42
|
-
color,
|
|
43
|
-
emphasis: variant === "solid" ? "inverse" : "default",
|
|
42
|
+
style: { color: colors.contentColor },
|
|
44
43
|
variant: "bodySmall",
|
|
45
44
|
weight: "medium",
|
|
46
45
|
children: content
|
|
@@ -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-7hn324r1.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,7 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import {
|
|
3
|
+
SURFACE_COLORS,
|
|
4
|
+
SURFACE_EMPHASES
|
|
5
|
+
} from "./Accordion-bfzeab9x.js";
|
|
2
6
|
import {
|
|
3
7
|
useZoraTheme2
|
|
4
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-6xrse5my.js";
|
|
5
9
|
|
|
6
10
|
// src/features/theme/utils/resolveZoraThemeRecipe.ts
|
|
7
11
|
function resolveZoraThemeRecipe(theme, meta) {
|
|
@@ -59,22 +63,6 @@ function useZoraThemeRecipe(meta) {
|
|
|
59
63
|
return resolveZoraThemeRecipe(theme, meta);
|
|
60
64
|
}
|
|
61
65
|
|
|
62
|
-
// node_modules/@ankhorage/surface/src/constants/surfaceColor.ts
|
|
63
|
-
var SURFACE_PALETTE_COLORS = [
|
|
64
|
-
"primary",
|
|
65
|
-
"secondary",
|
|
66
|
-
"tertiary",
|
|
67
|
-
"quaternary",
|
|
68
|
-
"neutral"
|
|
69
|
-
];
|
|
70
|
-
var SURFACE_STATUS_COLORS = ["success", "warning", "error", "info"];
|
|
71
|
-
var SURFACE_COLORS = [
|
|
72
|
-
...SURFACE_PALETTE_COLORS,
|
|
73
|
-
...SURFACE_STATUS_COLORS,
|
|
74
|
-
"danger"
|
|
75
|
-
];
|
|
76
|
-
var SURFACE_EMPHASES = ["default", "muted", "subtle", "inverse"];
|
|
77
|
-
|
|
78
66
|
// src/features/theme/colorModel.ts
|
|
79
67
|
var ZORA_COLORS = SURFACE_COLORS;
|
|
80
68
|
var ZORA_EMPHASES = SURFACE_EMPHASES;
|
|
@@ -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";
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import {
|
|
3
|
+
SURFACE_COLORS
|
|
4
|
+
} from "./Accordion-bfzeab9x.js";
|
|
2
5
|
import {
|
|
3
6
|
require_cjs,
|
|
4
7
|
useTheme
|
|
5
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-pvz3r99n.js";
|
|
9
|
+
import {
|
|
10
|
+
resolveTextColor
|
|
11
|
+
} from "./Accordion-6a2hscrx.js";
|
|
6
12
|
import {
|
|
7
13
|
resolveToken
|
|
8
14
|
} from "./Accordion-fre84yaq.js";
|
|
@@ -13494,12 +13500,15 @@ function Icon3(props) {
|
|
|
13494
13500
|
const size = props.size ?? "m";
|
|
13495
13501
|
const color = props.color ?? "text";
|
|
13496
13502
|
const resolvedSize = typeof size === "number" ? size : resolveToken(theme.spacing, size);
|
|
13497
|
-
const resolvedColor = resolveToken(theme.colors, color);
|
|
13503
|
+
const resolvedColor = typeof color === "string" && isSurfaceColor(color) ? resolveTextColor(theme, "default", color) : resolveToken(theme.colors, color);
|
|
13498
13504
|
return /* @__PURE__ */ jsx2(PortableIcon, {
|
|
13499
13505
|
...props,
|
|
13500
13506
|
color: resolvedColor,
|
|
13501
13507
|
size: resolvedSize
|
|
13502
13508
|
});
|
|
13503
13509
|
}
|
|
13510
|
+
function isSurfaceColor(value) {
|
|
13511
|
+
return SURFACE_COLORS.some((role) => role === value);
|
|
13512
|
+
}
|
|
13504
13513
|
|
|
13505
13514
|
export { Icon3 };
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import {
|
|
3
|
+
resolveSurfaceColor
|
|
4
|
+
} from "./Accordion-6a2hscrx.js";
|
|
5
|
+
|
|
2
6
|
// node_modules/@ankhorage/surface/src/internal/resolvers/resolveControlSize.ts
|
|
3
7
|
function resolveControlSize(theme, size = "m") {
|
|
4
8
|
switch (size) {
|
|
@@ -136,33 +140,6 @@ function resolveIndicatorSize(size = "m") {
|
|
|
136
140
|
}
|
|
137
141
|
}
|
|
138
142
|
|
|
139
|
-
// node_modules/@ankhorage/surface/src/internal/resolvers/resolveSurfaceColor.ts
|
|
140
|
-
function resolveSurfaceColor(theme, color = "primary") {
|
|
141
|
-
switch (color) {
|
|
142
|
-
case "secondary":
|
|
143
|
-
return theme.semantics.secondary;
|
|
144
|
-
case "tertiary":
|
|
145
|
-
return theme.semantics.accent;
|
|
146
|
-
case "quaternary":
|
|
147
|
-
return theme.semantics.highlight;
|
|
148
|
-
case "neutral":
|
|
149
|
-
return theme.semantics.action.neutral;
|
|
150
|
-
case "error":
|
|
151
|
-
return theme.semantics.error;
|
|
152
|
-
case "info":
|
|
153
|
-
return theme.semantics.info;
|
|
154
|
-
case "danger":
|
|
155
|
-
return theme.semantics.action.danger;
|
|
156
|
-
case "success":
|
|
157
|
-
return theme.semantics.success;
|
|
158
|
-
case "warning":
|
|
159
|
-
return theme.semantics.warning;
|
|
160
|
-
case "primary":
|
|
161
|
-
default:
|
|
162
|
-
return theme.semantics.action.primary;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
143
|
// node_modules/@ankhorage/surface/src/internal/resolvers/resolveInteractiveColors.ts
|
|
167
144
|
function resolveButtonColors(theme, {
|
|
168
145
|
variant,
|
|
@@ -182,13 +159,13 @@ function resolveButtonColors(theme, {
|
|
|
182
159
|
return {
|
|
183
160
|
backgroundColor: state.pressed ? semanticTone.softActive : state.hovered ? semanticTone.softHover : "transparent",
|
|
184
161
|
borderColor: semanticTone.outline,
|
|
185
|
-
contentColor: semanticTone
|
|
162
|
+
contentColor: resolveTransparentContentColor(semanticTone, state)
|
|
186
163
|
};
|
|
187
164
|
case "ghost":
|
|
188
165
|
return {
|
|
189
166
|
backgroundColor: state.pressed ? semanticTone.softActive : state.hovered ? semanticTone.softHover : "transparent",
|
|
190
167
|
borderColor: "transparent",
|
|
191
|
-
contentColor: semanticTone
|
|
168
|
+
contentColor: resolveTransparentContentColor(semanticTone, state)
|
|
192
169
|
};
|
|
193
170
|
case "soft":
|
|
194
171
|
return {
|
|
@@ -205,6 +182,13 @@ function resolveButtonColors(theme, {
|
|
|
205
182
|
};
|
|
206
183
|
}
|
|
207
184
|
}
|
|
185
|
+
function resolveTransparentContentColor(role, state) {
|
|
186
|
+
if (state.pressed)
|
|
187
|
+
return role.onSoftActiveText;
|
|
188
|
+
if (state.hovered)
|
|
189
|
+
return role.onSoftHoverText;
|
|
190
|
+
return role.onSurfaceText;
|
|
191
|
+
}
|
|
208
192
|
function resolveInputColors(theme, fieldState) {
|
|
209
193
|
if (fieldState.disabled) {
|
|
210
194
|
return {
|
|
@@ -336,25 +320,6 @@ var BASE_Z_INDEX = {
|
|
|
336
320
|
function resolveOverlayZIndex(layer, stackIndex = 0) {
|
|
337
321
|
return BASE_Z_INDEX[layer] + stackIndex;
|
|
338
322
|
}
|
|
339
|
-
// node_modules/@ankhorage/surface/src/internal/resolvers/resolveTextColor.ts
|
|
340
|
-
function resolveTextColor(theme, emphasis = "default", color) {
|
|
341
|
-
if (color) {
|
|
342
|
-
if (emphasis === "inverse") {
|
|
343
|
-
return resolveSurfaceColor(theme, color).onSolidText;
|
|
344
|
-
}
|
|
345
|
-
return resolveSurfaceColor(theme, color).base;
|
|
346
|
-
}
|
|
347
|
-
switch (emphasis) {
|
|
348
|
-
case "muted":
|
|
349
|
-
return theme.semantics.content.muted;
|
|
350
|
-
case "subtle":
|
|
351
|
-
return theme.semantics.content.subtle;
|
|
352
|
-
case "inverse":
|
|
353
|
-
return theme.semantics.content.inverse;
|
|
354
|
-
default:
|
|
355
|
-
return theme.semantics.content.default;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
323
|
// node_modules/@ankhorage/surface/src/internal/resolvers/resolveTextStyles.ts
|
|
359
324
|
function resolveWeight(theme, value) {
|
|
360
325
|
if (!value)
|
|
@@ -420,4 +385,4 @@ function resolveTextStyles(theme, options = {}) {
|
|
|
420
385
|
elevation: 0
|
|
421
386
|
};
|
|
422
387
|
}
|
|
423
|
-
export { resolveControlSize, resolveFieldPresentation, resolveFieldState, resolveFocusRingStyles, resolveIconSize2, resolveIndicatorSize, resolveButtonColors, resolveInputColors, resolveInteractiveState, resolveOverlayAnimation, resolveOverlayZIndex, resolveSelectionControlNextChecked, resolveSelectionControlColors,
|
|
388
|
+
export { resolveControlSize, resolveFieldPresentation, resolveFieldState, resolveFocusRingStyles, resolveIconSize2, resolveIndicatorSize, resolveButtonColors, resolveInputColors, resolveInteractiveState, resolveOverlayAnimation, resolveOverlayZIndex, resolveSelectionControlNextChecked, resolveSelectionControlColors, resolveTextStyles };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Button2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-snyacfyh.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
|
|
|
18
18
|
// src/features/form/adapters/inbound/FormActions.tsx
|
|
19
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -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
|
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
|
resolveIconSize
|
|
19
19
|
} from "./Accordion-961ncx4e.js";
|
|
20
20
|
import {
|
|
21
21
|
useZoraTheme2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-6xrse5my.js";
|
|
23
23
|
|
|
24
24
|
// src/features/chip/utils/resolveChipColors.ts
|
|
25
25
|
function resolveChipColors({
|
|
@@ -4,38 +4,38 @@ import {
|
|
|
4
4
|
} from "./Accordion-6zb9d92y.js";
|
|
5
5
|
import {
|
|
6
6
|
FocusScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-3m6de80j.js";
|
|
8
8
|
import {
|
|
9
9
|
View3
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-wytj5wwc.js";
|
|
11
11
|
import {
|
|
12
12
|
require_cjs,
|
|
13
13
|
useTheme
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-pvz3r99n.js";
|
|
15
15
|
import {
|
|
16
16
|
Popover
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-vjgk1sz7.js";
|
|
18
18
|
import {
|
|
19
19
|
Surface3
|
|
20
|
-
} from "./Accordion-
|
|
20
|
+
} from "./Accordion-g2d4fskg.js";
|
|
21
21
|
import {
|
|
22
22
|
Text2
|
|
23
|
-
} from "./Accordion-
|
|
23
|
+
} from "./Accordion-rmp9sfra.js";
|
|
24
24
|
import {
|
|
25
25
|
withZoraThemeScope
|
|
26
|
-
} from "./Accordion-
|
|
26
|
+
} from "./Accordion-8z7naxj2.js";
|
|
27
27
|
import {
|
|
28
28
|
Icon2
|
|
29
|
-
} from "./Accordion-
|
|
29
|
+
} from "./Accordion-37n4bt3g.js";
|
|
30
30
|
import {
|
|
31
31
|
View2
|
|
32
|
-
} from "./Accordion-
|
|
32
|
+
} from "./Accordion-0yvepteg.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveIconSize
|
|
35
35
|
} from "./Accordion-961ncx4e.js";
|
|
36
36
|
import {
|
|
37
37
|
useZoraTheme2
|
|
38
|
-
} from "./Accordion-
|
|
38
|
+
} from "./Accordion-6xrse5my.js";
|
|
39
39
|
import {
|
|
40
40
|
__toESM
|
|
41
41
|
} from "./Accordion-9qvmwkxe.js";
|