@ankhorage/zora 16.0.0 → 17.0.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 +10 -0
- package/README.md +15 -15
- package/dist/constants.d.ts +2 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -1
- package/dist/constants.js.map +1 -1
- package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
- package/dist/features/accordion/adapters/inbound/AccordionItem.js +19 -19
- package/dist/features/accordion/adapters/inbound/AccordionItem.js.map +1 -1
- package/dist/features/app-bar/adapters/inbound/AppBar.d.ts.map +1 -1
- package/dist/features/app-bar/adapters/inbound/AppBar.js +6 -7
- package/dist/features/app-bar/adapters/inbound/AppBar.js.map +1 -1
- package/dist/features/auth/adapters/inbound/AuthForm.js +3 -3
- package/dist/features/auth/adapters/inbound/AuthForm.js.map +1 -1
- package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js +3 -3
- package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js.map +1 -1
- package/dist/features/auth/adapters/inbound/OAuthProviderList.js +3 -3
- package/dist/features/auth/adapters/inbound/OAuthProviderList.js.map +1 -1
- package/dist/features/auth/adapters/inbound/OtpForm.js +3 -3
- package/dist/features/auth/adapters/inbound/OtpForm.js.map +1 -1
- package/dist/features/auth/adapters/inbound/SignInForm.js +3 -3
- package/dist/features/auth/adapters/inbound/SignInForm.js.map +1 -1
- package/dist/features/auth/adapters/inbound/SignUpForm.js +3 -3
- package/dist/features/auth/adapters/inbound/SignUpForm.js.map +1 -1
- package/dist/features/avatar/adapters/inbound/Avatar.js +3 -3
- package/dist/features/avatar/adapters/inbound/Avatar.js.map +1 -1
- package/dist/features/avatar/adapters/inbound/AvatarGroup.js +7 -7
- package/dist/features/avatar/adapters/inbound/AvatarGroup.js.map +1 -1
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js +3 -3
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js.map +1 -1
- package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
- package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.d.ts.map +1 -1
- package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js +5 -5
- package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js.map +1 -1
- package/dist/features/button/adapters/inbound/ButtonGroup.js +3 -3
- package/dist/features/button/adapters/inbound/ButtonGroup.js.map +1 -1
- package/dist/features/card/adapters/inbound/Card.js +12 -12
- package/dist/features/card/adapters/inbound/Card.js.map +1 -1
- package/dist/features/card/adapters/inbound/MediaCard.js +21 -21
- package/dist/features/card/adapters/inbound/MediaCard.js.map +1 -1
- package/dist/features/card/adapters/inbound/MetricCard.d.ts.map +1 -1
- package/dist/features/card/adapters/inbound/MetricCard.js +10 -11
- package/dist/features/card/adapters/inbound/MetricCard.js.map +1 -1
- package/dist/features/card/adapters/inbound/PostCard.d.ts.map +1 -1
- package/dist/features/card/adapters/inbound/PostCard.js +37 -38
- package/dist/features/card/adapters/inbound/PostCard.js.map +1 -1
- package/dist/features/card/adapters/inbound/ProductCard.d.ts.map +1 -1
- package/dist/features/card/adapters/inbound/ProductCard.js +17 -18
- package/dist/features/card/adapters/inbound/ProductCard.js.map +1 -1
- package/dist/features/card/cardMeta.d.ts +1 -1
- package/dist/features/card/mediaCardMeta.d.ts +1 -1
- package/dist/features/card/postCardMeta.d.ts +1 -1
- package/dist/features/chip/adapters/inbound/Chip.d.ts.map +1 -1
- package/dist/features/chip/adapters/inbound/Chip.js +5 -6
- package/dist/features/chip/adapters/inbound/Chip.js.map +1 -1
- package/dist/features/chip/adapters/inbound/ChipGroup.d.ts.map +1 -1
- package/dist/features/chip/adapters/inbound/ChipGroup.js +3 -3
- package/dist/features/chip/adapters/inbound/ChipGroup.js.map +1 -1
- package/dist/features/content-rail/adapters/inbound/ContentRail.d.ts.map +1 -0
- package/dist/features/{layout → content-rail}/adapters/inbound/ContentRail.js +9 -10
- package/dist/features/content-rail/adapters/inbound/ContentRail.js.map +1 -0
- package/dist/features/content-rail/adapters/inbound/ContentRailFlow.d.ts.map +1 -0
- package/dist/features/content-rail/adapters/inbound/ContentRailFlow.js.map +1 -0
- package/dist/features/content-rail/constants.d.ts +2 -0
- package/dist/features/content-rail/constants.d.ts.map +1 -0
- package/dist/features/content-rail/constants.js +2 -0
- package/dist/features/content-rail/constants.js.map +1 -0
- package/dist/features/{layout → content-rail}/contentRailMeta.d.ts +2 -2
- package/dist/features/content-rail/contentRailMeta.d.ts.map +1 -0
- package/dist/features/content-rail/contentRailMeta.js.map +1 -0
- package/dist/features/content-rail/public.d.ts +3 -0
- package/dist/features/content-rail/public.d.ts.map +1 -0
- package/dist/features/content-rail/public.js +2 -0
- package/dist/features/content-rail/public.js.map +1 -0
- package/dist/features/content-rail/utils/resolveContentRailItemWidth.d.ts.map +1 -0
- package/dist/features/content-rail/utils/resolveContentRailItemWidth.js.map +1 -0
- package/dist/features/content-rail/utils/resolveContentRailPhysicalOffset.d.ts.map +1 -0
- package/dist/features/content-rail/utils/resolveContentRailPhysicalOffset.js.map +1 -0
- package/dist/features/content-rail/utils/resolveContentRailState.d.ts.map +1 -0
- package/dist/features/content-rail/utils/resolveContentRailState.js.map +1 -0
- package/dist/features/content-rail/utils/useContentRailReducedMotion.d.ts.map +1 -0
- package/dist/features/content-rail/utils/useContentRailReducedMotion.js.map +1 -0
- package/dist/features/data-table/adapters/inbound/DataTable.d.ts.map +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.js +32 -32
- package/dist/features/data-table/adapters/inbound/DataTable.js.map +1 -1
- package/dist/features/date-picker/composition/DatePickerContent.js +16 -16
- package/dist/features/date-picker/composition/DatePickerContent.js.map +1 -1
- package/dist/features/date-picker/composition/DatePickerField.js +3 -3
- package/dist/features/date-picker/composition/DatePickerField.js.map +1 -1
- package/dist/features/dialog/adapters/inbound/Dialog.js +9 -9
- package/dist/features/dialog/adapters/inbound/Dialog.js.map +1 -1
- package/dist/features/dialog/dialogMeta.d.ts +2 -2
- package/dist/features/empty-state/adapters/inbound/EmptyState.js +5 -5
- package/dist/features/empty-state/adapters/inbound/EmptyState.js.map +1 -1
- package/dist/features/form/adapters/inbound/Form.js +3 -3
- package/dist/features/form/adapters/inbound/Form.js.map +1 -1
- package/dist/features/form/adapters/inbound/FormActions.js +4 -4
- package/dist/features/form/adapters/inbound/FormActions.js.map +1 -1
- package/dist/features/form/adapters/inbound/FormError.js +3 -3
- package/dist/features/form/adapters/inbound/FormError.js.map +1 -1
- package/dist/features/form/adapters/inbound/FormField.js +3 -3
- package/dist/features/form/adapters/inbound/FormField.js.map +1 -1
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.d.ts.map +1 -1
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js +5 -6
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js.map +1 -1
- package/dist/features/form/radio/adapters/inbound/RadioGroup.js +10 -10
- package/dist/features/form/radio/adapters/inbound/RadioGroup.js.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.web.js +3 -3
- package/dist/features/form/select/adapters/inbound/Select.web.js.map +1 -1
- package/dist/features/gradient/adapters/inbound/Gradient.js +5 -5
- package/dist/features/gradient/adapters/inbound/Gradient.js.map +1 -1
- package/dist/features/gradient/gradientMeta.d.ts +1 -1
- package/dist/features/hero/adapters/inbound/Hero.js +12 -12
- package/dist/features/hero/adapters/inbound/Hero.js.map +1 -1
- package/dist/features/image/adapters/inbound/Image.js +3 -3
- package/dist/features/image/adapters/inbound/Image.js.map +1 -1
- package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
- package/dist/features/layout/adapters/inbound/AppShell.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/AppShell.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/AppShell.js +20 -0
- package/dist/features/layout/adapters/inbound/AppShell.js.map +1 -0
- package/dist/features/layout/adapters/inbound/Screen.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/Screen.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/Screen.js +22 -0
- package/dist/features/layout/adapters/inbound/Screen.js.map +1 -0
- package/dist/features/layout/adapters/inbound/ScreenSection.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/ScreenSection.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/ScreenSection.js +13 -0
- package/dist/features/layout/adapters/inbound/ScreenSection.js.map +1 -0
- package/dist/features/layout/adapters/inbound/ScrollView.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/ScrollView.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/ScrollView.js +10 -0
- package/dist/features/layout/adapters/inbound/ScrollView.js.map +1 -0
- package/dist/features/layout/adapters/inbound/View.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/View.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/View.js +10 -0
- package/dist/features/layout/adapters/inbound/View.js.map +1 -0
- package/dist/{layout/app-shell/meta.d.ts → features/layout/appShellMeta.d.ts} +1 -1
- package/dist/features/layout/appShellMeta.d.ts.map +1 -0
- package/dist/{layout/app-shell/meta.js → features/layout/appShellMeta.js} +1 -1
- package/dist/features/layout/appShellMeta.js.map +1 -0
- package/dist/features/layout/constants.d.ts +0 -1
- package/dist/features/layout/constants.d.ts.map +1 -1
- package/dist/features/layout/constants.js +0 -1
- package/dist/features/layout/constants.js.map +1 -1
- package/dist/features/layout/gridMeta.d.ts +1 -1
- package/dist/features/layout/public.d.ts +6 -6
- package/dist/features/layout/public.d.ts.map +1 -1
- package/dist/features/layout/public.js +5 -4
- package/dist/features/layout/public.js.map +1 -1
- package/dist/{layout/screen/meta.d.ts → features/layout/screenMeta.d.ts} +2 -2
- package/dist/features/layout/screenMeta.d.ts.map +1 -0
- package/dist/{layout/screen/meta.js → features/layout/screenMeta.js} +1 -1
- package/dist/features/layout/screenMeta.js.map +1 -0
- package/dist/{layout/screen-section/meta.d.ts → features/layout/screenSectionMeta.d.ts} +2 -2
- package/dist/features/layout/screenSectionMeta.d.ts.map +1 -0
- package/dist/{layout/screen-section/meta.js → features/layout/screenSectionMeta.js} +1 -1
- package/dist/features/layout/screenSectionMeta.js.map +1 -0
- package/dist/features/layout/{boxMeta.d.ts → scrollViewMeta.d.ts} +8 -15
- package/dist/features/layout/scrollViewMeta.d.ts.map +1 -0
- package/dist/features/layout/{boxMeta.js → scrollViewMeta.js} +4 -6
- package/dist/features/layout/scrollViewMeta.js.map +1 -0
- package/dist/features/layout/{stackMeta.d.ts → viewMeta.d.ts} +24 -4
- package/dist/features/layout/viewMeta.d.ts.map +1 -0
- package/dist/features/layout/{stackMeta.js → viewMeta.js} +8 -3
- package/dist/features/layout/viewMeta.js.map +1 -0
- package/dist/features/list/flatListMeta.d.ts +1 -1
- package/dist/features/list/sectionListMeta.d.ts +1 -1
- package/dist/features/missing-element/adapters/inbound/MissingElement.js +5 -5
- package/dist/features/missing-element/adapters/inbound/MissingElement.js.map +1 -1
- package/dist/features/pagination/adapters/inbound/Pagination.js +3 -3
- package/dist/features/pagination/adapters/inbound/Pagination.js.map +1 -1
- package/dist/{patterns/tile-grid → features/palette-item/adapters/inbound}/PaletteItem.d.ts +1 -1
- package/dist/features/palette-item/adapters/inbound/PaletteItem.d.ts.map +1 -0
- package/dist/{patterns/tile-grid → features/palette-item/adapters/inbound}/PaletteItem.js +10 -10
- package/dist/features/palette-item/adapters/inbound/PaletteItem.js.map +1 -0
- package/dist/features/palette-item/paletteItemMeta.d.ts +9 -0
- package/dist/features/palette-item/paletteItemMeta.d.ts.map +1 -0
- package/dist/features/palette-item/paletteItemMeta.js +9 -0
- package/dist/features/palette-item/paletteItemMeta.js.map +1 -0
- package/dist/features/palette-item/public.d.ts +3 -0
- package/dist/features/palette-item/public.d.ts.map +1 -0
- package/dist/features/palette-item/public.js +2 -0
- package/dist/features/palette-item/public.js.map +1 -0
- package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js +2 -2
- package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js.map +1 -1
- package/dist/features/progress/adapters/inbound/Progress.js +4 -4
- package/dist/features/progress/adapters/inbound/Progress.js.map +1 -1
- package/dist/features/progress/adapters/inbound/ProgressRing.js +10 -10
- package/dist/features/progress/adapters/inbound/ProgressRing.js.map +1 -1
- package/dist/features/rating/adapters/inbound/Rating.d.ts.map +1 -1
- package/dist/features/rating/adapters/inbound/Rating.js +3 -3
- package/dist/features/rating/adapters/inbound/Rating.js.map +1 -1
- package/dist/features/skeleton/adapters/inbound/Skeleton.js +2 -2
- package/dist/features/skeleton/adapters/inbound/Skeleton.js.map +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonCard.js +5 -5
- package/dist/features/skeleton/adapters/inbound/SkeletonCard.js.map +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonText.js +3 -3
- package/dist/features/skeleton/adapters/inbound/SkeletonText.js.map +1 -1
- package/dist/features/surface/surfaceMeta.d.ts +1 -1
- package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
- package/dist/features/time-picker/composition/TimePickerContent.js +7 -7
- package/dist/features/time-picker/composition/TimePickerContent.js.map +1 -1
- package/dist/features/time-picker/composition/TimePickerField.js +3 -3
- package/dist/features/time-picker/composition/TimePickerField.js.map +1 -1
- package/dist/features/toolbar/adapters/inbound/Toolbar.js +3 -3
- package/dist/features/toolbar/adapters/inbound/Toolbar.js.map +1 -1
- package/dist/features/uploader/adapters/inbound/Uploader.js +19 -19
- package/dist/features/uploader/adapters/inbound/Uploader.js.map +1 -1
- package/dist/index.d.ts +6 -22
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -11
- package/dist/index.js.map +1 -1
- package/dist/metadata/allowedChildren.d.ts +4 -4
- package/dist/metadata/allowedChildren.d.ts.map +1 -1
- package/dist/metadata/allowedChildren.js +4 -6
- package/dist/metadata/allowedChildren.js.map +1 -1
- package/dist/metadata/bindableComponentMeta.d.ts +2 -2
- package/dist/metadata/componentMeta.d.ts.map +1 -1
- package/dist/metadata/componentMeta.js +9 -22
- package/dist/metadata/componentMeta.js.map +1 -1
- package/dist/patterns/chat-list-item/ChatListItem.d.ts.map +1 -1
- package/dist/patterns/chat-list-item/ChatListItem.js +22 -23
- package/dist/patterns/chat-list-item/ChatListItem.js.map +1 -1
- package/dist/patterns/collection-editor/CollectionEditor.js +12 -12
- package/dist/patterns/collection-editor/CollectionEditor.js.map +1 -1
- package/dist/patterns/confirm-dialog/ConfirmDialog.js +3 -3
- package/dist/patterns/confirm-dialog/ConfirmDialog.js.map +1 -1
- package/dist/patterns/filter-bar/FilterBar.d.ts.map +1 -1
- package/dist/patterns/filter-bar/FilterBar.js +6 -7
- package/dist/patterns/filter-bar/FilterBar.js.map +1 -1
- package/dist/patterns/inspector-field/InspectorField.js +5 -5
- package/dist/patterns/inspector-field/InspectorField.js.map +1 -1
- package/dist/patterns/list/List.d.ts.map +1 -1
- package/dist/patterns/list/List.js +6 -7
- package/dist/patterns/list/List.js.map +1 -1
- package/dist/patterns/list/ListRow.d.ts.map +1 -1
- package/dist/patterns/list/ListRow.js +16 -17
- package/dist/patterns/list/ListRow.js.map +1 -1
- package/dist/patterns/list/ListSection.js +3 -3
- package/dist/patterns/list/ListSection.js.map +1 -1
- package/dist/patterns/message-bubble/MessageBubble.d.ts.map +1 -1
- package/dist/patterns/message-bubble/MessageBubble.js +21 -20
- package/dist/patterns/message-bubble/MessageBubble.js.map +1 -1
- package/dist/patterns/message-bubble/meta.d.ts +1 -1
- package/dist/patterns/notice/Notice.js +5 -5
- package/dist/patterns/notice/Notice.js.map +1 -1
- package/dist/patterns/notice/meta.d.ts +1 -1
- package/dist/patterns/panel/meta.d.ts +1 -1
- package/dist/patterns/reader/ReaderSurface.d.ts.map +1 -1
- package/dist/patterns/reader/ReaderSurface.js +18 -19
- package/dist/patterns/reader/ReaderSurface.js.map +1 -1
- package/dist/patterns/reader/meta.d.ts +2 -2
- package/dist/patterns/scanner/BarcodeScannerView.js +7 -7
- package/dist/patterns/scanner/BarcodeScannerView.js.map +1 -1
- package/dist/patterns/scanner/CameraPermissionView.js +5 -5
- package/dist/patterns/scanner/CameraPermissionView.js.map +1 -1
- package/dist/patterns/scanner/ScanOverlay.js +8 -8
- package/dist/patterns/scanner/ScanOverlay.js.map +1 -1
- package/dist/patterns/scanner/meta.d.ts +2 -2
- package/dist/patterns/section-header/SectionHeader.js +8 -8
- package/dist/patterns/section-header/SectionHeader.js.map +1 -1
- package/dist/patterns/switch-field/SwitchField.d.ts +1 -1
- package/dist/patterns/switch-field/SwitchField.js +3 -3
- package/dist/patterns/switch-field/SwitchField.js.map +1 -1
- package/dist/patterns/theme-composer/ThemeComposer.js +30 -30
- package/dist/patterns/theme-composer/ThemeComposer.js.map +1 -1
- package/dist/patterns/timeline/Timeline.d.ts.map +1 -1
- package/dist/patterns/timeline/Timeline.js +14 -15
- package/dist/patterns/timeline/Timeline.js.map +1 -1
- package/dist/patterns/tree-view/TreeItem.d.ts.map +1 -1
- package/dist/patterns/tree-view/TreeItem.js +9 -9
- package/dist/patterns/tree-view/TreeItem.js.map +1 -1
- package/dist/patterns/tree-view/TreeView.js +3 -3
- package/dist/patterns/tree-view/TreeView.js.map +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +5 -23
- package/dist/registry.js.map +1 -1
- package/dist/types/button-group.d.ts +2 -2
- package/dist/types/button-group.d.ts.map +1 -1
- package/dist/types/button-group.js.map +1 -1
- package/dist/types/gradient.d.ts +6 -6
- package/dist/types/gradient.d.ts.map +1 -1
- package/dist/types/gradient.js.map +1 -1
- package/dist/types/layout.d.ts +22 -4
- package/dist/types/layout.d.ts.map +1 -1
- package/dist/types/layout.js.map +1 -1
- package/dist/types/palette-item.d.ts +13 -0
- package/dist/types/palette-item.d.ts.map +1 -0
- package/dist/types/palette-item.js +2 -0
- package/dist/types/palette-item.js.map +1 -0
- package/dist/types/skeleton.d.ts +5 -5
- package/dist/types/skeleton.d.ts.map +1 -1
- package/dist/types/skeleton.js.map +1 -1
- package/package.json +2 -2
- package/src/audit.test.ts +7 -11
- package/src/constants.ts +2 -1
- package/src/expo57Migration.test.ts +4 -3
- package/src/features/accordion/adapters/inbound/AccordionItem.tsx +19 -19
- package/src/features/app-bar/adapters/inbound/AppBar.tsx +6 -7
- package/src/features/auth/adapters/inbound/AuthForm.tsx +3 -3
- package/src/features/auth/adapters/inbound/ForgotPasswordForm.tsx +3 -3
- package/src/features/auth/adapters/inbound/OAuthProviderList.tsx +3 -3
- package/src/features/auth/adapters/inbound/OtpForm.tsx +3 -3
- package/src/features/auth/adapters/inbound/SignInForm.tsx +3 -3
- package/src/features/auth/adapters/inbound/SignUpForm.tsx +3 -3
- package/src/features/avatar/adapters/inbound/Avatar.tsx +3 -3
- package/src/features/avatar/adapters/inbound/AvatarGroup.tsx +7 -7
- package/src/features/bottom-sheet/adapters/inbound/BottomSheet.tsx +3 -3
- package/src/features/bottom-sheet/public.test.ts +1 -1
- package/src/features/breadcrumbs/adapters/inbound/Breadcrumbs.tsx +5 -5
- package/src/features/button/adapters/inbound/ButtonGroup.tsx +3 -3
- package/src/features/card/adapters/inbound/Card.tsx +12 -12
- package/src/features/card/adapters/inbound/MediaCard.tsx +21 -21
- package/src/features/card/adapters/inbound/MetricCard.tsx +10 -11
- package/src/features/card/adapters/inbound/PostCard.tsx +37 -38
- package/src/features/card/adapters/inbound/ProductCard.tsx +17 -18
- package/src/features/chip/adapters/inbound/Chip.tsx +5 -6
- package/src/features/chip/adapters/inbound/ChipGroup.tsx +3 -3
- package/src/features/{layout → content-rail}/adapters/inbound/ContentRail.test.ts +3 -1
- package/src/features/{layout → content-rail}/adapters/inbound/ContentRail.tsx +9 -10
- package/src/features/content-rail/constants.ts +1 -0
- package/src/features/content-rail/public.ts +10 -0
- package/src/features/data-table/adapters/inbound/DataTable.tsx +32 -32
- package/src/features/date-picker/composition/DatePickerContent.tsx +16 -16
- package/src/features/date-picker/composition/DatePickerField.tsx +3 -3
- package/src/features/dialog/adapters/inbound/Dialog.tsx +9 -9
- package/src/features/empty-state/adapters/inbound/EmptyState.tsx +5 -5
- package/src/features/form/adapters/inbound/Form.tsx +3 -3
- package/src/features/form/adapters/inbound/FormActions.tsx +4 -4
- package/src/features/form/adapters/inbound/FormError.tsx +3 -3
- package/src/features/form/adapters/inbound/FormField.tsx +3 -3
- package/src/features/form/checkbox/adapters/inbound/CheckboxGroup.tsx +5 -6
- package/src/features/form/radio/adapters/inbound/RadioGroup.tsx +10 -10
- package/src/features/form/select/adapters/inbound/Select.web.tsx +3 -3
- package/src/features/gradient/adapters/inbound/Gradient.tsx +5 -5
- package/src/features/hero/adapters/inbound/Hero.tsx +12 -12
- package/src/features/icon/utils/meta.test.ts +2 -3
- package/src/features/image/adapters/inbound/Image.tsx +3 -3
- package/src/features/layout/adapters/inbound/AppShell.test.ts +24 -0
- package/src/features/layout/adapters/inbound/AppShell.tsx +44 -0
- package/src/features/layout/adapters/inbound/Screen.tsx +50 -0
- package/src/{layout/screen-section → features/layout/adapters/inbound}/ScreenSection.tsx +7 -11
- package/src/features/layout/adapters/inbound/ScrollView.tsx +18 -0
- package/src/features/layout/adapters/inbound/View.tsx +18 -0
- package/src/features/layout/constants.ts +0 -2
- package/src/features/layout/public.test.ts +55 -0
- package/src/features/layout/public.ts +10 -16
- package/src/features/layout/{containerMeta.ts → scrollViewMeta.ts} +6 -3
- package/src/features/layout/{stackMeta.ts → viewMeta.ts} +7 -2
- package/src/features/missing-element/adapters/inbound/MissingElement.tsx +5 -5
- package/src/features/pagination/adapters/inbound/Pagination.tsx +3 -3
- package/src/{patterns/tile-grid → features/palette-item/adapters/inbound}/PaletteItem.tsx +11 -11
- package/src/{layout/sidebar-layout/meta.ts → features/palette-item/paletteItemMeta.ts} +4 -4
- package/src/features/palette-item/public.ts +2 -0
- package/src/features/popover-menu/adapters/inbound/PopoverMenu.tsx +2 -2
- package/src/features/progress/adapters/inbound/Progress.tsx +4 -4
- package/src/features/progress/adapters/inbound/ProgressRing.tsx +10 -10
- package/src/features/rating/adapters/inbound/Rating.tsx +3 -3
- package/src/features/skeleton/adapters/inbound/Skeleton.tsx +2 -2
- package/src/features/skeleton/adapters/inbound/SkeletonCard.tsx +5 -5
- package/src/features/skeleton/adapters/inbound/SkeletonText.tsx +3 -3
- package/src/features/time-picker/composition/TimePickerContent.tsx +7 -7
- package/src/features/time-picker/composition/TimePickerField.tsx +3 -3
- package/src/features/toolbar/adapters/inbound/Toolbar.tsx +3 -3
- package/src/features/uploader/adapters/inbound/Uploader.tsx +19 -19
- package/src/index.ts +25 -31
- package/src/interactionPolicy.test.ts +1 -1
- package/src/metadata/allowedChildren.ts +4 -6
- package/src/metadata/componentMeta.test.ts +4 -6
- package/src/metadata/componentMeta.ts +9 -22
- package/src/metadata/radioGroupReachability.test.ts +2 -2
- package/src/patterns/chat-list-item/ChatListItem.tsx +22 -23
- package/src/patterns/collection-editor/CollectionEditor.tsx +13 -13
- package/src/patterns/confirm-dialog/ConfirmDialog.tsx +3 -3
- package/src/patterns/filter-bar/FilterBar.tsx +6 -7
- package/src/patterns/inspector-field/InspectorField.tsx +5 -5
- package/src/patterns/list/List.tsx +6 -7
- package/src/patterns/list/ListRow.tsx +16 -17
- package/src/patterns/list/ListSection.tsx +3 -3
- package/src/patterns/message-bubble/MessageBubble.tsx +23 -20
- package/src/patterns/notice/Notice.tsx +5 -5
- package/src/patterns/reader/ReaderSurface.tsx +18 -19
- package/src/patterns/scanner/BarcodeScannerView.tsx +7 -7
- package/src/patterns/scanner/CameraPermissionView.tsx +5 -5
- package/src/patterns/scanner/ScanOverlay.tsx +8 -8
- package/src/patterns/section-header/SectionHeader.tsx +8 -8
- package/src/patterns/switch-field/SwitchField.tsx +4 -4
- package/src/patterns/theme-composer/ThemeComposer.tsx +30 -30
- package/src/patterns/timeline/Timeline.tsx +21 -15
- package/src/patterns/tree-view/TreeItem.tsx +12 -11
- package/src/patterns/tree-view/TreeView.tsx +3 -3
- package/src/platformAcceptance.test.ts +1 -1
- package/src/registry.test.ts +1 -1
- package/src/registry.ts +13 -23
- package/src/showcaseCoverage.test.ts +2 -22
- package/src/theme/themeScopeStructure.test.ts +10 -31
- package/src/types/button-group.ts +2 -2
- package/src/types/gradient.ts +6 -6
- package/src/types/layout.ts +28 -7
- package/src/types/palette-item.ts +14 -0
- package/src/types/skeleton.ts +5 -5
- package/dist/features/layout/adapters/inbound/Box.d.ts +0 -5
- package/dist/features/layout/adapters/inbound/Box.d.ts.map +0 -1
- package/dist/features/layout/adapters/inbound/Box.js +0 -10
- package/dist/features/layout/adapters/inbound/Box.js.map +0 -1
- package/dist/features/layout/adapters/inbound/Container.d.ts +0 -5
- package/dist/features/layout/adapters/inbound/Container.d.ts.map +0 -1
- package/dist/features/layout/adapters/inbound/Container.js +0 -10
- package/dist/features/layout/adapters/inbound/Container.js.map +0 -1
- package/dist/features/layout/adapters/inbound/ContentRail.d.ts.map +0 -1
- package/dist/features/layout/adapters/inbound/ContentRail.js.map +0 -1
- package/dist/features/layout/adapters/inbound/ContentRailFlow.d.ts.map +0 -1
- package/dist/features/layout/adapters/inbound/ContentRailFlow.js.map +0 -1
- package/dist/features/layout/adapters/inbound/Stack.d.ts +0 -5
- package/dist/features/layout/adapters/inbound/Stack.d.ts.map +0 -1
- package/dist/features/layout/adapters/inbound/Stack.js +0 -10
- package/dist/features/layout/adapters/inbound/Stack.js.map +0 -1
- package/dist/features/layout/boxMeta.d.ts.map +0 -1
- package/dist/features/layout/boxMeta.js.map +0 -1
- package/dist/features/layout/containerMeta.d.ts +0 -55
- package/dist/features/layout/containerMeta.d.ts.map +0 -1
- package/dist/features/layout/containerMeta.js +0 -10
- package/dist/features/layout/containerMeta.js.map +0 -1
- package/dist/features/layout/contentRailMeta.d.ts.map +0 -1
- package/dist/features/layout/contentRailMeta.js.map +0 -1
- package/dist/features/layout/stackMeta.d.ts.map +0 -1
- package/dist/features/layout/stackMeta.js.map +0 -1
- package/dist/features/layout/utils/resolveContentRailItemWidth.d.ts.map +0 -1
- package/dist/features/layout/utils/resolveContentRailItemWidth.js.map +0 -1
- package/dist/features/layout/utils/resolveContentRailPhysicalOffset.d.ts.map +0 -1
- package/dist/features/layout/utils/resolveContentRailPhysicalOffset.js.map +0 -1
- package/dist/features/layout/utils/resolveContentRailState.d.ts.map +0 -1
- package/dist/features/layout/utils/resolveContentRailState.js.map +0 -1
- package/dist/features/layout/utils/useContentRailReducedMotion.d.ts.map +0 -1
- package/dist/features/layout/utils/useContentRailReducedMotion.js.map +0 -1
- package/dist/foundation/Center.d.ts +0 -12
- package/dist/foundation/Center.d.ts.map +0 -1
- package/dist/foundation/Center.js +0 -13
- package/dist/foundation/Center.js.map +0 -1
- package/dist/foundation/Inline.d.ts +0 -12
- package/dist/foundation/Inline.d.ts.map +0 -1
- package/dist/foundation/Inline.js +0 -13
- package/dist/foundation/Inline.js.map +0 -1
- package/dist/foundation/Show.d.ts +0 -12
- package/dist/foundation/Show.d.ts.map +0 -1
- package/dist/foundation/Show.js +0 -13
- package/dist/foundation/Show.js.map +0 -1
- package/dist/foundation/Spacer.d.ts +0 -12
- package/dist/foundation/Spacer.d.ts.map +0 -1
- package/dist/foundation/Spacer.js +0 -13
- package/dist/foundation/Spacer.js.map +0 -1
- package/dist/foundation/index.d.ts +0 -9
- package/dist/foundation/index.d.ts.map +0 -1
- package/dist/foundation/index.js +0 -5
- package/dist/foundation/index.js.map +0 -1
- package/dist/foundation/meta.d.ts +0 -35
- package/dist/foundation/meta.d.ts.map +0 -1
- package/dist/foundation/meta.js +0 -35
- package/dist/foundation/meta.js.map +0 -1
- package/dist/layout/app-shell/AppShell.d.ts +0 -16
- package/dist/layout/app-shell/AppShell.d.ts.map +0 -1
- package/dist/layout/app-shell/AppShell.js +0 -50
- package/dist/layout/app-shell/AppShell.js.map +0 -1
- package/dist/layout/app-shell/index.d.ts +0 -3
- package/dist/layout/app-shell/index.d.ts.map +0 -1
- package/dist/layout/app-shell/index.js +0 -2
- package/dist/layout/app-shell/index.js.map +0 -1
- package/dist/layout/app-shell/meta.d.ts.map +0 -1
- package/dist/layout/app-shell/meta.js.map +0 -1
- package/dist/layout/app-shell/types.d.ts +0 -9
- package/dist/layout/app-shell/types.d.ts.map +0 -1
- package/dist/layout/app-shell/types.js +0 -2
- package/dist/layout/app-shell/types.js.map +0 -1
- package/dist/layout/screen/Screen.d.ts +0 -11
- package/dist/layout/screen/Screen.d.ts.map +0 -1
- package/dist/layout/screen/Screen.js +0 -30
- package/dist/layout/screen/Screen.js.map +0 -1
- package/dist/layout/screen/index.d.ts +0 -3
- package/dist/layout/screen/index.d.ts.map +0 -1
- package/dist/layout/screen/index.js +0 -2
- package/dist/layout/screen/index.js.map +0 -1
- package/dist/layout/screen/meta.d.ts.map +0 -1
- package/dist/layout/screen/meta.js.map +0 -1
- package/dist/layout/screen/types.d.ts +0 -10
- package/dist/layout/screen/types.d.ts.map +0 -1
- package/dist/layout/screen/types.js +0 -2
- package/dist/layout/screen/types.js.map +0 -1
- package/dist/layout/screen-section/ScreenSection.d.ts +0 -9
- package/dist/layout/screen-section/ScreenSection.d.ts.map +0 -1
- package/dist/layout/screen-section/ScreenSection.js +0 -17
- package/dist/layout/screen-section/ScreenSection.js.map +0 -1
- package/dist/layout/screen-section/index.d.ts +0 -3
- package/dist/layout/screen-section/index.d.ts.map +0 -1
- package/dist/layout/screen-section/index.js +0 -2
- package/dist/layout/screen-section/index.js.map +0 -1
- package/dist/layout/screen-section/meta.d.ts.map +0 -1
- package/dist/layout/screen-section/meta.js.map +0 -1
- package/dist/layout/screen-section/types.d.ts +0 -9
- package/dist/layout/screen-section/types.d.ts.map +0 -1
- package/dist/layout/screen-section/types.js +0 -2
- package/dist/layout/screen-section/types.js.map +0 -1
- package/dist/layout/settings-layout/SettingsLayout.d.ts +0 -7
- package/dist/layout/settings-layout/SettingsLayout.d.ts.map +0 -1
- package/dist/layout/settings-layout/SettingsLayout.js +0 -18
- package/dist/layout/settings-layout/SettingsLayout.js.map +0 -1
- package/dist/layout/settings-layout/index.d.ts +0 -3
- package/dist/layout/settings-layout/index.d.ts.map +0 -1
- package/dist/layout/settings-layout/index.js +0 -2
- package/dist/layout/settings-layout/index.js.map +0 -1
- package/dist/layout/settings-layout/meta.d.ts +0 -9
- package/dist/layout/settings-layout/meta.d.ts.map +0 -1
- package/dist/layout/settings-layout/meta.js +0 -9
- package/dist/layout/settings-layout/meta.js.map +0 -1
- package/dist/layout/settings-layout/types.d.ts +0 -10
- package/dist/layout/settings-layout/types.d.ts.map +0 -1
- package/dist/layout/settings-layout/types.js +0 -2
- package/dist/layout/settings-layout/types.js.map +0 -1
- package/dist/layout/sidebar-layout/SidebarLayout.d.ts +0 -11
- package/dist/layout/sidebar-layout/SidebarLayout.d.ts.map +0 -1
- package/dist/layout/sidebar-layout/SidebarLayout.js +0 -27
- package/dist/layout/sidebar-layout/SidebarLayout.js.map +0 -1
- package/dist/layout/sidebar-layout/index.d.ts +0 -3
- package/dist/layout/sidebar-layout/index.d.ts.map +0 -1
- package/dist/layout/sidebar-layout/index.js +0 -2
- package/dist/layout/sidebar-layout/index.js.map +0 -1
- package/dist/layout/sidebar-layout/meta.d.ts +0 -9
- package/dist/layout/sidebar-layout/meta.d.ts.map +0 -1
- package/dist/layout/sidebar-layout/meta.js +0 -9
- package/dist/layout/sidebar-layout/meta.js.map +0 -1
- package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.d.ts +0 -14
- package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.d.ts.map +0 -1
- package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.js +0 -16
- package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.js.map +0 -1
- package/dist/layout/sidebar-layout/types.d.ts +0 -12
- package/dist/layout/sidebar-layout/types.d.ts.map +0 -1
- package/dist/layout/sidebar-layout/types.js +0 -2
- package/dist/layout/sidebar-layout/types.js.map +0 -1
- package/dist/layout/topbar-layout/TopbarLayout.d.ts +0 -9
- package/dist/layout/topbar-layout/TopbarLayout.d.ts.map +0 -1
- package/dist/layout/topbar-layout/TopbarLayout.js +0 -17
- package/dist/layout/topbar-layout/TopbarLayout.js.map +0 -1
- package/dist/layout/topbar-layout/index.d.ts +0 -3
- package/dist/layout/topbar-layout/index.d.ts.map +0 -1
- package/dist/layout/topbar-layout/index.js +0 -2
- package/dist/layout/topbar-layout/index.js.map +0 -1
- package/dist/layout/topbar-layout/meta.d.ts +0 -9
- package/dist/layout/topbar-layout/meta.d.ts.map +0 -1
- package/dist/layout/topbar-layout/meta.js +0 -9
- package/dist/layout/topbar-layout/meta.js.map +0 -1
- package/dist/layout/topbar-layout/types.d.ts +0 -8
- package/dist/layout/topbar-layout/types.d.ts.map +0 -1
- package/dist/layout/topbar-layout/types.js +0 -2
- package/dist/layout/topbar-layout/types.js.map +0 -1
- package/dist/patterns/settings-row/SettingsRow.d.ts +0 -9
- package/dist/patterns/settings-row/SettingsRow.d.ts.map +0 -1
- package/dist/patterns/settings-row/SettingsRow.js +0 -24
- package/dist/patterns/settings-row/SettingsRow.js.map +0 -1
- package/dist/patterns/settings-row/index.d.ts +0 -3
- package/dist/patterns/settings-row/index.d.ts.map +0 -1
- package/dist/patterns/settings-row/index.js +0 -2
- package/dist/patterns/settings-row/index.js.map +0 -1
- package/dist/patterns/settings-row/meta.d.ts +0 -39
- package/dist/patterns/settings-row/meta.d.ts.map +0 -1
- package/dist/patterns/settings-row/meta.js +0 -39
- package/dist/patterns/settings-row/meta.js.map +0 -1
- package/dist/patterns/settings-row/types.d.ts +0 -23
- package/dist/patterns/settings-row/types.d.ts.map +0 -1
- package/dist/patterns/settings-row/types.js +0 -2
- package/dist/patterns/settings-row/types.js.map +0 -1
- package/dist/patterns/tile-grid/PaletteItem.d.ts.map +0 -1
- package/dist/patterns/tile-grid/PaletteItem.js.map +0 -1
- package/dist/patterns/tile-grid/TileGrid.d.ts +0 -9
- package/dist/patterns/tile-grid/TileGrid.d.ts.map +0 -1
- package/dist/patterns/tile-grid/TileGrid.js +0 -33
- package/dist/patterns/tile-grid/TileGrid.js.map +0 -1
- package/dist/patterns/tile-grid/index.d.ts +0 -4
- package/dist/patterns/tile-grid/index.d.ts.map +0 -1
- package/dist/patterns/tile-grid/index.js +0 -4
- package/dist/patterns/tile-grid/index.js.map +0 -1
- package/dist/patterns/tile-grid/meta.d.ts +0 -17
- package/dist/patterns/tile-grid/meta.d.ts.map +0 -1
- package/dist/patterns/tile-grid/meta.js +0 -18
- package/dist/patterns/tile-grid/meta.js.map +0 -1
- package/dist/patterns/tile-grid/types.d.ts +0 -18
- package/dist/patterns/tile-grid/types.d.ts.map +0 -1
- package/dist/patterns/tile-grid/types.js +0 -2
- package/dist/patterns/tile-grid/types.js.map +0 -1
- package/src/features/layout/adapters/inbound/Box.tsx +0 -18
- package/src/features/layout/adapters/inbound/Container.tsx +0 -18
- package/src/features/layout/adapters/inbound/Stack.tsx +0 -18
- package/src/features/layout/boxMeta.ts +0 -16
- package/src/foundation/Center.tsx +0 -26
- package/src/foundation/Inline.tsx +0 -26
- package/src/foundation/Show.tsx +0 -23
- package/src/foundation/Spacer.tsx +0 -26
- package/src/foundation/index.test.ts +0 -30
- package/src/foundation/index.ts +0 -8
- package/src/foundation/meta.ts +0 -36
- package/src/layout/app-shell/AppShell.test.ts +0 -24
- package/src/layout/app-shell/AppShell.tsx +0 -65
- package/src/layout/app-shell/index.ts +0 -2
- package/src/layout/app-shell/types.ts +0 -10
- package/src/layout/screen/Screen.test.ts +0 -22
- package/src/layout/screen/Screen.tsx +0 -47
- package/src/layout/screen/index.ts +0 -2
- package/src/layout/screen/types.ts +0 -11
- package/src/layout/screen-section/index.ts +0 -2
- package/src/layout/screen-section/types.ts +0 -10
- package/src/layout/settings-layout/SettingsLayout.tsx +0 -33
- package/src/layout/settings-layout/index.ts +0 -2
- package/src/layout/settings-layout/meta.ts +0 -10
- package/src/layout/settings-layout/types.ts +0 -11
- package/src/layout/sidebar-layout/SidebarLayout.test.ts +0 -35
- package/src/layout/sidebar-layout/SidebarLayout.tsx +0 -46
- package/src/layout/sidebar-layout/index.ts +0 -2
- package/src/layout/sidebar-layout/resolveSidebarLayoutSizing.ts +0 -18
- package/src/layout/sidebar-layout/types.ts +0 -14
- package/src/layout/topbar-layout/TopbarLayout.tsx +0 -30
- package/src/layout/topbar-layout/index.ts +0 -2
- package/src/layout/topbar-layout/meta.ts +0 -10
- package/src/layout/topbar-layout/types.ts +0 -9
- package/src/patterns/settings-row/SettingsRow.tsx +0 -53
- package/src/patterns/settings-row/index.ts +0 -2
- package/src/patterns/settings-row/meta.ts +0 -40
- package/src/patterns/settings-row/types.ts +0 -28
- package/src/patterns/tile-grid/TileGrid.tsx +0 -55
- package/src/patterns/tile-grid/index.ts +0 -3
- package/src/patterns/tile-grid/meta.ts +0 -21
- package/src/patterns/tile-grid/types.ts +0 -20
- /package/dist/features/{layout → content-rail}/adapters/inbound/ContentRail.d.ts +0 -0
- /package/dist/features/{layout → content-rail}/adapters/inbound/ContentRailFlow.d.ts +0 -0
- /package/dist/features/{layout → content-rail}/adapters/inbound/ContentRailFlow.js +0 -0
- /package/dist/features/{layout → content-rail}/contentRailMeta.js +0 -0
- /package/dist/features/{layout → content-rail}/utils/resolveContentRailItemWidth.d.ts +0 -0
- /package/dist/features/{layout → content-rail}/utils/resolveContentRailItemWidth.js +0 -0
- /package/dist/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.d.ts +0 -0
- /package/dist/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.js +0 -0
- /package/dist/features/{layout → content-rail}/utils/resolveContentRailState.d.ts +0 -0
- /package/dist/features/{layout → content-rail}/utils/resolveContentRailState.js +0 -0
- /package/dist/features/{layout → content-rail}/utils/useContentRailReducedMotion.d.ts +0 -0
- /package/dist/features/{layout → content-rail}/utils/useContentRailReducedMotion.js +0 -0
- /package/src/features/{layout → content-rail}/adapters/inbound/ContentRailFlow.tsx +0 -0
- /package/src/features/{layout → content-rail}/contentRailMeta.ts +0 -0
- /package/src/features/{layout → content-rail}/utils/resolveContentRailItemWidth.test.ts +0 -0
- /package/src/features/{layout → content-rail}/utils/resolveContentRailItemWidth.ts +0 -0
- /package/src/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.test.ts +0 -0
- /package/src/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.ts +0 -0
- /package/src/features/{layout → content-rail}/utils/resolveContentRailState.test.ts +0 -0
- /package/src/features/{layout → content-rail}/utils/resolveContentRailState.ts +0 -0
- /package/src/features/{layout → content-rail}/utils/useContentRailReducedMotion.ts +0 -0
- /package/src/{layout/app-shell/meta.ts → features/layout/appShellMeta.ts} +0 -0
- /package/src/{layout/screen/meta.ts → features/layout/screenMeta.ts} +0 -0
- /package/src/{layout/screen-section/meta.ts → features/layout/screenSectionMeta.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { StyleSheet
|
|
2
|
+
import { StyleSheet } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import { Badge } from '../../features/badge/public';
|
|
5
|
-
import {
|
|
5
|
+
import { View } from '../../features/layout/public';
|
|
6
6
|
import { Text } from '../../features/typography/public';
|
|
7
7
|
import { useZoraTheme } from '../../theme/useZoraTheme';
|
|
8
8
|
import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
|
|
@@ -26,8 +26,8 @@ function ScanOverlayInner({
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
return (
|
|
29
|
-
<
|
|
30
|
-
<
|
|
29
|
+
<View testID={testID}>
|
|
30
|
+
<View gap="m">
|
|
31
31
|
<View accessibilityRole="image" style={[styles.frame, frameStyle]}>
|
|
32
32
|
<View style={[styles.corner, styles.topLeft, cornerStyle]} />
|
|
33
33
|
<View style={[styles.corner, styles.topRight, cornerStyle]} />
|
|
@@ -35,16 +35,16 @@ function ScanOverlayInner({
|
|
|
35
35
|
<View style={[styles.corner, styles.bottomRight, cornerStyle]} />
|
|
36
36
|
<Badge color="primary">{cornerLabel}</Badge>
|
|
37
37
|
</View>
|
|
38
|
-
<
|
|
38
|
+
<View gap="xs">
|
|
39
39
|
<Text align="center" variant="label" weight="semiBold">
|
|
40
40
|
{title}
|
|
41
41
|
</Text>
|
|
42
42
|
<Text align="center" emphasis="muted" variant="bodySmall">
|
|
43
43
|
{description}
|
|
44
44
|
</Text>
|
|
45
|
-
</
|
|
46
|
-
</
|
|
47
|
-
</
|
|
45
|
+
</View>
|
|
46
|
+
</View>
|
|
47
|
+
</View>
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { View } from '../../features/layout/public';
|
|
4
4
|
import { Heading } from '../../features/typography/public';
|
|
5
5
|
import { Text } from '../../features/typography/public';
|
|
6
6
|
import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
|
|
@@ -17,15 +17,15 @@ function SectionHeaderInner({
|
|
|
17
17
|
testID,
|
|
18
18
|
}: SectionHeaderProps) {
|
|
19
19
|
return (
|
|
20
|
-
<
|
|
20
|
+
<View
|
|
21
21
|
align={{ base: 'flex-start', md: 'center' }}
|
|
22
22
|
direction={{ base: 'column', md: 'row' }}
|
|
23
23
|
gap="m"
|
|
24
24
|
justify="space-between"
|
|
25
25
|
testID={testID}
|
|
26
26
|
>
|
|
27
|
-
<
|
|
28
|
-
<
|
|
27
|
+
<View flex={{ md: 1 }} width={{ base: '100%', md: 'auto' }}>
|
|
28
|
+
<View gap="xs">
|
|
29
29
|
{eyebrow ? (
|
|
30
30
|
<Text emphasis="muted" variant="caption" weight="semiBold">
|
|
31
31
|
{eyebrow}
|
|
@@ -37,10 +37,10 @@ function SectionHeaderInner({
|
|
|
37
37
|
{description}
|
|
38
38
|
</Text>
|
|
39
39
|
) : null}
|
|
40
|
-
</
|
|
41
|
-
</
|
|
42
|
-
{actions ? <
|
|
43
|
-
</
|
|
40
|
+
</View>
|
|
41
|
+
</View>
|
|
42
|
+
{actions ? <View>{actions}</View> : null}
|
|
43
|
+
</View>
|
|
44
44
|
);
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -2,7 +2,7 @@ import { Switch } from '@ankhorage/surface';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
|
|
5
|
-
import {
|
|
5
|
+
import { ListRow } from '../list';
|
|
6
6
|
import type { SwitchFieldProps } from './types';
|
|
7
7
|
|
|
8
8
|
function SwitchFieldInner({
|
|
@@ -17,12 +17,12 @@ function SwitchFieldInner({
|
|
|
17
17
|
interactionPolicy,
|
|
18
18
|
}: SwitchFieldProps) {
|
|
19
19
|
return (
|
|
20
|
-
<
|
|
20
|
+
<ListRow
|
|
21
21
|
title={label}
|
|
22
22
|
description={description}
|
|
23
23
|
disabled={disabled}
|
|
24
24
|
testID={testID}
|
|
25
|
-
|
|
25
|
+
action={
|
|
26
26
|
<Switch
|
|
27
27
|
checked={value}
|
|
28
28
|
disabled={disabled}
|
|
@@ -35,7 +35,7 @@ function SwitchFieldInner({
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/***
|
|
38
|
-
* Labeled switch field pattern built on `
|
|
38
|
+
* Labeled switch field pattern built on `ListRow`.
|
|
39
39
|
*
|
|
40
40
|
|
|
41
41
|
*/
|
|
@@ -9,7 +9,7 @@ import { Card } from '../../features/card/public';
|
|
|
9
9
|
import { ChipGroup } from '../../features/chip/public';
|
|
10
10
|
import { Select } from '../../features/form/select/public';
|
|
11
11
|
import { TextInput } from '../../features/form/text-input/public';
|
|
12
|
-
import {
|
|
12
|
+
import { View } from '../../features/layout/public';
|
|
13
13
|
import { Heading } from '../../features/typography/public';
|
|
14
14
|
import { Text } from '../../features/typography/public';
|
|
15
15
|
import type { ZoraThemeMode } from '../../theme/types';
|
|
@@ -131,14 +131,14 @@ function ThemeComposerInner({
|
|
|
131
131
|
}));
|
|
132
132
|
|
|
133
133
|
return (
|
|
134
|
-
<
|
|
134
|
+
<View gap="l" testID={testID}>
|
|
135
135
|
{/* Section: Theme identity */}
|
|
136
136
|
<Card
|
|
137
137
|
title="Theme identity"
|
|
138
138
|
description="Name your theme. The ID is assigned automatically and shown for reference."
|
|
139
139
|
>
|
|
140
|
-
<
|
|
141
|
-
<
|
|
140
|
+
<View gap="m">
|
|
141
|
+
<View gap="xs">
|
|
142
142
|
<Text variant="label">Name</Text>
|
|
143
143
|
<TextInput
|
|
144
144
|
value={nameDraft.inputValue}
|
|
@@ -153,8 +153,8 @@ function ThemeComposerInner({
|
|
|
153
153
|
{nameDraft.error}
|
|
154
154
|
</Text>
|
|
155
155
|
) : null}
|
|
156
|
-
</
|
|
157
|
-
<
|
|
156
|
+
</View>
|
|
157
|
+
<View gap="xs">
|
|
158
158
|
<Text variant="label">ID</Text>
|
|
159
159
|
<Text
|
|
160
160
|
emphasis="muted"
|
|
@@ -163,8 +163,8 @@ function ThemeComposerInner({
|
|
|
163
163
|
>
|
|
164
164
|
{value.id}
|
|
165
165
|
</Text>
|
|
166
|
-
</
|
|
167
|
-
</
|
|
166
|
+
</View>
|
|
167
|
+
</View>
|
|
168
168
|
</Card>
|
|
169
169
|
|
|
170
170
|
{/* Section: App category */}
|
|
@@ -179,9 +179,9 @@ function ThemeComposerInner({
|
|
|
179
179
|
|
|
180
180
|
{/* Section: Primary Color */}
|
|
181
181
|
<Card title="Primary color" description="Set the seed color for your theme palette.">
|
|
182
|
-
<
|
|
183
|
-
<
|
|
184
|
-
<
|
|
182
|
+
<View gap="m">
|
|
183
|
+
<View direction="row" gap="m" align="center">
|
|
184
|
+
<View flex={1}>
|
|
185
185
|
<TextInput
|
|
186
186
|
value={hexDraft.inputValue}
|
|
187
187
|
onChangeText={handleHexChange}
|
|
@@ -192,9 +192,9 @@ function ThemeComposerInner({
|
|
|
192
192
|
invalid={hexDraft.error !== undefined}
|
|
193
193
|
testID={testID ? `${testID}-hex-input` : undefined}
|
|
194
194
|
/>
|
|
195
|
-
</
|
|
195
|
+
</View>
|
|
196
196
|
{/* Color preview chip */}
|
|
197
|
-
<
|
|
197
|
+
<View
|
|
198
198
|
width={36}
|
|
199
199
|
height={36}
|
|
200
200
|
radius="m"
|
|
@@ -206,13 +206,13 @@ function ThemeComposerInner({
|
|
|
206
206
|
borderColor: theme.colors.border,
|
|
207
207
|
}}
|
|
208
208
|
/>
|
|
209
|
-
</
|
|
209
|
+
</View>
|
|
210
210
|
{hexDraft.error ? (
|
|
211
211
|
<Text color="danger" variant="bodySmall">
|
|
212
212
|
{hexDraft.error}
|
|
213
213
|
</Text>
|
|
214
214
|
) : null}
|
|
215
|
-
</
|
|
215
|
+
</View>
|
|
216
216
|
</Card>
|
|
217
217
|
|
|
218
218
|
{/* Section: Harmony */}
|
|
@@ -240,33 +240,33 @@ function ThemeComposerInner({
|
|
|
240
240
|
|
|
241
241
|
{/* Section: Preview */}
|
|
242
242
|
<Card title="Preview" description="A quick look at how your theme renders common controls.">
|
|
243
|
-
<
|
|
244
|
-
<
|
|
243
|
+
<View gap="m">
|
|
244
|
+
<View gap="xs">
|
|
245
245
|
<Text variant="label">Name</Text>
|
|
246
246
|
<Text>{value.name}</Text>
|
|
247
|
-
</
|
|
248
|
-
<
|
|
247
|
+
</View>
|
|
248
|
+
<View gap="xs">
|
|
249
249
|
<Text variant="label">Category</Text>
|
|
250
250
|
<Text>{formatAppCategoryLabel(value.appCategory)}</Text>
|
|
251
|
-
</
|
|
252
|
-
<
|
|
251
|
+
</View>
|
|
252
|
+
<View gap="xs">
|
|
253
253
|
<Text variant="label">Primary color</Text>
|
|
254
254
|
<Text emphasis="muted" variant="bodySmall">
|
|
255
255
|
{value.primaryColor}
|
|
256
256
|
</Text>
|
|
257
|
-
</
|
|
258
|
-
<
|
|
257
|
+
</View>
|
|
258
|
+
<View gap="xs">
|
|
259
259
|
<Text variant="label">Harmony</Text>
|
|
260
260
|
<Text emphasis="muted" variant="bodySmall">
|
|
261
261
|
{value.harmony}
|
|
262
262
|
</Text>
|
|
263
|
-
</
|
|
263
|
+
</View>
|
|
264
264
|
<Heading level={4}>Heading</Heading>
|
|
265
265
|
<Text>Body text — this shows default text color and weight.</Text>
|
|
266
266
|
<Text emphasis="muted" variant="bodySmall">
|
|
267
267
|
Muted caption text.
|
|
268
268
|
</Text>
|
|
269
|
-
<
|
|
269
|
+
<View direction="row" gap="s" align="center">
|
|
270
270
|
<Button color="primary" variant="solid" size="m">
|
|
271
271
|
Primary
|
|
272
272
|
</Button>
|
|
@@ -276,8 +276,8 @@ function ThemeComposerInner({
|
|
|
276
276
|
<Button color="danger" variant="ghost" size="m">
|
|
277
277
|
Danger
|
|
278
278
|
</Button>
|
|
279
|
-
</
|
|
280
|
-
<
|
|
279
|
+
</View>
|
|
280
|
+
<View direction="row" gap="s" align="center">
|
|
281
281
|
<Badge color="primary">Primary</Badge>
|
|
282
282
|
<Badge color="success" variant="soft">
|
|
283
283
|
Success
|
|
@@ -288,14 +288,14 @@ function ThemeComposerInner({
|
|
|
288
288
|
<Badge color="danger" variant="soft">
|
|
289
289
|
Danger
|
|
290
290
|
</Badge>
|
|
291
|
-
</
|
|
291
|
+
</View>
|
|
292
292
|
<Card
|
|
293
293
|
tone="subtle"
|
|
294
294
|
title="Nested card"
|
|
295
295
|
description="Subtle tone inside the preview."
|
|
296
296
|
compact
|
|
297
297
|
/>
|
|
298
|
-
</
|
|
298
|
+
</View>
|
|
299
299
|
</Card>
|
|
300
300
|
|
|
301
301
|
{/* Submit */}
|
|
@@ -309,7 +309,7 @@ function ThemeComposerInner({
|
|
|
309
309
|
Apply theme
|
|
310
310
|
</Button>
|
|
311
311
|
) : null}
|
|
312
|
-
</
|
|
312
|
+
</View>
|
|
313
313
|
);
|
|
314
314
|
}
|
|
315
315
|
|
|
@@ -2,10 +2,9 @@ import type { RoleSemantics, SurfaceTheme } from '@ankhorage/surface';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { Icon } from '../../features/icon/public';
|
|
5
|
-
import {
|
|
5
|
+
import { View } from '../../features/layout/public';
|
|
6
6
|
import { Heading } from '../../features/typography/public';
|
|
7
7
|
import { Text } from '../../features/typography/public';
|
|
8
|
-
import { Inline } from '../../foundation';
|
|
9
8
|
import type { ZoraColor } from '../../internal/recipes';
|
|
10
9
|
import { resolveIconSize } from '../../internal/recipes';
|
|
11
10
|
import { useZoraTheme } from '../../theme/useZoraTheme';
|
|
@@ -57,9 +56,16 @@ function TimelineInner({
|
|
|
57
56
|
const iconSize = Math.max(12, resolveIconSize('s'));
|
|
58
57
|
|
|
59
58
|
return (
|
|
60
|
-
<
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
<View
|
|
60
|
+
direction="row"
|
|
61
|
+
key={item.id}
|
|
62
|
+
align="flex-start"
|
|
63
|
+
gap="m"
|
|
64
|
+
testID={item.testID}
|
|
65
|
+
wrap="nowrap"
|
|
66
|
+
>
|
|
67
|
+
<View align="center" flexShrink={0} gap="xs" style={{ width: 24 }}>
|
|
68
|
+
<View
|
|
63
69
|
bg={status === 'neutral' ? theme.semantics.neutral.surface : role.softBg}
|
|
64
70
|
borderColor={status === 'neutral' ? theme.semantics.neutral.divider : role.base}
|
|
65
71
|
borderWidth={1}
|
|
@@ -75,41 +81,41 @@ function TimelineInner({
|
|
|
75
81
|
size={iconSize}
|
|
76
82
|
/>
|
|
77
83
|
) : null}
|
|
78
|
-
</
|
|
84
|
+
</View>
|
|
79
85
|
|
|
80
86
|
{showConnector ? (
|
|
81
|
-
<
|
|
87
|
+
<View
|
|
82
88
|
bg={theme.semantics.neutral.divider}
|
|
83
89
|
height={connectorHeight}
|
|
84
90
|
radius="full"
|
|
85
91
|
style={{ width: 2 }}
|
|
86
92
|
/>
|
|
87
93
|
) : null}
|
|
88
|
-
</
|
|
94
|
+
</View>
|
|
89
95
|
|
|
90
|
-
<
|
|
91
|
-
<
|
|
96
|
+
<View flex={1} gap="xs" testID={testID}>
|
|
97
|
+
<View direction="row" align="flex-start" gap="s" justify="space-between" wrap="wrap">
|
|
92
98
|
<Heading level={compact ? 4 : 3}>{item.title}</Heading>
|
|
93
99
|
{item.meta ? (
|
|
94
100
|
<Text emphasis="muted" variant="caption">
|
|
95
101
|
{item.meta}
|
|
96
102
|
</Text>
|
|
97
103
|
) : null}
|
|
98
|
-
</
|
|
104
|
+
</View>
|
|
99
105
|
{item.description ? (
|
|
100
106
|
<Text emphasis="muted" variant="bodySmall">
|
|
101
107
|
{item.description}
|
|
102
108
|
</Text>
|
|
103
109
|
) : null}
|
|
104
|
-
</
|
|
105
|
-
</
|
|
110
|
+
</View>
|
|
111
|
+
</View>
|
|
106
112
|
);
|
|
107
113
|
};
|
|
108
114
|
|
|
109
115
|
return (
|
|
110
|
-
<
|
|
116
|
+
<View gap={gap} testID={testID}>
|
|
111
117
|
{items.map(renderItem)}
|
|
112
|
-
</
|
|
118
|
+
</View>
|
|
113
119
|
);
|
|
114
120
|
}
|
|
115
121
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
import { IconButton } from '../../features/button/public';
|
|
4
|
-
import {
|
|
4
|
+
import { View } from '../../features/layout/public';
|
|
5
5
|
import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
|
|
6
6
|
import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
|
|
7
|
-
import {
|
|
7
|
+
import { ListRow } from '../list';
|
|
8
8
|
import type { TreeItemNode, TreeItemRenderProps } from './types';
|
|
9
9
|
|
|
10
10
|
interface TreeItemProps<TId extends string = string> extends ZoraBaseProps {
|
|
@@ -46,10 +46,10 @@ function TreeItemInner<TId extends string = string>({
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return (
|
|
49
|
-
<
|
|
49
|
+
<ListRow
|
|
50
50
|
title={node.label}
|
|
51
|
-
|
|
52
|
-
<
|
|
51
|
+
action={
|
|
52
|
+
<View direction="row" gap="xs" align="center">
|
|
53
53
|
{node.actions}
|
|
54
54
|
{hasChildren ? (
|
|
55
55
|
<IconButton
|
|
@@ -61,19 +61,20 @@ function TreeItemInner<TId extends string = string>({
|
|
|
61
61
|
variant="ghost"
|
|
62
62
|
/>
|
|
63
63
|
) : null}
|
|
64
|
-
</
|
|
64
|
+
</View>
|
|
65
65
|
}
|
|
66
66
|
meta={node.meta}
|
|
67
67
|
disabled={node.disabled}
|
|
68
|
+
selected={isSelected}
|
|
68
69
|
/>
|
|
69
70
|
);
|
|
70
71
|
};
|
|
71
72
|
|
|
72
73
|
return (
|
|
73
|
-
<
|
|
74
|
-
<
|
|
74
|
+
<View testID={testID}>
|
|
75
|
+
<View style={{ paddingLeft: depth * 16 }}>{renderContent()}</View>
|
|
75
76
|
{hasChildren && isExpanded ? (
|
|
76
|
-
<
|
|
77
|
+
<View>
|
|
77
78
|
{node.children?.map((child) => (
|
|
78
79
|
<TreeItem
|
|
79
80
|
key={child.id}
|
|
@@ -87,9 +88,9 @@ function TreeItemInner<TId extends string = string>({
|
|
|
87
88
|
selectedId={selectedId}
|
|
88
89
|
/>
|
|
89
90
|
))}
|
|
90
|
-
</
|
|
91
|
+
</View>
|
|
91
92
|
) : null}
|
|
92
|
-
</
|
|
93
|
+
</View>
|
|
93
94
|
);
|
|
94
95
|
}
|
|
95
96
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { View } from '../../features/layout/public';
|
|
4
4
|
import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
|
|
5
5
|
import { TreeItem } from './TreeItem';
|
|
6
6
|
import type { TreeViewProps } from './types';
|
|
@@ -37,7 +37,7 @@ function TreeViewInner<TId extends string = string>({
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
return (
|
|
40
|
-
<
|
|
40
|
+
<View gap="none" testID={testID}>
|
|
41
41
|
{nodes.map((node) => (
|
|
42
42
|
<TreeItem
|
|
43
43
|
key={node.id}
|
|
@@ -51,7 +51,7 @@ function TreeViewInner<TId extends string = string>({
|
|
|
51
51
|
interactionPolicy={interactionPolicy}
|
|
52
52
|
/>
|
|
53
53
|
))}
|
|
54
|
-
</
|
|
54
|
+
</View>
|
|
55
55
|
);
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { expect, test } from 'bun:test';
|
|
2
2
|
|
|
3
|
-
test('passes the isolated Surface
|
|
3
|
+
test('passes the isolated Surface 6 and RN Web 0.21 acceptance suite', () => {
|
|
4
4
|
const subprocess = Bun.spawnSync({
|
|
5
5
|
cmd: [process.execPath, 'test', 'test-fixtures/platformAcceptance.test.tsx'],
|
|
6
6
|
stderr: 'pipe',
|
package/src/registry.test.ts
CHANGED
|
@@ -74,7 +74,7 @@ describe('ZORA_COMPONENT_REGISTRY', () => {
|
|
|
74
74
|
|
|
75
75
|
expect(registry).toEqual({});
|
|
76
76
|
expect(registryEntries).toContain('Screen');
|
|
77
|
-
expect(registryEntries).toContain('
|
|
77
|
+
expect(registryEntries).toContain('View');
|
|
78
78
|
expect(source).toContain("export type { ZoraComponentRegistry } from './registry';");
|
|
79
79
|
expect(source).toContain("export { ZORA_COMPONENT_REGISTRY } from './registry';");
|
|
80
80
|
});
|
package/src/registry.ts
CHANGED
|
@@ -27,6 +27,7 @@ import { PostCard } from './features/card/public';
|
|
|
27
27
|
import { ProductCard } from './features/card/public';
|
|
28
28
|
import { Chip } from './features/chip/public';
|
|
29
29
|
import { ChipGroup } from './features/chip/public';
|
|
30
|
+
import { ContentRail } from './features/content-rail/public';
|
|
30
31
|
import { DataTable } from './features/data-table/public';
|
|
31
32
|
import { DatePicker } from './features/date-picker/public';
|
|
32
33
|
import { Dialog } from './features/dialog/public';
|
|
@@ -42,11 +43,19 @@ import { Hero } from './features/hero/public';
|
|
|
42
43
|
import { Icon } from './features/icon/public';
|
|
43
44
|
import { Image } from './features/image/public';
|
|
44
45
|
import { KeyboardAvoidingView } from './features/keyboard-avoiding-view/public';
|
|
45
|
-
import {
|
|
46
|
-
|
|
46
|
+
import {
|
|
47
|
+
AppShell,
|
|
48
|
+
Divider,
|
|
49
|
+
Grid,
|
|
50
|
+
Screen,
|
|
51
|
+
ScreenSection,
|
|
52
|
+
ScrollView,
|
|
53
|
+
View,
|
|
54
|
+
} from './features/layout/public';
|
|
47
55
|
import { FlatList, SectionList } from './features/list/public';
|
|
48
56
|
import { MissingElement } from './features/missing-element/public';
|
|
49
57
|
import { Pagination } from './features/pagination/public';
|
|
58
|
+
import { PaletteItem } from './features/palette-item/public';
|
|
50
59
|
import { PopoverMenu } from './features/popover-menu/public';
|
|
51
60
|
import { Progress, ProgressRing } from './features/progress/public';
|
|
52
61
|
import { Rating } from './features/rating/public';
|
|
@@ -59,13 +68,6 @@ import { Toolbar } from './features/toolbar/public';
|
|
|
59
68
|
import { Heading } from './features/typography/public';
|
|
60
69
|
import { Text } from './features/typography/public';
|
|
61
70
|
import { Uploader } from './features/uploader/public';
|
|
62
|
-
import { Center, Inline, Show, Spacer } from './foundation';
|
|
63
|
-
import { AppShell } from './layout/app-shell';
|
|
64
|
-
import { Screen } from './layout/screen';
|
|
65
|
-
import { ScreenSection } from './layout/screen-section';
|
|
66
|
-
import { SettingsLayout } from './layout/settings-layout';
|
|
67
|
-
import { SidebarLayout } from './layout/sidebar-layout';
|
|
68
|
-
import { TopbarLayout } from './layout/topbar-layout';
|
|
69
71
|
import { ChatListItem } from './patterns/chat-list-item';
|
|
70
72
|
import { CollectionEditor } from './patterns/collection-editor';
|
|
71
73
|
import { ConfirmDialog } from './patterns/confirm-dialog';
|
|
@@ -79,10 +81,8 @@ import { ReaderSurface } from './patterns/reader';
|
|
|
79
81
|
import { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './patterns/scanner';
|
|
80
82
|
import { SectionHeader } from './patterns/section-header';
|
|
81
83
|
import { SelectableItem } from './patterns/selection';
|
|
82
|
-
import { SettingsRow } from './patterns/settings-row';
|
|
83
84
|
import { SwitchField } from './patterns/switch-field';
|
|
84
85
|
import { ThemeComposer } from './patterns/theme-composer';
|
|
85
|
-
import { PaletteItem, TileGrid } from './patterns/tile-grid';
|
|
86
86
|
import { Timeline } from './patterns/timeline';
|
|
87
87
|
import { TreeItem, TreeView } from './patterns/tree-view';
|
|
88
88
|
import { ThemeModeToggle } from './theme/ThemeModeToggle';
|
|
@@ -169,23 +169,15 @@ const _ZORA_COMPONENT_REGISTRY = {
|
|
|
169
169
|
BottomSheet,
|
|
170
170
|
FlatList,
|
|
171
171
|
SectionList,
|
|
172
|
+
ScrollView,
|
|
173
|
+
View,
|
|
172
174
|
ThemeModeToggle,
|
|
173
|
-
Box,
|
|
174
|
-
Center,
|
|
175
|
-
Container,
|
|
176
175
|
Divider,
|
|
177
176
|
Grid,
|
|
178
|
-
Inline,
|
|
179
|
-
Show,
|
|
180
|
-
Spacer,
|
|
181
|
-
Stack,
|
|
182
177
|
Surface,
|
|
183
178
|
AppShell,
|
|
184
179
|
Screen,
|
|
185
180
|
ScreenSection,
|
|
186
|
-
SettingsLayout,
|
|
187
|
-
SidebarLayout,
|
|
188
|
-
TopbarLayout,
|
|
189
181
|
ForgotPasswordForm,
|
|
190
182
|
OAuthProviderButton,
|
|
191
183
|
OAuthProviderList,
|
|
@@ -215,11 +207,9 @@ const _ZORA_COMPONENT_REGISTRY = {
|
|
|
215
207
|
ScanOverlay,
|
|
216
208
|
SectionHeader,
|
|
217
209
|
SelectableItem,
|
|
218
|
-
SettingsRow,
|
|
219
210
|
SwitchField,
|
|
220
211
|
ThemeComposer,
|
|
221
212
|
PaletteItem,
|
|
222
|
-
TileGrid,
|
|
223
213
|
Timeline,
|
|
224
214
|
TreeItem,
|
|
225
215
|
TreeView,
|
|
@@ -58,27 +58,9 @@ const REQUIRED_SHOWCASE_COVERAGE = {
|
|
|
58
58
|
'Text',
|
|
59
59
|
'Toolbar',
|
|
60
60
|
],
|
|
61
|
-
foundation: [
|
|
62
|
-
'Box',
|
|
63
|
-
'Center',
|
|
64
|
-
'Container',
|
|
65
|
-
'Divider',
|
|
66
|
-
'Grid',
|
|
67
|
-
'Inline',
|
|
68
|
-
'Show',
|
|
69
|
-
'Spacer',
|
|
70
|
-
'Stack',
|
|
71
|
-
'Surface',
|
|
72
|
-
],
|
|
61
|
+
foundation: ['Divider', 'Grid', 'Surface', 'View'],
|
|
73
62
|
features: ['Uploader', 'BottomSheet', 'FlatList', 'SectionList'],
|
|
74
|
-
layouts: [
|
|
75
|
-
'AppShell',
|
|
76
|
-
'Screen',
|
|
77
|
-
'ScreenSection',
|
|
78
|
-
'SettingsLayout',
|
|
79
|
-
'SidebarLayout',
|
|
80
|
-
'TopbarLayout',
|
|
81
|
-
],
|
|
63
|
+
layouts: ['AppShell', 'Screen', 'ScreenSection', 'ScrollView'],
|
|
82
64
|
patterns: [
|
|
83
65
|
'ForgotPasswordForm',
|
|
84
66
|
'OtpForm',
|
|
@@ -99,12 +81,10 @@ const REQUIRED_SHOWCASE_COVERAGE = {
|
|
|
99
81
|
'Panel',
|
|
100
82
|
'ReaderSurface',
|
|
101
83
|
'SectionHeader',
|
|
102
|
-
'SettingsRow',
|
|
103
84
|
'SwitchField',
|
|
104
85
|
'Timeline',
|
|
105
86
|
'ThemeComposer',
|
|
106
87
|
'PaletteItem',
|
|
107
|
-
'TileGrid',
|
|
108
88
|
'TreeItem',
|
|
109
89
|
'TreeView',
|
|
110
90
|
],
|