@ankhorage/zora 27.11.3 → 28.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +4 -3
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js.map +1 -1
- package/dist/features/color/ColorHexField.d.ts +1 -1
- package/dist/features/color/ColorHexField.d.ts.map +1 -1
- package/dist/features/color/ColorHexField.js +30 -4
- package/dist/features/color/ColorHexField.js.map +1 -1
- package/dist/features/color/ColorPicker.d.ts +1 -1
- package/dist/features/color/ColorPicker.d.ts.map +1 -1
- package/dist/features/color/ColorPicker.js +174 -59
- package/dist/features/color/ColorPicker.js.map +1 -1
- package/dist/features/color/ColorWheel.d.ts +1 -1
- package/dist/features/color/ColorWheel.d.ts.map +1 -1
- package/dist/features/color/ColorWheel.js +61 -117
- package/dist/features/color/ColorWheel.js.map +1 -1
- package/dist/features/color/ColorWheelKeyboardProxy.d.ts +1 -0
- package/dist/features/color/ColorWheelKeyboardProxy.d.ts.map +1 -1
- package/dist/features/color/ColorWheelKeyboardProxy.js.map +1 -1
- package/dist/features/color/ColorWheelKeyboardProxy.web.d.ts +1 -1
- package/dist/features/color/ColorWheelKeyboardProxy.web.d.ts.map +1 -1
- package/dist/features/color/ColorWheelKeyboardProxy.web.js +4 -4
- package/dist/features/color/ColorWheelKeyboardProxy.web.js.map +1 -1
- package/dist/features/color/ColorWheelPointerProxy.d.ts +1 -0
- package/dist/features/color/ColorWheelPointerProxy.d.ts.map +1 -1
- package/dist/features/color/ColorWheelPointerProxy.js.map +1 -1
- package/dist/features/color/ColorWheelPointerProxy.native.d.ts +3 -2
- package/dist/features/color/ColorWheelPointerProxy.native.d.ts.map +1 -1
- package/dist/features/color/ColorWheelPointerProxy.native.js +12 -3
- package/dist/features/color/ColorWheelPointerProxy.native.js.map +1 -1
- package/dist/features/color/ColorWheelPointerProxy.web.d.ts +2 -2
- package/dist/features/color/ColorWheelPointerProxy.web.d.ts.map +1 -1
- package/dist/features/color/ColorWheelPointerProxy.web.js +8 -5
- package/dist/features/color/ColorWheelPointerProxy.web.js.map +1 -1
- package/dist/features/color/public.d.ts +1 -1
- package/dist/features/color/public.d.ts.map +1 -1
- package/dist/features/color/public.js.map +1 -1
- package/dist/features/color/resolveColorPickerGeometry.d.ts +31 -0
- package/dist/features/color/resolveColorPickerGeometry.d.ts.map +1 -0
- package/dist/features/color/resolveColorPickerGeometry.js +94 -0
- package/dist/features/color/resolveColorPickerGeometry.js.map +1 -0
- package/dist/features/color/utils/resolveWheelColor.d.ts +2 -2
- package/dist/features/color/utils/resolveWheelColor.d.ts.map +1 -1
- package/dist/features/color/utils/resolveWheelColor.js +2 -3
- package/dist/features/color/utils/resolveWheelColor.js.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.native.js.map +1 -1
- package/dist/features/form/select/composition/SelectTrigger.d.ts.map +1 -1
- package/dist/features/form/select/composition/SelectTrigger.js +2 -2
- package/dist/features/form/select/composition/SelectTrigger.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types/color.d.ts +34 -26
- package/dist/types/color.d.ts.map +1 -1
- package/dist/types/color.js.map +1 -1
- package/dist/types/select.d.ts +2 -0
- package/dist/types/select.d.ts.map +1 -1
- package/dist/types/select.js.map +1 -1
- package/package.json +6 -6
- package/src/features/bottom-sheet/adapters/inbound/BottomSheet.tsx +1 -1
- package/src/features/color/ColorHexField.tsx +67 -23
- package/src/features/color/ColorPicker.layout.test.tsx +28 -24
- package/src/features/color/ColorPicker.tsx +449 -121
- package/src/features/color/ColorWheel.tsx +124 -248
- package/src/features/color/ColorWheelKeyboardProxy.tsx +1 -0
- package/src/features/color/ColorWheelKeyboardProxy.web.tsx +4 -3
- package/src/features/color/ColorWheelPointerProxy.native.tsx +25 -3
- package/src/features/color/ColorWheelPointerProxy.tsx +1 -0
- package/src/features/color/ColorWheelPointerProxy.web.tsx +12 -5
- package/src/features/color/public.ts +0 -2
- package/src/features/color/resolveColorPickerGeometry.test.ts +43 -0
- package/src/features/color/resolveColorPickerGeometry.ts +116 -0
- package/src/features/color/utils/resolveWheelColor.ts +2 -3
- package/src/features/form/select/adapters/inbound/Select.native.tsx +1 -1
- package/src/features/form/select/composition/SelectTrigger.tsx +2 -1
- package/src/index.ts +6 -2
- package/src/types/color.ts +34 -22
- package/src/types/select.ts +2 -0
- package/web-dist/chunks/{Accordion-h2nd5y0z.js → Accordion-01bsg7zt.js} +5 -5
- package/web-dist/chunks/{Accordion-6nrpdbmb.js → Accordion-01zvarrn.js} +8 -9
- package/web-dist/chunks/{Accordion-pmfdf08d.js → Accordion-0dj1r7w3.js} +1 -1
- package/web-dist/chunks/{Accordion-3zw817fr.js → Accordion-0xaq2k2h.js} +8 -8
- package/web-dist/chunks/{Accordion-gezcm372.js → Accordion-15sxxjym.js} +4 -5
- package/web-dist/chunks/{Accordion-eq27a9ms.js → Accordion-1fz55hk4.js} +1 -1
- package/web-dist/chunks/{Accordion-j0zhpq4s.js → Accordion-22cda3h5.js} +7 -8
- package/web-dist/chunks/{Accordion-jd26f516.js → Accordion-27yg9ktv.js} +3 -3
- package/web-dist/chunks/{Accordion-f60g73bp.js → Accordion-34b3rwbc.js} +6 -8
- package/web-dist/chunks/{Accordion-1etqb3cj.js → Accordion-3zzzw7a8.js} +2 -2
- package/web-dist/chunks/Accordion-46n609yq.js +253 -0
- package/web-dist/chunks/{Accordion-3jkeydhb.js → Accordion-4zb6dcys.js} +4 -7
- package/web-dist/chunks/{Accordion-dfq04q82.js → Accordion-5cjhz94e.js} +5 -5
- package/web-dist/chunks/{Accordion-49w9bc2f.js → Accordion-5mga7hty.js} +2 -2
- package/web-dist/chunks/{Accordion-kcx57mk5.js → Accordion-76b0qz8y.js} +24 -22
- package/web-dist/chunks/{Accordion-vewhx028.js → Accordion-78tknqmc.js} +4 -4
- package/web-dist/chunks/{Accordion-5vs1k81g.js → Accordion-7bd6zq4s.js} +9 -9
- package/web-dist/chunks/{Accordion-phtyg3k4.js → Accordion-8c4w7366.js} +5 -5
- package/web-dist/chunks/{Accordion-vk2v1zwv.js → Accordion-8t6vh482.js} +3 -4
- package/web-dist/chunks/{Accordion-an5prgty.js → Accordion-9d38cgqj.js} +88 -92
- package/web-dist/chunks/{Accordion-1mxnyexh.js → Accordion-9k7ktksc.js} +212 -215
- package/web-dist/chunks/{Accordion-aws0caav.js → Accordion-afpjg1d6.js} +3 -4
- package/web-dist/chunks/{Accordion-c3nna2bz.js → Accordion-b1y5mjac.js} +1 -1
- package/web-dist/chunks/{Accordion-eak89n4n.js → Accordion-b8w0f8s0.js} +6 -7
- package/web-dist/chunks/{Accordion-ne91vwkd.js → Accordion-bexwrnfh.js} +3 -4
- package/web-dist/chunks/Accordion-chdbfcm6.js +93 -0
- package/web-dist/chunks/{Accordion-6yv4beha.js → Accordion-d405whfb.js} +2 -2
- package/web-dist/chunks/{Accordion-xb174981.js → Accordion-de8srt4x.js} +8 -8
- package/web-dist/chunks/{Accordion-e3r3573t.js → Accordion-epv5yhch.js} +3 -3
- package/web-dist/chunks/{Accordion-g451f3g9.js → Accordion-f4919ghm.js} +4 -4
- package/web-dist/chunks/{Accordion-qhn8z92r.js → Accordion-f8a49gy8.js} +19 -22
- package/web-dist/chunks/{Accordion-3s7zeagv.js → Accordion-fdzyyqe9.js} +1 -1
- package/web-dist/chunks/Accordion-gnxmybxx.js +1331 -0
- package/web-dist/chunks/{Accordion-z8ryq8cb.js → Accordion-h1q243zq.js} +13 -11
- package/web-dist/chunks/{Accordion-dtt4qkrb.js → Accordion-h63c9k9k.js} +1 -1
- package/web-dist/chunks/{Accordion-rzf52xq8.js → Accordion-hdyzyw8q.js} +3 -3
- package/web-dist/chunks/{Accordion-3wkd5x2q.js → Accordion-htvmkx8s.js} +118 -118
- package/web-dist/chunks/{Accordion-0kr0h68p.js → Accordion-jmxe6kw0.js} +9 -11
- package/web-dist/chunks/{Accordion-705yrq6w.js → Accordion-kcm6jcpp.js} +2 -3
- package/web-dist/chunks/{Accordion-fcczvwgg.js → Accordion-mrstcjcm.js} +1 -0
- package/web-dist/chunks/{Accordion-p29kmwh9.js → Accordion-mx7nkg85.js} +1 -1
- package/web-dist/chunks/{Accordion-x0p3wxfp.js → Accordion-pdjhezmz.js} +2 -2
- package/web-dist/chunks/{Accordion-8g9c7890.js → Accordion-q046ws5p.js} +6 -6
- package/web-dist/chunks/{Accordion-jbwey4za.js → Accordion-q11svb96.js} +19 -19
- package/web-dist/chunks/{Accordion-bd6q61s1.js → Accordion-qkkeyr18.js} +6 -8
- package/web-dist/chunks/{Accordion-q1tdazgq.js → Accordion-qrt9xz0h.js} +7 -8
- package/web-dist/chunks/{Accordion-h0e95qxp.js → Accordion-qsppnx7g.js} +10 -11
- package/web-dist/chunks/{Accordion-neg1cgeh.js → Accordion-rhjddvkh.js} +1 -2
- package/web-dist/chunks/{Accordion-ysmzrvhn.js → Accordion-rtamzg9j.js} +47 -28
- package/web-dist/chunks/{Accordion-xwstve3k.js → Accordion-sfvqf4fz.js} +134 -132
- package/web-dist/chunks/{Accordion-9c63jn3m.js → Accordion-sh79sr5g.js} +5 -5
- package/web-dist/chunks/{Accordion-4g54je0w.js → Accordion-t9n4ey2r.js} +5 -3
- package/web-dist/chunks/{Accordion-e5jr9ahb.js → Accordion-tk8zf9ff.js} +3 -3
- package/web-dist/chunks/{Accordion-zypyr9xw.js → Accordion-tnyqv1xv.js} +296 -305
- package/web-dist/chunks/{Accordion-c0a7mhq3.js → Accordion-v6vhyv31.js} +95 -165
- package/web-dist/chunks/{Accordion-6m3k4avp.js → Accordion-vkqqktc5.js} +3 -3
- package/web-dist/chunks/{Accordion-z4qakakw.js → Accordion-vzq344av.js} +2 -3
- package/web-dist/chunks/{Accordion-pcj256bc.js → Accordion-wb9pmykz.js} +5 -6
- package/web-dist/chunks/{Accordion-x7ynjdv7.js → Accordion-ww4f12ty.js} +1 -1
- package/web-dist/chunks/{Accordion-zx8gmww4.js → Accordion-xb9zhdhp.js} +42 -45
- package/web-dist/chunks/{Accordion-3ecnh8d0.js → Accordion-xfkg7dcw.js} +4 -5
- package/web-dist/chunks/{Accordion-6ec4gxv2.js → Accordion-xzaa9s7f.js} +12 -23
- package/web-dist/chunks/{Accordion-vnrqvfca.js → Accordion-yrac5a7m.js} +1 -1
- package/web-dist/chunks/{zip-reader-f0yphjb9.js → zip-reader-5xrcmjr8.js} +1 -1
- package/web-dist/components/accordion/Accordion.js +11 -11
- package/web-dist/components/accordion-item/AccordionItem.js +11 -11
- package/web-dist/components/activity-indicator/ActivityIndicator.js +4 -4
- package/web-dist/components/app-bar/AppBar.js +18 -18
- package/web-dist/components/app-header/AppHeader.js +18 -18
- package/web-dist/components/app-shell/AppShell.js +5 -5
- package/web-dist/components/auth-screen/AuthScreen.js +21 -21
- package/web-dist/components/avatar/Avatar.js +11 -11
- package/web-dist/components/avatar-group/AvatarGroup.js +11 -11
- package/web-dist/components/badge/Badge.js +6 -6
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +19 -19
- package/web-dist/components/bottom-sheet/BottomSheet.js +10 -7
- package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +10 -7
- package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +10 -7
- package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +10 -7
- package/web-dist/components/bottom-sheet-view/BottomSheetView.js +10 -7
- package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +10 -7
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +13 -13
- package/web-dist/components/button/Button.js +11 -11
- package/web-dist/components/button-group/ButtonGroup.js +11 -11
- package/web-dist/components/calendar/Calendar.js +14 -14
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +19 -19
- package/web-dist/components/card/Card.js +18 -18
- package/web-dist/components/card-back/CardBack.js +5 -5
- package/web-dist/components/card-hand/CardHand.js +5 -5
- package/web-dist/components/carousel/Carousel.js +2 -2
- package/web-dist/components/chat-list-item/ChatListItem.js +15 -15
- package/web-dist/components/checkbox/Checkbox.js +11 -11
- package/web-dist/components/checkbox-group/CheckboxGroup.js +11 -11
- package/web-dist/components/chess-board/ChessBoard.js +6 -6
- package/web-dist/components/chip/Chip.js +12 -12
- package/web-dist/components/chip-group/ChipGroup.js +12 -12
- package/web-dist/components/collection-editor/CollectionEditor.js +18 -18
- package/web-dist/components/color-hue-scale/ColorHueScale.js +28 -17
- package/web-dist/components/color-picker/ColorPicker.d.ts +2 -2
- package/web-dist/components/color-picker/ColorPicker.js +28 -17
- package/web-dist/components/color-picker/ColorPicker.types-0.d.ts +34 -45
- package/web-dist/components/color-picker/index.d.ts +1 -1
- package/web-dist/components/color-tone/ColorTone.js +28 -17
- package/web-dist/components/color-wheel/ColorWheel.d.ts +1 -1
- package/web-dist/components/color-wheel/ColorWheel.js +28 -17
- package/web-dist/components/color-wheel/ColorWheel.types-0.d.ts +10 -0
- package/web-dist/components/content-rail/ContentRail.js +12 -12
- package/web-dist/components/data-table/DataTable.js +26 -26
- package/web-dist/components/date-picker/DatePicker.js +20 -20
- package/web-dist/components/dialog/Dialog.js +11 -11
- package/web-dist/components/divider/Divider.js +5 -5
- package/web-dist/components/empty-state/EmptyState.js +19 -19
- package/web-dist/components/explorer/Explorer.js +13 -13
- package/web-dist/components/field/Field.js +11 -11
- package/web-dist/components/file-explorer/FileExplorer.js +13 -13
- package/web-dist/components/flat-list/FlatList.js +12 -12
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +21 -21
- package/web-dist/components/form/Form.js +15 -15
- package/web-dist/components/form-actions/FormActions.js +15 -15
- package/web-dist/components/form-error/FormError.js +15 -15
- package/web-dist/components/game/Game.js +7 -6
- package/web-dist/components/game-entity/GameEntity.js +7 -6
- package/web-dist/components/game-field/GameField.js +7 -6
- package/web-dist/components/game-input-zone/GameInputZone.js +7 -6
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +7 -6
- package/web-dist/components/game-overlay/GameOverlay.js +7 -6
- package/web-dist/components/gradient/Gradient.js +6 -6
- package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +6 -6
- package/web-dist/components/graph-view/GraphView.js +2 -2
- package/web-dist/components/grid/Grid.js +5 -5
- package/web-dist/components/grid-interactions/GridInteractions.js +1 -1
- package/web-dist/components/grid-line-overlay/GridLineOverlay.js +5 -5
- package/web-dist/components/grid-ruler/GridRuler.js +5 -5
- package/web-dist/components/grid-view/GridView.js +1 -1
- package/web-dist/components/heading/Heading.js +6 -6
- package/web-dist/components/hero/Hero.js +18 -18
- package/web-dist/components/icon/Icon.js +5 -5
- package/web-dist/components/icon-button/IconButton.js +11 -11
- package/web-dist/components/image/Image.js +9 -9
- package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +4 -4
- package/web-dist/components/list/List.js +12 -12
- package/web-dist/components/list-item/ListItem.js +12 -12
- package/web-dist/components/list-section/ListSection.js +12 -12
- package/web-dist/components/master-detail/MasterDetail.js +5 -5
- package/web-dist/components/matrix-grid/MatrixGrid.js +9 -9
- package/web-dist/components/media-card/MediaCard.js +18 -18
- package/web-dist/components/media-explorer/MediaExplorer.js +13 -13
- package/web-dist/components/message-bubble/MessageBubble.js +15 -15
- package/web-dist/components/metric-card/MetricCard.js +18 -18
- package/web-dist/components/missing-element/MissingElement.js +10 -10
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +21 -21
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +21 -21
- package/web-dist/components/opening-book/OpeningBook.js +6 -6
- package/web-dist/components/otp-form/OtpForm.js +21 -21
- package/web-dist/components/pagination/Pagination.js +12 -12
- package/web-dist/components/palette-item/PaletteItem.js +18 -18
- package/web-dist/components/playing-card/PlayingCard.js +5 -5
- package/web-dist/components/poker-training-table/PokerTrainingTable.js +5 -5
- package/web-dist/components/popover-menu/PopoverMenu.js +13 -13
- package/web-dist/components/post-card/PostCard.js +18 -18
- package/web-dist/components/product-card/ProductCard.js +18 -18
- package/web-dist/components/progress/Progress.js +9 -9
- package/web-dist/components/progress-ring/ProgressRing.js +9 -9
- package/web-dist/components/radio/Radio.js +13 -13
- package/web-dist/components/radio-group/RadioGroup.js +13 -13
- package/web-dist/components/rating/Rating.js +8 -8
- package/web-dist/components/reader/Reader.js +34 -34
- package/web-dist/components/scan-overlay/ScanOverlay.js +19 -19
- package/web-dist/components/screen/Screen.js +5 -5
- package/web-dist/components/screen-section/ScreenSection.js +9 -9
- package/web-dist/components/scroll-view/ScrollView.js +5 -5
- package/web-dist/components/search-input/SearchInput.js +13 -13
- package/web-dist/components/section-header/SectionHeader.js +9 -9
- package/web-dist/components/section-list/SectionList.js +12 -12
- package/web-dist/components/select/Select.js +23 -259
- package/web-dist/components/select/Select.types-0.d.ts +2 -0
- package/web-dist/components/selectable-item/SelectableItem.js +4 -4
- package/web-dist/components/selection-provider/SelectionProvider.js +4 -4
- package/web-dist/components/sign-in-form/SignInForm.js +21 -21
- package/web-dist/components/sign-up-form/SignUpForm.js +21 -21
- package/web-dist/components/skeleton/Skeleton.js +21 -21
- package/web-dist/components/skeleton-card/SkeletonCard.js +21 -21
- package/web-dist/components/skeleton-list/SkeletonList.js +21 -21
- package/web-dist/components/skeleton-text/SkeletonText.js +21 -21
- package/web-dist/components/spatial-grid/SpatialGrid.js +1 -1
- package/web-dist/components/surface/Surface.js +6 -6
- package/web-dist/components/switch/Switch.js +8 -8
- package/web-dist/components/tab/Tab.js +6 -6
- package/web-dist/components/tab-list/TabList.js +6 -6
- package/web-dist/components/tab-panel/TabPanel.js +6 -6
- package/web-dist/components/tabletop-table/TabletopTable.js +5 -5
- package/web-dist/components/tabs/Tabs.js +6 -6
- package/web-dist/components/text/Text.js +6 -6
- package/web-dist/components/text-input/TextInput.js +13 -13
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +11 -11
- package/web-dist/components/tile-grid/TileGrid.js +1 -1
- package/web-dist/components/time-grid/TimeGrid.js +2 -2
- package/web-dist/components/time-picker/TimePicker.js +18 -18
- package/web-dist/components/timeline/Timeline.js +11 -11
- package/web-dist/components/toast/Toast.js +9 -9
- package/web-dist/components/toast-provider/ToastProvider.js +9 -9
- package/web-dist/components/toolbar/Toolbar.js +18 -18
- package/web-dist/components/tree-item/TreeItem.js +17 -17
- package/web-dist/components/tree-view/TreeView.js +1 -1
- package/web-dist/components/uploader/Uploader.js +23 -23
- package/web-dist/components/view/View.js +5 -5
- package/web-dist/manifest.json +1950 -1877
- package/web-dist/runtime/ZoraProvider.js +9 -9
- package/web-dist/chunks/Accordion-r1wkgt7c.js +0 -1074
- package/web-dist/chunks/{Accordion-vgkvvdvg.js → Accordion-ykk40jz9.js} +36 -36
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
const MINIMUM_WIDTH = 360;
|
|
2
|
+
const REFERENCE_WIDTH = 560;
|
|
3
|
+
|
|
4
|
+
/*** Resolves one coherent ColorPicker geometry from the host's actual available bounds. */
|
|
5
|
+
export function resolveColorPickerGeometry(input: {
|
|
6
|
+
readonly height?: number;
|
|
7
|
+
readonly hostHeight?: number;
|
|
8
|
+
readonly hostWidth?: number;
|
|
9
|
+
readonly showTabs: boolean;
|
|
10
|
+
readonly width?: number;
|
|
11
|
+
}) {
|
|
12
|
+
const availableWidth = Math.min(
|
|
13
|
+
input.width ?? REFERENCE_WIDTH,
|
|
14
|
+
input.hostWidth ?? REFERENCE_WIDTH,
|
|
15
|
+
);
|
|
16
|
+
const availableHeight = Math.min(
|
|
17
|
+
input.height ?? Number.POSITIVE_INFINITY,
|
|
18
|
+
input.hostHeight ?? Number.POSITIVE_INFINITY,
|
|
19
|
+
);
|
|
20
|
+
const minimum = resolveGeometryAtWidth(MINIMUM_WIDTH, input.showTabs);
|
|
21
|
+
const maximum = resolveGeometryAtWidth(Math.max(MINIMUM_WIDTH, availableWidth), input.showTabs);
|
|
22
|
+
const resolved = resolveLargestGeometry(maximum, availableHeight, input.showTabs);
|
|
23
|
+
|
|
24
|
+
return {
|
|
25
|
+
...resolved,
|
|
26
|
+
insufficientSpace: availableWidth < MINIMUM_WIDTH || availableHeight < minimum.height,
|
|
27
|
+
minimumHeight: minimum.height,
|
|
28
|
+
minimumWidth: MINIMUM_WIDTH,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/*** Calculates every descendant measurement from a single continuous logical width. */
|
|
33
|
+
function resolveGeometryAtWidth(width: number, showTabs: boolean) {
|
|
34
|
+
const progress = Math.max(
|
|
35
|
+
0,
|
|
36
|
+
Math.min(1, (width - MINIMUM_WIDTH) / (REFERENCE_WIDTH - MINIMUM_WIDTH)),
|
|
37
|
+
);
|
|
38
|
+
const padding = interpolate(12, 24, progress);
|
|
39
|
+
const rail = interpolate(104, 150, progress);
|
|
40
|
+
const gap = interpolate(12, 20, progress);
|
|
41
|
+
const scale = interpolate(0.75, 1, progress);
|
|
42
|
+
const border = 1;
|
|
43
|
+
const stage = width - border * 2 - padding * 2 - rail - gap;
|
|
44
|
+
const headerHeight = 48 * scale;
|
|
45
|
+
const tabHeight = showTabs ? 48 * scale : 0;
|
|
46
|
+
const cardGap = 16 * scale;
|
|
47
|
+
const cardHeight = 52 * scale;
|
|
48
|
+
const settingsHeight = cardHeight * 2 + cardGap;
|
|
49
|
+
const mainHeight = Math.max(stage, settingsHeight);
|
|
50
|
+
const infoLineHeight = 20 * scale;
|
|
51
|
+
const mainGap = 16 * scale;
|
|
52
|
+
const footerGap = 10 * scale;
|
|
53
|
+
const footerHeight = 52 * scale;
|
|
54
|
+
const footerInset = 12 * scale;
|
|
55
|
+
const height =
|
|
56
|
+
border * 2 +
|
|
57
|
+
padding +
|
|
58
|
+
headerHeight +
|
|
59
|
+
mainGap +
|
|
60
|
+
tabHeight +
|
|
61
|
+
(showTabs ? mainGap : 0) +
|
|
62
|
+
mainHeight +
|
|
63
|
+
mainGap +
|
|
64
|
+
infoLineHeight +
|
|
65
|
+
footerGap +
|
|
66
|
+
1 +
|
|
67
|
+
footerGap +
|
|
68
|
+
footerHeight +
|
|
69
|
+
footerInset;
|
|
70
|
+
|
|
71
|
+
return {
|
|
72
|
+
border,
|
|
73
|
+
cardGap,
|
|
74
|
+
cardHeight,
|
|
75
|
+
footerGap,
|
|
76
|
+
footerHeight,
|
|
77
|
+
footerInset,
|
|
78
|
+
gap,
|
|
79
|
+
headerHeight,
|
|
80
|
+
height,
|
|
81
|
+
infoLineHeight,
|
|
82
|
+
mainGap,
|
|
83
|
+
padding,
|
|
84
|
+
rail,
|
|
85
|
+
scale,
|
|
86
|
+
settingsHeight,
|
|
87
|
+
stage,
|
|
88
|
+
tabHeight,
|
|
89
|
+
width,
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/*** Finds the largest coherent width geometry that fits the available host height. */
|
|
94
|
+
function resolveLargestGeometry(
|
|
95
|
+
maximum: ReturnType<typeof resolveGeometryAtWidth>,
|
|
96
|
+
height: number,
|
|
97
|
+
showTabs: boolean,
|
|
98
|
+
) {
|
|
99
|
+
if (!Number.isFinite(height) || maximum.height <= height) return maximum;
|
|
100
|
+
const minimum = resolveGeometryAtWidth(MINIMUM_WIDTH, showTabs);
|
|
101
|
+
if (height < minimum.height) return minimum;
|
|
102
|
+
|
|
103
|
+
let lower = MINIMUM_WIDTH;
|
|
104
|
+
let upper = maximum.width;
|
|
105
|
+
for (let iteration = 0; iteration < 20; iteration += 1) {
|
|
106
|
+
const midpoint = (lower + upper) / 2;
|
|
107
|
+
if (resolveGeometryAtWidth(midpoint, showTabs).height <= height) lower = midpoint;
|
|
108
|
+
else upper = midpoint;
|
|
109
|
+
}
|
|
110
|
+
return resolveGeometryAtWidth(lower, showTabs);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/*** Interpolates a reference measurement without changing component hierarchy. */
|
|
114
|
+
function interpolate(minimum: number, reference: number, progress: number) {
|
|
115
|
+
return minimum + (reference - minimum) * progress;
|
|
116
|
+
}
|
|
@@ -3,7 +3,7 @@ import type { HexColor } from '@ankhorage/color-theory';
|
|
|
3
3
|
import { resolveOklchColor } from './resolveOklchColor';
|
|
4
4
|
import { resolveWheelColorComponents } from './resolveWheelColorComponents';
|
|
5
5
|
|
|
6
|
-
/*** Resolve a wheel coordinate into
|
|
6
|
+
/*** Resolve a wheel coordinate into the same bounded OKLCH projection rendered by the wheel. */
|
|
7
7
|
export function resolveWheelColor(
|
|
8
8
|
color: HexColor,
|
|
9
9
|
x: number,
|
|
@@ -11,9 +11,8 @@ export function resolveWheelColor(
|
|
|
11
11
|
center: number,
|
|
12
12
|
radius: number,
|
|
13
13
|
maxChroma: number,
|
|
14
|
+
lightness = resolveWheelColorComponents(color).lightness,
|
|
14
15
|
): HexColor {
|
|
15
|
-
const { lightness } = resolveWheelColorComponents(color);
|
|
16
|
-
|
|
17
16
|
const deltaX = x - center;
|
|
18
17
|
const deltaY = y - center;
|
|
19
18
|
const distance = Math.min(Math.hypot(deltaX, deltaY), radius);
|
|
@@ -57,7 +57,7 @@ function SelectInner<TValue extends string = string>({
|
|
|
57
57
|
<BottomSheetFlatList
|
|
58
58
|
contentContainerStyle={styles.listContent}
|
|
59
59
|
data={listData}
|
|
60
|
-
keyExtractor={(item) => item.value}
|
|
60
|
+
keyExtractor={(item: SelectOption<TValue>) => item.value}
|
|
61
61
|
renderItem={renderOption}
|
|
62
62
|
/>
|
|
63
63
|
),
|
|
@@ -37,7 +37,7 @@ export function SelectTrigger<TValue extends string>({
|
|
|
37
37
|
borderWidth={1}
|
|
38
38
|
direction="row"
|
|
39
39
|
gap="s"
|
|
40
|
-
minHeight={44}
|
|
40
|
+
minHeight={props.compact ? 36 : 44}
|
|
41
41
|
px="m"
|
|
42
42
|
radius="m"
|
|
43
43
|
>
|
|
@@ -67,6 +67,7 @@ export function SelectTrigger<TValue extends string>({
|
|
|
67
67
|
leadingIcon={props.leadingIcon}
|
|
68
68
|
labelWeight={props.labelWeight ?? 'semiBold'}
|
|
69
69
|
onPress={props.readOnly ? undefined : onPress}
|
|
70
|
+
size={props.compact ? 's' : undefined}
|
|
70
71
|
testID={props.testID ? `${props.testID}-trigger` : undefined}
|
|
71
72
|
trailingIcon={SELECT_CHEVRON_ICON}
|
|
72
73
|
variant="outline"
|
package/src/index.ts
CHANGED
|
@@ -19,9 +19,7 @@ export { Carousel } from './features/carousel/public';
|
|
|
19
19
|
export type {
|
|
20
20
|
ColorHueScaleProps,
|
|
21
21
|
ColorPickerProps,
|
|
22
|
-
ColorPickerSelection,
|
|
23
22
|
ColorPickerTab,
|
|
24
|
-
ColorPickerValue,
|
|
25
23
|
ColorToneDefinition,
|
|
26
24
|
ColorToneProps,
|
|
27
25
|
ColorToneSelection,
|
|
@@ -30,6 +28,12 @@ export type {
|
|
|
30
28
|
ColorWheelSelection,
|
|
31
29
|
} from './features/color/public';
|
|
32
30
|
export { ColorHueScale, ColorPicker, ColorTone, ColorWheel } from './features/color/public';
|
|
31
|
+
export type {
|
|
32
|
+
GradientRenderer,
|
|
33
|
+
GradientRendererProps,
|
|
34
|
+
GradientRendererProviderProps,
|
|
35
|
+
} from './features/gradient/public';
|
|
36
|
+
export { GradientRendererProvider } from './features/gradient/public';
|
|
33
37
|
export type {
|
|
34
38
|
MasterDetailActivePane,
|
|
35
39
|
MasterDetailDesktopMode,
|
package/src/types/color.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ColorHarmony, HexColor } from '@ankhorage/color-theory';
|
|
|
2
2
|
|
|
3
3
|
import type { ZoraBaseProps } from './base';
|
|
4
4
|
|
|
5
|
-
export type ColorPickerTab = '
|
|
5
|
+
export type ColorPickerTab = 'grid' | 'wheel';
|
|
6
6
|
|
|
7
7
|
/** A consumer-owned OKLCH target from the published Templates tone catalog. */
|
|
8
8
|
export interface ColorToneTarget {
|
|
@@ -30,23 +30,13 @@ export interface ColorToneSelection {
|
|
|
30
30
|
readonly colors: readonly HexColor[];
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
/** The persistent, controlled state for every independently selectable picker mode. */
|
|
34
|
-
export interface ColorPickerValue {
|
|
35
|
-
readonly tab: ColorPickerTab;
|
|
36
|
-
readonly wheel: ColorWheelSelection;
|
|
37
|
-
readonly tone: ColorToneSelection | null;
|
|
38
|
-
readonly hue: HexColor;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/** A single mode-specific update emitted by the composed picker. */
|
|
42
|
-
export type ColorPickerSelection =
|
|
43
|
-
| { readonly mode: 'wheel'; readonly value: ColorWheelSelection }
|
|
44
|
-
| { readonly mode: 'tone'; readonly value: ColorToneSelection }
|
|
45
|
-
| { readonly mode: 'hue'; readonly value: HexColor };
|
|
46
|
-
|
|
47
33
|
export interface ColorWheelProps extends ZoraBaseProps {
|
|
48
34
|
readonly value: HexColor;
|
|
35
|
+
/** Square stage side derived by the owning ColorPicker geometry. */
|
|
36
|
+
readonly size?: number;
|
|
49
37
|
readonly harmony?: ColorHarmony | null;
|
|
38
|
+
/** Optional consumer-provided target applied consistently to wheel rendering and selection. */
|
|
39
|
+
readonly toneTarget?: ColorToneTarget;
|
|
50
40
|
readonly harmonies?: readonly ColorHarmony[];
|
|
51
41
|
readonly onChange: (selection: ColorWheelSelection) => void;
|
|
52
42
|
}
|
|
@@ -64,14 +54,36 @@ export interface ColorHueScaleProps extends ZoraBaseProps {
|
|
|
64
54
|
}
|
|
65
55
|
|
|
66
56
|
export interface ColorPickerProps extends ZoraBaseProps {
|
|
67
|
-
|
|
68
|
-
readonly
|
|
69
|
-
|
|
70
|
-
readonly
|
|
57
|
+
/** Enabled presentations, in Grid then Wheel order by default. */
|
|
58
|
+
readonly tabs?: readonly ColorPickerTab[];
|
|
59
|
+
/** The one authoritative selected colour. */
|
|
60
|
+
readonly primaryColor: HexColor;
|
|
61
|
+
/** Optional owner-provided harmony applied to both presentations. */
|
|
62
|
+
readonly harmony?: ColorHarmony;
|
|
63
|
+
/** Optional consumer-owned tone-family id. */
|
|
64
|
+
readonly tone?: string;
|
|
65
|
+
/** Consumer-owned tone catalogue; ZORA deliberately does not copy it. */
|
|
66
|
+
readonly tones?: readonly ColorToneDefinition[];
|
|
67
|
+
/** Requested outer logical width; it is clamped to the measured host width. */
|
|
68
|
+
readonly width?: number;
|
|
69
|
+
/** Requested outer logical height; it is clamped to the measured host height. */
|
|
70
|
+
readonly height?: number;
|
|
71
|
+
/** Receives whether the host must provide a larger or full-screen presentation. */
|
|
72
|
+
readonly onInsufficientSpaceChange?: (insufficient: boolean) => void;
|
|
73
|
+
/** Optional one-line contextual information rendered above the footer. */
|
|
74
|
+
readonly infoLine?: string;
|
|
75
|
+
/** Controlled active presentation. */
|
|
76
|
+
readonly activeTab?: ColorPickerTab;
|
|
77
|
+
/** Emits one canonical controlled selection payload. */
|
|
78
|
+
readonly onValueChange: (value: {
|
|
79
|
+
readonly primaryColor: HexColor;
|
|
80
|
+
readonly harmony?: ColorHarmony;
|
|
81
|
+
readonly tone?: string;
|
|
82
|
+
}) => void;
|
|
83
|
+
/** Notifies a consumer that a controlled active presentation must change. */
|
|
84
|
+
readonly onActiveTabChange?: (tab: ColorPickerTab) => void;
|
|
71
85
|
/** Requests dismissal from the owning Popover or BottomSheet presentation. */
|
|
72
86
|
readonly onDismiss?: () => void;
|
|
73
87
|
readonly hideTabListWhenSingle?: boolean;
|
|
74
|
-
readonly wheel?: Omit<ColorWheelProps, 'onChange' | 'value'>;
|
|
75
|
-
readonly tone?: Omit<ColorToneProps, 'onChange' | 'value'>;
|
|
76
|
-
readonly hue?: Omit<ColorHueScaleProps, 'onChange' | 'value'>;
|
|
88
|
+
readonly wheel?: Omit<ColorWheelProps, 'onChange' | 'value' | 'harmony'>;
|
|
77
89
|
}
|
package/src/types/select.ts
CHANGED
|
@@ -29,6 +29,8 @@ export interface SelectProps<TValue extends string = string> extends ZoraBasePro
|
|
|
29
29
|
leadingMedia?: ImageProps['source'];
|
|
30
30
|
/** Optional Surface Button label emphasis; defaults to semiBold. */
|
|
31
31
|
labelWeight?: ButtonLabelWeight;
|
|
32
|
+
/** Uses the compact control height for dense settings surfaces. */
|
|
33
|
+
compact?: boolean;
|
|
32
34
|
required?: boolean;
|
|
33
35
|
disabled?: boolean;
|
|
34
36
|
readOnly?: boolean;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
useTheme
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-9d38cgqj.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-tk8zf9ff.js";
|
|
8
8
|
import {
|
|
9
9
|
Icon2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-3zzzw7a8.js";
|
|
11
11
|
import {
|
|
12
12
|
View2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-f8a49gy8.js";
|
|
14
14
|
import {
|
|
15
15
|
useZoraTheme2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-b1y5mjac.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveToken
|
|
19
19
|
} from "./Accordion-fre84yaq.js";
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
} from "./Accordion-mnac2z83.js";
|
|
5
5
|
import {
|
|
6
6
|
View3
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-ww4f12ty.js";
|
|
8
8
|
import {
|
|
9
9
|
useTheme
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-9d38cgqj.js";
|
|
11
11
|
import {
|
|
12
12
|
Pressable
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-hdyzyw8q.js";
|
|
14
14
|
import {
|
|
15
15
|
Text2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-kcm6jcpp.js";
|
|
17
17
|
import {
|
|
18
18
|
withZoraThemeScope
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-tk8zf9ff.js";
|
|
20
20
|
import {
|
|
21
21
|
View2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-f8a49gy8.js";
|
|
23
23
|
import {
|
|
24
24
|
Text3
|
|
25
|
-
} from "./Accordion-
|
|
25
|
+
} from "./Accordion-afpjg1d6.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveSelectionControlNextChecked,
|
|
28
28
|
resolveSelectionControlInteractionState
|
|
29
|
-
} from "./Accordion-
|
|
29
|
+
} from "./Accordion-xzaa9s7f.js";
|
|
30
30
|
|
|
31
31
|
// node_modules/@ankhorage/surface/src/features/form/checkbox/adapters/inbound/Checkbox.tsx
|
|
32
32
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -171,7 +171,6 @@ function CheckboxInner({
|
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
173
|
var Checkbox2 = withZoraThemeScope(CheckboxInner);
|
|
174
|
-
|
|
175
174
|
// src/features/form/checkbox/adapters/inbound/CheckboxGroup.tsx
|
|
176
175
|
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
177
176
|
function CheckboxGroupInner({
|
|
@@ -4,30 +4,30 @@ import {
|
|
|
4
4
|
} from "./Accordion-be2yhfqz.js";
|
|
5
5
|
import {
|
|
6
6
|
Portal
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-h63c9k9k.js";
|
|
8
8
|
import {
|
|
9
9
|
resolvePointerEvents,
|
|
10
10
|
View3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-ww4f12ty.js";
|
|
12
12
|
import {
|
|
13
13
|
useTheme
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-9d38cgqj.js";
|
|
15
15
|
import {
|
|
16
16
|
Surface3
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-pdjhezmz.js";
|
|
18
18
|
import {
|
|
19
19
|
withZoraThemeScope
|
|
20
|
-
} from "./Accordion-
|
|
20
|
+
} from "./Accordion-tk8zf9ff.js";
|
|
21
21
|
import {
|
|
22
22
|
View2
|
|
23
|
-
} from "./Accordion-
|
|
23
|
+
} from "./Accordion-f8a49gy8.js";
|
|
24
24
|
import {
|
|
25
25
|
Heading2,
|
|
26
26
|
Text3
|
|
27
|
-
} from "./Accordion-
|
|
27
|
+
} from "./Accordion-afpjg1d6.js";
|
|
28
28
|
import {
|
|
29
29
|
resolveOverlayAnimation
|
|
30
|
-
} from "./Accordion-
|
|
30
|
+
} from "./Accordion-xzaa9s7f.js";
|
|
31
31
|
import {
|
|
32
32
|
require_cjs
|
|
33
33
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-tk8zf9ff.js";
|
|
5
5
|
import {
|
|
6
6
|
Icon2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-3zzzw7a8.js";
|
|
8
8
|
import {
|
|
9
9
|
View2,
|
|
10
10
|
Divider2
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-f8a49gy8.js";
|
|
12
12
|
import {
|
|
13
13
|
Heading2,
|
|
14
14
|
Text3
|
|
15
|
-
} from "./Accordion-
|
|
15
|
+
} from "./Accordion-afpjg1d6.js";
|
|
16
16
|
import {
|
|
17
17
|
require_cjs
|
|
18
18
|
} from "./Accordion-xgpzh4wq.js";
|
|
@@ -177,7 +177,6 @@ function SingleAccordion({
|
|
|
177
177
|
})
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
|
-
|
|
181
180
|
// node_modules/@ankhorage/surface/src/features/accordion/adapters/inbound/AccordionContent.tsx
|
|
182
181
|
var import_react_native2 = __toESM(require_cjs(), 1);
|
|
183
182
|
import React6 from "react";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Pressable
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-hdyzyw8q.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-tk8zf9ff.js";
|
|
8
8
|
import {
|
|
9
9
|
View2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-f8a49gy8.js";
|
|
11
11
|
import {
|
|
12
12
|
Text3
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-afpjg1d6.js";
|
|
14
14
|
import {
|
|
15
15
|
Avatar2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-wb9pmykz.js";
|
|
17
17
|
import {
|
|
18
18
|
Badge2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-sh79sr5g.js";
|
|
20
20
|
import {
|
|
21
21
|
useZoraTheme2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-b1y5mjac.js";
|
|
23
23
|
|
|
24
24
|
// src/features/chat/adapters/inbound/ChatListItem.tsx
|
|
25
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -222,7 +222,6 @@ function ChatListItemInner({
|
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
224
|
var ChatListItem2 = withZoraThemeScope(ChatListItemInner);
|
|
225
|
-
|
|
226
225
|
// src/features/chat/adapters/inbound/MessageBubble.tsx
|
|
227
226
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
228
227
|
function resolveAvatarName2({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
View2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-f8a49gy8.js";
|
|
5
5
|
import {
|
|
6
6
|
Text3
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-afpjg1d6.js";
|
|
8
8
|
import {
|
|
9
9
|
Field3
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-vkqqktc5.js";
|
|
11
11
|
|
|
12
12
|
// src/features/picker/composition/PickerHeader.tsx
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-tk8zf9ff.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-f8a49gy8.js";
|
|
8
8
|
import {
|
|
9
9
|
ButtonGroup2
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-jmxe6kw0.js";
|
|
11
11
|
import {
|
|
12
12
|
Card2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-9k7ktksc.js";
|
|
14
14
|
import {
|
|
15
15
|
List2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-xb9zhdhp.js";
|
|
17
17
|
import {
|
|
18
18
|
useZoraTheme2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-b1y5mjac.js";
|
|
20
20
|
|
|
21
21
|
// src/features/skeleton/adapters/inbound/Skeleton.tsx
|
|
22
22
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -41,7 +41,6 @@ function SkeletonInner({
|
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
var Skeleton2 = withZoraThemeScope(SkeletonInner);
|
|
44
|
-
|
|
45
44
|
// src/features/skeleton/adapters/inbound/SkeletonText.tsx
|
|
46
45
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
47
46
|
function clampLines(lines) {
|
|
@@ -131,7 +130,6 @@ function SkeletonCardInner({
|
|
|
131
130
|
});
|
|
132
131
|
}
|
|
133
132
|
var SkeletonCard2 = withZoraThemeScope(SkeletonCardInner);
|
|
134
|
-
|
|
135
133
|
// src/features/skeleton/adapters/inbound/SkeletonList.tsx
|
|
136
134
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
137
135
|
function clampRows(rows) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Icon3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-0dj1r7w3.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-tk8zf9ff.js";
|
|
8
8
|
|
|
9
9
|
// src/features/icon/adapters/inbound/Icon.tsx
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|