@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
|
@@ -22861,6 +22861,198 @@ function generatePalette(config, mode = "light") {
|
|
|
22861
22861
|
};
|
|
22862
22862
|
}
|
|
22863
22863
|
|
|
22864
|
+
// node_modules/@ankhorage/surface/src/features/theme/domain/resolveInverseSurface.ts
|
|
22865
|
+
function resolveInverseSurface(theme, lightSurface, collector) {
|
|
22866
|
+
const { neutral } = theme.swatches;
|
|
22867
|
+
const base = theme.semantics.surface.inverse;
|
|
22868
|
+
const adjacent = lightSurface ? neutral[100] : neutral[800];
|
|
22869
|
+
const sunken = lightSurface ? neutral[200] : neutral[950];
|
|
22870
|
+
const surface = {
|
|
22871
|
+
...theme.semantics.surface,
|
|
22872
|
+
default: base,
|
|
22873
|
+
subtle: adjacent,
|
|
22874
|
+
raised: adjacent,
|
|
22875
|
+
sunken,
|
|
22876
|
+
overlay: adjacent,
|
|
22877
|
+
disabled: adjacent,
|
|
22878
|
+
inverse: theme.semantics.surface.default
|
|
22879
|
+
};
|
|
22880
|
+
return { surface, surfaceSeparation: measureInverseSurfaceSeparation(surface, collector) };
|
|
22881
|
+
}
|
|
22882
|
+
function measureInverseSurfaceSeparation(surface, collector) {
|
|
22883
|
+
const background = parseHexColorOrThrow(surface.sunken);
|
|
22884
|
+
const surfaces = [
|
|
22885
|
+
["surface.default", surface.default],
|
|
22886
|
+
["surface.raised", surface.raised],
|
|
22887
|
+
["surface.disabled", surface.disabled]
|
|
22888
|
+
];
|
|
22889
|
+
return surfaces.map(([id, foreground]) => collector.measureSurface(id, parseHexColorOrThrow(foreground), background, SURFACE_COLOR_POLICY.surfaceSeparation));
|
|
22890
|
+
}
|
|
22891
|
+
|
|
22892
|
+
// node_modules/@ankhorage/surface/src/features/theme/domain/projectInvertedTheme.ts
|
|
22893
|
+
function projectInvertedTheme(theme) {
|
|
22894
|
+
const collector = createSurfaceColorDiagnosticCollector();
|
|
22895
|
+
const lightSurface = theme.colorDiagnostics.mode === "dark";
|
|
22896
|
+
const { neutral } = theme.swatches;
|
|
22897
|
+
const { surface, surfaceSeparation } = resolveInverseSurface(theme, lightSurface, collector);
|
|
22898
|
+
const selection = createInverseSelection(collector, surface, neutral, lightSurface);
|
|
22899
|
+
const content = resolveInverseContent(theme, selection);
|
|
22900
|
+
const border = resolveInverseBorder(theme, selection);
|
|
22901
|
+
const roles = resolveInverseRoles(theme, selection);
|
|
22902
|
+
const { neutralAction, ...semanticRoles } = roles;
|
|
22903
|
+
const semantics = {
|
|
22904
|
+
...theme.semantics,
|
|
22905
|
+
neutral: resolveInverseNeutral(theme, surface, content, border, neutral, lightSurface),
|
|
22906
|
+
surface,
|
|
22907
|
+
content,
|
|
22908
|
+
border,
|
|
22909
|
+
...semanticRoles,
|
|
22910
|
+
error: roles.danger,
|
|
22911
|
+
selection: {
|
|
22912
|
+
background: roles.brand.softBg,
|
|
22913
|
+
content: roles.brand.onSoftText,
|
|
22914
|
+
border: border.focus
|
|
22915
|
+
},
|
|
22916
|
+
action: { primary: roles.brand, neutral: neutralAction, danger: roles.danger }
|
|
22917
|
+
};
|
|
22918
|
+
return {
|
|
22919
|
+
...theme,
|
|
22920
|
+
inverted: true,
|
|
22921
|
+
semantics,
|
|
22922
|
+
colors: {
|
|
22923
|
+
...theme.colors,
|
|
22924
|
+
background: surface.sunken,
|
|
22925
|
+
surface: surface.default,
|
|
22926
|
+
text: content.default,
|
|
22927
|
+
textSecondary: content.muted,
|
|
22928
|
+
border: border.default
|
|
22929
|
+
},
|
|
22930
|
+
colorDiagnostics: {
|
|
22931
|
+
...theme.colorDiagnostics,
|
|
22932
|
+
selections: [...theme.colorDiagnostics.selections, ...collector.selections],
|
|
22933
|
+
contrasts: [...theme.colorDiagnostics.contrasts, ...collector.contrasts],
|
|
22934
|
+
surfaceSeparation
|
|
22935
|
+
}
|
|
22936
|
+
};
|
|
22937
|
+
}
|
|
22938
|
+
function createInverseSelection(collector, surface, neutral, lightSurface) {
|
|
22939
|
+
return {
|
|
22940
|
+
collector,
|
|
22941
|
+
neutral,
|
|
22942
|
+
contexts: [
|
|
22943
|
+
{
|
|
22944
|
+
id: "inverse-surface",
|
|
22945
|
+
against: parseHexColorOrThrow(surface.default),
|
|
22946
|
+
minimumContrast: SURFACE_COLOR_POLICY.textContrast
|
|
22947
|
+
},
|
|
22948
|
+
{
|
|
22949
|
+
id: "inverse-subtle",
|
|
22950
|
+
against: parseHexColorOrThrow(surface.subtle),
|
|
22951
|
+
minimumContrast: SURFACE_COLOR_POLICY.textContrast
|
|
22952
|
+
},
|
|
22953
|
+
{
|
|
22954
|
+
id: "inverse-sunken",
|
|
22955
|
+
against: parseHexColorOrThrow(surface.sunken),
|
|
22956
|
+
minimumContrast: SURFACE_COLOR_POLICY.textContrast
|
|
22957
|
+
}
|
|
22958
|
+
],
|
|
22959
|
+
tiePolicy: lightSurface ? "higher-step" : "lower-step",
|
|
22960
|
+
textTarget: { lightness: lightSurface ? 0.2 : 0.9, chroma: 0.02 },
|
|
22961
|
+
mutedTarget: { lightness: lightSurface ? 0.35 : 0.75, chroma: 0.02 },
|
|
22962
|
+
subtleTarget: { lightness: lightSurface ? 0.4 : 0.7, chroma: 0.02 },
|
|
22963
|
+
borderTarget: { lightness: lightSurface ? 0.45 : 0.65, chroma: 0.02 }
|
|
22964
|
+
};
|
|
22965
|
+
}
|
|
22966
|
+
function resolveInverseContent(theme, selection) {
|
|
22967
|
+
const { neutral, primary } = theme.swatches;
|
|
22968
|
+
const secondary = theme.swatches.secondary ?? primary;
|
|
22969
|
+
return {
|
|
22970
|
+
default: selectText("content.default", neutral, selection.textTarget, selection),
|
|
22971
|
+
muted: selectText("content.muted", neutral, selection.mutedTarget, selection),
|
|
22972
|
+
subtle: selectText("content.subtle", neutral, selection.subtleTarget, selection),
|
|
22973
|
+
disabled: selectText("content.disabled", neutral, selection.subtleTarget, selection, SURFACE_COLOR_POLICY.disabledContrast),
|
|
22974
|
+
icon: selectText("content.icon", neutral, selection.textTarget, selection),
|
|
22975
|
+
link: selectText("content.link", primary, selection.textTarget, selection),
|
|
22976
|
+
visited: selectText("content.visited", secondary, selection.textTarget, selection),
|
|
22977
|
+
inverse: theme.semantics.content.default
|
|
22978
|
+
};
|
|
22979
|
+
}
|
|
22980
|
+
function resolveInverseBorder(theme, selection) {
|
|
22981
|
+
const { neutral } = theme.swatches;
|
|
22982
|
+
const outline = selection.borderTarget;
|
|
22983
|
+
return {
|
|
22984
|
+
default: selectOutline("border.default", neutral, outline, selection),
|
|
22985
|
+
subtle: selectOutline("border.subtle", neutral, outline, selection),
|
|
22986
|
+
strong: selectOutline("border.strong", neutral, outline, selection),
|
|
22987
|
+
divider: selectOutline("border.divider", neutral, outline, selection),
|
|
22988
|
+
focus: selectOutline("border.focus", theme.swatches.primary, selection.textTarget, selection)
|
|
22989
|
+
};
|
|
22990
|
+
}
|
|
22991
|
+
function resolveInverseRoles(theme, selection) {
|
|
22992
|
+
const status = createDefaultSemanticStatusSwatches().swatches;
|
|
22993
|
+
const { semantics } = theme;
|
|
22994
|
+
return {
|
|
22995
|
+
brand: projectRole("brand", semantics.brand, theme.swatches.primary, selection),
|
|
22996
|
+
secondary: projectRole("secondary", semantics.secondary, theme.swatches.secondary ?? theme.swatches.primary, selection),
|
|
22997
|
+
accent: projectRole("accent", semantics.accent, theme.swatches.tertiary ?? theme.swatches.primary, selection),
|
|
22998
|
+
highlight: projectRole("highlight", semantics.highlight, theme.swatches.quaternary ?? theme.swatches.primary, selection),
|
|
22999
|
+
danger: projectRole("danger", semantics.danger, status.danger, selection),
|
|
23000
|
+
success: projectRole("success", semantics.success, status.success, selection),
|
|
23001
|
+
warning: projectRole("warning", semantics.warning, status.warning, selection),
|
|
23002
|
+
info: projectRole("info", semantics.info, status.info, selection),
|
|
23003
|
+
neutralAction: projectRole("neutral", semantics.action.neutral, theme.swatches.neutral, selection)
|
|
23004
|
+
};
|
|
23005
|
+
}
|
|
23006
|
+
function projectRole(id, role, swatch, selection) {
|
|
23007
|
+
return {
|
|
23008
|
+
...role,
|
|
23009
|
+
onSurfaceText: selectText(`${id}.onSurfaceText`, swatch, selection.textTarget, selection),
|
|
23010
|
+
outline: selectOutline(`${id}.outline`, swatch, selection.borderTarget, selection)
|
|
23011
|
+
};
|
|
23012
|
+
}
|
|
23013
|
+
function resolveInverseNeutral(theme, surface, content, border, swatch, lightSurface) {
|
|
23014
|
+
return {
|
|
23015
|
+
...theme.semantics.neutral,
|
|
23016
|
+
bg: surface.sunken,
|
|
23017
|
+
bgSubtle: surface.subtle,
|
|
23018
|
+
surface: surface.default,
|
|
23019
|
+
surfaceHover: lightSurface ? swatch[200] : swatch[700],
|
|
23020
|
+
surfaceActive: lightSurface ? swatch[300] : swatch[600],
|
|
23021
|
+
border: border.default,
|
|
23022
|
+
borderStrong: border.strong,
|
|
23023
|
+
divider: border.divider,
|
|
23024
|
+
text: content.default,
|
|
23025
|
+
textMuted: content.muted,
|
|
23026
|
+
textSubtle: content.subtle,
|
|
23027
|
+
disabledBg: surface.disabled,
|
|
23028
|
+
disabledText: content.disabled
|
|
23029
|
+
};
|
|
23030
|
+
}
|
|
23031
|
+
function selectText(id, swatch, target, selection, minimumContrast = SURFACE_COLOR_POLICY.textContrast) {
|
|
23032
|
+
const contexts = selection.contexts.map((context) => ({ ...context, minimumContrast }));
|
|
23033
|
+
const color = selectInverseColor(id, swatch, target, contexts, selection);
|
|
23034
|
+
for (const context of contexts) {
|
|
23035
|
+
selection.collector.measureForeground(`inverse.${id}/${context.id}`, color, context.against, minimumContrast);
|
|
23036
|
+
}
|
|
23037
|
+
return color;
|
|
23038
|
+
}
|
|
23039
|
+
function selectOutline(id, swatch, target, selection) {
|
|
23040
|
+
const contexts = selection.contexts.map((context) => ({
|
|
23041
|
+
...context,
|
|
23042
|
+
minimumContrast: SURFACE_COLOR_POLICY.uiContrast
|
|
23043
|
+
}));
|
|
23044
|
+
const color = selectInverseColor(id, swatch, target, contexts, selection);
|
|
23045
|
+
for (const context of contexts) {
|
|
23046
|
+
selection.collector.measureForeground(`inverse.${id}/${context.id}`, color, context.against, SURFACE_COLOR_POLICY.uiContrast);
|
|
23047
|
+
}
|
|
23048
|
+
return color;
|
|
23049
|
+
}
|
|
23050
|
+
function selectInverseColor(id, swatch, target, contexts, selection) {
|
|
23051
|
+
const result = selectColorSwatchStep(swatch, target, contexts, selection.tiePolicy);
|
|
23052
|
+
selection.collector.selections.push({ id: `inverse.${id}`, result });
|
|
23053
|
+
return result.selected?.hex ?? selection.collector.selectColor(`inverse.${id}.neutralFallback`, selection.neutral, target, contexts, selection.tiePolicy);
|
|
23054
|
+
}
|
|
23055
|
+
|
|
22864
23056
|
// node_modules/@ankhorage/surface/src/features/theme/utils/resolveHeadingTokenOverrides.ts
|
|
22865
23057
|
var HEADING_KEYS = new Set(["1", "2", "3", "4", "5", "6"]);
|
|
22866
23058
|
var HEADING_WEIGHTS = new Set(["regular", "medium", "semiBold", "bold"]);
|
|
@@ -23006,7 +23198,7 @@ var DEFAULT_CONFIG = {
|
|
|
23006
23198
|
light: { primaryColor: "#3B82F6", harmony: "monochromatic" },
|
|
23007
23199
|
dark: { primaryColor: "#3B82F6", harmony: "monochromatic" }
|
|
23008
23200
|
};
|
|
23009
|
-
function createTheme(config = DEFAULT_CONFIG, mode = "light", activeFontId) {
|
|
23201
|
+
function createTheme(config = DEFAULT_CONFIG, mode = "light", activeFontId, inverted = false) {
|
|
23010
23202
|
const { colors, swatches, semantics, colorDiagnostics } = generatePalette(config, mode);
|
|
23011
23203
|
const baseTheme = {
|
|
23012
23204
|
...resolveGlobalTokens(config.tokens),
|
|
@@ -23014,9 +23206,11 @@ function createTheme(config = DEFAULT_CONFIG, mode = "light", activeFontId) {
|
|
|
23014
23206
|
swatches,
|
|
23015
23207
|
semantics,
|
|
23016
23208
|
colorDiagnostics,
|
|
23017
|
-
config
|
|
23209
|
+
config,
|
|
23210
|
+
inverted: false
|
|
23018
23211
|
};
|
|
23019
|
-
|
|
23212
|
+
const themed = activeFontId ? withActiveFont(baseTheme, activeFontId) : baseTheme;
|
|
23213
|
+
return inverted ? projectInvertedTheme(themed) : themed;
|
|
23020
23214
|
}
|
|
23021
23215
|
function withActiveFont(theme, activeFontId) {
|
|
23022
23216
|
const familyName = toPascalCase(activeFontId);
|
|
@@ -23054,6 +23248,7 @@ var defaultTheme = createTheme();
|
|
|
23054
23248
|
var ThemeRuntimeContext = createContext({
|
|
23055
23249
|
theme: defaultTheme,
|
|
23056
23250
|
mode: "light",
|
|
23251
|
+
inverted: false,
|
|
23057
23252
|
setThemeConfig: () => {
|
|
23058
23253
|
return;
|
|
23059
23254
|
},
|
|
@@ -23067,4 +23262,41 @@ function useTheme() {
|
|
|
23067
23262
|
return use(ThemeRuntimeContext);
|
|
23068
23263
|
}
|
|
23069
23264
|
|
|
23070
|
-
|
|
23265
|
+
// src/features/theme/zoraDefaultTheme.ts
|
|
23266
|
+
var zoraDefaultTheme = {
|
|
23267
|
+
id: "zora",
|
|
23268
|
+
name: "ZORA",
|
|
23269
|
+
appCategory: "developer_tools",
|
|
23270
|
+
primaryColor: "#0f766e",
|
|
23271
|
+
harmony: "analogous"
|
|
23272
|
+
};
|
|
23273
|
+
|
|
23274
|
+
// src/features/theme/composition/ZoraThemeRuntimeContext.tsx
|
|
23275
|
+
import { createContext as createContext2, use as use2 } from "react";
|
|
23276
|
+
var ZoraThemeRuntimeContext = createContext2({
|
|
23277
|
+
themeId: zoraDefaultTheme.id
|
|
23278
|
+
});
|
|
23279
|
+
function useZoraThemeRuntime() {
|
|
23280
|
+
return use2(ZoraThemeRuntimeContext);
|
|
23281
|
+
}
|
|
23282
|
+
|
|
23283
|
+
// node_modules/@ankhorage/surface/src/features/font/adapters/inbound/useFontRuntime.ts
|
|
23284
|
+
import { use as use3 } from "react";
|
|
23285
|
+
|
|
23286
|
+
// node_modules/@ankhorage/surface/src/features/font/adapters/inbound/FontRuntimeContext.tsx
|
|
23287
|
+
import { createContext as createContext3 } from "react";
|
|
23288
|
+
var fallbackRuntime = {
|
|
23289
|
+
fontsLoaded: true,
|
|
23290
|
+
activeFontId: null,
|
|
23291
|
+
setActiveFontId: () => {
|
|
23292
|
+
return;
|
|
23293
|
+
}
|
|
23294
|
+
};
|
|
23295
|
+
var FontRuntimeContext = createContext3(fallbackRuntime);
|
|
23296
|
+
|
|
23297
|
+
// node_modules/@ankhorage/surface/src/features/font/adapters/inbound/useFontRuntime.ts
|
|
23298
|
+
function useFontRuntime() {
|
|
23299
|
+
return use3(FontRuntimeContext);
|
|
23300
|
+
}
|
|
23301
|
+
|
|
23302
|
+
export { require_cjs, useFontRuntime, parseHexColor, parseHexColorOrThrow, getReadableForeground, createTheme, ThemeRuntimeContext, useTheme, zoraDefaultTheme, ZoraThemeRuntimeContext, useZoraThemeRuntime };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-wytj5wwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Text2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-rmp9sfra.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveFieldPresentation,
|
|
10
10
|
resolveFieldState
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-n7y08rz5.js";
|
|
12
12
|
|
|
13
13
|
// node_modules/@ankhorage/surface/src/features/form/field/adapters/inbound/Field.tsx
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Surface3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-g2d4fskg.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-8z7naxj2.js";
|
|
8
8
|
|
|
9
9
|
// src/features/surface/adapters/inbound/Surface.tsx
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
require_cjs,
|
|
4
4
|
useTheme
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-pvz3r99n.js";
|
|
6
6
|
import {
|
|
7
|
-
resolveTextColor,
|
|
8
7
|
resolveTextStyles
|
|
9
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-n7y08rz5.js";
|
|
9
|
+
import {
|
|
10
|
+
resolveTextColor
|
|
11
|
+
} from "./Accordion-6a2hscrx.js";
|
|
10
12
|
import {
|
|
11
13
|
__toESM
|
|
12
14
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -24,7 +26,8 @@ function Text2({
|
|
|
24
26
|
weight,
|
|
25
27
|
italic = false,
|
|
26
28
|
numberOfLines,
|
|
27
|
-
testID
|
|
29
|
+
testID,
|
|
30
|
+
style
|
|
28
31
|
}) {
|
|
29
32
|
const { theme } = useTheme();
|
|
30
33
|
const content = children ?? i18nKey ?? null;
|
|
@@ -33,7 +36,8 @@ function Text2({
|
|
|
33
36
|
testID,
|
|
34
37
|
style: [
|
|
35
38
|
resolveTextStyles(theme, { align, italic, variant, weight }),
|
|
36
|
-
{ color: resolveTextColor(theme, emphasis, color) }
|
|
39
|
+
{ color: resolveTextColor(theme, emphasis, color) },
|
|
40
|
+
style
|
|
37
41
|
],
|
|
38
42
|
children: content
|
|
39
43
|
});
|
|
@@ -2,34 +2,34 @@
|
|
|
2
2
|
import {
|
|
3
3
|
require_cjs,
|
|
4
4
|
useTheme
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-pvz3r99n.js";
|
|
6
6
|
import {
|
|
7
7
|
Icon3
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-mbqtk7y0.js";
|
|
9
9
|
import {
|
|
10
10
|
View3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-wytj5wwc.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
|
resolveControlSize,
|
|
26
26
|
resolveIconSize2,
|
|
27
27
|
resolveButtonColors
|
|
28
|
-
} from "./Accordion-
|
|
28
|
+
} from "./Accordion-n7y08rz5.js";
|
|
29
29
|
import {
|
|
30
30
|
useZoraThemeRecipe,
|
|
31
31
|
ZORA_COLORS
|
|
32
|
-
} from "./Accordion-
|
|
32
|
+
} from "./Accordion-kxa15n19.js";
|
|
33
33
|
import {
|
|
34
34
|
__toESM
|
|
35
35
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -88,7 +88,6 @@ function ButtonContent({
|
|
|
88
88
|
variant
|
|
89
89
|
}) {
|
|
90
90
|
const colors = resolveButtonColors(theme, { variant, color, state });
|
|
91
|
-
const muted = colors.contentColor === theme.semantics.content.muted;
|
|
92
91
|
const iconSize = resolveIconSize2(theme, size);
|
|
93
92
|
return /* @__PURE__ */ jsx(View3, {
|
|
94
93
|
px: controlSize.paddingHorizontal,
|
|
@@ -109,8 +108,7 @@ function ButtonContent({
|
|
|
109
108
|
})
|
|
110
109
|
}) : null,
|
|
111
110
|
/* @__PURE__ */ jsx(Text2, {
|
|
112
|
-
|
|
113
|
-
emphasis: muted ? "muted" : variant === "solid" ? "inverse" : "default",
|
|
111
|
+
style: { color: colors.contentColor },
|
|
114
112
|
variant: controlSize.textVariant,
|
|
115
113
|
weight: "semiBold",
|
|
116
114
|
children
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
require_cjs,
|
|
4
4
|
useTheme
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-pvz3r99n.js";
|
|
6
6
|
import {
|
|
7
7
|
Icon3
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-mbqtk7y0.js";
|
|
9
9
|
import {
|
|
10
10
|
IconButton2
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-snyacfyh.js";
|
|
12
12
|
import {
|
|
13
13
|
withZoraThemeScope
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-8z7naxj2.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveIconSize
|
|
17
17
|
} from "./Accordion-961ncx4e.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
resolveFocusRingStyles,
|
|
22
22
|
resolveInputColors,
|
|
23
23
|
resolveTextStyles
|
|
24
|
-
} from "./Accordion-
|
|
24
|
+
} from "./Accordion-n7y08rz5.js";
|
|
25
25
|
import {
|
|
26
26
|
useZoraTheme2
|
|
27
|
-
} from "./Accordion-
|
|
27
|
+
} from "./Accordion-6xrse5my.js";
|
|
28
28
|
import {
|
|
29
29
|
__toESM
|
|
30
30
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./Accordion-mnac2z83.js";
|
|
5
5
|
import {
|
|
6
6
|
Portal
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-0gfsj9qh.js";
|
|
8
8
|
import {
|
|
9
9
|
require_cjs
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-pvz3r99n.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM
|
|
13
13
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,39 +1,39 @@
|
|
|
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
13
|
Divider2,
|
|
14
14
|
ScrollView2
|
|
15
|
-
} from "./Accordion-
|
|
15
|
+
} from "./Accordion-0yvepteg.js";
|
|
16
16
|
import {
|
|
17
17
|
FormActions2,
|
|
18
18
|
FormError2,
|
|
19
19
|
hasRequiredRule,
|
|
20
20
|
useFormController
|
|
21
|
-
} from "./Accordion-
|
|
21
|
+
} from "./Accordion-nkd7nhyx.js";
|
|
22
22
|
import {
|
|
23
23
|
Text3
|
|
24
|
-
} from "./Accordion-
|
|
24
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
25
25
|
import {
|
|
26
26
|
Field2
|
|
27
|
-
} from "./Accordion-
|
|
27
|
+
} from "./Accordion-0047zyx7.js";
|
|
28
28
|
import {
|
|
29
29
|
TextInput2
|
|
30
|
-
} from "./Accordion-
|
|
30
|
+
} from "./Accordion-tdjh81ax.js";
|
|
31
31
|
import {
|
|
32
32
|
KeyboardAvoidingView2
|
|
33
|
-
} from "./Accordion-
|
|
33
|
+
} from "./Accordion-ct805sm7.js";
|
|
34
34
|
import {
|
|
35
35
|
Surface2
|
|
36
|
-
} from "./Accordion-
|
|
36
|
+
} from "./Accordion-qyssgtwe.js";
|
|
37
37
|
import {
|
|
38
38
|
__toESM
|
|
39
39
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
import {
|
|
3
3
|
View3,
|
|
4
4
|
Divider3
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-wytj5wwc.js";
|
|
6
6
|
import {
|
|
7
7
|
require_cjs,
|
|
8
8
|
useTheme
|
|
9
|
-
} from "./Accordion-
|
|
9
|
+
} from "./Accordion-pvz3r99n.js";
|
|
10
10
|
import {
|
|
11
11
|
IconButton2
|
|
12
|
-
} from "./Accordion-
|
|
12
|
+
} from "./Accordion-snyacfyh.js";
|
|
13
13
|
import {
|
|
14
14
|
withZoraThemeScope
|
|
15
|
-
} from "./Accordion-
|
|
15
|
+
} from "./Accordion-8z7naxj2.js";
|
|
16
16
|
import {
|
|
17
17
|
View2
|
|
18
|
-
} from "./Accordion-
|
|
18
|
+
} from "./Accordion-0yvepteg.js";
|
|
19
19
|
import {
|
|
20
20
|
PopoverMenu2
|
|
21
|
-
} from "./Accordion-
|
|
21
|
+
} from "./Accordion-ph15h010.js";
|
|
22
22
|
import {
|
|
23
23
|
Heading2,
|
|
24
24
|
Text3
|
|
25
|
-
} from "./Accordion-
|
|
25
|
+
} from "./Accordion-e2kr1z3g.js";
|
|
26
26
|
import {
|
|
27
27
|
useZoraTheme2
|
|
28
|
-
} from "./Accordion-
|
|
28
|
+
} from "./Accordion-6xrse5my.js";
|
|
29
29
|
import {
|
|
30
30
|
__toESM
|
|
31
31
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
resolveViewStyles
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-v4n4ygwn.js";
|
|
12
12
|
import {
|
|
13
13
|
__toESM
|
|
14
14
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
Card2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-a1ervhyg.js";
|
|
14
14
|
|
|
15
15
|
// src/features/empty-state/adapters/inbound/EmptyState.tsx
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
ButtonGroup2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-snyacfyh.js";
|
|
11
11
|
import {
|
|
12
12
|
Card2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-a1ervhyg.js";
|
|
14
14
|
import {
|
|
15
15
|
List2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-bz2dzbad.js";
|
|
17
17
|
import {
|
|
18
18
|
useZoraTheme2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-6xrse5my.js";
|
|
20
20
|
|
|
21
21
|
// src/features/skeleton/adapters/inbound/Skeleton.tsx
|
|
22
22
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Accordion2,
|
|
4
4
|
AccordionItem2
|
|
5
|
-
} from "../../chunks/Accordion-
|
|
6
|
-
import"../../chunks/Accordion-
|
|
7
|
-
import"../../chunks/Accordion-
|
|
8
|
-
import"../../chunks/Accordion-
|
|
9
|
-
import"../../chunks/Accordion-
|
|
10
|
-
import"../../chunks/Accordion-
|
|
11
|
-
import"../../chunks/Accordion-
|
|
12
|
-
import"../../chunks/Accordion-
|
|
13
|
-
import"../../chunks/Accordion-
|
|
14
|
-
import"../../chunks/Accordion-
|
|
15
|
-
import"../../chunks/Accordion-
|
|
16
|
-
import"../../chunks/Accordion-
|
|
17
|
-
import"../../chunks/Accordion-
|
|
5
|
+
} from "../../chunks/Accordion-1e1nfhtc.js";
|
|
6
|
+
import"../../chunks/Accordion-pvz3r99n.js";
|
|
7
|
+
import"../../chunks/Accordion-8z7naxj2.js";
|
|
8
|
+
import"../../chunks/Accordion-bfzeab9x.js";
|
|
9
|
+
import"../../chunks/Accordion-mbqtk7y0.js";
|
|
10
|
+
import"../../chunks/Accordion-37n4bt3g.js";
|
|
11
|
+
import"../../chunks/Accordion-gkx1kszz.js";
|
|
12
|
+
import"../../chunks/Accordion-wytj5wwc.js";
|
|
13
|
+
import"../../chunks/Accordion-0yvepteg.js";
|
|
14
|
+
import"../../chunks/Accordion-e2kr1z3g.js";
|
|
15
|
+
import"../../chunks/Accordion-kxa15n19.js";
|
|
16
|
+
import"../../chunks/Accordion-6xrse5my.js";
|
|
17
|
+
import"../../chunks/Accordion-v4n4ygwn.js";
|
|
18
18
|
import"../../chunks/Accordion-fre84yaq.js";
|
|
19
19
|
export {
|
|
20
20
|
Accordion2 as Accordion,
|