@ankhorage/zora 15.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 +16 -0
- package/README.md +15 -15
- package/dist/constants.d.ts +7 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +7 -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/button/utils/resolveButtonThemeRecipe.d.ts +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.d.ts +5 -0
- package/dist/features/dialog/adapters/inbound/Dialog.d.ts.map +1 -0
- package/dist/features/dialog/adapters/inbound/Dialog.js +45 -0
- package/dist/features/dialog/adapters/inbound/Dialog.js.map +1 -0
- package/dist/features/dialog/dialogMeta.d.ts +87 -0
- package/dist/features/dialog/dialogMeta.d.ts.map +1 -0
- package/dist/features/dialog/dialogMeta.js +59 -0
- package/dist/features/dialog/dialogMeta.js.map +1 -0
- package/dist/features/dialog/public.d.ts +3 -0
- package/dist/features/dialog/public.d.ts.map +1 -0
- package/dist/features/dialog/public.js +2 -0
- package/dist/features/dialog/public.js.map +1 -0
- 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/formFieldMeta.d.ts +1 -1
- package/dist/features/form/formFieldMeta.d.ts.map +1 -1
- package/dist/features/form/formFieldMeta.js +8 -1
- package/dist/features/form/formFieldMeta.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/radio/utils/resolveRadioGroupThemeRecipe.d.ts +1 -1
- package/dist/features/form/search-input/adapters/inbound/SearchInput.d.ts +4 -0
- package/dist/features/form/search-input/adapters/inbound/SearchInput.d.ts.map +1 -0
- package/dist/{components/search-bar/SearchBar.js → features/form/search-input/adapters/inbound/SearchInput.js} +8 -10
- package/dist/features/form/search-input/adapters/inbound/SearchInput.js.map +1 -0
- package/dist/features/form/search-input/public.d.ts +3 -0
- package/dist/features/form/search-input/public.d.ts.map +1 -0
- package/dist/features/form/search-input/public.js +2 -0
- package/dist/features/form/search-input/public.js.map +1 -0
- package/dist/features/form/search-input/searchInputMeta.d.ts +126 -0
- package/dist/features/form/search-input/searchInputMeta.d.ts.map +1 -0
- package/dist/features/form/search-input/searchInputMeta.js +67 -0
- package/dist/features/form/search-input/searchInputMeta.js.map +1 -0
- 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.d.ts +5 -0
- package/dist/features/pagination/adapters/inbound/Pagination.d.ts.map +1 -0
- package/dist/features/pagination/adapters/inbound/Pagination.js +43 -0
- package/dist/features/pagination/adapters/inbound/Pagination.js.map +1 -0
- package/dist/features/pagination/paginationMeta.d.ts +118 -0
- package/dist/features/pagination/paginationMeta.d.ts.map +1 -0
- package/dist/features/pagination/paginationMeta.js +53 -0
- package/dist/features/pagination/paginationMeta.js.map +1 -0
- package/dist/features/pagination/public.d.ts +3 -0
- package/dist/features/pagination/public.d.ts.map +1 -0
- package/dist/features/pagination/public.js +2 -0
- package/dist/features/pagination/public.js.map +1 -0
- package/dist/features/pagination/utils/resolvePaginationPage.d.ts +3 -0
- package/dist/features/pagination/utils/resolvePaginationPage.d.ts.map +1 -0
- package/dist/features/pagination/utils/resolvePaginationPage.js +7 -0
- package/dist/features/pagination/utils/resolvePaginationPage.js.map +1 -0
- package/dist/features/pagination/utils/resolvePaginationState.d.ts +17 -0
- package/dist/features/pagination/utils/resolvePaginationState.d.ts.map +1 -0
- package/dist/features/pagination/utils/resolvePaginationState.js +34 -0
- package/dist/features/pagination/utils/resolvePaginationState.js.map +1 -0
- 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 +4 -0
- package/dist/features/rating/adapters/inbound/Rating.d.ts.map +1 -0
- package/dist/features/rating/adapters/inbound/Rating.js +49 -0
- package/dist/features/rating/adapters/inbound/Rating.js.map +1 -0
- package/dist/features/rating/public.d.ts +3 -0
- package/dist/features/rating/public.d.ts.map +1 -0
- package/dist/features/rating/public.js +2 -0
- package/dist/features/rating/public.js.map +1 -0
- package/dist/features/rating/ratingMeta.d.ts +57 -0
- package/dist/features/rating/ratingMeta.d.ts.map +1 -0
- package/dist/features/rating/ratingMeta.js +43 -0
- package/dist/features/rating/ratingMeta.js.map +1 -0
- package/dist/features/rating/utils/resolveRatingSegments.d.ts +9 -0
- package/dist/features/rating/utils/resolveRatingSegments.d.ts.map +1 -0
- package/dist/features/rating/utils/resolveRatingSegments.js +14 -0
- package/dist/features/rating/utils/resolveRatingSegments.js.map +1 -0
- 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/adapters/inbound/Tab.d.ts +5 -0
- package/dist/features/tabs/adapters/inbound/Tab.d.ts.map +1 -0
- package/dist/features/tabs/adapters/inbound/Tab.js +14 -0
- package/dist/features/tabs/adapters/inbound/Tab.js.map +1 -0
- package/dist/features/tabs/adapters/inbound/TabList.d.ts +4 -0
- package/dist/features/tabs/adapters/inbound/TabList.d.ts.map +1 -0
- package/dist/features/tabs/adapters/inbound/TabList.js +9 -0
- package/dist/features/tabs/adapters/inbound/TabList.js.map +1 -0
- package/dist/features/tabs/adapters/inbound/TabPanel.d.ts +4 -0
- package/dist/features/tabs/adapters/inbound/TabPanel.d.ts.map +1 -0
- package/dist/features/tabs/adapters/inbound/TabPanel.js +11 -0
- package/dist/features/tabs/adapters/inbound/TabPanel.js.map +1 -0
- package/dist/features/tabs/adapters/inbound/Tabs.d.ts +4 -0
- package/dist/features/tabs/adapters/inbound/Tabs.d.ts.map +1 -0
- package/dist/features/tabs/adapters/inbound/Tabs.js +12 -0
- package/dist/features/tabs/adapters/inbound/Tabs.js.map +1 -0
- package/dist/features/tabs/composition/TabsInteractionPolicyContext.d.ts +3 -0
- package/dist/features/tabs/composition/TabsInteractionPolicyContext.d.ts.map +1 -0
- package/dist/features/tabs/composition/TabsInteractionPolicyContext.js +3 -0
- package/dist/features/tabs/composition/TabsInteractionPolicyContext.js.map +1 -0
- package/dist/features/tabs/public.d.ts +6 -0
- package/dist/features/tabs/public.d.ts.map +1 -0
- package/dist/features/tabs/public.js +5 -0
- package/dist/features/tabs/public.js.map +1 -0
- package/dist/features/tabs/tabListMeta.d.ts +9 -0
- package/dist/features/tabs/tabListMeta.d.ts.map +1 -0
- package/dist/features/tabs/tabListMeta.js +9 -0
- package/dist/features/tabs/tabListMeta.js.map +1 -0
- package/dist/features/tabs/tabMeta.d.ts +32 -0
- package/dist/features/tabs/tabMeta.d.ts.map +1 -0
- package/dist/features/tabs/tabMeta.js +14 -0
- package/dist/features/tabs/tabMeta.js.map +1 -0
- package/dist/features/tabs/tabPanelMeta.d.ts +15 -0
- package/dist/features/tabs/tabPanelMeta.d.ts.map +1 -0
- package/dist/features/tabs/tabPanelMeta.js +12 -0
- package/dist/features/tabs/tabPanelMeta.js.map +1 -0
- package/dist/features/tabs/tabsMeta.d.ts +58 -0
- package/dist/features/tabs/tabsMeta.d.ts.map +1 -0
- package/dist/features/tabs/tabsMeta.js +40 -0
- package/dist/features/tabs/tabsMeta.js.map +1 -0
- 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.d.ts +4 -0
- package/dist/features/toolbar/adapters/inbound/Toolbar.d.ts.map +1 -0
- package/dist/features/toolbar/adapters/inbound/Toolbar.js +14 -0
- package/dist/features/toolbar/adapters/inbound/Toolbar.js.map +1 -0
- package/dist/features/toolbar/public.d.ts +3 -0
- package/dist/features/toolbar/public.d.ts.map +1 -0
- package/dist/features/toolbar/public.js +2 -0
- package/dist/features/toolbar/public.js.map +1 -0
- package/dist/features/toolbar/toolbarMeta.d.ts +29 -0
- package/dist/features/toolbar/toolbarMeta.d.ts.map +1 -0
- package/dist/features/toolbar/toolbarMeta.js +22 -0
- package/dist/features/toolbar/toolbarMeta.js.map +1 -0
- package/dist/features/typography/utils/resolveHeadingThemeRecipe.d.ts +1 -1
- package/dist/features/typography/utils/resolveTextThemeRecipe.d.ts +1 -1
- package/dist/features/uploader/adapters/inbound/Uploader.d.ts.map +1 -1
- package/dist/features/uploader/adapters/inbound/Uploader.js +22 -22
- package/dist/features/uploader/adapters/inbound/Uploader.js.map +1 -1
- package/dist/index.d.ts +12 -34
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -17
- 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 +10 -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 +23 -31
- 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 +5 -5
- 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.d.ts.map +1 -1
- package/dist/patterns/theme-composer/ThemeComposer.js +33 -33
- 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 +16 -32
- 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/dialog.d.ts +14 -0
- package/dist/types/dialog.d.ts.map +1 -0
- package/dist/types/dialog.js +2 -0
- package/dist/types/dialog.js.map +1 -0
- 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/pagination.d.ts +16 -0
- package/dist/types/pagination.d.ts.map +1 -0
- package/dist/types/pagination.js +2 -0
- package/dist/types/pagination.js.map +1 -0
- 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/rating.d.ts +9 -0
- package/dist/types/rating.d.ts.map +1 -0
- package/dist/types/rating.js +2 -0
- package/dist/types/rating.js.map +1 -0
- package/dist/types/search-input.d.ts +14 -0
- package/dist/types/search-input.d.ts.map +1 -0
- package/dist/types/search-input.js +2 -0
- package/dist/types/search-input.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/dist/types/tabs.d.ts +21 -0
- package/dist/types/tabs.d.ts.map +1 -0
- package/dist/types/tabs.js +2 -0
- package/dist/types/tabs.js.map +1 -0
- package/dist/types/toolbar.d.ts +8 -0
- package/dist/types/toolbar.d.ts.map +1 -0
- package/dist/types/toolbar.js +2 -0
- package/dist/types/toolbar.js.map +1 -0
- package/package.json +2 -2
- package/src/audit.test.ts +10 -53
- package/src/constants.ts +7 -1
- package/src/expo57Migration.test.ts +4 -3
- package/src/featureManifest.test.ts +31 -2
- 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 +70 -0
- package/src/features/dialog/dialogMeta.ts +60 -0
- package/src/features/dialog/public.ts +2 -0
- 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/formFieldMeta.ts +8 -1
- package/src/features/form/radio/adapters/inbound/RadioGroup.tsx +10 -10
- package/src/{components/search-bar/SearchBar.tsx → features/form/search-input/adapters/inbound/SearchInput.tsx} +10 -15
- package/src/features/form/search-input/public.ts +2 -0
- package/src/features/form/search-input/searchInputMeta.ts +68 -0
- 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 +116 -0
- package/src/features/pagination/paginationMeta.ts +54 -0
- package/src/features/pagination/public.ts +2 -0
- package/src/features/pagination/utils/resolvePaginationPage.ts +6 -0
- package/src/features/pagination/utils/resolvePaginationState.test.ts +29 -0
- package/src/features/pagination/utils/resolvePaginationState.ts +70 -0
- package/src/{patterns/tile-grid → features/palette-item/adapters/inbound}/PaletteItem.tsx +11 -11
- package/src/{components/rating/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 +70 -0
- package/src/features/rating/public.ts +2 -0
- package/src/features/rating/ratingMeta.ts +44 -0
- package/src/features/rating/utils/resolveRatingSegments.test.ts +20 -0
- package/src/features/rating/utils/resolveRatingSegments.ts +19 -0
- 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/tabs/adapters/inbound/Tab.tsx +26 -0
- package/src/features/tabs/adapters/inbound/TabList.tsx +18 -0
- package/src/features/tabs/adapters/inbound/TabPanel.tsx +23 -0
- package/src/features/tabs/adapters/inbound/Tabs.tsx +23 -0
- package/src/features/tabs/composition/TabsInteractionPolicyContext.ts +4 -0
- package/src/features/tabs/public.ts +5 -0
- package/src/features/tabs/tabListMeta.ts +10 -0
- package/src/features/tabs/tabMeta.ts +15 -0
- package/src/features/tabs/tabPanelMeta.ts +13 -0
- package/src/features/tabs/tabsMeta.ts +41 -0
- 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 +31 -0
- package/src/features/toolbar/public.ts +2 -0
- package/src/features/toolbar/toolbarMeta.ts +24 -0
- package/src/{components → features/typography}/contentFallback.test.ts +2 -8
- package/src/features/uploader/adapters/inbound/Uploader.tsx +22 -22
- package/src/index.ts +40 -43
- package/src/interactionPolicy.test.ts +1 -1
- package/src/metadata/allowedChildren.ts +10 -6
- package/src/metadata/componentMeta.test.ts +22 -7
- package/src/metadata/componentMeta.ts +23 -31
- 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 +6 -6
- 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 +36 -37
- 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 +24 -32
- package/src/showcaseCoverage.test.ts +8 -25
- package/src/theme/themeScopeStructure.test.ts +26 -42
- package/src/types/button-group.ts +2 -2
- package/src/types/dialog.ts +15 -0
- package/src/types/gradient.ts +6 -6
- package/src/types/layout.ts +28 -7
- package/src/{components/pagination/types.ts → types/pagination.ts} +5 -8
- package/src/types/palette-item.ts +14 -0
- package/src/types/rating.ts +9 -0
- package/src/types/search-input.ts +14 -0
- package/src/types/skeleton.ts +5 -5
- package/src/types/tabs.ts +25 -0
- package/src/types/toolbar.ts +9 -0
- package/dist/components/modal/Modal.d.ts +0 -7
- package/dist/components/modal/Modal.d.ts.map +0 -1
- package/dist/components/modal/Modal.js +0 -39
- package/dist/components/modal/Modal.js.map +0 -1
- package/dist/components/modal/index.d.ts +0 -3
- package/dist/components/modal/index.d.ts.map +0 -1
- package/dist/components/modal/index.js +0 -2
- package/dist/components/modal/index.js.map +0 -1
- package/dist/components/modal/meta.d.ts +0 -9
- package/dist/components/modal/meta.d.ts.map +0 -1
- package/dist/components/modal/meta.js +0 -9
- package/dist/components/modal/meta.js.map +0 -1
- package/dist/components/modal/types.d.ts +0 -12
- package/dist/components/modal/types.d.ts.map +0 -1
- package/dist/components/modal/types.js +0 -2
- package/dist/components/modal/types.js.map +0 -1
- package/dist/components/pagination/Pagination.d.ts +0 -7
- package/dist/components/pagination/Pagination.d.ts.map +0 -1
- package/dist/components/pagination/Pagination.js +0 -96
- package/dist/components/pagination/Pagination.js.map +0 -1
- package/dist/components/pagination/index.d.ts +0 -3
- package/dist/components/pagination/index.d.ts.map +0 -1
- package/dist/components/pagination/index.js +0 -2
- package/dist/components/pagination/index.js.map +0 -1
- package/dist/components/pagination/meta.d.ts +0 -9
- package/dist/components/pagination/meta.d.ts.map +0 -1
- package/dist/components/pagination/meta.js +0 -9
- package/dist/components/pagination/meta.js.map +0 -1
- package/dist/components/pagination/types.d.ts +0 -18
- package/dist/components/pagination/types.d.ts.map +0 -1
- package/dist/components/pagination/types.js +0 -2
- package/dist/components/pagination/types.js.map +0 -1
- package/dist/components/rating/Rating.d.ts +0 -7
- package/dist/components/rating/Rating.d.ts.map +0 -1
- package/dist/components/rating/Rating.js +0 -26
- package/dist/components/rating/Rating.js.map +0 -1
- package/dist/components/rating/index.d.ts +0 -3
- package/dist/components/rating/index.d.ts.map +0 -1
- package/dist/components/rating/index.js +0 -2
- package/dist/components/rating/index.js.map +0 -1
- package/dist/components/rating/meta.d.ts +0 -9
- package/dist/components/rating/meta.d.ts.map +0 -1
- package/dist/components/rating/meta.js +0 -9
- package/dist/components/rating/meta.js.map +0 -1
- package/dist/components/rating/resolveRatingSegments.d.ts +0 -7
- package/dist/components/rating/resolveRatingSegments.d.ts.map +0 -1
- package/dist/components/rating/resolveRatingSegments.js +0 -22
- package/dist/components/rating/resolveRatingSegments.js.map +0 -1
- package/dist/components/rating/types.d.ts +0 -11
- package/dist/components/rating/types.d.ts.map +0 -1
- package/dist/components/rating/types.js +0 -26
- package/dist/components/rating/types.js.map +0 -1
- package/dist/components/search-bar/SearchBar.d.ts +0 -7
- package/dist/components/search-bar/SearchBar.d.ts.map +0 -1
- package/dist/components/search-bar/SearchBar.js.map +0 -1
- package/dist/components/search-bar/index.d.ts +0 -3
- package/dist/components/search-bar/index.d.ts.map +0 -1
- package/dist/components/search-bar/index.js +0 -2
- package/dist/components/search-bar/index.js.map +0 -1
- package/dist/components/search-bar/meta.d.ts +0 -9
- package/dist/components/search-bar/meta.d.ts.map +0 -1
- package/dist/components/search-bar/meta.js +0 -9
- package/dist/components/search-bar/meta.js.map +0 -1
- package/dist/components/search-bar/types.d.ts +0 -14
- package/dist/components/search-bar/types.d.ts.map +0 -1
- package/dist/components/search-bar/types.js +0 -2
- package/dist/components/search-bar/types.js.map +0 -1
- package/dist/components/tabs/Tabs.d.ts +0 -9
- package/dist/components/tabs/Tabs.d.ts.map +0 -1
- package/dist/components/tabs/Tabs.js +0 -59
- package/dist/components/tabs/Tabs.js.map +0 -1
- package/dist/components/tabs/index.d.ts +0 -3
- package/dist/components/tabs/index.d.ts.map +0 -1
- package/dist/components/tabs/index.js +0 -3
- package/dist/components/tabs/index.js.map +0 -1
- package/dist/components/tabs/meta.d.ts +0 -9
- package/dist/components/tabs/meta.d.ts.map +0 -1
- package/dist/components/tabs/meta.js +0 -9
- package/dist/components/tabs/meta.js.map +0 -1
- package/dist/components/tabs/types.d.ts +0 -22
- package/dist/components/tabs/types.d.ts.map +0 -1
- package/dist/components/tabs/types.js +0 -2
- package/dist/components/tabs/types.js.map +0 -1
- package/dist/components/toolbar/Toolbar.d.ts +0 -9
- package/dist/components/toolbar/Toolbar.d.ts.map +0 -1
- package/dist/components/toolbar/Toolbar.js +0 -26
- package/dist/components/toolbar/Toolbar.js.map +0 -1
- package/dist/components/toolbar/ToolbarAction.d.ts +0 -9
- package/dist/components/toolbar/ToolbarAction.d.ts.map +0 -1
- package/dist/components/toolbar/ToolbarAction.js +0 -13
- package/dist/components/toolbar/ToolbarAction.js.map +0 -1
- package/dist/components/toolbar/index.d.ts +0 -4
- package/dist/components/toolbar/index.d.ts.map +0 -1
- package/dist/components/toolbar/index.js +0 -4
- package/dist/components/toolbar/index.js.map +0 -1
- package/dist/components/toolbar/meta.d.ts +0 -17
- package/dist/components/toolbar/meta.d.ts.map +0 -1
- package/dist/components/toolbar/meta.js +0 -17
- package/dist/components/toolbar/meta.js.map +0 -1
- package/dist/components/toolbar/types.d.ts +0 -18
- package/dist/components/toolbar/types.d.ts.map +0 -1
- package/dist/components/toolbar/types.js +0 -2
- package/dist/components/toolbar/types.js.map +0 -1
- 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/components/modal/Modal.tsx +0 -63
- package/src/components/modal/index.ts +0 -2
- package/src/components/modal/meta.ts +0 -10
- package/src/components/modal/types.ts +0 -16
- package/src/components/pagination/Pagination.tsx +0 -199
- package/src/components/pagination/index.ts +0 -2
- package/src/components/pagination/meta.ts +0 -10
- package/src/components/rating/Rating.tsx +0 -42
- package/src/components/rating/index.ts +0 -2
- package/src/components/rating/resolveRatingSegments.test.ts +0 -60
- package/src/components/rating/resolveRatingSegments.ts +0 -34
- package/src/components/rating/types.ts +0 -37
- package/src/components/search-bar/index.ts +0 -2
- package/src/components/search-bar/meta.ts +0 -10
- package/src/components/search-bar/types.ts +0 -14
- package/src/components/tabs/Tabs.tsx +0 -129
- package/src/components/tabs/index.ts +0 -2
- package/src/components/tabs/meta.ts +0 -10
- package/src/components/tabs/types.ts +0 -25
- package/src/components/toolbar/Toolbar.tsx +0 -48
- package/src/components/toolbar/ToolbarAction.tsx +0 -28
- package/src/components/toolbar/index.ts +0 -3
- package/src/components/toolbar/meta.ts +0 -19
- package/src/components/toolbar/types.ts +0 -21
- 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/meta.ts +0 -10
- 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
package/src/index.ts
CHANGED
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
export type { ModalProps } from './components/modal';
|
|
2
|
-
export { Modal } from './components/modal';
|
|
3
|
-
export type { PaginationProps } from './components/pagination';
|
|
4
|
-
export { Pagination } from './components/pagination';
|
|
5
|
-
export type { RatingProps } from './components/rating';
|
|
6
|
-
export { Rating } from './components/rating';
|
|
7
|
-
export type { SearchBarProps } from './components/search-bar';
|
|
8
|
-
export { SearchBar } from './components/search-bar';
|
|
9
|
-
export type { TabItem, TabsProps, TabsVariant } from './components/tabs';
|
|
10
|
-
export { Tabs } from './components/tabs';
|
|
11
|
-
export type { ToolbarActionProps, ToolbarPosition, ToolbarProps } from './components/toolbar';
|
|
12
|
-
export { Toolbar, ToolbarAction } from './components/toolbar';
|
|
13
1
|
export { ZORA_CORE_PLUGIN } from './corePlugin';
|
|
14
2
|
export { ZORA_CORE_PLUGIN_METADATA } from './corePluginMetadata';
|
|
15
3
|
export {
|
|
@@ -100,6 +88,16 @@ export type { ChipProps } from './features/chip/public';
|
|
|
100
88
|
export type { ChipGroupItem, ChipGroupProps } from './features/chip/public';
|
|
101
89
|
export { Chip } from './features/chip/public';
|
|
102
90
|
export { ChipGroup } from './features/chip/public';
|
|
91
|
+
export type {
|
|
92
|
+
ContentRailControlPressEvent,
|
|
93
|
+
ContentRailDirection,
|
|
94
|
+
ContentRailItemSize,
|
|
95
|
+
ContentRailMotion,
|
|
96
|
+
ContentRailProps,
|
|
97
|
+
ContentRailSpacing,
|
|
98
|
+
ContentRailVisibleRangeChangeEvent,
|
|
99
|
+
} from './features/content-rail/public';
|
|
100
|
+
export { ContentRail } from './features/content-rail/public';
|
|
103
101
|
export type {
|
|
104
102
|
DataTableCellContext,
|
|
105
103
|
DataTableColumn,
|
|
@@ -116,6 +114,7 @@ export {
|
|
|
116
114
|
type DatePickerProps,
|
|
117
115
|
type DatePickerValue,
|
|
118
116
|
} from './features/date-picker/public';
|
|
117
|
+
export { Dialog, type DialogProps } from './features/dialog/public';
|
|
119
118
|
export {
|
|
120
119
|
EmptyState,
|
|
121
120
|
type EmptyStateAction,
|
|
@@ -161,6 +160,7 @@ export {
|
|
|
161
160
|
type RadioGroupProps,
|
|
162
161
|
type RadioProps,
|
|
163
162
|
} from './features/form/radio/public';
|
|
163
|
+
export { SearchInput, type SearchInputProps } from './features/form/search-input/public';
|
|
164
164
|
export { Select, type SelectOption, type SelectProps } from './features/form/select/public';
|
|
165
165
|
export {
|
|
166
166
|
TextInput,
|
|
@@ -196,23 +196,23 @@ export {
|
|
|
196
196
|
type KeyboardAvoidingViewProps,
|
|
197
197
|
} from './features/keyboard-avoiding-view/public';
|
|
198
198
|
export type {
|
|
199
|
-
|
|
200
|
-
ContainerProps,
|
|
199
|
+
AppShellProps,
|
|
201
200
|
DividerProps,
|
|
202
201
|
GridProps,
|
|
203
|
-
|
|
202
|
+
ScreenProps,
|
|
203
|
+
ScreenSectionProps,
|
|
204
|
+
ScrollViewProps,
|
|
205
|
+
ViewProps,
|
|
204
206
|
} from './features/layout/public';
|
|
205
|
-
export
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
207
|
+
export {
|
|
208
|
+
AppShell,
|
|
209
|
+
Divider,
|
|
210
|
+
Grid,
|
|
211
|
+
Screen,
|
|
212
|
+
ScreenSection,
|
|
213
|
+
ScrollView,
|
|
214
|
+
View,
|
|
213
215
|
} from './features/layout/public';
|
|
214
|
-
export { Box, Container, Divider, Grid, Stack } from './features/layout/public';
|
|
215
|
-
export { ContentRail } from './features/layout/public';
|
|
216
216
|
export type {
|
|
217
217
|
ManifestListProps,
|
|
218
218
|
ManifestListSection,
|
|
@@ -220,6 +220,9 @@ export type {
|
|
|
220
220
|
} from './features/list/public';
|
|
221
221
|
export { FlatList, SectionList } from './features/list/public';
|
|
222
222
|
export { MissingElement, type MissingElementProps } from './features/missing-element/public';
|
|
223
|
+
export { Pagination, type PaginationProps } from './features/pagination/public';
|
|
224
|
+
export type { PaletteItemProps } from './features/palette-item/public';
|
|
225
|
+
export { PaletteItem } from './features/palette-item/public';
|
|
223
226
|
export {
|
|
224
227
|
PopoverMenu,
|
|
225
228
|
type PopoverMenuAction,
|
|
@@ -232,6 +235,7 @@ export {
|
|
|
232
235
|
ProgressRing,
|
|
233
236
|
type ProgressRingProps,
|
|
234
237
|
} from './features/progress/public';
|
|
238
|
+
export { Rating, type RatingProps } from './features/rating/public';
|
|
235
239
|
export {
|
|
236
240
|
Skeleton,
|
|
237
241
|
SkeletonCard,
|
|
@@ -247,6 +251,16 @@ export {
|
|
|
247
251
|
} from './features/skeleton/public';
|
|
248
252
|
export type { SurfaceProps, SurfaceVariant } from './features/surface/public';
|
|
249
253
|
export { Surface } from './features/surface/public';
|
|
254
|
+
export {
|
|
255
|
+
Tab,
|
|
256
|
+
TabList,
|
|
257
|
+
type TabListProps,
|
|
258
|
+
TabPanel,
|
|
259
|
+
type TabPanelProps,
|
|
260
|
+
type TabProps,
|
|
261
|
+
Tabs,
|
|
262
|
+
type TabsProps,
|
|
263
|
+
} from './features/tabs/public';
|
|
250
264
|
export {
|
|
251
265
|
TimePicker,
|
|
252
266
|
type TimePickerProps,
|
|
@@ -260,6 +274,7 @@ export type {
|
|
|
260
274
|
ToastStatus,
|
|
261
275
|
} from './features/toast/public';
|
|
262
276
|
export { Toast, ToastProvider, useToast } from './features/toast/public';
|
|
277
|
+
export { Toolbar, type ToolbarProps } from './features/toolbar/public';
|
|
263
278
|
export type {
|
|
264
279
|
HeadingAlign,
|
|
265
280
|
HeadingColor,
|
|
@@ -288,8 +303,6 @@ export type {
|
|
|
288
303
|
ValidateUploadAssetInput,
|
|
289
304
|
} from './features/uploader/public';
|
|
290
305
|
export { Uploader, validateUploadAsset } from './features/uploader/public';
|
|
291
|
-
export type { CenterProps, InlineProps, ShowProps, SpacerProps } from './foundation';
|
|
292
|
-
export { Center, Inline, Show, Spacer } from './foundation';
|
|
293
306
|
export type {
|
|
294
307
|
ZoraColor,
|
|
295
308
|
ZoraEmphasis,
|
|
@@ -302,18 +315,6 @@ export {
|
|
|
302
315
|
ZORA_PALETTE_COLORS,
|
|
303
316
|
ZORA_STATUS_COLORS,
|
|
304
317
|
} from './internal/colorModel';
|
|
305
|
-
export type { AppShellProps } from './layout/app-shell';
|
|
306
|
-
export { AppShell } from './layout/app-shell';
|
|
307
|
-
export type { ScreenProps } from './layout/screen';
|
|
308
|
-
export { Screen } from './layout/screen';
|
|
309
|
-
export type { ScreenSectionProps } from './layout/screen-section';
|
|
310
|
-
export { ScreenSection } from './layout/screen-section';
|
|
311
|
-
export type { SettingsLayoutProps } from './layout/settings-layout';
|
|
312
|
-
export { SettingsLayout } from './layout/settings-layout';
|
|
313
|
-
export type { SidebarLayoutProps } from './layout/sidebar-layout';
|
|
314
|
-
export { SidebarLayout } from './layout/sidebar-layout';
|
|
315
|
-
export type { TopbarLayoutProps } from './layout/topbar-layout';
|
|
316
|
-
export { TopbarLayout } from './layout/topbar-layout';
|
|
317
318
|
export type {
|
|
318
319
|
ZoraBindableComponentType,
|
|
319
320
|
ZoraComponentBlueprint,
|
|
@@ -413,14 +414,10 @@ export type {
|
|
|
413
414
|
UseSelectionResult,
|
|
414
415
|
} from './patterns/selection';
|
|
415
416
|
export { SelectableItem, SelectionProvider, useSelection } from './patterns/selection';
|
|
416
|
-
export type { SettingsRowProps } from './patterns/settings-row';
|
|
417
|
-
export { SettingsRow } from './patterns/settings-row';
|
|
418
417
|
export type { SwitchFieldProps } from './patterns/switch-field';
|
|
419
418
|
export { SwitchField } from './patterns/switch-field';
|
|
420
419
|
export type { ThemeComposerProps } from './patterns/theme-composer';
|
|
421
420
|
export { ThemeComposer } from './patterns/theme-composer';
|
|
422
|
-
export type { PaletteItemProps, TileGridProps } from './patterns/tile-grid';
|
|
423
|
-
export { PaletteItem, TileGrid } from './patterns/tile-grid';
|
|
424
421
|
export type { TimelineItem, TimelineProps } from './patterns/timeline';
|
|
425
422
|
export { Timeline } from './patterns/timeline';
|
|
426
423
|
export type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './patterns/tree-view';
|
|
@@ -195,7 +195,7 @@ describe('ContentRail', () => {
|
|
|
195
195
|
});
|
|
196
196
|
|
|
197
197
|
test('suppresses scrolling and forwards interactionPolicy to owned controls', () => {
|
|
198
|
-
const source = readSource('features/
|
|
198
|
+
const source = readSource('features/content-rail/adapters/inbound/ContentRail.tsx');
|
|
199
199
|
|
|
200
200
|
expect(source).not.toMatch(/interactionPolicy:\s*_interactionPolicy/);
|
|
201
201
|
expect(source).toContain('scrollEnabled={!passive}');
|
|
@@ -17,6 +17,12 @@ export const CONTAINER_ALLOWED_CHILDREN = [
|
|
|
17
17
|
'ChipGroup',
|
|
18
18
|
'DataTable',
|
|
19
19
|
'DatePicker',
|
|
20
|
+
'Dialog',
|
|
21
|
+
'Pagination',
|
|
22
|
+
'Rating',
|
|
23
|
+
'SearchInput',
|
|
24
|
+
'Tabs',
|
|
25
|
+
'Toolbar',
|
|
20
26
|
'Skeleton',
|
|
21
27
|
'SkeletonCard',
|
|
22
28
|
'SkeletonList',
|
|
@@ -27,11 +33,10 @@ export const CONTAINER_ALLOWED_CHILDREN = [
|
|
|
27
33
|
'SectionList',
|
|
28
34
|
'BottomSheet',
|
|
29
35
|
'ProductCard',
|
|
30
|
-
'
|
|
31
|
-
'
|
|
36
|
+
'View',
|
|
37
|
+
'ScrollView',
|
|
32
38
|
'Grid',
|
|
33
39
|
'Gradient',
|
|
34
|
-
'Container',
|
|
35
40
|
'Divider',
|
|
36
41
|
'Text',
|
|
37
42
|
'Heading',
|
|
@@ -51,7 +56,6 @@ export const CONTAINER_ALLOWED_CHILDREN = [
|
|
|
51
56
|
'Notice',
|
|
52
57
|
'EmptyState',
|
|
53
58
|
'SectionHeader',
|
|
54
|
-
'SettingsRow',
|
|
55
59
|
'PostCard',
|
|
56
60
|
'ChatListItem',
|
|
57
61
|
'MessageBubble',
|
|
@@ -71,8 +75,8 @@ export const CONTENT_RAIL_ALLOWED_CHILDREN = [
|
|
|
71
75
|
'Badge',
|
|
72
76
|
'Button',
|
|
73
77
|
'IconButton',
|
|
74
|
-
'
|
|
75
|
-
'
|
|
78
|
+
'View',
|
|
79
|
+
'ScrollView',
|
|
76
80
|
'Card',
|
|
77
81
|
'Panel',
|
|
78
82
|
'Image',
|
|
@@ -106,6 +106,7 @@ describe('ZORA_COMPONENT_META invariants', () => {
|
|
|
106
106
|
'Checkbox',
|
|
107
107
|
'CheckboxGroup',
|
|
108
108
|
'RadioGroup',
|
|
109
|
+
'SearchInput',
|
|
109
110
|
'Select',
|
|
110
111
|
'TextInput',
|
|
111
112
|
]);
|
|
@@ -152,6 +153,10 @@ describe('ZORA_COMPONENT_META invariants', () => {
|
|
|
152
153
|
'ChipGroup',
|
|
153
154
|
'DataTable',
|
|
154
155
|
'DatePicker',
|
|
156
|
+
'Pagination',
|
|
157
|
+
'Rating',
|
|
158
|
+
'SearchInput',
|
|
159
|
+
'Tab',
|
|
155
160
|
'Skeleton',
|
|
156
161
|
'SkeletonCard',
|
|
157
162
|
'SkeletonList',
|
|
@@ -160,7 +165,6 @@ describe('ZORA_COMPONENT_META invariants', () => {
|
|
|
160
165
|
'MetricCard',
|
|
161
166
|
'Uploader',
|
|
162
167
|
'SectionHeader',
|
|
163
|
-
'SettingsRow',
|
|
164
168
|
'EmptyState',
|
|
165
169
|
'Hero',
|
|
166
170
|
'Button',
|
|
@@ -191,6 +195,7 @@ describe('ZORA_COMPONENT_META invariants', () => {
|
|
|
191
195
|
const expectedContainerNodes = new Set([
|
|
192
196
|
'Accordion',
|
|
193
197
|
'AccordionItem',
|
|
198
|
+
'Dialog',
|
|
194
199
|
'Form',
|
|
195
200
|
'Gradient',
|
|
196
201
|
'Surface',
|
|
@@ -208,13 +213,15 @@ describe('ZORA_COMPONENT_META invariants', () => {
|
|
|
208
213
|
'Notice',
|
|
209
214
|
'PostCard',
|
|
210
215
|
'MessageBubble',
|
|
211
|
-
'
|
|
212
|
-
|
|
213
|
-
'Stack',
|
|
216
|
+
'View',
|
|
217
|
+
'ScrollView',
|
|
214
218
|
'Grid',
|
|
215
|
-
'Container',
|
|
216
219
|
'BarcodeScannerView',
|
|
217
220
|
'ContentRail',
|
|
221
|
+
'Tabs',
|
|
222
|
+
'TabList',
|
|
223
|
+
'TabPanel',
|
|
224
|
+
'Toolbar',
|
|
218
225
|
]);
|
|
219
226
|
|
|
220
227
|
for (const [key, meta] of Object.entries(ZORA_COMPONENT_META)) {
|
|
@@ -239,6 +246,14 @@ describe('ZORA_COMPONENT_META invariants', () => {
|
|
|
239
246
|
}
|
|
240
247
|
});
|
|
241
248
|
|
|
249
|
+
test('Tabs constrain authored content to the accessible tab hierarchy', () => {
|
|
250
|
+
expect(ZORA_COMPONENT_META.Tabs.allowedChildren).toEqual(['TabList', 'TabPanel']);
|
|
251
|
+
expect(ZORA_COMPONENT_META.TabList.allowedChildren).toEqual(['Tab']);
|
|
252
|
+
expect(ZORA_COMPONENT_META.Tab.allowedChildren).toEqual([]);
|
|
253
|
+
expect(ZORA_COMPONENT_META.TabPanel.allowedChildren.length).toBeGreaterThan(0);
|
|
254
|
+
expect(ZORA_COMPONENT_META.Tabs.events?.valueChange?.eventType).toBe('tabs.valueChange');
|
|
255
|
+
});
|
|
256
|
+
|
|
242
257
|
test('Accordion constrains authored items to its canonical hierarchy', () => {
|
|
243
258
|
expect(ZORA_COMPONENT_META.Accordion.directManifestNode).toBe(true);
|
|
244
259
|
expect(ZORA_COMPONENT_META.Accordion.allowedChildren).toEqual(['AccordionItem']);
|
|
@@ -369,8 +384,8 @@ describe('ZORA_COMPONENT_META invariants', () => {
|
|
|
369
384
|
'Badge',
|
|
370
385
|
'Button',
|
|
371
386
|
'IconButton',
|
|
372
|
-
'
|
|
373
|
-
'
|
|
387
|
+
'View',
|
|
388
|
+
'ScrollView',
|
|
374
389
|
'Card',
|
|
375
390
|
'Panel',
|
|
376
391
|
'Image',
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { modalMeta } from '../components/modal/meta';
|
|
2
|
-
import { paginationMeta } from '../components/pagination/meta';
|
|
3
|
-
import { ratingMeta } from '../components/rating/meta';
|
|
4
|
-
import { searchBarMeta } from '../components/search-bar/meta';
|
|
5
|
-
import { tabsMeta } from '../components/tabs/meta';
|
|
6
|
-
import { toolbarActionMeta, toolbarMeta } from '../components/toolbar/meta';
|
|
7
1
|
import { accordionItemMeta } from '../features/accordion/accordionItemMeta';
|
|
8
2
|
import { accordionMeta } from '../features/accordion/accordionMeta';
|
|
9
3
|
import { activityIndicatorMeta } from '../features/activity-indicator/activityIndicatorMeta';
|
|
@@ -29,8 +23,10 @@ import { postCardMeta } from '../features/card/postCardMeta';
|
|
|
29
23
|
import { productCardMeta } from '../features/card/productCardMeta';
|
|
30
24
|
import { chipGroupMeta } from '../features/chip/chipGroupMeta';
|
|
31
25
|
import { chipMeta } from '../features/chip/chipMeta';
|
|
26
|
+
import { contentRailMeta } from '../features/content-rail/contentRailMeta';
|
|
32
27
|
import { dataTableMeta } from '../features/data-table/dataTableMeta';
|
|
33
28
|
import { datePickerMeta } from '../features/date-picker/datePickerMeta';
|
|
29
|
+
import { dialogMeta } from '../features/dialog/dialogMeta';
|
|
34
30
|
import { emptyStateMeta } from '../features/empty-state/emptyStateMeta';
|
|
35
31
|
import { checkboxGroupMeta, checkboxMeta } from '../features/form/checkbox/checkboxMeta';
|
|
36
32
|
import { formActionsMeta } from '../features/form/formActionsMeta';
|
|
@@ -38,6 +34,7 @@ import { formErrorMeta } from '../features/form/formErrorMeta';
|
|
|
38
34
|
import { formFieldMeta } from '../features/form/formFieldMeta';
|
|
39
35
|
import { formMeta } from '../features/form/formMeta';
|
|
40
36
|
import { radioGroupMeta, radioMeta } from '../features/form/radio/radioMeta';
|
|
37
|
+
import { searchInputMeta } from '../features/form/search-input/searchInputMeta';
|
|
41
38
|
import { selectMeta } from '../features/form/select/selectMeta';
|
|
42
39
|
import { textInputMeta } from '../features/form/text-input/textInputMeta';
|
|
43
40
|
import { gradientMeta } from '../features/gradient/gradientMeta';
|
|
@@ -45,17 +42,21 @@ import { heroMeta } from '../features/hero/heroMeta';
|
|
|
45
42
|
import { iconMeta } from '../features/icon/iconMeta';
|
|
46
43
|
import { imageMeta } from '../features/image/imageMeta';
|
|
47
44
|
import { keyboardAvoidingViewMeta } from '../features/keyboard-avoiding-view/keyboardAvoidingViewMeta';
|
|
48
|
-
import {
|
|
49
|
-
import { containerMeta } from '../features/layout/containerMeta';
|
|
50
|
-
import { contentRailMeta } from '../features/layout/contentRailMeta';
|
|
45
|
+
import { appShellMeta } from '../features/layout/appShellMeta';
|
|
51
46
|
import { dividerMeta } from '../features/layout/dividerMeta';
|
|
52
47
|
import { gridMeta } from '../features/layout/gridMeta';
|
|
53
|
-
import {
|
|
48
|
+
import { screenMeta } from '../features/layout/screenMeta';
|
|
49
|
+
import { screenSectionMeta } from '../features/layout/screenSectionMeta';
|
|
50
|
+
import { scrollViewMeta } from '../features/layout/scrollViewMeta';
|
|
51
|
+
import { viewMeta } from '../features/layout/viewMeta';
|
|
54
52
|
import { flatListMeta } from '../features/list/flatListMeta';
|
|
55
53
|
import { sectionListMeta } from '../features/list/sectionListMeta';
|
|
56
54
|
import { missingElementMeta } from '../features/missing-element/missingElementMeta';
|
|
55
|
+
import { paginationMeta } from '../features/pagination/paginationMeta';
|
|
56
|
+
import { paletteItemMeta } from '../features/palette-item/paletteItemMeta';
|
|
57
57
|
import { popoverMenuMeta } from '../features/popover-menu/popoverMenuMeta';
|
|
58
58
|
import { progressMeta, progressRingMeta } from '../features/progress/progressMeta';
|
|
59
|
+
import { ratingMeta } from '../features/rating/ratingMeta';
|
|
59
60
|
import {
|
|
60
61
|
skeletonCardMeta,
|
|
61
62
|
skeletonListMeta,
|
|
@@ -63,19 +64,17 @@ import {
|
|
|
63
64
|
skeletonTextMeta,
|
|
64
65
|
} from '../features/skeleton/skeletonMeta';
|
|
65
66
|
import { surfaceMeta } from '../features/surface/surfaceMeta';
|
|
67
|
+
import { tabListMeta } from '../features/tabs/tabListMeta';
|
|
68
|
+
import { tabMeta } from '../features/tabs/tabMeta';
|
|
69
|
+
import { tabPanelMeta } from '../features/tabs/tabPanelMeta';
|
|
70
|
+
import { tabsMeta } from '../features/tabs/tabsMeta';
|
|
66
71
|
import { timePickerMeta } from '../features/time-picker/timePickerMeta';
|
|
67
72
|
import { toastMeta } from '../features/toast/toastMeta';
|
|
68
73
|
import { toastProviderMeta } from '../features/toast/toastProviderMeta';
|
|
74
|
+
import { toolbarMeta } from '../features/toolbar/toolbarMeta';
|
|
69
75
|
import { headingMeta } from '../features/typography/headingMeta';
|
|
70
76
|
import { textMeta } from '../features/typography/textMeta';
|
|
71
77
|
import { uploaderMeta } from '../features/uploader/uploaderMeta';
|
|
72
|
-
import { foundationMetas } from '../foundation/meta';
|
|
73
|
-
import { appShellMeta } from '../layout/app-shell/meta';
|
|
74
|
-
import { screenMeta } from '../layout/screen/meta';
|
|
75
|
-
import { screenSectionMeta } from '../layout/screen-section/meta';
|
|
76
|
-
import { settingsLayoutMeta } from '../layout/settings-layout/meta';
|
|
77
|
-
import { sidebarLayoutMeta } from '../layout/sidebar-layout/meta';
|
|
78
|
-
import { topbarLayoutMeta } from '../layout/topbar-layout/meta';
|
|
79
78
|
import { chatListItemMeta } from '../patterns/chat-list-item/meta';
|
|
80
79
|
import { collectionEditorMeta } from '../patterns/collection-editor/meta';
|
|
81
80
|
import { confirmDialogMeta } from '../patterns/confirm-dialog/meta';
|
|
@@ -93,10 +92,8 @@ import {
|
|
|
93
92
|
} from '../patterns/scanner/meta';
|
|
94
93
|
import { sectionHeaderMeta } from '../patterns/section-header/meta';
|
|
95
94
|
import { selectableItemMeta, selectionProviderMeta } from '../patterns/selection/meta';
|
|
96
|
-
import { settingsRowMeta } from '../patterns/settings-row/meta';
|
|
97
95
|
import { switchFieldMeta } from '../patterns/switch-field/meta';
|
|
98
96
|
import { themeComposerMeta } from '../patterns/theme-composer/meta';
|
|
99
|
-
import { paletteItemMeta, tileGridMeta } from '../patterns/tile-grid/meta';
|
|
100
97
|
import { timelineMeta } from '../patterns/timeline/meta';
|
|
101
98
|
import { treeItemMeta, treeViewMeta } from '../patterns/tree-view/meta';
|
|
102
99
|
import { themeModeToggleMeta } from '../theme/ThemeModeToggle.meta';
|
|
@@ -104,13 +101,11 @@ import { finalizeFeatureMetadata } from '../utils/finalizeFeatureMetadata';
|
|
|
104
101
|
import type { ZoraComponentMetaRegistry } from './types';
|
|
105
102
|
|
|
106
103
|
export const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMetadata({
|
|
107
|
-
...foundationMetas,
|
|
108
104
|
Accordion: accordionMeta,
|
|
109
105
|
AccordionItem: accordionItemMeta,
|
|
110
106
|
ActivityIndicator: activityIndicatorMeta,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
Stack: stackMeta,
|
|
107
|
+
View: viewMeta,
|
|
108
|
+
ScrollView: scrollViewMeta,
|
|
114
109
|
Grid: gridMeta,
|
|
115
110
|
Divider: dividerMeta,
|
|
116
111
|
Surface: surfaceMeta,
|
|
@@ -128,6 +123,7 @@ export const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMet
|
|
|
128
123
|
ChipGroup: chipGroupMeta,
|
|
129
124
|
DataTable: dataTableMeta,
|
|
130
125
|
DatePicker: datePickerMeta,
|
|
126
|
+
Dialog: dialogMeta,
|
|
131
127
|
Form: formMeta,
|
|
132
128
|
FormActions: formActionsMeta,
|
|
133
129
|
FormError: formErrorMeta,
|
|
@@ -141,7 +137,6 @@ export const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMet
|
|
|
141
137
|
TextInput: textInputMeta,
|
|
142
138
|
MediaCard: mediaCardMeta,
|
|
143
139
|
MetricCard: metricCardMeta,
|
|
144
|
-
Modal: modalMeta,
|
|
145
140
|
Pagination: paginationMeta,
|
|
146
141
|
PopoverMenu: popoverMenuMeta,
|
|
147
142
|
Progress: progressMeta,
|
|
@@ -149,19 +144,21 @@ export const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMet
|
|
|
149
144
|
Radio: radioMeta,
|
|
150
145
|
RadioGroup: radioGroupMeta,
|
|
151
146
|
Rating: ratingMeta,
|
|
152
|
-
|
|
147
|
+
SearchInput: searchInputMeta,
|
|
153
148
|
Select: selectMeta,
|
|
154
149
|
Skeleton: skeletonMeta,
|
|
155
150
|
SkeletonCard: skeletonCardMeta,
|
|
156
151
|
SkeletonList: skeletonListMeta,
|
|
157
152
|
SkeletonText: skeletonTextMeta,
|
|
153
|
+
Tab: tabMeta,
|
|
154
|
+
TabList: tabListMeta,
|
|
155
|
+
TabPanel: tabPanelMeta,
|
|
158
156
|
Tabs: tabsMeta,
|
|
159
157
|
Text: textMeta,
|
|
160
158
|
TimePicker: timePickerMeta,
|
|
161
159
|
Toast: toastMeta,
|
|
162
160
|
ToastProvider: toastProviderMeta,
|
|
163
161
|
Toolbar: toolbarMeta,
|
|
164
|
-
ToolbarAction: toolbarActionMeta,
|
|
165
162
|
Uploader: uploaderMeta,
|
|
166
163
|
BottomSheet: bottomSheetMeta,
|
|
167
164
|
FlatList: flatListMeta,
|
|
@@ -170,9 +167,6 @@ export const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMet
|
|
|
170
167
|
AppShell: appShellMeta,
|
|
171
168
|
Screen: screenMeta,
|
|
172
169
|
ScreenSection: screenSectionMeta,
|
|
173
|
-
SettingsLayout: settingsLayoutMeta,
|
|
174
|
-
SidebarLayout: sidebarLayoutMeta,
|
|
175
|
-
TopbarLayout: topbarLayoutMeta,
|
|
176
170
|
ForgotPasswordForm: forgotPasswordFormMeta,
|
|
177
171
|
OAuthProviderButton: oauthProviderButtonMeta,
|
|
178
172
|
OAuthProviderList: oauthProviderListMeta,
|
|
@@ -203,11 +197,9 @@ export const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMet
|
|
|
203
197
|
SectionHeader: sectionHeaderMeta,
|
|
204
198
|
SelectableItem: selectableItemMeta,
|
|
205
199
|
SelectionProvider: selectionProviderMeta,
|
|
206
|
-
SettingsRow: settingsRowMeta,
|
|
207
200
|
SwitchField: switchFieldMeta,
|
|
208
201
|
ThemeComposer: themeComposerMeta,
|
|
209
202
|
PaletteItem: paletteItemMeta,
|
|
210
|
-
TileGrid: tileGridMeta,
|
|
211
203
|
Timeline: timelineMeta,
|
|
212
204
|
TreeItem: treeItemMeta,
|
|
213
205
|
TreeView: treeViewMeta,
|
|
@@ -5,8 +5,8 @@ import { ZORA_COMPONENT_META } from '.';
|
|
|
5
5
|
const containers = [
|
|
6
6
|
['Screen', ZORA_COMPONENT_META.Screen],
|
|
7
7
|
['ScreenSection', ZORA_COMPONENT_META.ScreenSection],
|
|
8
|
-
['
|
|
9
|
-
['
|
|
8
|
+
['View', ZORA_COMPONENT_META.View],
|
|
9
|
+
['ScrollView', ZORA_COMPONENT_META.ScrollView],
|
|
10
10
|
['Card', ZORA_COMPONENT_META.Card],
|
|
11
11
|
['Panel', ZORA_COMPONENT_META.Panel],
|
|
12
12
|
] as const;
|
|
@@ -3,9 +3,8 @@ import React from 'react';
|
|
|
3
3
|
|
|
4
4
|
import { Avatar } from '../../features/avatar/public';
|
|
5
5
|
import { Badge } from '../../features/badge/public';
|
|
6
|
-
import {
|
|
6
|
+
import { View } from '../../features/layout/public';
|
|
7
7
|
import { Text } from '../../features/typography/public';
|
|
8
|
-
import { Inline } from '../../foundation';
|
|
9
8
|
import { useZoraTheme } from '../../theme/useZoraTheme';
|
|
10
9
|
import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
|
|
11
10
|
import type { ChatListAvatar, ChatListItemProps } from './types';
|
|
@@ -110,7 +109,7 @@ function ChatListItemInner({
|
|
|
110
109
|
});
|
|
111
110
|
|
|
112
111
|
return (
|
|
113
|
-
<
|
|
112
|
+
<View
|
|
114
113
|
bg={styles.bg}
|
|
115
114
|
borderColor={styles.borderColor}
|
|
116
115
|
borderWidth={styles.borderWidth}
|
|
@@ -119,7 +118,7 @@ function ChatListItemInner({
|
|
|
119
118
|
radius="m"
|
|
120
119
|
style={{ opacity: styles.opacity }}
|
|
121
120
|
>
|
|
122
|
-
<
|
|
121
|
+
<View direction="row" align="center" gap="m" wrap="nowrap">
|
|
123
122
|
{leading ?? (
|
|
124
123
|
<Avatar
|
|
125
124
|
initials={avatar?.initials}
|
|
@@ -132,10 +131,10 @@ function ChatListItemInner({
|
|
|
132
131
|
/>
|
|
133
132
|
)}
|
|
134
133
|
|
|
135
|
-
<
|
|
136
|
-
<
|
|
137
|
-
<
|
|
138
|
-
<
|
|
134
|
+
<View flex={1}>
|
|
135
|
+
<View gap="xxs">
|
|
136
|
+
<View direction="row" align="center" gap="s" justify="space-between" wrap="nowrap">
|
|
137
|
+
<View flex={1}>
|
|
139
138
|
<Text
|
|
140
139
|
numberOfLines={1}
|
|
141
140
|
emphasis={disabled ? 'muted' : 'default'}
|
|
@@ -144,7 +143,7 @@ function ChatListItemInner({
|
|
|
144
143
|
>
|
|
145
144
|
{title}
|
|
146
145
|
</Text>
|
|
147
|
-
</
|
|
146
|
+
</View>
|
|
148
147
|
{hasTimestamp ? (
|
|
149
148
|
<Text
|
|
150
149
|
numberOfLines={1}
|
|
@@ -156,12 +155,12 @@ function ChatListItemInner({
|
|
|
156
155
|
{timestamp}
|
|
157
156
|
</Text>
|
|
158
157
|
) : null}
|
|
159
|
-
</
|
|
158
|
+
</View>
|
|
160
159
|
|
|
161
160
|
{hasSecondaryRow ? (
|
|
162
|
-
<
|
|
163
|
-
<
|
|
164
|
-
<
|
|
161
|
+
<View direction="row" align="center" gap="s" justify="space-between" wrap="nowrap">
|
|
162
|
+
<View flex={1}>
|
|
163
|
+
<View gap="xxs">
|
|
165
164
|
{hasPreview ? (
|
|
166
165
|
<Text
|
|
167
166
|
numberOfLines={1}
|
|
@@ -177,26 +176,26 @@ function ChatListItemInner({
|
|
|
177
176
|
{meta}
|
|
178
177
|
</Text>
|
|
179
178
|
) : null}
|
|
180
|
-
</
|
|
181
|
-
</
|
|
179
|
+
</View>
|
|
180
|
+
</View>
|
|
182
181
|
|
|
183
182
|
{hasUnreadCount || hasTrailing ? (
|
|
184
|
-
<
|
|
183
|
+
<View direction="row" align="center" gap="s" wrap="nowrap">
|
|
185
184
|
{renderUnreadCount(unreadCount)}
|
|
186
185
|
{trailing}
|
|
187
|
-
</
|
|
186
|
+
</View>
|
|
188
187
|
) : null}
|
|
189
|
-
</
|
|
188
|
+
</View>
|
|
190
189
|
) : null}
|
|
191
|
-
</
|
|
192
|
-
</
|
|
193
|
-
</
|
|
194
|
-
</
|
|
190
|
+
</View>
|
|
191
|
+
</View>
|
|
192
|
+
</View>
|
|
193
|
+
</View>
|
|
195
194
|
);
|
|
196
195
|
};
|
|
197
196
|
|
|
198
197
|
if (!isInteractive) {
|
|
199
|
-
return <
|
|
198
|
+
return <View testID={testID}>{content({ pressed: false, hovered: false })}</View>;
|
|
200
199
|
}
|
|
201
200
|
|
|
202
201
|
return (
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { Button } from '../../features/button/public';
|
|
4
4
|
import { IconButton } from '../../features/button/public';
|
|
5
|
-
import {
|
|
5
|
+
import { View } from '../../features/layout/public';
|
|
6
6
|
import { Text } from '../../features/typography/public';
|
|
7
7
|
import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
|
|
8
8
|
import { Panel } from '../panel';
|
|
@@ -47,18 +47,18 @@ function CollectionEditorInner<TItem>({
|
|
|
47
47
|
) : null
|
|
48
48
|
}
|
|
49
49
|
>
|
|
50
|
-
<
|
|
50
|
+
<View gap="s">
|
|
51
51
|
{isEmpty ? (
|
|
52
|
-
<
|
|
52
|
+
<View py="m">
|
|
53
53
|
<Text align="center" emphasis="muted">
|
|
54
54
|
{emptyLabel}
|
|
55
55
|
</Text>
|
|
56
|
-
</
|
|
56
|
+
</View>
|
|
57
57
|
) : (
|
|
58
58
|
items.map((item, index) => (
|
|
59
|
-
<
|
|
60
|
-
<
|
|
61
|
-
<
|
|
59
|
+
<View key={index} bg="subtle" p="s" radius="m" borderColor="border" borderWidth={1}>
|
|
60
|
+
<View direction="row" gap="m" align="center">
|
|
61
|
+
<View flex={1}>
|
|
62
62
|
{renderItem({
|
|
63
63
|
item,
|
|
64
64
|
index,
|
|
@@ -68,8 +68,8 @@ function CollectionEditorInner<TItem>({
|
|
|
68
68
|
canMoveUp: index > 0,
|
|
69
69
|
canMoveDown: index < items.length - 1,
|
|
70
70
|
})}
|
|
71
|
-
</
|
|
72
|
-
<
|
|
71
|
+
</View>
|
|
72
|
+
<View direction="row" gap="xs">
|
|
73
73
|
{onMove ? (
|
|
74
74
|
<>
|
|
75
75
|
<IconButton
|
|
@@ -104,12 +104,12 @@ function CollectionEditorInner<TItem>({
|
|
|
104
104
|
variant="ghost"
|
|
105
105
|
/>
|
|
106
106
|
) : null}
|
|
107
|
-
</
|
|
108
|
-
</
|
|
109
|
-
</
|
|
107
|
+
</View>
|
|
108
|
+
</View>
|
|
109
|
+
</View>
|
|
110
110
|
))
|
|
111
111
|
)}
|
|
112
|
-
</
|
|
112
|
+
</View>
|
|
113
113
|
</Panel>
|
|
114
114
|
);
|
|
115
115
|
}
|