@ankhorage/zora 27.2.4 → 27.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/package.json +4 -3
- package/web-dist/authoring/index.js +1 -1
- package/web-dist/chunks/{Accordion-2ga81fwp.js → Accordion-0c585c6b.js} +2 -2
- package/web-dist/chunks/{Accordion-ecknv9v4.js → Accordion-276zkmsp.js} +6 -6
- package/web-dist/chunks/{Accordion-yq16wwh5.js → Accordion-2bwvswbf.js} +100 -2
- package/web-dist/chunks/{Accordion-pwpjet1r.js → Accordion-3c33rhns.js} +2 -2
- package/web-dist/chunks/{Accordion-6wrr910w.js → Accordion-4d4xahgg.js} +1 -1
- package/web-dist/chunks/{Accordion-fvv1jb72.js → Accordion-58rjgzd8.js} +4 -4
- package/web-dist/chunks/{Accordion-awarqvqt.js → Accordion-5xjm3haw.js} +3 -3
- package/web-dist/chunks/{Accordion-r2g18vxa.js → Accordion-67hswqw7.js} +1 -1
- package/web-dist/chunks/{Accordion-bfszt9f0.js → Accordion-6fe2cg8x.js} +3 -2
- package/web-dist/chunks/{Accordion-xstk85jq.js → Accordion-6pyhxpvj.js} +53 -18
- package/web-dist/chunks/{Accordion-ng4f4k3b.js → Accordion-7hcnqvw9.js} +3 -3
- package/web-dist/chunks/{Accordion-vg337250.js → Accordion-7j1ams3h.js} +2 -2
- package/web-dist/chunks/{Accordion-rkg1y7x3.js → Accordion-a0rf46ya.js} +9 -9
- package/web-dist/chunks/{Accordion-vmbaw3e9.js → Accordion-av34pgmt.js} +6 -6
- package/web-dist/chunks/{Accordion-srjya6dz.js → Accordion-b36h9a7g.js} +1 -1
- package/web-dist/chunks/{Accordion-37fyjrmm.js → Accordion-bjagk749.js} +3 -3
- package/web-dist/chunks/{Accordion-apchszqk.js → Accordion-c1hhwvme.js} +2 -2
- package/web-dist/chunks/{Accordion-vyr0pdcg.js → Accordion-cqw8wx8b.js} +4 -4
- package/web-dist/chunks/{Accordion-hywab9gp.js → Accordion-czjn2qsj.js} +12 -12
- package/web-dist/chunks/{Accordion-yen1cn5b.js → Accordion-dvydrq9k.js} +2 -2
- package/web-dist/chunks/{Accordion-k3mcnzzz.js → Accordion-e027hq2m.js} +9 -9
- package/web-dist/chunks/{Accordion-109vh7aq.js → Accordion-e5cv8nsg.js} +8 -8
- package/web-dist/chunks/{Accordion-xwg44t8y.js → Accordion-ekynbcva.js} +5 -5
- package/web-dist/chunks/{Accordion-9j3x1ccv.js → Accordion-fz2eb6nq.js} +7 -7
- package/web-dist/chunks/{Accordion-z11jhrng.js → Accordion-gs2sm01j.js} +8 -8
- package/web-dist/chunks/{Accordion-mfyhqbk5.js → Accordion-h0g07rpv.js} +6 -6
- package/web-dist/chunks/{Accordion-rwk4marz.js → Accordion-hcybq8sv.js} +5 -5
- package/web-dist/chunks/{Accordion-8pwsx854.js → Accordion-hh7rrtvm.js} +7 -7
- package/web-dist/chunks/{Accordion-55axaf49.js → Accordion-hvxmng6p.js} +4 -4
- package/web-dist/chunks/{Accordion-972z2w82.js → Accordion-k90e8xbz.js} +4 -4
- package/web-dist/chunks/{Accordion-dska91jj.js → Accordion-kgsyp87f.js} +13 -13
- package/web-dist/chunks/{Accordion-jz4j00nh.js → Accordion-kw82sjaq.js} +4 -4
- package/web-dist/chunks/{Accordion-f2ce5m3x.js → Accordion-m0h44b2f.js} +4 -4
- package/web-dist/chunks/{Accordion-j1chy29e.js → Accordion-m9ph4kvs.js} +3 -3
- package/web-dist/chunks/{Accordion-2d49mqp7.js → Accordion-mqb226ws.js} +2 -2
- package/web-dist/chunks/Accordion-n6r6pees.js +9568 -0
- package/web-dist/chunks/Accordion-n8272tj8.js +1296 -0
- package/web-dist/chunks/{Accordion-dev40gg3.js → Accordion-n893wynv.js} +2 -2
- package/web-dist/chunks/{Accordion-aqqx878d.js → Accordion-p10zbjj2.js} +7 -7
- package/web-dist/chunks/{Accordion-2gx0rh1s.js → Accordion-pc1amd3f.js} +9 -9
- package/web-dist/chunks/{Accordion-qr5qn652.js → Accordion-pc21382h.js} +1 -1
- package/web-dist/chunks/{Accordion-bn0e6xt0.js → Accordion-pjp156pj.js} +7 -7
- package/web-dist/chunks/{Accordion-3p43xhk7.js → Accordion-qdpdvt4d.js} +29 -17
- package/web-dist/chunks/{Accordion-vj2yj9fa.js → Accordion-qe96qhwd.js} +2 -2
- package/web-dist/chunks/{Accordion-y0kg8p9s.js → Accordion-qntvm6fr.js} +5 -5
- package/web-dist/chunks/{Accordion-bff0p3x4.js → Accordion-qqv9mak2.js} +17 -5
- package/web-dist/chunks/{Accordion-0x8jncra.js → Accordion-tz5kyeym.js} +5 -7
- package/web-dist/chunks/{Accordion-vj1m2wck.js → Accordion-w42y21pt.js} +1 -1
- package/web-dist/chunks/{Accordion-xyx98xnk.js → Accordion-yttxjn1e.js} +5 -5
- package/web-dist/chunks/{Accordion-rmnw8z4x.js → Accordion-zvd2t0ey.js} +4 -4
- package/web-dist/components/accordion/Accordion.js +10 -12
- package/web-dist/components/accordion-item/AccordionItem.js +10 -12
- package/web-dist/components/activity-indicator/ActivityIndicator.js +3 -3
- package/web-dist/components/app-bar/AppBar.js +15 -17
- package/web-dist/components/app-header/AppHeader.js +15 -17
- package/web-dist/components/app-shell/AppShell.js +4 -5
- package/web-dist/components/auth-screen/AuthScreen.js +19 -21
- package/web-dist/components/avatar/Avatar.js +10 -12
- package/web-dist/components/avatar-group/AvatarGroup.js +10 -12
- package/web-dist/components/badge/Badge.js +5 -6
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +18 -20
- package/web-dist/components/bottom-sheet/BottomSheet.js +6 -7
- package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +6 -7
- package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +6 -7
- package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +6 -7
- package/web-dist/components/bottom-sheet-view/BottomSheetView.js +6 -7
- package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +6 -7
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +12 -14
- package/web-dist/components/button/Button.js +10 -12
- package/web-dist/components/button-group/ButtonGroup.js +10 -12
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +18 -20
- package/web-dist/components/card/Card.js +17 -19
- package/web-dist/components/card-back/CardBack.js +4 -4
- package/web-dist/components/card-hand/CardHand.js +4 -4
- package/web-dist/components/chat-list-item/ChatListItem.js +14 -16
- package/web-dist/components/checkbox/Checkbox.js +10 -12
- package/web-dist/components/checkbox-group/CheckboxGroup.js +10 -12
- package/web-dist/components/chess-board/ChessBoard.js +4 -4
- package/web-dist/components/chip/Chip.js +11 -13
- package/web-dist/components/chip-group/ChipGroup.js +11 -13
- package/web-dist/components/collection-editor/CollectionEditor.js +17 -19
- package/web-dist/components/content-rail/ContentRail.js +11 -13
- package/web-dist/components/data-table/DataTable.js +22 -24
- package/web-dist/components/date-picker/DatePicker.js +15 -17
- package/web-dist/components/dialog/Dialog.js +9 -11
- package/web-dist/components/divider/Divider.js +4 -5
- package/web-dist/components/empty-state/EmptyState.js +18 -20
- package/web-dist/components/explorer/Explorer.js +11 -13
- package/web-dist/components/field/Field.js +10 -12
- package/web-dist/components/file-explorer/FileExplorer.js +11 -13
- package/web-dist/components/flat-list/FlatList.js +11 -13
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +19 -21
- package/web-dist/components/form/Form.js +14 -16
- package/web-dist/components/form-actions/FormActions.js +14 -16
- package/web-dist/components/form-error/FormError.js +14 -16
- package/web-dist/components/game/Game.js +5 -6
- package/web-dist/components/game-entity/GameEntity.js +5 -6
- package/web-dist/components/game-field/GameField.js +5 -6
- package/web-dist/components/game-input-zone/GameInputZone.js +5 -6
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +5 -6
- package/web-dist/components/game-overlay/GameOverlay.js +5 -6
- package/web-dist/components/gradient/Gradient.js +5 -6
- package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +5 -6
- package/web-dist/components/grid/Grid.js +4 -5
- package/web-dist/components/grid-line-overlay/GridLineOverlay.js +4 -4
- package/web-dist/components/grid-ruler/GridRuler.js +4 -4
- package/web-dist/components/heading/Heading.js +5 -6
- package/web-dist/components/hero/Hero.js +17 -19
- package/web-dist/components/icon/Icon.js +4 -5
- package/web-dist/components/icon-button/IconButton.js +10 -12
- package/web-dist/components/image/Image.js +8 -10
- package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +3 -3
- package/web-dist/components/list/List.js +11 -13
- package/web-dist/components/list-item/ListItem.js +11 -13
- package/web-dist/components/list-section/ListSection.js +11 -13
- package/web-dist/components/matrix-grid/MatrixGrid.js +4 -9
- package/web-dist/components/media-card/MediaCard.js +17 -19
- package/web-dist/components/media-explorer/MediaExplorer.js +11 -13
- package/web-dist/components/message-bubble/MessageBubble.js +14 -16
- package/web-dist/components/metric-card/MetricCard.js +17 -19
- package/web-dist/components/missing-element/MissingElement.js +9 -11
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +19 -21
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +19 -21
- package/web-dist/components/opening-book/OpeningBook.js +4 -4
- package/web-dist/components/otp-form/OtpForm.js +19 -21
- package/web-dist/components/pagination/Pagination.js +11 -13
- package/web-dist/components/palette-item/PaletteItem.js +17 -19
- package/web-dist/components/playing-card/PlayingCard.js +4 -4
- package/web-dist/components/poker-training-table/PokerTrainingTable.js +4 -4
- package/web-dist/components/popover-menu/PopoverMenu.js +10 -12
- package/web-dist/components/post-card/PostCard.js +17 -19
- package/web-dist/components/product-card/ProductCard.js +17 -19
- package/web-dist/components/progress/Progress.js +8 -10
- package/web-dist/components/progress-ring/ProgressRing.js +8 -10
- package/web-dist/components/radio/Radio.js +12 -14
- package/web-dist/components/radio-group/RadioGroup.js +12 -14
- package/web-dist/components/rating/Rating.js +7 -9
- package/web-dist/components/reader/Reader.js +18 -20
- package/web-dist/components/scan-overlay/ScanOverlay.js +18 -20
- package/web-dist/components/screen/Screen.js +4 -5
- package/web-dist/components/screen-section/ScreenSection.js +8 -10
- package/web-dist/components/scroll-view/ScrollView.js +4 -5
- package/web-dist/components/search-input/SearchInput.js +11 -13
- package/web-dist/components/section-header/SectionHeader.js +8 -10
- package/web-dist/components/section-list/SectionList.js +11 -13
- package/web-dist/components/select/Select.js +13 -15
- package/web-dist/components/selectable-item/SelectableItem.js +3 -8
- package/web-dist/components/selection-provider/SelectionProvider.js +3 -8
- package/web-dist/components/sign-in-form/SignInForm.js +19 -21
- package/web-dist/components/sign-up-form/SignUpForm.js +19 -21
- package/web-dist/components/skeleton/Skeleton.js +20 -22
- package/web-dist/components/skeleton-card/SkeletonCard.js +20 -22
- package/web-dist/components/skeleton-list/SkeletonList.js +20 -22
- package/web-dist/components/skeleton-text/SkeletonText.js +20 -22
- package/web-dist/components/surface/Surface.js +5 -6
- package/web-dist/components/switch/Switch.js +5 -6
- package/web-dist/components/tab/Tab.js +5 -6
- package/web-dist/components/tab-list/TabList.js +5 -6
- package/web-dist/components/tab-panel/TabPanel.js +5 -6
- package/web-dist/components/tabletop-table/TabletopTable.js +4 -4
- package/web-dist/components/tabs/Tabs.js +5 -6
- package/web-dist/components/text/Text.js +5 -6
- package/web-dist/components/text-input/TextInput.js +11 -13
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +10 -12
- package/web-dist/components/time-picker/TimePicker.js +15 -17
- package/web-dist/components/timeline/Timeline.js +9 -11
- package/web-dist/components/toast/Toast.js +7 -8
- package/web-dist/components/toast-provider/ToastProvider.js +7 -8
- package/web-dist/components/toolbar/Toolbar.js +17 -19
- package/web-dist/components/tree-item/TreeItem.js +15 -17
- package/web-dist/components/uploader/Uploader.js +20 -22
- package/web-dist/components/view/View.js +4 -5
- package/web-dist/manifest.json +1271 -1477
- package/web-dist/runtime/ZoraProvider.js +6 -7
- package/web-dist/chunks/Accordion-58yzdsab.js +0 -106
- package/web-dist/chunks/Accordion-bfzeab9x.js +0 -18
- package/web-dist/chunks/Accordion-ebcg2kyw.js +0 -218
- package/web-dist/chunks/Accordion-pv1432kr.js +0 -413
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 27.2.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9e199ee: Update dependencies: `@ankhorage/runtime`.
|
|
8
|
+
|
|
9
|
+
## 27.2.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 1537dad: Rebuild standalone web checkbox artifacts with Surface accessibility fixes for checked ARIA state and Space-key activation.
|
|
14
|
+
|
|
3
15
|
## 27.2.4
|
|
4
16
|
|
|
5
17
|
### Patch 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
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/zora",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "27.2.
|
|
4
|
+
"version": "27.2.6",
|
|
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": {
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@ankhorage/game": "^0.1.4",
|
|
48
48
|
"@ankhorage/grid-view": "^0.5.0",
|
|
49
49
|
"@ankhorage/reader": "^0.1.3",
|
|
50
|
-
"@ankhorage/runtime": "^5.
|
|
51
|
-
"@ankhorage/surface": "^9.5.
|
|
50
|
+
"@ankhorage/runtime": "^5.5.0",
|
|
51
|
+
"@ankhorage/surface": "^9.5.15",
|
|
52
52
|
"@ankhorage/utility": "^1.10.1",
|
|
53
53
|
"expo-document-picker": "~57.0.3",
|
|
54
54
|
"expo-image-picker": "~57.0.20"
|
|
@@ -157,6 +157,7 @@
|
|
|
157
157
|
"test": "bun run build && bun test src examples/grid-workspaces/time examples/grid-workspaces/plugins --isolate",
|
|
158
158
|
"test:packed-web-consumer": "bun scripts/verify-packed-web-consumer.ts",
|
|
159
159
|
"test:packed-authoring-consumer": "bun scripts/verify-packed-web-consumer.ts --authoring",
|
|
160
|
+
"test:checkbox:chromium": "bun scripts/test-packed-checkbox-chromium.ts",
|
|
160
161
|
"test:chess:chromium": "bun scripts/test-chess-chromium.ts",
|
|
161
162
|
"test:graph-view:chromium": "bun scripts/test-graph-view-chromium.ts",
|
|
162
163
|
"typecheck": "bun x tsc --noEmit -p tsconfig.json && bun x tsc --noEmit -p tsconfig.scripts.json && bun x tsc -p tsconfig.typecheck.json",
|
|
@@ -23887,7 +23887,7 @@ function AuthoringSelectionAdapter({
|
|
|
23887
23887
|
// src/features/registry/adapters/inbound/ThemeEditorAdapter.tsx
|
|
23888
23888
|
import { Card, Field as Field3, Text, View as View3 } from "@ankhorage/surface/authoring-controls";
|
|
23889
23889
|
|
|
23890
|
-
// node_modules/@ankhorage/surface/
|
|
23890
|
+
// node_modules/@ankhorage/surface/dist/constants/surfaceColor.js
|
|
23891
23891
|
var SURFACE_PALETTE_COLORS = [
|
|
23892
23892
|
"primary",
|
|
23893
23893
|
"secondary",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-w42y21pt.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-tz5kyeym.js";
|
|
8
8
|
|
|
9
9
|
// src/features/gradient/adapters/inbound/GradientRendererContext.tsx
|
|
10
10
|
import { createContext, use } from "react";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-w42y21pt.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-tz5kyeym.js";
|
|
8
8
|
import {
|
|
9
9
|
ButtonGroup2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-n6r6pees.js";
|
|
11
11
|
import {
|
|
12
12
|
Card2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-kgsyp87f.js";
|
|
14
14
|
import {
|
|
15
15
|
List2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-a0rf46ya.js";
|
|
17
17
|
import {
|
|
18
18
|
useZoraTheme2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-b36h9a7g.js";
|
|
20
20
|
|
|
21
21
|
// src/features/skeleton/adapters/inbound/Skeleton.tsx
|
|
22
22
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,10 +1,59 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
|
-
resolveResponsive
|
|
3
|
+
resolveResponsive,
|
|
4
|
+
useResponsiveRuntime
|
|
4
5
|
} from "./Accordion-zj4wnm3e.js";
|
|
6
|
+
import {
|
|
7
|
+
useTheme
|
|
8
|
+
} from "./Accordion-4d4xahgg.js";
|
|
5
9
|
import {
|
|
6
10
|
resolveToken
|
|
7
11
|
} from "./Accordion-fre84yaq.js";
|
|
12
|
+
import {
|
|
13
|
+
require_cjs
|
|
14
|
+
} from "./Accordion-xgpzh4wq.js";
|
|
15
|
+
import {
|
|
16
|
+
__toESM
|
|
17
|
+
} from "./Accordion-nh0cs9hq.js";
|
|
18
|
+
|
|
19
|
+
// node_modules/@ankhorage/surface/src/features/layout/adapters/inbound/View.tsx
|
|
20
|
+
var import_react_native2 = __toESM(require_cjs(), 1);
|
|
21
|
+
// node_modules/@ankhorage/surface/src/internal/resolvePointerEvents.ts
|
|
22
|
+
var import_react_native = __toESM(require_cjs(), 1);
|
|
23
|
+
var webPointerEventStyles = import_react_native.StyleSheet.create({
|
|
24
|
+
auto: { pointerEvents: "auto" },
|
|
25
|
+
"box-none": { pointerEvents: "box-none" },
|
|
26
|
+
"box-only": { pointerEvents: "box-only" },
|
|
27
|
+
none: { pointerEvents: "none" }
|
|
28
|
+
});
|
|
29
|
+
function resolvePointerEvents(pointerEvents) {
|
|
30
|
+
return resolvePointerEventsForPlatform(pointerEvents, import_react_native.Platform.OS);
|
|
31
|
+
}
|
|
32
|
+
function resolvePointerEventsForPlatform(pointerEvents, platform) {
|
|
33
|
+
if (platform === "web") {
|
|
34
|
+
return {
|
|
35
|
+
props: {},
|
|
36
|
+
style: getWebPointerEventStyle(pointerEvents)
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
props: { pointerEvents },
|
|
41
|
+
style: null
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function getWebPointerEventStyle(pointerEvents) {
|
|
45
|
+
switch (pointerEvents) {
|
|
46
|
+
case "auto":
|
|
47
|
+
return webPointerEventStyles.auto;
|
|
48
|
+
case "box-none":
|
|
49
|
+
return webPointerEventStyles["box-none"];
|
|
50
|
+
case "box-only":
|
|
51
|
+
return webPointerEventStyles["box-only"];
|
|
52
|
+
case "none":
|
|
53
|
+
return webPointerEventStyles.none;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
8
57
|
// node_modules/@ankhorage/surface/src/utils/resolveSpacing.ts
|
|
9
58
|
function resolveSpacing(theme, value) {
|
|
10
59
|
return resolveToken(theme.spacing, value);
|
|
@@ -98,4 +147,53 @@ function isPortableDimensionString(value) {
|
|
|
98
147
|
return value === "auto" || /^-?(?:\d+(?:\.\d+)?|\.\d+)%$/u.test(value);
|
|
99
148
|
}
|
|
100
149
|
|
|
101
|
-
|
|
150
|
+
// node_modules/@ankhorage/surface/src/features/layout/adapters/inbound/View.tsx
|
|
151
|
+
import { jsx } from "react/jsx-runtime";
|
|
152
|
+
function View3({
|
|
153
|
+
accessible,
|
|
154
|
+
accessibilityLabel,
|
|
155
|
+
accessibilityLabelledBy,
|
|
156
|
+
accessibilityRole,
|
|
157
|
+
accessibilityState,
|
|
158
|
+
children,
|
|
159
|
+
nativeID,
|
|
160
|
+
pointerEvents,
|
|
161
|
+
style,
|
|
162
|
+
testID,
|
|
163
|
+
...props
|
|
164
|
+
}) {
|
|
165
|
+
const { theme } = useTheme();
|
|
166
|
+
const { breakpoint } = useResponsiveRuntime();
|
|
167
|
+
const resolved = resolveViewStyles(theme, breakpoint, props);
|
|
168
|
+
const resolvedPointerEvents = pointerEvents ? resolvePointerEvents(pointerEvents) : null;
|
|
169
|
+
return /* @__PURE__ */ jsx(import_react_native2.View, {
|
|
170
|
+
...resolvedPointerEvents?.props,
|
|
171
|
+
accessible,
|
|
172
|
+
accessibilityLabel,
|
|
173
|
+
accessibilityLabelledBy,
|
|
174
|
+
accessibilityRole,
|
|
175
|
+
accessibilityState,
|
|
176
|
+
nativeID,
|
|
177
|
+
testID,
|
|
178
|
+
style: [resolved, resolvedPointerEvents?.style, style],
|
|
179
|
+
children
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// node_modules/@ankhorage/surface/src/features/layout/adapters/inbound/Divider.tsx
|
|
184
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
185
|
+
function Divider3({
|
|
186
|
+
orientation = "horizontal",
|
|
187
|
+
color = "border",
|
|
188
|
+
thickness = 1,
|
|
189
|
+
...props
|
|
190
|
+
}) {
|
|
191
|
+
return /* @__PURE__ */ jsx2(View3, {
|
|
192
|
+
...props,
|
|
193
|
+
bg: color,
|
|
194
|
+
height: orientation === "horizontal" ? thickness : "100%",
|
|
195
|
+
width: orientation === "vertical" ? thickness : "100%"
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export { resolvePointerEvents, resolveSpacing, resolveViewStyles, View3, Divider3 };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Toast3,
|
|
4
4
|
ToastProvider3
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-cqw8wx8b.js";
|
|
6
6
|
import {
|
|
7
7
|
withZoraThemeScope
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-w42y21pt.js";
|
|
9
9
|
|
|
10
10
|
// src/features/toast/adapters/inbound/Toast.tsx
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -5224,4 +5224,4 @@ function useFontRuntime() {
|
|
|
5224
5224
|
return use3(FontRuntimeContext);
|
|
5225
5225
|
}
|
|
5226
5226
|
|
|
5227
|
-
export { useFontRuntime, parseHexColor, parseHexColorOrThrow, getReadableForeground, createTheme, ThemeRuntimeContext, useTheme, zoraDefaultTheme, ZoraThemeRuntimeContext, useZoraThemeRuntime };
|
|
5227
|
+
export { useFontRuntime, parseHexColor, parseHexColorOrThrow, getContrastRatio, getReadableForeground, selectColorSwatchStep, createDefaultSemanticStatusSwatches, LIGHT_SEMANTIC_COLOR_REFERENCES, DARK_SEMANTIC_COLOR_REFERENCES, generateThemeModeColors, createTheme, ThemeRuntimeContext, useTheme, zoraDefaultTheme, ZoraThemeRuntimeContext, useZoraThemeRuntime };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Field3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-n893wynv.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-w42y21pt.js";
|
|
8
8
|
import {
|
|
9
9
|
View2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-tz5kyeym.js";
|
|
11
11
|
import {
|
|
12
12
|
Text3
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-bjagk749.js";
|
|
14
14
|
|
|
15
15
|
// src/features/form/field/adapters/inbound/Field.tsx
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-tz5kyeym.js";
|
|
5
5
|
import {
|
|
6
6
|
Text3
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-bjagk749.js";
|
|
8
8
|
import {
|
|
9
9
|
Field3
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-n893wynv.js";
|
|
11
11
|
|
|
12
12
|
// src/features/picker/composition/PickerHeader.tsx
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-w42y21pt.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-tz5kyeym.js";
|
|
8
8
|
import {
|
|
9
9
|
require_cjs
|
|
10
10
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -105,6 +105,7 @@ function mergeRuntimeRendererConfig(localConfig, inheritedConfig) {
|
|
|
105
105
|
resultSlots,
|
|
106
106
|
writeResultSlot: localConfig?.writeResultSlot ?? inheritedConfig?.writeResultSlot,
|
|
107
107
|
executeCapability: localConfig?.executeCapability ?? inheritedConfig?.executeCapability,
|
|
108
|
+
flowPort: localConfig?.flowPort ?? inheritedConfig?.flowPort,
|
|
108
109
|
resolveEventCapability: localConfig?.resolveEventCapability ?? inheritedConfig?.resolveEventCapability,
|
|
109
110
|
onDiagnostics: localConfig?.onDiagnostics ?? inheritedConfig?.onDiagnostics,
|
|
110
111
|
eventOperationLifecycle: localConfig?.eventOperationLifecycle ?? inheritedConfig?.eventOperationLifecycle,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
} from "./Accordion-zj4wnm3e.js";
|
|
5
5
|
import {
|
|
6
6
|
useTheme
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-4d4xahgg.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveFocusRingStyles,
|
|
10
10
|
resolveInteractiveState
|
|
11
11
|
} from "./Accordion-6ec4gxv2.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveViewStyles
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-2bwvswbf.js";
|
|
15
15
|
import {
|
|
16
16
|
require_cjs
|
|
17
17
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -43,37 +43,72 @@ function Pressable({
|
|
|
43
43
|
const isWeb = import_react_native.Platform.OS === "web";
|
|
44
44
|
const resolvedViewStyles = resolveViewStyles(theme, breakpoint, props);
|
|
45
45
|
const pressHandlers = resolvePressHandlers(interactionPolicy, onPress, onLongPress);
|
|
46
|
+
const pressableStyle = resolvePressableStyle({
|
|
47
|
+
disabled,
|
|
48
|
+
focusColor: theme.semantics.border.focus,
|
|
49
|
+
focused,
|
|
50
|
+
hovered,
|
|
51
|
+
isWeb,
|
|
52
|
+
resolvedViewStyles,
|
|
53
|
+
style
|
|
54
|
+
});
|
|
46
55
|
return /* @__PURE__ */ jsx(import_react_native.Pressable, {
|
|
47
56
|
...pressHandlers,
|
|
48
57
|
accessibilityLabel,
|
|
49
58
|
accessibilityRole,
|
|
50
59
|
accessibilityState: { ...accessibilityState, disabled },
|
|
60
|
+
"aria-checked": accessibilityState?.checked,
|
|
51
61
|
disabled,
|
|
52
62
|
onBlur: () => setFocused(false),
|
|
53
|
-
onFocus: ()
|
|
54
|
-
if (isWeb)
|
|
55
|
-
setFocused(true);
|
|
56
|
-
},
|
|
63
|
+
onFocus: resolveFocusHandler(isWeb, setFocused),
|
|
57
64
|
onHoverIn: isWeb ? () => setHovered(true) : undefined,
|
|
58
65
|
onHoverOut: isWeb ? () => setHovered(false) : undefined,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
return [
|
|
62
|
-
resolvedViewStyles,
|
|
63
|
-
resolveFocusRingStyles(theme.semantics.border.focus, state.focused, isWeb),
|
|
64
|
-
style
|
|
65
|
-
];
|
|
66
|
-
},
|
|
66
|
+
onKeyDown: resolveCheckboxSpaceKeyHandler(accessibilityRole, isWeb, pressHandlers.onPress),
|
|
67
|
+
style: pressableStyle,
|
|
67
68
|
testID,
|
|
68
|
-
children: (
|
|
69
|
-
const state = resolveInteractionState(pressableState, hovered, focused, disabled);
|
|
70
|
-
return typeof children === "function" ? children(state) : children;
|
|
71
|
-
}
|
|
69
|
+
children: resolvePressableChildren(children, hovered, focused, disabled)
|
|
72
70
|
});
|
|
73
71
|
}
|
|
74
72
|
function resolvePressHandlers(interactionPolicy, onPress, onLongPress) {
|
|
75
73
|
return interactionPolicy === "passive" ? { onLongPress: undefined, onPress: undefined } : { onLongPress, onPress };
|
|
76
74
|
}
|
|
75
|
+
function resolveCheckboxSpaceKeyHandler(accessibilityRole, isWeb, onPress) {
|
|
76
|
+
if (!isWeb || accessibilityRole !== "checkbox" || onPress === undefined)
|
|
77
|
+
return;
|
|
78
|
+
const onKeyDown = (event) => {
|
|
79
|
+
if (event.nativeEvent.key !== " " && event.nativeEvent.key !== "Spacebar")
|
|
80
|
+
return;
|
|
81
|
+
event.preventDefault();
|
|
82
|
+
document.activeElement?.dispatchEvent(new MouseEvent("click", { bubbles: true }));
|
|
83
|
+
};
|
|
84
|
+
return onKeyDown;
|
|
85
|
+
}
|
|
86
|
+
function resolvePressableChildren(children, hovered, focused, disabled) {
|
|
87
|
+
return (pressableState) => {
|
|
88
|
+
const state = resolveInteractionState(pressableState, hovered, focused, disabled);
|
|
89
|
+
return typeof children === "function" ? children(state) : children;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function resolveFocusHandler(isWeb, setFocused) {
|
|
93
|
+
return () => {
|
|
94
|
+
if (isWeb)
|
|
95
|
+
setFocused(true);
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function resolvePressableStyle({
|
|
99
|
+
disabled,
|
|
100
|
+
focusColor,
|
|
101
|
+
focused,
|
|
102
|
+
hovered,
|
|
103
|
+
isWeb,
|
|
104
|
+
resolvedViewStyles,
|
|
105
|
+
style
|
|
106
|
+
}) {
|
|
107
|
+
return (pressableState) => {
|
|
108
|
+
const state = resolveInteractionState(pressableState, hovered, focused, disabled);
|
|
109
|
+
return [resolvedViewStyles, resolveFocusRingStyles(focusColor, state.focused, isWeb), style];
|
|
110
|
+
};
|
|
111
|
+
}
|
|
77
112
|
function resolveInteractionState(pressableState, hovered, focused, disabled) {
|
|
78
113
|
return resolveInteractiveState({
|
|
79
114
|
pressed: pressableState.pressed,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-w42y21pt.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-tz5kyeym.js";
|
|
8
8
|
import {
|
|
9
9
|
Heading2,
|
|
10
10
|
Text3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-bjagk749.js";
|
|
12
12
|
|
|
13
13
|
// src/features/section/adapters/inbound/SectionHeader.tsx
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-w42y21pt.js";
|
|
5
5
|
import {
|
|
6
6
|
getAxisCategoryTicks,
|
|
7
7
|
getAxisTicks,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./Accordion-zypyr9xw.js";
|
|
10
10
|
import {
|
|
11
11
|
useZoraTheme2
|
|
12
|
-
} from "./Accordion-
|
|
12
|
+
} from "./Accordion-b36h9a7g.js";
|
|
13
13
|
import {
|
|
14
14
|
require_cjs
|
|
15
15
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
useTheme
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-4d4xahgg.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-w42y21pt.js";
|
|
8
8
|
import {
|
|
9
9
|
Text3
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-bjagk749.js";
|
|
11
11
|
import {
|
|
12
12
|
View3
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-2bwvswbf.js";
|
|
14
14
|
import {
|
|
15
15
|
View2,
|
|
16
16
|
Divider2
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-tz5kyeym.js";
|
|
18
18
|
import {
|
|
19
19
|
Pressable
|
|
20
|
-
} from "./Accordion-
|
|
20
|
+
} from "./Accordion-6pyhxpvj.js";
|
|
21
21
|
import {
|
|
22
22
|
Text2
|
|
23
|
-
} from "./Accordion-
|
|
23
|
+
} from "./Accordion-pc21382h.js";
|
|
24
24
|
import {
|
|
25
25
|
SectionHeader2
|
|
26
|
-
} from "./Accordion-
|
|
26
|
+
} from "./Accordion-7hcnqvw9.js";
|
|
27
27
|
import {
|
|
28
28
|
useZoraTheme2
|
|
29
|
-
} from "./Accordion-
|
|
29
|
+
} from "./Accordion-b36h9a7g.js";
|
|
30
30
|
import {
|
|
31
31
|
require_cjs
|
|
32
32
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Pressable
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-6pyhxpvj.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-w42y21pt.js";
|
|
8
8
|
import {
|
|
9
9
|
Icon2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-mqb226ws.js";
|
|
11
11
|
import {
|
|
12
12
|
View2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-tz5kyeym.js";
|
|
14
14
|
import {
|
|
15
15
|
Text3
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-bjagk749.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveIconSize
|
|
19
19
|
} from "./Accordion-961ncx4e.js";
|
|
20
20
|
import {
|
|
21
21
|
useZoraTheme2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-b36h9a7g.js";
|
|
23
23
|
|
|
24
24
|
// src/features/chip/utils/resolveChipColors.ts
|
|
25
25
|
function resolveChipColors({
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
} from "./Accordion-zj4wnm3e.js";
|
|
6
6
|
import {
|
|
7
7
|
withZoraThemeScope
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-w42y21pt.js";
|
|
9
9
|
import {
|
|
10
10
|
useZoraThemeRecipe,
|
|
11
11
|
ZORA_COLORS,
|
|
12
12
|
ZORA_EMPHASES
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-qqv9mak2.js";
|
|
14
14
|
import {
|
|
15
15
|
useZoraTheme2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-b36h9a7g.js";
|
|
17
17
|
import {
|
|
18
18
|
require_cjs
|
|
19
19
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-2bwvswbf.js";
|
|
5
5
|
import {
|
|
6
6
|
useTheme
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-4d4xahgg.js";
|
|
8
8
|
|
|
9
9
|
// node_modules/@ankhorage/surface/src/features/surface/adapters/inbound/Surface.tsx
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-2bwvswbf.js";
|
|
5
5
|
import {
|
|
6
6
|
useTheme
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-4d4xahgg.js";
|
|
8
8
|
import {
|
|
9
9
|
Surface3
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-c1hhwvme.js";
|
|
11
11
|
import {
|
|
12
12
|
Text2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-pc21382h.js";
|
|
14
14
|
import {
|
|
15
15
|
Portal
|
|
16
16
|
} from "./Accordion-dtt4qkrb.js";
|