@ankhorage/zora 7.0.0 → 9.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 +12 -0
- package/README.md +1 -1
- package/dist/components/app-bar/AppBar.d.ts.map +1 -1
- package/dist/components/app-bar/AppBar.js +5 -4
- package/dist/components/app-bar/AppBar.js.map +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.js +3 -3
- package/dist/components/breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/date-picker/DatePicker.js +3 -3
- package/dist/components/date-picker/DatePicker.js.map +1 -1
- package/dist/components/form/Form.js +1 -1
- package/dist/components/form/Form.js.map +1 -1
- package/dist/components/form/FormActions.js +2 -2
- package/dist/components/form/FormActions.js.map +1 -1
- package/dist/components/form/FormError.js +2 -2
- package/dist/components/form/FormError.js.map +1 -1
- package/dist/components/form/FormField.js +4 -4
- package/dist/components/form/FormField.js.map +1 -1
- package/dist/components/form/meta.d.ts +1 -1
- package/dist/components/form/meta.js +1 -1
- package/dist/components/form/meta.js.map +1 -1
- package/dist/components/form/types.d.ts +6 -6
- package/dist/components/form/types.d.ts.map +1 -1
- package/dist/components/form/types.js.map +1 -1
- package/dist/components/gradient/Gradient.js +1 -1
- package/dist/components/gradient/Gradient.js.map +1 -1
- package/dist/components/gradient/types.d.ts +1 -1
- package/dist/components/gradient/types.d.ts.map +1 -1
- package/dist/components/gradient/types.js.map +1 -1
- package/dist/components/menu/Menu.js +2 -2
- package/dist/components/menu/Menu.js.map +1 -1
- package/dist/components/modal/Modal.js +3 -3
- package/dist/components/modal/Modal.js.map +1 -1
- package/dist/components/pagination/Pagination.js +3 -3
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/rating/Rating.js +1 -1
- package/dist/components/rating/Rating.js.map +1 -1
- package/dist/components/search-bar/SearchBar.js +2 -2
- package/dist/components/search-bar/SearchBar.js.map +1 -1
- package/dist/components/select/Select.js +1 -1
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/skeleton/Skeleton.js +1 -1
- package/dist/components/skeleton/Skeleton.js.map +1 -1
- package/dist/components/skeleton/SkeletonCard.js +3 -3
- package/dist/components/skeleton/SkeletonCard.js.map +1 -1
- package/dist/components/skeleton/SkeletonText.js +1 -1
- package/dist/components/skeleton/SkeletonText.js.map +1 -1
- package/dist/components/skeleton/types.d.ts +1 -1
- package/dist/components/skeleton/types.d.ts.map +1 -1
- package/dist/components/skeleton/types.js.map +1 -1
- package/dist/components/tabs/Tabs.js +3 -3
- package/dist/components/tabs/Tabs.js.map +1 -1
- package/dist/components/time-picker/TimePicker.js +3 -3
- package/dist/components/time-picker/TimePicker.js.map +1 -1
- package/dist/components/toolbar/Toolbar.js +2 -2
- package/dist/components/toolbar/Toolbar.js.map +1 -1
- package/dist/components/toolbar/ToolbarAction.js +1 -1
- package/dist/components/toolbar/ToolbarAction.js.map +1 -1
- package/dist/constants.d.ts +23 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +23 -0
- package/dist/constants.js.map +1 -0
- package/dist/corePluginMetadata.js +10 -1
- package/dist/corePluginMetadata.js.map +1 -1
- package/dist/features/activity-indicator/activityIndicatorMeta.d.ts +32 -0
- package/dist/features/activity-indicator/activityIndicatorMeta.d.ts.map +1 -0
- package/dist/features/activity-indicator/activityIndicatorMeta.js +13 -0
- package/dist/features/activity-indicator/activityIndicatorMeta.js.map +1 -0
- package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.d.ts +5 -0
- package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.d.ts.map +1 -0
- package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.js +12 -0
- package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.js.map +1 -0
- package/dist/features/activity-indicator/public.d.ts +3 -0
- package/dist/features/activity-indicator/public.d.ts.map +1 -0
- package/dist/features/activity-indicator/public.js +2 -0
- package/dist/features/activity-indicator/public.js.map +1 -0
- package/dist/features/avatar/adapters/inbound/Avatar.d.ts +7 -0
- package/dist/features/avatar/adapters/inbound/Avatar.d.ts.map +1 -0
- package/dist/features/avatar/adapters/inbound/Avatar.js +101 -0
- package/dist/features/avatar/adapters/inbound/Avatar.js.map +1 -0
- package/dist/features/avatar/adapters/inbound/AvatarGroup.d.ts +7 -0
- package/dist/features/avatar/adapters/inbound/AvatarGroup.d.ts.map +1 -0
- package/dist/features/avatar/adapters/inbound/AvatarGroup.js +29 -0
- package/dist/features/avatar/adapters/inbound/AvatarGroup.js.map +1 -0
- package/dist/features/avatar/avatarGroupMeta.d.ts +68 -0
- package/dist/features/avatar/avatarGroupMeta.d.ts.map +1 -0
- package/dist/features/avatar/avatarGroupMeta.js +24 -0
- package/dist/features/avatar/avatarGroupMeta.js.map +1 -0
- package/dist/features/avatar/avatarMeta.d.ts +41 -0
- package/dist/features/avatar/avatarMeta.d.ts.map +1 -0
- package/dist/features/avatar/avatarMeta.js +41 -0
- package/dist/features/avatar/avatarMeta.js.map +1 -0
- package/dist/features/avatar/public.d.ts +6 -0
- package/dist/features/avatar/public.d.ts.map +1 -0
- package/dist/features/avatar/public.js +4 -0
- package/dist/features/avatar/public.js.map +1 -0
- package/dist/features/avatar/utils/resolveAvatarInitials.d.ts.map +1 -0
- package/dist/features/avatar/utils/resolveAvatarInitials.js.map +1 -0
- package/dist/features/badge/adapters/inbound/Badge.d.ts +7 -0
- package/dist/features/badge/adapters/inbound/Badge.d.ts.map +1 -0
- package/dist/features/badge/adapters/inbound/Badge.js +13 -0
- package/dist/features/badge/adapters/inbound/Badge.js.map +1 -0
- package/dist/features/badge/badgeMeta.d.ts +28 -0
- package/dist/features/badge/badgeMeta.d.ts.map +1 -0
- package/dist/features/badge/badgeMeta.js +28 -0
- package/dist/features/badge/badgeMeta.js.map +1 -0
- package/dist/features/badge/public.d.ts +3 -0
- package/dist/features/badge/public.d.ts.map +1 -0
- package/dist/features/badge/public.js +2 -0
- package/dist/features/badge/public.js.map +1 -0
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.d.ts +5 -0
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.d.ts.map +1 -0
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js +63 -0
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js.map +1 -0
- package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +60 -0
- package/dist/features/bottom-sheet/bottomSheetMeta.d.ts.map +1 -0
- package/dist/features/bottom-sheet/bottomSheetMeta.js +31 -0
- package/dist/features/bottom-sheet/bottomSheetMeta.js.map +1 -0
- package/dist/features/bottom-sheet/public.d.ts +2 -0
- package/dist/features/bottom-sheet/public.d.ts.map +1 -1
- package/dist/features/bottom-sheet/public.js +1 -0
- package/dist/features/bottom-sheet/public.js.map +1 -1
- package/dist/features/button/adapters/inbound/Button.d.ts +15 -0
- package/dist/features/button/adapters/inbound/Button.d.ts.map +1 -0
- package/dist/features/button/adapters/inbound/Button.js +23 -0
- package/dist/features/button/adapters/inbound/Button.js.map +1 -0
- package/dist/features/button/adapters/inbound/ButtonGroup.d.ts +7 -0
- package/dist/features/button/adapters/inbound/ButtonGroup.d.ts.map +1 -0
- package/dist/features/button/adapters/inbound/ButtonGroup.js +76 -0
- package/dist/features/button/adapters/inbound/ButtonGroup.js.map +1 -0
- package/dist/features/button/adapters/inbound/IconButton.d.ts +7 -0
- package/dist/features/button/adapters/inbound/IconButton.d.ts.map +1 -0
- package/dist/features/button/adapters/inbound/IconButton.js +13 -0
- package/dist/features/button/adapters/inbound/IconButton.js.map +1 -0
- package/dist/features/button/buttonGroupMeta.d.ts +44 -0
- package/dist/features/button/buttonGroupMeta.d.ts.map +1 -0
- package/dist/features/button/buttonGroupMeta.js +44 -0
- package/dist/features/button/buttonGroupMeta.js.map +1 -0
- package/dist/features/button/buttonMeta.d.ts +73 -0
- package/dist/features/button/buttonMeta.d.ts.map +1 -0
- package/dist/features/button/buttonMeta.js +50 -0
- package/dist/features/button/buttonMeta.js.map +1 -0
- package/dist/features/button/iconButtonMeta.d.ts +47 -0
- package/dist/features/button/iconButtonMeta.d.ts.map +1 -0
- package/dist/features/button/iconButtonMeta.js +47 -0
- package/dist/features/button/iconButtonMeta.js.map +1 -0
- package/dist/features/button/public.d.ts +7 -0
- package/dist/features/button/public.d.ts.map +1 -0
- package/dist/features/button/public.js +4 -0
- package/dist/features/button/public.js.map +1 -0
- package/dist/features/button/utils/resolveButtonThemeRecipe.d.ts +9 -0
- package/dist/features/button/utils/resolveButtonThemeRecipe.d.ts.map +1 -0
- package/dist/features/button/utils/resolveButtonThemeRecipe.js +30 -0
- package/dist/features/button/utils/resolveButtonThemeRecipe.js.map +1 -0
- package/dist/features/button/utils/themeRecipeMeta.d.ts.map +1 -0
- package/dist/features/button/utils/themeRecipeMeta.js +28 -0
- package/dist/features/button/utils/themeRecipeMeta.js.map +1 -0
- package/dist/features/card/adapters/inbound/Card.d.ts +15 -0
- package/dist/features/card/adapters/inbound/Card.d.ts.map +1 -0
- package/dist/features/card/adapters/inbound/Card.js +53 -0
- package/dist/features/card/adapters/inbound/Card.js.map +1 -0
- package/dist/features/card/adapters/inbound/MediaCard.d.ts +7 -0
- package/dist/features/card/adapters/inbound/MediaCard.d.ts.map +1 -0
- package/dist/features/card/adapters/inbound/MediaCard.js +67 -0
- package/dist/features/card/adapters/inbound/MediaCard.js.map +1 -0
- package/dist/features/card/adapters/inbound/MetricCard.d.ts +7 -0
- package/dist/features/card/adapters/inbound/MetricCard.d.ts.map +1 -0
- package/dist/features/card/adapters/inbound/MetricCard.js +47 -0
- package/dist/features/card/adapters/inbound/MetricCard.js.map +1 -0
- package/dist/features/card/adapters/inbound/PostCard.d.ts +9 -0
- package/dist/features/card/adapters/inbound/PostCard.d.ts.map +1 -0
- package/dist/features/card/adapters/inbound/PostCard.js +139 -0
- package/dist/features/card/adapters/inbound/PostCard.js.map +1 -0
- package/dist/features/card/adapters/inbound/ProductCard.d.ts +5 -0
- package/dist/features/card/adapters/inbound/ProductCard.d.ts.map +1 -0
- package/dist/features/card/adapters/inbound/ProductCard.js +71 -0
- package/dist/features/card/adapters/inbound/ProductCard.js.map +1 -0
- package/dist/features/card/cardMeta.d.ts +87 -0
- package/dist/features/card/cardMeta.d.ts.map +1 -0
- package/dist/features/card/cardMeta.js +56 -0
- package/dist/features/card/cardMeta.js.map +1 -0
- package/dist/features/card/mediaCardMeta.d.ts +50 -0
- package/dist/features/card/mediaCardMeta.d.ts.map +1 -0
- package/dist/features/card/mediaCardMeta.js +51 -0
- package/dist/features/card/mediaCardMeta.js.map +1 -0
- package/dist/features/card/metricCardMeta.d.ts +46 -0
- package/dist/features/card/metricCardMeta.d.ts.map +1 -0
- package/dist/features/card/metricCardMeta.js +46 -0
- package/dist/features/card/metricCardMeta.js.map +1 -0
- package/dist/features/card/postCardMeta.d.ts +64 -0
- package/dist/features/card/postCardMeta.d.ts.map +1 -0
- package/dist/features/card/postCardMeta.js +66 -0
- package/dist/features/card/postCardMeta.js.map +1 -0
- package/dist/features/card/productCardMeta.d.ts +110 -0
- package/dist/features/card/productCardMeta.d.ts.map +1 -0
- package/dist/features/card/productCardMeta.js +110 -0
- package/dist/features/card/productCardMeta.js.map +1 -0
- package/dist/features/card/public.d.ts +11 -0
- package/dist/features/card/public.d.ts.map +1 -0
- package/dist/features/card/public.js +6 -0
- package/dist/features/card/public.js.map +1 -0
- package/dist/features/card/utils/resolveCardThemeRecipe.d.ts +15 -0
- package/dist/features/card/utils/resolveCardThemeRecipe.d.ts.map +1 -0
- package/dist/features/card/utils/resolveCardThemeRecipe.js.map +1 -0
- package/dist/features/card/utils/themeRecipeMeta.d.ts.map +1 -0
- package/dist/features/card/utils/themeRecipeMeta.js.map +1 -0
- package/dist/features/chip/adapters/inbound/Chip.d.ts +7 -0
- package/dist/features/chip/adapters/inbound/Chip.d.ts.map +1 -0
- package/dist/features/chip/adapters/inbound/Chip.js +57 -0
- package/dist/features/chip/adapters/inbound/Chip.js.map +1 -0
- package/dist/features/chip/adapters/inbound/ChipGroup.d.ts +7 -0
- package/dist/features/chip/adapters/inbound/ChipGroup.d.ts.map +1 -0
- package/dist/features/chip/adapters/inbound/ChipGroup.js +38 -0
- package/dist/features/chip/adapters/inbound/ChipGroup.js.map +1 -0
- package/dist/features/chip/chipGroupMeta.d.ts +75 -0
- package/dist/features/chip/chipGroupMeta.d.ts.map +1 -0
- package/dist/features/chip/chipGroupMeta.js +31 -0
- package/dist/features/chip/chipGroupMeta.js.map +1 -0
- package/dist/features/chip/chipMeta.d.ts +38 -0
- package/dist/features/chip/chipMeta.d.ts.map +1 -0
- package/dist/features/chip/chipMeta.js +38 -0
- package/dist/features/chip/chipMeta.js.map +1 -0
- package/dist/features/chip/public.d.ts +5 -0
- package/dist/features/chip/public.d.ts.map +1 -0
- package/dist/features/chip/public.js +3 -0
- package/dist/features/chip/public.js.map +1 -0
- package/dist/features/chip/utils/resolveChipColors.d.ts +10 -0
- package/dist/features/chip/utils/resolveChipColors.d.ts.map +1 -0
- package/dist/features/chip/utils/resolveChipColors.js +57 -0
- package/dist/features/chip/utils/resolveChipColors.js.map +1 -0
- package/dist/features/data-table/adapters/inbound/DataTable.d.ts +7 -0
- package/dist/features/data-table/adapters/inbound/DataTable.d.ts.map +1 -0
- package/dist/features/data-table/adapters/inbound/DataTable.js +218 -0
- package/dist/features/data-table/adapters/inbound/DataTable.js.map +1 -0
- package/dist/features/data-table/dataTableMeta.d.ts +125 -0
- package/dist/features/data-table/dataTableMeta.d.ts.map +1 -0
- package/dist/features/data-table/dataTableMeta.js +57 -0
- package/dist/features/data-table/dataTableMeta.js.map +1 -0
- package/dist/features/data-table/public.d.ts +3 -0
- package/dist/features/data-table/public.d.ts.map +1 -0
- package/dist/features/data-table/public.js +2 -0
- package/dist/features/data-table/public.js.map +1 -0
- package/dist/features/data-table/utils/resolveDataTableRowKey.d.ts +3 -0
- package/dist/features/data-table/utils/resolveDataTableRowKey.d.ts.map +1 -0
- package/dist/features/data-table/utils/resolveDataTableRowKey.js +10 -0
- package/dist/features/data-table/utils/resolveDataTableRowKey.js.map +1 -0
- package/dist/features/empty-state/adapters/inbound/EmptyState.d.ts +16 -0
- package/dist/features/empty-state/adapters/inbound/EmptyState.d.ts.map +1 -0
- package/dist/features/empty-state/adapters/inbound/EmptyState.js +34 -0
- package/dist/features/empty-state/adapters/inbound/EmptyState.js.map +1 -0
- package/dist/features/empty-state/emptyStateMeta.d.ts +33 -0
- package/dist/features/empty-state/emptyStateMeta.d.ts.map +1 -0
- package/dist/features/empty-state/emptyStateMeta.js +33 -0
- package/dist/features/empty-state/emptyStateMeta.js.map +1 -0
- package/dist/features/empty-state/public.d.ts +3 -0
- package/dist/features/empty-state/public.d.ts.map +1 -0
- package/dist/features/empty-state/public.js +2 -0
- package/dist/features/empty-state/public.js.map +1 -0
- package/dist/features/form/checkbox/adapters/inbound/Checkbox.d.ts +9 -0
- package/dist/features/form/checkbox/adapters/inbound/Checkbox.d.ts.map +1 -0
- package/dist/features/form/checkbox/adapters/inbound/Checkbox.js +13 -0
- package/dist/features/form/checkbox/adapters/inbound/Checkbox.js.map +1 -0
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.d.ts +7 -0
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.d.ts.map +1 -0
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js +41 -0
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js.map +1 -0
- package/dist/features/form/checkbox/checkboxMeta.d.ts +67 -0
- package/dist/features/form/checkbox/checkboxMeta.d.ts.map +1 -0
- package/dist/features/form/checkbox/checkboxMeta.js +28 -0
- package/dist/features/form/checkbox/checkboxMeta.js.map +1 -0
- package/dist/features/form/checkbox/public.d.ts +4 -0
- package/dist/features/form/checkbox/public.d.ts.map +1 -0
- package/dist/features/form/checkbox/public.js +3 -0
- package/dist/features/form/checkbox/public.js.map +1 -0
- package/dist/features/form/radio/adapters/inbound/Radio.d.ts +7 -0
- package/dist/features/form/radio/adapters/inbound/Radio.d.ts.map +1 -0
- package/dist/features/form/radio/adapters/inbound/Radio.js +11 -0
- package/dist/features/form/radio/adapters/inbound/Radio.js.map +1 -0
- package/dist/features/form/radio/adapters/inbound/RadioGroup.d.ts +5 -0
- package/dist/features/form/radio/adapters/inbound/RadioGroup.d.ts.map +1 -0
- package/dist/features/form/radio/adapters/inbound/RadioGroup.js +70 -0
- package/dist/features/form/radio/adapters/inbound/RadioGroup.js.map +1 -0
- package/dist/features/form/radio/adapters/inbound/RadioOptionControl.d.ts +15 -0
- package/dist/features/form/radio/adapters/inbound/RadioOptionControl.d.ts.map +1 -0
- package/dist/features/form/radio/adapters/inbound/RadioOptionControl.js +105 -0
- package/dist/features/form/radio/adapters/inbound/RadioOptionControl.js.map +1 -0
- package/dist/features/form/radio/public.d.ts +4 -0
- package/dist/features/form/radio/public.d.ts.map +1 -0
- package/dist/features/form/radio/public.js +3 -0
- package/dist/features/form/radio/public.js.map +1 -0
- package/dist/features/form/radio/radioMeta.d.ts +275 -0
- package/dist/features/form/radio/radioMeta.d.ts.map +1 -0
- package/dist/features/form/radio/radioMeta.js +210 -0
- package/dist/features/form/radio/radioMeta.js.map +1 -0
- package/dist/features/form/radio/themeRecipeMeta.d.ts.map +1 -0
- package/dist/features/form/radio/themeRecipeMeta.js +27 -0
- package/dist/features/form/radio/themeRecipeMeta.js.map +1 -0
- package/dist/features/form/radio/utils/handleRadioOptionKeyDown.d.ts.map +1 -0
- package/dist/features/form/radio/utils/handleRadioOptionKeyDown.js +22 -0
- package/dist/features/form/radio/utils/handleRadioOptionKeyDown.js.map +1 -0
- package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.d.ts +20 -0
- package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.d.ts.map +1 -0
- package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.js.map +1 -0
- package/dist/features/form/radio/utils/resolveRadioOptionColors.d.ts +10 -0
- package/dist/features/form/radio/utils/resolveRadioOptionColors.d.ts.map +1 -0
- package/dist/features/form/radio/utils/resolveRadioOptionColors.js.map +1 -0
- package/dist/features/form/text-input/adapters/inbound/TextInput.d.ts +14 -0
- package/dist/features/form/text-input/adapters/inbound/TextInput.d.ts.map +1 -0
- package/dist/features/form/text-input/adapters/inbound/TextInput.js +24 -0
- package/dist/features/form/text-input/adapters/inbound/TextInput.js.map +1 -0
- package/dist/features/form/text-input/public.d.ts +3 -0
- package/dist/features/form/text-input/public.d.ts.map +1 -0
- package/dist/features/form/text-input/public.js +2 -0
- package/dist/features/form/text-input/public.js.map +1 -0
- package/dist/features/form/text-input/textInputMeta.d.ts +57 -0
- package/dist/features/form/text-input/textInputMeta.d.ts.map +1 -0
- package/dist/features/form/text-input/textInputMeta.js +57 -0
- package/dist/features/form/text-input/textInputMeta.js.map +1 -0
- package/dist/features/icon/adapters/inbound/Icon.d.ts +5 -0
- package/dist/features/icon/adapters/inbound/Icon.d.ts.map +1 -0
- package/dist/features/icon/adapters/inbound/Icon.js +10 -0
- package/dist/features/icon/adapters/inbound/Icon.js.map +1 -0
- package/dist/features/icon/iconMeta.d.ts +38 -0
- package/dist/features/icon/iconMeta.d.ts.map +1 -0
- package/dist/features/icon/iconMeta.js +30 -0
- package/dist/features/icon/iconMeta.js.map +1 -0
- package/dist/features/icon/public.d.ts +3 -0
- package/dist/features/icon/public.d.ts.map +1 -0
- package/dist/features/icon/public.js +2 -0
- package/dist/features/icon/public.js.map +1 -0
- package/dist/features/image/adapters/inbound/Image.d.ts +5 -0
- package/dist/features/image/adapters/inbound/Image.d.ts.map +1 -0
- package/dist/features/image/adapters/inbound/Image.js +84 -0
- package/dist/features/image/adapters/inbound/Image.js.map +1 -0
- package/dist/features/image/imageMeta.d.ts +56 -0
- package/dist/features/image/imageMeta.d.ts.map +1 -0
- package/dist/features/image/imageMeta.js +34 -0
- package/dist/features/image/imageMeta.js.map +1 -0
- package/dist/features/image/public.d.ts +3 -0
- package/dist/features/image/public.d.ts.map +1 -0
- package/dist/features/image/public.js +2 -0
- package/dist/features/image/public.js.map +1 -0
- package/dist/features/layout/adapters/inbound/Box.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/Box.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/Box.js +10 -0
- package/dist/features/layout/adapters/inbound/Box.js.map +1 -0
- package/dist/features/layout/adapters/inbound/Container.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/Container.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/Container.js +10 -0
- package/dist/features/layout/adapters/inbound/Container.js.map +1 -0
- package/dist/features/layout/adapters/inbound/ContentRail.d.ts +10 -0
- package/dist/features/layout/adapters/inbound/ContentRail.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/ContentRail.js +182 -0
- package/dist/features/layout/adapters/inbound/ContentRail.js.map +1 -0
- package/dist/features/layout/adapters/inbound/ContentRailFlow.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/ContentRailFlow.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/ContentRailFlow.js +18 -0
- package/dist/features/layout/adapters/inbound/ContentRailFlow.js.map +1 -0
- package/dist/features/layout/adapters/inbound/Divider.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/Divider.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/Divider.js +10 -0
- package/dist/features/layout/adapters/inbound/Divider.js.map +1 -0
- package/dist/features/layout/adapters/inbound/Grid.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/Grid.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/Grid.js +10 -0
- package/dist/features/layout/adapters/inbound/Grid.js.map +1 -0
- package/dist/features/layout/adapters/inbound/Stack.d.ts +5 -0
- package/dist/features/layout/adapters/inbound/Stack.d.ts.map +1 -0
- package/dist/features/layout/adapters/inbound/Stack.js +10 -0
- package/dist/features/layout/adapters/inbound/Stack.js.map +1 -0
- package/dist/features/layout/boxMeta.d.ts +81 -0
- package/dist/features/layout/boxMeta.d.ts.map +1 -0
- package/dist/features/layout/boxMeta.js +15 -0
- package/dist/features/layout/boxMeta.js.map +1 -0
- package/dist/features/layout/constants.d.ts +64 -0
- package/dist/features/layout/constants.d.ts.map +1 -0
- package/dist/features/layout/constants.js +19 -0
- package/dist/features/layout/constants.js.map +1 -0
- package/dist/features/layout/containerMeta.d.ts +55 -0
- package/dist/features/layout/containerMeta.d.ts.map +1 -0
- package/dist/features/layout/containerMeta.js +10 -0
- package/dist/features/layout/containerMeta.js.map +1 -0
- package/dist/features/layout/contentRailMeta.d.ts +153 -0
- package/dist/features/layout/contentRailMeta.d.ts.map +1 -0
- package/dist/features/layout/contentRailMeta.js +132 -0
- package/dist/features/layout/contentRailMeta.js.map +1 -0
- package/dist/features/layout/dividerMeta.d.ts +22 -0
- package/dist/features/layout/dividerMeta.d.ts.map +1 -0
- package/dist/features/layout/dividerMeta.js +14 -0
- package/dist/features/layout/dividerMeta.js.map +1 -0
- package/dist/features/layout/gridMeta.d.ts +90 -0
- package/dist/features/layout/gridMeta.d.ts.map +1 -0
- package/dist/features/layout/gridMeta.js +17 -0
- package/dist/features/layout/gridMeta.js.map +1 -0
- package/dist/features/layout/public.d.ts +9 -0
- package/dist/features/layout/public.d.ts.map +1 -0
- package/dist/features/layout/public.js +7 -0
- package/dist/features/layout/public.js.map +1 -0
- package/dist/features/layout/stackMeta.d.ts +93 -0
- package/dist/features/layout/stackMeta.d.ts.map +1 -0
- package/dist/features/layout/stackMeta.js +25 -0
- package/dist/features/layout/stackMeta.js.map +1 -0
- package/dist/features/layout/utils/resolveContentRailItemWidth.d.ts +10 -0
- package/dist/features/layout/utils/resolveContentRailItemWidth.d.ts.map +1 -0
- package/dist/features/layout/utils/resolveContentRailItemWidth.js +27 -0
- package/dist/features/layout/utils/resolveContentRailItemWidth.js.map +1 -0
- package/dist/features/layout/utils/resolveContentRailPhysicalOffset.d.ts.map +1 -0
- package/dist/features/layout/utils/resolveContentRailPhysicalOffset.js.map +1 -0
- package/dist/features/layout/utils/resolveContentRailState.d.ts.map +1 -0
- package/dist/features/layout/utils/resolveContentRailState.js.map +1 -0
- package/dist/features/layout/utils/useContentRailReducedMotion.d.ts +3 -0
- package/dist/features/layout/utils/useContentRailReducedMotion.d.ts.map +1 -0
- package/dist/features/layout/utils/useContentRailReducedMotion.js.map +1 -0
- package/dist/features/list/adapters/inbound/FlatList.d.ts +5 -0
- package/dist/features/list/adapters/inbound/FlatList.d.ts.map +1 -0
- package/dist/features/list/adapters/inbound/FlatList.js +17 -0
- package/dist/features/list/adapters/inbound/FlatList.js.map +1 -0
- package/dist/features/list/adapters/inbound/HorizontalListSeparator.d.ts +4 -0
- package/dist/features/list/adapters/inbound/HorizontalListSeparator.d.ts.map +1 -0
- package/dist/features/list/adapters/inbound/HorizontalListSeparator.js +7 -0
- package/dist/features/list/adapters/inbound/HorizontalListSeparator.js.map +1 -0
- package/dist/features/list/adapters/inbound/SectionList.d.ts +5 -0
- package/dist/features/list/adapters/inbound/SectionList.d.ts.map +1 -0
- package/dist/features/list/adapters/inbound/SectionList.js +18 -0
- package/dist/features/list/adapters/inbound/SectionList.js.map +1 -0
- package/dist/features/list/adapters/inbound/VerticalListSeparator.d.ts +4 -0
- package/dist/features/list/adapters/inbound/VerticalListSeparator.d.ts.map +1 -0
- package/dist/features/list/adapters/inbound/VerticalListSeparator.js +7 -0
- package/dist/features/list/adapters/inbound/VerticalListSeparator.js.map +1 -0
- package/dist/features/list/adapters/inbound/useListVisibility.d.ts +7 -0
- package/dist/features/list/adapters/inbound/useListVisibility.d.ts.map +1 -0
- package/dist/features/list/adapters/inbound/useListVisibility.js +19 -0
- package/dist/features/list/adapters/inbound/useListVisibility.js.map +1 -0
- package/dist/features/list/application/use-cases/partitionListSections.d.ts +9 -0
- package/dist/features/list/application/use-cases/partitionListSections.d.ts.map +1 -0
- package/dist/features/list/application/use-cases/partitionListSections.js +19 -0
- package/dist/features/list/application/use-cases/partitionListSections.js.map +1 -0
- package/dist/features/list/flatListMeta.d.ts +84 -0
- package/dist/features/list/flatListMeta.d.ts.map +1 -0
- package/dist/features/list/flatListMeta.js +37 -0
- package/dist/features/list/flatListMeta.js.map +1 -0
- package/dist/features/list/public.d.ts +4 -0
- package/dist/features/list/public.d.ts.map +1 -0
- package/dist/features/list/public.js +3 -0
- package/dist/features/list/public.js.map +1 -0
- package/dist/features/list/sectionListMeta.d.ts +114 -0
- package/dist/features/list/sectionListMeta.d.ts.map +1 -0
- package/dist/features/list/sectionListMeta.js +29 -0
- package/dist/features/list/sectionListMeta.js.map +1 -0
- package/dist/features/progress/adapters/inbound/Progress.d.ts +7 -0
- package/dist/features/progress/adapters/inbound/Progress.d.ts.map +1 -0
- package/dist/features/progress/adapters/inbound/Progress.js +31 -0
- package/dist/features/progress/adapters/inbound/Progress.js.map +1 -0
- package/dist/features/progress/adapters/inbound/ProgressRing.d.ts +7 -0
- package/dist/features/progress/adapters/inbound/ProgressRing.d.ts.map +1 -0
- package/dist/features/progress/adapters/inbound/ProgressRing.js +100 -0
- package/dist/features/progress/adapters/inbound/ProgressRing.js.map +1 -0
- package/dist/features/progress/progressMeta.d.ts +160 -0
- package/dist/features/progress/progressMeta.d.ts.map +1 -0
- package/dist/features/progress/progressMeta.js +142 -0
- package/dist/features/progress/progressMeta.js.map +1 -0
- package/dist/features/progress/public.d.ts +4 -0
- package/dist/features/progress/public.d.ts.map +1 -0
- package/dist/features/progress/public.js +3 -0
- package/dist/features/progress/public.js.map +1 -0
- package/dist/features/progress/utils/resolveProgressFraction.d.ts.map +1 -0
- package/dist/features/progress/utils/resolveProgressFraction.js.map +1 -0
- package/dist/features/progress/utils/resolveProgressRingGeometry.d.ts.map +1 -0
- package/dist/features/progress/utils/resolveProgressRingGeometry.js.map +1 -0
- package/dist/features/splash-screen/adapters/inbound/SplashScreen.d.ts +11 -0
- package/dist/features/splash-screen/adapters/inbound/SplashScreen.d.ts.map +1 -0
- package/dist/features/splash-screen/adapters/inbound/SplashScreen.js +55 -0
- package/dist/features/splash-screen/adapters/inbound/SplashScreen.js.map +1 -0
- package/dist/features/splash-screen/public.d.ts +3 -0
- package/dist/features/splash-screen/public.d.ts.map +1 -0
- package/dist/features/splash-screen/public.js +2 -0
- package/dist/features/splash-screen/public.js.map +1 -0
- package/dist/features/splash-screen/splashScreenMeta.d.ts +39 -0
- package/dist/features/splash-screen/splashScreenMeta.d.ts.map +1 -0
- package/dist/features/splash-screen/splashScreenMeta.js +40 -0
- package/dist/features/splash-screen/splashScreenMeta.js.map +1 -0
- package/dist/features/surface/adapters/inbound/Surface.d.ts +5 -0
- package/dist/features/surface/adapters/inbound/Surface.d.ts.map +1 -0
- package/dist/features/surface/adapters/inbound/Surface.js +10 -0
- package/dist/features/surface/adapters/inbound/Surface.js.map +1 -0
- package/dist/features/surface/public.d.ts +3 -0
- package/dist/features/surface/public.d.ts.map +1 -0
- package/dist/features/surface/public.js +2 -0
- package/dist/features/surface/public.js.map +1 -0
- package/dist/features/surface/surfaceMeta.d.ts +74 -0
- package/dist/features/surface/surfaceMeta.d.ts.map +1 -0
- package/dist/features/surface/surfaceMeta.js +13 -0
- package/dist/features/surface/surfaceMeta.js.map +1 -0
- package/dist/features/typography/adapters/inbound/Heading.d.ts +15 -0
- package/dist/features/typography/adapters/inbound/Heading.d.ts.map +1 -0
- package/dist/features/typography/adapters/inbound/Heading.js +71 -0
- package/dist/features/typography/adapters/inbound/Heading.js.map +1 -0
- package/dist/features/typography/adapters/inbound/Text.d.ts +15 -0
- package/dist/features/typography/adapters/inbound/Text.d.ts.map +1 -0
- package/dist/features/typography/adapters/inbound/Text.js +64 -0
- package/dist/features/typography/adapters/inbound/Text.js.map +1 -0
- package/dist/features/typography/headingMeta.d.ts +122 -0
- package/dist/features/typography/headingMeta.d.ts.map +1 -0
- package/dist/features/typography/headingMeta.js +81 -0
- package/dist/features/typography/headingMeta.js.map +1 -0
- package/dist/features/typography/public.d.ts +5 -0
- package/dist/features/typography/public.d.ts.map +1 -0
- package/dist/features/typography/public.js +3 -0
- package/dist/features/typography/public.js.map +1 -0
- package/dist/features/typography/textMeta.d.ts +111 -0
- package/dist/features/typography/textMeta.d.ts.map +1 -0
- package/dist/features/typography/textMeta.js +73 -0
- package/dist/features/typography/textMeta.js.map +1 -0
- package/dist/features/typography/utils/headingThemeRecipeMeta.d.ts +39 -0
- package/dist/features/typography/utils/headingThemeRecipeMeta.d.ts.map +1 -0
- package/dist/features/typography/utils/headingThemeRecipeMeta.js +32 -0
- package/dist/features/typography/utils/headingThemeRecipeMeta.js.map +1 -0
- package/dist/features/typography/utils/resolveHeadingRecipe.d.ts +15 -0
- package/dist/features/typography/utils/resolveHeadingRecipe.d.ts.map +1 -0
- package/dist/features/typography/utils/resolveHeadingRecipe.js +112 -0
- package/dist/features/typography/utils/resolveHeadingRecipe.js.map +1 -0
- package/dist/features/typography/utils/resolveHeadingSizeFromLevel.d.ts +4 -0
- package/dist/features/typography/utils/resolveHeadingSizeFromLevel.d.ts.map +1 -0
- package/dist/features/typography/utils/resolveHeadingSizeFromLevel.js +18 -0
- package/dist/features/typography/utils/resolveHeadingSizeFromLevel.js.map +1 -0
- package/dist/features/typography/utils/resolveHeadingThemeRecipe.d.ts +11 -0
- package/dist/features/typography/utils/resolveHeadingThemeRecipe.d.ts.map +1 -0
- package/dist/features/typography/utils/resolveHeadingThemeRecipe.js.map +1 -0
- package/dist/features/typography/utils/resolveTextStyle.d.ts +17 -0
- package/dist/features/typography/utils/resolveTextStyle.d.ts.map +1 -0
- package/dist/features/typography/utils/resolveTextStyle.js +149 -0
- package/dist/features/typography/utils/resolveTextStyle.js.map +1 -0
- package/dist/features/typography/utils/resolveTextThemeRecipe.d.ts +11 -0
- package/dist/features/typography/utils/resolveTextThemeRecipe.d.ts.map +1 -0
- package/dist/features/typography/utils/resolveTextThemeRecipe.js.map +1 -0
- package/dist/features/typography/utils/textThemeRecipeMeta.d.ts +40 -0
- package/dist/features/typography/utils/textThemeRecipeMeta.d.ts.map +1 -0
- package/dist/features/typography/utils/textThemeRecipeMeta.js +33 -0
- package/dist/features/typography/utils/textThemeRecipeMeta.js.map +1 -0
- package/dist/features/uploader/adapters/inbound/Uploader.d.ts.map +1 -1
- package/dist/features/uploader/adapters/inbound/Uploader.js +40 -16
- package/dist/features/uploader/adapters/inbound/Uploader.js.map +1 -1
- package/dist/features/uploader/uploaderMeta.d.ts +136 -0
- package/dist/features/uploader/uploaderMeta.d.ts.map +1 -0
- package/dist/features/uploader/uploaderMeta.js +66 -0
- package/dist/features/uploader/uploaderMeta.js.map +1 -0
- package/dist/foundation/index.d.ts +0 -12
- package/dist/foundation/index.d.ts.map +1 -1
- package/dist/foundation/index.js +0 -6
- package/dist/foundation/index.js.map +1 -1
- package/dist/foundation/meta.d.ts +0 -58
- package/dist/foundation/meta.d.ts.map +1 -1
- package/dist/foundation/meta.js +0 -49
- package/dist/foundation/meta.js.map +1 -1
- package/dist/index.d.ts +56 -54
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -27
- package/dist/index.js.map +1 -1
- package/dist/layout/app-shell/AppShell.js +1 -1
- package/dist/layout/app-shell/AppShell.js.map +1 -1
- package/dist/layout/screen/Screen.js +1 -1
- package/dist/layout/screen/Screen.js.map +1 -1
- package/dist/layout/screen/meta.d.ts +1 -1
- package/dist/layout/screen-section/ScreenSection.js +1 -1
- package/dist/layout/screen-section/ScreenSection.js.map +1 -1
- package/dist/layout/screen-section/meta.d.ts +1 -1
- package/dist/layout/sidebar-layout/SidebarLayout.js +1 -1
- package/dist/layout/sidebar-layout/SidebarLayout.js.map +1 -1
- package/dist/layout/topbar-layout/TopbarLayout.js +1 -1
- package/dist/layout/topbar-layout/TopbarLayout.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 +27 -2
- package/dist/metadata/allowedChildren.js.map +1 -1
- package/dist/metadata/bindableComponentMeta.d.ts +35 -76
- package/dist/metadata/bindableComponentMeta.d.ts.map +1 -1
- package/dist/metadata/bindableComponentMeta.js +8 -63
- package/dist/metadata/bindableComponentMeta.js.map +1 -1
- package/dist/metadata/componentMeta.d.ts.map +1 -1
- package/dist/metadata/componentMeta.js +50 -31
- package/dist/metadata/componentMeta.js.map +1 -1
- package/dist/metadata/themeRecipeMeta.js +5 -5
- package/dist/metadata/themeRecipeMeta.js.map +1 -1
- package/dist/patterns/auth/ForgotPasswordForm.js +2 -2
- package/dist/patterns/auth/ForgotPasswordForm.js.map +1 -1
- package/dist/patterns/auth/OAuthProviderButton.js +1 -1
- package/dist/patterns/auth/OAuthProviderButton.js.map +1 -1
- package/dist/patterns/auth/OAuthProviderList.js +1 -1
- package/dist/patterns/auth/OAuthProviderList.js.map +1 -1
- package/dist/patterns/auth/OtpForm.js +2 -2
- package/dist/patterns/auth/OtpForm.js.map +1 -1
- package/dist/patterns/auth/SignInForm.js +2 -2
- package/dist/patterns/auth/SignInForm.js.map +1 -1
- package/dist/patterns/auth/SignUpForm.js +2 -2
- package/dist/patterns/auth/SignUpForm.js.map +1 -1
- package/dist/patterns/auth/types.d.ts +1 -1
- package/dist/patterns/auth/types.d.ts.map +1 -1
- package/dist/patterns/auth/types.js.map +1 -1
- package/dist/patterns/chat-list-item/ChatListItem.d.ts.map +1 -1
- package/dist/patterns/chat-list-item/ChatListItem.js +5 -4
- package/dist/patterns/chat-list-item/ChatListItem.js.map +1 -1
- package/dist/patterns/chat-list-item/types.d.ts +1 -1
- package/dist/patterns/chat-list-item/types.d.ts.map +1 -1
- package/dist/patterns/chat-list-item/types.js.map +1 -1
- package/dist/patterns/collection-editor/CollectionEditor.js +4 -4
- package/dist/patterns/collection-editor/CollectionEditor.js.map +1 -1
- package/dist/patterns/confirm-dialog/ConfirmDialog.js +2 -2
- package/dist/patterns/confirm-dialog/ConfirmDialog.js.map +1 -1
- package/dist/patterns/disclosure-section/DisclosureSection.js +4 -4
- package/dist/patterns/disclosure-section/DisclosureSection.js.map +1 -1
- package/dist/patterns/filter-bar/FilterBar.d.ts.map +1 -1
- package/dist/patterns/filter-bar/FilterBar.js +2 -1
- package/dist/patterns/filter-bar/FilterBar.js.map +1 -1
- package/dist/patterns/form-field/FormField.js +2 -2
- package/dist/patterns/form-field/FormField.js.map +1 -1
- package/dist/patterns/hero/Hero.js +5 -5
- package/dist/patterns/hero/Hero.js.map +1 -1
- package/dist/patterns/inspector-field/InspectorField.js +1 -1
- 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 +2 -1
- 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 +3 -2
- package/dist/patterns/list/ListRow.js.map +1 -1
- package/dist/patterns/list/ListSection.js +1 -1
- 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 +4 -3
- package/dist/patterns/message-bubble/MessageBubble.js.map +1 -1
- package/dist/patterns/message-bubble/meta.d.ts +1 -1
- package/dist/patterns/message-bubble/types.d.ts +1 -1
- package/dist/patterns/message-bubble/types.d.ts.map +1 -1
- package/dist/patterns/message-bubble/types.js.map +1 -1
- package/dist/patterns/missing-element/MissingElement.js +3 -3
- package/dist/patterns/missing-element/MissingElement.js.map +1 -1
- package/dist/patterns/notice/Notice.js +3 -3
- package/dist/patterns/notice/Notice.js.map +1 -1
- package/dist/patterns/notice/meta.d.ts +1 -1
- package/dist/patterns/panel/Panel.js +2 -2
- package/dist/patterns/panel/Panel.js.map +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 +6 -4
- package/dist/patterns/reader/ReaderSurface.js.map +1 -1
- package/dist/patterns/reader/meta.d.ts +2 -2
- package/dist/patterns/scanner/BarcodeScannerView.js +3 -3
- package/dist/patterns/scanner/BarcodeScannerView.js.map +1 -1
- package/dist/patterns/scanner/CameraPermissionView.js +4 -4
- package/dist/patterns/scanner/CameraPermissionView.js.map +1 -1
- package/dist/patterns/scanner/ScanOverlay.js +3 -3
- package/dist/patterns/scanner/ScanOverlay.js.map +1 -1
- package/dist/patterns/scanner/meta.d.ts +2 -2
- package/dist/patterns/scanner/types.d.ts +1 -1
- package/dist/patterns/scanner/types.d.ts.map +1 -1
- package/dist/patterns/scanner/types.js.map +1 -1
- package/dist/patterns/section-header/SectionHeader.js +3 -3
- package/dist/patterns/section-header/SectionHeader.js.map +1 -1
- package/dist/patterns/settings-row/SettingsRow.js +3 -3
- package/dist/patterns/settings-row/SettingsRow.js.map +1 -1
- package/dist/patterns/theme-composer/ThemeComposer.js +9 -9
- package/dist/patterns/theme-composer/ThemeComposer.js.map +1 -1
- package/dist/patterns/tile-grid/PaletteItem.js +4 -4
- package/dist/patterns/tile-grid/PaletteItem.js.map +1 -1
- package/dist/patterns/tile-grid/TileGrid.js +1 -1
- package/dist/patterns/tile-grid/TileGrid.js.map +1 -1
- package/dist/patterns/timeline/Timeline.d.ts.map +1 -1
- package/dist/patterns/timeline/Timeline.js +5 -4
- package/dist/patterns/timeline/Timeline.js.map +1 -1
- package/dist/patterns/tree-view/TreeItem.js +2 -2
- package/dist/patterns/tree-view/TreeItem.js.map +1 -1
- package/dist/patterns/tree-view/TreeView.js +1 -1
- package/dist/patterns/tree-view/TreeView.js.map +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +36 -29
- package/dist/registry.js.map +1 -1
- package/dist/theme/ThemeModeToggle.js +1 -1
- package/dist/theme/ThemeModeToggle.js.map +1 -1
- package/dist/theme/ThemeModeToggleProps.d.ts +1 -1
- package/dist/theme/ThemeModeToggleProps.js.map +1 -1
- package/dist/types/activity-indicator.d.ts +6 -0
- package/dist/types/activity-indicator.d.ts.map +1 -0
- package/dist/types/activity-indicator.js +2 -0
- package/dist/types/activity-indicator.js.map +1 -0
- package/dist/types/avatar-group.d.ts +22 -0
- package/dist/types/avatar-group.d.ts.map +1 -0
- package/dist/types/avatar-group.js +2 -0
- package/dist/types/avatar-group.js.map +1 -0
- package/dist/types/avatar.d.ts +17 -0
- package/dist/types/avatar.d.ts.map +1 -0
- package/dist/types/avatar.js +2 -0
- package/dist/types/avatar.js.map +1 -0
- package/dist/types/badge.d.ts +11 -0
- package/dist/types/badge.d.ts.map +1 -0
- package/dist/types/badge.js +2 -0
- package/dist/types/badge.js.map +1 -0
- package/dist/types/button-group.d.ts +13 -0
- package/dist/types/button-group.d.ts.map +1 -0
- package/dist/types/button-group.js +2 -0
- package/dist/types/button-group.js.map +1 -0
- package/dist/types/button.d.ts +13 -0
- package/dist/types/button.d.ts.map +1 -0
- package/dist/types/button.js +2 -0
- package/dist/types/button.js.map +1 -0
- package/dist/types/card.d.ts +17 -0
- package/dist/types/card.d.ts.map +1 -0
- package/dist/types/card.js +2 -0
- package/dist/types/card.js.map +1 -0
- package/dist/types/checkbox.d.ts +20 -0
- package/dist/types/checkbox.d.ts.map +1 -0
- package/dist/types/checkbox.js +2 -0
- package/dist/types/checkbox.js.map +1 -0
- package/dist/types/chip-group.d.ts +31 -0
- package/dist/types/chip-group.d.ts.map +1 -0
- package/dist/types/chip-group.js +2 -0
- package/dist/types/chip-group.js.map +1 -0
- package/dist/types/chip.d.ts +26 -0
- package/dist/types/chip.d.ts.map +1 -0
- package/dist/types/chip.js +2 -0
- package/dist/types/chip.js.map +1 -0
- package/dist/types/content-rail.d.ts +33 -0
- package/dist/types/content-rail.d.ts.map +1 -0
- package/dist/types/content-rail.js +2 -0
- package/dist/types/content-rail.js.map +1 -0
- package/dist/types/data-table.d.ts +52 -0
- package/dist/types/data-table.d.ts.map +1 -0
- package/dist/types/data-table.js +2 -0
- package/dist/types/data-table.js.map +1 -0
- package/dist/types/empty-state.d.ts +18 -0
- package/dist/types/empty-state.d.ts.map +1 -0
- package/dist/types/empty-state.js +2 -0
- package/dist/types/empty-state.js.map +1 -0
- package/dist/types/heading.d.ts +32 -0
- package/dist/types/heading.d.ts.map +1 -0
- package/dist/types/heading.js +2 -0
- package/dist/types/heading.js.map +1 -0
- package/dist/types/icon-button.d.ts +18 -0
- package/dist/types/icon-button.d.ts.map +1 -0
- package/dist/types/icon-button.js +2 -0
- package/dist/types/icon-button.js.map +1 -0
- package/dist/types/icon.d.ts +4 -0
- package/dist/types/icon.d.ts.map +1 -0
- package/dist/types/icon.js +2 -0
- package/dist/types/icon.js.map +1 -0
- package/dist/types/image.d.ts +8 -0
- package/dist/types/image.d.ts.map +1 -0
- package/dist/types/image.js +2 -0
- package/dist/types/image.js.map +1 -0
- package/dist/types/layout.d.ts +13 -0
- package/dist/types/layout.d.ts.map +1 -0
- package/dist/types/layout.js +2 -0
- package/dist/types/layout.js.map +1 -0
- package/dist/types/manifest-bottom-sheet.d.ts +18 -0
- package/dist/types/manifest-bottom-sheet.d.ts.map +1 -0
- package/dist/types/manifest-bottom-sheet.js +2 -0
- package/dist/types/manifest-bottom-sheet.js.map +1 -0
- package/dist/types/manifest-list.d.ts +34 -0
- package/dist/types/manifest-list.d.ts.map +1 -0
- package/dist/types/manifest-list.js +2 -0
- package/dist/types/manifest-list.js.map +1 -0
- package/dist/types/media-card.d.ts +36 -0
- package/dist/types/media-card.d.ts.map +1 -0
- package/dist/types/media-card.js +2 -0
- package/dist/types/media-card.js.map +1 -0
- package/dist/types/metric-card.d.ts +17 -0
- package/dist/types/metric-card.d.ts.map +1 -0
- package/dist/types/metric-card.js +2 -0
- package/dist/types/metric-card.js.map +1 -0
- package/dist/types/post-card.d.ts +64 -0
- package/dist/types/post-card.d.ts.map +1 -0
- package/dist/types/post-card.js +2 -0
- package/dist/types/post-card.js.map +1 -0
- package/dist/types/product-card.d.ts +23 -0
- package/dist/types/product-card.d.ts.map +1 -0
- package/dist/types/product-card.js +2 -0
- package/dist/types/product-card.js.map +1 -0
- package/dist/types/progress.d.ts +23 -0
- package/dist/types/progress.d.ts.map +1 -0
- package/dist/types/progress.js +26 -0
- package/dist/types/progress.js.map +1 -0
- package/dist/types/radio.d.ts +31 -0
- package/dist/types/radio.d.ts.map +1 -0
- package/dist/types/radio.js +2 -0
- package/dist/types/radio.js.map +1 -0
- package/dist/types/splash-screen.d.ts +16 -0
- package/dist/types/splash-screen.d.ts.map +1 -0
- package/dist/types/splash-screen.js +2 -0
- package/dist/types/splash-screen.js.map +1 -0
- package/dist/types/surface.d.ts +6 -0
- package/dist/types/surface.d.ts.map +1 -0
- package/dist/types/surface.js +2 -0
- package/dist/types/surface.js.map +1 -0
- package/dist/types/text-input.d.ts +22 -0
- package/dist/types/text-input.d.ts.map +1 -0
- package/dist/types/text-input.js +2 -0
- package/dist/types/text-input.js.map +1 -0
- package/dist/types/text.d.ts +31 -0
- package/dist/types/text.d.ts.map +1 -0
- package/dist/types/text.js +2 -0
- package/dist/types/text.js.map +1 -0
- package/dist/types/upload.d.ts +15 -3
- package/dist/types/upload.d.ts.map +1 -1
- package/dist/types/upload.js.map +1 -1
- package/dist/utils/createManifestBindings.d.ts +5 -0
- package/dist/utils/createManifestBindings.d.ts.map +1 -0
- package/dist/utils/createManifestBindings.js +36 -0
- package/dist/utils/createManifestBindings.js.map +1 -0
- package/dist/utils/finalizeFeatureMetadata.d.ts +4 -0
- package/dist/utils/finalizeFeatureMetadata.d.ts.map +1 -0
- package/dist/utils/finalizeFeatureMetadata.js +22 -0
- package/dist/utils/finalizeFeatureMetadata.js.map +1 -0
- package/package.json +1 -1
- package/src/audit.test.ts +6 -6
- package/src/components/app-bar/AppBar.tsx +5 -4
- package/src/components/breadcrumbs/Breadcrumbs.tsx +3 -3
- package/src/components/contentFallback.test.ts +8 -2
- package/src/components/date-picker/DatePicker.tsx +3 -3
- package/src/components/form/Form.tsx +1 -1
- package/src/components/form/FormActions.tsx +2 -2
- package/src/components/form/FormError.tsx +2 -2
- package/src/components/form/FormField.tsx +4 -4
- package/src/components/form/meta.ts +1 -1
- package/src/components/form/types.ts +6 -6
- package/src/components/gradient/Gradient.tsx +1 -1
- package/src/components/gradient/types.ts +1 -1
- package/src/components/menu/Menu.tsx +2 -2
- package/src/components/modal/Modal.tsx +3 -3
- package/src/components/pagination/Pagination.tsx +3 -3
- package/src/components/rating/Rating.tsx +1 -1
- package/src/components/search-bar/SearchBar.tsx +3 -3
- package/src/components/select/Select.tsx +1 -1
- package/src/components/skeleton/Skeleton.tsx +1 -1
- package/src/components/skeleton/SkeletonCard.tsx +3 -3
- package/src/components/skeleton/SkeletonText.tsx +1 -1
- package/src/components/skeleton/types.ts +1 -1
- package/src/components/tabs/Tabs.tsx +3 -3
- package/src/components/time-picker/TimePicker.tsx +3 -3
- package/src/components/toolbar/Toolbar.tsx +2 -2
- package/src/components/toolbar/ToolbarAction.tsx +1 -1
- package/src/constants.ts +23 -0
- package/src/corePluginMetadata.ts +10 -1
- package/src/featureManifest.test.ts +48 -0
- package/src/features/activity-indicator/activityIndicatorMeta.ts +14 -0
- package/src/features/activity-indicator/adapters/inbound/ActivityIndicator.tsx +21 -0
- package/src/features/activity-indicator/public.ts +2 -0
- package/src/features/avatar/adapters/inbound/Avatar.tsx +147 -0
- package/src/features/avatar/adapters/inbound/AvatarGroup.tsx +77 -0
- package/src/features/avatar/avatarGroupMeta.ts +25 -0
- package/src/features/avatar/avatarMeta.ts +42 -0
- package/src/features/avatar/public.ts +5 -0
- package/src/features/badge/adapters/inbound/Badge.tsx +33 -0
- package/src/features/badge/badgeMeta.ts +29 -0
- package/src/features/badge/public.ts +2 -0
- package/src/features/bottom-sheet/adapters/inbound/BottomSheet.tsx +85 -0
- package/src/features/bottom-sheet/bottomSheetMeta.ts +33 -0
- package/src/features/bottom-sheet/public.ts +2 -0
- package/src/features/button/adapters/inbound/Button.tsx +42 -0
- package/src/features/button/adapters/inbound/ButtonGroup.tsx +112 -0
- package/src/features/button/adapters/inbound/IconButton.tsx +37 -0
- package/src/features/button/buttonGroupMeta.ts +45 -0
- package/src/features/button/buttonMeta.ts +51 -0
- package/src/features/button/iconButtonMeta.ts +48 -0
- package/src/features/button/public.ts +10 -0
- package/src/features/button/utils/resolveButtonThemeRecipe.ts +41 -0
- package/src/features/button/utils/themeRecipeMeta.ts +29 -0
- package/src/features/card/adapters/inbound/Card.tsx +91 -0
- package/src/features/card/adapters/inbound/MediaCard.tsx +124 -0
- package/src/features/card/adapters/inbound/MetricCard.tsx +82 -0
- package/src/features/card/adapters/inbound/PostCard.test.tsx +11 -0
- package/src/features/card/adapters/inbound/PostCard.tsx +241 -0
- package/src/features/card/adapters/inbound/ProductCard.test.tsx +19 -0
- package/src/features/card/adapters/inbound/ProductCard.tsx +141 -0
- package/src/features/card/cardMeta.ts +57 -0
- package/src/features/card/mediaCardMeta.ts +52 -0
- package/src/features/card/metricCardMeta.ts +47 -0
- package/src/features/card/public.ts +16 -0
- package/src/features/card/utils/resolveCardThemeRecipe.ts +33 -0
- package/src/features/card/utils/themeRecipeMeta.ts +32 -0
- package/src/features/chip/adapters/inbound/Chip.tsx +97 -0
- package/src/features/chip/adapters/inbound/ChipGroup.tsx +73 -0
- package/src/features/chip/chipGroupMeta.ts +32 -0
- package/src/features/chip/chipMeta.ts +39 -0
- package/src/features/chip/public.ts +4 -0
- package/src/features/chip/utils/resolveChipColors.ts +74 -0
- package/src/features/data-table/adapters/inbound/DataTable.tsx +411 -0
- package/src/features/data-table/dataTableMeta.ts +58 -0
- package/src/features/data-table/public.ts +11 -0
- package/src/features/data-table/utils/resolveDataTableRowKey.test.ts +11 -0
- package/src/features/data-table/utils/resolveDataTableRowKey.ts +13 -0
- package/src/features/empty-state/adapters/inbound/EmptyState.tsx +74 -0
- package/src/features/empty-state/public.ts +2 -0
- package/src/features/form/checkbox/adapters/inbound/Checkbox.tsx +21 -0
- package/src/features/form/checkbox/adapters/inbound/CheckboxGroup.tsx +121 -0
- package/src/features/form/checkbox/checkboxMeta.ts +30 -0
- package/src/features/form/checkbox/public.ts +7 -0
- package/src/features/form/radio/adapters/inbound/Radio.tsx +14 -0
- package/src/features/form/radio/adapters/inbound/RadioGroup.test.ts +35 -0
- package/src/features/form/radio/adapters/inbound/RadioGroup.tsx +125 -0
- package/src/features/form/radio/adapters/inbound/RadioOptionControl.tsx +192 -0
- package/src/features/form/radio/public.ts +3 -0
- package/src/features/form/radio/radioMeta.ts +214 -0
- package/src/features/form/radio/themeRecipeMeta.ts +28 -0
- package/src/features/form/radio/utils/handleRadioOptionKeyDown.test.ts +47 -0
- package/src/features/form/radio/utils/handleRadioOptionKeyDown.ts +37 -0
- package/src/features/form/radio/utils/resolveRadioGroupThemeRecipe.ts +45 -0
- package/src/features/form/radio/utils/resolveRadioOptionColors.ts +37 -0
- package/src/features/form/text-input/adapters/inbound/TextInput.tsx +68 -0
- package/src/features/form/text-input/public.ts +2 -0
- package/src/features/form/text-input/textInputMeta.ts +58 -0
- package/src/features/icon/adapters/inbound/Icon.tsx +18 -0
- package/src/features/icon/public.ts +2 -0
- package/src/features/icon/utils/meta.test.ts +22 -0
- package/src/features/image/adapters/inbound/Image.tsx +149 -0
- package/src/features/image/imageMeta.ts +35 -0
- package/src/features/image/public.ts +2 -0
- package/src/features/layout/adapters/inbound/Box.tsx +18 -0
- package/src/features/layout/adapters/inbound/Container.tsx +18 -0
- package/src/features/layout/adapters/inbound/ContentRail.test.ts +44 -0
- package/src/features/layout/adapters/inbound/ContentRail.tsx +262 -0
- package/src/features/layout/adapters/inbound/ContentRailFlow.tsx +40 -0
- package/src/features/layout/adapters/inbound/Divider.tsx +18 -0
- package/src/features/layout/adapters/inbound/Grid.tsx +18 -0
- package/src/features/layout/adapters/inbound/Stack.tsx +18 -0
- package/src/features/layout/boxMeta.ts +16 -0
- package/src/features/layout/constants.ts +21 -0
- package/src/features/layout/containerMeta.ts +11 -0
- package/src/features/layout/contentRailMeta.ts +134 -0
- package/src/features/layout/dividerMeta.ts +17 -0
- package/src/features/layout/gridMeta.ts +18 -0
- package/src/features/layout/public.ts +22 -0
- package/src/features/layout/stackMeta.ts +26 -0
- package/src/features/layout/utils/resolveContentRailItemWidth.ts +40 -0
- package/src/features/layout/utils/useContentRailReducedMotion.ts +28 -0
- package/src/features/list/adapters/inbound/FlatList.tsx +69 -0
- package/src/features/list/adapters/inbound/HorizontalListSeparator.tsx +8 -0
- package/src/features/list/adapters/inbound/SectionList.tsx +76 -0
- package/src/features/list/adapters/inbound/VerticalListSeparator.tsx +8 -0
- package/src/features/list/adapters/inbound/useListVisibility.ts +25 -0
- package/src/features/list/application/use-cases/partitionListSections.test.ts +30 -0
- package/src/features/list/application/use-cases/partitionListSections.ts +23 -0
- package/src/features/list/flatListMeta.ts +39 -0
- package/src/features/list/public.ts +7 -0
- package/src/features/list/sectionListMeta.ts +31 -0
- package/src/features/progress/adapters/inbound/Progress.tsx +54 -0
- package/src/features/progress/adapters/inbound/ProgressRing.test.ts +51 -0
- package/src/features/progress/adapters/inbound/ProgressRing.tsx +151 -0
- package/src/features/progress/public.ts +3 -0
- package/src/features/splash-screen/adapters/inbound/SplashScreen.tsx +98 -0
- package/src/features/splash-screen/public.ts +2 -0
- package/src/features/splash-screen/splashScreenMeta.ts +41 -0
- package/src/features/surface/adapters/inbound/Surface.tsx +18 -0
- package/src/features/surface/public.ts +2 -0
- package/src/features/surface/surfaceMeta.ts +14 -0
- package/src/features/typography/adapters/inbound/Heading.tsx +114 -0
- package/src/features/typography/adapters/inbound/Text.tsx +110 -0
- package/src/features/typography/headingMeta.ts +82 -0
- package/src/features/typography/public.ts +19 -0
- package/src/features/typography/textMeta.ts +74 -0
- package/src/features/typography/utils/headingThemeRecipeMeta.ts +33 -0
- package/src/features/typography/utils/resolveHeadingRecipe.test.ts +293 -0
- package/src/features/typography/utils/resolveHeadingRecipe.ts +174 -0
- package/src/features/typography/utils/resolveHeadingSizeFromLevel.ts +19 -0
- package/src/features/typography/utils/resolveHeadingThemeRecipe.ts +55 -0
- package/src/features/typography/utils/resolveTextStyle.test.ts +380 -0
- package/src/features/typography/utils/resolveTextStyle.ts +220 -0
- package/src/features/typography/utils/resolveTextThemeRecipe.ts +54 -0
- package/src/features/typography/utils/textThemeRecipeMeta.ts +34 -0
- package/src/features/uploader/adapters/inbound/Uploader.tsx +52 -17
- package/src/features/uploader/uploaderMeta.ts +68 -0
- package/src/foundation/index.test.ts +5 -10
- package/src/foundation/index.ts +0 -12
- package/src/foundation/meta.ts +0 -49
- package/src/index.ts +136 -119
- package/src/interactionPolicy.test.ts +8 -8
- package/src/layout/app-shell/AppShell.tsx +1 -1
- package/src/layout/screen/Screen.tsx +1 -1
- package/src/layout/screen-section/ScreenSection.tsx +1 -1
- package/src/layout/sidebar-layout/SidebarLayout.tsx +1 -1
- package/src/layout/topbar-layout/TopbarLayout.tsx +1 -1
- package/src/metadata/allowedChildren.ts +27 -2
- package/src/metadata/authoringMeta.test.ts +1 -1
- package/src/metadata/bindableComponentMeta.test.ts +1 -1
- package/src/metadata/bindableComponentMeta.ts +8 -63
- package/src/metadata/componentMeta.test.ts +30 -3
- package/src/metadata/componentMeta.ts +50 -31
- package/src/metadata/radioGroupReachability.test.ts +1 -1
- package/src/metadata/themeRecipeMeta.test.ts +1 -1
- package/src/metadata/themeRecipeMeta.ts +5 -5
- package/src/patterns/auth/ForgotPasswordForm.tsx +2 -2
- package/src/patterns/auth/OAuthProviderButton.tsx +1 -1
- package/src/patterns/auth/OAuthProviderList.tsx +1 -1
- package/src/patterns/auth/OtpForm.tsx +2 -2
- package/src/patterns/auth/SignInForm.tsx +2 -2
- package/src/patterns/auth/SignUpForm.tsx +2 -2
- package/src/patterns/auth/types.ts +1 -1
- package/src/patterns/chat-list-item/ChatListItem.tsx +5 -4
- package/src/patterns/chat-list-item/types.ts +1 -1
- package/src/patterns/collection-editor/CollectionEditor.tsx +4 -4
- package/src/patterns/confirm-dialog/ConfirmDialog.tsx +2 -2
- package/src/patterns/disclosure-section/DisclosureSection.tsx +4 -4
- package/src/patterns/filter-bar/FilterBar.tsx +2 -1
- package/src/patterns/form-field/FormField.tsx +2 -2
- package/src/patterns/hero/Hero.tsx +5 -5
- package/src/patterns/inspector-field/InspectorField.tsx +1 -1
- package/src/patterns/list/List.tsx +2 -1
- package/src/patterns/list/ListRow.tsx +3 -2
- package/src/patterns/list/ListSection.tsx +1 -1
- package/src/patterns/message-bubble/MessageBubble.tsx +4 -3
- package/src/patterns/message-bubble/types.ts +1 -1
- package/src/patterns/missing-element/MissingElement.tsx +3 -3
- package/src/patterns/notice/Notice.tsx +3 -3
- package/src/patterns/panel/Panel.tsx +2 -2
- package/src/patterns/reader/ReaderSurface.test.ts +1 -1
- package/src/patterns/reader/ReaderSurface.tsx +6 -4
- package/src/patterns/scanner/BarcodeScannerView.tsx +3 -3
- package/src/patterns/scanner/CameraPermissionView.tsx +4 -4
- package/src/patterns/scanner/ScanOverlay.tsx +3 -3
- package/src/patterns/scanner/types.ts +1 -1
- package/src/patterns/section-header/SectionHeader.tsx +3 -3
- package/src/patterns/settings-row/SettingsRow.tsx +3 -3
- package/src/patterns/theme-composer/ThemeComposer.tsx +9 -9
- package/src/patterns/tile-grid/PaletteItem.tsx +4 -4
- package/src/patterns/tile-grid/TileGrid.tsx +1 -1
- package/src/patterns/timeline/Timeline.tsx +5 -4
- package/src/patterns/tree-view/TreeItem.tsx +2 -2
- package/src/patterns/tree-view/TreeView.tsx +1 -1
- package/src/platformAcceptance.test.ts +1 -1
- package/src/registry.test.ts +1 -1
- package/src/registry.ts +36 -40
- package/src/showcaseCoverage.test.ts +2 -3
- package/src/theme/ThemeModeToggle.tsx +1 -1
- package/src/theme/ThemeModeToggleProps.ts +1 -1
- package/src/theme/themeScopeStructure.test.ts +41 -40
- package/src/types/activity-indicator.ts +8 -0
- package/src/types/avatar-group.ts +24 -0
- package/src/types/avatar.ts +20 -0
- package/src/types/badge.ts +15 -0
- package/src/types/button-group.ts +15 -0
- package/src/types/button.ts +15 -0
- package/src/types/card.ts +19 -0
- package/src/types/checkbox.ts +29 -0
- package/src/types/chip-group.ts +36 -0
- package/src/types/chip.ts +29 -0
- package/src/types/content-rail.ts +37 -0
- package/src/types/data-table.ts +58 -0
- package/src/types/empty-state.ts +20 -0
- package/src/types/heading.ts +38 -0
- package/src/types/icon-button.ts +17 -0
- package/src/types/icon.ts +5 -0
- package/src/types/image.ts +11 -0
- package/src/types/layout.ts +17 -0
- package/src/types/manifest-bottom-sheet.ts +17 -0
- package/src/types/manifest-list.ts +33 -0
- package/src/types/media-card.ts +42 -0
- package/src/types/metric-card.ts +18 -0
- package/src/types/post-card.ts +71 -0
- package/src/types/product-card.ts +23 -0
- package/src/types/progress.ts +50 -0
- package/src/types/radio.ts +37 -0
- package/src/types/splash-screen.ts +18 -0
- package/src/types/surface.ts +7 -0
- package/src/types/text-input.ts +33 -0
- package/src/types/text.ts +41 -0
- package/src/types/upload.ts +9 -3
- package/src/utils/createManifestBindings.ts +47 -0
- package/src/utils/finalizeFeatureMetadata.ts +26 -0
- package/dist/components/avatar/Avatar.d.ts +0 -7
- package/dist/components/avatar/Avatar.d.ts.map +0 -1
- package/dist/components/avatar/Avatar.js +0 -101
- package/dist/components/avatar/Avatar.js.map +0 -1
- package/dist/components/avatar/index.d.ts +0 -4
- package/dist/components/avatar/index.d.ts.map +0 -1
- package/dist/components/avatar/index.js +0 -3
- package/dist/components/avatar/index.js.map +0 -1
- package/dist/components/avatar/meta.d.ts +0 -9
- package/dist/components/avatar/meta.d.ts.map +0 -1
- package/dist/components/avatar/meta.js +0 -9
- package/dist/components/avatar/meta.js.map +0 -1
- package/dist/components/avatar/resolveAvatarInitials.d.ts.map +0 -1
- package/dist/components/avatar/resolveAvatarInitials.js.map +0 -1
- package/dist/components/avatar/types.d.ts +0 -17
- package/dist/components/avatar/types.d.ts.map +0 -1
- package/dist/components/avatar/types.js +0 -2
- package/dist/components/avatar/types.js.map +0 -1
- package/dist/components/avatar-group/AvatarGroup.d.ts +0 -7
- package/dist/components/avatar-group/AvatarGroup.d.ts.map +0 -1
- package/dist/components/avatar-group/AvatarGroup.js +0 -29
- package/dist/components/avatar-group/AvatarGroup.js.map +0 -1
- package/dist/components/avatar-group/index.d.ts +0 -3
- package/dist/components/avatar-group/index.d.ts.map +0 -1
- package/dist/components/avatar-group/index.js +0 -2
- package/dist/components/avatar-group/index.js.map +0 -1
- package/dist/components/avatar-group/meta.d.ts +0 -9
- package/dist/components/avatar-group/meta.d.ts.map +0 -1
- package/dist/components/avatar-group/meta.js +0 -9
- package/dist/components/avatar-group/meta.js.map +0 -1
- package/dist/components/avatar-group/types.d.ts +0 -22
- package/dist/components/avatar-group/types.d.ts.map +0 -1
- package/dist/components/avatar-group/types.js +0 -2
- package/dist/components/avatar-group/types.js.map +0 -1
- package/dist/components/badge/Badge.d.ts +0 -7
- package/dist/components/badge/Badge.d.ts.map +0 -1
- package/dist/components/badge/Badge.js +0 -13
- package/dist/components/badge/Badge.js.map +0 -1
- package/dist/components/badge/index.d.ts +0 -3
- package/dist/components/badge/index.d.ts.map +0 -1
- package/dist/components/badge/index.js +0 -2
- package/dist/components/badge/index.js.map +0 -1
- package/dist/components/badge/meta.d.ts +0 -9
- package/dist/components/badge/meta.d.ts.map +0 -1
- package/dist/components/badge/meta.js +0 -9
- package/dist/components/badge/meta.js.map +0 -1
- package/dist/components/badge/types.d.ts +0 -11
- package/dist/components/badge/types.d.ts.map +0 -1
- package/dist/components/badge/types.js +0 -2
- package/dist/components/badge/types.js.map +0 -1
- package/dist/components/button/Button.d.ts +0 -15
- package/dist/components/button/Button.d.ts.map +0 -1
- package/dist/components/button/Button.js +0 -23
- package/dist/components/button/Button.js.map +0 -1
- package/dist/components/button/index.d.ts +0 -3
- package/dist/components/button/index.d.ts.map +0 -1
- package/dist/components/button/index.js +0 -2
- package/dist/components/button/index.js.map +0 -1
- package/dist/components/button/meta.d.ts +0 -65
- package/dist/components/button/meta.d.ts.map +0 -1
- package/dist/components/button/meta.js +0 -52
- package/dist/components/button/meta.js.map +0 -1
- package/dist/components/button/resolveButtonThemeRecipe.d.ts +0 -9
- package/dist/components/button/resolveButtonThemeRecipe.d.ts.map +0 -1
- package/dist/components/button/resolveButtonThemeRecipe.js +0 -30
- package/dist/components/button/resolveButtonThemeRecipe.js.map +0 -1
- package/dist/components/button/themeRecipeMeta.d.ts.map +0 -1
- package/dist/components/button/themeRecipeMeta.js +0 -28
- package/dist/components/button/themeRecipeMeta.js.map +0 -1
- package/dist/components/button/types.d.ts +0 -13
- package/dist/components/button/types.d.ts.map +0 -1
- package/dist/components/button/types.js +0 -2
- package/dist/components/button/types.js.map +0 -1
- package/dist/components/button-group/ButtonGroup.d.ts +0 -7
- package/dist/components/button-group/ButtonGroup.d.ts.map +0 -1
- package/dist/components/button-group/ButtonGroup.js +0 -76
- package/dist/components/button-group/ButtonGroup.js.map +0 -1
- package/dist/components/button-group/index.d.ts +0 -3
- package/dist/components/button-group/index.d.ts.map +0 -1
- package/dist/components/button-group/index.js +0 -2
- package/dist/components/button-group/index.js.map +0 -1
- package/dist/components/button-group/meta.d.ts +0 -44
- package/dist/components/button-group/meta.d.ts.map +0 -1
- package/dist/components/button-group/meta.js +0 -44
- package/dist/components/button-group/meta.js.map +0 -1
- package/dist/components/button-group/types.d.ts +0 -13
- package/dist/components/button-group/types.d.ts.map +0 -1
- package/dist/components/button-group/types.js +0 -2
- package/dist/components/button-group/types.js.map +0 -1
- package/dist/components/card/Card.d.ts +0 -15
- package/dist/components/card/Card.d.ts.map +0 -1
- package/dist/components/card/Card.js +0 -53
- package/dist/components/card/Card.js.map +0 -1
- package/dist/components/card/index.d.ts +0 -3
- package/dist/components/card/index.d.ts.map +0 -1
- package/dist/components/card/index.js +0 -2
- package/dist/components/card/index.js.map +0 -1
- package/dist/components/card/meta.d.ts +0 -80
- package/dist/components/card/meta.d.ts.map +0 -1
- package/dist/components/card/meta.js +0 -49
- package/dist/components/card/meta.js.map +0 -1
- package/dist/components/card/resolveCardThemeRecipe.d.ts +0 -15
- package/dist/components/card/resolveCardThemeRecipe.d.ts.map +0 -1
- package/dist/components/card/resolveCardThemeRecipe.js.map +0 -1
- package/dist/components/card/themeRecipeMeta.d.ts.map +0 -1
- package/dist/components/card/themeRecipeMeta.js.map +0 -1
- package/dist/components/card/types.d.ts +0 -17
- package/dist/components/card/types.d.ts.map +0 -1
- package/dist/components/card/types.js +0 -2
- package/dist/components/card/types.js.map +0 -1
- package/dist/components/checkbox/Checkbox.d.ts +0 -9
- package/dist/components/checkbox/Checkbox.d.ts.map +0 -1
- package/dist/components/checkbox/Checkbox.js +0 -13
- package/dist/components/checkbox/Checkbox.js.map +0 -1
- package/dist/components/checkbox/CheckboxGroup.d.ts +0 -7
- package/dist/components/checkbox/CheckboxGroup.d.ts.map +0 -1
- package/dist/components/checkbox/CheckboxGroup.js +0 -41
- package/dist/components/checkbox/CheckboxGroup.js.map +0 -1
- package/dist/components/checkbox/index.d.ts +0 -4
- package/dist/components/checkbox/index.d.ts.map +0 -1
- package/dist/components/checkbox/index.js +0 -3
- package/dist/components/checkbox/index.js.map +0 -1
- package/dist/components/checkbox/meta.d.ts +0 -17
- package/dist/components/checkbox/meta.d.ts.map +0 -1
- package/dist/components/checkbox/meta.js +0 -17
- package/dist/components/checkbox/meta.js.map +0 -1
- package/dist/components/checkbox/types.d.ts +0 -20
- package/dist/components/checkbox/types.d.ts.map +0 -1
- package/dist/components/checkbox/types.js +0 -2
- package/dist/components/checkbox/types.js.map +0 -1
- package/dist/components/chip/Chip.d.ts +0 -7
- package/dist/components/chip/Chip.d.ts.map +0 -1
- package/dist/components/chip/Chip.js +0 -56
- package/dist/components/chip/Chip.js.map +0 -1
- package/dist/components/chip/index.d.ts +0 -3
- package/dist/components/chip/index.d.ts.map +0 -1
- package/dist/components/chip/index.js +0 -2
- package/dist/components/chip/index.js.map +0 -1
- package/dist/components/chip/meta.d.ts +0 -9
- package/dist/components/chip/meta.d.ts.map +0 -1
- package/dist/components/chip/meta.js +0 -9
- package/dist/components/chip/meta.js.map +0 -1
- package/dist/components/chip/resolveChipColors.d.ts +0 -10
- package/dist/components/chip/resolveChipColors.d.ts.map +0 -1
- package/dist/components/chip/resolveChipColors.js +0 -57
- package/dist/components/chip/resolveChipColors.js.map +0 -1
- package/dist/components/chip/types.d.ts +0 -26
- package/dist/components/chip/types.d.ts.map +0 -1
- package/dist/components/chip/types.js +0 -2
- package/dist/components/chip/types.js.map +0 -1
- package/dist/components/chip-group/ChipGroup.d.ts +0 -7
- package/dist/components/chip-group/ChipGroup.d.ts.map +0 -1
- package/dist/components/chip-group/ChipGroup.js +0 -38
- package/dist/components/chip-group/ChipGroup.js.map +0 -1
- package/dist/components/chip-group/index.d.ts +0 -3
- package/dist/components/chip-group/index.d.ts.map +0 -1
- package/dist/components/chip-group/index.js +0 -2
- package/dist/components/chip-group/index.js.map +0 -1
- package/dist/components/chip-group/meta.d.ts +0 -9
- package/dist/components/chip-group/meta.d.ts.map +0 -1
- package/dist/components/chip-group/meta.js +0 -9
- package/dist/components/chip-group/meta.js.map +0 -1
- package/dist/components/chip-group/types.d.ts +0 -31
- package/dist/components/chip-group/types.d.ts.map +0 -1
- package/dist/components/chip-group/types.js +0 -2
- package/dist/components/chip-group/types.js.map +0 -1
- package/dist/components/data-table/DataTable.d.ts +0 -7
- package/dist/components/data-table/DataTable.d.ts.map +0 -1
- package/dist/components/data-table/DataTable.js +0 -216
- package/dist/components/data-table/DataTable.js.map +0 -1
- package/dist/components/data-table/index.d.ts +0 -3
- package/dist/components/data-table/index.d.ts.map +0 -1
- package/dist/components/data-table/index.js +0 -2
- package/dist/components/data-table/index.js.map +0 -1
- package/dist/components/data-table/meta.d.ts +0 -9
- package/dist/components/data-table/meta.d.ts.map +0 -1
- package/dist/components/data-table/meta.js +0 -9
- package/dist/components/data-table/meta.js.map +0 -1
- package/dist/components/data-table/types.d.ts +0 -51
- package/dist/components/data-table/types.d.ts.map +0 -1
- package/dist/components/data-table/types.js +0 -2
- package/dist/components/data-table/types.js.map +0 -1
- package/dist/components/heading/Heading.d.ts +0 -15
- package/dist/components/heading/Heading.d.ts.map +0 -1
- package/dist/components/heading/Heading.js +0 -70
- package/dist/components/heading/Heading.js.map +0 -1
- package/dist/components/heading/index.d.ts +0 -3
- package/dist/components/heading/index.d.ts.map +0 -1
- package/dist/components/heading/index.js +0 -2
- package/dist/components/heading/index.js.map +0 -1
- package/dist/components/heading/meta.d.ts +0 -122
- package/dist/components/heading/meta.d.ts.map +0 -1
- package/dist/components/heading/meta.js +0 -80
- package/dist/components/heading/meta.js.map +0 -1
- package/dist/components/heading/resolveHeadingRecipe.d.ts +0 -16
- package/dist/components/heading/resolveHeadingRecipe.d.ts.map +0 -1
- package/dist/components/heading/resolveHeadingRecipe.js +0 -127
- package/dist/components/heading/resolveHeadingRecipe.js.map +0 -1
- package/dist/components/heading/resolveHeadingThemeRecipe.d.ts +0 -11
- package/dist/components/heading/resolveHeadingThemeRecipe.d.ts.map +0 -1
- package/dist/components/heading/resolveHeadingThemeRecipe.js.map +0 -1
- package/dist/components/heading/themeRecipeMeta.d.ts +0 -39
- package/dist/components/heading/themeRecipeMeta.d.ts.map +0 -1
- package/dist/components/heading/themeRecipeMeta.js +0 -32
- package/dist/components/heading/themeRecipeMeta.js.map +0 -1
- package/dist/components/heading/types.d.ts +0 -32
- package/dist/components/heading/types.d.ts.map +0 -1
- package/dist/components/heading/types.js +0 -2
- package/dist/components/heading/types.js.map +0 -1
- package/dist/components/icon/Icon.d.ts +0 -9
- package/dist/components/icon/Icon.d.ts.map +0 -1
- package/dist/components/icon/Icon.js +0 -11
- package/dist/components/icon/Icon.js.map +0 -1
- package/dist/components/icon/index.d.ts +0 -3
- package/dist/components/icon/index.d.ts.map +0 -1
- package/dist/components/icon/index.js +0 -2
- package/dist/components/icon/index.js.map +0 -1
- package/dist/components/icon/meta.d.ts +0 -38
- package/dist/components/icon/meta.d.ts.map +0 -1
- package/dist/components/icon/meta.js +0 -30
- package/dist/components/icon/meta.js.map +0 -1
- package/dist/components/icon-button/IconButton.d.ts +0 -7
- package/dist/components/icon-button/IconButton.d.ts.map +0 -1
- package/dist/components/icon-button/IconButton.js +0 -13
- package/dist/components/icon-button/IconButton.js.map +0 -1
- package/dist/components/icon-button/index.d.ts +0 -3
- package/dist/components/icon-button/index.d.ts.map +0 -1
- package/dist/components/icon-button/index.js +0 -3
- package/dist/components/icon-button/index.js.map +0 -1
- package/dist/components/icon-button/meta.d.ts +0 -9
- package/dist/components/icon-button/meta.d.ts.map +0 -1
- package/dist/components/icon-button/meta.js +0 -9
- package/dist/components/icon-button/meta.js.map +0 -1
- package/dist/components/icon-button/types.d.ts +0 -15
- package/dist/components/icon-button/types.d.ts.map +0 -1
- package/dist/components/icon-button/types.js +0 -2
- package/dist/components/icon-button/types.js.map +0 -1
- package/dist/components/image/Image.d.ts +0 -5
- package/dist/components/image/Image.d.ts.map +0 -1
- package/dist/components/image/Image.js +0 -84
- package/dist/components/image/Image.js.map +0 -1
- package/dist/components/image/index.d.ts +0 -3
- package/dist/components/image/index.d.ts.map +0 -1
- package/dist/components/image/index.js +0 -2
- package/dist/components/image/index.js.map +0 -1
- package/dist/components/image/meta.d.ts +0 -30
- package/dist/components/image/meta.d.ts.map +0 -1
- package/dist/components/image/meta.js +0 -24
- package/dist/components/image/meta.js.map +0 -1
- package/dist/components/image/types.d.ts +0 -8
- package/dist/components/image/types.d.ts.map +0 -1
- package/dist/components/image/types.js +0 -2
- package/dist/components/image/types.js.map +0 -1
- package/dist/components/input/Input.d.ts +0 -15
- package/dist/components/input/Input.d.ts.map +0 -1
- package/dist/components/input/Input.js +0 -25
- package/dist/components/input/Input.js.map +0 -1
- package/dist/components/input/index.d.ts +0 -3
- package/dist/components/input/index.d.ts.map +0 -1
- package/dist/components/input/index.js +0 -2
- package/dist/components/input/index.js.map +0 -1
- package/dist/components/input/meta.d.ts +0 -45
- package/dist/components/input/meta.d.ts.map +0 -1
- package/dist/components/input/meta.js +0 -45
- package/dist/components/input/meta.js.map +0 -1
- package/dist/components/input/types.d.ts +0 -22
- package/dist/components/input/types.d.ts.map +0 -1
- package/dist/components/input/types.js +0 -2
- package/dist/components/input/types.js.map +0 -1
- package/dist/components/media-card/MediaCard.d.ts +0 -7
- package/dist/components/media-card/MediaCard.d.ts.map +0 -1
- package/dist/components/media-card/MediaCard.js +0 -67
- package/dist/components/media-card/MediaCard.js.map +0 -1
- package/dist/components/media-card/index.d.ts +0 -3
- package/dist/components/media-card/index.d.ts.map +0 -1
- package/dist/components/media-card/index.js +0 -2
- package/dist/components/media-card/index.js.map +0 -1
- package/dist/components/media-card/meta.d.ts +0 -9
- package/dist/components/media-card/meta.d.ts.map +0 -1
- package/dist/components/media-card/meta.js +0 -9
- package/dist/components/media-card/meta.js.map +0 -1
- package/dist/components/media-card/types.d.ts +0 -36
- package/dist/components/media-card/types.d.ts.map +0 -1
- package/dist/components/media-card/types.js +0 -2
- package/dist/components/media-card/types.js.map +0 -1
- package/dist/components/metric-card/MetricCard.d.ts +0 -7
- package/dist/components/metric-card/MetricCard.d.ts.map +0 -1
- package/dist/components/metric-card/MetricCard.js +0 -46
- package/dist/components/metric-card/MetricCard.js.map +0 -1
- package/dist/components/metric-card/index.d.ts +0 -3
- package/dist/components/metric-card/index.d.ts.map +0 -1
- package/dist/components/metric-card/index.js +0 -2
- package/dist/components/metric-card/index.js.map +0 -1
- package/dist/components/metric-card/meta.d.ts +0 -9
- package/dist/components/metric-card/meta.d.ts.map +0 -1
- package/dist/components/metric-card/meta.js +0 -9
- package/dist/components/metric-card/meta.js.map +0 -1
- package/dist/components/metric-card/types.d.ts +0 -17
- package/dist/components/metric-card/types.d.ts.map +0 -1
- package/dist/components/metric-card/types.js +0 -2
- package/dist/components/metric-card/types.js.map +0 -1
- package/dist/components/progress/Progress.d.ts +0 -7
- package/dist/components/progress/Progress.d.ts.map +0 -1
- package/dist/components/progress/Progress.js +0 -31
- package/dist/components/progress/Progress.js.map +0 -1
- package/dist/components/progress/ProgressRing.d.ts +0 -7
- package/dist/components/progress/ProgressRing.d.ts.map +0 -1
- package/dist/components/progress/ProgressRing.js +0 -100
- package/dist/components/progress/ProgressRing.js.map +0 -1
- package/dist/components/progress/index.d.ts +0 -4
- package/dist/components/progress/index.d.ts.map +0 -1
- package/dist/components/progress/index.js +0 -3
- package/dist/components/progress/index.js.map +0 -1
- package/dist/components/progress/meta.d.ts +0 -160
- package/dist/components/progress/meta.d.ts.map +0 -1
- package/dist/components/progress/meta.js +0 -142
- package/dist/components/progress/meta.js.map +0 -1
- package/dist/components/progress/resolveProgressFraction.d.ts.map +0 -1
- package/dist/components/progress/resolveProgressFraction.js.map +0 -1
- package/dist/components/progress/resolveProgressRingGeometry.d.ts.map +0 -1
- package/dist/components/progress/resolveProgressRingGeometry.js.map +0 -1
- package/dist/components/progress/types.d.ts +0 -23
- package/dist/components/progress/types.d.ts.map +0 -1
- package/dist/components/progress/types.js +0 -26
- package/dist/components/progress/types.js.map +0 -1
- package/dist/components/radio/Radio.d.ts +0 -7
- package/dist/components/radio/Radio.d.ts.map +0 -1
- package/dist/components/radio/Radio.js +0 -11
- package/dist/components/radio/Radio.js.map +0 -1
- package/dist/components/radio/RadioGroup.d.ts +0 -5
- package/dist/components/radio/RadioGroup.d.ts.map +0 -1
- package/dist/components/radio/RadioGroup.js +0 -70
- package/dist/components/radio/RadioGroup.js.map +0 -1
- package/dist/components/radio/RadioOptionControl.d.ts +0 -15
- package/dist/components/radio/RadioOptionControl.d.ts.map +0 -1
- package/dist/components/radio/RadioOptionControl.js +0 -105
- package/dist/components/radio/RadioOptionControl.js.map +0 -1
- package/dist/components/radio/handleRadioOptionKeyDown.d.ts.map +0 -1
- package/dist/components/radio/handleRadioOptionKeyDown.js +0 -22
- package/dist/components/radio/handleRadioOptionKeyDown.js.map +0 -1
- package/dist/components/radio/index.d.ts +0 -4
- package/dist/components/radio/index.d.ts.map +0 -1
- package/dist/components/radio/index.js +0 -3
- package/dist/components/radio/index.js.map +0 -1
- package/dist/components/radio/meta.d.ts +0 -251
- package/dist/components/radio/meta.d.ts.map +0 -1
- package/dist/components/radio/meta.js +0 -206
- package/dist/components/radio/meta.js.map +0 -1
- package/dist/components/radio/resolveRadioGroupThemeRecipe.d.ts +0 -20
- package/dist/components/radio/resolveRadioGroupThemeRecipe.d.ts.map +0 -1
- package/dist/components/radio/resolveRadioGroupThemeRecipe.js.map +0 -1
- package/dist/components/radio/resolveRadioOptionColors.d.ts +0 -10
- package/dist/components/radio/resolveRadioOptionColors.d.ts.map +0 -1
- package/dist/components/radio/resolveRadioOptionColors.js.map +0 -1
- package/dist/components/radio/themeRecipeMeta.d.ts.map +0 -1
- package/dist/components/radio/themeRecipeMeta.js +0 -27
- package/dist/components/radio/themeRecipeMeta.js.map +0 -1
- package/dist/components/radio/types.d.ts +0 -31
- package/dist/components/radio/types.d.ts.map +0 -1
- package/dist/components/radio/types.js +0 -2
- package/dist/components/radio/types.js.map +0 -1
- package/dist/components/splash-screen/SplashScreen.d.ts +0 -11
- package/dist/components/splash-screen/SplashScreen.d.ts.map +0 -1
- package/dist/components/splash-screen/SplashScreen.js +0 -54
- package/dist/components/splash-screen/SplashScreen.js.map +0 -1
- package/dist/components/splash-screen/index.d.ts +0 -3
- package/dist/components/splash-screen/index.d.ts.map +0 -1
- package/dist/components/splash-screen/index.js +0 -2
- package/dist/components/splash-screen/index.js.map +0 -1
- package/dist/components/splash-screen/meta.d.ts +0 -9
- package/dist/components/splash-screen/meta.d.ts.map +0 -1
- package/dist/components/splash-screen/meta.js +0 -9
- package/dist/components/splash-screen/meta.js.map +0 -1
- package/dist/components/splash-screen/types.d.ts +0 -16
- package/dist/components/splash-screen/types.d.ts.map +0 -1
- package/dist/components/splash-screen/types.js +0 -2
- package/dist/components/splash-screen/types.js.map +0 -1
- package/dist/components/text/Text.d.ts +0 -15
- package/dist/components/text/Text.d.ts.map +0 -1
- package/dist/components/text/Text.js +0 -64
- package/dist/components/text/Text.js.map +0 -1
- package/dist/components/text/index.d.ts +0 -3
- package/dist/components/text/index.d.ts.map +0 -1
- package/dist/components/text/index.js +0 -2
- package/dist/components/text/index.js.map +0 -1
- package/dist/components/text/meta.d.ts +0 -111
- package/dist/components/text/meta.d.ts.map +0 -1
- package/dist/components/text/meta.js +0 -72
- package/dist/components/text/meta.js.map +0 -1
- package/dist/components/text/resolveTextRecipe.d.ts +0 -16
- package/dist/components/text/resolveTextRecipe.d.ts.map +0 -1
- package/dist/components/text/resolveTextRecipe.js +0 -148
- package/dist/components/text/resolveTextRecipe.js.map +0 -1
- package/dist/components/text/resolveTextThemeRecipe.d.ts +0 -11
- package/dist/components/text/resolveTextThemeRecipe.d.ts.map +0 -1
- package/dist/components/text/resolveTextThemeRecipe.js.map +0 -1
- package/dist/components/text/themeRecipeMeta.d.ts +0 -40
- package/dist/components/text/themeRecipeMeta.d.ts.map +0 -1
- package/dist/components/text/themeRecipeMeta.js +0 -33
- package/dist/components/text/themeRecipeMeta.js.map +0 -1
- package/dist/components/text/types.d.ts +0 -31
- package/dist/components/text/types.d.ts.map +0 -1
- package/dist/components/text/types.js +0 -2
- package/dist/components/text/types.js.map +0 -1
- package/dist/components/textarea/Textarea.d.ts +0 -9
- package/dist/components/textarea/Textarea.d.ts.map +0 -1
- package/dist/components/textarea/Textarea.js +0 -18
- package/dist/components/textarea/Textarea.js.map +0 -1
- package/dist/components/textarea/index.d.ts +0 -3
- package/dist/components/textarea/index.d.ts.map +0 -1
- package/dist/components/textarea/index.js +0 -2
- package/dist/components/textarea/index.js.map +0 -1
- package/dist/components/textarea/meta.d.ts +0 -45
- package/dist/components/textarea/meta.d.ts.map +0 -1
- package/dist/components/textarea/meta.js +0 -45
- package/dist/components/textarea/meta.js.map +0 -1
- package/dist/components/textarea/types.d.ts +0 -9
- package/dist/components/textarea/types.d.ts.map +0 -1
- package/dist/components/textarea/types.js +0 -2
- package/dist/components/textarea/types.js.map +0 -1
- package/dist/features/uploader/meta.d.ts +0 -10
- package/dist/features/uploader/meta.d.ts.map +0 -1
- package/dist/features/uploader/meta.js +0 -10
- package/dist/features/uploader/meta.js.map +0 -1
- package/dist/foundation/Box.d.ts +0 -12
- package/dist/foundation/Box.d.ts.map +0 -1
- package/dist/foundation/Box.js +0 -13
- package/dist/foundation/Box.js.map +0 -1
- package/dist/foundation/Container.d.ts +0 -12
- package/dist/foundation/Container.d.ts.map +0 -1
- package/dist/foundation/Container.js +0 -13
- package/dist/foundation/Container.js.map +0 -1
- package/dist/foundation/Divider.d.ts +0 -12
- package/dist/foundation/Divider.d.ts.map +0 -1
- package/dist/foundation/Divider.js +0 -13
- package/dist/foundation/Divider.js.map +0 -1
- package/dist/foundation/Grid.d.ts +0 -12
- package/dist/foundation/Grid.d.ts.map +0 -1
- package/dist/foundation/Grid.js +0 -13
- package/dist/foundation/Grid.js.map +0 -1
- package/dist/foundation/Stack.d.ts +0 -12
- package/dist/foundation/Stack.d.ts.map +0 -1
- package/dist/foundation/Stack.js +0 -13
- package/dist/foundation/Stack.js.map +0 -1
- package/dist/foundation/Surface.d.ts +0 -13
- package/dist/foundation/Surface.d.ts.map +0 -1
- package/dist/foundation/Surface.js +0 -13
- package/dist/foundation/Surface.js.map +0 -1
- package/dist/patterns/content-rail/ContentRail.d.ts +0 -10
- package/dist/patterns/content-rail/ContentRail.d.ts.map +0 -1
- package/dist/patterns/content-rail/ContentRail.js +0 -175
- package/dist/patterns/content-rail/ContentRail.js.map +0 -1
- package/dist/patterns/content-rail/index.d.ts +0 -3
- package/dist/patterns/content-rail/index.d.ts.map +0 -1
- package/dist/patterns/content-rail/index.js +0 -2
- package/dist/patterns/content-rail/index.js.map +0 -1
- package/dist/patterns/content-rail/meta.d.ts +0 -143
- package/dist/patterns/content-rail/meta.d.ts.map +0 -1
- package/dist/patterns/content-rail/meta.js +0 -130
- package/dist/patterns/content-rail/meta.js.map +0 -1
- package/dist/patterns/content-rail/resolveContentRailItemWidth.d.ts +0 -10
- package/dist/patterns/content-rail/resolveContentRailItemWidth.d.ts.map +0 -1
- package/dist/patterns/content-rail/resolveContentRailItemWidth.js +0 -25
- package/dist/patterns/content-rail/resolveContentRailItemWidth.js.map +0 -1
- package/dist/patterns/content-rail/resolveContentRailPhysicalOffset.d.ts.map +0 -1
- package/dist/patterns/content-rail/resolveContentRailPhysicalOffset.js.map +0 -1
- package/dist/patterns/content-rail/resolveContentRailState.d.ts.map +0 -1
- package/dist/patterns/content-rail/resolveContentRailState.js.map +0 -1
- package/dist/patterns/content-rail/types.d.ts +0 -31
- package/dist/patterns/content-rail/types.d.ts.map +0 -1
- package/dist/patterns/content-rail/types.js +0 -2
- package/dist/patterns/content-rail/types.js.map +0 -1
- package/dist/patterns/content-rail/useContentRailReducedMotion.d.ts +0 -3
- package/dist/patterns/content-rail/useContentRailReducedMotion.d.ts.map +0 -1
- package/dist/patterns/content-rail/useContentRailReducedMotion.js.map +0 -1
- package/dist/patterns/empty-state/EmptyState.d.ts +0 -16
- package/dist/patterns/empty-state/EmptyState.d.ts.map +0 -1
- package/dist/patterns/empty-state/EmptyState.js +0 -34
- package/dist/patterns/empty-state/EmptyState.js.map +0 -1
- package/dist/patterns/empty-state/index.d.ts +0 -3
- package/dist/patterns/empty-state/index.d.ts.map +0 -1
- package/dist/patterns/empty-state/index.js +0 -2
- package/dist/patterns/empty-state/index.js.map +0 -1
- package/dist/patterns/empty-state/meta.d.ts +0 -33
- package/dist/patterns/empty-state/meta.d.ts.map +0 -1
- package/dist/patterns/empty-state/meta.js +0 -33
- package/dist/patterns/empty-state/meta.js.map +0 -1
- package/dist/patterns/empty-state/types.d.ts +0 -18
- package/dist/patterns/empty-state/types.d.ts.map +0 -1
- package/dist/patterns/empty-state/types.js +0 -2
- package/dist/patterns/empty-state/types.js.map +0 -1
- package/dist/patterns/post-card/PostCard.d.ts +0 -9
- package/dist/patterns/post-card/PostCard.d.ts.map +0 -1
- package/dist/patterns/post-card/PostCard.js +0 -138
- package/dist/patterns/post-card/PostCard.js.map +0 -1
- package/dist/patterns/post-card/index.d.ts +0 -3
- package/dist/patterns/post-card/index.d.ts.map +0 -1
- package/dist/patterns/post-card/index.js +0 -2
- package/dist/patterns/post-card/index.js.map +0 -1
- package/dist/patterns/post-card/meta.d.ts +0 -64
- package/dist/patterns/post-card/meta.d.ts.map +0 -1
- package/dist/patterns/post-card/meta.js +0 -66
- package/dist/patterns/post-card/meta.js.map +0 -1
- package/dist/patterns/post-card/types.d.ts +0 -64
- package/dist/patterns/post-card/types.d.ts.map +0 -1
- package/dist/patterns/post-card/types.js +0 -2
- package/dist/patterns/post-card/types.js.map +0 -1
- package/dist/patterns/product-card/ProductCard.d.ts +0 -5
- package/dist/patterns/product-card/ProductCard.d.ts.map +0 -1
- package/dist/patterns/product-card/ProductCard.js +0 -70
- package/dist/patterns/product-card/ProductCard.js.map +0 -1
- package/dist/patterns/product-card/index.d.ts +0 -3
- package/dist/patterns/product-card/index.d.ts.map +0 -1
- package/dist/patterns/product-card/index.js +0 -2
- package/dist/patterns/product-card/index.js.map +0 -1
- package/dist/patterns/product-card/meta.d.ts +0 -110
- package/dist/patterns/product-card/meta.d.ts.map +0 -1
- package/dist/patterns/product-card/meta.js +0 -110
- package/dist/patterns/product-card/meta.js.map +0 -1
- package/dist/patterns/product-card/types.d.ts +0 -23
- package/dist/patterns/product-card/types.d.ts.map +0 -1
- package/dist/patterns/product-card/types.js +0 -2
- package/dist/patterns/product-card/types.js.map +0 -1
- package/src/components/avatar/Avatar.tsx +0 -148
- package/src/components/avatar/index.ts +0 -3
- package/src/components/avatar/meta.ts +0 -10
- package/src/components/avatar/types.ts +0 -20
- package/src/components/avatar-group/AvatarGroup.tsx +0 -78
- package/src/components/avatar-group/index.ts +0 -2
- package/src/components/avatar-group/meta.ts +0 -10
- package/src/components/avatar-group/types.ts +0 -24
- package/src/components/badge/Badge.tsx +0 -34
- package/src/components/badge/index.ts +0 -2
- package/src/components/badge/meta.ts +0 -10
- package/src/components/badge/types.ts +0 -15
- package/src/components/button/Button.tsx +0 -43
- package/src/components/button/index.ts +0 -2
- package/src/components/button/meta.ts +0 -54
- package/src/components/button/resolveButtonThemeRecipe.ts +0 -41
- package/src/components/button/themeRecipeMeta.ts +0 -29
- package/src/components/button/types.ts +0 -15
- package/src/components/button-group/ButtonGroup.tsx +0 -109
- package/src/components/button-group/index.ts +0 -2
- package/src/components/button-group/meta.ts +0 -45
- package/src/components/button-group/types.ts +0 -15
- package/src/components/card/Card.tsx +0 -92
- package/src/components/card/index.ts +0 -2
- package/src/components/card/meta.ts +0 -51
- package/src/components/card/resolveCardThemeRecipe.ts +0 -33
- package/src/components/card/themeRecipeMeta.ts +0 -32
- package/src/components/card/types.ts +0 -19
- package/src/components/checkbox/Checkbox.tsx +0 -21
- package/src/components/checkbox/CheckboxGroup.tsx +0 -121
- package/src/components/checkbox/index.ts +0 -3
- package/src/components/checkbox/meta.ts +0 -19
- package/src/components/checkbox/types.ts +0 -29
- package/src/components/chip/Chip.tsx +0 -97
- package/src/components/chip/index.ts +0 -2
- package/src/components/chip/meta.ts +0 -10
- package/src/components/chip/resolveChipColors.ts +0 -75
- package/src/components/chip/types.ts +0 -29
- package/src/components/chip-group/ChipGroup.tsx +0 -74
- package/src/components/chip-group/index.ts +0 -2
- package/src/components/chip-group/meta.ts +0 -10
- package/src/components/chip-group/types.ts +0 -36
- package/src/components/data-table/DataTable.tsx +0 -408
- package/src/components/data-table/index.ts +0 -11
- package/src/components/data-table/meta.ts +0 -10
- package/src/components/data-table/types.ts +0 -57
- package/src/components/heading/Heading.tsx +0 -114
- package/src/components/heading/index.ts +0 -10
- package/src/components/heading/meta.ts +0 -82
- package/src/components/heading/resolveHeadingRecipe.test.ts +0 -292
- package/src/components/heading/resolveHeadingRecipe.ts +0 -191
- package/src/components/heading/resolveHeadingThemeRecipe.ts +0 -55
- package/src/components/heading/themeRecipeMeta.ts +0 -33
- package/src/components/heading/types.ts +0 -38
- package/src/components/icon/Icon.tsx +0 -21
- package/src/components/icon/index.ts +0 -2
- package/src/components/icon/meta.test.ts +0 -22
- package/src/components/icon-button/IconButton.tsx +0 -37
- package/src/components/icon-button/index.ts +0 -2
- package/src/components/icon-button/meta.ts +0 -10
- package/src/components/icon-button/types.ts +0 -16
- package/src/components/image/Image.tsx +0 -149
- package/src/components/image/index.ts +0 -2
- package/src/components/image/meta.ts +0 -25
- package/src/components/image/types.ts +0 -11
- package/src/components/input/Input.tsx +0 -69
- package/src/components/input/index.ts +0 -2
- package/src/components/input/meta.ts +0 -46
- package/src/components/input/types.ts +0 -33
- package/src/components/media-card/MediaCard.tsx +0 -125
- package/src/components/media-card/index.ts +0 -2
- package/src/components/media-card/meta.ts +0 -10
- package/src/components/media-card/types.ts +0 -42
- package/src/components/metric-card/MetricCard.tsx +0 -82
- package/src/components/metric-card/index.ts +0 -2
- package/src/components/metric-card/meta.ts +0 -10
- package/src/components/metric-card/types.ts +0 -18
- package/src/components/progress/Progress.tsx +0 -54
- package/src/components/progress/ProgressRing.test.ts +0 -48
- package/src/components/progress/ProgressRing.tsx +0 -151
- package/src/components/progress/index.ts +0 -3
- package/src/components/progress/types.ts +0 -50
- package/src/components/radio/Radio.tsx +0 -14
- package/src/components/radio/RadioGroup.test.ts +0 -35
- package/src/components/radio/RadioGroup.tsx +0 -125
- package/src/components/radio/RadioOptionControl.tsx +0 -192
- package/src/components/radio/handleRadioOptionKeyDown.test.ts +0 -47
- package/src/components/radio/handleRadioOptionKeyDown.ts +0 -37
- package/src/components/radio/index.ts +0 -3
- package/src/components/radio/meta.ts +0 -210
- package/src/components/radio/resolveRadioGroupThemeRecipe.ts +0 -45
- package/src/components/radio/resolveRadioOptionColors.ts +0 -37
- package/src/components/radio/themeRecipeMeta.ts +0 -28
- package/src/components/radio/types.ts +0 -37
- package/src/components/splash-screen/SplashScreen.tsx +0 -98
- package/src/components/splash-screen/index.ts +0 -2
- package/src/components/splash-screen/meta.ts +0 -10
- package/src/components/splash-screen/types.ts +0 -18
- package/src/components/text/Text.tsx +0 -111
- package/src/components/text/index.ts +0 -9
- package/src/components/text/meta.ts +0 -74
- package/src/components/text/resolveTextRecipe.test.ts +0 -380
- package/src/components/text/resolveTextRecipe.ts +0 -214
- package/src/components/text/resolveTextThemeRecipe.ts +0 -48
- package/src/components/text/themeRecipeMeta.ts +0 -34
- package/src/components/text/types.ts +0 -41
- package/src/components/textarea/Textarea.tsx +0 -46
- package/src/components/textarea/index.ts +0 -2
- package/src/components/textarea/meta.ts +0 -46
- package/src/components/textarea/types.ts +0 -16
- package/src/features/uploader/meta.ts +0 -11
- package/src/foundation/Box.tsx +0 -23
- package/src/foundation/Container.tsx +0 -27
- package/src/foundation/Divider.tsx +0 -27
- package/src/foundation/Grid.tsx +0 -23
- package/src/foundation/Stack.tsx +0 -23
- package/src/foundation/Surface.tsx +0 -30
- package/src/patterns/content-rail/ContentRail.test.ts +0 -44
- package/src/patterns/content-rail/ContentRail.tsx +0 -245
- package/src/patterns/content-rail/index.ts +0 -10
- package/src/patterns/content-rail/meta.ts +0 -133
- package/src/patterns/content-rail/resolveContentRailItemWidth.ts +0 -39
- package/src/patterns/content-rail/types.ts +0 -35
- package/src/patterns/content-rail/useContentRailReducedMotion.ts +0 -28
- package/src/patterns/empty-state/EmptyState.tsx +0 -74
- package/src/patterns/empty-state/index.ts +0 -2
- package/src/patterns/empty-state/types.ts +0 -20
- package/src/patterns/post-card/PostCard.test.tsx +0 -11
- package/src/patterns/post-card/PostCard.tsx +0 -241
- package/src/patterns/post-card/index.ts +0 -8
- package/src/patterns/post-card/types.ts +0 -71
- package/src/patterns/product-card/ProductCard.test.tsx +0 -19
- package/src/patterns/product-card/ProductCard.tsx +0 -141
- package/src/patterns/product-card/index.ts +0 -2
- package/src/patterns/product-card/types.ts +0 -23
- /package/dist/{components/avatar → features/avatar/utils}/resolveAvatarInitials.d.ts +0 -0
- /package/dist/{components/avatar → features/avatar/utils}/resolveAvatarInitials.js +0 -0
- /package/dist/{components/button → features/button/utils}/themeRecipeMeta.d.ts +0 -0
- /package/dist/{components/card → features/card/utils}/resolveCardThemeRecipe.js +0 -0
- /package/dist/{components/card → features/card/utils}/themeRecipeMeta.d.ts +0 -0
- /package/dist/{components/card → features/card/utils}/themeRecipeMeta.js +0 -0
- /package/dist/{components → features/form}/radio/themeRecipeMeta.d.ts +0 -0
- /package/dist/{components/radio → features/form/radio/utils}/handleRadioOptionKeyDown.d.ts +0 -0
- /package/dist/{components/radio → features/form/radio/utils}/resolveRadioGroupThemeRecipe.js +0 -0
- /package/dist/{components/radio → features/form/radio/utils}/resolveRadioOptionColors.js +0 -0
- /package/dist/{patterns/content-rail → features/layout/utils}/resolveContentRailPhysicalOffset.d.ts +0 -0
- /package/dist/{patterns/content-rail → features/layout/utils}/resolveContentRailPhysicalOffset.js +0 -0
- /package/dist/{patterns/content-rail → features/layout/utils}/resolveContentRailState.d.ts +0 -0
- /package/dist/{patterns/content-rail → features/layout/utils}/resolveContentRailState.js +0 -0
- /package/dist/{patterns/content-rail → features/layout/utils}/useContentRailReducedMotion.js +0 -0
- /package/dist/{components/progress → features/progress/utils}/resolveProgressFraction.d.ts +0 -0
- /package/dist/{components/progress → features/progress/utils}/resolveProgressFraction.js +0 -0
- /package/dist/{components/progress → features/progress/utils}/resolveProgressRingGeometry.d.ts +0 -0
- /package/dist/{components/progress → features/progress/utils}/resolveProgressRingGeometry.js +0 -0
- /package/dist/{components/heading → features/typography/utils}/resolveHeadingThemeRecipe.js +0 -0
- /package/dist/{components/text → features/typography/utils}/resolveTextThemeRecipe.js +0 -0
- /package/src/{components/avatar → features/avatar/utils}/resolveAvatarInitials.test.ts +0 -0
- /package/src/{components/avatar → features/avatar/utils}/resolveAvatarInitials.ts +0 -0
- /package/src/{components/button → features/button/utils}/resolveButtonThemeRecipe.test.ts +0 -0
- /package/src/{patterns/post-card/meta.ts → features/card/postCardMeta.ts} +0 -0
- /package/src/{patterns/product-card/meta.ts → features/card/productCardMeta.ts} +0 -0
- /package/src/{components/card → features/card/utils}/resolveCardThemeRecipe.test.ts +0 -0
- /package/src/{patterns/empty-state/meta.ts → features/empty-state/emptyStateMeta.ts} +0 -0
- /package/src/{components/radio → features/form/radio/utils}/resolveRadioOptionColors.test.ts +0 -0
- /package/src/{components/icon/meta.ts → features/icon/iconMeta.ts} +0 -0
- /package/src/{patterns/content-rail → features/layout/utils}/resolveContentRailItemWidth.test.ts +0 -0
- /package/src/{patterns/content-rail → features/layout/utils}/resolveContentRailPhysicalOffset.test.ts +0 -0
- /package/src/{patterns/content-rail → features/layout/utils}/resolveContentRailPhysicalOffset.ts +0 -0
- /package/src/{patterns/content-rail → features/layout/utils}/resolveContentRailState.test.ts +0 -0
- /package/src/{patterns/content-rail → features/layout/utils}/resolveContentRailState.ts +0 -0
- /package/src/{components/progress/meta.ts → features/progress/progressMeta.ts} +0 -0
- /package/src/{components/progress → features/progress/utils}/resolveProgressFraction.test.ts +0 -0
- /package/src/{components/progress → features/progress/utils}/resolveProgressFraction.ts +0 -0
- /package/src/{components/progress → features/progress/utils}/resolveProgressRingGeometry.test.ts +0 -0
- /package/src/{components/progress → features/progress/utils}/resolveProgressRingGeometry.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stackMeta.js","sourceRoot":"","sources":["../../../src/features/layout/stackMeta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE5E,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,YAAY;IACtB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,CAAC,GAAG,0BAA0B,CAAC;IAChD,KAAK,EAAE;QACL,GAAG,YAAY;QACf,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE;QACxE,GAAG,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;QAC7C,KAAK,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,CAAC,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,CAAC;SAClE;QACD,OAAO,EAAE;YACP,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,CAAC,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,CAAC;SAC5F;QACD,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE;KACrE;CACmC,CAAC","sourcesContent":["import { CONTAINER_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';\nimport type { ZoraComponentMeta } from '../../metadata/types';\nimport { LAYOUT_PROPS } from './constants';\n\nexport const stackMeta = {\n name: 'Stack',\n category: 'foundation',\n directManifestNode: true,\n allowedChildren: [...CONTAINER_ALLOWED_CHILDREN],\n props: {\n ...LAYOUT_PROPS,\n direction: { type: 'enum', category: 'Layout', enum: ['row', 'column'] },\n gap: { type: 'spacing', category: 'Spacing' },\n align: {\n type: 'enum',\n category: 'Layout',\n enum: ['flex-start', 'center', 'flex-end', 'stretch', 'baseline'],\n },\n justify: {\n type: 'enum',\n category: 'Layout',\n enum: ['flex-start', 'center', 'flex-end', 'space-between', 'space-around', 'space-evenly'],\n },\n wrap: { type: 'enum', category: 'Layout', enum: ['nowrap', 'wrap'] },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ContentRailItemSize } from '../../../types/content-rail';
|
|
2
|
+
export declare function resolveContentRailItemWidth({ gap, itemCount, itemSize, padding, peek, viewportWidth, }: {
|
|
3
|
+
gap: number;
|
|
4
|
+
itemCount: number;
|
|
5
|
+
itemSize: ContentRailItemSize;
|
|
6
|
+
padding: number;
|
|
7
|
+
peek: number;
|
|
8
|
+
viewportWidth: number;
|
|
9
|
+
}): number;
|
|
10
|
+
//# sourceMappingURL=resolveContentRailItemWidth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveContentRailItemWidth.d.ts","sourceRoot":"","sources":["../../../../src/features/layout/utils/resolveContentRailItemWidth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,wBAAgB,2BAA2B,CAAC,EAC1C,GAAG,EACH,SAAS,EACT,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,aAAa,GACd,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,MAAM,CAgBT"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export function resolveContentRailItemWidth({ gap, itemCount, itemSize, padding, peek, viewportWidth, }) {
|
|
2
|
+
if (itemSize === 'content')
|
|
3
|
+
return 0;
|
|
4
|
+
const availableWidth = Math.max(0, viewportWidth - padding * 2);
|
|
5
|
+
if (availableWidth === 0 || itemCount === 0)
|
|
6
|
+
return 0;
|
|
7
|
+
const fixedWidth = resolveFixedItemWidth(itemSize);
|
|
8
|
+
if (fixedWidth !== undefined)
|
|
9
|
+
return Math.min(fixedWidth, availableWidth);
|
|
10
|
+
const slots = viewportWidth >= 1024 ? 4 : viewportWidth >= 768 ? 3 : viewportWidth >= 480 ? 2 : 1;
|
|
11
|
+
const fullItems = Math.min(slots, itemCount);
|
|
12
|
+
const overflows = itemCount > fullItems;
|
|
13
|
+
const resolvedPeek = overflows ? Math.min(Math.max(0, peek), availableWidth / 2) : 0;
|
|
14
|
+
const gaps = overflows ? fullItems : Math.max(0, fullItems - 1);
|
|
15
|
+
const resolved = (availableWidth - resolvedPeek - gap * gaps) / fullItems;
|
|
16
|
+
return Math.min(280, Math.max(Math.min(96, availableWidth), Math.floor(resolved)));
|
|
17
|
+
}
|
|
18
|
+
function resolveFixedItemWidth(itemSize) {
|
|
19
|
+
if (itemSize === 'compact')
|
|
20
|
+
return 144;
|
|
21
|
+
if (itemSize === 'regular')
|
|
22
|
+
return 200;
|
|
23
|
+
if (itemSize === 'wide')
|
|
24
|
+
return 280;
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=resolveContentRailItemWidth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveContentRailItemWidth.js","sourceRoot":"","sources":["../../../../src/features/layout/utils/resolveContentRailItemWidth.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,2BAA2B,CAAC,EAC1C,GAAG,EACH,SAAS,EACT,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,aAAa,GAQd;IACC,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,CAAC,CAAC;IACrC,MAAM,cAAc,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,aAAa,GAAG,OAAO,GAAG,CAAC,CAAC,CAAC;IAChE,IAAI,cAAc,KAAK,CAAC,IAAI,SAAS,KAAK,CAAC;QAAE,OAAO,CAAC,CAAC;IAEtD,MAAM,UAAU,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IACnD,IAAI,UAAU,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;IAE1E,MAAM,KAAK,GAAG,aAAa,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAClG,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACxC,MAAM,YAAY,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACrF,MAAM,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC;IAChE,MAAM,QAAQ,GAAG,CAAC,cAAc,GAAG,YAAY,GAAG,GAAG,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;IAE1E,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,cAAc,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;AACrF,CAAC;AAED,SAAS,qBAAqB,CAAC,QAA6B;IAC1D,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,GAAG,CAAC;IACvC,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,GAAG,CAAC;IACvC,IAAI,QAAQ,KAAK,MAAM;QAAE,OAAO,GAAG,CAAC;IACpC,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["import type { ContentRailItemSize } from '../../../types/content-rail';\n\nexport function resolveContentRailItemWidth({\n gap,\n itemCount,\n itemSize,\n padding,\n peek,\n viewportWidth,\n}: {\n gap: number;\n itemCount: number;\n itemSize: ContentRailItemSize;\n padding: number;\n peek: number;\n viewportWidth: number;\n}): number {\n if (itemSize === 'content') return 0;\n const availableWidth = Math.max(0, viewportWidth - padding * 2);\n if (availableWidth === 0 || itemCount === 0) return 0;\n\n const fixedWidth = resolveFixedItemWidth(itemSize);\n if (fixedWidth !== undefined) return Math.min(fixedWidth, availableWidth);\n\n const slots = viewportWidth >= 1024 ? 4 : viewportWidth >= 768 ? 3 : viewportWidth >= 480 ? 2 : 1;\n const fullItems = Math.min(slots, itemCount);\n const overflows = itemCount > fullItems;\n const resolvedPeek = overflows ? Math.min(Math.max(0, peek), availableWidth / 2) : 0;\n const gaps = overflows ? fullItems : Math.max(0, fullItems - 1);\n const resolved = (availableWidth - resolvedPeek - gap * gaps) / fullItems;\n\n return Math.min(280, Math.max(Math.min(96, availableWidth), Math.floor(resolved)));\n}\n\nfunction resolveFixedItemWidth(itemSize: ContentRailItemSize): number | undefined {\n if (itemSize === 'compact') return 144;\n if (itemSize === 'regular') return 200;\n if (itemSize === 'wide') return 280;\n return undefined;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveContentRailPhysicalOffset.d.ts","sourceRoot":"","sources":["../../../../src/features/layout/utils/resolveContentRailPhysicalOffset.ts"],"names":[],"mappings":"AAAA,wBAAgB,gCAAgC,CAAC,EAC/C,KAAK,EACL,aAAa,EACb,SAAS,GACV,EAAE;IACD,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,MAAM,CAGT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveContentRailPhysicalOffset.js","sourceRoot":"","sources":["../../../../src/features/layout/utils/resolveContentRailPhysicalOffset.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,gCAAgC,CAAC,EAC/C,KAAK,EACL,aAAa,EACb,SAAS,GAKV;IACC,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,aAAa,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;IACnF,OAAO,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC;AACxE,CAAC","sourcesContent":["export function resolveContentRailPhysicalOffset({\n isRtl,\n logicalOffset,\n maxOffset,\n}: {\n isRtl: boolean;\n logicalOffset: number;\n maxOffset: number;\n}): number {\n const clampedOffset = Math.min(Math.max(0, logicalOffset), Math.max(0, maxOffset));\n return isRtl ? Math.max(0, maxOffset) - clampedOffset : clampedOffset;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveContentRailState.d.ts","sourceRoot":"","sources":["../../../../src/features/layout/utils/resolveContentRailState.ts"],"names":[],"mappings":"AAAA,wBAAgB,uBAAuB,CAAC,EACtC,YAAY,EACZ,GAAG,EACH,SAAS,EACT,SAAS,EACT,aAAa,EACb,aAAa,GACd,EAAE;IACD,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;;;;;;;;;EAqBA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveContentRailState.js","sourceRoot":"","sources":["../../../../src/features/layout/utils/resolveContentRailState.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,uBAAuB,CAAC,EACtC,YAAY,EACZ,GAAG,EACH,SAAS,EACT,SAAS,EACT,aAAa,EACb,aAAa,GAQd;IACC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,YAAY,GAAG,aAAa,CAAC,CAAC;IAC5D,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,aAAa,CAAC,EAAE,SAAS,CAAC,CAAC;IAC/D,MAAM,MAAM,GAAG,SAAS,GAAG,GAAG,CAAC;IAC/B,MAAM,iBAAiB,GAAG,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAChG,MAAM,gBAAgB,GACpB,MAAM,GAAG,CAAC;QACR,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,aAAa,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;QACxF,CAAC,CAAC,CAAC,CAAC;IACR,MAAM,WAAW,GAAG,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAEjE,OAAO;QACL,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC;QAC3E,SAAS,EAAE,SAAS,GAAG,CAAC,IAAI,MAAM,GAAG,SAAS,GAAG,CAAC;QAClD,aAAa,EAAE,SAAS,GAAG,CAAC,IAAI,MAAM,GAAG,CAAC;QAC1C,iBAAiB,EAAE,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB;QAC3D,gBAAgB,EAAE,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB;QACzD,SAAS;QACT,MAAM;QACN,MAAM;KACP,CAAC;AACJ,CAAC","sourcesContent":["export function resolveContentRailState({\n contentWidth,\n gap,\n itemCount,\n itemWidth,\n logicalOffset,\n viewportWidth,\n}: {\n contentWidth: number;\n gap: number;\n itemCount: number;\n itemWidth: number;\n logicalOffset: number;\n viewportWidth: number;\n}) {\n const maxOffset = Math.max(0, contentWidth - viewportWidth);\n const offset = Math.min(Math.max(0, logicalOffset), maxOffset);\n const stride = itemWidth + gap;\n const firstVisibleIndex = stride > 0 ? Math.min(itemCount - 1, Math.floor(offset / stride)) : 0;\n const lastVisibleIndex =\n stride > 0\n ? Math.min(itemCount - 1, Math.max(0, Math.ceil((offset + viewportWidth) / stride) - 1))\n : 0;\n const anchorIndex = stride > 0 ? Math.round(offset / stride) : 0;\n\n return {\n anchorIndex: Math.min(Math.max(0, anchorIndex), Math.max(0, itemCount - 1)),\n canGoNext: itemCount > 0 && offset < maxOffset - 1,\n canGoPrevious: itemCount > 0 && offset > 1,\n firstVisibleIndex: itemCount === 0 ? -1 : firstVisibleIndex,\n lastVisibleIndex: itemCount === 0 ? -1 : lastVisibleIndex,\n maxOffset,\n offset,\n stride,\n };\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useContentRailReducedMotion.d.ts","sourceRoot":"","sources":["../../../../src/features/layout/utils/useContentRailReducedMotion.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAErE,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAsB9E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useContentRailReducedMotion.js","sourceRoot":"","sources":["../../../../src/features/layout/utils/useContentRailReducedMotion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAIjD,MAAM,UAAU,2BAA2B,CAAC,MAAyB;IACnE,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE5E,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,MAAM,KAAK,QAAQ;YAAE,OAAO;QAEhC,IAAI,MAAM,GAAG,IAAI,CAAC;QAClB,KAAK,iBAAiB,CAAC,qBAAqB,EAAE,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE;YAC9D,IAAI,MAAM;gBAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;QAC9C,CAAC,CAAC,CAAC;QACH,MAAM,YAAY,GAAG,iBAAiB,CAAC,gBAAgB,CACrD,qBAAqB,EACrB,sBAAsB,CACvB,CAAC;QAEF,OAAO,GAAG,EAAE;YACV,MAAM,GAAG,KAAK,CAAC;YACf,YAAY,CAAC,MAAM,EAAE,CAAC;QACxB,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEb,OAAO,MAAM,KAAK,SAAS,IAAI,CAAC,MAAM,KAAK,QAAQ,IAAI,mBAAmB,CAAC,CAAC;AAC9E,CAAC","sourcesContent":["import React from 'react';\nimport { AccessibilityInfo } from 'react-native';\n\nimport type { ContentRailMotion } from '../../../types/content-rail';\n\nexport function useContentRailReducedMotion(motion: ContentRailMotion): boolean {\n const [systemReducedMotion, setSystemReducedMotion] = React.useState(false);\n\n React.useEffect(() => {\n if (motion !== 'system') return;\n\n let active = true;\n void AccessibilityInfo.isReduceMotionEnabled().then((enabled) => {\n if (active) setSystemReducedMotion(enabled);\n });\n const subscription = AccessibilityInfo.addEventListener(\n 'reduceMotionChanged',\n setSystemReducedMotion,\n );\n\n return () => {\n active = false;\n subscription.remove();\n };\n }, [motion]);\n\n return motion === 'reduced' || (motion === 'system' && systemReducedMotion);\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ManifestListProps } from '../../../../types/manifest-list';
|
|
3
|
+
/*** Virtualizes keyed manifest children using React Native FlatList and the Runtime repeat contract. */
|
|
4
|
+
export declare const FlatList: (props: ManifestListProps) => React.ReactElement | null;
|
|
5
|
+
//# sourceMappingURL=FlatList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlatList.d.ts","sourceRoot":"","sources":["../../../../../src/features/list/adapters/inbound/FlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAMzE,wGAAwG;AACxG,eAAO,MAAM,QAAQ,yDAAoC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FlatList as NativeFlatList } from 'react-native';
|
|
3
|
+
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
4
|
+
import { Text } from '../../../typography/public';
|
|
5
|
+
import { HorizontalListSeparator } from './HorizontalListSeparator';
|
|
6
|
+
import { useListVisibility } from './useListVisibility';
|
|
7
|
+
import { VerticalListSeparator } from './VerticalListSeparator';
|
|
8
|
+
/*** Virtualizes keyed manifest children using React Native FlatList and the Runtime repeat contract. */
|
|
9
|
+
export const FlatList = withZoraThemeScope(FlatListInner);
|
|
10
|
+
/*** Maps serializable list options to the native virtualized list. */
|
|
11
|
+
function FlatListInner({ mode: _mode, themeId: _themeId, children, horizontal, refreshing = false, initialNumToRender, maxToRenderPerBatch, windowSize, onEndReachedThreshold, showsScrollIndicator = true, bounces, showSeparators, headerText, footerText, emptyText, onRefresh, onEndReached, onVisibleItemsChange, interactionPolicy, testID, }) {
|
|
12
|
+
const items = React.Children.toArray(children);
|
|
13
|
+
const passive = interactionPolicy === 'passive';
|
|
14
|
+
const onViewableItemsChanged = useListVisibility(onVisibleItemsChange, passive);
|
|
15
|
+
return (<NativeFlatList data={items} renderItem={({ item }) => <>{item}</>} keyExtractor={(item, index) => React.isValidElement(item) && item.key !== null ? String(item.key) : String(index)} horizontal={horizontal} refreshing={refreshing} onRefresh={passive ? undefined : onRefresh} onEndReached={passive ? undefined : onEndReached} onEndReachedThreshold={onEndReachedThreshold} initialNumToRender={initialNumToRender} maxToRenderPerBatch={maxToRenderPerBatch} windowSize={windowSize} scrollEnabled={!passive} bounces={bounces} onViewableItemsChanged={onViewableItemsChanged} ItemSeparatorComponent={showSeparators ? (horizontal ? HorizontalListSeparator : VerticalListSeparator) : undefined} showsHorizontalScrollIndicator={showsScrollIndicator} showsVerticalScrollIndicator={showsScrollIndicator} ListHeaderComponent={headerText ? <Text>{headerText}</Text> : null} ListFooterComponent={footerText ? <Text>{footerText}</Text> : null} ListEmptyComponent={emptyText ? <Text>{emptyText}</Text> : null} testID={testID}/>);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=FlatList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlatList.js","sourceRoot":"","sources":["../../../../../src/features/list/adapters/inbound/FlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,wGAAwG;AACxG,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC;AAE1D,sEAAsE;AACtE,SAAS,aAAa,CAAC,EACrB,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACR,UAAU,EACV,UAAU,GAAG,KAAK,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,UAAU,EACV,qBAAqB,EACrB,oBAAoB,GAAG,IAAI,EAC3B,OAAO,EACP,cAAc,EACd,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,YAAY,EACZ,oBAAoB,EACpB,iBAAiB,EACjB,MAAM,GACY;IAClB,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC/C,MAAM,OAAO,GAAG,iBAAiB,KAAK,SAAS,CAAC;IAChD,MAAM,sBAAsB,GAAG,iBAAiB,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAChF,OAAO,CACL,CAAC,cAAc,CACb,IAAI,CAAC,CAAC,KAAK,CAAC,CACZ,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CACtC,YAAY,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAC5B,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CACnF,CAAC,CACD,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAC3C,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CACjD,qBAAqB,CAAC,CAAC,qBAAqB,CAAC,CAC7C,kBAAkB,CAAC,CAAC,kBAAkB,CAAC,CACvC,mBAAmB,CAAC,CAAC,mBAAmB,CAAC,CACzC,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CACxB,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,sBAAsB,CAAC,CAAC,sBAAsB,CAAC,CAC/C,sBAAsB,CAAC,CACrB,cAAc,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,SACpF,CAAC,CACD,8BAA8B,CAAC,CAAC,oBAAoB,CAAC,CACrD,4BAA4B,CAAC,CAAC,oBAAoB,CAAC,CACnD,mBAAmB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CACnE,mBAAmB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CACnE,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAChE,MAAM,CAAC,CAAC,MAAM,CAAC,EACf,CACH,CAAC;AACJ,CAAC","sourcesContent":["import React from 'react';\nimport { FlatList as NativeFlatList } from 'react-native';\n\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { ManifestListProps } from '../../../../types/manifest-list';\nimport { Text } from '../../../typography/public';\nimport { HorizontalListSeparator } from './HorizontalListSeparator';\nimport { useListVisibility } from './useListVisibility';\nimport { VerticalListSeparator } from './VerticalListSeparator';\n\n/*** Virtualizes keyed manifest children using React Native FlatList and the Runtime repeat contract. */\nexport const FlatList = withZoraThemeScope(FlatListInner);\n\n/*** Maps serializable list options to the native virtualized list. */\nfunction FlatListInner({\n mode: _mode,\n themeId: _themeId,\n children,\n horizontal,\n refreshing = false,\n initialNumToRender,\n maxToRenderPerBatch,\n windowSize,\n onEndReachedThreshold,\n showsScrollIndicator = true,\n bounces,\n showSeparators,\n headerText,\n footerText,\n emptyText,\n onRefresh,\n onEndReached,\n onVisibleItemsChange,\n interactionPolicy,\n testID,\n}: ManifestListProps) {\n const items = React.Children.toArray(children);\n const passive = interactionPolicy === 'passive';\n const onViewableItemsChanged = useListVisibility(onVisibleItemsChange, passive);\n return (\n <NativeFlatList\n data={items}\n renderItem={({ item }) => <>{item}</>}\n keyExtractor={(item, index) =>\n React.isValidElement(item) && item.key !== null ? String(item.key) : String(index)\n }\n horizontal={horizontal}\n refreshing={refreshing}\n onRefresh={passive ? undefined : onRefresh}\n onEndReached={passive ? undefined : onEndReached}\n onEndReachedThreshold={onEndReachedThreshold}\n initialNumToRender={initialNumToRender}\n maxToRenderPerBatch={maxToRenderPerBatch}\n windowSize={windowSize}\n scrollEnabled={!passive}\n bounces={bounces}\n onViewableItemsChanged={onViewableItemsChanged}\n ItemSeparatorComponent={\n showSeparators ? (horizontal ? HorizontalListSeparator : VerticalListSeparator) : undefined\n }\n showsHorizontalScrollIndicator={showsScrollIndicator}\n showsVerticalScrollIndicator={showsScrollIndicator}\n ListHeaderComponent={headerText ? <Text>{headerText}</Text> : null}\n ListFooterComponent={footerText ? <Text>{footerText}</Text> : null}\n ListEmptyComponent={emptyText ? <Text>{emptyText}</Text> : null}\n testID={testID}\n />\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalListSeparator.d.ts","sourceRoot":"","sources":["../../../../../src/features/list/adapters/inbound/HorizontalListSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,6DAA6D;AAC7D,wBAAgB,uBAAuB,sBAEtC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Divider } from '../../../layout/public';
|
|
3
|
+
/*** Separates adjacent items in a horizontal native list. */
|
|
4
|
+
export function HorizontalListSeparator() {
|
|
5
|
+
return <Divider orientation="vertical"/>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=HorizontalListSeparator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalListSeparator.js","sourceRoot":"","sources":["../../../../../src/features/list/adapters/inbound/HorizontalListSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,6DAA6D;AAC7D,MAAM,UAAU,uBAAuB;IACrC,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,EAAG,CAAC;AAC5C,CAAC","sourcesContent":["import React from 'react';\n\nimport { Divider } from '../../../layout/public';\n\n/*** Separates adjacent items in a horizontal native list. */\nexport function HorizontalListSeparator() {\n return <Divider orientation=\"vertical\" />;\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ManifestSectionListProps } from '../../../../types/manifest-list';
|
|
3
|
+
/*** Virtualizes manifest children grouped by explicit section identities and child counts. */
|
|
4
|
+
export declare const SectionList: (props: ManifestSectionListProps) => React.ReactElement | null;
|
|
5
|
+
//# sourceMappingURL=SectionList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionList.d.ts","sourceRoot":"","sources":["../../../../../src/features/list/adapters/inbound/SectionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAOhF,8FAA8F;AAC9F,eAAO,MAAM,WAAW,gEAAuC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SectionList as NativeSectionList } from 'react-native';
|
|
3
|
+
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
4
|
+
import { Text } from '../../../typography/public';
|
|
5
|
+
import { partitionListSections } from '../../application/use-cases/partitionListSections';
|
|
6
|
+
import { HorizontalListSeparator } from './HorizontalListSeparator';
|
|
7
|
+
import { useListVisibility } from './useListVisibility';
|
|
8
|
+
import { VerticalListSeparator } from './VerticalListSeparator';
|
|
9
|
+
/*** Virtualizes manifest children grouped by explicit section identities and child counts. */
|
|
10
|
+
export const SectionList = withZoraThemeScope(SectionListInner);
|
|
11
|
+
/*** Maps section identities and native scroll options to a virtualized section list. */
|
|
12
|
+
function SectionListInner({ mode: _mode, themeId: _themeId, children, sections, horizontal, refreshing = false, initialNumToRender, maxToRenderPerBatch, windowSize, onEndReachedThreshold, showsScrollIndicator = true, bounces, showSeparators, headerText, footerText, emptyText, onRefresh, onEndReached, onVisibleItemsChange, stickySectionHeadersEnabled = true, interactionPolicy, testID, }) {
|
|
13
|
+
const grouped = partitionListSections(React.Children.toArray(children), sections);
|
|
14
|
+
const passive = interactionPolicy === 'passive';
|
|
15
|
+
const onViewableItemsChanged = useListVisibility(onVisibleItemsChange, passive);
|
|
16
|
+
return (<NativeSectionList sections={grouped} renderItem={({ item }) => <>{item}</>} keyExtractor={(item, index) => React.isValidElement(item) && item.key !== null ? String(item.key) : String(index)} renderSectionHeader={({ section }) => section.title ? <Text weight="semiBold">{section.title}</Text> : null} horizontal={horizontal} refreshing={refreshing} onRefresh={passive ? undefined : onRefresh} onEndReached={passive ? undefined : onEndReached} onEndReachedThreshold={onEndReachedThreshold} initialNumToRender={initialNumToRender} maxToRenderPerBatch={maxToRenderPerBatch} windowSize={windowSize} stickySectionHeadersEnabled={!horizontal && stickySectionHeadersEnabled} scrollEnabled={!passive} bounces={bounces} onViewableItemsChanged={onViewableItemsChanged} ItemSeparatorComponent={showSeparators ? (horizontal ? HorizontalListSeparator : VerticalListSeparator) : undefined} showsHorizontalScrollIndicator={showsScrollIndicator} showsVerticalScrollIndicator={showsScrollIndicator} ListHeaderComponent={headerText ? <Text>{headerText}</Text> : null} ListFooterComponent={footerText ? <Text>{footerText}</Text> : null} ListEmptyComponent={emptyText ? <Text>{emptyText}</Text> : null} testID={testID}/>);
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=SectionList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionList.js","sourceRoot":"","sources":["../../../../../src/features/list/adapters/inbound/SectionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,8FAA8F;AAC9F,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;AAEhE,wFAAwF;AACxF,SAAS,gBAAgB,CAAC,EACxB,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,UAAU,GAAG,KAAK,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,UAAU,EACV,qBAAqB,EACrB,oBAAoB,GAAG,IAAI,EAC3B,OAAO,EACP,cAAc,EACd,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,YAAY,EACZ,oBAAoB,EACpB,2BAA2B,GAAG,IAAI,EAClC,iBAAiB,EACjB,MAAM,GACmB;IACzB,MAAM,OAAO,GAAG,qBAAqB,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC;IAClF,MAAM,OAAO,GAAG,iBAAiB,KAAK,SAAS,CAAC;IAChD,MAAM,sBAAsB,GAAG,iBAAiB,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAChF,OAAO,CACL,CAAC,iBAAiB,CAChB,QAAQ,CAAC,CAAC,OAAO,CAAC,CAClB,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CACtC,YAAY,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAC5B,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CACnF,CAAC,CACD,mBAAmB,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CACnC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IACnE,CAAC,CACD,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAC3C,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CACjD,qBAAqB,CAAC,CAAC,qBAAqB,CAAC,CAC7C,kBAAkB,CAAC,CAAC,kBAAkB,CAAC,CACvC,mBAAmB,CAAC,CAAC,mBAAmB,CAAC,CACzC,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,2BAA2B,CAAC,CAAC,CAAC,UAAU,IAAI,2BAA2B,CAAC,CACxE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CACxB,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,sBAAsB,CAAC,CAAC,sBAAsB,CAAC,CAC/C,sBAAsB,CAAC,CACrB,cAAc,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,SACpF,CAAC,CACD,8BAA8B,CAAC,CAAC,oBAAoB,CAAC,CACrD,4BAA4B,CAAC,CAAC,oBAAoB,CAAC,CACnD,mBAAmB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CACnE,mBAAmB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CACnE,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAChE,MAAM,CAAC,CAAC,MAAM,CAAC,EACf,CACH,CAAC;AACJ,CAAC","sourcesContent":["import React from 'react';\nimport { SectionList as NativeSectionList } from 'react-native';\n\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { ManifestSectionListProps } from '../../../../types/manifest-list';\nimport { Text } from '../../../typography/public';\nimport { partitionListSections } from '../../application/use-cases/partitionListSections';\nimport { HorizontalListSeparator } from './HorizontalListSeparator';\nimport { useListVisibility } from './useListVisibility';\nimport { VerticalListSeparator } from './VerticalListSeparator';\n\n/*** Virtualizes manifest children grouped by explicit section identities and child counts. */\nexport const SectionList = withZoraThemeScope(SectionListInner);\n\n/*** Maps section identities and native scroll options to a virtualized section list. */\nfunction SectionListInner({\n mode: _mode,\n themeId: _themeId,\n children,\n sections,\n horizontal,\n refreshing = false,\n initialNumToRender,\n maxToRenderPerBatch,\n windowSize,\n onEndReachedThreshold,\n showsScrollIndicator = true,\n bounces,\n showSeparators,\n headerText,\n footerText,\n emptyText,\n onRefresh,\n onEndReached,\n onVisibleItemsChange,\n stickySectionHeadersEnabled = true,\n interactionPolicy,\n testID,\n}: ManifestSectionListProps) {\n const grouped = partitionListSections(React.Children.toArray(children), sections);\n const passive = interactionPolicy === 'passive';\n const onViewableItemsChanged = useListVisibility(onVisibleItemsChange, passive);\n return (\n <NativeSectionList\n sections={grouped}\n renderItem={({ item }) => <>{item}</>}\n keyExtractor={(item, index) =>\n React.isValidElement(item) && item.key !== null ? String(item.key) : String(index)\n }\n renderSectionHeader={({ section }) =>\n section.title ? <Text weight=\"semiBold\">{section.title}</Text> : null\n }\n horizontal={horizontal}\n refreshing={refreshing}\n onRefresh={passive ? undefined : onRefresh}\n onEndReached={passive ? undefined : onEndReached}\n onEndReachedThreshold={onEndReachedThreshold}\n initialNumToRender={initialNumToRender}\n maxToRenderPerBatch={maxToRenderPerBatch}\n windowSize={windowSize}\n stickySectionHeadersEnabled={!horizontal && stickySectionHeadersEnabled}\n scrollEnabled={!passive}\n bounces={bounces}\n onViewableItemsChanged={onViewableItemsChanged}\n ItemSeparatorComponent={\n showSeparators ? (horizontal ? HorizontalListSeparator : VerticalListSeparator) : undefined\n }\n showsHorizontalScrollIndicator={showsScrollIndicator}\n showsVerticalScrollIndicator={showsScrollIndicator}\n ListHeaderComponent={headerText ? <Text>{headerText}</Text> : null}\n ListFooterComponent={footerText ? <Text>{footerText}</Text> : null}\n ListEmptyComponent={emptyText ? <Text>{emptyText}</Text> : null}\n testID={testID}\n />\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerticalListSeparator.d.ts","sourceRoot":"","sources":["../../../../../src/features/list/adapters/inbound/VerticalListSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,2DAA2D;AAC3D,wBAAgB,qBAAqB,sBAEpC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Divider } from '../../../layout/public';
|
|
3
|
+
/*** Separates adjacent items in a vertical native list. */
|
|
4
|
+
export function VerticalListSeparator() {
|
|
5
|
+
return <Divider orientation="horizontal"/>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=VerticalListSeparator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerticalListSeparator.js","sourceRoot":"","sources":["../../../../../src/features/list/adapters/inbound/VerticalListSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,2DAA2D;AAC3D,MAAM,UAAU,qBAAqB;IACnC,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,YAAY,EAAG,CAAC;AAC9C,CAAC","sourcesContent":["import React from 'react';\n\nimport { Divider } from '../../../layout/public';\n\n/*** Separates adjacent items in a vertical native list. */\nexport function VerticalListSeparator() {\n return <Divider orientation=\"horizontal\" />;\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ViewToken } from 'react-native';
|
|
2
|
+
import type { ManifestListProps } from '../../../../types/manifest-list';
|
|
3
|
+
/*** Keeps the native visibility callback stable and emits only serializable item identities. */
|
|
4
|
+
export declare function useListVisibility(onVisibleItemsChange: ManifestListProps['onVisibleItemsChange'], passive: boolean): ({ viewableItems }: {
|
|
5
|
+
viewableItems: ViewToken[];
|
|
6
|
+
}) => void;
|
|
7
|
+
//# sourceMappingURL=useListVisibility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useListVisibility.d.ts","sourceRoot":"","sources":["../../../../../src/features/list/adapters/inbound/useListVisibility.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,gGAAgG;AAChG,wBAAgB,iBAAiB,CAC/B,oBAAoB,EAAE,iBAAiB,CAAC,sBAAsB,CAAC,EAC/D,OAAO,EAAE,OAAO,uBAQ6B;IAAE,aAAa,EAAE,SAAS,EAAE,CAAA;CAAE,UAQ5E"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/*** Keeps the native visibility callback stable and emits only serializable item identities. */
|
|
3
|
+
export function useListVisibility(onVisibleItemsChange, passive) {
|
|
4
|
+
const handler = React.useRef(onVisibleItemsChange);
|
|
5
|
+
const disabled = React.useRef(passive);
|
|
6
|
+
React.useEffect(() => {
|
|
7
|
+
handler.current = onVisibleItemsChange;
|
|
8
|
+
disabled.current = passive;
|
|
9
|
+
}, [onVisibleItemsChange, passive]);
|
|
10
|
+
return React.useCallback(({ viewableItems }) => {
|
|
11
|
+
if (!disabled.current)
|
|
12
|
+
handler.current?.({
|
|
13
|
+
keys: viewableItems
|
|
14
|
+
.filter((item) => item.isViewable && item.index !== null && item.index >= 0)
|
|
15
|
+
.map((item) => item.key),
|
|
16
|
+
});
|
|
17
|
+
}, []);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=useListVisibility.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useListVisibility.js","sourceRoot":"","sources":["../../../../../src/features/list/adapters/inbound/useListVisibility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,gGAAgG;AAChG,MAAM,UAAU,iBAAiB,CAC/B,oBAA+D,EAC/D,OAAgB;IAEhB,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACnD,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACvC,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,OAAO,CAAC,OAAO,GAAG,oBAAoB,CAAC;QACvC,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC;IAC7B,CAAC,EAAE,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC,CAAC;IACpC,OAAO,KAAK,CAAC,WAAW,CAAC,CAAC,EAAE,aAAa,EAAkC,EAAE,EAAE;QAC7E,IAAI,CAAC,QAAQ,CAAC,OAAO;YACnB,OAAO,CAAC,OAAO,EAAE,CAAC;gBAChB,IAAI,EAAE,aAAa;qBAChB,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC;qBAC3E,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC;aAC3B,CAAC,CAAC;IACP,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC","sourcesContent":["import React from 'react';\nimport type { ViewToken } from 'react-native';\n\nimport type { ManifestListProps } from '../../../../types/manifest-list';\n\n/*** Keeps the native visibility callback stable and emits only serializable item identities. */\nexport function useListVisibility(\n onVisibleItemsChange: ManifestListProps['onVisibleItemsChange'],\n passive: boolean,\n) {\n const handler = React.useRef(onVisibleItemsChange);\n const disabled = React.useRef(passive);\n React.useEffect(() => {\n handler.current = onVisibleItemsChange;\n disabled.current = passive;\n }, [onVisibleItemsChange, passive]);\n return React.useCallback(({ viewableItems }: { viewableItems: ViewToken[] }) => {\n if (!disabled.current)\n handler.current?.({\n keys: viewableItems\n .filter((item) => item.isViewable && item.index !== null && item.index >= 0)\n .map((item) => item.key),\n });\n }, []);\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ManifestListSection } from '../../../../types/manifest-list';
|
|
2
|
+
/*** Partitions ordered list children into declared sections while enforcing complete coverage and identity. */
|
|
3
|
+
export declare function partitionListSections<T>(items: readonly T[], sections: readonly ManifestListSection[]): {
|
|
4
|
+
data: T[];
|
|
5
|
+
key: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
itemCount: number;
|
|
8
|
+
}[];
|
|
9
|
+
//# sourceMappingURL=partitionListSections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partitionListSections.d.ts","sourceRoot":"","sources":["../../../../../src/features/list/application/use-cases/partitionListSections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,+GAA+G;AAC/G,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,KAAK,EAAE,SAAS,CAAC,EAAE,EACnB,QAAQ,EAAE,SAAS,mBAAmB,EAAE;;;;;IAiBzC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*** Partitions ordered list children into declared sections while enforcing complete coverage and identity. */
|
|
2
|
+
export function partitionListSections(items, sections) {
|
|
3
|
+
const keys = new Set();
|
|
4
|
+
let offset = 0;
|
|
5
|
+
const result = sections.map((section) => {
|
|
6
|
+
if (!section.key || keys.has(section.key))
|
|
7
|
+
throw new Error('SectionList requires unique non-empty section keys.');
|
|
8
|
+
if (!Number.isInteger(section.itemCount) || section.itemCount < 0)
|
|
9
|
+
throw new Error('SectionList itemCount must be a non-negative integer.');
|
|
10
|
+
keys.add(section.key);
|
|
11
|
+
const data = items.slice(offset, offset + section.itemCount);
|
|
12
|
+
offset += section.itemCount;
|
|
13
|
+
return { ...section, data };
|
|
14
|
+
});
|
|
15
|
+
if (offset !== items.length)
|
|
16
|
+
throw new Error('SectionList section item counts must cover every child exactly once.');
|
|
17
|
+
return result;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=partitionListSections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partitionListSections.js","sourceRoot":"","sources":["../../../../../src/features/list/application/use-cases/partitionListSections.ts"],"names":[],"mappings":"AAEA,+GAA+G;AAC/G,MAAM,UAAU,qBAAqB,CACnC,KAAmB,EACnB,QAAwC;IAExC,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,MAAM,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;QACtC,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC;YACvC,MAAM,IAAI,KAAK,CAAC,qDAAqD,CAAC,CAAC;QACzE,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,OAAO,CAAC,SAAS,GAAG,CAAC;YAC/D,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;QAC3E,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACtB,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAC7D,MAAM,IAAI,OAAO,CAAC,SAAS,CAAC;QAC5B,OAAO,EAAE,GAAG,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,CAAC,CAAC,CAAC;IACH,IAAI,MAAM,KAAK,KAAK,CAAC,MAAM;QACzB,MAAM,IAAI,KAAK,CAAC,sEAAsE,CAAC,CAAC;IAC1F,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import type { ManifestListSection } from '../../../../types/manifest-list';\n\n/*** Partitions ordered list children into declared sections while enforcing complete coverage and identity. */\nexport function partitionListSections<T>(\n items: readonly T[],\n sections: readonly ManifestListSection[],\n) {\n const keys = new Set<string>();\n let offset = 0;\n const result = sections.map((section) => {\n if (!section.key || keys.has(section.key))\n throw new Error('SectionList requires unique non-empty section keys.');\n if (!Number.isInteger(section.itemCount) || section.itemCount < 0)\n throw new Error('SectionList itemCount must be a non-negative integer.');\n keys.add(section.key);\n const data = items.slice(offset, offset + section.itemCount);\n offset += section.itemCount;\n return { ...section, data };\n });\n if (offset !== items.length)\n throw new Error('SectionList section item counts must cover every child exactly once.');\n return result;\n}\n"]}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export declare const flatListMeta: {
|
|
2
|
+
readonly name: "FlatList";
|
|
3
|
+
readonly category: "layout";
|
|
4
|
+
readonly directManifestNode: true;
|
|
5
|
+
readonly blueprint: {
|
|
6
|
+
readonly label: "Flat list";
|
|
7
|
+
};
|
|
8
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "IconButton", "SplashScreen", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
|
|
9
|
+
readonly description: "Virtualized children. Put node.repeat on this list for keyed data and item bindings; bind selection on the child Button/Card press event. Bound the list viewport and avoid nesting in a same-direction ScrollView.";
|
|
10
|
+
readonly events: {
|
|
11
|
+
readonly visibleItemsChange: {
|
|
12
|
+
readonly label: "Visible items change";
|
|
13
|
+
readonly eventType: "flatList.visibleItemsChange";
|
|
14
|
+
readonly payloadFields: readonly [{
|
|
15
|
+
readonly path: "keys";
|
|
16
|
+
readonly type: "unknown";
|
|
17
|
+
}];
|
|
18
|
+
};
|
|
19
|
+
readonly refresh: {
|
|
20
|
+
readonly label: "Refresh";
|
|
21
|
+
readonly eventType: "flatList.refresh";
|
|
22
|
+
readonly payloadFields: readonly [];
|
|
23
|
+
};
|
|
24
|
+
readonly endReached: {
|
|
25
|
+
readonly label: "End reached";
|
|
26
|
+
readonly eventType: "flatList.endReached";
|
|
27
|
+
readonly payloadFields: readonly [{
|
|
28
|
+
readonly path: "distanceFromEnd";
|
|
29
|
+
readonly type: "number";
|
|
30
|
+
}];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly props: {
|
|
34
|
+
readonly horizontal: {
|
|
35
|
+
readonly type: "boolean";
|
|
36
|
+
readonly category: "Layout";
|
|
37
|
+
};
|
|
38
|
+
readonly refreshing: {
|
|
39
|
+
readonly type: "boolean";
|
|
40
|
+
readonly category: "State";
|
|
41
|
+
};
|
|
42
|
+
readonly initialNumToRender: {
|
|
43
|
+
readonly type: "number";
|
|
44
|
+
readonly category: "Virtualization";
|
|
45
|
+
};
|
|
46
|
+
readonly maxToRenderPerBatch: {
|
|
47
|
+
readonly type: "number";
|
|
48
|
+
readonly category: "Virtualization";
|
|
49
|
+
};
|
|
50
|
+
readonly windowSize: {
|
|
51
|
+
readonly type: "number";
|
|
52
|
+
readonly category: "Virtualization";
|
|
53
|
+
};
|
|
54
|
+
readonly onEndReachedThreshold: {
|
|
55
|
+
readonly type: "number";
|
|
56
|
+
readonly category: "Behavior";
|
|
57
|
+
};
|
|
58
|
+
readonly showsScrollIndicator: {
|
|
59
|
+
readonly type: "boolean";
|
|
60
|
+
readonly category: "Style";
|
|
61
|
+
};
|
|
62
|
+
readonly bounces: {
|
|
63
|
+
readonly type: "boolean";
|
|
64
|
+
readonly category: "Behavior";
|
|
65
|
+
};
|
|
66
|
+
readonly showSeparators: {
|
|
67
|
+
readonly type: "boolean";
|
|
68
|
+
readonly category: "Style";
|
|
69
|
+
};
|
|
70
|
+
readonly headerText: {
|
|
71
|
+
readonly type: "string";
|
|
72
|
+
readonly category: "Content";
|
|
73
|
+
};
|
|
74
|
+
readonly footerText: {
|
|
75
|
+
readonly type: "string";
|
|
76
|
+
readonly category: "Content";
|
|
77
|
+
};
|
|
78
|
+
readonly emptyText: {
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
readonly category: "Content";
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=flatListMeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flatListMeta.d.ts","sourceRoot":"","sources":["../../../src/features/list/flatListMeta.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCa,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { CONTAINER_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';
|
|
2
|
+
export const flatListMeta = {
|
|
3
|
+
name: 'FlatList',
|
|
4
|
+
category: 'layout',
|
|
5
|
+
directManifestNode: true,
|
|
6
|
+
blueprint: { label: 'Flat list' },
|
|
7
|
+
allowedChildren: [...CONTAINER_ALLOWED_CHILDREN],
|
|
8
|
+
description: 'Virtualized children. Put node.repeat on this list for keyed data and item bindings; bind selection on the child Button/Card press event. Bound the list viewport and avoid nesting in a same-direction ScrollView.',
|
|
9
|
+
events: {
|
|
10
|
+
visibleItemsChange: {
|
|
11
|
+
label: 'Visible items change',
|
|
12
|
+
eventType: 'flatList.visibleItemsChange',
|
|
13
|
+
payloadFields: [{ path: 'keys', type: 'unknown' }],
|
|
14
|
+
},
|
|
15
|
+
refresh: { label: 'Refresh', eventType: 'flatList.refresh', payloadFields: [] },
|
|
16
|
+
endReached: {
|
|
17
|
+
label: 'End reached',
|
|
18
|
+
eventType: 'flatList.endReached',
|
|
19
|
+
payloadFields: [{ path: 'distanceFromEnd', type: 'number' }],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
props: {
|
|
23
|
+
horizontal: { type: 'boolean', category: 'Layout' },
|
|
24
|
+
refreshing: { type: 'boolean', category: 'State' },
|
|
25
|
+
initialNumToRender: { type: 'number', category: 'Virtualization' },
|
|
26
|
+
maxToRenderPerBatch: { type: 'number', category: 'Virtualization' },
|
|
27
|
+
windowSize: { type: 'number', category: 'Virtualization' },
|
|
28
|
+
onEndReachedThreshold: { type: 'number', category: 'Behavior' },
|
|
29
|
+
showsScrollIndicator: { type: 'boolean', category: 'Style' },
|
|
30
|
+
bounces: { type: 'boolean', category: 'Behavior' },
|
|
31
|
+
showSeparators: { type: 'boolean', category: 'Style' },
|
|
32
|
+
headerText: { type: 'string', category: 'Content' },
|
|
33
|
+
footerText: { type: 'string', category: 'Content' },
|
|
34
|
+
emptyText: { type: 'string', category: 'Content' },
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=flatListMeta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flatListMeta.js","sourceRoot":"","sources":["../../../src/features/list/flatListMeta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAG5E,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,QAAQ;IAClB,kBAAkB,EAAE,IAAI;IACxB,SAAS,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE;IACjC,eAAe,EAAE,CAAC,GAAG,0BAA0B,CAAC;IAChD,WAAW,EACT,qNAAqN;IACvN,MAAM,EAAE;QACN,kBAAkB,EAAE;YAClB,KAAK,EAAE,sBAAsB;YAC7B,SAAS,EAAE,6BAA6B;YACxC,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;SACnD;QACD,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,kBAAkB,EAAE,aAAa,EAAE,EAAE,EAAE;QAC/E,UAAU,EAAE;YACV,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,qBAAqB;YAChC,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;SAC7D;KACF;IACD,KAAK,EAAE;QACL,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE;QACnD,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE;QAClD,kBAAkB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE;QAClE,mBAAmB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE;QACnE,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE;QAC1D,qBAAqB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE;QAC/D,oBAAoB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE;QAC5D,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE;QAClD,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE;QACtD,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;QACnD,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;QACnD,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;KACnD;CACmC,CAAC","sourcesContent":["import { CONTAINER_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';\nimport type { ZoraComponentMeta } from '../../metadata/types';\n\nexport const flatListMeta = {\n name: 'FlatList',\n category: 'layout',\n directManifestNode: true,\n blueprint: { label: 'Flat list' },\n allowedChildren: [...CONTAINER_ALLOWED_CHILDREN],\n description:\n 'Virtualized children. Put node.repeat on this list for keyed data and item bindings; bind selection on the child Button/Card press event. Bound the list viewport and avoid nesting in a same-direction ScrollView.',\n events: {\n visibleItemsChange: {\n label: 'Visible items change',\n eventType: 'flatList.visibleItemsChange',\n payloadFields: [{ path: 'keys', type: 'unknown' }],\n },\n refresh: { label: 'Refresh', eventType: 'flatList.refresh', payloadFields: [] },\n endReached: {\n label: 'End reached',\n eventType: 'flatList.endReached',\n payloadFields: [{ path: 'distanceFromEnd', type: 'number' }],\n },\n },\n props: {\n horizontal: { type: 'boolean', category: 'Layout' },\n refreshing: { type: 'boolean', category: 'State' },\n initialNumToRender: { type: 'number', category: 'Virtualization' },\n maxToRenderPerBatch: { type: 'number', category: 'Virtualization' },\n windowSize: { type: 'number', category: 'Virtualization' },\n onEndReachedThreshold: { type: 'number', category: 'Behavior' },\n showsScrollIndicator: { type: 'boolean', category: 'Style' },\n bounces: { type: 'boolean', category: 'Behavior' },\n showSeparators: { type: 'boolean', category: 'Style' },\n headerText: { type: 'string', category: 'Content' },\n footerText: { type: 'string', category: 'Content' },\n emptyText: { type: 'string', category: 'Content' },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { ManifestListProps, ManifestListSection, ManifestSectionListProps, } from '../../types/manifest-list';
|
|
2
|
+
export { FlatList } from './adapters/inbound/FlatList';
|
|
3
|
+
export { SectionList } from './adapters/inbound/SectionList';
|
|
4
|
+
//# sourceMappingURL=public.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/list/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/list/public.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC","sourcesContent":["export type {\n ManifestListProps,\n ManifestListSection,\n ManifestSectionListProps,\n} from '../../types/manifest-list';\nexport { FlatList } from './adapters/inbound/FlatList';\nexport { SectionList } from './adapters/inbound/SectionList';\n"]}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export declare const sectionListMeta: {
|
|
2
|
+
readonly name: "SectionList";
|
|
3
|
+
readonly blueprint: {
|
|
4
|
+
readonly label: "Section list";
|
|
5
|
+
readonly defaultProps: {
|
|
6
|
+
readonly sections: readonly [];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
readonly description: "Virtualized sections of ordered children. Section counts must cover every child exactly once.";
|
|
10
|
+
readonly events: {
|
|
11
|
+
readonly visibleItemsChange: {
|
|
12
|
+
readonly eventType: "sectionList.visibleItemsChange";
|
|
13
|
+
readonly label: "Visible items change";
|
|
14
|
+
readonly payloadFields: readonly [{
|
|
15
|
+
readonly path: "keys";
|
|
16
|
+
readonly type: "unknown";
|
|
17
|
+
}];
|
|
18
|
+
};
|
|
19
|
+
readonly refresh: {
|
|
20
|
+
readonly eventType: "sectionList.refresh";
|
|
21
|
+
readonly label: "Refresh";
|
|
22
|
+
readonly payloadFields: readonly [];
|
|
23
|
+
};
|
|
24
|
+
readonly endReached: {
|
|
25
|
+
readonly eventType: "sectionList.endReached";
|
|
26
|
+
readonly label: "End reached";
|
|
27
|
+
readonly payloadFields: readonly [{
|
|
28
|
+
readonly path: "distanceFromEnd";
|
|
29
|
+
readonly type: "number";
|
|
30
|
+
}];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly props: {
|
|
34
|
+
readonly sections: {
|
|
35
|
+
readonly type: "array";
|
|
36
|
+
readonly category: "Data";
|
|
37
|
+
readonly itemSchema: readonly [{
|
|
38
|
+
readonly key: "key";
|
|
39
|
+
readonly schema: {
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
readonly category: "Identity";
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
readonly key: "title";
|
|
45
|
+
readonly schema: {
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
readonly category: "Content";
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
readonly key: "itemCount";
|
|
51
|
+
readonly schema: {
|
|
52
|
+
readonly type: "number";
|
|
53
|
+
readonly category: "Data";
|
|
54
|
+
};
|
|
55
|
+
}];
|
|
56
|
+
};
|
|
57
|
+
readonly stickySectionHeadersEnabled: {
|
|
58
|
+
readonly type: "boolean";
|
|
59
|
+
readonly category: "Behavior";
|
|
60
|
+
};
|
|
61
|
+
readonly horizontal: {
|
|
62
|
+
readonly type: "boolean";
|
|
63
|
+
readonly category: "Layout";
|
|
64
|
+
};
|
|
65
|
+
readonly refreshing: {
|
|
66
|
+
readonly type: "boolean";
|
|
67
|
+
readonly category: "State";
|
|
68
|
+
};
|
|
69
|
+
readonly initialNumToRender: {
|
|
70
|
+
readonly type: "number";
|
|
71
|
+
readonly category: "Virtualization";
|
|
72
|
+
};
|
|
73
|
+
readonly maxToRenderPerBatch: {
|
|
74
|
+
readonly type: "number";
|
|
75
|
+
readonly category: "Virtualization";
|
|
76
|
+
};
|
|
77
|
+
readonly windowSize: {
|
|
78
|
+
readonly type: "number";
|
|
79
|
+
readonly category: "Virtualization";
|
|
80
|
+
};
|
|
81
|
+
readonly onEndReachedThreshold: {
|
|
82
|
+
readonly type: "number";
|
|
83
|
+
readonly category: "Behavior";
|
|
84
|
+
};
|
|
85
|
+
readonly showsScrollIndicator: {
|
|
86
|
+
readonly type: "boolean";
|
|
87
|
+
readonly category: "Style";
|
|
88
|
+
};
|
|
89
|
+
readonly bounces: {
|
|
90
|
+
readonly type: "boolean";
|
|
91
|
+
readonly category: "Behavior";
|
|
92
|
+
};
|
|
93
|
+
readonly showSeparators: {
|
|
94
|
+
readonly type: "boolean";
|
|
95
|
+
readonly category: "Style";
|
|
96
|
+
};
|
|
97
|
+
readonly headerText: {
|
|
98
|
+
readonly type: "string";
|
|
99
|
+
readonly category: "Content";
|
|
100
|
+
};
|
|
101
|
+
readonly footerText: {
|
|
102
|
+
readonly type: "string";
|
|
103
|
+
readonly category: "Content";
|
|
104
|
+
};
|
|
105
|
+
readonly emptyText: {
|
|
106
|
+
readonly type: "string";
|
|
107
|
+
readonly category: "Content";
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
readonly category: "layout";
|
|
111
|
+
readonly directManifestNode: true;
|
|
112
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "IconButton", "SplashScreen", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
|
|
113
|
+
};
|
|
114
|
+
//# sourceMappingURL=sectionListMeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sectionListMeta.d.ts","sourceRoot":"","sources":["../../../src/features/list/sectionListMeta.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BU,CAAC"}
|