@ankhorage/zora 21.0.5 → 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.
Files changed (111) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/package.json +2 -2
  4. package/web-dist/chunks/{Accordion-e44js4wd.js → Accordion-31aeqxak.js} +1 -1
  5. package/web-dist/chunks/{Accordion-n2vxcm6e.js → Accordion-33rd76r7.js} +1 -1
  6. package/web-dist/chunks/{Accordion-0807vg3c.js → Accordion-3404tth9.js} +6 -6
  7. package/web-dist/chunks/{Accordion-fmgs799n.js → Accordion-4a6wj3ez.js} +2 -2
  8. package/web-dist/chunks/{Accordion-jftka3t5.js → Accordion-7ja4mtbz.js} +2 -2
  9. package/web-dist/chunks/{Accordion-hsbv8mrv.js → Accordion-8kgtg62g.js} +4 -4
  10. package/web-dist/chunks/{Accordion-4nnxzn40.js → Accordion-ch67q4t0.js} +1 -1
  11. package/web-dist/chunks/{Accordion-0exp2200.js → Accordion-f05a7r28.js} +5 -5
  12. package/web-dist/chunks/{Accordion-1xv7q28g.js → Accordion-f1h2f05v.js} +4 -4
  13. package/web-dist/chunks/{Accordion-m1ae9dzy.js → Accordion-far6szrp.js} +1 -1
  14. package/web-dist/chunks/{Accordion-qyc49ygk.js → Accordion-fmxygyb6.js} +3 -3
  15. package/web-dist/chunks/{Accordion-v1t7m5kk.js → Accordion-gbba10rg.js} +5 -5
  16. package/web-dist/chunks/{Accordion-dy17cf8h.js → Accordion-hxfa71g9.js} +1 -1
  17. package/web-dist/chunks/{Accordion-gf3hxf5v.js → Accordion-j2c7btke.js} +5 -5
  18. package/web-dist/chunks/{Accordion-3tmvwk1n.js → Accordion-jzbq36ec.js} +6 -6
  19. package/web-dist/chunks/{Accordion-42tn3yha.js → Accordion-kpq8dhze.js} +6 -6
  20. package/web-dist/chunks/{Accordion-ddt106dy.js → Accordion-pkqj4g3r.js} +5 -5
  21. package/web-dist/chunks/{Accordion-xctsc2hx.js → Accordion-qpwhmqzd.js} +10 -10
  22. package/web-dist/chunks/{Accordion-g9r7fyzg.js → Accordion-rrpej6sv.js} +1 -1
  23. package/web-dist/chunks/{Accordion-g1yeftrh.js → Accordion-s42wwh6m.js} +4 -4
  24. package/web-dist/chunks/{Accordion-wn04ytqz.js → Accordion-sz21xsf4.js} +3 -3
  25. package/web-dist/chunks/{Accordion-pznmbhc3.js → Accordion-t3p4ykg7.js} +7 -7
  26. package/web-dist/chunks/{Accordion-6g3bqvf5.js → Accordion-tx78txec.js} +5 -5
  27. package/web-dist/chunks/{Accordion-w9xmhjv6.js → Accordion-v6ykq9hv.js} +3 -3
  28. package/web-dist/chunks/{Accordion-wx5e97wt.js → Accordion-x0j8b2by.js} +3 -3
  29. package/web-dist/chunks/{Accordion-4cpnj7mw.js → Accordion-xshn7k8f.js} +2 -2
  30. package/web-dist/components/accordion/Accordion.js +4 -4
  31. package/web-dist/components/accordion-item/AccordionItem.js +4 -4
  32. package/web-dist/components/activity-indicator/ActivityIndicator.js +3 -3
  33. package/web-dist/components/app-bar/AppBar.js +6 -6
  34. package/web-dist/components/avatar/Avatar.js +4 -4
  35. package/web-dist/components/avatar-group/AvatarGroup.js +4 -4
  36. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +8 -8
  37. package/web-dist/components/bottom-sheet/BottomSheet.js +2 -2
  38. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +2 -2
  39. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +2 -2
  40. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +2 -2
  41. package/web-dist/components/bottom-sheet-view/BottomSheetView.js +2 -2
  42. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +2 -2
  43. package/web-dist/components/breadcrumbs/Breadcrumbs.js +6 -6
  44. package/web-dist/components/button/Button.js +3 -3
  45. package/web-dist/components/button-group/ButtonGroup.js +3 -3
  46. package/web-dist/components/camera-permission-view/CameraPermissionView.js +8 -8
  47. package/web-dist/components/card/Card.js +7 -7
  48. package/web-dist/components/chat-list-item/ChatListItem.js +5 -5
  49. package/web-dist/components/checkbox/Checkbox.js +4 -4
  50. package/web-dist/components/checkbox-group/CheckboxGroup.js +4 -4
  51. package/web-dist/components/chip/Chip.js +4 -4
  52. package/web-dist/components/chip-group/ChipGroup.js +4 -4
  53. package/web-dist/components/collection-editor/CollectionEditor.js +7 -7
  54. package/web-dist/components/content-rail/ContentRail.js +7 -7
  55. package/web-dist/components/data-table/DataTable.js +12 -12
  56. package/web-dist/components/date-picker/DatePicker.js +4 -4
  57. package/web-dist/components/dialog/Dialog.js +4 -4
  58. package/web-dist/components/empty-state/EmptyState.js +8 -8
  59. package/web-dist/components/field/Field.js +4 -4
  60. package/web-dist/components/flat-list/FlatList.js +5 -5
  61. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +8 -8
  62. package/web-dist/components/form/Form.js +6 -6
  63. package/web-dist/components/form-actions/FormActions.js +6 -6
  64. package/web-dist/components/form-error/FormError.js +6 -6
  65. package/web-dist/components/heading/Heading.js +3 -3
  66. package/web-dist/components/hero/Hero.js +7 -7
  67. package/web-dist/components/icon-button/IconButton.js +3 -3
  68. package/web-dist/components/image/Image.js +2 -2
  69. package/web-dist/components/list/List.js +5 -5
  70. package/web-dist/components/list-item/ListItem.js +5 -5
  71. package/web-dist/components/list-section/ListSection.js +5 -5
  72. package/web-dist/components/media-card/MediaCard.js +7 -7
  73. package/web-dist/components/message-bubble/MessageBubble.js +5 -5
  74. package/web-dist/components/metric-card/MetricCard.js +7 -7
  75. package/web-dist/components/missing-element/MissingElement.js +5 -5
  76. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +8 -8
  77. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +8 -8
  78. package/web-dist/components/otp-form/OtpForm.js +8 -8
  79. package/web-dist/components/pagination/Pagination.js +4 -4
  80. package/web-dist/components/palette-item/PaletteItem.js +9 -9
  81. package/web-dist/components/popover-menu/PopoverMenu.js +2 -2
  82. package/web-dist/components/post-card/PostCard.js +7 -7
  83. package/web-dist/components/product-card/ProductCard.js +7 -7
  84. package/web-dist/components/progress/Progress.js +4 -4
  85. package/web-dist/components/progress-ring/ProgressRing.js +4 -4
  86. package/web-dist/components/radio/Radio.js +4 -4
  87. package/web-dist/components/radio-group/RadioGroup.js +4 -4
  88. package/web-dist/components/rating/Rating.js +3 -3
  89. package/web-dist/components/reader-surface/ReaderSurface.js +10 -10
  90. package/web-dist/components/scan-overlay/ScanOverlay.js +8 -8
  91. package/web-dist/components/screen-section/ScreenSection.js +4 -4
  92. package/web-dist/components/search-input/SearchInput.js +4 -4
  93. package/web-dist/components/section-header/SectionHeader.js +4 -4
  94. package/web-dist/components/section-list/SectionList.js +5 -5
  95. package/web-dist/components/select/Select.js +3 -3
  96. package/web-dist/components/sign-in-form/SignInForm.js +8 -8
  97. package/web-dist/components/sign-up-form/SignUpForm.js +8 -8
  98. package/web-dist/components/skeleton/Skeleton.js +10 -10
  99. package/web-dist/components/skeleton-card/SkeletonCard.js +10 -10
  100. package/web-dist/components/skeleton-list/SkeletonList.js +10 -10
  101. package/web-dist/components/skeleton-text/SkeletonText.js +10 -10
  102. package/web-dist/components/text/Text.js +3 -3
  103. package/web-dist/components/text-input/TextInput.js +4 -4
  104. package/web-dist/components/time-picker/TimePicker.js +4 -4
  105. package/web-dist/components/timeline/Timeline.js +5 -5
  106. package/web-dist/components/toolbar/Toolbar.js +7 -7
  107. package/web-dist/components/tree-item/TreeItem.js +6 -6
  108. package/web-dist/components/uploader/Uploader.js +9 -9
  109. package/web-dist/manifest.json +424 -423
  110. package/web-dist/runtime/ZoraProvider.d.ts +74 -2
  111. package/web-dist/runtime/ZoraProvider.js +5 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
9
+ ## 21.0.6
10
+
11
+ ### Patch Changes
12
+
13
+ - e884fb4: Update Ankhorage dependencies: `@ankhorage/surface`.
14
+
3
15
  ## 21.0.5
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # @ankhorage/zora
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v21.0.5](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![docs: paradox](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v21.0.7](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![docs: paradox](././paradox/badges/docs.svg)
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.5",
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": {
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "@ankhorage/color-theory": "^0.3.1",
44
44
  "@ankhorage/contracts": "^22.5.0",
45
- "@ankhorage/surface": "^9.0.13",
45
+ "@ankhorage/surface": "^9.0.14",
46
46
  "@ankhorage/utility": "^1.4.0",
47
47
  "expo-document-picker": "~57.0.1",
48
48
  "expo-image-picker": "~57.0.16"
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  Heading2,
10
10
  Text2
11
- } from "./Accordion-0exp2200.js";
11
+ } from "./Accordion-f05a7r28.js";
12
12
 
13
13
  // src/features/section/adapters/inbound/SectionHeader.tsx
14
14
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./Accordion-grfbz6f2.js";
21
21
  import {
22
22
  useZoraThemeRecipe
23
- } from "./Accordion-wn04ytqz.js";
23
+ } from "./Accordion-sz21xsf4.js";
24
24
  import {
25
25
  View2
26
26
  } from "./Accordion-96cqeekv.js";
@@ -10,16 +10,16 @@ import {
10
10
  } from "./Accordion-96cqeekv.js";
11
11
  import {
12
12
  Text2
13
- } from "./Accordion-0exp2200.js";
13
+ } from "./Accordion-f05a7r28.js";
14
14
  import {
15
15
  Avatar2
16
- } from "./Accordion-v1t7m5kk.js";
16
+ } from "./Accordion-gbba10rg.js";
17
17
  import {
18
18
  Badge2
19
19
  } from "./Accordion-1pp37dtg.js";
20
20
  import {
21
- useZoraTheme
22
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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 } = useZoraTheme();
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-wn04ytqz.js";
26
+ } from "./Accordion-sz21xsf4.js";
27
27
  import {
28
28
  Text2
29
- } from "./Accordion-0exp2200.js";
29
+ } from "./Accordion-f05a7r28.js";
30
30
  import {
31
31
  Icon2
32
32
  } from "./Accordion-paha5aje.js";
@@ -4,8 +4,8 @@ import {
4
4
  } from "./Accordion-49gf1zb8.js";
5
5
 
6
6
  // src/features/theme/composition/useZoraTheme.ts
7
- function useZoraTheme() {
7
+ function useZoraTheme2() {
8
8
  return useTheme();
9
9
  }
10
10
 
11
- export { useZoraTheme };
11
+ export { useZoraTheme2 };
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  Button2
4
- } from "./Accordion-n2vxcm6e.js";
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-ddt106dy.js";
16
+ } from "./Accordion-pkqj4g3r.js";
17
17
  import {
18
18
  Field2
19
- } from "./Accordion-4nnxzn40.js";
19
+ } from "./Accordion-ch67q4t0.js";
20
20
  import {
21
21
  TextInput2
22
- } from "./Accordion-1xv7q28g.js";
22
+ } from "./Accordion-f1h2f05v.js";
23
23
 
24
24
  // src/features/auth/adapters/inbound/ForgotPasswordForm.tsx
25
25
  import React from "react";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./Accordion-96cqeekv.js";
11
11
  import {
12
12
  Text2
13
- } from "./Accordion-0exp2200.js";
13
+ } from "./Accordion-f05a7r28.js";
14
14
 
15
15
  // src/features/form/field/adapters/inbound/Field.tsx
16
16
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -11,10 +11,10 @@ import {
11
11
  } from "./Accordion-grfbz6f2.js";
12
12
  import {
13
13
  useZoraThemeRecipe
14
- } from "./Accordion-wn04ytqz.js";
14
+ } from "./Accordion-sz21xsf4.js";
15
15
  import {
16
- useZoraTheme
17
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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 } = useZoraTheme();
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-n2vxcm6e.js";
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
- useZoraTheme
20
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
163
+ const { theme } = useZoraTheme2();
164
164
  const iconSize = resolveIconSize(size);
165
165
  const iconColor = theme.semantics.content.muted;
166
166
  return /* @__PURE__ */ jsx2(TextInput, {
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  Heading2,
17
17
  Text2
18
- } from "./Accordion-0exp2200.js";
18
+ } from "./Accordion-f05a7r28.js";
19
19
  import {
20
20
  __toESM
21
21
  } from "./Accordion-9qvmwkxe.js";
@@ -12,8 +12,8 @@ import {
12
12
  View2
13
13
  } from "./Accordion-96cqeekv.js";
14
14
  import {
15
- useZoraTheme
16
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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-0exp2200.js";
16
+ } from "./Accordion-f05a7r28.js";
17
17
  import {
18
- useZoraTheme
19
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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 } = useZoraTheme();
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;
@@ -22,7 +22,7 @@ import {
22
22
  } from "./Accordion-96cqeekv.js";
23
23
  import {
24
24
  Text2
25
- } from "./Accordion-0exp2200.js";
25
+ } from "./Accordion-f05a7r28.js";
26
26
  import {
27
27
  resolveFieldState,
28
28
  resolveIndicatorSize,
@@ -8,7 +8,7 @@ import {
8
8
  } from "./Accordion-grfbz6f2.js";
9
9
  import {
10
10
  Text2
11
- } from "./Accordion-0exp2200.js";
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-e44js4wd.js";
27
+ } from "./Accordion-31aeqxak.js";
28
28
  import {
29
- useZoraTheme
30
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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-n2vxcm6e.js";
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-w9xmhjv6.js";
21
+ } from "./Accordion-v6ykq9hv.js";
22
22
  import {
23
23
  Heading2,
24
24
  Text2
25
- } from "./Accordion-0exp2200.js";
25
+ } from "./Accordion-f05a7r28.js";
26
26
  import {
27
- useZoraTheme
28
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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-n2vxcm6e.js";
10
+ } from "./Accordion-33rd76r7.js";
11
11
  import {
12
12
  Card2
13
- } from "./Accordion-xctsc2hx.js";
13
+ } from "./Accordion-qpwhmqzd.js";
14
14
  import {
15
15
  List2
16
- } from "./Accordion-gf3hxf5v.js";
16
+ } from "./Accordion-j2c7btke.js";
17
17
  import {
18
- useZoraTheme
19
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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-n2vxcm6e.js";
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-0exp2200.js";
13
+ } from "./Accordion-f05a7r28.js";
14
14
  import {
15
- useZoraTheme
16
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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-wn04ytqz.js";
21
+ } from "./Accordion-sz21xsf4.js";
22
22
  import {
23
23
  Heading2,
24
24
  Text2
25
- } from "./Accordion-0exp2200.js";
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-v1t7m5kk.js";
35
+ } from "./Accordion-gbba10rg.js";
36
36
  import {
37
37
  Button2
38
- } from "./Accordion-n2vxcm6e.js";
38
+ } from "./Accordion-33rd76r7.js";
39
39
  import {
40
40
  Image2
41
- } from "./Accordion-wx5e97wt.js";
41
+ } from "./Accordion-x0j8b2by.js";
42
42
  import {
43
43
  resolveIconSize
44
44
  } from "./Accordion-961ncx4e.js";
45
45
  import {
46
- useZoraTheme
47
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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 } = useZoraTheme();
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 } = useZoraTheme();
736
+ const { theme } = useZoraTheme2();
737
737
  const gap = compact ? "s" : "m";
738
738
  const isInteractive = Boolean(onPress) && !actions;
739
739
  const resolvedAspectRatio = resolveImageAspectRatio(imageAspectRatio);
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  Heading2,
27
27
  Text2
28
- } from "./Accordion-0exp2200.js";
28
+ } from "./Accordion-f05a7r28.js";
29
29
  import {
30
30
  resolveOverlayAnimation
31
31
  } from "./Accordion-2d8xn32m.js";
@@ -13,13 +13,13 @@ import {
13
13
  } from "./Accordion-96cqeekv.js";
14
14
  import {
15
15
  Text2
16
- } from "./Accordion-0exp2200.js";
16
+ } from "./Accordion-f05a7r28.js";
17
17
  import {
18
18
  resolveIconSize
19
19
  } from "./Accordion-961ncx4e.js";
20
20
  import {
21
- useZoraTheme
22
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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
- useZoraTheme
4
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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-n2vxcm6e.js";
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-xctsc2hx.js";
16
+ } from "./Accordion-qpwhmqzd.js";
17
17
  import {
18
18
  Text2
19
- } from "./Accordion-0exp2200.js";
19
+ } from "./Accordion-f05a7r28.js";
20
20
  import {
21
21
  Badge2
22
22
  } from "./Accordion-1pp37dtg.js";
23
23
  import {
24
- useZoraTheme
25
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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 } = useZoraTheme();
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-0exp2200.js";
13
+ } from "./Accordion-f05a7r28.js";
14
14
  import {
15
- useZoraTheme
16
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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 } = useZoraTheme();
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
- useZoraTheme
38
- } from "./Accordion-jftka3t5.js";
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 } = useZoraTheme();
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, {