@ankhorage/zora 21.0.6 → 21.0.7
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/package.json +1 -1
- package/web-dist/chunks/{Accordion-e44js4wd.js → Accordion-31aeqxak.js} +1 -1
- package/web-dist/chunks/{Accordion-n2vxcm6e.js → Accordion-33rd76r7.js} +1 -1
- package/web-dist/chunks/{Accordion-0807vg3c.js → Accordion-3404tth9.js} +6 -6
- package/web-dist/chunks/{Accordion-fmgs799n.js → Accordion-4a6wj3ez.js} +2 -2
- package/web-dist/chunks/{Accordion-jftka3t5.js → Accordion-7ja4mtbz.js} +2 -2
- package/web-dist/chunks/{Accordion-hsbv8mrv.js → Accordion-8kgtg62g.js} +4 -4
- package/web-dist/chunks/{Accordion-4nnxzn40.js → Accordion-ch67q4t0.js} +1 -1
- package/web-dist/chunks/{Accordion-0exp2200.js → Accordion-f05a7r28.js} +5 -5
- package/web-dist/chunks/{Accordion-1xv7q28g.js → Accordion-f1h2f05v.js} +4 -4
- package/web-dist/chunks/{Accordion-m1ae9dzy.js → Accordion-far6szrp.js} +1 -1
- package/web-dist/chunks/{Accordion-qyc49ygk.js → Accordion-fmxygyb6.js} +3 -3
- package/web-dist/chunks/{Accordion-v1t7m5kk.js → Accordion-gbba10rg.js} +5 -5
- package/web-dist/chunks/{Accordion-dy17cf8h.js → Accordion-hxfa71g9.js} +1 -1
- package/web-dist/chunks/{Accordion-gf3hxf5v.js → Accordion-j2c7btke.js} +5 -5
- package/web-dist/chunks/{Accordion-3tmvwk1n.js → Accordion-jzbq36ec.js} +6 -6
- package/web-dist/chunks/{Accordion-42tn3yha.js → Accordion-kpq8dhze.js} +6 -6
- package/web-dist/chunks/{Accordion-ddt106dy.js → Accordion-pkqj4g3r.js} +5 -5
- package/web-dist/chunks/{Accordion-xctsc2hx.js → Accordion-qpwhmqzd.js} +10 -10
- package/web-dist/chunks/{Accordion-g9r7fyzg.js → Accordion-rrpej6sv.js} +1 -1
- package/web-dist/chunks/{Accordion-g1yeftrh.js → Accordion-s42wwh6m.js} +4 -4
- package/web-dist/chunks/{Accordion-wn04ytqz.js → Accordion-sz21xsf4.js} +3 -3
- package/web-dist/chunks/{Accordion-pznmbhc3.js → Accordion-t3p4ykg7.js} +7 -7
- package/web-dist/chunks/{Accordion-6g3bqvf5.js → Accordion-tx78txec.js} +5 -5
- package/web-dist/chunks/{Accordion-w9xmhjv6.js → Accordion-v6ykq9hv.js} +3 -3
- package/web-dist/chunks/{Accordion-wx5e97wt.js → Accordion-x0j8b2by.js} +3 -3
- package/web-dist/chunks/{Accordion-4cpnj7mw.js → Accordion-xshn7k8f.js} +2 -2
- package/web-dist/components/accordion/Accordion.js +4 -4
- package/web-dist/components/accordion-item/AccordionItem.js +4 -4
- package/web-dist/components/activity-indicator/ActivityIndicator.js +3 -3
- package/web-dist/components/app-bar/AppBar.js +6 -6
- package/web-dist/components/avatar/Avatar.js +4 -4
- package/web-dist/components/avatar-group/AvatarGroup.js +4 -4
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +8 -8
- 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 +6 -6
- package/web-dist/components/button/Button.js +3 -3
- package/web-dist/components/button-group/ButtonGroup.js +3 -3
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +8 -8
- package/web-dist/components/card/Card.js +7 -7
- package/web-dist/components/chat-list-item/ChatListItem.js +5 -5
- 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 +4 -4
- package/web-dist/components/chip-group/ChipGroup.js +4 -4
- package/web-dist/components/collection-editor/CollectionEditor.js +7 -7
- package/web-dist/components/content-rail/ContentRail.js +7 -7
- package/web-dist/components/data-table/DataTable.js +12 -12
- package/web-dist/components/date-picker/DatePicker.js +4 -4
- package/web-dist/components/dialog/Dialog.js +4 -4
- package/web-dist/components/empty-state/EmptyState.js +8 -8
- package/web-dist/components/field/Field.js +4 -4
- package/web-dist/components/flat-list/FlatList.js +5 -5
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +8 -8
- package/web-dist/components/form/Form.js +6 -6
- package/web-dist/components/form-actions/FormActions.js +6 -6
- package/web-dist/components/form-error/FormError.js +6 -6
- package/web-dist/components/heading/Heading.js +3 -3
- package/web-dist/components/hero/Hero.js +7 -7
- package/web-dist/components/icon-button/IconButton.js +3 -3
- 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/media-card/MediaCard.js +7 -7
- package/web-dist/components/message-bubble/MessageBubble.js +5 -5
- package/web-dist/components/metric-card/MetricCard.js +7 -7
- package/web-dist/components/missing-element/MissingElement.js +5 -5
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +8 -8
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +8 -8
- package/web-dist/components/otp-form/OtpForm.js +8 -8
- package/web-dist/components/pagination/Pagination.js +4 -4
- package/web-dist/components/palette-item/PaletteItem.js +9 -9
- package/web-dist/components/popover-menu/PopoverMenu.js +2 -2
- package/web-dist/components/post-card/PostCard.js +7 -7
- package/web-dist/components/product-card/ProductCard.js +7 -7
- package/web-dist/components/progress/Progress.js +4 -4
- package/web-dist/components/progress-ring/ProgressRing.js +4 -4
- 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 +3 -3
- package/web-dist/components/reader-surface/ReaderSurface.js +10 -10
- package/web-dist/components/scan-overlay/ScanOverlay.js +8 -8
- package/web-dist/components/screen-section/ScreenSection.js +4 -4
- package/web-dist/components/search-input/SearchInput.js +4 -4
- package/web-dist/components/section-header/SectionHeader.js +4 -4
- package/web-dist/components/section-list/SectionList.js +5 -5
- package/web-dist/components/select/Select.js +3 -3
- package/web-dist/components/sign-in-form/SignInForm.js +8 -8
- package/web-dist/components/sign-up-form/SignUpForm.js +8 -8
- package/web-dist/components/skeleton/Skeleton.js +10 -10
- package/web-dist/components/skeleton-card/SkeletonCard.js +10 -10
- package/web-dist/components/skeleton-list/SkeletonList.js +10 -10
- package/web-dist/components/skeleton-text/SkeletonText.js +10 -10
- package/web-dist/components/text/Text.js +3 -3
- package/web-dist/components/text-input/TextInput.js +4 -4
- package/web-dist/components/time-picker/TimePicker.js +4 -4
- package/web-dist/components/timeline/Timeline.js +5 -5
- package/web-dist/components/toolbar/Toolbar.js +7 -7
- package/web-dist/components/tree-item/TreeItem.js +6 -6
- package/web-dist/components/uploader/Uploader.js +9 -9
- package/web-dist/manifest.json +424 -423
- package/web-dist/runtime/ZoraProvider.d.ts +74 -2
- package/web-dist/runtime/ZoraProvider.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 21.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 99ef629: Expose the active ZORA theme runtime alongside the materialized web ZoraProvider so external renderers can consume the same theme mode and resolved semantic tokens.
|
|
8
|
+
|
|
3
9
|
## 21.0.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# @ankhorage/zora
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/zora",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "21.0.
|
|
4
|
+
"version": "21.0.7",
|
|
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": {
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
} from "./Accordion-96cqeekv.js";
|
|
11
11
|
import {
|
|
12
12
|
Text2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-f05a7r28.js";
|
|
14
14
|
import {
|
|
15
15
|
Avatar2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-gbba10rg.js";
|
|
17
17
|
import {
|
|
18
18
|
Badge2
|
|
19
19
|
} from "./Accordion-1pp37dtg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./Accordion-
|
|
21
|
+
useZoraTheme2
|
|
22
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
23
23
|
|
|
24
24
|
// src/features/chat/adapters/inbound/ChatListItem.tsx
|
|
25
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -80,7 +80,7 @@ function ChatListItemInner({
|
|
|
80
80
|
accessibilityLabel,
|
|
81
81
|
onPress
|
|
82
82
|
}) {
|
|
83
|
-
const { theme } =
|
|
83
|
+
const { theme } = useZoraTheme2();
|
|
84
84
|
const padding = resolvePadding(compact);
|
|
85
85
|
const avatarName = resolveAvatarName({ avatar, title });
|
|
86
86
|
const isInteractive = Boolean(onPress);
|
|
@@ -322,7 +322,7 @@ function MessageBubbleInner({
|
|
|
322
322
|
accessibilityLabel,
|
|
323
323
|
onPress
|
|
324
324
|
}) {
|
|
325
|
-
const { theme } =
|
|
325
|
+
const { theme } = useZoraTheme2();
|
|
326
326
|
const padding = resolvePadding2(compact);
|
|
327
327
|
const isInteractive = Boolean(onPress);
|
|
328
328
|
const isOutgoing = direction === "outgoing";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
} from "./Accordion-96cqeekv.js";
|
|
24
24
|
import {
|
|
25
25
|
useZoraThemeRecipe
|
|
26
|
-
} from "./Accordion-
|
|
26
|
+
} from "./Accordion-sz21xsf4.js";
|
|
27
27
|
import {
|
|
28
28
|
Text2
|
|
29
|
-
} from "./Accordion-
|
|
29
|
+
} from "./Accordion-f05a7r28.js";
|
|
30
30
|
import {
|
|
31
31
|
Icon2
|
|
32
32
|
} from "./Accordion-paha5aje.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Button2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-33rd76r7.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-grfbz6f2.js";
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
FormError2,
|
|
14
14
|
hasRequiredRule,
|
|
15
15
|
useFormController
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-pkqj4g3r.js";
|
|
17
17
|
import {
|
|
18
18
|
Field2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-ch67q4t0.js";
|
|
20
20
|
import {
|
|
21
21
|
TextInput2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-f1h2f05v.js";
|
|
23
23
|
|
|
24
24
|
// src/features/auth/adapters/inbound/ForgotPasswordForm.tsx
|
|
25
25
|
import React from "react";
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
} from "./Accordion-grfbz6f2.js";
|
|
12
12
|
import {
|
|
13
13
|
useZoraThemeRecipe
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-sz21xsf4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./Accordion-
|
|
16
|
+
useZoraTheme2
|
|
17
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
20
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -261,7 +261,7 @@ function HeadingInner({
|
|
|
261
261
|
testID,
|
|
262
262
|
interactionPolicy: _interactionPolicy
|
|
263
263
|
}) {
|
|
264
|
-
const { theme } =
|
|
264
|
+
const { theme } = useZoraTheme2();
|
|
265
265
|
const { breakpoint } = useResponsiveRuntime();
|
|
266
266
|
const themeRecipe = resolveHeadingThemeRecipe(useZoraThemeRecipe("Heading"));
|
|
267
267
|
const content = resolveHeadingContent({ children, text, i18nKey });
|
|
@@ -558,7 +558,7 @@ function TextInner({
|
|
|
558
558
|
testID,
|
|
559
559
|
interactionPolicy: _interactionPolicy
|
|
560
560
|
}) {
|
|
561
|
-
const { theme } =
|
|
561
|
+
const { theme } = useZoraTheme2();
|
|
562
562
|
const { breakpoint } = useResponsiveRuntime();
|
|
563
563
|
const themeRecipe = resolveTextThemeRecipe(useZoraThemeRecipe("Text"));
|
|
564
564
|
const content = resolveTextContent({ children, text, i18nKey });
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./Accordion-t6sdgmbz.js";
|
|
9
9
|
import {
|
|
10
10
|
IconButton2
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-33rd76r7.js";
|
|
12
12
|
import {
|
|
13
13
|
withZoraThemeScope
|
|
14
14
|
} from "./Accordion-grfbz6f2.js";
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
resolveIconSize
|
|
17
17
|
} from "./Accordion-961ncx4e.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./Accordion-
|
|
19
|
+
useZoraTheme2
|
|
20
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveControlSize,
|
|
23
23
|
resolveFieldState,
|
|
@@ -160,7 +160,7 @@ function TextInputInner({
|
|
|
160
160
|
interactionPolicy,
|
|
161
161
|
...props
|
|
162
162
|
}) {
|
|
163
|
-
const { theme } =
|
|
163
|
+
const { theme } = useZoraTheme2();
|
|
164
164
|
const iconSize = resolveIconSize(size);
|
|
165
165
|
const iconColor = theme.semantics.content.muted;
|
|
166
166
|
return /* @__PURE__ */ jsx2(TextInput, {
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
View2
|
|
13
13
|
} from "./Accordion-96cqeekv.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./Accordion-
|
|
15
|
+
useZoraTheme2
|
|
16
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
17
17
|
import {
|
|
18
18
|
__toESM
|
|
19
19
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -74,7 +74,7 @@ function BottomSheetInner({
|
|
|
74
74
|
onIndexChange
|
|
75
75
|
}) {
|
|
76
76
|
const { present, dismiss } = useBottomSheet();
|
|
77
|
-
const { mode } =
|
|
77
|
+
const { mode } = useZoraTheme2();
|
|
78
78
|
const { themeId } = useZoraThemeRuntime();
|
|
79
79
|
const active = open && interactionPolicy !== "passive";
|
|
80
80
|
const dismissed = React3.useRef(false);
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./Accordion-96cqeekv.js";
|
|
14
14
|
import {
|
|
15
15
|
Text2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-f05a7r28.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./Accordion-
|
|
18
|
+
useZoraTheme2
|
|
19
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
20
20
|
import {
|
|
21
21
|
__toESM
|
|
22
22
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -142,7 +142,7 @@ function AvatarInner({
|
|
|
142
142
|
color = "neutral",
|
|
143
143
|
interactionPolicy: _interactionPolicy
|
|
144
144
|
}) {
|
|
145
|
-
const { theme } =
|
|
145
|
+
const { theme } = useZoraTheme2();
|
|
146
146
|
const resolvedSize = resolveAvatarSize(size);
|
|
147
147
|
const resolvedInitials = initials ?? resolveAvatarInitials(name);
|
|
148
148
|
const role = resolveRoleSemantics(theme, color);
|
|
@@ -204,7 +204,7 @@ function AvatarGroupInner({
|
|
|
204
204
|
shape = "circle",
|
|
205
205
|
overflowLabel = defaultOverflowLabel
|
|
206
206
|
}) {
|
|
207
|
-
const { theme } =
|
|
207
|
+
const { theme } = useZoraTheme2();
|
|
208
208
|
const visibleItems = items.slice(0, max);
|
|
209
209
|
const overflowCount = Math.max(0, items.length - visibleItems.length);
|
|
210
210
|
const overlap = size === "xs" ? 8 : size === "s" ? 10 : size === "m" ? 12 : size === "l" ? 14 : 16;
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./Accordion-grfbz6f2.js";
|
|
9
9
|
import {
|
|
10
10
|
Text2
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-f05a7r28.js";
|
|
12
12
|
import {
|
|
13
13
|
View3
|
|
14
14
|
} from "./Accordion-ars389m1.js";
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
} from "./Accordion-0jkm3y3w.js";
|
|
25
25
|
import {
|
|
26
26
|
SectionHeader2
|
|
27
|
-
} from "./Accordion-
|
|
27
|
+
} from "./Accordion-31aeqxak.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./Accordion-
|
|
29
|
+
useZoraTheme2
|
|
30
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
31
31
|
import {
|
|
32
32
|
__toESM
|
|
33
33
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -251,7 +251,7 @@ function ListItemInner({
|
|
|
251
251
|
compact = false,
|
|
252
252
|
variant = "divider"
|
|
253
253
|
}) {
|
|
254
|
-
const { theme } =
|
|
254
|
+
const { theme } = useZoraTheme2();
|
|
255
255
|
const trailingContent = renderTrailing(trailing, action);
|
|
256
256
|
return /* @__PURE__ */ jsx5(View2, {
|
|
257
257
|
bg: variant === "card" ? theme.semantics.surface.raised : "transparent",
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./Accordion-49gf1zb8.js";
|
|
10
10
|
import {
|
|
11
11
|
IconButton2
|
|
12
|
-
} from "./Accordion-
|
|
12
|
+
} from "./Accordion-33rd76r7.js";
|
|
13
13
|
import {
|
|
14
14
|
withZoraThemeScope
|
|
15
15
|
} from "./Accordion-grfbz6f2.js";
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
} from "./Accordion-96cqeekv.js";
|
|
19
19
|
import {
|
|
20
20
|
PopoverMenu2
|
|
21
|
-
} from "./Accordion-
|
|
21
|
+
} from "./Accordion-v6ykq9hv.js";
|
|
22
22
|
import {
|
|
23
23
|
Heading2,
|
|
24
24
|
Text2
|
|
25
|
-
} from "./Accordion-
|
|
25
|
+
} from "./Accordion-f05a7r28.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./Accordion-
|
|
27
|
+
useZoraTheme2
|
|
28
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
29
29
|
import {
|
|
30
30
|
__toESM
|
|
31
31
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -145,7 +145,7 @@ function AppBarInner({
|
|
|
145
145
|
testID,
|
|
146
146
|
interactionPolicy
|
|
147
147
|
}) {
|
|
148
|
-
const { theme } =
|
|
148
|
+
const { theme } = useZoraTheme2();
|
|
149
149
|
const resolvedMode = resolveMode(appMode);
|
|
150
150
|
const isSelectionMode = resolvedMode.type === "selection";
|
|
151
151
|
const resolvedLeading = leading ?? resolveSelectionLeading(resolvedMode, interactionPolicy);
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
} from "./Accordion-96cqeekv.js";
|
|
8
8
|
import {
|
|
9
9
|
ButtonGroup2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-33rd76r7.js";
|
|
11
11
|
import {
|
|
12
12
|
Card2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-qpwhmqzd.js";
|
|
14
14
|
import {
|
|
15
15
|
List2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-j2c7btke.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./Accordion-
|
|
18
|
+
useZoraTheme2
|
|
19
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
20
20
|
|
|
21
21
|
// src/features/skeleton/adapters/inbound/Skeleton.tsx
|
|
22
22
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -28,7 +28,7 @@ function SkeletonInner({
|
|
|
28
28
|
height = 16,
|
|
29
29
|
radius = "m"
|
|
30
30
|
}) {
|
|
31
|
-
const { theme } =
|
|
31
|
+
const { theme } = useZoraTheme2();
|
|
32
32
|
return /* @__PURE__ */ jsx(View2, {
|
|
33
33
|
accessibilityLabel: "Loading",
|
|
34
34
|
accessibilityRole: "text",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Button2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-33rd76r7.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-grfbz6f2.js";
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./Accordion-96cqeekv.js";
|
|
11
11
|
import {
|
|
12
12
|
Text2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-f05a7r28.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./Accordion-
|
|
15
|
+
useZoraTheme2
|
|
16
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
17
17
|
|
|
18
18
|
// src/features/form/adapters/inbound/FormActions.tsx
|
|
19
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -86,7 +86,7 @@ var Form2 = withZoraThemeScope(FormInner);
|
|
|
86
86
|
// src/features/form/adapters/inbound/FormError.tsx
|
|
87
87
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
88
88
|
function FormErrorInner({ themeId: _themeId, mode: _mode, error, testID }) {
|
|
89
|
-
const { theme } =
|
|
89
|
+
const { theme } = useZoraTheme2();
|
|
90
90
|
if (!error)
|
|
91
91
|
return null;
|
|
92
92
|
return /* @__PURE__ */ jsx3(View2, {
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
} from "./Accordion-96cqeekv.js";
|
|
19
19
|
import {
|
|
20
20
|
useZoraThemeRecipe
|
|
21
|
-
} from "./Accordion-
|
|
21
|
+
} from "./Accordion-sz21xsf4.js";
|
|
22
22
|
import {
|
|
23
23
|
Heading2,
|
|
24
24
|
Text2
|
|
25
|
-
} from "./Accordion-
|
|
25
|
+
} from "./Accordion-f05a7r28.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveBadgeRecipe,
|
|
28
28
|
Badge2
|
|
@@ -32,19 +32,19 @@ import {
|
|
|
32
32
|
} from "./Accordion-paha5aje.js";
|
|
33
33
|
import {
|
|
34
34
|
Avatar2
|
|
35
|
-
} from "./Accordion-
|
|
35
|
+
} from "./Accordion-gbba10rg.js";
|
|
36
36
|
import {
|
|
37
37
|
Button2
|
|
38
|
-
} from "./Accordion-
|
|
38
|
+
} from "./Accordion-33rd76r7.js";
|
|
39
39
|
import {
|
|
40
40
|
Image2
|
|
41
|
-
} from "./Accordion-
|
|
41
|
+
} from "./Accordion-x0j8b2by.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveIconSize
|
|
44
44
|
} from "./Accordion-961ncx4e.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
} from "./Accordion-
|
|
46
|
+
useZoraTheme2
|
|
47
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
48
48
|
import {
|
|
49
49
|
__toESM
|
|
50
50
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -247,7 +247,7 @@ function MetricCardInner({
|
|
|
247
247
|
compact = false,
|
|
248
248
|
onPress
|
|
249
249
|
}) {
|
|
250
|
-
const { theme } =
|
|
250
|
+
const { theme } = useZoraTheme2();
|
|
251
251
|
const isInteractive = Boolean(onPress) && !actions;
|
|
252
252
|
const badgeRecipe = resolveBadgeRecipe({ color: deltaColor, variant: "soft", size: "s" });
|
|
253
253
|
const iconColor = theme.semantics.content.muted;
|
|
@@ -378,7 +378,7 @@ function PostCardAuthor({ author, compact = false }) {
|
|
|
378
378
|
});
|
|
379
379
|
}
|
|
380
380
|
function PostCardMediaItem({ media }) {
|
|
381
|
-
const { theme } =
|
|
381
|
+
const { theme } = useZoraTheme2();
|
|
382
382
|
const aspectRatio = resolveMediaAspectRatio(media.aspectRatio);
|
|
383
383
|
if (!("source" in media)) {
|
|
384
384
|
return /* @__PURE__ */ jsx4(View2, {
|
|
@@ -733,7 +733,7 @@ function MediaCardInner({
|
|
|
733
733
|
compact = false,
|
|
734
734
|
onPress
|
|
735
735
|
}) {
|
|
736
|
-
const { theme } =
|
|
736
|
+
const { theme } = useZoraTheme2();
|
|
737
737
|
const gap = compact ? "s" : "m";
|
|
738
738
|
const isInteractive = Boolean(onPress) && !actions;
|
|
739
739
|
const resolvedAspectRatio = resolveImageAspectRatio(imageAspectRatio);
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
} from "./Accordion-96cqeekv.js";
|
|
14
14
|
import {
|
|
15
15
|
Text2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-f05a7r28.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveIconSize
|
|
19
19
|
} from "./Accordion-961ncx4e.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./Accordion-
|
|
21
|
+
useZoraTheme2
|
|
22
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
23
23
|
|
|
24
24
|
// src/features/chip/utils/resolveChipColors.ts
|
|
25
25
|
function resolveChipColors({
|
|
@@ -103,7 +103,7 @@ function ChipInner({
|
|
|
103
103
|
interactionPolicy,
|
|
104
104
|
onPress
|
|
105
105
|
}) {
|
|
106
|
-
const { theme } =
|
|
106
|
+
const { theme } = useZoraTheme2();
|
|
107
107
|
const padding = resolveChipPadding(size);
|
|
108
108
|
const iconSize = resolveIconSize(size);
|
|
109
109
|
const renderContent = (state) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./Accordion-
|
|
3
|
+
useZoraTheme2
|
|
4
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
5
5
|
|
|
6
6
|
// node_modules/@ankhorage/surface/src/constants/surfaceColor.ts
|
|
7
7
|
var SURFACE_PALETTE_COLORS = [
|
|
@@ -239,7 +239,7 @@ function hasOwn(value, key) {
|
|
|
239
239
|
|
|
240
240
|
// src/features/theme/composition/useZoraThemeRecipe.ts
|
|
241
241
|
function useZoraThemeRecipe(recipeName) {
|
|
242
|
-
const { theme } =
|
|
242
|
+
const { theme } = useZoraTheme2();
|
|
243
243
|
return resolveZoraThemeRecipe(theme, recipeName);
|
|
244
244
|
}
|
|
245
245
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./Accordion-49gf1zb8.js";
|
|
5
5
|
import {
|
|
6
6
|
Button2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-33rd76r7.js";
|
|
8
8
|
import {
|
|
9
9
|
withZoraThemeScope
|
|
10
10
|
} from "./Accordion-grfbz6f2.js";
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
} from "./Accordion-96cqeekv.js";
|
|
14
14
|
import {
|
|
15
15
|
Card2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-qpwhmqzd.js";
|
|
17
17
|
import {
|
|
18
18
|
Text2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-f05a7r28.js";
|
|
20
20
|
import {
|
|
21
21
|
Badge2
|
|
22
22
|
} from "./Accordion-1pp37dtg.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./Accordion-
|
|
24
|
+
useZoraTheme2
|
|
25
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
28
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -130,7 +130,7 @@ function ScanOverlayInner({
|
|
|
130
130
|
cornerLabel = "SCAN",
|
|
131
131
|
testID
|
|
132
132
|
}) {
|
|
133
|
-
const { theme } =
|
|
133
|
+
const { theme } = useZoraTheme2();
|
|
134
134
|
const frameStyle = {
|
|
135
135
|
borderColor: theme.semantics.border.default
|
|
136
136
|
};
|
|
@@ -250,7 +250,7 @@ function BarcodeScannerViewInner({
|
|
|
250
250
|
onManualEntry,
|
|
251
251
|
testID
|
|
252
252
|
}) {
|
|
253
|
-
const { theme } =
|
|
253
|
+
const { theme } = useZoraTheme2();
|
|
254
254
|
const viewportStyle = {
|
|
255
255
|
backgroundColor: theme.semantics.surface.default
|
|
256
256
|
};
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./Accordion-96cqeekv.js";
|
|
11
11
|
import {
|
|
12
12
|
Text2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-f05a7r28.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./Accordion-
|
|
15
|
+
useZoraTheme2
|
|
16
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
17
17
|
import {
|
|
18
18
|
__toESM
|
|
19
19
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -83,7 +83,7 @@ function ProgressInner({
|
|
|
83
83
|
color = "primary",
|
|
84
84
|
size = "m"
|
|
85
85
|
}) {
|
|
86
|
-
const { theme } =
|
|
86
|
+
const { theme } = useZoraTheme2();
|
|
87
87
|
const fraction = resolveProgressFraction({ value, max });
|
|
88
88
|
const height = resolveProgressHeight(size);
|
|
89
89
|
const role = resolveProgressRole(theme, color);
|
|
@@ -156,7 +156,7 @@ function ProgressRingInner({
|
|
|
156
156
|
trackColor = "neutral",
|
|
157
157
|
value
|
|
158
158
|
}) {
|
|
159
|
-
const { theme } =
|
|
159
|
+
const { theme } = useZoraTheme2();
|
|
160
160
|
const fraction = resolveProgressFraction({ max, value });
|
|
161
161
|
const geometry = resolveProgressRingGeometry({ fraction, size, thickness });
|
|
162
162
|
const progressRole = resolveProgressRole(theme, color);
|
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
resolveIconSize
|
|
35
35
|
} from "./Accordion-961ncx4e.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./Accordion-
|
|
37
|
+
useZoraTheme2
|
|
38
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
39
39
|
import {
|
|
40
40
|
__toESM
|
|
41
41
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -268,7 +268,7 @@ function PopoverMenuInner({
|
|
|
268
268
|
onDismiss,
|
|
269
269
|
...props
|
|
270
270
|
}) {
|
|
271
|
-
const { theme } =
|
|
271
|
+
const { theme } = useZoraTheme2();
|
|
272
272
|
const iconColor = theme.semantics.content.muted;
|
|
273
273
|
const surfaceActions = React3.useMemo(() => actions.map((action) => toSurfaceAction(action, iconColor)), [actions, iconColor]);
|
|
274
274
|
return /* @__PURE__ */ jsx2(PopoverMenu, {
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
View2
|
|
14
14
|
} from "./Accordion-96cqeekv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./Accordion-
|
|
16
|
+
useZoraTheme2
|
|
17
|
+
} from "./Accordion-7ja4mtbz.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveToken
|
|
20
20
|
} from "./Accordion-fre84yaq.js";
|
|
@@ -163,7 +163,7 @@ function ImageInner({
|
|
|
163
163
|
onError,
|
|
164
164
|
...props
|
|
165
165
|
}) {
|
|
166
|
-
const { theme } =
|
|
166
|
+
const { theme } = useZoraTheme2();
|
|
167
167
|
const resolvedSource = resolveImageSource(source);
|
|
168
168
|
const sourceKey = resolveImageSourceKey(source);
|
|
169
169
|
const firstFailureKeyRef = React2.useRef(null);
|