@seed-design/react 0.0.0-alpha-20260324091316
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/README.md +6 -0
- package/lib/components/ActionButton/ActionButton.cjs +74 -0
- package/lib/components/ActionButton/ActionButton.d.ts +22 -0
- package/lib/components/ActionButton/ActionButton.d.ts.map +1 -0
- package/lib/components/ActionButton/ActionButton.js +51 -0
- package/lib/components/ActionButton/index.cjs +9 -0
- package/lib/components/ActionButton/index.d.ts +2 -0
- package/lib/components/ActionButton/index.d.ts.map +1 -0
- package/lib/components/ActionButton/index.js +1 -0
- package/lib/components/ActionChip/ActionChip.cjs +18 -0
- package/lib/components/ActionChip/ActionChip.d.ts +23 -0
- package/lib/components/ActionChip/ActionChip.d.ts.map +1 -0
- package/lib/components/ActionChip/ActionChip.js +14 -0
- package/lib/components/ActionChip/index.cjs +9 -0
- package/lib/components/ActionChip/index.d.ts +2 -0
- package/lib/components/ActionChip/index.d.ts.map +1 -0
- package/lib/components/ActionChip/index.js +1 -0
- package/lib/components/ActionSheet/ActionSheet.cjs +67 -0
- package/lib/components/ActionSheet/ActionSheet.d.ts +113 -0
- package/lib/components/ActionSheet/ActionSheet.d.ts.map +1 -0
- package/lib/components/ActionSheet/ActionSheet.js +53 -0
- package/lib/components/ActionSheet/ActionSheet.namespace.cjs +19 -0
- package/lib/components/ActionSheet/ActionSheet.namespace.d.ts +2 -0
- package/lib/components/ActionSheet/ActionSheet.namespace.d.ts.map +1 -0
- package/lib/components/ActionSheet/ActionSheet.namespace.js +1 -0
- package/lib/components/ActionSheet/index.cjs +21 -0
- package/lib/components/ActionSheet/index.d.ts +3 -0
- package/lib/components/ActionSheet/index.d.ts.map +1 -0
- package/lib/components/ActionSheet/index.js +3 -0
- package/lib/components/Article/Article.cjs +45 -0
- package/lib/components/Article/Article.d.ts +6 -0
- package/lib/components/Article/Article.d.ts.map +1 -0
- package/lib/components/Article/Article.js +22 -0
- package/lib/components/Article/index.cjs +9 -0
- package/lib/components/Article/index.d.ts +2 -0
- package/lib/components/Article/index.d.ts.map +1 -0
- package/lib/components/Article/index.js +1 -0
- package/lib/components/AspectRatio/AspectRatio.cjs +56 -0
- package/lib/components/AspectRatio/AspectRatio.d.ts +23 -0
- package/lib/components/AspectRatio/AspectRatio.d.ts.map +1 -0
- package/lib/components/AspectRatio/AspectRatio.js +33 -0
- package/lib/components/AspectRatio/index.cjs +9 -0
- package/lib/components/AspectRatio/index.d.ts +2 -0
- package/lib/components/AspectRatio/index.d.ts.map +1 -0
- package/lib/components/AspectRatio/index.js +1 -0
- package/lib/components/Avatar/Avatar.cjs +57 -0
- package/lib/components/Avatar/Avatar.d.ts +21 -0
- package/lib/components/Avatar/Avatar.d.ts.map +1 -0
- package/lib/components/Avatar/Avatar.js +31 -0
- package/lib/components/Avatar/Avatar.namespace.cjs +13 -0
- package/lib/components/Avatar/Avatar.namespace.d.ts +2 -0
- package/lib/components/Avatar/Avatar.namespace.d.ts.map +1 -0
- package/lib/components/Avatar/Avatar.namespace.js +1 -0
- package/lib/components/Avatar/index.cjs +15 -0
- package/lib/components/Avatar/index.d.ts +3 -0
- package/lib/components/Avatar/index.d.ts.map +1 -0
- package/lib/components/Avatar/index.js +3 -0
- package/lib/components/Badge/Badge.cjs +21 -0
- package/lib/components/Badge/Badge.d.ts +7 -0
- package/lib/components/Badge/Badge.d.ts.map +1 -0
- package/lib/components/Badge/Badge.js +17 -0
- package/lib/components/Badge/index.cjs +9 -0
- package/lib/components/Badge/index.d.ts +2 -0
- package/lib/components/Badge/index.d.ts.map +1 -0
- package/lib/components/Badge/index.js +1 -0
- package/lib/components/BottomSheet/BottomSheet.cjs +70 -0
- package/lib/components/BottomSheet/BottomSheet.d.ts +40 -0
- package/lib/components/BottomSheet/BottomSheet.d.ts.map +1 -0
- package/lib/components/BottomSheet/BottomSheet.js +56 -0
- package/lib/components/BottomSheet/BottomSheet.namespace.cjs +21 -0
- package/lib/components/BottomSheet/BottomSheet.namespace.d.ts +3 -0
- package/lib/components/BottomSheet/BottomSheet.namespace.d.ts.map +1 -0
- package/lib/components/BottomSheet/BottomSheet.namespace.js +2 -0
- package/lib/components/BottomSheet/index.cjs +21 -0
- package/lib/components/BottomSheet/index.d.ts +3 -0
- package/lib/components/BottomSheet/index.d.ts.map +1 -0
- package/lib/components/BottomSheet/index.js +3 -0
- package/lib/components/BottomSheetHandle/BottomSheetHandle.cjs +21 -0
- package/lib/components/BottomSheetHandle/BottomSheetHandle.d.ts +6 -0
- package/lib/components/BottomSheetHandle/BottomSheetHandle.d.ts.map +1 -0
- package/lib/components/BottomSheetHandle/BottomSheetHandle.js +17 -0
- package/lib/components/BottomSheetHandle/index.cjs +9 -0
- package/lib/components/BottomSheetHandle/index.d.ts +2 -0
- package/lib/components/BottomSheetHandle/index.d.ts.map +1 -0
- package/lib/components/BottomSheetHandle/index.js +1 -0
- package/lib/components/Box/Box.cjs +63 -0
- package/lib/components/Box/Box.d.ts +10 -0
- package/lib/components/Box/Box.d.ts.map +1 -0
- package/lib/components/Box/Box.js +40 -0
- package/lib/components/Box/index.cjs +9 -0
- package/lib/components/Box/index.d.ts +2 -0
- package/lib/components/Box/index.d.ts.map +1 -0
- package/lib/components/Box/index.js +1 -0
- package/lib/components/Callout/Callout.cjs +39 -0
- package/lib/components/Callout/Callout.d.ts +23 -0
- package/lib/components/Callout/Callout.d.ts.map +1 -0
- package/lib/components/Callout/Callout.js +30 -0
- package/lib/components/Callout/Callout.namespace.cjs +14 -0
- package/lib/components/Callout/Callout.namespace.d.ts +2 -0
- package/lib/components/Callout/Callout.namespace.d.ts.map +1 -0
- package/lib/components/Callout/Callout.namespace.js +1 -0
- package/lib/components/Callout/index.cjs +16 -0
- package/lib/components/Callout/index.d.ts +3 -0
- package/lib/components/Callout/index.d.ts.map +1 -0
- package/lib/components/Callout/index.js +3 -0
- package/lib/components/Celsius/Celsius.cjs +10 -0
- package/lib/components/Celsius/Celsius.d.ts +6 -0
- package/lib/components/Celsius/Celsius.d.ts.map +1 -0
- package/lib/components/Celsius/Celsius.js +6 -0
- package/lib/components/Celsius/index.cjs +9 -0
- package/lib/components/Celsius/index.d.ts +2 -0
- package/lib/components/Celsius/index.d.ts.map +1 -0
- package/lib/components/Celsius/index.js +1 -0
- package/lib/components/Checkbox/Checkbox.cjs +100 -0
- package/lib/components/Checkbox/Checkbox.d.ts +49 -0
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/components/Checkbox/Checkbox.js +91 -0
- package/lib/components/Checkbox/Checkbox.namespace.cjs +14 -0
- package/lib/components/Checkbox/Checkbox.namespace.d.ts +2 -0
- package/lib/components/Checkbox/Checkbox.namespace.d.ts.map +1 -0
- package/lib/components/Checkbox/Checkbox.namespace.js +1 -0
- package/lib/components/Checkbox/index.cjs +16 -0
- package/lib/components/Checkbox/index.d.ts +3 -0
- package/lib/components/Checkbox/index.d.ts.map +1 -0
- package/lib/components/Checkbox/index.js +3 -0
- package/lib/components/Chip/Chip.cjs +49 -0
- package/lib/components/Chip/Chip.d.ts +19 -0
- package/lib/components/Chip/Chip.d.ts.map +1 -0
- package/lib/components/Chip/Chip.js +41 -0
- package/lib/components/Chip/Chip.namespace.cjs +13 -0
- package/lib/components/Chip/Chip.namespace.d.ts +2 -0
- package/lib/components/Chip/Chip.namespace.d.ts.map +1 -0
- package/lib/components/Chip/Chip.namespace.js +1 -0
- package/lib/components/Chip/index.cjs +15 -0
- package/lib/components/Chip/index.d.ts +3 -0
- package/lib/components/Chip/index.d.ts.map +1 -0
- package/lib/components/Chip/index.js +3 -0
- package/lib/components/ChipTabs/ChipTabs.cjs +60 -0
- package/lib/components/ChipTabs/ChipTabs.d.ts +22 -0
- package/lib/components/ChipTabs/ChipTabs.d.ts.map +1 -0
- package/lib/components/ChipTabs/ChipTabs.js +51 -0
- package/lib/components/ChipTabs/ChipTabs.namespace.cjs +14 -0
- package/lib/components/ChipTabs/ChipTabs.namespace.d.ts +2 -0
- package/lib/components/ChipTabs/ChipTabs.namespace.d.ts.map +1 -0
- package/lib/components/ChipTabs/ChipTabs.namespace.js +1 -0
- package/lib/components/ChipTabs/index.cjs +16 -0
- package/lib/components/ChipTabs/index.d.ts +3 -0
- package/lib/components/ChipTabs/index.d.ts.map +1 -0
- package/lib/components/ChipTabs/index.js +3 -0
- package/lib/components/Columns/Columns.cjs +59 -0
- package/lib/components/Columns/Columns.d.ts +22 -0
- package/lib/components/Columns/Columns.d.ts.map +1 -0
- package/lib/components/Columns/Columns.js +35 -0
- package/lib/components/Columns/index.cjs +10 -0
- package/lib/components/Columns/index.d.ts +2 -0
- package/lib/components/Columns/index.d.ts.map +1 -0
- package/lib/components/Columns/index.js +1 -0
- package/lib/components/ConsistentWidth/ConsistentWidth.cjs +24 -0
- package/lib/components/ConsistentWidth/ConsistentWidth.d.ts +7 -0
- package/lib/components/ConsistentWidth/ConsistentWidth.d.ts.map +1 -0
- package/lib/components/ConsistentWidth/ConsistentWidth.js +20 -0
- package/lib/components/ConsistentWidth/index.cjs +9 -0
- package/lib/components/ConsistentWidth/index.d.ts +2 -0
- package/lib/components/ConsistentWidth/index.d.ts.map +1 -0
- package/lib/components/ConsistentWidth/index.js +1 -0
- package/lib/components/ContentPlaceholder/ContentPlaceholder.cjs +58 -0
- package/lib/components/ContentPlaceholder/ContentPlaceholder.d.ts +10 -0
- package/lib/components/ContentPlaceholder/ContentPlaceholder.d.ts.map +1 -0
- package/lib/components/ContentPlaceholder/ContentPlaceholder.js +35 -0
- package/lib/components/ContentPlaceholder/ContentPlaceholder.namespace.cjs +10 -0
- package/lib/components/ContentPlaceholder/ContentPlaceholder.namespace.d.ts +2 -0
- package/lib/components/ContentPlaceholder/ContentPlaceholder.namespace.d.ts.map +1 -0
- package/lib/components/ContentPlaceholder/ContentPlaceholder.namespace.js +1 -0
- package/lib/components/ContentPlaceholder/index.cjs +12 -0
- package/lib/components/ContentPlaceholder/index.d.ts +3 -0
- package/lib/components/ContentPlaceholder/index.d.ts.map +1 -0
- package/lib/components/ContentPlaceholder/index.js +3 -0
- package/lib/components/ContentPlaceholder/presets.cjs +78 -0
- package/lib/components/ContentPlaceholder/presets.d.ts +3 -0
- package/lib/components/ContentPlaceholder/presets.d.ts.map +1 -0
- package/lib/components/ContentPlaceholder/presets.js +74 -0
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.cjs +54 -0
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.d.ts +8 -0
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.d.ts.map +1 -0
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.js +31 -0
- package/lib/components/ContextualFloatingButton/index.cjs +9 -0
- package/lib/components/ContextualFloatingButton/index.d.ts +2 -0
- package/lib/components/ContextualFloatingButton/index.d.ts.map +1 -0
- package/lib/components/ContextualFloatingButton/index.js +1 -0
- package/lib/components/ControlChip/ControlChip.cjs +18 -0
- package/lib/components/ControlChip/ControlChip.d.ts +28 -0
- package/lib/components/ControlChip/ControlChip.d.ts.map +1 -0
- package/lib/components/ControlChip/ControlChip.js +14 -0
- package/lib/components/ControlChip/index.cjs +9 -0
- package/lib/components/ControlChip/index.d.ts +2 -0
- package/lib/components/ControlChip/index.d.ts.map +1 -0
- package/lib/components/ControlChip/index.js +1 -0
- package/lib/components/Count/Count.cjs +16 -0
- package/lib/components/Count/Count.d.ts +5 -0
- package/lib/components/Count/Count.d.ts.map +1 -0
- package/lib/components/Count/Count.js +12 -0
- package/lib/components/Count/index.cjs +9 -0
- package/lib/components/Count/index.d.ts +2 -0
- package/lib/components/Count/index.d.ts.map +1 -0
- package/lib/components/Count/index.js +1 -0
- package/lib/components/Dialog/Dialog.cjs +54 -0
- package/lib/components/Dialog/Dialog.d.ts +43 -0
- package/lib/components/Dialog/Dialog.d.ts.map +1 -0
- package/lib/components/Dialog/Dialog.js +41 -0
- package/lib/components/Dialog/Dialog.namespace.cjs +18 -0
- package/lib/components/Dialog/Dialog.namespace.d.ts +2 -0
- package/lib/components/Dialog/Dialog.namespace.d.ts.map +1 -0
- package/lib/components/Dialog/Dialog.namespace.js +1 -0
- package/lib/components/Dialog/index.cjs +20 -0
- package/lib/components/Dialog/index.d.ts +3 -0
- package/lib/components/Dialog/index.d.ts.map +1 -0
- package/lib/components/Dialog/index.js +3 -0
- package/lib/components/Divider/Divider.cjs +69 -0
- package/lib/components/Divider/Divider.d.ts +29 -0
- package/lib/components/Divider/Divider.d.ts.map +1 -0
- package/lib/components/Divider/Divider.js +46 -0
- package/lib/components/Divider/index.cjs +9 -0
- package/lib/components/Divider/index.d.ts +2 -0
- package/lib/components/Divider/index.d.ts.map +1 -0
- package/lib/components/Divider/index.js +1 -0
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +55 -0
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts +122 -0
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts.map +1 -0
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +40 -0
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.cjs +20 -0
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.d.ts +2 -0
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.d.ts.map +1 -0
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.namespace.js +1 -0
- package/lib/components/ExtendedActionSheet/index.cjs +22 -0
- package/lib/components/ExtendedActionSheet/index.d.ts +3 -0
- package/lib/components/ExtendedActionSheet/index.d.ts.map +1 -0
- package/lib/components/ExtendedActionSheet/index.js +3 -0
- package/lib/components/ExtendedFab/ExtendedFab.cjs +18 -0
- package/lib/components/ExtendedFab/ExtendedFab.d.ts +13 -0
- package/lib/components/ExtendedFab/ExtendedFab.d.ts.map +1 -0
- package/lib/components/ExtendedFab/ExtendedFab.js +14 -0
- package/lib/components/ExtendedFab/index.cjs +9 -0
- package/lib/components/ExtendedFab/index.d.ts +2 -0
- package/lib/components/ExtendedFab/index.d.ts.map +1 -0
- package/lib/components/ExtendedFab/index.js +1 -0
- package/lib/components/Fab/Fab.cjs +13 -0
- package/lib/components/Fab/Fab.d.ts +13 -0
- package/lib/components/Fab/Fab.d.ts.map +1 -0
- package/lib/components/Fab/Fab.js +9 -0
- package/lib/components/Fab/index.cjs +9 -0
- package/lib/components/Fab/index.d.ts +2 -0
- package/lib/components/Fab/index.d.ts.map +1 -0
- package/lib/components/Fab/index.js +1 -0
- package/lib/components/Field/Field.cjs +116 -0
- package/lib/components/Field/Field.d.ts +41 -0
- package/lib/components/Field/Field.d.ts.map +1 -0
- package/lib/components/Field/Field.js +104 -0
- package/lib/components/Field/Field.namespace.cjs +17 -0
- package/lib/components/Field/Field.namespace.d.ts +2 -0
- package/lib/components/Field/Field.namespace.d.ts.map +1 -0
- package/lib/components/Field/Field.namespace.js +1 -0
- package/lib/components/Field/index.cjs +19 -0
- package/lib/components/Field/index.d.ts +3 -0
- package/lib/components/Field/index.d.ts.map +1 -0
- package/lib/components/Field/index.js +3 -0
- package/lib/components/FieldButton/FieldButton.cjs +201 -0
- package/lib/components/FieldButton/FieldButton.d.ts +61 -0
- package/lib/components/FieldButton/FieldButton.d.ts.map +1 -0
- package/lib/components/FieldButton/FieldButton.js +161 -0
- package/lib/components/FieldButton/FieldButton.namespace.cjs +26 -0
- package/lib/components/FieldButton/FieldButton.namespace.d.ts +2 -0
- package/lib/components/FieldButton/FieldButton.namespace.d.ts.map +1 -0
- package/lib/components/FieldButton/FieldButton.namespace.js +1 -0
- package/lib/components/FieldButton/index.cjs +28 -0
- package/lib/components/FieldButton/index.d.ts +3 -0
- package/lib/components/FieldButton/index.d.ts.map +1 -0
- package/lib/components/FieldButton/index.js +3 -0
- package/lib/components/Fieldset/Fieldset.cjs +86 -0
- package/lib/components/Fieldset/Fieldset.d.ts +30 -0
- package/lib/components/Fieldset/Fieldset.d.ts.map +1 -0
- package/lib/components/Fieldset/Fieldset.js +75 -0
- package/lib/components/Fieldset/Fieldset.namespace.cjs +16 -0
- package/lib/components/Fieldset/Fieldset.namespace.d.ts +2 -0
- package/lib/components/Fieldset/Fieldset.namespace.d.ts.map +1 -0
- package/lib/components/Fieldset/Fieldset.namespace.js +1 -0
- package/lib/components/Fieldset/index.cjs +18 -0
- package/lib/components/Fieldset/index.d.ts +3 -0
- package/lib/components/Fieldset/index.d.ts.map +1 -0
- package/lib/components/Fieldset/index.js +3 -0
- package/lib/components/Flex/Flex.cjs +47 -0
- package/lib/components/Flex/Flex.d.ts +35 -0
- package/lib/components/Flex/Flex.d.ts.map +1 -0
- package/lib/components/Flex/Flex.js +24 -0
- package/lib/components/Flex/index.cjs +9 -0
- package/lib/components/Flex/index.d.ts +2 -0
- package/lib/components/Flex/index.d.ts.map +1 -0
- package/lib/components/Flex/index.js +1 -0
- package/lib/components/Float/Float.cjs +108 -0
- package/lib/components/Float/Float.d.ts +17 -0
- package/lib/components/Float/Float.d.ts.map +1 -0
- package/lib/components/Float/Float.js +85 -0
- package/lib/components/Float/index.cjs +9 -0
- package/lib/components/Float/index.d.ts +2 -0
- package/lib/components/Float/index.d.ts.map +1 -0
- package/lib/components/Float/index.js +1 -0
- package/lib/components/FloatingActionButton/FloatingActionButton.cjs +18 -0
- package/lib/components/FloatingActionButton/FloatingActionButton.d.ts +14 -0
- package/lib/components/FloatingActionButton/FloatingActionButton.d.ts.map +1 -0
- package/lib/components/FloatingActionButton/FloatingActionButton.js +12 -0
- package/lib/components/FloatingActionButton/FloatingActionButton.namespace.cjs +11 -0
- package/lib/components/FloatingActionButton/FloatingActionButton.namespace.d.ts +2 -0
- package/lib/components/FloatingActionButton/FloatingActionButton.namespace.d.ts.map +1 -0
- package/lib/components/FloatingActionButton/FloatingActionButton.namespace.js +1 -0
- package/lib/components/FloatingActionButton/index.cjs +13 -0
- package/lib/components/FloatingActionButton/index.d.ts +3 -0
- package/lib/components/FloatingActionButton/index.d.ts.map +1 -0
- package/lib/components/FloatingActionButton/index.js +3 -0
- package/lib/components/Grid/Grid.cjs +58 -0
- package/lib/components/Grid/Grid.d.ts +42 -0
- package/lib/components/Grid/Grid.d.ts.map +1 -0
- package/lib/components/Grid/Grid.js +35 -0
- package/lib/components/Grid/index.cjs +9 -0
- package/lib/components/Grid/index.d.ts +2 -0
- package/lib/components/Grid/index.d.ts.map +1 -0
- package/lib/components/Grid/index.js +1 -0
- package/lib/components/GridItem/GridItem.cjs +45 -0
- package/lib/components/GridItem/GridItem.d.ts +35 -0
- package/lib/components/GridItem/GridItem.d.ts.map +1 -0
- package/lib/components/GridItem/GridItem.js +22 -0
- package/lib/components/GridItem/index.cjs +9 -0
- package/lib/components/GridItem/index.d.ts +2 -0
- package/lib/components/GridItem/index.d.ts.map +1 -0
- package/lib/components/GridItem/index.js +1 -0
- package/lib/components/HelpBubble/HelpBubble.cjs +102 -0
- package/lib/components/HelpBubble/HelpBubble.d.ts +63 -0
- package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -0
- package/lib/components/HelpBubble/HelpBubble.js +87 -0
- package/lib/components/HelpBubble/HelpBubble.namespace.cjs +20 -0
- package/lib/components/HelpBubble/HelpBubble.namespace.d.ts +2 -0
- package/lib/components/HelpBubble/HelpBubble.namespace.d.ts.map +1 -0
- package/lib/components/HelpBubble/HelpBubble.namespace.js +1 -0
- package/lib/components/HelpBubble/index.cjs +22 -0
- package/lib/components/HelpBubble/index.d.ts +3 -0
- package/lib/components/HelpBubble/index.d.ts.map +1 -0
- package/lib/components/HelpBubble/index.js +3 -0
- package/lib/components/Icon/Icon.cjs +128 -0
- package/lib/components/Icon/Icon.d.ts +23 -0
- package/lib/components/Icon/Icon.d.ts.map +1 -0
- package/lib/components/Icon/Icon.js +120 -0
- package/lib/components/Icon/index.cjs +11 -0
- package/lib/components/Icon/index.d.ts +2 -0
- package/lib/components/Icon/index.d.ts.map +1 -0
- package/lib/components/Icon/index.js +1 -0
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.cjs +77 -0
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.d.ts +10 -0
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.d.ts.map +1 -0
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.js +53 -0
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.cjs +10 -0
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.d.ts +2 -0
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.d.ts.map +1 -0
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.namespace.js +1 -0
- package/lib/components/IdentityPlaceholder/index.cjs +12 -0
- package/lib/components/IdentityPlaceholder/index.d.ts +3 -0
- package/lib/components/IdentityPlaceholder/index.d.ts.map +1 -0
- package/lib/components/IdentityPlaceholder/index.js +3 -0
- package/lib/components/ImageFrame/ImageFrame.cjs +186 -0
- package/lib/components/ImageFrame/ImageFrame.d.ts +53 -0
- package/lib/components/ImageFrame/ImageFrame.d.ts.map +1 -0
- package/lib/components/ImageFrame/ImageFrame.js +158 -0
- package/lib/components/ImageFrame/ImageFrame.test.d.ts +2 -0
- package/lib/components/ImageFrame/ImageFrame.test.d.ts.map +1 -0
- package/lib/components/ImageFrame/index.cjs +14 -0
- package/lib/components/ImageFrame/index.d.ts +2 -0
- package/lib/components/ImageFrame/index.d.ts.map +1 -0
- package/lib/components/ImageFrame/index.js +1 -0
- package/lib/components/Inline/Inline.cjs +44 -0
- package/lib/components/Inline/Inline.d.ts +12 -0
- package/lib/components/Inline/Inline.d.ts.map +1 -0
- package/lib/components/Inline/Inline.js +21 -0
- package/lib/components/Inline/index.cjs +9 -0
- package/lib/components/Inline/index.d.ts +2 -0
- package/lib/components/Inline/index.d.ts.map +1 -0
- package/lib/components/Inline/index.js +1 -0
- package/lib/components/InlineBanner/InlineBanner.cjs +42 -0
- package/lib/components/InlineBanner/InlineBanner.d.ts +59 -0
- package/lib/components/InlineBanner/InlineBanner.d.ts.map +1 -0
- package/lib/components/InlineBanner/InlineBanner.js +33 -0
- package/lib/components/InlineBanner/InlineBanner.namespace.cjs +14 -0
- package/lib/components/InlineBanner/InlineBanner.namespace.d.ts +2 -0
- package/lib/components/InlineBanner/InlineBanner.namespace.d.ts.map +1 -0
- package/lib/components/InlineBanner/InlineBanner.namespace.js +1 -0
- package/lib/components/InlineBanner/index.cjs +16 -0
- package/lib/components/InlineBanner/index.d.ts +3 -0
- package/lib/components/InlineBanner/index.d.ts.map +1 -0
- package/lib/components/InlineBanner/index.js +3 -0
- package/lib/components/LinkContent/LinkContent.cjs +16 -0
- package/lib/components/LinkContent/LinkContent.d.ts +14 -0
- package/lib/components/LinkContent/LinkContent.d.ts.map +1 -0
- package/lib/components/LinkContent/LinkContent.js +12 -0
- package/lib/components/LinkContent/index.cjs +9 -0
- package/lib/components/LinkContent/index.d.ts +2 -0
- package/lib/components/LinkContent/index.d.ts.map +1 -0
- package/lib/components/LinkContent/index.js +1 -0
- package/lib/components/List/List.cjs +71 -0
- package/lib/components/List/List.d.ts +28 -0
- package/lib/components/List/List.d.ts.map +1 -0
- package/lib/components/List/List.js +61 -0
- package/lib/components/List/List.namespace.cjs +15 -0
- package/lib/components/List/List.namespace.d.ts +2 -0
- package/lib/components/List/List.namespace.d.ts.map +1 -0
- package/lib/components/List/List.namespace.js +1 -0
- package/lib/components/List/ListHeader.cjs +20 -0
- package/lib/components/List/ListHeader.d.ts +11 -0
- package/lib/components/List/ListHeader.d.ts.map +1 -0
- package/lib/components/List/ListHeader.js +16 -0
- package/lib/components/List/index.cjs +19 -0
- package/lib/components/List/index.d.ts +4 -0
- package/lib/components/List/index.d.ts.map +1 -0
- package/lib/components/List/index.js +4 -0
- package/lib/components/LoadingIndicator/LoadingIndicator.cjs +28 -0
- package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +6 -0
- package/lib/components/LoadingIndicator/LoadingIndicator.d.ts.map +1 -0
- package/lib/components/LoadingIndicator/LoadingIndicator.js +24 -0
- package/lib/components/LoadingIndicator/index.cjs +9 -0
- package/lib/components/LoadingIndicator/index.d.ts +2 -0
- package/lib/components/LoadingIndicator/index.d.ts.map +1 -0
- package/lib/components/LoadingIndicator/index.js +1 -0
- package/lib/components/LoadingIndicator/usePendingButton.cjs +52 -0
- package/lib/components/LoadingIndicator/usePendingButton.d.ts +873 -0
- package/lib/components/LoadingIndicator/usePendingButton.d.ts.map +1 -0
- package/lib/components/LoadingIndicator/usePendingButton.js +27 -0
- package/lib/components/MannerTemp/MannerTemp.cjs +20 -0
- package/lib/components/MannerTemp/MannerTemp.d.ts +7 -0
- package/lib/components/MannerTemp/MannerTemp.d.ts.map +1 -0
- package/lib/components/MannerTemp/MannerTemp.js +16 -0
- package/lib/components/MannerTemp/MannerTempEmote.cjs +101 -0
- package/lib/components/MannerTemp/MannerTempEmote.d.ts +7 -0
- package/lib/components/MannerTemp/MannerTempEmote.d.ts.map +1 -0
- package/lib/components/MannerTemp/MannerTempEmote.js +96 -0
- package/lib/components/MannerTemp/index.cjs +11 -0
- package/lib/components/MannerTemp/index.d.ts +3 -0
- package/lib/components/MannerTemp/index.d.ts.map +1 -0
- package/lib/components/MannerTemp/index.js +2 -0
- package/lib/components/MannerTempBadge/MannerTempBadge.cjs +13 -0
- package/lib/components/MannerTempBadge/MannerTempBadge.d.ts +7 -0
- package/lib/components/MannerTempBadge/MannerTempBadge.d.ts.map +1 -0
- package/lib/components/MannerTempBadge/MannerTempBadge.js +9 -0
- package/lib/components/MannerTempBadge/index.cjs +9 -0
- package/lib/components/MannerTempBadge/index.d.ts +2 -0
- package/lib/components/MannerTempBadge/index.d.ts.map +1 -0
- package/lib/components/MannerTempBadge/index.js +1 -0
- package/lib/components/MenuSheet/MenuSheet.cjs +155 -0
- package/lib/components/MenuSheet/MenuSheet.d.ts +62 -0
- package/lib/components/MenuSheet/MenuSheet.d.ts.map +1 -0
- package/lib/components/MenuSheet/MenuSheet.js +117 -0
- package/lib/components/MenuSheet/MenuSheet.namespace.cjs +24 -0
- package/lib/components/MenuSheet/MenuSheet.namespace.d.ts +2 -0
- package/lib/components/MenuSheet/MenuSheet.namespace.d.ts.map +1 -0
- package/lib/components/MenuSheet/MenuSheet.namespace.js +1 -0
- package/lib/components/MenuSheet/index.cjs +26 -0
- package/lib/components/MenuSheet/index.d.ts +3 -0
- package/lib/components/MenuSheet/index.d.ts.map +1 -0
- package/lib/components/MenuSheet/index.js +3 -0
- package/lib/components/NotificationBadge/NotificationBadge.cjs +44 -0
- package/lib/components/NotificationBadge/NotificationBadge.d.ts +11 -0
- package/lib/components/NotificationBadge/NotificationBadge.d.ts.map +1 -0
- package/lib/components/NotificationBadge/NotificationBadge.js +21 -0
- package/lib/components/NotificationBadge/index.cjs +10 -0
- package/lib/components/NotificationBadge/index.d.ts +2 -0
- package/lib/components/NotificationBadge/index.d.ts.map +1 -0
- package/lib/components/NotificationBadge/index.js +1 -0
- package/lib/components/PageBanner/PageBanner.cjs +58 -0
- package/lib/components/PageBanner/PageBanner.d.ts +26 -0
- package/lib/components/PageBanner/PageBanner.d.ts.map +1 -0
- package/lib/components/PageBanner/PageBanner.js +48 -0
- package/lib/components/PageBanner/PageBanner.namespace.cjs +15 -0
- package/lib/components/PageBanner/PageBanner.namespace.d.ts +2 -0
- package/lib/components/PageBanner/PageBanner.namespace.d.ts.map +1 -0
- package/lib/components/PageBanner/PageBanner.namespace.js +1 -0
- package/lib/components/PageBanner/index.cjs +17 -0
- package/lib/components/PageBanner/index.d.ts +3 -0
- package/lib/components/PageBanner/index.d.ts.map +1 -0
- package/lib/components/PageBanner/index.js +3 -0
- package/lib/components/Portal/index.cjs +12 -0
- package/lib/components/Portal/index.d.ts +2 -0
- package/lib/components/Portal/index.d.ts.map +1 -0
- package/lib/components/Portal/index.js +1 -0
- package/lib/components/ProgressCircle/ProgressCircle.cjs +26 -0
- package/lib/components/ProgressCircle/ProgressCircle.d.ts +13 -0
- package/lib/components/ProgressCircle/ProgressCircle.d.ts.map +1 -0
- package/lib/components/ProgressCircle/ProgressCircle.js +20 -0
- package/lib/components/ProgressCircle/ProgressCircle.namespace.cjs +11 -0
- package/lib/components/ProgressCircle/ProgressCircle.namespace.d.ts +2 -0
- package/lib/components/ProgressCircle/ProgressCircle.namespace.d.ts.map +1 -0
- package/lib/components/ProgressCircle/ProgressCircle.namespace.js +1 -0
- package/lib/components/ProgressCircle/index.cjs +13 -0
- package/lib/components/ProgressCircle/index.d.ts +3 -0
- package/lib/components/ProgressCircle/index.d.ts.map +1 -0
- package/lib/components/ProgressCircle/index.js +3 -0
- package/lib/components/PullToRefresh/PullToRefresh.cjs +23 -0
- package/lib/components/PullToRefresh/PullToRefresh.d.ts +13 -0
- package/lib/components/PullToRefresh/PullToRefresh.d.ts.map +1 -0
- package/lib/components/PullToRefresh/PullToRefresh.js +17 -0
- package/lib/components/PullToRefresh/PullToRefresh.namespace.cjs +16 -0
- package/lib/components/PullToRefresh/PullToRefresh.namespace.d.ts +3 -0
- package/lib/components/PullToRefresh/PullToRefresh.namespace.d.ts.map +1 -0
- package/lib/components/PullToRefresh/PullToRefresh.namespace.js +2 -0
- package/lib/components/PullToRefresh/index.cjs +18 -0
- package/lib/components/PullToRefresh/index.d.ts +4 -0
- package/lib/components/PullToRefresh/index.d.ts.map +1 -0
- package/lib/components/PullToRefresh/index.js +4 -0
- package/lib/components/RadioGroup/RadioGroup.cjs +82 -0
- package/lib/components/RadioGroup/RadioGroup.d.ts +35 -0
- package/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/lib/components/RadioGroup/RadioGroup.js +73 -0
- package/lib/components/RadioGroup/RadioGroup.namespace.cjs +14 -0
- package/lib/components/RadioGroup/RadioGroup.namespace.d.ts +2 -0
- package/lib/components/RadioGroup/RadioGroup.namespace.d.ts.map +1 -0
- package/lib/components/RadioGroup/RadioGroup.namespace.js +1 -0
- package/lib/components/RadioGroup/index.cjs +16 -0
- package/lib/components/RadioGroup/index.d.ts +3 -0
- package/lib/components/RadioGroup/index.d.ts.map +1 -0
- package/lib/components/RadioGroup/index.js +3 -0
- package/lib/components/RadioGroupField/RadioGroupField.cjs +79 -0
- package/lib/components/RadioGroupField/RadioGroupField.d.ts +30 -0
- package/lib/components/RadioGroupField/RadioGroupField.d.ts.map +1 -0
- package/lib/components/RadioGroupField/RadioGroupField.js +68 -0
- package/lib/components/RadioGroupField/RadioGroupField.namespace.cjs +16 -0
- package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts +2 -0
- package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts.map +1 -0
- package/lib/components/RadioGroupField/RadioGroupField.namespace.js +1 -0
- package/lib/components/RadioGroupField/index.cjs +18 -0
- package/lib/components/RadioGroupField/index.d.ts +3 -0
- package/lib/components/RadioGroupField/index.d.ts.map +1 -0
- package/lib/components/RadioGroupField/index.js +3 -0
- package/lib/components/ReactionButton/ReactionButton.cjs +49 -0
- package/lib/components/ReactionButton/ReactionButton.d.ts +8 -0
- package/lib/components/ReactionButton/ReactionButton.d.ts.map +1 -0
- package/lib/components/ReactionButton/ReactionButton.js +26 -0
- package/lib/components/ReactionButton/index.cjs +9 -0
- package/lib/components/ReactionButton/index.d.ts +2 -0
- package/lib/components/ReactionButton/index.d.ts.map +1 -0
- package/lib/components/ReactionButton/index.js +1 -0
- package/lib/components/ResponsivePair/ResponsivePair.cjs +61 -0
- package/lib/components/ResponsivePair/ResponsivePair.d.ts +11 -0
- package/lib/components/ResponsivePair/ResponsivePair.d.ts.map +1 -0
- package/lib/components/ResponsivePair/ResponsivePair.js +38 -0
- package/lib/components/ResponsivePair/index.cjs +9 -0
- package/lib/components/ResponsivePair/index.d.ts +2 -0
- package/lib/components/ResponsivePair/index.d.ts.map +1 -0
- package/lib/components/ResponsivePair/index.js +1 -0
- package/lib/components/ScrollFog/ScrollFog.cjs +63 -0
- package/lib/components/ScrollFog/ScrollFog.d.ts +28 -0
- package/lib/components/ScrollFog/ScrollFog.d.ts.map +1 -0
- package/lib/components/ScrollFog/ScrollFog.js +59 -0
- package/lib/components/ScrollFog/index.cjs +9 -0
- package/lib/components/ScrollFog/index.d.ts +2 -0
- package/lib/components/ScrollFog/index.d.ts.map +1 -0
- package/lib/components/ScrollFog/index.js +1 -0
- package/lib/components/SegmentedControl/SegmentedControl.cjs +26 -0
- package/lib/components/SegmentedControl/SegmentedControl.d.ts +17 -0
- package/lib/components/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/lib/components/SegmentedControl/SegmentedControl.js +19 -0
- package/lib/components/SegmentedControl/SegmentedControl.namespace.cjs +12 -0
- package/lib/components/SegmentedControl/SegmentedControl.namespace.d.ts +2 -0
- package/lib/components/SegmentedControl/SegmentedControl.namespace.d.ts.map +1 -0
- package/lib/components/SegmentedControl/SegmentedControl.namespace.js +1 -0
- package/lib/components/SegmentedControl/index.cjs +14 -0
- package/lib/components/SegmentedControl/index.d.ts +3 -0
- package/lib/components/SegmentedControl/index.d.ts.map +1 -0
- package/lib/components/SegmentedControl/index.js +3 -0
- package/lib/components/SelectBox/CheckSelectBox.cjs +149 -0
- package/lib/components/SelectBox/CheckSelectBox.d.ts +51 -0
- package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -0
- package/lib/components/SelectBox/CheckSelectBox.js +135 -0
- package/lib/components/SelectBox/CheckSelectBox.namespace.cjs +19 -0
- package/lib/components/SelectBox/CheckSelectBox.namespace.d.ts +2 -0
- package/lib/components/SelectBox/CheckSelectBox.namespace.d.ts.map +1 -0
- package/lib/components/SelectBox/CheckSelectBox.namespace.js +1 -0
- package/lib/components/SelectBox/RadioSelectBox.cjs +141 -0
- package/lib/components/SelectBox/RadioSelectBox.d.ts +43 -0
- package/lib/components/SelectBox/RadioSelectBox.d.ts.map +1 -0
- package/lib/components/SelectBox/RadioSelectBox.js +129 -0
- package/lib/components/SelectBox/RadioSelectBox.namespace.cjs +17 -0
- package/lib/components/SelectBox/RadioSelectBox.namespace.d.ts +2 -0
- package/lib/components/SelectBox/RadioSelectBox.namespace.d.ts.map +1 -0
- package/lib/components/SelectBox/RadioSelectBox.namespace.js +1 -0
- package/lib/components/SelectBox/index.cjs +33 -0
- package/lib/components/SelectBox/index.d.ts +5 -0
- package/lib/components/SelectBox/index.d.ts.map +1 -0
- package/lib/components/SelectBox/index.js +6 -0
- package/lib/components/Skeleton/Skeleton.cjs +14 -0
- package/lib/components/Skeleton/Skeleton.d.ts +8 -0
- package/lib/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/lib/components/Skeleton/Skeleton.js +10 -0
- package/lib/components/Skeleton/index.cjs +9 -0
- package/lib/components/Skeleton/index.d.ts +2 -0
- package/lib/components/Skeleton/index.d.ts.map +1 -0
- package/lib/components/Skeleton/index.js +1 -0
- package/lib/components/Slider/Slider.cjs +110 -0
- package/lib/components/Slider/Slider.d.ts +51 -0
- package/lib/components/Slider/Slider.d.ts.map +1 -0
- package/lib/components/Slider/Slider.js +94 -0
- package/lib/components/Slider/Slider.namespace.cjs +21 -0
- package/lib/components/Slider/Slider.namespace.d.ts +2 -0
- package/lib/components/Slider/Slider.namespace.d.ts.map +1 -0
- package/lib/components/Slider/Slider.namespace.js +1 -0
- package/lib/components/Slider/index.cjs +23 -0
- package/lib/components/Slider/index.d.ts +3 -0
- package/lib/components/Slider/index.d.ts.map +1 -0
- package/lib/components/Slider/index.js +3 -0
- package/lib/components/Snackbar/Snackbar.cjs +66 -0
- package/lib/components/Snackbar/Snackbar.d.ts +39 -0
- package/lib/components/Snackbar/Snackbar.d.ts.map +1 -0
- package/lib/components/Snackbar/Snackbar.js +53 -0
- package/lib/components/Snackbar/Snackbar.namespace.cjs +18 -0
- package/lib/components/Snackbar/Snackbar.namespace.d.ts +2 -0
- package/lib/components/Snackbar/Snackbar.namespace.d.ts.map +1 -0
- package/lib/components/Snackbar/Snackbar.namespace.js +1 -0
- package/lib/components/Snackbar/index.cjs +26 -0
- package/lib/components/Snackbar/index.d.ts +5 -0
- package/lib/components/Snackbar/index.d.ts.map +1 -0
- package/lib/components/Snackbar/index.js +5 -0
- package/lib/components/Snackbar/useSnackbarAdapter.cjs +29 -0
- package/lib/components/Snackbar/useSnackbarAdapter.d.ts +11 -0
- package/lib/components/Snackbar/useSnackbarAdapter.d.ts.map +1 -0
- package/lib/components/Snackbar/useSnackbarAdapter.js +25 -0
- package/lib/components/Stack/Stack.cjs +41 -0
- package/lib/components/Stack/Stack.d.ts +18 -0
- package/lib/components/Stack/Stack.d.ts.map +1 -0
- package/lib/components/Stack/Stack.js +16 -0
- package/lib/components/Stack/index.cjs +11 -0
- package/lib/components/Stack/index.d.ts +2 -0
- package/lib/components/Stack/index.d.ts.map +1 -0
- package/lib/components/Stack/index.js +1 -0
- package/lib/components/Switch/Switch.cjs +69 -0
- package/lib/components/Switch/Switch.d.ts +27 -0
- package/lib/components/Switch/Switch.d.ts.map +1 -0
- package/lib/components/Switch/Switch.js +61 -0
- package/lib/components/Switch/Switch.namespace.cjs +13 -0
- package/lib/components/Switch/Switch.namespace.d.ts +2 -0
- package/lib/components/Switch/Switch.namespace.d.ts.map +1 -0
- package/lib/components/Switch/Switch.namespace.js +1 -0
- package/lib/components/Switch/index.cjs +15 -0
- package/lib/components/Switch/index.d.ts +3 -0
- package/lib/components/Switch/index.d.ts.map +1 -0
- package/lib/components/Switch/index.js +3 -0
- package/lib/components/Tabs/Tabs.cjs +40 -0
- package/lib/components/Tabs/Tabs.d.ts +25 -0
- package/lib/components/Tabs/Tabs.d.ts.map +1 -0
- package/lib/components/Tabs/Tabs.js +30 -0
- package/lib/components/Tabs/Tabs.namespace.cjs +20 -0
- package/lib/components/Tabs/Tabs.namespace.d.ts +3 -0
- package/lib/components/Tabs/Tabs.namespace.d.ts.map +1 -0
- package/lib/components/Tabs/Tabs.namespace.js +2 -0
- package/lib/components/Tabs/index.cjs +22 -0
- package/lib/components/Tabs/index.d.ts +4 -0
- package/lib/components/Tabs/index.d.ts.map +1 -0
- package/lib/components/Tabs/index.js +4 -0
- package/lib/components/TagGroup/TagGroup.cjs +54 -0
- package/lib/components/TagGroup/TagGroup.d.ts +16 -0
- package/lib/components/TagGroup/TagGroup.d.ts.map +1 -0
- package/lib/components/TagGroup/TagGroup.js +48 -0
- package/lib/components/TagGroup/TagGroup.namespace.cjs +11 -0
- package/lib/components/TagGroup/TagGroup.namespace.d.ts +2 -0
- package/lib/components/TagGroup/TagGroup.namespace.d.ts.map +1 -0
- package/lib/components/TagGroup/TagGroup.namespace.js +1 -0
- package/lib/components/TagGroup/index.cjs +13 -0
- package/lib/components/TagGroup/index.d.ts +3 -0
- package/lib/components/TagGroup/index.d.ts.map +1 -0
- package/lib/components/TagGroup/index.js +3 -0
- package/lib/components/Text/Text.cjs +97 -0
- package/lib/components/Text/Text.d.ts +45 -0
- package/lib/components/Text/Text.d.ts.map +1 -0
- package/lib/components/Text/Text.js +93 -0
- package/lib/components/Text/index.cjs +9 -0
- package/lib/components/Text/index.d.ts +2 -0
- package/lib/components/Text/index.d.ts.map +1 -0
- package/lib/components/Text/index.js +1 -0
- package/lib/components/TextField/TextField.cjs +131 -0
- package/lib/components/TextField/TextField.d.ts +32 -0
- package/lib/components/TextField/TextField.d.ts.map +1 -0
- package/lib/components/TextField/TextField.js +121 -0
- package/lib/components/TextField/TextField.namespace.cjs +15 -0
- package/lib/components/TextField/TextField.namespace.d.ts +2 -0
- package/lib/components/TextField/TextField.namespace.d.ts.map +1 -0
- package/lib/components/TextField/TextField.namespace.js +1 -0
- package/lib/components/TextField/TextField.test.d.ts +2 -0
- package/lib/components/TextField/TextField.test.d.ts.map +1 -0
- package/lib/components/TextField/index.cjs +19 -0
- package/lib/components/TextField/index.d.ts +4 -0
- package/lib/components/TextField/index.d.ts.map +1 -0
- package/lib/components/TextField/index.js +4 -0
- package/lib/components/TextField/memoize.cjs +18 -0
- package/lib/components/TextField/memoize.d.ts +2 -0
- package/lib/components/TextField/memoize.d.ts.map +1 -0
- package/lib/components/TextField/memoize.js +14 -0
- package/lib/components/TextField/useTextFieldWithGraphemes.cjs +52 -0
- package/lib/components/TextField/useTextFieldWithGraphemes.d.ts +23 -0
- package/lib/components/TextField/useTextFieldWithGraphemes.d.ts.map +1 -0
- package/lib/components/TextField/useTextFieldWithGraphemes.js +48 -0
- package/lib/components/TextField/useTextFieldWithGraphemes.test.d.ts +2 -0
- package/lib/components/TextField/useTextFieldWithGraphemes.test.d.ts.map +1 -0
- package/lib/components/ToggleButton/ToggleButton.cjs +49 -0
- package/lib/components/ToggleButton/ToggleButton.d.ts +8 -0
- package/lib/components/ToggleButton/ToggleButton.d.ts.map +1 -0
- package/lib/components/ToggleButton/ToggleButton.js +26 -0
- package/lib/components/ToggleButton/index.cjs +9 -0
- package/lib/components/ToggleButton/index.d.ts +2 -0
- package/lib/components/ToggleButton/index.d.ts.map +1 -0
- package/lib/components/ToggleButton/index.js +1 -0
- package/lib/components/VisuallyHidden/VisuallyHidden.cjs +16 -0
- package/lib/components/VisuallyHidden/VisuallyHidden.d.ts +6 -0
- package/lib/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
- package/lib/components/VisuallyHidden/VisuallyHidden.js +12 -0
- package/lib/components/VisuallyHidden/index.cjs +9 -0
- package/lib/components/VisuallyHidden/index.d.ts +2 -0
- package/lib/components/VisuallyHidden/index.d.ts.map +1 -0
- package/lib/components/VisuallyHidden/index.js +1 -0
- package/lib/components/index.cjs +465 -0
- package/lib/components/index.d.ts +69 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +142 -0
- package/lib/components/private/Icon.cjs +16 -0
- package/lib/components/private/Icon.d.ts +6 -0
- package/lib/components/private/Icon.d.ts.map +1 -0
- package/lib/components/private/Icon.js +12 -0
- package/lib/components/private/useDismissible.cjs +79 -0
- package/lib/components/private/useDismissible.d.ts +1749 -0
- package/lib/components/private/useDismissible.d.ts.map +1 -0
- package/lib/components/private/useDismissible.js +52 -0
- package/lib/hooks/useBreakpoint.cjs +18 -0
- package/lib/hooks/useBreakpoint.d.ts +12 -0
- package/lib/hooks/useBreakpoint.d.ts.map +1 -0
- package/lib/hooks/useBreakpoint.js +13 -0
- package/lib/hooks/useBreakpoint.test.d.ts +2 -0
- package/lib/hooks/useBreakpoint.test.d.ts.map +1 -0
- package/lib/hooks/useBreakpointValue.cjs +28 -0
- package/lib/hooks/useBreakpointValue.d.ts +8 -0
- package/lib/hooks/useBreakpointValue.d.ts.map +1 -0
- package/lib/hooks/useBreakpointValue.js +23 -0
- package/lib/hooks/useBreakpointValue.test.d.ts +2 -0
- package/lib/hooks/useBreakpointValue.test.d.ts.map +1 -0
- package/lib/index.cjs +471 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +145 -0
- package/lib/primitive.cjs +91 -0
- package/lib/primitive.d.ts +13 -0
- package/lib/primitive.d.ts.map +1 -0
- package/lib/primitive.js +12 -0
- package/lib/primitives/breakpoint-store.cjs +63 -0
- package/lib/primitives/breakpoint-store.d.ts +7 -0
- package/lib/primitives/breakpoint-store.d.ts.map +1 -0
- package/lib/primitives/breakpoint-store.js +58 -0
- package/lib/providers/BreakpointProvider.cjs +24 -0
- package/lib/providers/BreakpointProvider.d.ts +8 -0
- package/lib/providers/BreakpointProvider.d.ts.map +1 -0
- package/lib/providers/BreakpointProvider.js +20 -0
- package/lib/types/responsive.cjs +10 -0
- package/lib/types/responsive.d.ts +12 -0
- package/lib/types/responsive.d.ts.map +1 -0
- package/lib/types/responsive.js +6 -0
- package/lib/utils/createRecipeContext.cjs +40 -0
- package/lib/utils/createRecipeContext.d.ts +16 -0
- package/lib/utils/createRecipeContext.d.ts.map +1 -0
- package/lib/utils/createRecipeContext.js +36 -0
- package/lib/utils/createSlotRecipeContext.cjs +77 -0
- package/lib/utils/createSlotRecipeContext.d.ts +24 -0
- package/lib/utils/createSlotRecipeContext.d.ts.map +1 -0
- package/lib/utils/createSlotRecipeContext.js +73 -0
- package/lib/utils/createWithStateProps.cjs +28 -0
- package/lib/utils/createWithStateProps.d.ts +14 -0
- package/lib/utils/createWithStateProps.d.ts.map +1 -0
- package/lib/utils/createWithStateProps.js +24 -0
- package/lib/utils/splitMultipleVariantsProps.cjs +32 -0
- package/lib/utils/splitMultipleVariantsProps.d.ts +21 -0
- package/lib/utils/splitMultipleVariantsProps.js +28 -0
- package/lib/utils/styled.cjs +353 -0
- package/lib/utils/styled.d.ts +160 -0
- package/lib/utils/styled.d.ts.map +1 -0
- package/lib/utils/styled.js +344 -0
- package/lib/vars.cjs +14 -0
- package/lib/vars.d.ts +2 -0
- package/lib/vars.d.ts.map +1 -0
- package/lib/vars.js +1 -0
- package/package.json +89 -0
- package/src/components/ActionButton/ActionButton.tsx +92 -0
- package/src/components/ActionButton/index.ts +4 -0
- package/src/components/ActionChip/ActionChip.tsx +34 -0
- package/src/components/ActionChip/index.ts +4 -0
- package/src/components/ActionSheet/ActionSheet.namespace.ts +24 -0
- package/src/components/ActionSheet/ActionSheet.tsx +192 -0
- package/src/components/ActionSheet/index.ts +26 -0
- package/src/components/Article/Article.tsx +19 -0
- package/src/components/Article/index.ts +1 -0
- package/src/components/AspectRatio/AspectRatio.tsx +56 -0
- package/src/components/AspectRatio/index.ts +1 -0
- package/src/components/Avatar/Avatar.namespace.ts +12 -0
- package/src/components/Avatar/Avatar.tsx +62 -0
- package/src/components/Avatar/index.ts +14 -0
- package/src/components/Badge/Badge.tsx +26 -0
- package/src/components/Badge/index.ts +1 -0
- package/src/components/BottomSheet/BottomSheet.namespace.ts +29 -0
- package/src/components/BottomSheet/BottomSheet.tsx +122 -0
- package/src/components/BottomSheet/index.ts +26 -0
- package/src/components/BottomSheetHandle/BottomSheetHandle.tsx +23 -0
- package/src/components/BottomSheetHandle/index.ts +1 -0
- package/src/components/Box/Box.tsx +45 -0
- package/src/components/Box/index.ts +1 -0
- package/src/components/Callout/Callout.namespace.ts +14 -0
- package/src/components/Callout/Callout.tsx +57 -0
- package/src/components/Callout/index.ts +16 -0
- package/src/components/Celsius/Celsius.tsx +9 -0
- package/src/components/Celsius/index.ts +4 -0
- package/src/components/Checkbox/Checkbox.namespace.ts +14 -0
- package/src/components/Checkbox/Checkbox.tsx +176 -0
- package/src/components/Checkbox/index.ts +16 -0
- package/src/components/Chip/Chip.namespace.ts +12 -0
- package/src/components/Chip/Chip.tsx +67 -0
- package/src/components/Chip/index.ts +14 -0
- package/src/components/ChipTabs/ChipTabs.namespace.ts +14 -0
- package/src/components/ChipTabs/ChipTabs.tsx +80 -0
- package/src/components/ChipTabs/index.ts +16 -0
- package/src/components/Columns/Columns.tsx +49 -0
- package/src/components/Columns/index.ts +1 -0
- package/src/components/ConsistentWidth/ConsistentWidth.tsx +21 -0
- package/src/components/ConsistentWidth/index.ts +1 -0
- package/src/components/ContentPlaceholder/ContentPlaceholder.namespace.ts +6 -0
- package/src/components/ContentPlaceholder/ContentPlaceholder.tsx +59 -0
- package/src/components/ContentPlaceholder/index.ts +8 -0
- package/src/components/ContentPlaceholder/presets.tsx +96 -0
- package/src/components/ContextualFloatingButton/ContextualFloatingButton.tsx +49 -0
- package/src/components/ContextualFloatingButton/index.ts +4 -0
- package/src/components/ControlChip/ControlChip.tsx +38 -0
- package/src/components/ControlChip/index.ts +5 -0
- package/src/components/Count/Count.tsx +10 -0
- package/src/components/Count/index.ts +4 -0
- package/src/components/Dialog/Dialog.namespace.ts +22 -0
- package/src/components/Dialog/Dialog.tsx +105 -0
- package/src/components/Dialog/index.ts +24 -0
- package/src/components/Divider/Divider.tsx +80 -0
- package/src/components/Divider/index.ts +1 -0
- package/src/components/ExtendedActionSheet/ExtendedActionSheet.namespace.ts +26 -0
- package/src/components/ExtendedActionSheet/ExtendedActionSheet.tsx +220 -0
- package/src/components/ExtendedActionSheet/index.ts +28 -0
- package/src/components/ExtendedFab/ExtendedFab.tsx +25 -0
- package/src/components/ExtendedFab/index.ts +4 -0
- package/src/components/Fab/Fab.tsx +21 -0
- package/src/components/Fab/index.ts +4 -0
- package/src/components/Field/Field.namespace.ts +19 -0
- package/src/components/Field/Field.tsx +140 -0
- package/src/components/Field/index.ts +21 -0
- package/src/components/FieldButton/FieldButton.namespace.ts +38 -0
- package/src/components/FieldButton/FieldButton.tsx +249 -0
- package/src/components/FieldButton/index.ts +40 -0
- package/src/components/Fieldset/Fieldset.namespace.ts +17 -0
- package/src/components/Fieldset/Fieldset.tsx +101 -0
- package/src/components/Fieldset/index.ts +19 -0
- package/src/components/Flex/Flex.tsx +58 -0
- package/src/components/Flex/index.ts +1 -0
- package/src/components/Float/Float.tsx +124 -0
- package/src/components/Float/index.ts +1 -0
- package/src/components/FloatingActionButton/FloatingActionButton.namespace.tsx +8 -0
- package/src/components/FloatingActionButton/FloatingActionButton.tsx +38 -0
- package/src/components/FloatingActionButton/index.ts +10 -0
- package/src/components/Grid/Grid.tsx +86 -0
- package/src/components/Grid/index.ts +1 -0
- package/src/components/GridItem/GridItem.tsx +70 -0
- package/src/components/GridItem/index.ts +1 -0
- package/src/components/HelpBubble/HelpBubble.namespace.ts +26 -0
- package/src/components/HelpBubble/HelpBubble.tsx +173 -0
- package/src/components/HelpBubble/index.ts +28 -0
- package/src/components/Icon/Icon.tsx +167 -0
- package/src/components/Icon/index.ts +8 -0
- package/src/components/IdentityPlaceholder/IdentityPlaceholder.namespace.ts +6 -0
- package/src/components/IdentityPlaceholder/IdentityPlaceholder.tsx +77 -0
- package/src/components/IdentityPlaceholder/index.ts +8 -0
- package/src/components/ImageFrame/ImageFrame.test.tsx +57 -0
- package/src/components/ImageFrame/ImageFrame.tsx +268 -0
- package/src/components/ImageFrame/index.ts +14 -0
- package/src/components/Inline/Inline.tsx +24 -0
- package/src/components/Inline/index.ts +1 -0
- package/src/components/InlineBanner/InlineBanner.namespace.ts +14 -0
- package/src/components/InlineBanner/InlineBanner.tsx +103 -0
- package/src/components/InlineBanner/index.ts +16 -0
- package/src/components/LinkContent/LinkContent.tsx +23 -0
- package/src/components/LinkContent/index.ts +4 -0
- package/src/components/List/List.namespace.ts +16 -0
- package/src/components/List/List.tsx +96 -0
- package/src/components/List/ListHeader.tsx +24 -0
- package/src/components/List/index.ts +20 -0
- package/src/components/LoadingIndicator/LoadingIndicator.tsx +27 -0
- package/src/components/LoadingIndicator/index.ts +4 -0
- package/src/components/LoadingIndicator/usePendingButton.tsx +45 -0
- package/src/components/MannerTemp/MannerTemp.tsx +25 -0
- package/src/components/MannerTemp/MannerTempEmote.tsx +136 -0
- package/src/components/MannerTemp/index.ts +2 -0
- package/src/components/MannerTempBadge/MannerTempBadge.tsx +18 -0
- package/src/components/MannerTempBadge/index.ts +4 -0
- package/src/components/MenuSheet/MenuSheet.namespace.ts +34 -0
- package/src/components/MenuSheet/MenuSheet.tsx +229 -0
- package/src/components/MenuSheet/index.ts +36 -0
- package/src/components/NotificationBadge/NotificationBadge.tsx +47 -0
- package/src/components/NotificationBadge/index.ts +6 -0
- package/src/components/PageBanner/PageBanner.namespace.ts +16 -0
- package/src/components/PageBanner/PageBanner.tsx +108 -0
- package/src/components/PageBanner/index.ts +18 -0
- package/src/components/Portal/index.ts +4 -0
- package/src/components/ProgressCircle/ProgressCircle.namespace.ts +8 -0
- package/src/components/ProgressCircle/ProgressCircle.tsx +31 -0
- package/src/components/ProgressCircle/index.ts +10 -0
- package/src/components/PullToRefresh/PullToRefresh.namespace.ts +10 -0
- package/src/components/PullToRefresh/PullToRefresh.tsx +28 -0
- package/src/components/PullToRefresh/index.ts +12 -0
- package/src/components/RadioGroup/RadioGroup.namespace.ts +14 -0
- package/src/components/RadioGroup/RadioGroup.tsx +138 -0
- package/src/components/RadioGroup/index.ts +16 -0
- package/src/components/RadioGroupField/RadioGroupField.namespace.ts +18 -0
- package/src/components/RadioGroupField/RadioGroupField.tsx +114 -0
- package/src/components/RadioGroupField/index.ts +2 -0
- package/src/components/ReactionButton/ReactionButton.tsx +36 -0
- package/src/components/ReactionButton/index.ts +4 -0
- package/src/components/ResponsivePair/ResponsivePair.tsx +44 -0
- package/src/components/ResponsivePair/index.ts +1 -0
- package/src/components/ScrollFog/ScrollFog.tsx +90 -0
- package/src/components/ScrollFog/index.ts +1 -0
- package/src/components/SegmentedControl/SegmentedControl.namespace.ts +10 -0
- package/src/components/SegmentedControl/SegmentedControl.tsx +39 -0
- package/src/components/SegmentedControl/index.ts +12 -0
- package/src/components/SelectBox/CheckSelectBox.namespace.ts +24 -0
- package/src/components/SelectBox/CheckSelectBox.tsx +265 -0
- package/src/components/SelectBox/RadioSelectBox.namespace.ts +20 -0
- package/src/components/SelectBox/RadioSelectBox.tsx +248 -0
- package/src/components/SelectBox/index.ts +48 -0
- package/src/components/Skeleton/Skeleton.tsx +15 -0
- package/src/components/Skeleton/index.ts +1 -0
- package/src/components/Slider/Slider.namespace.ts +28 -0
- package/src/components/Slider/Slider.tsx +154 -0
- package/src/components/Slider/index.ts +30 -0
- package/src/components/Snackbar/Snackbar.namespace.ts +22 -0
- package/src/components/Snackbar/Snackbar.tsx +110 -0
- package/src/components/Snackbar/index.ts +32 -0
- package/src/components/Snackbar/useSnackbarAdapter.ts +28 -0
- package/src/components/Stack/Stack.tsx +26 -0
- package/src/components/Stack/index.ts +8 -0
- package/src/components/Switch/Switch.namespace.ts +12 -0
- package/src/components/Switch/Switch.tsx +102 -0
- package/src/components/Switch/index.ts +14 -0
- package/src/components/Tabs/Tabs.namespace.ts +18 -0
- package/src/components/Tabs/Tabs.tsx +62 -0
- package/src/components/Tabs/index.ts +20 -0
- package/src/components/TagGroup/TagGroup.namespace.ts +8 -0
- package/src/components/TagGroup/TagGroup.tsx +90 -0
- package/src/components/TagGroup/index.ts +10 -0
- package/src/components/Text/Text.tsx +169 -0
- package/src/components/Text/index.ts +1 -0
- package/src/components/TextField/TextField.namespace.ts +16 -0
- package/src/components/TextField/TextField.test.tsx +257 -0
- package/src/components/TextField/TextField.tsx +182 -0
- package/src/components/TextField/index.ts +23 -0
- package/src/components/TextField/memoize.ts +14 -0
- package/src/components/TextField/useTextFieldWithGraphemes.test.tsx +306 -0
- package/src/components/TextField/useTextFieldWithGraphemes.ts +65 -0
- package/src/components/ToggleButton/ToggleButton.tsx +36 -0
- package/src/components/ToggleButton/index.ts +4 -0
- package/src/components/VisuallyHidden/VisuallyHidden.tsx +11 -0
- package/src/components/VisuallyHidden/index.ts +1 -0
- package/src/components/index.ts +68 -0
- package/src/components/private/Icon.tsx +16 -0
- package/src/components/private/useDismissible.tsx +86 -0
- package/src/hooks/useBreakpoint.test.tsx +94 -0
- package/src/hooks/useBreakpoint.ts +24 -0
- package/src/hooks/useBreakpointValue.test.tsx +102 -0
- package/src/hooks/useBreakpointValue.ts +33 -0
- package/src/index.ts +12 -0
- package/src/primitive.ts +12 -0
- package/src/primitives/breakpoint-store.ts +69 -0
- package/src/providers/BreakpointProvider.tsx +26 -0
- package/src/types/responsive.ts +19 -0
- package/src/utils/createRecipeContext.tsx +54 -0
- package/src/utils/createSlotRecipeContext.tsx +128 -0
- package/src/utils/createWithStateProps.tsx +33 -0
- package/src/utils/splitMultipleVariantsProps.d.ts +21 -0
- package/src/utils/splitMultipleVariantsProps.mjs +25 -0
- package/src/utils/styled.tsx +765 -0
- package/src/vars.ts +1 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { Box } from '../Box/Box.js';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import { article } from '@seed-design/css/recipes/article';
|
|
7
|
+
|
|
8
|
+
const Article = React.forwardRef(
|
|
9
|
+
({ as = "article", className, ...props }, ref) => {
|
|
10
|
+
return /* @__PURE__ */ jsx(
|
|
11
|
+
Box,
|
|
12
|
+
{
|
|
13
|
+
as,
|
|
14
|
+
ref,
|
|
15
|
+
className: clsx(article(), className),
|
|
16
|
+
...props
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
export { Article };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Article/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Article } from './Article.js';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const aspectRatio = require('@seed-design/css/recipes/aspect-ratio');
|
|
8
|
+
const clsx = require('clsx');
|
|
9
|
+
const React = require('react');
|
|
10
|
+
const Box = require('../Box/Box.cjs');
|
|
11
|
+
|
|
12
|
+
function _interopNamespaceDefault(e) {
|
|
13
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
14
|
+
if (e) {
|
|
15
|
+
for (const k in e) {
|
|
16
|
+
if (k !== 'default') {
|
|
17
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
18
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: () => e[k]
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
n.default = e;
|
|
26
|
+
return Object.freeze(n);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
30
|
+
|
|
31
|
+
const AspectRatio = React__namespace.forwardRef(
|
|
32
|
+
({ ratio = 4 / 3, children, className, style, ...rest }, ref) => {
|
|
33
|
+
const child = React__namespace.Children.only(children);
|
|
34
|
+
const aspectRatio$1 = aspectRatio.aspectRatio();
|
|
35
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
36
|
+
Box.Box,
|
|
37
|
+
{
|
|
38
|
+
ref,
|
|
39
|
+
className: clsx(aspectRatio$1, className),
|
|
40
|
+
position: "relative",
|
|
41
|
+
overflowX: "hidden",
|
|
42
|
+
overflowY: "hidden",
|
|
43
|
+
style: {
|
|
44
|
+
// NOTE: aspectRatio는 iOS 15+부터 지원하기 때문에 padding으로 ratio hack을 사용합니다.
|
|
45
|
+
"--seed-aspect-ratio-padding": `${1 / ratio * 100}%`,
|
|
46
|
+
...style
|
|
47
|
+
},
|
|
48
|
+
...rest,
|
|
49
|
+
children: child
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
AspectRatio.displayName = "AspectRatio";
|
|
55
|
+
|
|
56
|
+
exports.AspectRatio = AspectRatio;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BoxProps } from '../Box/Box';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface AspectRatioProps extends BoxProps {
|
|
4
|
+
/**
|
|
5
|
+
* The aspect ratio of the aspect ratio container (width / height).
|
|
6
|
+
* @default 4 / 3
|
|
7
|
+
*/
|
|
8
|
+
ratio?: number;
|
|
9
|
+
/**
|
|
10
|
+
* @default "relative"
|
|
11
|
+
*/
|
|
12
|
+
position?: BoxProps["position"];
|
|
13
|
+
/**
|
|
14
|
+
* @default "hidden"
|
|
15
|
+
*/
|
|
16
|
+
overflowX?: BoxProps["overflowX"];
|
|
17
|
+
/**
|
|
18
|
+
* @default "hidden"
|
|
19
|
+
*/
|
|
20
|
+
overflowY?: BoxProps["overflowY"];
|
|
21
|
+
}
|
|
22
|
+
export declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
//# sourceMappingURL=AspectRatio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AspectRatio.d.ts","sourceRoot":"","sources":["../../../src/components/AspectRatio/AspectRatio.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,gBAAiB,SAAQ,QAAQ;IAChD;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,WAAW,yFAyBvB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { aspectRatio } from '@seed-design/css/recipes/aspect-ratio';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { Box } from '../Box/Box.js';
|
|
7
|
+
|
|
8
|
+
const AspectRatio = React.forwardRef(
|
|
9
|
+
({ ratio = 4 / 3, children, className, style, ...rest }, ref) => {
|
|
10
|
+
const child = React.Children.only(children);
|
|
11
|
+
const aspectRatio$1 = aspectRatio();
|
|
12
|
+
return /* @__PURE__ */ jsx(
|
|
13
|
+
Box,
|
|
14
|
+
{
|
|
15
|
+
ref,
|
|
16
|
+
className: clsx(aspectRatio$1, className),
|
|
17
|
+
position: "relative",
|
|
18
|
+
overflowX: "hidden",
|
|
19
|
+
overflowY: "hidden",
|
|
20
|
+
style: {
|
|
21
|
+
// NOTE: aspectRatio는 iOS 15+부터 지원하기 때문에 padding으로 ratio hack을 사용합니다.
|
|
22
|
+
"--seed-aspect-ratio-padding": `${1 / ratio * 100}%`,
|
|
23
|
+
...style
|
|
24
|
+
},
|
|
25
|
+
...rest,
|
|
26
|
+
children: child
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
AspectRatio.displayName = "AspectRatio";
|
|
32
|
+
|
|
33
|
+
export { AspectRatio };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AspectRatio/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AspectRatio } from './AspectRatio.js';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const reactImage = require('@seed-design/react-image');
|
|
8
|
+
const reactPrimitive = require('@seed-design/react-primitive');
|
|
9
|
+
const avatar = require('@seed-design/css/recipes/avatar');
|
|
10
|
+
const avatarStack = require('@seed-design/css/recipes/avatar-stack');
|
|
11
|
+
const clsx = require('clsx');
|
|
12
|
+
const React = require('react');
|
|
13
|
+
const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
|
|
14
|
+
|
|
15
|
+
function _interopNamespaceDefault(e) {
|
|
16
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
17
|
+
if (e) {
|
|
18
|
+
for (const k in e) {
|
|
19
|
+
if (k !== 'default') {
|
|
20
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
21
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: () => e[k]
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
n.default = e;
|
|
29
|
+
return Object.freeze(n);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
33
|
+
|
|
34
|
+
const { PropsProvider, withProvider, withContext } = createSlotRecipeContext.createSlotRecipeContext(avatar.avatar);
|
|
35
|
+
const AvatarRoot = withProvider(reactImage.Image.Root, "root");
|
|
36
|
+
const AvatarImage = withContext(reactImage.Image.Content, "image");
|
|
37
|
+
const AvatarFallback = withContext(
|
|
38
|
+
reactImage.Image.Fallback,
|
|
39
|
+
"fallback"
|
|
40
|
+
);
|
|
41
|
+
const AvatarBadge = withContext(reactPrimitive.Primitive.div, "badge");
|
|
42
|
+
const AvatarStack = React__namespace.forwardRef(
|
|
43
|
+
({ className, children, size, ...otherProps }, ref) => {
|
|
44
|
+
const classNames = avatarStack.avatarStack({ size });
|
|
45
|
+
const avatars = React__namespace.Children.toArray(children);
|
|
46
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PropsProvider, { value: React.useMemo(() => ({ size }), [size]), children: /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: clsx(classNames.root, className), ...otherProps, children: avatars.map((avatar2, index) => (
|
|
47
|
+
// biome-ignore lint/suspicious/noArrayIndexKey: There is no unique key for each child
|
|
48
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames.item, children: avatar2 }, index)
|
|
49
|
+
)) }) });
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
exports.AvatarBadge = AvatarBadge;
|
|
54
|
+
exports.AvatarFallback = AvatarFallback;
|
|
55
|
+
exports.AvatarImage = AvatarImage;
|
|
56
|
+
exports.AvatarRoot = AvatarRoot;
|
|
57
|
+
exports.AvatarStack = AvatarStack;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Image } from '@seed-design/react-image';
|
|
2
|
+
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
3
|
+
import { AvatarVariantProps } from '@seed-design/css/recipes/avatar';
|
|
4
|
+
import { AvatarStackVariantProps } from '@seed-design/css/recipes/avatar-stack';
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
export interface AvatarRootProps extends AvatarVariantProps, Image.RootProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const AvatarRoot: React.ForwardRefExoticComponent<AvatarRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export interface AvatarImageProps extends Image.ContentProps {
|
|
10
|
+
}
|
|
11
|
+
export declare const AvatarImage: React.ForwardRefExoticComponent<AvatarImageProps & React.RefAttributes<HTMLImageElement>>;
|
|
12
|
+
export interface AvatarFallbackProps extends Image.FallbackProps {
|
|
13
|
+
}
|
|
14
|
+
export declare const AvatarFallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export interface AvatarBadgeProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
16
|
+
}
|
|
17
|
+
export declare const AvatarBadge: React.ForwardRefExoticComponent<AvatarBadgeProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export interface AvatarStackProps extends AvatarStackVariantProps, React.HTMLAttributes<HTMLDivElement> {
|
|
19
|
+
}
|
|
20
|
+
export declare const AvatarStack: React.ForwardRefExoticComponent<AvatarStackProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAU,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAe,KAAK,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAElG,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,eAAgB,SAAQ,kBAAkB,EAAE,KAAK,CAAC,SAAS;CAAG;AAE/E,eAAO,MAAM,UAAU,wFAAoE,CAAC;AAI5F,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,YAAY;CAAG;AAE/D,eAAO,MAAM,WAAW,2FAA0E,CAAC;AAInG,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,aAAa;CAAG;AAEnE,eAAO,MAAM,cAAc,4FAG1B,CAAC;AAIF,MAAM,WAAW,gBAAiB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAEjG,eAAO,MAAM,WAAW,yFAAwE,CAAC;AAIjG,MAAM,WAAW,gBACf,SAAQ,uBAAuB,EAC7B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,WAAW,yFAiBvB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Image } from '@seed-design/react-image';
|
|
4
|
+
import { Primitive } from '@seed-design/react-primitive';
|
|
5
|
+
import { avatar } from '@seed-design/css/recipes/avatar';
|
|
6
|
+
import { avatarStack } from '@seed-design/css/recipes/avatar-stack';
|
|
7
|
+
import clsx from 'clsx';
|
|
8
|
+
import * as React from 'react';
|
|
9
|
+
import { useMemo } from 'react';
|
|
10
|
+
import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
|
|
11
|
+
|
|
12
|
+
const { PropsProvider, withProvider, withContext } = createSlotRecipeContext(avatar);
|
|
13
|
+
const AvatarRoot = withProvider(Image.Root, "root");
|
|
14
|
+
const AvatarImage = withContext(Image.Content, "image");
|
|
15
|
+
const AvatarFallback = withContext(
|
|
16
|
+
Image.Fallback,
|
|
17
|
+
"fallback"
|
|
18
|
+
);
|
|
19
|
+
const AvatarBadge = withContext(Primitive.div, "badge");
|
|
20
|
+
const AvatarStack = React.forwardRef(
|
|
21
|
+
({ className, children, size, ...otherProps }, ref) => {
|
|
22
|
+
const classNames = avatarStack({ size });
|
|
23
|
+
const avatars = React.Children.toArray(children);
|
|
24
|
+
return /* @__PURE__ */ jsx(PropsProvider, { value: useMemo(() => ({ size }), [size]), children: /* @__PURE__ */ jsx("div", { ref, className: clsx(classNames.root, className), ...otherProps, children: avatars.map((avatar2, index) => (
|
|
25
|
+
// biome-ignore lint/suspicious/noArrayIndexKey: There is no unique key for each child
|
|
26
|
+
/* @__PURE__ */ jsx("div", { className: classNames.item, children: avatar2 }, index)
|
|
27
|
+
)) }) });
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
export { AvatarBadge, AvatarFallback, AvatarImage, AvatarRoot, AvatarStack };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const Avatar = require('./Avatar.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.Badge = Avatar.AvatarBadge;
|
|
10
|
+
exports.Fallback = Avatar.AvatarFallback;
|
|
11
|
+
exports.Image = Avatar.AvatarImage;
|
|
12
|
+
exports.Root = Avatar.AvatarRoot;
|
|
13
|
+
exports.Stack = Avatar.AvatarStack;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { AvatarBadge as Badge, AvatarFallback as Fallback, AvatarImage as Image, AvatarRoot as Root, AvatarStack as Stack, type AvatarBadgeProps as BadgeProps, type AvatarFallbackProps as FallbackProps, type AvatarImageProps as ImageProps, type AvatarRootProps as RootProps, type AvatarStackProps as StackProps, } from './Avatar';
|
|
2
|
+
//# sourceMappingURL=Avatar.namespace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,IAAI,KAAK,EACpB,cAAc,IAAI,QAAQ,EAC1B,WAAW,IAAI,KAAK,EACpB,UAAU,IAAI,IAAI,EAClB,WAAW,IAAI,KAAK,EACpB,KAAK,gBAAgB,IAAI,UAAU,EACnC,KAAK,mBAAmB,IAAI,aAAa,EACzC,KAAK,gBAAgB,IAAI,UAAU,EACnC,KAAK,eAAe,IAAI,SAAS,EACjC,KAAK,gBAAgB,IAAI,UAAU,GACpC,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AvatarBadge as Badge, AvatarFallback as Fallback, AvatarImage as Image, AvatarRoot as Root, AvatarStack as Stack } from './Avatar.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const Avatar = require('./Avatar.cjs');
|
|
6
|
+
const Avatar_namespace = require('./Avatar.namespace.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.AvatarBadge = Avatar.AvatarBadge;
|
|
11
|
+
exports.AvatarFallback = Avatar.AvatarFallback;
|
|
12
|
+
exports.AvatarImage = Avatar.AvatarImage;
|
|
13
|
+
exports.AvatarRoot = Avatar.AvatarRoot;
|
|
14
|
+
exports.AvatarStack = Avatar.AvatarStack;
|
|
15
|
+
exports.Avatar = Avatar_namespace;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { AvatarBadge, AvatarFallback, AvatarImage, AvatarRoot, AvatarStack, type AvatarBadgeProps, type AvatarFallbackProps, type AvatarImageProps, type AvatarRootProps, type AvatarStackProps, } from './Avatar';
|
|
2
|
+
export * as Avatar from './Avatar.namespace';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,cAAc,EACd,WAAW,EACX,UAAU,EACV,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,gBAAgB,GACtB,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const reactPrimitive = require('@seed-design/react-primitive');
|
|
8
|
+
const badge = require('@seed-design/css/recipes/badge');
|
|
9
|
+
const React = require('react');
|
|
10
|
+
const clsx = require('clsx');
|
|
11
|
+
|
|
12
|
+
const Badge = React.forwardRef(
|
|
13
|
+
({ className, children, ...props }, ref) => {
|
|
14
|
+
const [variantProps, restProps] = badge.badge.splitVariantProps(props);
|
|
15
|
+
const { root, label } = badge.badge(variantProps);
|
|
16
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactPrimitive.Primitive.span, { className: clsx(root, className), ...restProps, ref, children: /* @__PURE__ */ jsxRuntime.jsx(reactPrimitive.Primitive.span, { className: label, children }) });
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
Badge.displayName = "Badge";
|
|
20
|
+
|
|
21
|
+
exports.Badge = Badge;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
2
|
+
import { BadgeVariantProps } from '@seed-design/css/recipes/badge';
|
|
3
|
+
import type * as React from "react";
|
|
4
|
+
export interface BadgeProps extends BadgeVariantProps, PrimitiveProps, React.HTMLAttributes<HTMLSpanElement> {
|
|
5
|
+
}
|
|
6
|
+
export declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
7
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAS,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,UACf,SAAQ,iBAAiB,EACvB,cAAc,EACd,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAE5C,eAAO,MAAM,KAAK,oFAWjB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Primitive } from '@seed-design/react-primitive';
|
|
4
|
+
import { badge } from '@seed-design/css/recipes/badge';
|
|
5
|
+
import { forwardRef } from 'react';
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
|
|
8
|
+
const Badge = forwardRef(
|
|
9
|
+
({ className, children, ...props }, ref) => {
|
|
10
|
+
const [variantProps, restProps] = badge.splitVariantProps(props);
|
|
11
|
+
const { root, label } = badge(variantProps);
|
|
12
|
+
return /* @__PURE__ */ jsx(Primitive.span, { className: clsx(root, className), ...restProps, ref, children: /* @__PURE__ */ jsx(Primitive.span, { className: label, children }) });
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
Badge.displayName = "Badge";
|
|
16
|
+
|
|
17
|
+
export { Badge };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Badge } from './Badge.js';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
+
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const bottomSheet = require('@seed-design/css/recipes/bottom-sheet');
|
|
8
|
+
const domUtils = require('@seed-design/dom-utils');
|
|
9
|
+
const reactDrawer = require('@seed-design/react-drawer');
|
|
10
|
+
const reactPrimitive = require('@seed-design/react-primitive');
|
|
11
|
+
const React = require('react');
|
|
12
|
+
const createSlotRecipeContext = require('../../utils/createSlotRecipeContext.cjs');
|
|
13
|
+
const styled = require('../../utils/styled.cjs');
|
|
14
|
+
|
|
15
|
+
const { withRootProvider, withContext } = createSlotRecipeContext.createSlotRecipeContext(bottomSheet.bottomSheet);
|
|
16
|
+
const BottomSheetRoot = withRootProvider(reactDrawer.Drawer.Root, {
|
|
17
|
+
defaultProps: {
|
|
18
|
+
direction: "bottom"
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
const BottomSheetTrigger = reactDrawer.Drawer.Trigger;
|
|
22
|
+
const BottomSheetPositioner = withContext(
|
|
23
|
+
reactDrawer.Drawer.Positioner,
|
|
24
|
+
"positioner"
|
|
25
|
+
);
|
|
26
|
+
const BottomSheetBackdrop = withContext(
|
|
27
|
+
reactDrawer.Drawer.Backdrop,
|
|
28
|
+
"backdrop"
|
|
29
|
+
);
|
|
30
|
+
const BottomSheetContent = withContext(
|
|
31
|
+
reactDrawer.Drawer.Content,
|
|
32
|
+
"content"
|
|
33
|
+
);
|
|
34
|
+
const BottomSheetHeader = withContext(
|
|
35
|
+
reactDrawer.Drawer.Header,
|
|
36
|
+
"header"
|
|
37
|
+
);
|
|
38
|
+
const BottomSheetTitle = withContext(
|
|
39
|
+
React.forwardRef((props, ref) => {
|
|
40
|
+
const { isCloseButtonRendered } = reactDrawer.useDrawerContext();
|
|
41
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactDrawer.Drawer.Title, { ref, "data-show-close-button": domUtils.dataAttr(isCloseButtonRendered), ...props });
|
|
42
|
+
}),
|
|
43
|
+
"title"
|
|
44
|
+
);
|
|
45
|
+
BottomSheetTitle.displayName = "BottomSheetTitle";
|
|
46
|
+
const BottomSheetDescription = withContext(reactDrawer.Drawer.Description, "description");
|
|
47
|
+
const BottomSheetBody = withContext(
|
|
48
|
+
styled.withStyleProps(reactPrimitive.Primitive.div),
|
|
49
|
+
"body"
|
|
50
|
+
);
|
|
51
|
+
const BottomSheetFooter = withContext(
|
|
52
|
+
reactPrimitive.Primitive.div,
|
|
53
|
+
"footer"
|
|
54
|
+
);
|
|
55
|
+
const BottomSheetCloseButton = withContext(
|
|
56
|
+
reactDrawer.Drawer.CloseButton,
|
|
57
|
+
"closeButton"
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
exports.BottomSheetBackdrop = BottomSheetBackdrop;
|
|
61
|
+
exports.BottomSheetBody = BottomSheetBody;
|
|
62
|
+
exports.BottomSheetCloseButton = BottomSheetCloseButton;
|
|
63
|
+
exports.BottomSheetContent = BottomSheetContent;
|
|
64
|
+
exports.BottomSheetDescription = BottomSheetDescription;
|
|
65
|
+
exports.BottomSheetFooter = BottomSheetFooter;
|
|
66
|
+
exports.BottomSheetHeader = BottomSheetHeader;
|
|
67
|
+
exports.BottomSheetPositioner = BottomSheetPositioner;
|
|
68
|
+
exports.BottomSheetRoot = BottomSheetRoot;
|
|
69
|
+
exports.BottomSheetTitle = BottomSheetTitle;
|
|
70
|
+
exports.BottomSheetTrigger = BottomSheetTrigger;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { BottomSheetVariantProps } from '@seed-design/css/recipes/bottom-sheet';
|
|
2
|
+
import { Drawer } from '@seed-design/react-drawer';
|
|
3
|
+
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
4
|
+
import { StyleProps } from '../../utils/styled';
|
|
5
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
6
|
+
import { DialogTriggerProps } from '@radix-ui/react-dialog';
|
|
7
|
+
export interface BottomSheetRootProps extends BottomSheetVariantProps, Drawer.RootProps {
|
|
8
|
+
}
|
|
9
|
+
export declare const BottomSheetRoot: ForwardRefExoticComponent<BottomSheetRootProps>;
|
|
10
|
+
export interface BottomSheetTriggerProps extends Drawer.TriggerProps {
|
|
11
|
+
}
|
|
12
|
+
export declare const BottomSheetTrigger: ForwardRefExoticComponent< DialogTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
export interface BottomSheetPositionerProps extends Drawer.PositionerProps {
|
|
14
|
+
}
|
|
15
|
+
export declare const BottomSheetPositioner: ForwardRefExoticComponent<BottomSheetPositionerProps & RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export interface BottomSheetBackdropProps extends Drawer.BackdropProps {
|
|
17
|
+
}
|
|
18
|
+
export declare const BottomSheetBackdrop: ForwardRefExoticComponent<BottomSheetBackdropProps & RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export interface BottomSheetContentProps extends Drawer.ContentProps {
|
|
20
|
+
}
|
|
21
|
+
export declare const BottomSheetContent: ForwardRefExoticComponent<BottomSheetContentProps & RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export interface BottomSheetHeaderProps extends Drawer.HeaderProps {
|
|
23
|
+
}
|
|
24
|
+
export declare const BottomSheetHeader: ForwardRefExoticComponent<BottomSheetHeaderProps & RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export interface BottomSheetTitleProps extends Drawer.TitleProps {
|
|
26
|
+
}
|
|
27
|
+
export declare const BottomSheetTitle: ForwardRefExoticComponent<BottomSheetTitleProps & RefAttributes<HTMLHeadingElement>>;
|
|
28
|
+
export interface BottomSheetDescriptionProps extends Drawer.DescriptionProps {
|
|
29
|
+
}
|
|
30
|
+
export declare const BottomSheetDescription: ForwardRefExoticComponent<BottomSheetDescriptionProps & RefAttributes<HTMLParagraphElement>>;
|
|
31
|
+
export interface BottomSheetBodyProps extends PrimitiveProps, Pick<StyleProps, "paddingX" | "height" | "maxHeight" | "minHeight" | "justifyContent" | "alignItems">, React.HTMLAttributes<HTMLDivElement> {
|
|
32
|
+
}
|
|
33
|
+
export declare const BottomSheetBody: ForwardRefExoticComponent<BottomSheetBodyProps & RefAttributes<HTMLDivElement>>;
|
|
34
|
+
export interface BottomSheetFooterProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
|
|
35
|
+
}
|
|
36
|
+
export declare const BottomSheetFooter: ForwardRefExoticComponent<BottomSheetFooterProps & RefAttributes<HTMLDivElement>>;
|
|
37
|
+
export interface BottomSheetCloseButtonProps extends Drawer.CloseButtonProps {
|
|
38
|
+
}
|
|
39
|
+
export declare const BottomSheetCloseButton: ForwardRefExoticComponent<BottomSheetCloseButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
40
|
+
//# sourceMappingURL=BottomSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAe,KAAK,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAElG,OAAO,EAAE,MAAM,EAAoB,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAG9E,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMrE,MAAM,WAAW,oBAAqB,SAAQ,uBAAuB,EAAE,MAAM,CAAC,SAAS;CAAG;AAE1F,eAAO,MAAM,eAAe,iEAI1B,CAAC;AAIH,MAAM,WAAW,uBAAwB,SAAQ,MAAM,CAAC,YAAY;CAAG;AAEvE,eAAO,MAAM,kBAAkB,mJAAiB,CAAC;AAIjD,MAAM,WAAW,0BAA2B,SAAQ,MAAM,CAAC,eAAe;CAAG;AAE7E,eAAO,MAAM,qBAAqB,uHAGjC,CAAC;AAIF,MAAM,WAAW,wBAAyB,SAAQ,MAAM,CAAC,aAAa;CAAG;AAEzE,eAAO,MAAM,mBAAmB,qHAG/B,CAAC;AAIF,MAAM,WAAW,uBAAwB,SAAQ,MAAM,CAAC,YAAY;CAAG;AAEvE,eAAO,MAAM,kBAAkB,oHAG9B,CAAC;AAIF,MAAM,WAAW,sBAAuB,SAAQ,MAAM,CAAC,WAAW;CAAG;AAErE,eAAO,MAAM,iBAAiB,mHAG7B,CAAC;AAIF,MAAM,WAAW,qBAAsB,SAAQ,MAAM,CAAC,UAAU;CAAG;AAEnE,eAAO,MAAM,gBAAgB,sHAS5B,CAAC;AAMF,MAAM,WAAW,2BAA4B,SAAQ,MAAM,CAAC,gBAAgB;CAAG;AAE/E,eAAO,MAAM,sBAAsB,8HAGC,CAAC;AAIrC,MAAM,WAAW,oBACf,SAAQ,cAAc,EACpB,IAAI,CACF,UAAU,EACV,UAAU,GAAG,QAAQ,GAAG,WAAW,GAAG,WAAW,GAAG,gBAAgB,GAAG,YAAY,CACpF,EACD,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,eAAe,iHAG3B,CAAC;AAIF,MAAM,WAAW,sBACf,SAAQ,cAAc,EACpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE3C,eAAO,MAAM,iBAAiB,mHAG7B,CAAC;AAIF,MAAM,WAAW,2BAA4B,SAAQ,MAAM,CAAC,gBAAgB;CAAG;AAE/E,eAAO,MAAM,sBAAsB,2HAGlC,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { bottomSheet } from '@seed-design/css/recipes/bottom-sheet';
|
|
4
|
+
import { dataAttr } from '@seed-design/dom-utils';
|
|
5
|
+
import { Drawer, useDrawerContext } from '@seed-design/react-drawer';
|
|
6
|
+
import { Primitive } from '@seed-design/react-primitive';
|
|
7
|
+
import { forwardRef } from 'react';
|
|
8
|
+
import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
|
|
9
|
+
import { withStyleProps } from '../../utils/styled.js';
|
|
10
|
+
|
|
11
|
+
const { withRootProvider, withContext } = createSlotRecipeContext(bottomSheet);
|
|
12
|
+
const BottomSheetRoot = withRootProvider(Drawer.Root, {
|
|
13
|
+
defaultProps: {
|
|
14
|
+
direction: "bottom"
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
const BottomSheetTrigger = Drawer.Trigger;
|
|
18
|
+
const BottomSheetPositioner = withContext(
|
|
19
|
+
Drawer.Positioner,
|
|
20
|
+
"positioner"
|
|
21
|
+
);
|
|
22
|
+
const BottomSheetBackdrop = withContext(
|
|
23
|
+
Drawer.Backdrop,
|
|
24
|
+
"backdrop"
|
|
25
|
+
);
|
|
26
|
+
const BottomSheetContent = withContext(
|
|
27
|
+
Drawer.Content,
|
|
28
|
+
"content"
|
|
29
|
+
);
|
|
30
|
+
const BottomSheetHeader = withContext(
|
|
31
|
+
Drawer.Header,
|
|
32
|
+
"header"
|
|
33
|
+
);
|
|
34
|
+
const BottomSheetTitle = withContext(
|
|
35
|
+
forwardRef((props, ref) => {
|
|
36
|
+
const { isCloseButtonRendered } = useDrawerContext();
|
|
37
|
+
return /* @__PURE__ */ jsx(Drawer.Title, { ref, "data-show-close-button": dataAttr(isCloseButtonRendered), ...props });
|
|
38
|
+
}),
|
|
39
|
+
"title"
|
|
40
|
+
);
|
|
41
|
+
BottomSheetTitle.displayName = "BottomSheetTitle";
|
|
42
|
+
const BottomSheetDescription = withContext(Drawer.Description, "description");
|
|
43
|
+
const BottomSheetBody = withContext(
|
|
44
|
+
withStyleProps(Primitive.div),
|
|
45
|
+
"body"
|
|
46
|
+
);
|
|
47
|
+
const BottomSheetFooter = withContext(
|
|
48
|
+
Primitive.div,
|
|
49
|
+
"footer"
|
|
50
|
+
);
|
|
51
|
+
const BottomSheetCloseButton = withContext(
|
|
52
|
+
Drawer.CloseButton,
|
|
53
|
+
"closeButton"
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
export { BottomSheetBackdrop, BottomSheetBody, BottomSheetCloseButton, BottomSheetContent, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetPositioner, BottomSheetRoot, BottomSheetTitle, BottomSheetTrigger };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const BottomSheet = require('./BottomSheet.cjs');
|
|
6
|
+
const BottomSheetHandle = require('../BottomSheetHandle/BottomSheetHandle.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.Backdrop = BottomSheet.BottomSheetBackdrop;
|
|
11
|
+
exports.Body = BottomSheet.BottomSheetBody;
|
|
12
|
+
exports.CloseButton = BottomSheet.BottomSheetCloseButton;
|
|
13
|
+
exports.Content = BottomSheet.BottomSheetContent;
|
|
14
|
+
exports.Description = BottomSheet.BottomSheetDescription;
|
|
15
|
+
exports.Footer = BottomSheet.BottomSheetFooter;
|
|
16
|
+
exports.Header = BottomSheet.BottomSheetHeader;
|
|
17
|
+
exports.Positioner = BottomSheet.BottomSheetPositioner;
|
|
18
|
+
exports.Root = BottomSheet.BottomSheetRoot;
|
|
19
|
+
exports.Title = BottomSheet.BottomSheetTitle;
|
|
20
|
+
exports.Trigger = BottomSheet.BottomSheetTrigger;
|
|
21
|
+
exports.Handle = BottomSheetHandle.BottomSheetHandle;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { BottomSheetBackdrop as Backdrop, BottomSheetBody as Body, BottomSheetContent as Content, BottomSheetDescription as Description, BottomSheetFooter as Footer, BottomSheetHeader as Header, BottomSheetPositioner as Positioner, BottomSheetRoot as Root, BottomSheetTitle as Title, BottomSheetTrigger as Trigger, BottomSheetCloseButton as CloseButton, type BottomSheetBackdropProps as BackdropProps, type BottomSheetBodyProps as BodyProps, type BottomSheetContentProps as ContentProps, type BottomSheetDescriptionProps as DescriptionProps, type BottomSheetFooterProps as FooterProps, type BottomSheetHeaderProps as HeaderProps, type BottomSheetPositionerProps as PositionerProps, type BottomSheetRootProps as RootProps, type BottomSheetTitleProps as TitleProps, type BottomSheetTriggerProps as TriggerProps, type BottomSheetCloseButtonProps as CloseButtonProps, } from './BottomSheet';
|
|
2
|
+
export { BottomSheetHandle as Handle, type BottomSheetHandleProps as HandleProps, } from '../BottomSheetHandle';
|
|
3
|
+
//# sourceMappingURL=BottomSheet.namespace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomSheet.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/BottomSheet.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,IAAI,QAAQ,EAC/B,eAAe,IAAI,IAAI,EACvB,kBAAkB,IAAI,OAAO,EAC7B,sBAAsB,IAAI,WAAW,EACrC,iBAAiB,IAAI,MAAM,EAC3B,iBAAiB,IAAI,MAAM,EAC3B,qBAAqB,IAAI,UAAU,EACnC,eAAe,IAAI,IAAI,EACvB,gBAAgB,IAAI,KAAK,EACzB,kBAAkB,IAAI,OAAO,EAC7B,sBAAsB,IAAI,WAAW,EACrC,KAAK,wBAAwB,IAAI,aAAa,EAC9C,KAAK,oBAAoB,IAAI,SAAS,EACtC,KAAK,uBAAuB,IAAI,YAAY,EAC5C,KAAK,2BAA2B,IAAI,gBAAgB,EACpD,KAAK,sBAAsB,IAAI,WAAW,EAC1C,KAAK,sBAAsB,IAAI,WAAW,EAC1C,KAAK,0BAA0B,IAAI,eAAe,EAClD,KAAK,oBAAoB,IAAI,SAAS,EACtC,KAAK,qBAAqB,IAAI,UAAU,EACxC,KAAK,uBAAuB,IAAI,YAAY,EAC5C,KAAK,2BAA2B,IAAI,gBAAgB,GACrD,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,iBAAiB,IAAI,MAAM,EAC3B,KAAK,sBAAsB,IAAI,WAAW,GAC3C,MAAM,sBAAsB,CAAC"}
|