@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
|
@@ -1,13 +1,13 @@
|
|
|
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
|
|
|
12
12
|
// src/features/toolbar/adapters/inbound/Toolbar.tsx
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./Accordion-0dj1r7w3.js";
|
|
5
5
|
import {
|
|
6
6
|
TextInput3
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-2bygfpwg.js";
|
|
8
8
|
import {
|
|
9
9
|
IconButton2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-9tgvr155.js";
|
|
11
11
|
import {
|
|
12
12
|
withZoraThemeScope
|
|
13
13
|
} from "./Accordion-tk8zf9ff.js";
|
|
@@ -384,4 +384,22 @@ function ScreenInner({
|
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
386
|
var Screen2 = withZoraThemeScope(ScreenInner);
|
|
387
|
-
|
|
387
|
+
// src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx
|
|
388
|
+
var import_react_native3 = __toESM(require_cjs(), 1);
|
|
389
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
390
|
+
function ZoraWebStyleSheet2() {
|
|
391
|
+
const sheet = getReactNativeWebStyleSheet();
|
|
392
|
+
if (sheet === null)
|
|
393
|
+
return null;
|
|
394
|
+
return /* @__PURE__ */ jsx9("style", {
|
|
395
|
+
id: sheet.id,
|
|
396
|
+
precedence: "react-native-web",
|
|
397
|
+
children: sheet.textContent
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
function getReactNativeWebStyleSheet() {
|
|
401
|
+
if (import_react_native3.Platform.OS !== "web" || !("getSheet" in import_react_native3.StyleSheet))
|
|
402
|
+
return null;
|
|
403
|
+
return import_react_native3.StyleSheet.getSheet();
|
|
404
|
+
}
|
|
405
|
+
export { View2, AppShell2, Divider2, Grid2, ScrollView2, Screen2, ZoraWebStyleSheet2 };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
// node_modules/@ankhorage/surface/src/internal/resolvers/resolveOverlayZIndex.ts
|
|
3
|
+
var BASE_Z_INDEX = {
|
|
4
|
+
modal: 1000,
|
|
5
|
+
drawer: 1100,
|
|
6
|
+
menu: 1200,
|
|
7
|
+
popover: 1250,
|
|
8
|
+
tooltip: 1300,
|
|
9
|
+
toast: 1400
|
|
10
|
+
};
|
|
11
|
+
function resolveOverlayZIndex(layer, stackIndex = 0) {
|
|
12
|
+
return BASE_Z_INDEX[layer] + stackIndex;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { resolveOverlayZIndex };
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
View2,
|
|
16
16
|
Divider2
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-4mg3epm9.js";
|
|
18
18
|
import {
|
|
19
19
|
Pressable
|
|
20
|
-
} from "./Accordion-
|
|
20
|
+
} from "./Accordion-mnxf855g.js";
|
|
21
21
|
import {
|
|
22
22
|
Text2
|
|
23
|
-
} from "./Accordion-
|
|
23
|
+
} from "./Accordion-9b4bsxwe.js";
|
|
24
24
|
import {
|
|
25
25
|
SectionHeader2
|
|
26
|
-
} from "./Accordion-
|
|
26
|
+
} from "./Accordion-77514sk9.js";
|
|
27
27
|
import {
|
|
28
28
|
useZoraTheme2
|
|
29
29
|
} from "./Accordion-b1y5mjac.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./Accordion-9d38cgqj.js";
|
|
5
5
|
import {
|
|
6
6
|
Pressable
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-mnxf855g.js";
|
|
8
8
|
import {
|
|
9
9
|
Surface3
|
|
10
10
|
} from "./Accordion-pdjhezmz.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
View2,
|
|
16
16
|
Divider2
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-4mg3epm9.js";
|
|
18
18
|
import {
|
|
19
19
|
Heading2,
|
|
20
20
|
Text3
|
|
@@ -22,19 +22,19 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
resolveBadgeRecipe,
|
|
24
24
|
Badge2
|
|
25
|
-
} from "./Accordion-
|
|
25
|
+
} from "./Accordion-224snqz3.js";
|
|
26
26
|
import {
|
|
27
27
|
Icon2
|
|
28
28
|
} from "./Accordion-3zzzw7a8.js";
|
|
29
29
|
import {
|
|
30
30
|
Avatar2
|
|
31
|
-
} from "./Accordion-
|
|
31
|
+
} from "./Accordion-9m5asd8r.js";
|
|
32
32
|
import {
|
|
33
33
|
Button3
|
|
34
|
-
} from "./Accordion-
|
|
34
|
+
} from "./Accordion-9tgvr155.js";
|
|
35
35
|
import {
|
|
36
36
|
Image2
|
|
37
|
-
} from "./Accordion-
|
|
37
|
+
} from "./Accordion-4yrszsvs.js";
|
|
38
38
|
import {
|
|
39
39
|
resolveIconSize
|
|
40
40
|
} from "./Accordion-961ncx4e.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./Accordion-mnac2z83.js";
|
|
5
5
|
import {
|
|
6
6
|
Portal
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-sbdgq8d5.js";
|
|
8
8
|
import {
|
|
9
9
|
require_cjs
|
|
10
10
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -146,7 +146,7 @@ var styles = import_react_native2.StyleSheet.create({
|
|
|
146
146
|
|
|
147
147
|
// node_modules/@ankhorage/surface/src/features/popover/adapters/inbound/Popover.tsx
|
|
148
148
|
import { jsx as jsx2, jsxs as jsxs2, Fragment } from "react/jsx-runtime";
|
|
149
|
-
function
|
|
149
|
+
function Popover2(props) {
|
|
150
150
|
const anchorRef = React2.useRef(null);
|
|
151
151
|
const [resolvedOpen, setResolvedOpen] = useControllableState({
|
|
152
152
|
defaultValue: props.defaultOpen ?? false,
|
|
@@ -184,4 +184,4 @@ function Popover(props) {
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { Popover2 };
|
|
@@ -10,14 +10,14 @@ 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
|
withZoraThemeScope
|
|
16
16
|
} from "./Accordion-tk8zf9ff.js";
|
|
17
17
|
import {
|
|
18
18
|
View2,
|
|
19
19
|
Divider2
|
|
20
|
-
} from "./Accordion-
|
|
20
|
+
} from "./Accordion-4mg3epm9.js";
|
|
21
21
|
import {
|
|
22
22
|
Heading2,
|
|
23
23
|
Text3
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./Accordion-chdbfcm6.js";
|
|
29
29
|
import {
|
|
30
30
|
TextInput3
|
|
31
|
-
} from "./Accordion-
|
|
31
|
+
} from "./Accordion-2bygfpwg.js";
|
|
32
32
|
import {
|
|
33
33
|
Button2,
|
|
34
34
|
Circle,
|
|
@@ -42,19 +42,19 @@ import {
|
|
|
42
42
|
Stop,
|
|
43
43
|
Svg,
|
|
44
44
|
IconButton2
|
|
45
|
-
} from "./Accordion-
|
|
45
|
+
} from "./Accordion-9tgvr155.js";
|
|
46
46
|
import {
|
|
47
47
|
Card2
|
|
48
|
-
} from "./Accordion-
|
|
48
|
+
} from "./Accordion-78astqx3.js";
|
|
49
49
|
import {
|
|
50
50
|
Icon2
|
|
51
51
|
} from "./Accordion-3zzzw7a8.js";
|
|
52
52
|
import {
|
|
53
53
|
Select2
|
|
54
|
-
} from "./Accordion-
|
|
54
|
+
} from "./Accordion-9gk4scdz.js";
|
|
55
55
|
import {
|
|
56
56
|
Gradient2
|
|
57
|
-
} from "./Accordion-
|
|
57
|
+
} from "./Accordion-zd15byha.js";
|
|
58
58
|
import {
|
|
59
59
|
useZoraTheme2
|
|
60
60
|
} from "./Accordion-b1y5mjac.js";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./Accordion-
|
|
3
|
+
Popover2
|
|
4
|
+
} from "./Accordion-7knb9jk2.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
|
Surface2
|
|
13
13
|
} from "./Accordion-5mga7hty.js";
|
|
14
14
|
import {
|
|
15
15
|
Field3
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-khfjh10v.js";
|
|
17
17
|
import {
|
|
18
18
|
Pressable
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-mnxf855g.js";
|
|
20
20
|
import {
|
|
21
21
|
Button3
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-9tgvr155.js";
|
|
23
23
|
import {
|
|
24
24
|
Icon2
|
|
25
25
|
} from "./Accordion-3zzzw7a8.js";
|
|
26
26
|
import {
|
|
27
27
|
Image2
|
|
28
|
-
} from "./Accordion-
|
|
28
|
+
} from "./Accordion-4yrszsvs.js";
|
|
29
29
|
import {
|
|
30
30
|
Text3
|
|
31
31
|
} from "./Accordion-8skz71ct.js";
|
|
@@ -221,7 +221,7 @@ function SelectInner({
|
|
|
221
221
|
}, [select]);
|
|
222
222
|
return /* @__PURE__ */ jsx4(SelectField, {
|
|
223
223
|
props,
|
|
224
|
-
children: /* @__PURE__ */ jsx4(
|
|
224
|
+
children: /* @__PURE__ */ jsx4(Popover2, {
|
|
225
225
|
anchor: ({ toggle }) => /* @__PURE__ */ jsx4(SelectTrigger, {
|
|
226
226
|
displayLabel: selectedOption?.label,
|
|
227
227
|
leadingMedia: selectedOption?.leadingMedia,
|
|
@@ -20,21 +20,21 @@ import {
|
|
|
20
20
|
} from "./Accordion-ww4f12ty.js";
|
|
21
21
|
import {
|
|
22
22
|
Pressable
|
|
23
|
-
} from "./Accordion-
|
|
23
|
+
} from "./Accordion-mnxf855g.js";
|
|
24
24
|
import {
|
|
25
25
|
Text2
|
|
26
|
-
} from "./Accordion-
|
|
26
|
+
} from "./Accordion-9b4bsxwe.js";
|
|
27
27
|
import {
|
|
28
28
|
withZoraThemeScope
|
|
29
29
|
} from "./Accordion-tk8zf9ff.js";
|
|
30
30
|
import {
|
|
31
31
|
View2
|
|
32
|
-
} from "./Accordion-
|
|
32
|
+
} from "./Accordion-4mg3epm9.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveControlSize,
|
|
35
35
|
resolveIconSize2,
|
|
36
36
|
resolveButtonColors
|
|
37
|
-
} from "./Accordion-
|
|
37
|
+
} from "./Accordion-akwd4brm.js";
|
|
38
38
|
import {
|
|
39
39
|
useZoraThemeRecipe,
|
|
40
40
|
ZORA_COLORS
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./Accordion-pdjhezmz.js";
|
|
11
11
|
import {
|
|
12
12
|
Text2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-9b4bsxwe.js";
|
|
14
14
|
import {
|
|
15
15
|
Portal
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-sbdgq8d5.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveOverlayAnimation
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-akwd4brm.js";
|
|
20
20
|
import {
|
|
21
21
|
require_cjs
|
|
22
22
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
GridView2
|
|
13
13
|
} from "./Accordion-rhjddvkh.js";
|
|
@@ -248,18 +248,6 @@ function resolveOverlayAnimation(layer) {
|
|
|
248
248
|
return { enterDuration: 160, exitDuration: 140, backdropOpacity: 0.32, offset: 12 };
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
// node_modules/@ankhorage/surface/src/internal/resolvers/resolveOverlayZIndex.ts
|
|
252
|
-
var BASE_Z_INDEX = {
|
|
253
|
-
modal: 1000,
|
|
254
|
-
drawer: 1100,
|
|
255
|
-
menu: 1200,
|
|
256
|
-
popover: 1250,
|
|
257
|
-
tooltip: 1300,
|
|
258
|
-
toast: 1400
|
|
259
|
-
};
|
|
260
|
-
function resolveOverlayZIndex(layer, stackIndex = 0) {
|
|
261
|
-
return BASE_Z_INDEX[layer] + stackIndex;
|
|
262
|
-
}
|
|
263
251
|
// node_modules/@ankhorage/surface/src/internal/resolvers/resolveSelectionControlBehavior.ts
|
|
264
252
|
function resolveSelectionControlNextChecked({
|
|
265
253
|
kind,
|
|
@@ -406,4 +394,4 @@ function resolveTextStyles(theme, options = {}) {
|
|
|
406
394
|
elevation: 0
|
|
407
395
|
};
|
|
408
396
|
}
|
|
409
|
-
export { resolveControlSize, resolveFieldPresentation, resolveFieldState, resolveFocusRingStyles, resolveIconSize2, resolveIndicatorSize, resolveButtonColors, resolveInputColors, resolveInteractiveState, resolveOverlayAnimation,
|
|
397
|
+
export { resolveControlSize, resolveFieldPresentation, resolveFieldState, resolveFocusRingStyles, resolveIconSize2, resolveIndicatorSize, resolveButtonColors, resolveInputColors, resolveInteractiveState, resolveOverlayAnimation, resolveSelectionControlNextChecked, resolveSelectionControlColors, resolveSelectionControlInteractionState, resolveTextStyles };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./Accordion-be2yhfqz.js";
|
|
5
5
|
import {
|
|
6
6
|
Portal
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-sbdgq8d5.js";
|
|
8
8
|
import {
|
|
9
9
|
resolvePointerEvents,
|
|
10
10
|
View3
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
} from "./Accordion-tk8zf9ff.js";
|
|
21
21
|
import {
|
|
22
22
|
View2
|
|
23
|
-
} from "./Accordion-
|
|
23
|
+
} from "./Accordion-4mg3epm9.js";
|
|
24
24
|
import {
|
|
25
25
|
Heading2,
|
|
26
26
|
Text3
|
|
27
27
|
} from "./Accordion-8skz71ct.js";
|
|
28
28
|
import {
|
|
29
29
|
resolveOverlayAnimation
|
|
30
|
-
} from "./Accordion-
|
|
30
|
+
} from "./Accordion-akwd4brm.js";
|
|
31
31
|
import {
|
|
32
32
|
require_cjs
|
|
33
33
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
View2,
|
|
10
10
|
Divider2,
|
|
11
11
|
ScrollView2
|
|
12
|
-
} from "./Accordion-
|
|
12
|
+
} from "./Accordion-4mg3epm9.js";
|
|
13
13
|
import {
|
|
14
14
|
Surface2
|
|
15
15
|
} from "./Accordion-5mga7hty.js";
|
|
@@ -18,19 +18,19 @@ import {
|
|
|
18
18
|
} from "./Accordion-8skz71ct.js";
|
|
19
19
|
import {
|
|
20
20
|
Button3
|
|
21
|
-
} from "./Accordion-
|
|
21
|
+
} from "./Accordion-9tgvr155.js";
|
|
22
22
|
import {
|
|
23
23
|
FormActions2,
|
|
24
24
|
FormError2,
|
|
25
25
|
hasRequiredRule,
|
|
26
26
|
useFormController
|
|
27
|
-
} from "./Accordion-
|
|
27
|
+
} from "./Accordion-ytf9ba8v.js";
|
|
28
28
|
import {
|
|
29
29
|
Field2
|
|
30
|
-
} from "./Accordion-
|
|
30
|
+
} from "./Accordion-gs838h0n.js";
|
|
31
31
|
import {
|
|
32
32
|
TextInput2
|
|
33
|
-
} from "./Accordion-
|
|
33
|
+
} from "./Accordion-49d0frg7.js";
|
|
34
34
|
import {
|
|
35
35
|
require_cjs
|
|
36
36
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Field3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-khfjh10v.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";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-4mg3epm9.js";
|
|
5
5
|
import {
|
|
6
6
|
Text3
|
|
7
7
|
} from "./Accordion-8skz71ct.js";
|
|
8
8
|
import {
|
|
9
9
|
Field3
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-khfjh10v.js";
|
|
11
11
|
|
|
12
12
|
// src/features/picker/composition/PickerHeader.tsx
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./Accordion-ww4f12ty.js";
|
|
5
5
|
import {
|
|
6
6
|
Text2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-9b4bsxwe.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveFieldPresentation,
|
|
10
10
|
resolveFieldState
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-akwd4brm.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";
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
useTheme
|
|
13
13
|
} from "./Accordion-9d38cgqj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./Accordion-
|
|
15
|
+
Popover2
|
|
16
|
+
} from "./Accordion-7knb9jk2.js";
|
|
17
17
|
import {
|
|
18
18
|
Surface3
|
|
19
19
|
} from "./Accordion-pdjhezmz.js";
|
|
20
20
|
import {
|
|
21
21
|
Text2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-9b4bsxwe.js";
|
|
23
23
|
import {
|
|
24
24
|
withZoraThemeScope
|
|
25
25
|
} from "./Accordion-tk8zf9ff.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./Accordion-3zzzw7a8.js";
|
|
29
29
|
import {
|
|
30
30
|
View2
|
|
31
|
-
} from "./Accordion-
|
|
31
|
+
} from "./Accordion-4mg3epm9.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveIconSize
|
|
34
34
|
} from "./Accordion-961ncx4e.js";
|
|
@@ -110,7 +110,7 @@ function PopoverMenu({
|
|
|
110
110
|
}) {
|
|
111
111
|
const passive = interactionPolicy === "passive";
|
|
112
112
|
const controller = usePopoverMenuController({ actions, closeOnSelect, dismiss, passive });
|
|
113
|
-
return /* @__PURE__ */ jsx(
|
|
113
|
+
return /* @__PURE__ */ jsx(Popover2, {
|
|
114
114
|
anchor: trigger,
|
|
115
115
|
closeOnOutsidePress: true,
|
|
116
116
|
interactionPolicy,
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
} from "./Accordion-tk8zf9ff.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-4mg3epm9.js";
|
|
8
8
|
import {
|
|
9
9
|
ButtonGroup2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-9tgvr155.js";
|
|
11
11
|
import {
|
|
12
12
|
Card2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-78astqx3.js";
|
|
14
14
|
import {
|
|
15
15
|
List2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-516n2cx4.js";
|
|
17
17
|
import {
|
|
18
18
|
useZoraTheme2
|
|
19
19
|
} from "./Accordion-b1y5mjac.js";
|