@ankhorage/zora 28.4.0 → 28.5.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 +6 -0
- package/README.md +1 -1
- package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.d.ts +4 -0
- package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.js +18 -0
- package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.js.map +1 -0
- package/dist/features/layout/public.d.ts +1 -0
- package/dist/features/layout/public.d.ts.map +1 -1
- package/dist/features/layout/public.js +1 -0
- package/dist/features/layout/public.js.map +1 -1
- package/dist/features/popover/adapters/inbound/Popover.d.ts +4 -0
- package/dist/features/popover/adapters/inbound/Popover.d.ts.map +1 -0
- package/dist/features/popover/adapters/inbound/Popover.js +9 -0
- package/dist/features/popover/adapters/inbound/Popover.js.map +1 -0
- package/dist/features/popover/public.d.ts +3 -0
- package/dist/features/popover/public.d.ts.map +1 -0
- package/dist/features/popover/public.js +2 -0
- package/dist/features/popover/public.js.map +1 -0
- package/dist/features/theme/adapters/inbound/ZoraProvider.d.ts.map +1 -1
- package/dist/features/theme/adapters/inbound/ZoraProvider.js +10 -8
- package/dist/features/theme/adapters/inbound/ZoraProvider.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/types/popover.d.ts +7 -0
- package/dist/types/popover.d.ts.map +1 -0
- package/dist/types/popover.js +2 -0
- package/dist/types/popover.js.map +1 -0
- package/package.json +1 -1
- package/src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx +26 -0
- package/src/features/layout/public.test.ts +9 -1
- package/src/features/layout/public.ts +1 -0
- package/src/features/master-detail/adapters/inbound/MasterDetail.runtime.test.tsx +1 -0
- package/src/features/popover/adapters/inbound/Popover.tsx +17 -0
- package/src/features/popover/public.test.ts +9 -0
- package/src/features/popover/public.ts +2 -0
- package/src/features/theme/adapters/inbound/ZoraProvider.tsx +10 -8
- package/src/features/theme/themeScopeStructure.test.ts +3 -2
- package/src/index.ts +7 -0
- package/src/types/popover.ts +12 -0
- package/web-dist/chunks/{Accordion-nmpzv3b0.js → Accordion-0egwarcs.js} +3 -3
- package/web-dist/chunks/{Accordion-htm3j8r8.js → Accordion-0spfxhpg.js} +4 -4
- package/web-dist/chunks/{Accordion-r75ep5pg.js → Accordion-19aegsx2.js} +4 -4
- package/web-dist/chunks/{Accordion-gnbt6w4q.js → Accordion-1g91we37.js} +4 -4
- package/web-dist/chunks/{Accordion-sh79sr5g.js → Accordion-224snqz3.js} +2 -2
- package/web-dist/chunks/{Accordion-za0jcjgn.js → Accordion-2ad57stc.js} +2 -2
- package/web-dist/chunks/{Accordion-d405whfb.js → Accordion-2bygfpwg.js} +1 -1
- package/web-dist/chunks/{Accordion-v86n9tvj.js → Accordion-3cpkxpdg.js} +2 -2
- package/web-dist/chunks/{Accordion-5rwztz14.js → Accordion-49d0frg7.js} +2 -2
- package/web-dist/chunks/{Accordion-f8a49gy8.js → Accordion-4mg3epm9.js} +19 -1
- package/web-dist/chunks/Accordion-4qrva6ye.js +15 -0
- package/web-dist/chunks/{Accordion-01bsg7zt.js → Accordion-4yrszsvs.js} +1 -1
- package/web-dist/chunks/{Accordion-38xvj0cq.js → Accordion-516n2cx4.js} +4 -4
- package/web-dist/chunks/{Accordion-tqagt6cz.js → Accordion-77514sk9.js} +1 -1
- package/web-dist/chunks/{Accordion-2xkxthf1.js → Accordion-78astqx3.js} +6 -6
- package/web-dist/chunks/{Accordion-fdzyyqe9.js → Accordion-7knb9jk2.js} +3 -3
- package/web-dist/chunks/{Accordion-bp9y7738.js → Accordion-8jw8g2aq.js} +7 -7
- package/web-dist/chunks/{Accordion-kcm6jcpp.js → Accordion-9b4bsxwe.js} +1 -1
- package/web-dist/chunks/{Accordion-bd9vzpbz.js → Accordion-9gk4scdz.js} +8 -8
- package/web-dist/chunks/{Accordion-a1mgdfg7.js → Accordion-9m5asd8r.js} +1 -1
- package/web-dist/chunks/{Accordion-f1vargnk.js → Accordion-9tgvr155.js} +4 -4
- package/web-dist/chunks/{Accordion-q683s6kd.js → Accordion-a4dmyntn.js} +3 -3
- package/web-dist/chunks/{Accordion-bzgy9sg3.js → Accordion-agt9vt85.js} +2 -2
- package/web-dist/chunks/{Accordion-xzaa9s7f.js → Accordion-akwd4brm.js} +1 -13
- package/web-dist/chunks/{Accordion-379mgrse.js → Accordion-arr9ayv0.js} +1 -1
- package/web-dist/chunks/{Accordion-vb52sts9.js → Accordion-d9sd2vs7.js} +3 -3
- package/web-dist/chunks/{Accordion-5qz4j8tt.js → Accordion-ge7cjtwy.js} +5 -5
- package/web-dist/chunks/{Accordion-e0vm82xr.js → Accordion-gs838h0n.js} +2 -2
- package/web-dist/chunks/{Accordion-4zb6dcys.js → Accordion-j1zerr6z.js} +1 -1
- package/web-dist/chunks/{Accordion-2ys50fc8.js → Accordion-jtgh2tep.js} +1 -1
- package/web-dist/chunks/{Accordion-9qg7cjt8.js → Accordion-kcspvk6q.js} +2 -2
- package/web-dist/chunks/{Accordion-vkqqktc5.js → Accordion-khfjh10v.js} +2 -2
- package/web-dist/chunks/{Accordion-axe7nsht.js → Accordion-kzjq1snp.js} +1 -1
- package/web-dist/chunks/{Accordion-hdyzyw8q.js → Accordion-mnxf855g.js} +1 -1
- package/web-dist/chunks/{Accordion-17s33h1a.js → Accordion-q8a423pk.js} +1 -1
- package/web-dist/chunks/{Accordion-rtamzg9j.js → Accordion-qjxbf8nt.js} +1 -1
- package/web-dist/chunks/{Accordion-v6vhyv31.js → Accordion-qjxx43r1.js} +1 -1
- package/web-dist/chunks/{Accordion-h63c9k9k.js → Accordion-sbdgq8d5.js} +1 -1
- package/web-dist/chunks/{Accordion-2xb252py.js → Accordion-skdtw2er.js} +5 -5
- package/web-dist/chunks/{Accordion-rq311z1k.js → Accordion-tdrk9cyn.js} +4 -4
- package/web-dist/chunks/{Accordion-kdb9g5b1.js → Accordion-vx8bjm5k.js} +4 -4
- package/web-dist/chunks/{Accordion-f8zpd80k.js → Accordion-x4yhr2wm.js} +3 -3
- package/web-dist/chunks/{Accordion-2wggrer7.js → Accordion-ytf9ba8v.js} +2 -2
- package/web-dist/chunks/{Accordion-t9n4ey2r.js → Accordion-zd15byha.js} +1 -1
- package/web-dist/chunks/{RichTextClient-8x3t7bwd.js → RichTextClient-70qt7037.js} +11 -11
- package/web-dist/chunks/{Video.native-97x0098j.js → Video.native-6142s9f7.js} +5 -5
- package/web-dist/chunks/{index-cnnsfz6n.js → index-n6p0wdvg.js} +1 -1
- package/web-dist/components/accordion/Accordion.js +2 -2
- package/web-dist/components/accordion-item/AccordionItem.js +2 -2
- package/web-dist/components/app-bar/AppBar.js +8 -8
- package/web-dist/components/app-header/AppHeader.js +8 -8
- package/web-dist/components/app-shell/AppShell.js +1 -1
- package/web-dist/components/audio/Audio.js +6 -6
- package/web-dist/components/auth-screen/AuthScreen.js +10 -10
- package/web-dist/components/avatar/Avatar.js +2 -2
- package/web-dist/components/avatar-group/AvatarGroup.js +2 -2
- package/web-dist/components/badge/Badge.js +2 -2
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +9 -9
- package/web-dist/components/bottom-sheet/BottomSheet.js +2 -2
- package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +2 -2
- package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +2 -2
- package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +2 -2
- package/web-dist/components/bottom-sheet-view/BottomSheetView.js +2 -2
- package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +2 -2
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +4 -4
- package/web-dist/components/button/Button.js +4 -4
- package/web-dist/components/button-group/ButtonGroup.js +4 -4
- package/web-dist/components/calendar/Calendar.js +5 -5
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +9 -9
- package/web-dist/components/card/Card.js +8 -8
- package/web-dist/components/chat-list-item/ChatListItem.js +6 -6
- package/web-dist/components/checkbox/Checkbox.js +4 -4
- package/web-dist/components/checkbox-group/CheckboxGroup.js +4 -4
- package/web-dist/components/chip/Chip.js +3 -3
- package/web-dist/components/chip-group/ChipGroup.js +3 -3
- package/web-dist/components/collection-editor/CollectionEditor.js +8 -8
- package/web-dist/components/color-hue-scale/ColorHueScale.js +15 -15
- package/web-dist/components/color-picker/ColorPicker.js +15 -15
- package/web-dist/components/color-tone/ColorTone.js +15 -15
- package/web-dist/components/color-wheel/ColorWheel.js +15 -15
- package/web-dist/components/content-rail/ContentRail.js +4 -4
- package/web-dist/components/data-table/DataTable.js +16 -16
- package/web-dist/components/date-picker/DatePicker.js +11 -11
- package/web-dist/components/dialog/Dialog.js +3 -3
- package/web-dist/components/divider/Divider.js +1 -1
- package/web-dist/components/empty-state/EmptyState.js +9 -9
- package/web-dist/components/explorer/Explorer.js +3 -3
- package/web-dist/components/field/Field.js +4 -4
- package/web-dist/components/file-explorer/FileExplorer.js +3 -3
- package/web-dist/components/flat-list/FlatList.js +5 -5
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +10 -10
- package/web-dist/components/form/Form.js +7 -7
- package/web-dist/components/form-actions/FormActions.js +7 -7
- package/web-dist/components/form-error/FormError.js +7 -7
- package/web-dist/components/game/Game.js +2 -2
- package/web-dist/components/game-entity/GameEntity.js +2 -2
- package/web-dist/components/game-field/GameField.js +2 -2
- package/web-dist/components/game-input-zone/GameInputZone.js +2 -2
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +2 -2
- package/web-dist/components/game-overlay/GameOverlay.js +2 -2
- package/web-dist/components/gradient/Gradient.js +2 -2
- package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +2 -2
- package/web-dist/components/grid/Grid.js +1 -1
- package/web-dist/components/hero/Hero.js +8 -8
- package/web-dist/components/icon-button/IconButton.js +4 -4
- package/web-dist/components/image/Image.js +2 -2
- package/web-dist/components/list/List.js +5 -5
- package/web-dist/components/list-item/ListItem.js +5 -5
- package/web-dist/components/list-section/ListSection.js +5 -5
- package/web-dist/components/master-detail/MasterDetail.js +1 -1
- package/web-dist/components/media-card/MediaCard.js +8 -8
- package/web-dist/components/media-explorer/MediaExplorer.js +3 -3
- package/web-dist/components/message-bubble/MessageBubble.js +6 -6
- package/web-dist/components/metric-card/MetricCard.js +8 -8
- package/web-dist/components/missing-element/MissingElement.js +3 -3
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +10 -10
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +10 -10
- package/web-dist/components/otp-form/OtpForm.js +10 -10
- package/web-dist/components/pagination/Pagination.js +4 -4
- package/web-dist/components/palette-item/PaletteItem.js +8 -8
- package/web-dist/components/popover/Popover.d.ts +5 -0
- package/web-dist/components/popover/Popover.dependency-0.d.ts +27 -0
- package/web-dist/components/popover/Popover.dependency-1.d.ts +3 -0
- package/web-dist/components/popover/Popover.js +29 -0
- package/web-dist/components/popover/Popover.types-0.d.ts +10 -0
- package/web-dist/components/popover/index.d.ts +2 -0
- package/web-dist/components/popover/index.js +2 -0
- package/web-dist/components/popover-menu/PopoverMenu.js +5 -5
- package/web-dist/components/post-card/PostCard.js +8 -8
- package/web-dist/components/product-card/ProductCard.js +8 -8
- package/web-dist/components/progress/Progress.js +2 -2
- package/web-dist/components/progress-ring/ProgressRing.js +2 -2
- package/web-dist/components/radio/Radio.js +4 -4
- package/web-dist/components/radio-group/RadioGroup.js +4 -4
- package/web-dist/components/rating/Rating.js +1 -1
- package/web-dist/components/reader/Reader.js +10 -10
- package/web-dist/components/rich-text/RichText.js +2 -2
- package/web-dist/components/scan-overlay/ScanOverlay.js +9 -9
- package/web-dist/components/screen/Screen.js +1 -1
- package/web-dist/components/screen-section/ScreenSection.js +2 -2
- package/web-dist/components/scroll-view/ScrollView.js +1 -1
- package/web-dist/components/search-input/SearchInput.js +6 -6
- package/web-dist/components/section-header/SectionHeader.js +2 -2
- package/web-dist/components/section-list/SectionList.js +5 -5
- package/web-dist/components/select/Select.js +9 -9
- package/web-dist/components/sign-in-form/SignInForm.js +10 -10
- package/web-dist/components/sign-up-form/SignUpForm.js +10 -10
- package/web-dist/components/skeleton/Skeleton.js +11 -11
- package/web-dist/components/skeleton-card/SkeletonCard.js +11 -11
- package/web-dist/components/skeleton-list/SkeletonList.js +11 -11
- package/web-dist/components/skeleton-text/SkeletonText.js +11 -11
- package/web-dist/components/switch/Switch.js +3 -3
- package/web-dist/components/tab/Tab.js +2 -2
- package/web-dist/components/tab-list/TabList.js +2 -2
- package/web-dist/components/tab-panel/TabPanel.js +2 -2
- package/web-dist/components/tabs/Tabs.js +2 -2
- package/web-dist/components/text-input/TextInput.js +6 -6
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +4 -4
- package/web-dist/components/time-picker/TimePicker.js +10 -10
- package/web-dist/components/timeline/Timeline.js +2 -2
- package/web-dist/components/toast/Toast.js +4 -4
- package/web-dist/components/toast-provider/ToastProvider.js +4 -4
- package/web-dist/components/toolbar/Toolbar.js +9 -9
- package/web-dist/components/tree-item/TreeItem.js +6 -6
- package/web-dist/components/uploader/Uploader.js +12 -12
- package/web-dist/components/video/Video.js +4 -4
- package/web-dist/components/view/View.js +1 -1
- package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.d.ts +5 -0
- package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.js +14 -0
- package/web-dist/components/zora-web-style-sheet/index.d.ts +1 -0
- package/web-dist/components/zora-web-style-sheet/index.js +2 -0
- package/web-dist/manifest.json +791 -727
- package/web-dist/runtime/ZoraProvider.js +14 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 28.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 76aa433: Compose responsive runtime support inside `ZoraProvider` and expose narrow ZORA-owned popover and web stylesheet boundaries so applications consume Surface only transitively.
|
|
8
|
+
|
|
3
9
|
## 28.4.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# ZORA
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Provides opinionated React Native and React Native Web UI components, theme primitives, registries, and reader surfaces built on @ankhorage/surface.
|
|
9
9
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoraWebStyleSheet.d.ts","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,0FAA0F;AAC1F,wBAAgB,iBAAiB,6BAShC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Platform, StyleSheet } from 'react-native';
|
|
3
|
+
/*** Hoists the React Native Web styles required by a server-rendered ZORA application. */
|
|
4
|
+
export function ZoraWebStyleSheet() {
|
|
5
|
+
const sheet = getReactNativeWebStyleSheet();
|
|
6
|
+
if (sheet === null)
|
|
7
|
+
return null;
|
|
8
|
+
return (<style id={sheet.id} precedence="react-native-web">
|
|
9
|
+
{sheet.textContent}
|
|
10
|
+
</style>);
|
|
11
|
+
}
|
|
12
|
+
/*** Reads React Native Web's public stylesheet without changing native rendering. */
|
|
13
|
+
function getReactNativeWebStyleSheet() {
|
|
14
|
+
if (Platform.OS !== 'web' || !('getSheet' in StyleSheet))
|
|
15
|
+
return null;
|
|
16
|
+
return StyleSheet.getSheet();
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=ZoraWebStyleSheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoraWebStyleSheet.js","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAOpD,0FAA0F;AAC1F,MAAM,UAAU,iBAAiB;IAC/B,MAAM,KAAK,GAAG,2BAA2B,EAAE,CAAC;IAC5C,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAEhC,OAAO,CACL,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAChD;MAAA,CAAC,KAAK,CAAC,WAAW,CACpB;IAAA,EAAE,KAAK,CAAC,CACT,CAAC;AACJ,CAAC;AAED,qFAAqF;AACrF,SAAS,2BAA2B;IAClC,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,UAAU,IAAI,UAAU,CAAC;QAAE,OAAO,IAAI,CAAC;IAEtE,OAAQ,UAAU,CAAC,QAA2C,EAAE,CAAC;AACnE,CAAC","sourcesContent":["import React from 'react';\nimport { Platform, StyleSheet } from 'react-native';\n\ntype ReactNativeWebStyleSheet = Readonly<{\n id: string;\n textContent: string;\n}>;\n\n/*** Hoists the React Native Web styles required by a server-rendered ZORA application. */\nexport function ZoraWebStyleSheet() {\n const sheet = getReactNativeWebStyleSheet();\n if (sheet === null) return null;\n\n return (\n <style id={sheet.id} precedence=\"react-native-web\">\n {sheet.textContent}\n </style>\n );\n}\n\n/*** Reads React Native Web's public stylesheet without changing native rendering. */\nfunction getReactNativeWebStyleSheet(): ReactNativeWebStyleSheet | null {\n if (Platform.OS !== 'web' || !('getSheet' in StyleSheet)) return null;\n\n return (StyleSheet.getSheet as () => ReactNativeWebStyleSheet)();\n}\n"]}
|
|
@@ -6,4 +6,5 @@ export { Screen } from './adapters/inbound/Screen';
|
|
|
6
6
|
export { ScrollView } from './adapters/inbound/ScrollView';
|
|
7
7
|
export { useScrollGestureLock } from './adapters/inbound/useScrollGestureLock';
|
|
8
8
|
export { View } from './adapters/inbound/View';
|
|
9
|
+
export { ZoraWebStyleSheet } from './adapters/inbound/ZoraWebStyleSheet';
|
|
9
10
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/layout/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,aAAa,EACb,YAAY,EACZ,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,SAAS,GACV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/layout/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,aAAa,EACb,YAAY,EACZ,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,SAAS,GACV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC"}
|
|
@@ -5,4 +5,5 @@ export { Screen } from './adapters/inbound/Screen';
|
|
|
5
5
|
export { ScrollView } from './adapters/inbound/ScrollView';
|
|
6
6
|
export { useScrollGestureLock } from './adapters/inbound/useScrollGestureLock';
|
|
7
7
|
export { View } from './adapters/inbound/View';
|
|
8
|
+
export { ZoraWebStyleSheet } from './adapters/inbound/ZoraWebStyleSheet';
|
|
8
9
|
//# sourceMappingURL=public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/layout/public.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["export type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScrollGestureLock,\n ScrollViewProps,\n ViewProps,\n} from '../../types/layout';\nexport { AppShell } from './adapters/inbound/AppShell';\nexport { Divider } from './adapters/inbound/Divider';\nexport { Grid } from './adapters/inbound/Grid';\nexport { Screen } from './adapters/inbound/Screen';\nexport { ScrollView } from './adapters/inbound/ScrollView';\nexport { useScrollGestureLock } from './adapters/inbound/useScrollGestureLock';\nexport { View } from './adapters/inbound/View';\n"]}
|
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/layout/public.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC","sourcesContent":["export type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScrollGestureLock,\n ScrollViewProps,\n ViewProps,\n} from '../../types/layout';\nexport { AppShell } from './adapters/inbound/AppShell';\nexport { Divider } from './adapters/inbound/Divider';\nexport { Grid } from './adapters/inbound/Grid';\nexport { Screen } from './adapters/inbound/Screen';\nexport { ScrollView } from './adapters/inbound/ScrollView';\nexport { useScrollGestureLock } from './adapters/inbound/useScrollGestureLock';\nexport { View } from './adapters/inbound/View';\nexport { ZoraWebStyleSheet } from './adapters/inbound/ZoraWebStyleSheet';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/features/popover/adapters/inbound/Popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D,oFAAoF;AACpF,eAAO,MAAM,OAAO,oDAAmC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Popover as SurfacePopover } from '@ankhorage/surface';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
+
/*** Presents arbitrary anchored content through the ZORA-owned popover boundary. */
|
|
4
|
+
export const Popover = withZoraThemeScope(PopoverInner);
|
|
5
|
+
/*** Delegates overlay placement and controllable state to the Surface foundation. */
|
|
6
|
+
function PopoverInner({ inverted: _inverted, mode: _mode, themeId: _themeId, ...props }) {
|
|
7
|
+
return <SurfacePopover {...props}/>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=Popover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.js","sourceRoot":"","sources":["../../../../../src/features/popover/adapters/inbound/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAG/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAExF,oFAAoF;AACpF,MAAM,CAAC,MAAM,OAAO,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC;AAExD,qFAAqF;AACrF,SAAS,YAAY,CAAC,EACpB,QAAQ,EAAE,SAAS,EACnB,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,QAAQ,EACjB,GAAG,KAAK,EACK;IACb,OAAO,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACvC,CAAC","sourcesContent":["import { Popover as SurfacePopover } from '@ankhorage/surface';\n\nimport type { PopoverProps } from '../../../../types/popover';\nimport { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';\n\n/*** Presents arbitrary anchored content through the ZORA-owned popover boundary. */\nexport const Popover = withZoraThemeScope(PopoverInner);\n\n/*** Delegates overlay placement and controllable state to the Surface foundation. */\nfunction PopoverInner({\n inverted: _inverted,\n mode: _mode,\n themeId: _themeId,\n ...props\n}: PopoverProps) {\n return <SurfacePopover {...props} />;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/popover/public.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/popover/public.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC","sourcesContent":["export type { PopoverAnchorRenderProps, PopoverPlacement, PopoverProps } from '../../types/popover';\nexport { Popover } from './adapters/inbound/Popover';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoraProvider.d.ts","sourceRoot":"","sources":["../../../../../src/features/theme/adapters/inbound/ZoraProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAMpE,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEzF,0FAA0F;AAC1F,wBAAgB,YAAY,CAAC,EAC3B,WAAmB,EACnB,QAAQ,EACR,KAAwB,EACxB,WAAW,EACX,WAAqB,EACrB,IAAI,EACJ,KAAa,GACd,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ZoraProvider.d.ts","sourceRoot":"","sources":["../../../../../src/features/theme/adapters/inbound/ZoraProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAMpE,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEzF,0FAA0F;AAC1F,wBAAgB,YAAY,CAAC,EAC3B,WAAmB,EACnB,QAAQ,EACR,KAAwB,EACxB,WAAW,EACX,WAAqB,EACrB,IAAI,EACJ,KAAa,GACd,EAAE,iBAAiB,qBAoBnB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeProvider, useTheme as useSurfaceTheme } from '@ankhorage/surface';
|
|
1
|
+
import { ResponsiveProvider, ThemeProvider, useTheme as useSurfaceTheme } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { createZoraThemeConfig } from '../../application/use-cases/createZoraThemeConfig';
|
|
4
4
|
import { ZoraRuntimeCapabilities } from '../../composition/ZoraRuntimeCapabilities';
|
|
@@ -9,13 +9,15 @@ export function ZoraProvider({ bottomSheet = false, children, theme = zoraDefaul
|
|
|
9
9
|
const resolvedConfig = React.useMemo(() => themeConfig ?? createZoraThemeConfig(theme), [theme, themeConfig]);
|
|
10
10
|
const runtimeValue = React.useMemo(() => ({ themeId: resolvedConfig.id }), [resolvedConfig.id]);
|
|
11
11
|
return (<ZoraThemeRuntimeContext value={runtimeValue}>
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
<ResponsiveProvider>
|
|
13
|
+
<ThemeProvider initialConfig={resolvedConfig} initialMode={mode ?? initialMode}>
|
|
14
|
+
<ZoraProviderMode mode={mode}>
|
|
15
|
+
<ZoraRuntimeCapabilities bottomSheet={bottomSheet} toast={toast}>
|
|
16
|
+
{children}
|
|
17
|
+
</ZoraRuntimeCapabilities>
|
|
18
|
+
</ZoraProviderMode>
|
|
19
|
+
</ThemeProvider>
|
|
20
|
+
</ResponsiveProvider>
|
|
19
21
|
</ZoraThemeRuntimeContext>);
|
|
20
22
|
}
|
|
21
23
|
/*** Keep the shared Surface runtime aligned with a controlled application mode. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoraProvider.js","sourceRoot":"","sources":["../../../../../src/features/theme/adapters/inbound/ZoraProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"ZoraProvider.js","sourceRoot":"","sources":["../../../../../src/features/theme/adapters/inbound/ZoraProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACpG,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAI1D,0FAA0F;AAC1F,MAAM,UAAU,YAAY,CAAC,EAC3B,WAAW,GAAG,KAAK,EACnB,QAAQ,EACR,KAAK,GAAG,gBAAgB,EACxB,WAAW,EACX,WAAW,GAAG,OAAO,EACrB,IAAI,EACJ,KAAK,GAAG,KAAK,GACK;IAClB,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAClC,GAAG,EAAE,CAAC,WAAW,IAAI,qBAAqB,CAAC,KAAK,CAAC,EACjD,CAAC,KAAK,EAAE,WAAW,CAAC,CACrB,CAAC;IACF,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,cAAc,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC;IAEhG,OAAO,CACL,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAC3C;MAAA,CAAC,kBAAkB,CACjB;QAAA,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,cAAc,CAAC,CAAC,WAAW,CAAC,CAAC,IAAI,IAAI,WAAW,CAAC,CAC7E;UAAA,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAC3B;YAAA,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAC9D;cAAA,CAAC,QAAQ,CACX;YAAA,EAAE,uBAAuB,CAC3B;UAAA,EAAE,gBAAgB,CACpB;QAAA,EAAE,aAAa,CACjB;MAAA,EAAE,kBAAkB,CACtB;IAAA,EAAE,uBAAuB,CAAC,CAC3B,CAAC;AACJ,CAAC;AAED,mFAAmF;AACnF,SAAS,gBAAgB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAgD;IACxF,MAAM,OAAO,GAAG,eAAe,EAAE,CAAC;IAClC,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,IAAI,KAAK,SAAS,IAAI,OAAO,CAAC,IAAI,KAAK,IAAI;YAAE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACzE,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IACpB,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["import { ResponsiveProvider, ThemeProvider, useTheme as useSurfaceTheme } from '@ankhorage/surface';\nimport React from 'react';\n\nimport type { ZoraProviderProps } from '../../../../types/provider';\nimport { createZoraThemeConfig } from '../../application/use-cases/createZoraThemeConfig';\nimport { ZoraRuntimeCapabilities } from '../../composition/ZoraRuntimeCapabilities';\nimport { ZoraThemeRuntimeContext } from '../../composition/ZoraThemeRuntimeContext';\nimport { zoraDefaultTheme } from '../../zoraDefaultTheme';\n\nexport type { ZoraProviderProps, ZoraToastCapability } from '../../../../types/provider';\n\n/*** Installs the core ZORA theme runtime and explicitly enabled optional capabilities. */\nexport function ZoraProvider({\n bottomSheet = false,\n children,\n theme = zoraDefaultTheme,\n themeConfig,\n initialMode = 'light',\n mode,\n toast = false,\n}: ZoraProviderProps) {\n const resolvedConfig = React.useMemo(\n () => themeConfig ?? createZoraThemeConfig(theme),\n [theme, themeConfig],\n );\n const runtimeValue = React.useMemo(() => ({ themeId: resolvedConfig.id }), [resolvedConfig.id]);\n\n return (\n <ZoraThemeRuntimeContext value={runtimeValue}>\n <ResponsiveProvider>\n <ThemeProvider initialConfig={resolvedConfig} initialMode={mode ?? initialMode}>\n <ZoraProviderMode mode={mode}>\n <ZoraRuntimeCapabilities bottomSheet={bottomSheet} toast={toast}>\n {children}\n </ZoraRuntimeCapabilities>\n </ZoraProviderMode>\n </ThemeProvider>\n </ResponsiveProvider>\n </ZoraThemeRuntimeContext>\n );\n}\n\n/*** Keep the shared Surface runtime aligned with a controlled application mode. */\nfunction ZoraProviderMode({ children, mode }: Pick<ZoraProviderProps, 'children' | 'mode'>) {\n const runtime = useSurfaceTheme();\n React.useEffect(() => {\n if (mode !== undefined && runtime.mode !== mode) runtime.setMode(mode);\n }, [mode, runtime]);\n return children;\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -8,8 +8,11 @@ export type { ColorHueScaleProps, ColorPickerProps, ColorPickerTab, ColorToneDef
|
|
|
8
8
|
export { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';
|
|
9
9
|
export type { GradientRenderer, GradientRendererProps, GradientRendererProviderProps, } from './features/gradient/public';
|
|
10
10
|
export { GradientRendererProvider } from './features/gradient/public';
|
|
11
|
+
export { ZoraWebStyleSheet } from './features/layout/public';
|
|
11
12
|
export type { MasterDetailActivePane, MasterDetailDesktopMode, MasterDetailMasterWidth, MasterDetailProps, } from './features/master-detail/public';
|
|
12
13
|
export { MasterDetail } from './features/master-detail/public';
|
|
14
|
+
export type { PopoverAnchorRenderProps, PopoverPlacement, PopoverProps, } from './features/popover/public';
|
|
15
|
+
export { Popover } from './features/popover/public';
|
|
13
16
|
export type { ReaderColorScheme, ReaderDocumentFormat, ReaderErrorCode, ReaderErrorEvent, ReaderExternalLinkEvent, ReaderLineHeight, ReaderLocationChangeEvent, ReaderNavigationTrigger, ReaderProps, ReaderResolvedSource, ReaderStatus, } from './features/reader/public';
|
|
14
17
|
export { Reader, resolveReaderProgress } from './features/reader/public';
|
|
15
18
|
export { ZORA_COMPONENT_REGISTRY } from './features/registry/public';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,4BAA4B,EAC5B,kCAAkC,EAClC,6BAA6B,EAC7B,sCAAsC,EACtC,8BAA8B,EAC9B,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,kBAAkB,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnG,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,YAAY,EACV,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,mBAAmB,GACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC5F,YAAY,EACV,gBAAgB,EAChB,qBAAqB,EACrB,6BAA6B,GAC9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EACV,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,YAAY,EACV,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,yBAAyB,EACzB,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACpB,YAAY,GACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,4BAA4B,EAC5B,kCAAkC,EAClC,6BAA6B,EAC7B,sCAAsC,EACtC,8BAA8B,EAC9B,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,kBAAkB,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnG,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,YAAY,EACV,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,mBAAmB,GACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC5F,YAAY,EACV,gBAAgB,EAChB,qBAAqB,EACrB,6BAA6B,GAC9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,YAAY,EACV,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,YAAY,EACV,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,GACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,YAAY,EACV,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,yBAAyB,EACzB,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACpB,YAAY,GACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,9 @@ export { Audio } from './features/audio/public';
|
|
|
3
3
|
export { Carousel } from './features/carousel/public';
|
|
4
4
|
export { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';
|
|
5
5
|
export { GradientRendererProvider } from './features/gradient/public';
|
|
6
|
+
export { ZoraWebStyleSheet } from './features/layout/public';
|
|
6
7
|
export { MasterDetail } from './features/master-detail/public';
|
|
8
|
+
export { Popover } from './features/popover/public';
|
|
7
9
|
export { Reader, resolveReaderProgress } from './features/reader/public';
|
|
8
10
|
export { ZORA_COMPONENT_REGISTRY } from './features/registry/public';
|
|
9
11
|
export * from './readerFree';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAYtD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAM5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAYtD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAM5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAO7D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAM/D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAcpD,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,cAAc,cAAc,CAAC","sourcesContent":["export type {\n AuthoringBindingControlState,\n AuthoringBindingEditorAdapterProps,\n AuthoringPropertyControlState,\n AuthoringPropertyInspectorAdapterProps,\n AuthoringSelectionAdapterProps,\n AuthoringSelectionItemState,\n ThemeEditorAdapterProps,\n ThemeRecipeFieldControlState,\n} from './authoring';\nexport {\n AuthoringBindingEditorAdapter,\n AuthoringPropertyInspectorAdapter,\n AuthoringSelectionAdapter,\n ThemeEditorAdapter,\n} from './authoring';\nexport type { AudioManifestProps, AudioProps, AudioResolvedSource } from './features/audio/public';\nexport { Audio } from './features/audio/public';\nexport type { CarouselProps, CarouselSlide, CarouselTransition } from './features/carousel/public';\nexport { Carousel } from './features/carousel/public';\nexport type {\n ColorHueScaleProps,\n ColorPickerProps,\n ColorPickerTab,\n ColorToneDefinition,\n ColorToneProps,\n ColorToneSelection,\n ColorToneTarget,\n ColorWheelProps,\n ColorWheelSelection,\n} from './features/color/public';\nexport { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';\nexport type {\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { GradientRendererProvider } from './features/gradient/public';\nexport { ZoraWebStyleSheet } from './features/layout/public';\nexport type {\n MasterDetailActivePane,\n MasterDetailDesktopMode,\n MasterDetailMasterWidth,\n MasterDetailProps,\n} from './features/master-detail/public';\nexport { MasterDetail } from './features/master-detail/public';\nexport type {\n PopoverAnchorRenderProps,\n PopoverPlacement,\n PopoverProps,\n} from './features/popover/public';\nexport { Popover } from './features/popover/public';\nexport type {\n ReaderColorScheme,\n ReaderDocumentFormat,\n ReaderErrorCode,\n ReaderErrorEvent,\n ReaderExternalLinkEvent,\n ReaderLineHeight,\n ReaderLocationChangeEvent,\n ReaderNavigationTrigger,\n ReaderProps,\n ReaderResolvedSource,\n ReaderStatus,\n} from './features/reader/public';\nexport { Reader, resolveReaderProgress } from './features/reader/public';\nexport { ZORA_COMPONENT_REGISTRY } from './features/registry/public';\nexport * from './readerFree';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PopoverAnchorRenderProps as SurfacePopoverAnchorRenderProps, PopoverPlacement as SurfacePopoverPlacement, PopoverProps as SurfacePopoverProps } from '@ankhorage/surface';
|
|
2
|
+
import type { ZoraBaseProps } from './base';
|
|
3
|
+
export type PopoverAnchorRenderProps = SurfacePopoverAnchorRenderProps;
|
|
4
|
+
export type PopoverPlacement = SurfacePopoverPlacement;
|
|
5
|
+
export interface PopoverProps extends SurfacePopoverProps, ZoraBaseProps {
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/types/popover.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,IAAI,+BAA+B,EAC3D,gBAAgB,IAAI,uBAAuB,EAC3C,YAAY,IAAI,mBAAmB,EACpC,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,wBAAwB,GAAG,+BAA+B,CAAC;AACvE,MAAM,MAAM,gBAAgB,GAAG,uBAAuB,CAAC;AAEvD,MAAM,WAAW,YAAa,SAAQ,mBAAmB,EAAE,aAAa;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.js","sourceRoot":"","sources":["../../src/types/popover.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n PopoverAnchorRenderProps as SurfacePopoverAnchorRenderProps,\n PopoverPlacement as SurfacePopoverPlacement,\n PopoverProps as SurfacePopoverProps,\n} from '@ankhorage/surface';\n\nimport type { ZoraBaseProps } from './base';\n\nexport type PopoverAnchorRenderProps = SurfacePopoverAnchorRenderProps;\nexport type PopoverPlacement = SurfacePopoverPlacement;\n\nexport interface PopoverProps extends SurfacePopoverProps, ZoraBaseProps {}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/zora",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "28.
|
|
4
|
+
"version": "28.5.0",
|
|
5
5
|
"description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
|
|
6
6
|
"homepage": "https://github.com/ankhorage/zora#readme",
|
|
7
7
|
"bugs": {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Platform, StyleSheet } from 'react-native';
|
|
3
|
+
|
|
4
|
+
type ReactNativeWebStyleSheet = Readonly<{
|
|
5
|
+
id: string;
|
|
6
|
+
textContent: string;
|
|
7
|
+
}>;
|
|
8
|
+
|
|
9
|
+
/*** Hoists the React Native Web styles required by a server-rendered ZORA application. */
|
|
10
|
+
export function ZoraWebStyleSheet() {
|
|
11
|
+
const sheet = getReactNativeWebStyleSheet();
|
|
12
|
+
if (sheet === null) return null;
|
|
13
|
+
|
|
14
|
+
return (
|
|
15
|
+
<style id={sheet.id} precedence="react-native-web">
|
|
16
|
+
{sheet.textContent}
|
|
17
|
+
</style>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/*** Reads React Native Web's public stylesheet without changing native rendering. */
|
|
22
|
+
function getReactNativeWebStyleSheet(): ReactNativeWebStyleSheet | null {
|
|
23
|
+
if (Platform.OS !== 'web' || !('getSheet' in StyleSheet)) return null;
|
|
24
|
+
|
|
25
|
+
return (StyleSheet.getSheet as () => ReactNativeWebStyleSheet)();
|
|
26
|
+
}
|
|
@@ -23,7 +23,15 @@ const removedPublicNames = [
|
|
|
23
23
|
|
|
24
24
|
describe('canonical layout boundary', () => {
|
|
25
25
|
test('exports only the current layout primitives and semantic screen composition', () => {
|
|
26
|
-
for (const name of [
|
|
26
|
+
for (const name of [
|
|
27
|
+
'AppShell',
|
|
28
|
+
'Divider',
|
|
29
|
+
'Grid',
|
|
30
|
+
'Screen',
|
|
31
|
+
'ScrollView',
|
|
32
|
+
'View',
|
|
33
|
+
'ZoraWebStyleSheet',
|
|
34
|
+
]) {
|
|
27
35
|
expect(publicSource).toMatch(new RegExp(`\\b${name}\\b`, 'u'));
|
|
28
36
|
}
|
|
29
37
|
|
|
@@ -14,3 +14,4 @@ export { Screen } from './adapters/inbound/Screen';
|
|
|
14
14
|
export { ScrollView } from './adapters/inbound/ScrollView';
|
|
15
15
|
export { useScrollGestureLock } from './adapters/inbound/useScrollGestureLock';
|
|
16
16
|
export { View } from './adapters/inbound/View';
|
|
17
|
+
export { ZoraWebStyleSheet } from './adapters/inbound/ZoraWebStyleSheet';
|
|
@@ -43,6 +43,7 @@ await mock.module('@ankhorage/surface', () => ({
|
|
|
43
43
|
}));
|
|
44
44
|
|
|
45
45
|
await mock.module('react-native', () => ({
|
|
46
|
+
Platform: { OS: 'web' },
|
|
46
47
|
StyleSheet: { create: <T,>(styles: T) => styles },
|
|
47
48
|
Text: ({ children }: React.PropsWithChildren) => <span>{children}</span>,
|
|
48
49
|
View: ({ children }: React.PropsWithChildren) => <div>{children}</div>,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Popover as SurfacePopover } from '@ankhorage/surface';
|
|
2
|
+
|
|
3
|
+
import type { PopoverProps } from '../../../../types/popover';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
+
|
|
6
|
+
/*** Presents arbitrary anchored content through the ZORA-owned popover boundary. */
|
|
7
|
+
export const Popover = withZoraThemeScope(PopoverInner);
|
|
8
|
+
|
|
9
|
+
/*** Delegates overlay placement and controllable state to the Surface foundation. */
|
|
10
|
+
function PopoverInner({
|
|
11
|
+
inverted: _inverted,
|
|
12
|
+
mode: _mode,
|
|
13
|
+
themeId: _themeId,
|
|
14
|
+
...props
|
|
15
|
+
}: PopoverProps) {
|
|
16
|
+
return <SurfacePopover {...props} />;
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { expect, test } from 'bun:test';
|
|
2
|
+
|
|
3
|
+
test('Popover exposes the narrow ZORA-owned Surface overlay boundary', async () => {
|
|
4
|
+
const source = await Bun.file('src/features/popover/adapters/inbound/Popover.tsx').text();
|
|
5
|
+
|
|
6
|
+
expect(source).toContain('Popover as SurfacePopover');
|
|
7
|
+
expect(source).toContain('<SurfacePopover');
|
|
8
|
+
expect(source).toContain('withZoraThemeScope');
|
|
9
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeProvider, useTheme as useSurfaceTheme } from '@ankhorage/surface';
|
|
1
|
+
import { ResponsiveProvider, ThemeProvider, useTheme as useSurfaceTheme } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import type { ZoraProviderProps } from '../../../../types/provider';
|
|
@@ -27,13 +27,15 @@ export function ZoraProvider({
|
|
|
27
27
|
|
|
28
28
|
return (
|
|
29
29
|
<ZoraThemeRuntimeContext value={runtimeValue}>
|
|
30
|
-
<
|
|
31
|
-
<
|
|
32
|
-
<
|
|
33
|
-
{
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
<ResponsiveProvider>
|
|
31
|
+
<ThemeProvider initialConfig={resolvedConfig} initialMode={mode ?? initialMode}>
|
|
32
|
+
<ZoraProviderMode mode={mode}>
|
|
33
|
+
<ZoraRuntimeCapabilities bottomSheet={bottomSheet} toast={toast}>
|
|
34
|
+
{children}
|
|
35
|
+
</ZoraRuntimeCapabilities>
|
|
36
|
+
</ZoraProviderMode>
|
|
37
|
+
</ThemeProvider>
|
|
38
|
+
</ResponsiveProvider>
|
|
37
39
|
</ZoraThemeRuntimeContext>
|
|
38
40
|
);
|
|
39
41
|
}
|
|
@@ -169,10 +169,11 @@ const scopedPropTypeFiles = [
|
|
|
169
169
|
] as const;
|
|
170
170
|
|
|
171
171
|
describe('theme scope structure', () => {
|
|
172
|
-
it('
|
|
172
|
+
it('owns the ResponsiveProvider composition required by every ZORA application context', () => {
|
|
173
173
|
expect(zoraProviderSource).toMatch(/ThemeProvider/);
|
|
174
174
|
expect(zoraProviderSource).toMatch(/<ZoraThemeRuntimeContext\s+value=/u);
|
|
175
|
-
expect(zoraProviderSource).
|
|
175
|
+
expect(zoraProviderSource).toMatch(/ResponsiveProvider/);
|
|
176
|
+
expect(zoraProviderSource).toMatch(/<ResponsiveProvider>[\s\S]*?<ThemeProvider/u);
|
|
176
177
|
});
|
|
177
178
|
|
|
178
179
|
it('delegates nested Surface runtime ownership to the public ThemeScope boundary', () => {
|
package/src/index.ts
CHANGED
|
@@ -36,6 +36,7 @@ export type {
|
|
|
36
36
|
GradientRendererProviderProps,
|
|
37
37
|
} from './features/gradient/public';
|
|
38
38
|
export { GradientRendererProvider } from './features/gradient/public';
|
|
39
|
+
export { ZoraWebStyleSheet } from './features/layout/public';
|
|
39
40
|
export type {
|
|
40
41
|
MasterDetailActivePane,
|
|
41
42
|
MasterDetailDesktopMode,
|
|
@@ -43,6 +44,12 @@ export type {
|
|
|
43
44
|
MasterDetailProps,
|
|
44
45
|
} from './features/master-detail/public';
|
|
45
46
|
export { MasterDetail } from './features/master-detail/public';
|
|
47
|
+
export type {
|
|
48
|
+
PopoverAnchorRenderProps,
|
|
49
|
+
PopoverPlacement,
|
|
50
|
+
PopoverProps,
|
|
51
|
+
} from './features/popover/public';
|
|
52
|
+
export { Popover } from './features/popover/public';
|
|
46
53
|
export type {
|
|
47
54
|
ReaderColorScheme,
|
|
48
55
|
ReaderDocumentFormat,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
PopoverAnchorRenderProps as SurfacePopoverAnchorRenderProps,
|
|
3
|
+
PopoverPlacement as SurfacePopoverPlacement,
|
|
4
|
+
PopoverProps as SurfacePopoverProps,
|
|
5
|
+
} from '@ankhorage/surface';
|
|
6
|
+
|
|
7
|
+
import type { ZoraBaseProps } from './base';
|
|
8
|
+
|
|
9
|
+
export type PopoverAnchorRenderProps = SurfacePopoverAnchorRenderProps;
|
|
10
|
+
export type PopoverPlacement = SurfacePopoverPlacement;
|
|
11
|
+
|
|
12
|
+
export interface PopoverProps extends SurfacePopoverProps, ZoraBaseProps {}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Button3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-9tgvr155.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-tk8zf9ff.js";
|
|
8
8
|
import {
|
|
9
9
|
View2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-4mg3epm9.js";
|
|
11
11
|
import {
|
|
12
12
|
Card2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-78astqx3.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
|
Card2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-78astqx3.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-tk8zf9ff.js";
|
|
8
8
|
import {
|
|
9
9
|
View2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-4mg3epm9.js";
|
|
11
11
|
import {
|
|
12
12
|
Text3
|
|
13
13
|
} from "./Accordion-8skz71ct.js";
|
|
14
14
|
import {
|
|
15
15
|
Badge2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-224snqz3.js";
|
|
17
17
|
import {
|
|
18
18
|
Button3
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-9tgvr155.js";
|
|
20
20
|
import {
|
|
21
21
|
useZoraTheme2
|
|
22
22
|
} from "./Accordion-b1y5mjac.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Pressable
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-mnxf855g.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-tk8zf9ff.js";
|
|
8
8
|
import {
|
|
9
9
|
View2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-4mg3epm9.js";
|
|
11
11
|
import {
|
|
12
12
|
Text3
|
|
13
13
|
} from "./Accordion-8skz71ct.js";
|
|
14
14
|
import {
|
|
15
15
|
Avatar2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-9m5asd8r.js";
|
|
17
17
|
import {
|
|
18
18
|
Badge2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-224snqz3.js";
|
|
20
20
|
import {
|
|
21
21
|
useZoraTheme2
|
|
22
22
|
} from "./Accordion-b1y5mjac.js";
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
} from "./Accordion-9d38cgqj.js";
|
|
11
11
|
import {
|
|
12
12
|
Pressable
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-mnxf855g.js";
|
|
14
14
|
import {
|
|
15
15
|
Text2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-9b4bsxwe.js";
|
|
17
17
|
import {
|
|
18
18
|
withZoraThemeScope
|
|
19
19
|
} from "./Accordion-tk8zf9ff.js";
|
|
20
20
|
import {
|
|
21
21
|
View2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-4mg3epm9.js";
|
|
23
23
|
import {
|
|
24
24
|
Text3
|
|
25
25
|
} from "./Accordion-8skz71ct.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
resolveSelectionControlNextChecked,
|
|
31
31
|
resolveSelectionControlInteractionState
|
|
32
|
-
} from "./Accordion-
|
|
32
|
+
} from "./Accordion-akwd4brm.js";
|
|
33
33
|
import {
|
|
34
34
|
useZoraThemeRecipe,
|
|
35
35
|
ZORA_COLORS
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
} from "./Accordion-9d38cgqj.js";
|
|
8
8
|
import {
|
|
9
9
|
Text2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-9b4bsxwe.js";
|
|
11
11
|
import {
|
|
12
12
|
withZoraThemeScope
|
|
13
13
|
} from "./Accordion-tk8zf9ff.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveControlSize,
|
|
16
16
|
resolveButtonColors
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-akwd4brm.js";
|
|
18
18
|
|
|
19
19
|
// node_modules/@ankhorage/surface/src/features/badge/adapters/inbound/Badge.tsx
|
|
20
20
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Pressable
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-mnxf855g.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-tk8zf9ff.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./Accordion-3zzzw7a8.js";
|
|
11
11
|
import {
|
|
12
12
|
View2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-4mg3epm9.js";
|
|
14
14
|
import {
|
|
15
15
|
Text3
|
|
16
16
|
} from "./Accordion-8skz71ct.js";
|