@ankhorage/zora 27.5.3 → 27.6.1
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 +18 -0
- package/README.md +1 -1
- package/dist/capabilities/index.js +13 -1
- package/dist/capabilities/index.js.map +5 -4
- package/dist/features/calendar/adapters/inbound/Calendar.d.ts +5 -0
- package/dist/features/calendar/adapters/inbound/Calendar.d.ts.map +1 -0
- package/dist/features/calendar/adapters/inbound/Calendar.js +126 -0
- package/dist/features/calendar/adapters/inbound/Calendar.js.map +1 -0
- package/dist/features/calendar/application/createCalendarMonth.d.ts +9 -0
- package/dist/features/calendar/application/createCalendarMonth.d.ts.map +1 -0
- package/dist/features/calendar/application/createCalendarMonth.js +25 -0
- package/dist/features/calendar/application/createCalendarMonth.js.map +1 -0
- package/dist/features/calendar/application/isCalendarDateDisabled.d.ts +10 -0
- package/dist/features/calendar/application/isCalendarDateDisabled.d.ts.map +1 -0
- package/dist/features/calendar/application/isCalendarDateDisabled.js +23 -0
- package/dist/features/calendar/application/isCalendarDateDisabled.js.map +1 -0
- package/dist/features/calendar/calendarMeta.d.ts +10 -0
- package/dist/features/calendar/calendarMeta.d.ts.map +1 -0
- package/dist/features/calendar/calendarMeta.js +10 -0
- package/dist/features/calendar/calendarMeta.js.map +1 -0
- package/dist/features/calendar/public.d.ts +2 -0
- package/dist/features/calendar/public.d.ts.map +1 -1
- package/dist/features/calendar/public.js +1 -1
- package/dist/features/calendar/public.js.map +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.d.ts +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.d.ts.map +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.js +82 -23
- package/dist/features/data-table/adapters/inbound/DataTable.js.map +1 -1
- package/dist/features/date-picker/composition/DatePickerContent.d.ts +1 -1
- package/dist/features/date-picker/composition/DatePickerContent.d.ts.map +1 -1
- package/dist/features/date-picker/composition/DatePickerContent.js +5 -104
- package/dist/features/date-picker/composition/DatePickerContent.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphController.js +7 -2
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphController.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.js +27 -4
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/placeAddedGraphNodes.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/placeAddedGraphNodes.js +18 -6
- package/dist/features/graph-view/adapters/inbound/web-artifact/placeAddedGraphNodes.js.map +1 -1
- package/dist/features/grid-view/adapters/inbound/GridView.d.ts +1 -1
- package/dist/features/grid-view/adapters/inbound/GridView.d.ts.map +1 -1
- package/dist/features/grid-view/adapters/inbound/GridView.js +6 -5
- package/dist/features/grid-view/adapters/inbound/GridView.js.map +1 -1
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts.map +1 -1
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js +2 -0
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js.map +1 -1
- package/dist/features/registry/componentMeta.d.ts.map +1 -1
- package/dist/features/registry/componentMeta.js +2 -0
- package/dist/features/registry/componentMeta.js.map +1 -1
- package/dist/features/timeline/adapters/inbound/Timeline.d.ts.map +1 -1
- package/dist/features/timeline/adapters/inbound/Timeline.js +17 -11
- package/dist/features/timeline/adapters/inbound/Timeline.js.map +1 -1
- package/dist/readerFree.d.ts +1 -0
- package/dist/readerFree.d.ts.map +1 -1
- package/dist/readerFree.js +1 -0
- package/dist/readerFree.js.map +1 -1
- package/dist/types/calendar.d.ts +24 -0
- package/dist/types/calendar.d.ts.map +1 -0
- package/dist/types/calendar.js +2 -0
- package/dist/types/calendar.js.map +1 -0
- package/dist/types/data-table.d.ts +4 -0
- package/dist/types/data-table.d.ts.map +1 -1
- package/dist/types/data-table.js.map +1 -1
- package/dist/types/grid-view.d.ts +2 -0
- package/dist/types/grid-view.d.ts.map +1 -1
- package/dist/types/grid-view.js.map +1 -1
- package/dist/types/timeline.d.ts +3 -0
- package/dist/types/timeline.d.ts.map +1 -1
- package/dist/types/timeline.js.map +1 -1
- package/package.json +2 -2
- package/src/features/calendar/adapters/inbound/Calendar.interaction.test.tsx +115 -0
- package/src/features/calendar/adapters/inbound/Calendar.tsx +219 -0
- package/src/features/calendar/application/createCalendarMonth.test.ts +23 -0
- package/src/features/calendar/application/createCalendarMonth.ts +38 -0
- package/src/features/calendar/application/isCalendarDateDisabled.test.ts +49 -0
- package/src/features/calendar/application/isCalendarDateDisabled.ts +41 -0
- package/src/features/calendar/calendarMeta.ts +11 -0
- package/src/features/calendar/public.test.ts +14 -0
- package/src/features/calendar/public.ts +7 -0
- package/src/features/data-table/adapters/inbound/DataTable.test.tsx +242 -0
- package/src/features/data-table/adapters/inbound/DataTable.tsx +162 -38
- package/src/features/date-picker/composition/DatePickerContent.tsx +8 -192
- package/src/features/date-picker/public.test.ts +2 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/createGraphController.ts +9 -2
- package/src/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.test.ts +210 -4
- package/src/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.ts +36 -3
- package/src/features/graph-view/adapters/inbound/web-artifact/placeAddedGraphNodes.test.ts +33 -0
- package/src/features/graph-view/adapters/inbound/web-artifact/placeAddedGraphNodes.ts +19 -5
- package/src/features/grid-view/adapters/inbound/GridView.tsx +6 -4
- package/src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts +2 -0
- package/src/features/registry/componentMeta.ts +2 -0
- package/src/features/timeline/adapters/inbound/Timeline.test.tsx +175 -0
- package/src/features/timeline/adapters/inbound/Timeline.tsx +47 -26
- package/src/readerFree.ts +7 -0
- package/src/types/calendar.ts +25 -0
- package/src/types/data-table.ts +4 -0
- package/src/types/grid-view.ts +2 -0
- package/src/types/timeline.ts +3 -0
- package/web-dist/chunks/{Accordion-k81eyekh.js → Accordion-0j4xzcwz.js} +2 -2
- package/web-dist/chunks/{Accordion-5f9e10c6.js → Accordion-252dr90x.js} +1 -1
- package/web-dist/chunks/{Accordion-0pryvztw.js → Accordion-260pyaxy.js} +1 -1
- package/web-dist/chunks/{Accordion-g9hn7fht.js → Accordion-4c7hqeg3.js} +1 -1
- package/web-dist/chunks/{Accordion-0z8nry94.js → Accordion-4kmh6s2k.js} +1 -1
- package/web-dist/chunks/{Accordion-g758dqfc.js → Accordion-5pbvgvqc.js} +1 -1
- package/web-dist/chunks/{Accordion-jp5xt2kz.js → Accordion-5z8pbn4z.js} +1 -1
- package/web-dist/chunks/{Accordion-qzx53csd.js → Accordion-6jsea4e0.js} +4 -4
- package/web-dist/chunks/{Accordion-yd025qec.js → Accordion-7788ybcs.js} +2 -2
- package/web-dist/chunks/{Accordion-ppksc4jh.js → Accordion-7mnan4q4.js} +4 -4
- package/web-dist/chunks/{Accordion-0pm8dvcy.js → Accordion-8j7t77tf.js} +2 -2
- package/web-dist/chunks/{Accordion-6tesp7jr.js → Accordion-c44m1q0m.js} +1 -1
- package/web-dist/chunks/{Accordion-a6h4ff7g.js → Accordion-f2n2zz1x.js} +2 -2
- package/web-dist/chunks/{Accordion-ep9xpmbw.js → Accordion-fbehwpr1.js} +3 -3
- package/web-dist/chunks/{Accordion-j09h3pg1.js → Accordion-hf4nfkn0.js} +7 -7
- package/web-dist/chunks/{Accordion-xr81ntxh.js → Accordion-hh48jjhk.js} +4 -4
- package/web-dist/chunks/{Accordion-3qz6s2z9.js → Accordion-j6bs1yfn.js} +1 -1
- package/web-dist/chunks/{Accordion-dnpfe329.js → Accordion-jh94mg56.js} +3 -3
- package/web-dist/chunks/{Accordion-6c2ykyad.js → Accordion-jx9tc6p1.js} +2 -2
- package/web-dist/chunks/{Accordion-8xgdw6ry.js → Accordion-kcca65d8.js} +1 -1
- package/web-dist/chunks/{Accordion-g009pehq.js → Accordion-m3xb7z7j.js} +3 -3
- package/web-dist/chunks/{Accordion-eqkmzs33.js → Accordion-mpebzjby.js} +1 -1
- package/web-dist/chunks/{Accordion-n29svm40.js → Accordion-ms1y70gq.js} +1 -1
- package/web-dist/chunks/{Accordion-t0k1cjca.js → Accordion-neg1cgeh.js} +7 -5
- package/web-dist/chunks/{Accordion-wfrt39d2.js → Accordion-nnhznqgf.js} +1 -1
- package/web-dist/chunks/{Accordion-cqdfhyr9.js → Accordion-np16p9mh.js} +1 -1
- package/web-dist/chunks/{Accordion-zjygy6n2.js → Accordion-p2f0e4pn.js} +3 -3
- package/web-dist/chunks/{Accordion-q1vqpaw6.js → Accordion-p7mxkxhs.js} +4 -4
- package/web-dist/chunks/{Accordion-d6f4vr6s.js → Accordion-r6zvzrkd.js} +1 -1
- package/web-dist/chunks/Accordion-r86ce0wj.js +237 -0
- package/web-dist/chunks/{Accordion-b8659jt9.js → Accordion-rwc34cn2.js} +1 -1
- package/web-dist/chunks/{Accordion-rcff84ws.js → Accordion-s9nbkzky.js} +1 -1
- package/web-dist/chunks/{Accordion-01s50nga.js → Accordion-sxzts6bj.js} +1 -1
- package/web-dist/chunks/{Accordion-36nt5xmp.js → Accordion-t2cvrn0r.js} +4 -4
- package/web-dist/chunks/{Accordion-y5kdx80m.js → Accordion-tnt1txfq.js} +3 -3
- package/web-dist/chunks/{Accordion-bj7hv2dq.js → Accordion-vq8zrnwh.js} +1 -1
- package/web-dist/chunks/{Accordion-hh6jrz1e.js → Accordion-w0prbwy0.js} +4 -4
- package/web-dist/chunks/{Accordion-zqzqg9yc.js → Accordion-wvghkwxx.js} +6 -6
- package/web-dist/chunks/{Accordion-cp82h5jx.js → Accordion-wx0jp5cn.js} +4 -4
- package/web-dist/chunks/{Accordion-bwp6m0zd.js → Accordion-yb4as6wc.js} +2 -2
- package/web-dist/chunks/{Accordion-e9c80kn7.js → Accordion-yrzm02g2.js} +2 -2
- package/web-dist/components/accordion/Accordion.js +3 -3
- package/web-dist/components/accordion-item/AccordionItem.js +3 -3
- package/web-dist/components/app-bar/AppBar.js +8 -8
- package/web-dist/components/app-header/AppHeader.js +8 -8
- package/web-dist/components/app-shell/AppShell.js +2 -2
- package/web-dist/components/auth-screen/AuthScreen.js +12 -12
- package/web-dist/components/avatar/Avatar.js +3 -3
- package/web-dist/components/avatar-group/AvatarGroup.js +3 -3
- package/web-dist/components/badge/Badge.js +2 -2
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +11 -11
- package/web-dist/components/bottom-sheet/BottomSheet.js +3 -3
- package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +3 -3
- package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +3 -3
- package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +3 -3
- package/web-dist/components/bottom-sheet-view/BottomSheetView.js +3 -3
- package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +3 -3
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +5 -5
- package/web-dist/components/button/Button.js +5 -5
- package/web-dist/components/button-group/ButtonGroup.js +5 -5
- package/web-dist/components/calendar/Calendar.d.ts +8 -0
- package/web-dist/components/calendar/Calendar.dependency-0.d.ts +27 -0
- package/web-dist/components/calendar/Calendar.dependency-1.d.ts +3 -0
- package/web-dist/components/calendar/Calendar.js +25 -0
- package/web-dist/components/calendar/Calendar.types-0.d.ts +27 -0
- package/web-dist/components/calendar/Calendar.types-1.d.ts +146 -0
- package/web-dist/components/calendar/index.d.ts +2 -0
- package/web-dist/components/calendar/index.js +2 -0
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +11 -11
- package/web-dist/components/card/Card.js +10 -10
- package/web-dist/components/chat-list-item/ChatListItem.js +6 -6
- package/web-dist/components/checkbox/Checkbox.js +4 -4
- package/web-dist/components/checkbox-group/CheckboxGroup.js +4 -4
- package/web-dist/components/chess-board/ChessBoard.js +2 -2
- 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 +10 -10
- package/web-dist/components/color-hue-scale/ColorHueScale.js +6 -6
- package/web-dist/components/color-picker/ColorPicker.js +6 -6
- package/web-dist/components/color-tone/ColorTone.js +6 -6
- package/web-dist/components/color-wheel/ColorWheel.js +6 -6
- package/web-dist/components/content-rail/ContentRail.js +5 -5
- package/web-dist/components/data-table/DataTable.d.ts +1 -1
- package/web-dist/components/data-table/DataTable.js +149 -64
- package/web-dist/components/data-table/DataTable.types-0.d.ts +4 -0
- package/web-dist/components/date-picker/DatePicker.js +19 -160
- package/web-dist/components/dialog/Dialog.js +4 -4
- package/web-dist/components/divider/Divider.js +2 -2
- package/web-dist/components/empty-state/EmptyState.js +11 -11
- package/web-dist/components/explorer/Explorer.js +5 -5
- package/web-dist/components/field/Field.js +4 -4
- package/web-dist/components/file-explorer/FileExplorer.js +5 -5
- package/web-dist/components/flat-list/FlatList.js +5 -5
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +12 -12
- package/web-dist/components/form/Form.js +8 -8
- package/web-dist/components/form-actions/FormActions.js +8 -8
- package/web-dist/components/form-error/FormError.js +8 -8
- package/web-dist/components/game/Game.js +3 -3
- package/web-dist/components/game-entity/GameEntity.js +3 -3
- package/web-dist/components/game-field/GameField.js +3 -3
- package/web-dist/components/game-input-zone/GameInputZone.js +3 -3
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +3 -3
- package/web-dist/components/game-overlay/GameOverlay.js +3 -3
- package/web-dist/components/gradient/Gradient.js +3 -3
- package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +3 -3
- package/web-dist/components/graph-view/GraphView.js +34 -11
- package/web-dist/components/grid/Grid.js +2 -2
- package/web-dist/components/grid-view/GridView.d.ts +1 -1
- package/web-dist/components/grid-view/GridView.js +1 -1
- package/web-dist/components/grid-view/GridView.types-0.d.ts +2 -0
- package/web-dist/components/hero/Hero.js +10 -10
- package/web-dist/components/icon-button/IconButton.js +5 -5
- package/web-dist/components/image/Image.js +3 -3
- 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/matrix-grid/MatrixGrid.js +1 -1
- package/web-dist/components/media-card/MediaCard.js +10 -10
- package/web-dist/components/media-explorer/MediaExplorer.js +5 -5
- package/web-dist/components/message-bubble/MessageBubble.js +6 -6
- package/web-dist/components/metric-card/MetricCard.js +10 -10
- package/web-dist/components/missing-element/MissingElement.js +3 -3
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +12 -12
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +12 -12
- package/web-dist/components/opening-book/OpeningBook.js +2 -2
- package/web-dist/components/otp-form/OtpForm.js +12 -12
- package/web-dist/components/pagination/Pagination.js +5 -5
- package/web-dist/components/palette-item/PaletteItem.js +10 -10
- package/web-dist/components/popover-menu/PopoverMenu.js +4 -4
- package/web-dist/components/post-card/PostCard.js +10 -10
- package/web-dist/components/product-card/ProductCard.js +10 -10
- package/web-dist/components/progress/Progress.js +3 -3
- package/web-dist/components/progress-ring/ProgressRing.js +3 -3
- 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 +2 -2
- package/web-dist/components/reader/Reader.js +11 -11
- package/web-dist/components/scan-overlay/ScanOverlay.js +11 -11
- package/web-dist/components/screen/Screen.js +2 -2
- package/web-dist/components/screen-section/ScreenSection.js +3 -3
- package/web-dist/components/scroll-view/ScrollView.js +2 -2
- package/web-dist/components/search-input/SearchInput.js +6 -6
- package/web-dist/components/section-header/SectionHeader.js +3 -3
- package/web-dist/components/section-list/SectionList.js +5 -5
- package/web-dist/components/select/Select.js +8 -8
- package/web-dist/components/sign-in-form/SignInForm.js +12 -12
- package/web-dist/components/sign-up-form/SignUpForm.js +12 -12
- package/web-dist/components/skeleton/Skeleton.js +13 -13
- package/web-dist/components/skeleton-card/SkeletonCard.js +13 -13
- package/web-dist/components/skeleton-list/SkeletonList.js +13 -13
- package/web-dist/components/skeleton-text/SkeletonText.js +13 -13
- package/web-dist/components/spatial-grid/SpatialGrid.js +1 -1
- package/web-dist/components/surface/Surface.js +3 -3
- package/web-dist/components/switch/Switch.js +2 -2
- package/web-dist/components/tab/Tab.js +2 -2
- package/web-dist/components/tab-list/TabList.js +2 -2
- package/web-dist/components/tab-panel/TabPanel.js +2 -2
- package/web-dist/components/tabs/Tabs.js +2 -2
- package/web-dist/components/text-input/TextInput.js +6 -6
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +5 -5
- package/web-dist/components/tile-grid/TileGrid.js +1 -1
- package/web-dist/components/time-grid/TimeGrid.js +1 -1
- package/web-dist/components/time-picker/TimePicker.js +9 -9
- package/web-dist/components/timeline/Timeline.dependency-2.d.ts +8 -2
- package/web-dist/components/timeline/Timeline.dependency-3.d.ts +23 -0
- package/web-dist/components/timeline/Timeline.dependency-4.d.ts +3 -0
- package/web-dist/components/timeline/Timeline.js +30 -11
- package/web-dist/components/timeline/Timeline.types-0.d.ts +5 -1
- package/web-dist/components/toast/Toast.js +4 -4
- package/web-dist/components/toast-provider/ToastProvider.js +4 -4
- package/web-dist/components/toolbar/Toolbar.js +10 -10
- package/web-dist/components/tree-item/TreeItem.js +7 -7
- package/web-dist/components/uploader/Uploader.js +14 -14
- package/web-dist/components/view/View.js +2 -2
- package/web-dist/manifest.json +720 -673
- package/web-dist/runtime/ZoraProvider.js +3 -3
- /package/web-dist/chunks/{Accordion-kpk964z0.js → Accordion-a8k3cvj0.js} +0 -0
|
@@ -55,6 +55,7 @@ export function GridView({
|
|
|
55
55
|
onVisibleItemIdsChange,
|
|
56
56
|
renderItem,
|
|
57
57
|
testID,
|
|
58
|
+
viewportInteraction = 'enabled',
|
|
58
59
|
}: GridViewProps) {
|
|
59
60
|
const [uncontrolledViewport, setUncontrolledViewport] = React.useState(() =>
|
|
60
61
|
createInitialViewport(width, height, zoom, defaultViewport),
|
|
@@ -100,6 +101,7 @@ export function GridView({
|
|
|
100
101
|
const previousVisibleIdsRef = React.useRef<readonly string[]>([]);
|
|
101
102
|
const uncontrolled = controlledViewport === undefined;
|
|
102
103
|
const interactive = interactionPolicy !== 'passive';
|
|
104
|
+
const viewportInteractive = interactive && viewportInteraction === 'enabled';
|
|
103
105
|
|
|
104
106
|
const publish = React.useCallback(
|
|
105
107
|
(nextViewport: GridViewport) => {
|
|
@@ -314,7 +316,7 @@ export function GridView({
|
|
|
314
316
|
if (wasPinching) syncScrollPosition();
|
|
315
317
|
}}
|
|
316
318
|
onTouchMove={(event) => {
|
|
317
|
-
if (!
|
|
319
|
+
if (!viewportInteractive) return;
|
|
318
320
|
measurePinchGesture([...event.nativeEvent.touches], pinchSessionRef.current, (pinch) => {
|
|
319
321
|
const previous = pinchGestureRef.current;
|
|
320
322
|
pinchGestureRef.current = pinch;
|
|
@@ -338,7 +340,7 @@ export function GridView({
|
|
|
338
340
|
ref={horizontalScrollRef}
|
|
339
341
|
testID={testID ? `${testID}-horizontal-scroll` : undefined}
|
|
340
342
|
horizontal
|
|
341
|
-
scrollEnabled={
|
|
343
|
+
scrollEnabled={viewportInteractive && !isPinching}
|
|
342
344
|
scrollEventThrottle={16}
|
|
343
345
|
showsHorizontalScrollIndicator
|
|
344
346
|
style={{ height, width }}
|
|
@@ -353,7 +355,7 @@ export function GridView({
|
|
|
353
355
|
<NativeScrollView
|
|
354
356
|
ref={verticalScrollRef}
|
|
355
357
|
testID={testID ? `${testID}-vertical-scroll` : undefined}
|
|
356
|
-
scrollEnabled={
|
|
358
|
+
scrollEnabled={viewportInteractive && !isPinching}
|
|
357
359
|
scrollEventThrottle={16}
|
|
358
360
|
showsVerticalScrollIndicator
|
|
359
361
|
style={{ height, width: scrollMapping.horizontal.contentSize }}
|
|
@@ -394,7 +396,7 @@ export function GridView({
|
|
|
394
396
|
</NativeView>
|
|
395
397
|
</NativeScrollView>
|
|
396
398
|
</NativeScrollView>
|
|
397
|
-
{
|
|
399
|
+
{viewportInteractive ? (
|
|
398
400
|
<NativeView accessibilityLabel="Viewport controls" style={controlsStyle}>
|
|
399
401
|
<NativePressable
|
|
400
402
|
accessibilityLabel="Pan left"
|
|
@@ -20,6 +20,7 @@ import { Badge } from '../badge/public';
|
|
|
20
20
|
import { BottomSheet } from '../bottom-sheet/public';
|
|
21
21
|
import { Breadcrumbs } from '../breadcrumbs/public';
|
|
22
22
|
import { Button, ButtonGroup, IconButton } from '../button/public';
|
|
23
|
+
import { Calendar } from '../calendar/public';
|
|
23
24
|
import { Card, MediaCard, MetricCard, PostCard, ProductCard } from '../card/public';
|
|
24
25
|
import { ChatListItem, MessageBubble } from '../chat/public';
|
|
25
26
|
import { ChessBoard, OpeningBook } from '../chess/public';
|
|
@@ -123,6 +124,7 @@ const _ZORA_BASE_COMPONENT_REGISTRY = {
|
|
|
123
124
|
Button,
|
|
124
125
|
ButtonGroup,
|
|
125
126
|
Card,
|
|
127
|
+
Calendar,
|
|
126
128
|
Checkbox,
|
|
127
129
|
CheckboxGroup,
|
|
128
130
|
Chip,
|
|
@@ -19,6 +19,7 @@ import { breadcrumbsMeta } from '../breadcrumbs/breadcrumbsMeta';
|
|
|
19
19
|
import { buttonGroupMeta } from '../button/buttonGroupMeta';
|
|
20
20
|
import { buttonMeta } from '../button/buttonMeta';
|
|
21
21
|
import { iconButtonMeta } from '../button/iconButtonMeta';
|
|
22
|
+
import { calendarMeta } from '../calendar/calendarMeta';
|
|
22
23
|
import { cardMeta } from '../card/cardMeta';
|
|
23
24
|
import { mediaCardMeta } from '../card/mediaCardMeta';
|
|
24
25
|
import { metricCardMeta } from '../card/metricCardMeta';
|
|
@@ -131,6 +132,7 @@ export const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMet
|
|
|
131
132
|
Button: buttonMeta,
|
|
132
133
|
ButtonGroup: buttonGroupMeta,
|
|
133
134
|
Card: cardMeta,
|
|
135
|
+
Calendar: calendarMeta,
|
|
134
136
|
Checkbox: checkboxMeta,
|
|
135
137
|
CheckboxGroup: checkboxGroupMeta,
|
|
136
138
|
Chip: chipMeta,
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { join } from 'node:path';
|
|
2
|
+
import { pathToFileURL } from 'node:url';
|
|
3
|
+
|
|
4
|
+
import { expect, test } from 'bun:test';
|
|
5
|
+
import { Window } from 'happy-dom';
|
|
6
|
+
import React, { act } from 'react';
|
|
7
|
+
import { createRoot } from 'react-dom/client';
|
|
8
|
+
import { renderToStaticMarkup } from 'react-dom/server';
|
|
9
|
+
|
|
10
|
+
import type { TimelineProps } from '../../../../types/timeline';
|
|
11
|
+
import type { ZoraProvider as ZoraProviderComponent } from '../../../theme/runtime';
|
|
12
|
+
import type { Timeline as TimelineComponent } from './Timeline';
|
|
13
|
+
|
|
14
|
+
const webDistRoot = join(import.meta.dir, '../../../../../web-dist');
|
|
15
|
+
|
|
16
|
+
async function loadTimeline() {
|
|
17
|
+
const [timelineModule, themeModule] = await Promise.all([
|
|
18
|
+
import(pathToFileURL(join(webDistRoot, 'components/timeline/index.js')).href) as Promise<{
|
|
19
|
+
Timeline: typeof TimelineComponent;
|
|
20
|
+
}>,
|
|
21
|
+
import(pathToFileURL(join(webDistRoot, 'runtime/ZoraProvider.js')).href) as Promise<{
|
|
22
|
+
ZoraProvider: typeof ZoraProviderComponent;
|
|
23
|
+
}>,
|
|
24
|
+
]);
|
|
25
|
+
return { Timeline: timelineModule.Timeline, ZoraProvider: themeModule.ZoraProvider };
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function renderTimeline(
|
|
29
|
+
Timeline: typeof TimelineComponent,
|
|
30
|
+
ZoraProvider: typeof ZoraProviderComponent,
|
|
31
|
+
items: TimelineProps['items'],
|
|
32
|
+
) {
|
|
33
|
+
return renderToStaticMarkup(
|
|
34
|
+
<ZoraProvider mode="light">
|
|
35
|
+
<Timeline items={items} testID="timeline" />
|
|
36
|
+
</ZoraProvider>,
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
test('renders image markers while retaining icon markers as the fallback', async () => {
|
|
41
|
+
const { Timeline, ZoraProvider } = await loadTimeline();
|
|
42
|
+
const browser = new Window();
|
|
43
|
+
|
|
44
|
+
try {
|
|
45
|
+
browser.document.body.innerHTML = renderTimeline(Timeline, ZoraProvider, [
|
|
46
|
+
{
|
|
47
|
+
id: 'acquired',
|
|
48
|
+
marker: 'https://example.test/acquired.svg',
|
|
49
|
+
markerAlt: 'Acquired company logo',
|
|
50
|
+
status: 'success',
|
|
51
|
+
testID: 'acquired',
|
|
52
|
+
title: 'Company acquired',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
icon: { name: 'checkmark-outline' },
|
|
56
|
+
id: 'integrated',
|
|
57
|
+
status: 'primary',
|
|
58
|
+
testID: 'integrated',
|
|
59
|
+
title: 'Company integrated',
|
|
60
|
+
},
|
|
61
|
+
]);
|
|
62
|
+
|
|
63
|
+
const acquired = browser.document.querySelector('[data-testid="acquired"]');
|
|
64
|
+
const integrated = browser.document.querySelector('[data-testid="integrated"]');
|
|
65
|
+
if (!acquired || !integrated) throw new Error('Expected both Timeline items to render');
|
|
66
|
+
const imageMarker = acquired.firstElementChild.firstElementChild;
|
|
67
|
+
const iconMarker = integrated.firstElementChild.firstElementChild;
|
|
68
|
+
|
|
69
|
+
expect(imageMarker.getAttribute('style')).toContain('width:40px');
|
|
70
|
+
expect(iconMarker.getAttribute('style')).toContain('width:20px');
|
|
71
|
+
} finally {
|
|
72
|
+
browser.close();
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
test('stretches connectors through variable-height content without changing stable item identity', async () => {
|
|
77
|
+
const { Timeline, ZoraProvider } = await loadTimeline();
|
|
78
|
+
const browser = new Window();
|
|
79
|
+
|
|
80
|
+
try {
|
|
81
|
+
browser.document.body.innerHTML = renderTimeline(Timeline, ZoraProvider, [
|
|
82
|
+
{
|
|
83
|
+
description:
|
|
84
|
+
'A deliberately long event description that wraps across lines while the connector remains continuous to the next event.',
|
|
85
|
+
id: 'long-description',
|
|
86
|
+
meta: '2026-11-22',
|
|
87
|
+
title: 'A title that can also wrap when the available timeline width is constrained',
|
|
88
|
+
},
|
|
89
|
+
{ id: 'final-event', title: 'Final event' },
|
|
90
|
+
]);
|
|
91
|
+
|
|
92
|
+
const timeline = browser.document.querySelector('[data-testid="timeline"]');
|
|
93
|
+
const firstItem = timeline?.children.item(0);
|
|
94
|
+
const connector = firstItem?.querySelector('[style*="width:2px"]');
|
|
95
|
+
const content = firstItem?.lastElementChild;
|
|
96
|
+
|
|
97
|
+
expect(firstItem?.getAttribute('data-testid')).toBeNull();
|
|
98
|
+
expect(connector?.getAttribute('style')).toContain('flex:1');
|
|
99
|
+
expect(connector?.getAttribute('style')).not.toContain('height:36px');
|
|
100
|
+
expect(content?.getAttribute('style')).toContain('padding-bottom:24px');
|
|
101
|
+
expect(timeline?.textContent).toContain('A deliberately long event description');
|
|
102
|
+
expect(timeline?.textContent).toContain('Final event');
|
|
103
|
+
} finally {
|
|
104
|
+
browser.close();
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
test('keeps rendered item nodes stable when event order changes', async () => {
|
|
109
|
+
const { Timeline, ZoraProvider } = await loadTimeline();
|
|
110
|
+
const browser = new Window();
|
|
111
|
+
const restore = installBrowserGlobals(browser);
|
|
112
|
+
const host = document.createElement('div');
|
|
113
|
+
document.body.append(host);
|
|
114
|
+
const root = createRoot(host);
|
|
115
|
+
const initialItems: TimelineProps['items'] = [
|
|
116
|
+
{ id: 'first', testID: 'timeline-item-first', title: 'First event' },
|
|
117
|
+
{ id: 'second', testID: 'timeline-item-second', title: 'Second event' },
|
|
118
|
+
];
|
|
119
|
+
|
|
120
|
+
try {
|
|
121
|
+
act(() => {
|
|
122
|
+
root.render(
|
|
123
|
+
<ZoraProvider mode="light">
|
|
124
|
+
<Timeline items={initialItems} />
|
|
125
|
+
</ZoraProvider>,
|
|
126
|
+
);
|
|
127
|
+
});
|
|
128
|
+
const firstNode = host.querySelector('[data-testid="timeline-item-first"]');
|
|
129
|
+
const secondNode = host.querySelector('[data-testid="timeline-item-second"]');
|
|
130
|
+
|
|
131
|
+
act(() => {
|
|
132
|
+
root.render(
|
|
133
|
+
<ZoraProvider mode="light">
|
|
134
|
+
<Timeline items={[initialItems[1], initialItems[0]]} />
|
|
135
|
+
</ZoraProvider>,
|
|
136
|
+
);
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
expect(host.querySelector('[data-testid="timeline-item-first"]')).toBe(firstNode);
|
|
140
|
+
expect(host.querySelector('[data-testid="timeline-item-second"]')).toBe(secondNode);
|
|
141
|
+
} finally {
|
|
142
|
+
act(() => root.unmount());
|
|
143
|
+
host.remove();
|
|
144
|
+
restore();
|
|
145
|
+
browser.close();
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
function installBrowserGlobals(browser: Window): () => void {
|
|
150
|
+
const keys = [
|
|
151
|
+
'window',
|
|
152
|
+
'document',
|
|
153
|
+
'Node',
|
|
154
|
+
'navigator',
|
|
155
|
+
'ShadowRoot',
|
|
156
|
+
'IS_REACT_ACT_ENVIRONMENT',
|
|
157
|
+
] as const;
|
|
158
|
+
const previous = keys.map(
|
|
159
|
+
(key) => [key, Object.getOwnPropertyDescriptor(globalThis, key)] as const,
|
|
160
|
+
);
|
|
161
|
+
Object.assign(globalThis, {
|
|
162
|
+
IS_REACT_ACT_ENVIRONMENT: true,
|
|
163
|
+
Node: browser.Node,
|
|
164
|
+
ShadowRoot: browser.ShadowRoot,
|
|
165
|
+
document: browser.document,
|
|
166
|
+
navigator: browser.navigator,
|
|
167
|
+
window: browser,
|
|
168
|
+
});
|
|
169
|
+
return () => {
|
|
170
|
+
for (const [key, descriptor] of previous) {
|
|
171
|
+
if (descriptor) Object.defineProperty(globalThis, key, descriptor);
|
|
172
|
+
else Reflect.deleteProperty(globalThis, key);
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
@@ -5,6 +5,7 @@ import type { ZoraColor } from '../../../../types/theme';
|
|
|
5
5
|
import type { TimelineItem, TimelineProps } from '../../../../types/timeline';
|
|
6
6
|
import { Icon } from '../../../icon/public';
|
|
7
7
|
import { resolveIconSize } from '../../../icon/utils/resolveIconSize';
|
|
8
|
+
import { Image } from '../../../image/public';
|
|
8
9
|
import { View } from '../../../layout/public';
|
|
9
10
|
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
10
11
|
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
@@ -47,53 +48,77 @@ function TimelineInner({
|
|
|
47
48
|
}: TimelineProps) {
|
|
48
49
|
const { theme } = useZoraTheme();
|
|
49
50
|
const gap = compact ? 'm' : 'l';
|
|
50
|
-
const
|
|
51
|
+
const iconMarkerSize = 20;
|
|
52
|
+
const imageMarkerSize = compact ? 28 : 40;
|
|
53
|
+
const markerColumnWidth = items.some((item) => item.marker !== undefined && item.marker !== null)
|
|
54
|
+
? imageMarkerSize
|
|
55
|
+
: iconMarkerSize;
|
|
51
56
|
|
|
52
57
|
const renderItem = (item: TimelineItem, index: number) => {
|
|
53
58
|
const status = item.status ?? 'neutral';
|
|
54
59
|
const role = resolveRoleSemantics(theme, status);
|
|
55
60
|
const showConnector = index < items.length - 1;
|
|
61
|
+
const hasMarker = item.marker !== undefined && item.marker !== null;
|
|
56
62
|
const iconSize = Math.max(12, resolveIconSize('s'));
|
|
57
63
|
|
|
58
64
|
return (
|
|
59
65
|
<View
|
|
60
66
|
direction="row"
|
|
61
67
|
key={item.id}
|
|
62
|
-
align="
|
|
68
|
+
align="stretch"
|
|
63
69
|
gap="m"
|
|
64
70
|
testID={item.testID}
|
|
65
71
|
wrap="nowrap"
|
|
66
72
|
>
|
|
67
|
-
<View align="center" flexShrink={0}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
<
|
|
79
|
-
{
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
<View align="center" flexShrink={0} style={{ width: markerColumnWidth }}>
|
|
74
|
+
{hasMarker ? (
|
|
75
|
+
<View
|
|
76
|
+
bg={status === 'neutral' ? theme.semantics.neutral.surface : role.softBg}
|
|
77
|
+
borderColor={status === 'neutral' ? theme.semantics.neutral.divider : role.base}
|
|
78
|
+
borderWidth={1}
|
|
79
|
+
height={imageMarkerSize}
|
|
80
|
+
overflow="hidden"
|
|
81
|
+
radius="l"
|
|
82
|
+
width={imageMarkerSize}
|
|
83
|
+
>
|
|
84
|
+
<Image
|
|
85
|
+
alt={item.markerAlt}
|
|
86
|
+
height={imageMarkerSize}
|
|
87
|
+
source={item.marker}
|
|
88
|
+
width={imageMarkerSize}
|
|
82
89
|
/>
|
|
83
|
-
|
|
84
|
-
|
|
90
|
+
</View>
|
|
91
|
+
) : (
|
|
92
|
+
<View
|
|
93
|
+
bg={status === 'neutral' ? theme.semantics.neutral.surface : role.softBg}
|
|
94
|
+
borderColor={status === 'neutral' ? theme.semantics.neutral.divider : role.base}
|
|
95
|
+
borderWidth={1}
|
|
96
|
+
height={iconMarkerSize}
|
|
97
|
+
radius="full"
|
|
98
|
+
width={iconMarkerSize}
|
|
99
|
+
style={{ alignItems: 'center', justifyContent: 'center' }}
|
|
100
|
+
>
|
|
101
|
+
{item.icon ? (
|
|
102
|
+
<Icon
|
|
103
|
+
{...item.icon}
|
|
104
|
+
color={status === 'neutral' ? theme.semantics.content.muted : role.base}
|
|
105
|
+
size={iconSize}
|
|
106
|
+
/>
|
|
107
|
+
) : null}
|
|
108
|
+
</View>
|
|
109
|
+
)}
|
|
85
110
|
|
|
86
111
|
{showConnector ? (
|
|
87
112
|
<View
|
|
88
113
|
bg={theme.semantics.neutral.divider}
|
|
89
|
-
|
|
114
|
+
flex={1}
|
|
90
115
|
radius="full"
|
|
91
116
|
style={{ width: 2 }}
|
|
92
117
|
/>
|
|
93
118
|
) : null}
|
|
94
119
|
</View>
|
|
95
120
|
|
|
96
|
-
<View flex={1} gap="xs" testID={testID}>
|
|
121
|
+
<View flex={1} gap="xs" pb={showConnector ? gap : undefined} testID={testID}>
|
|
97
122
|
<View direction="row" align="flex-start" gap="s" justify="space-between" wrap="wrap">
|
|
98
123
|
<Heading level={compact ? 4 : 3}>{item.title}</Heading>
|
|
99
124
|
{item.meta ? (
|
|
@@ -112,11 +137,7 @@ function TimelineInner({
|
|
|
112
137
|
);
|
|
113
138
|
};
|
|
114
139
|
|
|
115
|
-
return (
|
|
116
|
-
<View gap={gap} testID={testID}>
|
|
117
|
-
{items.map(renderItem)}
|
|
118
|
-
</View>
|
|
119
|
-
);
|
|
140
|
+
return <View testID={testID}>{items.map(renderItem)}</View>;
|
|
120
141
|
}
|
|
121
142
|
|
|
122
143
|
/***
|
package/src/readerFree.ts
CHANGED
|
@@ -92,6 +92,13 @@ export type {
|
|
|
92
92
|
TemporalTimeZone,
|
|
93
93
|
TemporalTone,
|
|
94
94
|
} from './features/calendar/public';
|
|
95
|
+
export {
|
|
96
|
+
Calendar,
|
|
97
|
+
type CalendarDensity,
|
|
98
|
+
type CalendarProps,
|
|
99
|
+
type CalendarView,
|
|
100
|
+
type CalendarWeekStart,
|
|
101
|
+
} from './features/calendar/public';
|
|
95
102
|
export type { CardProps } from './features/card/public';
|
|
96
103
|
export type { MediaCardImageProps, MediaCardProps } from './features/card/public';
|
|
97
104
|
export type { MetricCardProps } from './features/card/public';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ZoraBaseProps } from './base';
|
|
2
|
+
|
|
3
|
+
export type CalendarDensity = 'regular' | 'compact';
|
|
4
|
+
export type CalendarView = 'month';
|
|
5
|
+
export type CalendarWeekStart = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
|
+
|
|
7
|
+
/** Public Calendar state uses local calendar dates, never UTC instants. */
|
|
8
|
+
export interface CalendarProps extends ZoraBaseProps {
|
|
9
|
+
/** The only currently implemented Calendar presentation. */
|
|
10
|
+
view?: CalendarView;
|
|
11
|
+
density?: CalendarDensity;
|
|
12
|
+
/** A local date within the controlled month to display. */
|
|
13
|
+
displayedMonth?: Date;
|
|
14
|
+
/** Initial local month when displayedMonth is not controlled. */
|
|
15
|
+
defaultDisplayedMonth?: Date;
|
|
16
|
+
onDisplayedMonthChange?: (month: Date) => void;
|
|
17
|
+
selectedDate?: Date | null;
|
|
18
|
+
onSelectedDateChange?: (date: Date) => void;
|
|
19
|
+
locale?: string;
|
|
20
|
+
weekStartsOn?: CalendarWeekStart;
|
|
21
|
+
minDate?: Date;
|
|
22
|
+
maxDate?: Date;
|
|
23
|
+
disabledDates?: readonly Date[];
|
|
24
|
+
isDateDisabled?: (date: Date) => boolean;
|
|
25
|
+
}
|
package/src/types/data-table.ts
CHANGED
|
@@ -46,6 +46,10 @@ export interface DataTableProps<TRow extends object> extends ZoraBaseProps {
|
|
|
46
46
|
rows: readonly TRow[];
|
|
47
47
|
rowId?: (row: TRow, index: number) => string;
|
|
48
48
|
rowKey?: keyof TRow;
|
|
49
|
+
/** Controlled identifiers for rows selected with the optional checkbox column. */
|
|
50
|
+
selectedRowIds?: readonly string[];
|
|
51
|
+
/** Receives the next controlled selection after a row or visible-row toggle. */
|
|
52
|
+
onSelectedRowIdsChange?: (selectedRowIds: readonly string[]) => void;
|
|
49
53
|
rowActions?: (row: TRow, index: number) => readonly DataTableRowAction<TRow>[];
|
|
50
54
|
sort?: DataTableSortState;
|
|
51
55
|
onSortChange?: (sort: DataTableSortState) => void;
|
package/src/types/grid-view.ts
CHANGED
|
@@ -35,6 +35,8 @@ export interface GridViewProps extends ZoraBaseProps {
|
|
|
35
35
|
focusedItemId?: string;
|
|
36
36
|
/** Pixel inset retained around a revealed focused item. */
|
|
37
37
|
revealPaddingPixels?: number;
|
|
38
|
+
/** Keeps the rendered viewport fixed while preserving interaction within rendered items. */
|
|
39
|
+
viewportInteraction?: 'enabled' | 'locked';
|
|
38
40
|
onViewportChange?: (viewport: GridViewport) => void;
|
|
39
41
|
onVisibleItemIdsChange?: (ids: readonly string[]) => void;
|
|
40
42
|
renderItem: (item: GridRectItem) => React.ReactNode;
|
package/src/types/timeline.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
4
|
import type { ZoraBaseProps } from './base';
|
|
5
|
+
import type { ImageProps } from './image';
|
|
5
6
|
import type { ZoraColor } from './theme';
|
|
6
7
|
|
|
7
8
|
export interface TimelineItem {
|
|
@@ -11,6 +12,8 @@ export interface TimelineItem {
|
|
|
11
12
|
meta?: React.ReactNode;
|
|
12
13
|
status?: ZoraColor;
|
|
13
14
|
icon?: ButtonIconSpec;
|
|
15
|
+
marker?: ImageProps['source'];
|
|
16
|
+
markerAlt?: string;
|
|
14
17
|
testID?: string;
|
|
15
18
|
}
|
|
16
19
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-r6zvzrkd.js";
|
|
5
5
|
import {
|
|
6
6
|
Text3
|
|
7
7
|
} from "./Accordion-ew2cebyd.js";
|
|
8
8
|
import {
|
|
9
9
|
Field3
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-nnhznqgf.js";
|
|
11
11
|
|
|
12
12
|
// src/features/picker/composition/PickerHeader.tsx
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -16,21 +16,21 @@ import {
|
|
|
16
16
|
} from "./Accordion-tpd1vvy9.js";
|
|
17
17
|
import {
|
|
18
18
|
View3
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-a8k3cvj0.js";
|
|
20
20
|
import {
|
|
21
21
|
Pressable
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-c44m1q0m.js";
|
|
23
23
|
import {
|
|
24
24
|
Button3,
|
|
25
25
|
require_registry,
|
|
26
26
|
SvgUri
|
|
27
|
-
} from "./Accordion-
|
|
27
|
+
} from "./Accordion-8j7t77tf.js";
|
|
28
28
|
import {
|
|
29
29
|
withZoraThemeScope
|
|
30
30
|
} from "./Accordion-mrhkw8n6.js";
|
|
31
31
|
import {
|
|
32
32
|
View2
|
|
33
|
-
} from "./Accordion-
|
|
33
|
+
} from "./Accordion-r6zvzrkd.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveControlSize,
|
|
36
36
|
resolveIconSize2,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Field3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-nnhznqgf.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-mrhkw8n6.js";
|
|
8
8
|
import {
|
|
9
9
|
View2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-r6zvzrkd.js";
|
|
11
11
|
import {
|
|
12
12
|
Text3
|
|
13
13
|
} from "./Accordion-ew2cebyd.js";
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
} from "./Accordion-mrhkw8n6.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-r6zvzrkd.js";
|
|
8
8
|
import {
|
|
9
9
|
ButtonGroup2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-6jsea4e0.js";
|
|
11
11
|
import {
|
|
12
12
|
Card2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-hf4nfkn0.js";
|
|
14
14
|
import {
|
|
15
15
|
List2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-p7mxkxhs.js";
|
|
17
17
|
import {
|
|
18
18
|
useZoraTheme2
|
|
19
19
|
} from "./Accordion-gysa24fk.js";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./Accordion-tpd1vvy9.js";
|
|
8
8
|
import {
|
|
9
9
|
View3
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-a8k3cvj0.js";
|
|
11
11
|
import {
|
|
12
12
|
Pressable
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-c44m1q0m.js";
|
|
14
14
|
import {
|
|
15
15
|
Text2
|
|
16
16
|
} from "./Accordion-8vcs6nz6.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Pressable
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-c44m1q0m.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-mrhkw8n6.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./Accordion-9hcbf56f.js";
|
|
11
11
|
import {
|
|
12
12
|
View2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-r6zvzrkd.js";
|
|
14
14
|
import {
|
|
15
15
|
Text3
|
|
16
16
|
} from "./Accordion-ew2cebyd.js";
|