@seed-design/react 1.2.15 → 2.0.1
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/lib/components/Accordion/Accordion.cjs +42 -0
- package/lib/components/Accordion/Accordion.d.ts +35 -0
- package/lib/components/Accordion/Accordion.d.ts.map +1 -0
- package/lib/components/Accordion/Accordion.js +32 -0
- package/lib/components/Accordion/Accordion.namespace.cjs +22 -0
- package/lib/components/Accordion/Accordion.namespace.d.ts +2 -0
- package/lib/components/Accordion/Accordion.namespace.d.ts.map +1 -0
- package/lib/components/Accordion/Accordion.namespace.js +17 -0
- package/lib/components/Accordion/index.cjs +19 -0
- package/lib/components/Accordion/index.d.ts +3 -0
- package/lib/components/Accordion/index.d.ts.map +1 -0
- package/lib/components/Accordion/index.js +3 -0
- package/lib/components/ActionButton/ActionButton.cjs +1 -1
- package/lib/components/ActionButton/ActionButton.d.ts +1 -1
- package/lib/components/ActionButton/ActionButton.d.ts.map +1 -1
- package/lib/components/ActionButton/ActionButton.js +1 -1
- package/lib/components/ActionSheet/ActionSheet.cjs +12 -12
- package/lib/components/ActionSheet/ActionSheet.d.ts +22 -22
- package/lib/components/ActionSheet/ActionSheet.js +12 -12
- package/lib/components/Article/Article.d.ts +2 -3
- package/lib/components/Article/Article.d.ts.map +1 -1
- package/lib/components/AspectRatio/AspectRatio.d.ts +2 -2
- package/lib/components/AspectRatio/AspectRatio.d.ts.map +1 -1
- package/lib/components/AttachmentDisplay/AttachmentDisplay.cjs +63 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplay.d.ts +43 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplay.d.ts.map +1 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplay.js +49 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplay.namespace.cjs +37 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplay.namespace.d.ts +5 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplay.namespace.d.ts.map +1 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplay.namespace.js +32 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplayItem.cjs +110 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplayItem.d.ts +30 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplayItem.d.ts.map +1 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplayItem.js +100 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.cjs +50 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.d.ts +18 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.d.ts.map +1 -0
- package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.js +45 -0
- package/lib/components/AttachmentDisplay/index.cjs +34 -0
- package/lib/components/AttachmentDisplay/index.d.ts +6 -0
- package/lib/components/AttachmentDisplay/index.d.ts.map +1 -0
- package/lib/components/AttachmentDisplay/index.js +5 -0
- package/lib/components/AttachmentInput/AttachmentInput.cjs +37 -0
- package/lib/components/AttachmentInput/AttachmentInput.d.ts +23 -0
- package/lib/components/AttachmentInput/AttachmentInput.d.ts.map +1 -0
- package/lib/components/AttachmentInput/AttachmentInput.js +30 -0
- package/lib/components/AttachmentInput/AttachmentInput.namespace.cjs +35 -0
- package/lib/components/AttachmentInput/AttachmentInput.namespace.d.ts +6 -0
- package/lib/components/AttachmentInput/AttachmentInput.namespace.d.ts.map +1 -0
- package/lib/components/AttachmentInput/AttachmentInput.namespace.js +30 -0
- package/lib/components/AttachmentInput/AttachmentInput.test.d.ts +2 -0
- package/lib/components/AttachmentInput/AttachmentInput.test.d.ts.map +1 -0
- package/lib/components/AttachmentInput/AttachmentInputDropzone.cjs +12 -0
- package/lib/components/AttachmentInput/AttachmentInputDropzone.d.ts +9 -0
- package/lib/components/AttachmentInput/AttachmentInputDropzone.d.ts.map +1 -0
- package/lib/components/AttachmentInput/AttachmentInputDropzone.js +10 -0
- package/lib/components/AttachmentInput/AttachmentInputItem.cjs +138 -0
- package/lib/components/AttachmentInput/AttachmentInputItem.d.ts +36 -0
- package/lib/components/AttachmentInput/AttachmentInputItem.d.ts.map +1 -0
- package/lib/components/AttachmentInput/AttachmentInputItem.js +126 -0
- package/lib/components/AttachmentInput/AttachmentInputTrigger.cjs +54 -0
- package/lib/components/AttachmentInput/AttachmentInputTrigger.d.ts +21 -0
- package/lib/components/AttachmentInput/AttachmentInputTrigger.d.ts.map +1 -0
- package/lib/components/AttachmentInput/AttachmentInputTrigger.js +49 -0
- package/lib/components/AttachmentInput/index.cjs +32 -0
- package/lib/components/AttachmentInput/index.d.ts +7 -0
- package/lib/components/AttachmentInput/index.d.ts.map +1 -0
- package/lib/components/AttachmentInput/index.js +6 -0
- package/lib/components/BottomSheet/BottomSheet.cjs +36 -9
- package/lib/components/BottomSheet/BottomSheet.d.ts +2 -7
- package/lib/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/components/BottomSheet/BottomSheet.js +35 -9
- package/lib/components/Box/Box.cjs +10 -3
- package/lib/components/Box/Box.d.ts +4 -2
- package/lib/components/Box/Box.d.ts.map +1 -1
- package/lib/components/Box/Box.js +10 -3
- package/lib/components/Checkbox/Checkbox.cjs +2 -6
- package/lib/components/Checkbox/Checkbox.d.ts +1 -7
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/Checkbox/Checkbox.js +2 -6
- package/lib/components/Chip/Chip.cjs +1 -1
- package/lib/components/Chip/Chip.js +1 -1
- package/lib/components/ChipTabs/ChipTabs.cjs +0 -1
- package/lib/components/ChipTabs/ChipTabs.d.ts.map +1 -1
- package/lib/components/ChipTabs/ChipTabs.js +0 -1
- package/lib/components/Columns/Columns.d.ts +4 -4
- package/lib/components/Columns/Columns.d.ts.map +1 -1
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +13 -13
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts +24 -24
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +13 -13
- package/lib/components/FieldButton/FieldButton.cjs +22 -3
- package/lib/components/FieldButton/FieldButton.d.ts +3 -2
- package/lib/components/FieldButton/FieldButton.d.ts.map +1 -1
- package/lib/components/FieldButton/FieldButton.js +23 -3
- package/lib/components/Flex/Flex.d.ts +5 -3
- package/lib/components/Flex/Flex.d.ts.map +1 -1
- package/lib/components/Footer/Footer.namespace.cjs +11 -0
- package/lib/components/Footer/Footer.namespace.d.ts +2 -0
- package/lib/components/Footer/Footer.namespace.d.ts.map +1 -0
- package/lib/components/Footer/Footer.namespace.js +6 -0
- package/lib/components/Footer/FooterLinkText.cjs +23 -0
- package/lib/components/Footer/FooterLinkText.d.ts +7 -0
- package/lib/components/Footer/FooterLinkText.d.ts.map +1 -0
- package/lib/components/Footer/FooterLinkText.js +20 -0
- package/lib/components/Footer/index.cjs +10 -0
- package/lib/components/Footer/index.d.ts +3 -0
- package/lib/components/Footer/index.d.ts.map +1 -0
- package/lib/components/Footer/index.js +3 -0
- package/lib/components/Grid/Grid.cjs +7 -2
- package/lib/components/Grid/Grid.d.ts +7 -5
- package/lib/components/Grid/Grid.d.ts.map +1 -1
- package/lib/components/Grid/Grid.js +7 -2
- package/lib/components/GridItem/GridItem.d.ts +3 -2
- package/lib/components/GridItem/GridItem.d.ts.map +1 -1
- package/lib/components/HelpBubble/HelpBubble.cjs +4 -7
- package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -1
- package/lib/components/HelpBubble/HelpBubble.js +4 -7
- package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.cjs +64 -0
- package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.d.ts +60 -0
- package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.d.ts.map +1 -0
- package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.js +52 -0
- package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.namespace.cjs +23 -0
- package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.namespace.d.ts +2 -0
- package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.namespace.d.ts.map +1 -0
- package/lib/components/HelpBubbleTooltip/HelpBubbleTooltip.namespace.js +18 -0
- package/lib/components/HelpBubbleTooltip/index.cjs +20 -0
- package/lib/components/HelpBubbleTooltip/index.d.ts +3 -0
- package/lib/components/HelpBubbleTooltip/index.d.ts.map +1 -0
- package/lib/components/HelpBubbleTooltip/index.js +3 -0
- package/lib/components/Icon/Icon.d.ts +2 -1
- package/lib/components/Icon/Icon.d.ts.map +1 -1
- package/lib/components/ImageFrame/ImageFrame.cjs +10 -10
- package/lib/components/ImageFrame/ImageFrame.d.ts +3 -11
- package/lib/components/ImageFrame/ImageFrame.d.ts.map +1 -1
- package/lib/components/ImageFrame/ImageFrame.js +10 -10
- package/lib/components/Inline/Inline.d.ts +2 -2
- package/lib/components/Inline/Inline.d.ts.map +1 -1
- package/lib/components/Layout/Layout.cjs +12 -0
- package/lib/components/Layout/Layout.d.ts +10 -0
- package/lib/components/Layout/Layout.d.ts.map +1 -0
- package/lib/components/Layout/Layout.js +10 -0
- package/lib/components/Layout/Layout.namespace.cjs +14 -0
- package/lib/components/Layout/Layout.namespace.d.ts +2 -0
- package/lib/components/Layout/Layout.namespace.d.ts.map +1 -0
- package/lib/components/Layout/Layout.namespace.js +9 -0
- package/lib/components/Layout/index.cjs +11 -0
- package/lib/components/Layout/index.d.ts +3 -0
- package/lib/components/Layout/index.d.ts.map +1 -0
- package/lib/components/Layout/index.js +3 -0
- package/lib/components/List/List.cjs +1 -1
- package/lib/components/List/List.d.ts +1 -1
- package/lib/components/List/List.d.ts.map +1 -1
- package/lib/components/List/List.js +1 -1
- package/lib/components/Menu/Menu.cjs +76 -0
- package/lib/components/Menu/Menu.d.ts +42 -0
- package/lib/components/Menu/Menu.d.ts.map +1 -0
- package/lib/components/Menu/Menu.js +62 -0
- package/lib/components/Menu/Menu.namespace.cjs +24 -0
- package/lib/components/Menu/Menu.namespace.d.ts +2 -0
- package/lib/components/Menu/Menu.namespace.d.ts.map +1 -0
- package/lib/components/Menu/Menu.namespace.js +19 -0
- package/lib/components/Menu/index.cjs +21 -0
- package/lib/components/Menu/index.d.ts +3 -0
- package/lib/components/Menu/index.d.ts.map +1 -0
- package/lib/components/Menu/index.js +3 -0
- package/lib/components/MenuSheet/MenuSheet.cjs +48 -0
- package/lib/components/MenuSheet/MenuSheet.d.ts +96 -0
- package/lib/components/MenuSheet/MenuSheet.d.ts.map +1 -1
- package/lib/components/MenuSheet/MenuSheet.js +48 -0
- package/lib/components/NavigationMenu/NavigationMenu.cjs +76 -0
- package/lib/components/NavigationMenu/NavigationMenu.d.ts +42 -0
- package/lib/components/NavigationMenu/NavigationMenu.d.ts.map +1 -0
- package/lib/components/NavigationMenu/NavigationMenu.js +62 -0
- package/lib/components/NavigationMenu/NavigationMenu.namespace.cjs +24 -0
- package/lib/components/NavigationMenu/NavigationMenu.namespace.d.ts +2 -0
- package/lib/components/NavigationMenu/NavigationMenu.namespace.d.ts.map +1 -0
- package/lib/components/NavigationMenu/NavigationMenu.namespace.js +19 -0
- package/lib/components/NavigationMenu/index.cjs +21 -0
- package/lib/components/NavigationMenu/index.d.ts +3 -0
- package/lib/components/NavigationMenu/index.d.ts.map +1 -0
- package/lib/components/NavigationMenu/index.js +3 -0
- package/lib/components/RadioGroup/RadioGroup.cjs +1 -1
- package/lib/components/RadioGroup/RadioGroup.js +1 -1
- package/lib/components/ResponsivePair/ResponsivePair.cjs +8 -5
- package/lib/components/ResponsivePair/ResponsivePair.d.ts +3 -2
- package/lib/components/ResponsivePair/ResponsivePair.d.ts.map +1 -1
- package/lib/components/ResponsivePair/ResponsivePair.js +8 -5
- package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.cjs +184 -0
- package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.d.ts +65 -0
- package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.d.ts.map +1 -0
- package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.js +170 -0
- package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.namespace.cjs +24 -0
- package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.namespace.d.ts +2 -0
- package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.namespace.d.ts.map +1 -0
- package/lib/components/ResponsiveSidePanel/ResponsiveSidePanel.namespace.js +19 -0
- package/lib/components/ResponsiveSidePanel/index.cjs +22 -0
- package/lib/components/ResponsiveSidePanel/index.d.ts +3 -0
- package/lib/components/ResponsiveSidePanel/index.d.ts.map +1 -0
- package/lib/components/ResponsiveSidePanel/index.js +3 -0
- package/lib/components/ScrollFog/ScrollFog.cjs +1 -2
- package/lib/components/ScrollFog/ScrollFog.d.ts.map +1 -1
- package/lib/components/ScrollFog/ScrollFog.js +4 -5
- package/lib/components/SelectBox/CheckSelectBox.cjs +2 -2
- package/lib/components/SelectBox/CheckSelectBox.d.ts +1 -1
- package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -1
- package/lib/components/SelectBox/CheckSelectBox.js +1 -1
- package/lib/components/SideNavigation/SideNavigation.cjs +175 -0
- package/lib/components/SideNavigation/SideNavigation.d.ts +59 -0
- package/lib/components/SideNavigation/SideNavigation.d.ts.map +1 -0
- package/lib/components/SideNavigation/SideNavigation.js +157 -0
- package/lib/components/SideNavigation/SideNavigation.namespace.cjs +28 -0
- package/lib/components/SideNavigation/SideNavigation.namespace.d.ts +3 -0
- package/lib/components/SideNavigation/SideNavigation.namespace.d.ts.map +1 -0
- package/lib/components/SideNavigation/SideNavigation.namespace.js +23 -0
- package/lib/components/SideNavigation/index.cjs +25 -0
- package/lib/components/SideNavigation/index.d.ts +4 -0
- package/lib/components/SideNavigation/index.d.ts.map +1 -0
- package/lib/components/SideNavigation/index.js +3 -0
- package/lib/components/SidePanel/SidePanel.cjs +100 -0
- package/lib/components/SidePanel/SidePanel.d.ts +41 -0
- package/lib/components/SidePanel/SidePanel.d.ts.map +1 -0
- package/lib/components/SidePanel/SidePanel.js +87 -0
- package/lib/components/SidePanel/SidePanel.namespace.cjs +23 -0
- package/lib/components/SidePanel/SidePanel.namespace.d.ts +2 -0
- package/lib/components/SidePanel/SidePanel.namespace.d.ts.map +1 -0
- package/lib/components/SidePanel/SidePanel.namespace.js +18 -0
- package/lib/components/SidePanel/index.cjs +20 -0
- package/lib/components/SidePanel/index.d.ts +3 -0
- package/lib/components/SidePanel/index.d.ts.map +1 -0
- package/lib/components/SidePanel/index.js +3 -0
- package/lib/components/Slider/Slider.cjs +2 -2
- package/lib/components/Slider/Slider.js +2 -2
- package/lib/components/Snackbar/Snackbar.cjs +2 -2
- package/lib/components/Snackbar/Snackbar.d.ts +1 -1
- package/lib/components/Snackbar/Snackbar.d.ts.map +1 -1
- package/lib/components/Snackbar/Snackbar.js +2 -2
- package/lib/components/Stack/Stack.d.ts +4 -6
- package/lib/components/Stack/Stack.d.ts.map +1 -1
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.cjs +123 -0
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.d.ts +60 -0
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.d.ts.map +1 -0
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.js +104 -0
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.cjs +29 -0
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.d.ts +2 -0
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.d.ts.map +1 -0
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.js +24 -0
- package/lib/components/SwipeableMenuSheet/index.cjs +26 -0
- package/lib/components/SwipeableMenuSheet/index.d.ts +3 -0
- package/lib/components/SwipeableMenuSheet/index.d.ts.map +1 -0
- package/lib/components/SwipeableMenuSheet/index.js +3 -0
- package/lib/components/Switch/Switch.cjs +1 -5
- package/lib/components/Switch/Switch.d.ts +1 -7
- package/lib/components/Switch/Switch.d.ts.map +1 -1
- package/lib/components/Switch/Switch.js +1 -5
- package/lib/components/TagGroup/TagGroup.cjs +1 -1
- package/lib/components/TagGroup/TagGroup.js +1 -1
- package/lib/components/TextField/TextField.cjs +1 -1
- package/lib/components/TextField/TextField.js +1 -1
- package/lib/components/index.cjs +249 -0
- package/lib/components/index.d.ts +12 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +30 -1
- package/lib/components/private/useDismissible.d.ts +6 -6
- package/lib/hooks/useBreakpoint.cjs +15 -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 +23 -0
- package/lib/hooks/useBreakpointValue.d.ts +8 -0
- package/lib/hooks/useBreakpointValue.d.ts.map +1 -0
- package/lib/hooks/useBreakpointValue.js +22 -0
- package/lib/hooks/useBreakpointValue.test.d.ts +2 -0
- package/lib/hooks/useBreakpointValue.test.d.ts.map +1 -0
- package/lib/index.cjs +255 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +33 -1
- package/lib/primitive.cjs +45 -0
- package/lib/primitive.d.ts +5 -0
- package/lib/primitive.d.ts.map +1 -1
- package/lib/primitive.js +5 -0
- package/lib/primitives/breakpoint-store.cjs +52 -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 +50 -0
- package/lib/providers/BreakpointProvider.cjs +20 -0
- package/lib/providers/BreakpointProvider.d.ts +8 -0
- package/lib/providers/BreakpointProvider.d.ts.map +1 -0
- package/lib/providers/BreakpointProvider.js +19 -0
- package/lib/types/responsive.cjs +7 -0
- package/lib/types/responsive.d.ts +12 -0
- package/lib/types/responsive.d.ts.map +1 -0
- package/lib/types/responsive.js +7 -0
- package/lib/utils/createRenderTrackingContext.cjs +45 -0
- package/lib/utils/createRenderTrackingContext.d.ts +28 -0
- package/lib/utils/createRenderTrackingContext.d.ts.map +1 -0
- package/lib/utils/createRenderTrackingContext.js +44 -0
- package/lib/utils/getHelpBubbleArrowTipPath.cjs +14 -0
- package/lib/utils/getHelpBubbleArrowTipPath.d.ts +7 -0
- package/lib/utils/getHelpBubbleArrowTipPath.d.ts.map +1 -0
- package/lib/utils/getHelpBubbleArrowTipPath.js +14 -0
- package/lib/utils/styled.cjs +49 -75
- package/lib/utils/styled.d.ts +180 -62
- package/lib/utils/styled.d.ts.map +1 -1
- package/lib/utils/styled.js +49 -76
- package/package.json +33 -26
- package/src/components/Accordion/Accordion.namespace.ts +22 -0
- package/src/components/Accordion/Accordion.tsx +119 -0
- package/src/components/Accordion/index.ts +24 -0
- package/src/components/ActionButton/ActionButton.tsx +1 -1
- package/src/components/ActionSheet/ActionSheet.tsx +22 -22
- package/src/components/Article/Article.tsx +1 -1
- package/src/components/AspectRatio/AspectRatio.tsx +2 -2
- package/src/components/AttachmentDisplay/AttachmentDisplay.namespace.ts +57 -0
- package/src/components/AttachmentDisplay/AttachmentDisplay.tsx +165 -0
- package/src/components/AttachmentDisplay/AttachmentDisplayItem.tsx +204 -0
- package/src/components/AttachmentDisplay/AttachmentDisplayTrigger.tsx +82 -0
- package/src/components/AttachmentDisplay/index.ts +59 -0
- package/src/components/AttachmentInput/AttachmentInput.namespace.ts +54 -0
- package/src/components/AttachmentInput/AttachmentInput.test.tsx +161 -0
- package/src/components/AttachmentInput/AttachmentInput.tsx +77 -0
- package/src/components/AttachmentInput/AttachmentInputDropzone.tsx +25 -0
- package/src/components/AttachmentInput/AttachmentInputItem.tsx +246 -0
- package/src/components/AttachmentInput/AttachmentInputTrigger.tsx +85 -0
- package/src/components/AttachmentInput/index.ts +56 -0
- package/src/components/BottomSheet/BottomSheet.tsx +51 -22
- package/src/components/Box/Box.tsx +30 -7
- package/src/components/Checkbox/Checkbox.tsx +3 -31
- package/src/components/ChipTabs/ChipTabs.tsx +0 -6
- package/src/components/Columns/Columns.tsx +4 -3
- package/src/components/ExtendedActionSheet/ExtendedActionSheet.tsx +24 -24
- package/src/components/FieldButton/FieldButton.tsx +36 -8
- package/src/components/Flex/Flex.tsx +5 -3
- package/src/components/Footer/Footer.namespace.ts +4 -0
- package/src/components/Footer/FooterLinkText.tsx +23 -0
- package/src/components/Footer/index.ts +3 -0
- package/src/components/Grid/Grid.tsx +15 -8
- package/src/components/GridItem/GridItem.tsx +3 -2
- package/src/components/HelpBubble/HelpBubble.tsx +2 -5
- package/src/components/HelpBubbleTooltip/HelpBubbleTooltip.namespace.ts +24 -0
- package/src/components/HelpBubbleTooltip/HelpBubbleTooltip.tsx +169 -0
- package/src/components/HelpBubbleTooltip/index.ts +26 -0
- package/src/components/Icon/Icon.tsx +2 -1
- package/src/components/ImageFrame/ImageFrame.test.tsx +1 -3
- package/src/components/ImageFrame/ImageFrame.tsx +29 -35
- package/src/components/Inline/Inline.tsx +2 -1
- package/src/components/Layout/Layout.namespace.ts +6 -0
- package/src/components/Layout/Layout.tsx +21 -0
- package/src/components/Layout/index.ts +8 -0
- package/src/components/List/List.tsx +5 -1
- package/src/components/Menu/Menu.namespace.ts +26 -0
- package/src/components/Menu/Menu.tsx +157 -0
- package/src/components/Menu/index.ts +28 -0
- package/src/components/MenuSheet/MenuSheet.tsx +96 -0
- package/src/components/NavigationMenu/NavigationMenu.namespace.ts +26 -0
- package/src/components/NavigationMenu/NavigationMenu.tsx +172 -0
- package/src/components/NavigationMenu/index.ts +28 -0
- package/src/components/ResponsivePair/ResponsivePair.tsx +13 -7
- package/src/components/ResponsiveSidePanel/ResponsiveSidePanel.namespace.ts +26 -0
- package/src/components/ResponsiveSidePanel/ResponsiveSidePanel.tsx +316 -0
- package/src/components/ResponsiveSidePanel/index.ts +29 -0
- package/src/components/ScrollFog/ScrollFog.tsx +2 -11
- package/src/components/SelectBox/CheckSelectBox.tsx +1 -1
- package/src/components/SideNavigation/SideNavigation.namespace.ts +37 -0
- package/src/components/SideNavigation/SideNavigation.tsx +342 -0
- package/src/components/SideNavigation/index.ts +39 -0
- package/src/components/SidePanel/SidePanel.namespace.ts +24 -0
- package/src/components/SidePanel/SidePanel.tsx +216 -0
- package/src/components/SidePanel/index.ts +26 -0
- package/src/components/Snackbar/Snackbar.tsx +2 -4
- package/src/components/Stack/Stack.tsx +4 -3
- package/src/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.ts +36 -0
- package/src/components/SwipeableMenuSheet/SwipeableMenuSheet.tsx +269 -0
- package/src/components/SwipeableMenuSheet/index.ts +38 -0
- package/src/components/Switch/Switch.tsx +3 -26
- package/src/components/index.ts +12 -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 +8 -0
- package/src/primitive.ts +5 -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/createRenderTrackingContext.tsx +50 -0
- package/src/utils/getHelpBubbleArrowTipPath.ts +11 -0
- package/src/utils/styled.tsx +387 -268
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
3
|
+
import { Primitive } from "@seed-design/react-primitive";
|
|
4
|
+
import clsx$1 from "clsx";
|
|
5
|
+
import * as React$1 from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { Drawer } from "@seed-design/react-drawer";
|
|
8
|
+
import { bottomSheetHandle } from "@seed-design/css/recipes/bottom-sheet-handle";
|
|
9
|
+
import { menuSheet } from "@seed-design/css/recipes/menu-sheet";
|
|
10
|
+
import { menuSheetItem } from "@seed-design/css/recipes/menu-sheet-item";
|
|
11
|
+
//#region src/components/SwipeableMenuSheet/SwipeableMenuSheet.tsx
|
|
12
|
+
var { withContext, useClassNames, ClassNamesProvider } = createSlotRecipeContext(menuSheet);
|
|
13
|
+
var { PropsProvider: ItemPropsProvider, useProps: useItemProps, withContext: withItemContext, ClassNamesProvider: ItemClassNamesProvider } = createSlotRecipeContext(menuSheetItem);
|
|
14
|
+
function SwipeableMenuSheetRoot(props) {
|
|
15
|
+
const [variantProps, otherProps] = menuSheet.splitVariantProps({
|
|
16
|
+
lazyMount: true,
|
|
17
|
+
unmountOnExit: true,
|
|
18
|
+
...props
|
|
19
|
+
});
|
|
20
|
+
return /* @__PURE__ */ jsx(ClassNamesProvider, {
|
|
21
|
+
value: menuSheet(variantProps),
|
|
22
|
+
children: /* @__PURE__ */ jsx(Drawer.Root, {
|
|
23
|
+
...otherProps,
|
|
24
|
+
direction: "bottom"
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
var SwipeableMenuSheetTrigger = Drawer.Trigger;
|
|
29
|
+
var SwipeableMenuSheetPositioner = withContext(Drawer.Positioner, "positioner");
|
|
30
|
+
var SwipeableMenuSheetBackdrop = withContext(Drawer.Backdrop, "backdrop");
|
|
31
|
+
var SwipeableMenuSheetContent = React$1.forwardRef(({ className, ...props }, ref) => {
|
|
32
|
+
const [variantProps, otherProps] = menuSheetItem.splitVariantProps(props);
|
|
33
|
+
const classNames = useClassNames();
|
|
34
|
+
return /* @__PURE__ */ jsx(ItemPropsProvider, {
|
|
35
|
+
value: variantProps,
|
|
36
|
+
children: /* @__PURE__ */ jsx(Drawer.Content, {
|
|
37
|
+
ref,
|
|
38
|
+
className: clsx$1(classNames.content, className),
|
|
39
|
+
...otherProps
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
SwipeableMenuSheetContent.displayName = "SwipeableMenuSheetContent";
|
|
44
|
+
var SwipeableMenuSheetHandle = React$1.forwardRef(({ className, ...props }, ref) => {
|
|
45
|
+
const classNames = bottomSheetHandle();
|
|
46
|
+
return /* @__PURE__ */ jsx(Drawer.Handle, {
|
|
47
|
+
ref,
|
|
48
|
+
className: clsx$1(classNames.root, className),
|
|
49
|
+
...props,
|
|
50
|
+
children: /* @__PURE__ */ jsx(Primitive.div, {
|
|
51
|
+
"aria-hidden": "true",
|
|
52
|
+
className: classNames.touchArea
|
|
53
|
+
})
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
SwipeableMenuSheetHandle.displayName = "SwipeableMenuSheetHandle";
|
|
57
|
+
var SwipeableMenuSheetHeader = withContext(Drawer.Header, "header");
|
|
58
|
+
var SwipeableMenuSheetTitle = withContext(Drawer.Title, "title");
|
|
59
|
+
SwipeableMenuSheetTitle.displayName = "SwipeableMenuSheetTitle";
|
|
60
|
+
var SwipeableMenuSheetDescription = withContext(Drawer.Description, "description");
|
|
61
|
+
var SwipeableMenuSheetList = withContext(Primitive.div, "list");
|
|
62
|
+
var SwipeableMenuSheetGroup = React$1.forwardRef(({ className, ...props }, ref) => {
|
|
63
|
+
const [variantProps, otherProps] = menuSheetItem.splitVariantProps(props);
|
|
64
|
+
const parentProps = useItemProps();
|
|
65
|
+
const classNames = useClassNames();
|
|
66
|
+
return /* @__PURE__ */ jsx(ItemPropsProvider, {
|
|
67
|
+
value: {
|
|
68
|
+
...parentProps,
|
|
69
|
+
...variantProps
|
|
70
|
+
},
|
|
71
|
+
children: /* @__PURE__ */ jsx(Primitive.div, {
|
|
72
|
+
className: clsx$1(classNames.group, className),
|
|
73
|
+
ref,
|
|
74
|
+
...otherProps
|
|
75
|
+
})
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
SwipeableMenuSheetGroup.displayName = "SwipeableMenuSheetGroup";
|
|
79
|
+
var SwipeableMenuSheetItem = React$1.forwardRef(({ className: propClassName, ...props }, ref) => {
|
|
80
|
+
const [variantProps, otherProps] = menuSheetItem.splitVariantProps(props);
|
|
81
|
+
const classNames = menuSheetItem({
|
|
82
|
+
...useItemProps(),
|
|
83
|
+
...variantProps
|
|
84
|
+
});
|
|
85
|
+
return /* @__PURE__ */ jsx(ItemClassNamesProvider, {
|
|
86
|
+
value: classNames,
|
|
87
|
+
children: /* @__PURE__ */ jsx(Primitive.button, {
|
|
88
|
+
ref,
|
|
89
|
+
className: clsx$1(classNames.root, propClassName),
|
|
90
|
+
...otherProps
|
|
91
|
+
})
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
SwipeableMenuSheetItem.displayName = "SwipeableMenuSheetItem";
|
|
95
|
+
var SwipeableMenuSheetItemContent = withItemContext(Primitive.div, "content");
|
|
96
|
+
var SwipeableMenuSheetItemLabel = withItemContext(Primitive.span, "label");
|
|
97
|
+
var SwipeableMenuSheetItemDescription = withItemContext(Primitive.span, "description");
|
|
98
|
+
var SwipeableMenuSheetFooter = withContext(Primitive.div, "footer");
|
|
99
|
+
/**
|
|
100
|
+
* Visible button that closes the swipeable menu sheet.
|
|
101
|
+
*/
|
|
102
|
+
var SwipeableMenuSheetCloseButton = withContext(Drawer.CloseButton, "closeButton");
|
|
103
|
+
//#endregion
|
|
104
|
+
export { SwipeableMenuSheetBackdrop, SwipeableMenuSheetCloseButton, SwipeableMenuSheetContent, SwipeableMenuSheetDescription, SwipeableMenuSheetFooter, SwipeableMenuSheetGroup, SwipeableMenuSheetHandle, SwipeableMenuSheetHeader, SwipeableMenuSheetItem, SwipeableMenuSheetItemContent, SwipeableMenuSheetItemDescription, SwipeableMenuSheetItemLabel, SwipeableMenuSheetList, SwipeableMenuSheetPositioner, SwipeableMenuSheetRoot, SwipeableMenuSheetTitle, SwipeableMenuSheetTrigger };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_SwipeableMenuSheet = require("./SwipeableMenuSheet.cjs");
|
|
3
|
+
//#region src/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.ts
|
|
4
|
+
var SwipeableMenuSheet_namespace_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
5
|
+
Backdrop: () => require_SwipeableMenuSheet.SwipeableMenuSheetBackdrop,
|
|
6
|
+
CloseButton: () => require_SwipeableMenuSheet.SwipeableMenuSheetCloseButton,
|
|
7
|
+
Content: () => require_SwipeableMenuSheet.SwipeableMenuSheetContent,
|
|
8
|
+
Description: () => require_SwipeableMenuSheet.SwipeableMenuSheetDescription,
|
|
9
|
+
Footer: () => require_SwipeableMenuSheet.SwipeableMenuSheetFooter,
|
|
10
|
+
Group: () => require_SwipeableMenuSheet.SwipeableMenuSheetGroup,
|
|
11
|
+
Handle: () => require_SwipeableMenuSheet.SwipeableMenuSheetHandle,
|
|
12
|
+
Header: () => require_SwipeableMenuSheet.SwipeableMenuSheetHeader,
|
|
13
|
+
Item: () => require_SwipeableMenuSheet.SwipeableMenuSheetItem,
|
|
14
|
+
ItemContent: () => require_SwipeableMenuSheet.SwipeableMenuSheetItemContent,
|
|
15
|
+
ItemDescription: () => require_SwipeableMenuSheet.SwipeableMenuSheetItemDescription,
|
|
16
|
+
ItemLabel: () => require_SwipeableMenuSheet.SwipeableMenuSheetItemLabel,
|
|
17
|
+
List: () => require_SwipeableMenuSheet.SwipeableMenuSheetList,
|
|
18
|
+
Positioner: () => require_SwipeableMenuSheet.SwipeableMenuSheetPositioner,
|
|
19
|
+
Root: () => require_SwipeableMenuSheet.SwipeableMenuSheetRoot,
|
|
20
|
+
Title: () => require_SwipeableMenuSheet.SwipeableMenuSheetTitle,
|
|
21
|
+
Trigger: () => require_SwipeableMenuSheet.SwipeableMenuSheetTrigger
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
Object.defineProperty(exports, "SwipeableMenuSheet_namespace_exports", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function() {
|
|
27
|
+
return SwipeableMenuSheet_namespace_exports;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { SwipeableMenuSheetBackdrop as Backdrop, SwipeableMenuSheetPositioner as Positioner, SwipeableMenuSheetContent as Content, SwipeableMenuSheetHandle as Handle, SwipeableMenuSheetCloseButton as CloseButton, SwipeableMenuSheetHeader as Header, SwipeableMenuSheetRoot as Root, SwipeableMenuSheetTitle as Title, SwipeableMenuSheetDescription as Description, SwipeableMenuSheetTrigger as Trigger, SwipeableMenuSheetList as List, SwipeableMenuSheetGroup as Group, SwipeableMenuSheetFooter as Footer, SwipeableMenuSheetItem as Item, SwipeableMenuSheetItemContent as ItemContent, SwipeableMenuSheetItemLabel as ItemLabel, SwipeableMenuSheetItemDescription as ItemDescription, type SwipeableMenuSheetBackdropProps as BackdropProps, type SwipeableMenuSheetPositionerProps as PositionerProps, type SwipeableMenuSheetContentProps as ContentProps, type SwipeableMenuSheetHandleProps as HandleProps, type SwipeableMenuSheetCloseButtonProps as CloseButtonProps, type SwipeableMenuSheetHeaderProps as HeaderProps, type SwipeableMenuSheetRootProps as RootProps, type SwipeableMenuSheetTitleProps as TitleProps, type SwipeableMenuSheetDescriptionProps as DescriptionProps, type SwipeableMenuSheetTriggerProps as TriggerProps, type SwipeableMenuSheetListProps as ListProps, type SwipeableMenuSheetGroupProps as GroupProps, type SwipeableMenuSheetFooterProps as FooterProps, type SwipeableMenuSheetItemProps as ItemProps, type SwipeableMenuSheetItemContentProps as ItemContentProps, type SwipeableMenuSheetItemLabelProps as ItemLabelProps, type SwipeableMenuSheetItemDescriptionProps as ItemDescriptionProps, } from './SwipeableMenuSheet';
|
|
2
|
+
//# sourceMappingURL=SwipeableMenuSheet.namespace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeableMenuSheet.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,IAAI,QAAQ,EACtC,4BAA4B,IAAI,UAAU,EAC1C,yBAAyB,IAAI,OAAO,EACpC,wBAAwB,IAAI,MAAM,EAClC,6BAA6B,IAAI,WAAW,EAC5C,wBAAwB,IAAI,MAAM,EAClC,sBAAsB,IAAI,IAAI,EAC9B,uBAAuB,IAAI,KAAK,EAChC,6BAA6B,IAAI,WAAW,EAC5C,yBAAyB,IAAI,OAAO,EACpC,sBAAsB,IAAI,IAAI,EAC9B,uBAAuB,IAAI,KAAK,EAChC,wBAAwB,IAAI,MAAM,EAClC,sBAAsB,IAAI,IAAI,EAC9B,6BAA6B,IAAI,WAAW,EAC5C,2BAA2B,IAAI,SAAS,EACxC,iCAAiC,IAAI,eAAe,EACpD,KAAK,+BAA+B,IAAI,aAAa,EACrD,KAAK,iCAAiC,IAAI,eAAe,EACzD,KAAK,8BAA8B,IAAI,YAAY,EACnD,KAAK,6BAA6B,IAAI,WAAW,EACjD,KAAK,kCAAkC,IAAI,gBAAgB,EAC3D,KAAK,6BAA6B,IAAI,WAAW,EACjD,KAAK,2BAA2B,IAAI,SAAS,EAC7C,KAAK,4BAA4B,IAAI,UAAU,EAC/C,KAAK,kCAAkC,IAAI,gBAAgB,EAC3D,KAAK,8BAA8B,IAAI,YAAY,EACnD,KAAK,2BAA2B,IAAI,SAAS,EAC7C,KAAK,4BAA4B,IAAI,UAAU,EAC/C,KAAK,6BAA6B,IAAI,WAAW,EACjD,KAAK,2BAA2B,IAAI,SAAS,EAC7C,KAAK,kCAAkC,IAAI,gBAAgB,EAC3D,KAAK,gCAAgC,IAAI,cAAc,EACvD,KAAK,sCAAsC,IAAI,oBAAoB,GACpE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { SwipeableMenuSheetBackdrop, SwipeableMenuSheetCloseButton, SwipeableMenuSheetContent, SwipeableMenuSheetDescription, SwipeableMenuSheetFooter, SwipeableMenuSheetGroup, SwipeableMenuSheetHandle, SwipeableMenuSheetHeader, SwipeableMenuSheetItem, SwipeableMenuSheetItemContent, SwipeableMenuSheetItemDescription, SwipeableMenuSheetItemLabel, SwipeableMenuSheetList, SwipeableMenuSheetPositioner, SwipeableMenuSheetRoot, SwipeableMenuSheetTitle, SwipeableMenuSheetTrigger } from "./SwipeableMenuSheet.js";
|
|
3
|
+
//#region src/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.ts
|
|
4
|
+
var SwipeableMenuSheet_namespace_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
+
Backdrop: () => SwipeableMenuSheetBackdrop,
|
|
6
|
+
CloseButton: () => SwipeableMenuSheetCloseButton,
|
|
7
|
+
Content: () => SwipeableMenuSheetContent,
|
|
8
|
+
Description: () => SwipeableMenuSheetDescription,
|
|
9
|
+
Footer: () => SwipeableMenuSheetFooter,
|
|
10
|
+
Group: () => SwipeableMenuSheetGroup,
|
|
11
|
+
Handle: () => SwipeableMenuSheetHandle,
|
|
12
|
+
Header: () => SwipeableMenuSheetHeader,
|
|
13
|
+
Item: () => SwipeableMenuSheetItem,
|
|
14
|
+
ItemContent: () => SwipeableMenuSheetItemContent,
|
|
15
|
+
ItemDescription: () => SwipeableMenuSheetItemDescription,
|
|
16
|
+
ItemLabel: () => SwipeableMenuSheetItemLabel,
|
|
17
|
+
List: () => SwipeableMenuSheetList,
|
|
18
|
+
Positioner: () => SwipeableMenuSheetPositioner,
|
|
19
|
+
Root: () => SwipeableMenuSheetRoot,
|
|
20
|
+
Title: () => SwipeableMenuSheetTitle,
|
|
21
|
+
Trigger: () => SwipeableMenuSheetTrigger
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { SwipeableMenuSheet_namespace_exports };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_SwipeableMenuSheet = require("./SwipeableMenuSheet.cjs");
|
|
3
|
+
const require_SwipeableMenuSheet_namespace = require("./SwipeableMenuSheet.namespace.cjs");
|
|
4
|
+
Object.defineProperty(exports, "SwipeableMenuSheet", {
|
|
5
|
+
enumerable: true,
|
|
6
|
+
get: function() {
|
|
7
|
+
return require_SwipeableMenuSheet_namespace.SwipeableMenuSheet_namespace_exports;
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
exports.SwipeableMenuSheetBackdrop = require_SwipeableMenuSheet.SwipeableMenuSheetBackdrop;
|
|
11
|
+
exports.SwipeableMenuSheetCloseButton = require_SwipeableMenuSheet.SwipeableMenuSheetCloseButton;
|
|
12
|
+
exports.SwipeableMenuSheetContent = require_SwipeableMenuSheet.SwipeableMenuSheetContent;
|
|
13
|
+
exports.SwipeableMenuSheetDescription = require_SwipeableMenuSheet.SwipeableMenuSheetDescription;
|
|
14
|
+
exports.SwipeableMenuSheetFooter = require_SwipeableMenuSheet.SwipeableMenuSheetFooter;
|
|
15
|
+
exports.SwipeableMenuSheetGroup = require_SwipeableMenuSheet.SwipeableMenuSheetGroup;
|
|
16
|
+
exports.SwipeableMenuSheetHandle = require_SwipeableMenuSheet.SwipeableMenuSheetHandle;
|
|
17
|
+
exports.SwipeableMenuSheetHeader = require_SwipeableMenuSheet.SwipeableMenuSheetHeader;
|
|
18
|
+
exports.SwipeableMenuSheetItem = require_SwipeableMenuSheet.SwipeableMenuSheetItem;
|
|
19
|
+
exports.SwipeableMenuSheetItemContent = require_SwipeableMenuSheet.SwipeableMenuSheetItemContent;
|
|
20
|
+
exports.SwipeableMenuSheetItemDescription = require_SwipeableMenuSheet.SwipeableMenuSheetItemDescription;
|
|
21
|
+
exports.SwipeableMenuSheetItemLabel = require_SwipeableMenuSheet.SwipeableMenuSheetItemLabel;
|
|
22
|
+
exports.SwipeableMenuSheetList = require_SwipeableMenuSheet.SwipeableMenuSheetList;
|
|
23
|
+
exports.SwipeableMenuSheetPositioner = require_SwipeableMenuSheet.SwipeableMenuSheetPositioner;
|
|
24
|
+
exports.SwipeableMenuSheetRoot = require_SwipeableMenuSheet.SwipeableMenuSheetRoot;
|
|
25
|
+
exports.SwipeableMenuSheetTitle = require_SwipeableMenuSheet.SwipeableMenuSheetTitle;
|
|
26
|
+
exports.SwipeableMenuSheetTrigger = require_SwipeableMenuSheet.SwipeableMenuSheetTrigger;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { SwipeableMenuSheetBackdrop, SwipeableMenuSheetPositioner, SwipeableMenuSheetContent, SwipeableMenuSheetHandle, SwipeableMenuSheetCloseButton, SwipeableMenuSheetHeader, SwipeableMenuSheetRoot, SwipeableMenuSheetTitle, SwipeableMenuSheetDescription, SwipeableMenuSheetTrigger, SwipeableMenuSheetList, SwipeableMenuSheetGroup, SwipeableMenuSheetFooter, SwipeableMenuSheetItem, SwipeableMenuSheetItemContent, SwipeableMenuSheetItemLabel, SwipeableMenuSheetItemDescription, type SwipeableMenuSheetBackdropProps, type SwipeableMenuSheetPositionerProps, type SwipeableMenuSheetContentProps, type SwipeableMenuSheetHandleProps, type SwipeableMenuSheetCloseButtonProps, type SwipeableMenuSheetHeaderProps, type SwipeableMenuSheetRootProps, type SwipeableMenuSheetTitleProps, type SwipeableMenuSheetDescriptionProps, type SwipeableMenuSheetTriggerProps, type SwipeableMenuSheetListProps, type SwipeableMenuSheetGroupProps, type SwipeableMenuSheetFooterProps, type SwipeableMenuSheetItemProps, type SwipeableMenuSheetItemContentProps, type SwipeableMenuSheetItemLabelProps, type SwipeableMenuSheetItemDescriptionProps, } from './SwipeableMenuSheet';
|
|
2
|
+
export * as SwipeableMenuSheet from './SwipeableMenuSheet.namespace';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SwipeableMenuSheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,6BAA6B,EAC7B,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,6BAA6B,EAC7B,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,6BAA6B,EAC7B,2BAA2B,EAC3B,iCAAiC,EACjC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,EACrC,KAAK,sCAAsC,GAC5C,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,kBAAkB,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SwipeableMenuSheetBackdrop, SwipeableMenuSheetCloseButton, SwipeableMenuSheetContent, SwipeableMenuSheetDescription, SwipeableMenuSheetFooter, SwipeableMenuSheetGroup, SwipeableMenuSheetHandle, SwipeableMenuSheetHeader, SwipeableMenuSheetItem, SwipeableMenuSheetItemContent, SwipeableMenuSheetItemDescription, SwipeableMenuSheetItemLabel, SwipeableMenuSheetList, SwipeableMenuSheetPositioner, SwipeableMenuSheetRoot, SwipeableMenuSheetTitle, SwipeableMenuSheetTrigger } from "./SwipeableMenuSheet.js";
|
|
2
|
+
import { SwipeableMenuSheet_namespace_exports } from "./SwipeableMenuSheet.namespace.js";
|
|
3
|
+
export { SwipeableMenuSheet_namespace_exports as SwipeableMenuSheet, SwipeableMenuSheetBackdrop, SwipeableMenuSheetCloseButton, SwipeableMenuSheetContent, SwipeableMenuSheetDescription, SwipeableMenuSheetFooter, SwipeableMenuSheetGroup, SwipeableMenuSheetHandle, SwipeableMenuSheetHeader, SwipeableMenuSheetItem, SwipeableMenuSheetItemContent, SwipeableMenuSheetItemDescription, SwipeableMenuSheetItemLabel, SwipeableMenuSheetList, SwipeableMenuSheetPositioner, SwipeableMenuSheetRoot, SwipeableMenuSheetTitle, SwipeableMenuSheetTrigger };
|
|
@@ -17,11 +17,7 @@ var { withContext, ClassNamesProvider } = require_createSlotRecipeContext.create
|
|
|
17
17
|
var { withContext: withControlContext, PropsProvider: ControlPropsProvider, withProvider: withControlProvider } = require_createSlotRecipeContext.createSlotRecipeContext(_seed_design_css_recipes_switchmark.switchmark);
|
|
18
18
|
var withStateProps = require_createWithStateProps.createWithStateProps([_seed_design_react_switch.useSwitchContext]);
|
|
19
19
|
var SwitchRoot = react.default.forwardRef(({ className, ...props }, ref) => {
|
|
20
|
-
|
|
21
|
-
const [{ switch: switchVariantProps, switchmark: switchmarkVariantProps }, otherProps] = require_splitMultipleVariantsProps.splitMultipleVariantsProps({
|
|
22
|
-
...props,
|
|
23
|
-
size: props.size === "small" ? "16" : props.size === "medium" ? "32" : props.size
|
|
24
|
-
}, {
|
|
20
|
+
const [{ switch: switchVariantProps, switchmark: switchmarkVariantProps }, otherProps] = require_splitMultipleVariantsProps.splitMultipleVariantsProps(props, {
|
|
25
21
|
switchmark: _seed_design_css_recipes_switchmark.switchmark,
|
|
26
22
|
switch: _seed_design_css_recipes_switch.switchStyle
|
|
27
23
|
});
|
|
@@ -3,12 +3,7 @@ import { SwitchVariantProps } from '@seed-design/css/recipes/switch';
|
|
|
3
3
|
import { SwitchmarkVariantProps } from '@seed-design/css/recipes/switchmark';
|
|
4
4
|
import { PrimitiveProps } from '@seed-design/react-primitive';
|
|
5
5
|
import { default as React } from 'react';
|
|
6
|
-
|
|
7
|
-
* @deprecated Use `16` or `32` instead of `small` or `medium`.
|
|
8
|
-
*/
|
|
9
|
-
type SwitchVariantDeprecatedSizeProps = "small" | "medium";
|
|
10
|
-
export interface SwitchRootProps extends Omit<SwitchVariantProps, "size">, Omit<SwitchmarkVariantProps, "size">, SwitchPrimitive.RootProps {
|
|
11
|
-
size?: SwitchVariantProps["size"] | SwitchVariantDeprecatedSizeProps;
|
|
6
|
+
export interface SwitchRootProps extends SwitchVariantProps, Omit<SwitchmarkVariantProps, "size">, SwitchPrimitive.RootProps {
|
|
12
7
|
}
|
|
13
8
|
export declare const SwitchRoot: React.ForwardRefExoticComponent<SwitchRootProps & React.RefAttributes<HTMLLabelElement>>;
|
|
14
9
|
export interface SwitchControlProps extends SwitchmarkVariantProps, SwitchPrimitive.ControlProps {
|
|
@@ -23,5 +18,4 @@ export declare const SwitchLabel: React.ForwardRefExoticComponent<SwitchLabelPro
|
|
|
23
18
|
export interface SwitchHiddenInputProps extends SwitchPrimitive.HiddenInputProps {
|
|
24
19
|
}
|
|
25
20
|
export declare const SwitchHiddenInput: React.ForwardRefExoticComponent<SwitchPrimitive.HiddenInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
26
|
-
export {};
|
|
27
21
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,2BAA2B,CAAC;AACxF,OAAO,EAAe,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACvF,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE9F,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,2BAA2B,CAAC;AACxF,OAAO,EAAe,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACvF,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE9F,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,WAAW,eACf,SAAQ,kBAAkB,EACxB,IAAI,CAAC,sBAAsB,EAAE,MAAM,CAAC,EACpC,eAAe,CAAC,SAAS;CAAG;AAEhC,eAAO,MAAM,UAAU,0FAmBtB,CAAC;AAKF,MAAM,WAAW,kBAAmB,SAAQ,sBAAsB,EAAE,eAAe,CAAC,YAAY;CAAG;AAEnG,eAAO,MAAM,aAAa,2FAGzB,CAAC;AAIF,MAAM,WAAW,gBAAiB,SAAQ,eAAe,CAAC,UAAU;CAAG;AAEvE,eAAO,MAAM,WAAW,yFAGvB,CAAC;AAIF,MAAM,WAAW,gBAAiB,SAAQ,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAElG,eAAO,MAAM,WAAW,0FAGvB,CAAC;AAIF,MAAM,WAAW,sBAAuB,SAAQ,eAAe,CAAC,gBAAgB;CAAG;AAEnF,eAAO,MAAM,iBAAiB,2GAA8B,CAAC"}
|
|
@@ -14,11 +14,7 @@ var { withContext, ClassNamesProvider } = createSlotRecipeContext(switchStyle);
|
|
|
14
14
|
var { withContext: withControlContext, PropsProvider: ControlPropsProvider, withProvider: withControlProvider } = createSlotRecipeContext(switchmark);
|
|
15
15
|
var withStateProps = createWithStateProps([useSwitchContext]);
|
|
16
16
|
var SwitchRoot = React.forwardRef(({ className, ...props }, ref) => {
|
|
17
|
-
|
|
18
|
-
const [{ switch: switchVariantProps, switchmark: switchmarkVariantProps }, otherProps] = splitMultipleVariantsProps({
|
|
19
|
-
...props,
|
|
20
|
-
size: props.size === "small" ? "16" : props.size === "medium" ? "32" : props.size
|
|
21
|
-
}, {
|
|
17
|
+
const [{ switch: switchVariantProps, switchmark: switchmarkVariantProps }, otherProps] = splitMultipleVariantsProps(props, {
|
|
22
18
|
switchmark,
|
|
23
19
|
switch: switchStyle
|
|
24
20
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
-
const require_styled = require("../../utils/styled.cjs");
|
|
4
3
|
const require_createSlotRecipeContext = require("../../utils/createSlotRecipeContext.cjs");
|
|
4
|
+
const require_styled = require("../../utils/styled.cjs");
|
|
5
5
|
const require_splitMultipleVariantsProps = require("../../utils/splitMultipleVariantsProps.cjs");
|
|
6
6
|
let _seed_design_react_primitive = require("@seed-design/react-primitive");
|
|
7
7
|
let clsx = require("clsx");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useStyleProps } from "../../utils/styled.js";
|
|
3
2
|
import { createSlotRecipeContext } from "../../utils/createSlotRecipeContext.js";
|
|
3
|
+
import { useStyleProps } from "../../utils/styled.js";
|
|
4
4
|
import { splitMultipleVariantsProps } from "../../utils/splitMultipleVariantsProps.js";
|
|
5
5
|
import { Primitive } from "@seed-design/react-primitive";
|
|
6
6
|
import clsx$1 from "clsx";
|
|
@@ -10,8 +10,8 @@ let react = require("react");
|
|
|
10
10
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
11
|
let _radix_ui_react_use_layout_effect = require("@radix-ui/react-use-layout-effect");
|
|
12
12
|
let _seed_design_dom_utils = require("@seed-design/dom-utils");
|
|
13
|
-
let _seed_design_react_field = require("@seed-design/react-field");
|
|
14
13
|
let _radix_ui_react_compose_refs = require("@radix-ui/react-compose-refs");
|
|
14
|
+
let _seed_design_react_field = require("@seed-design/react-field");
|
|
15
15
|
let _seed_design_react_text_field = require("@seed-design/react-text-field");
|
|
16
16
|
let _seed_design_css_recipes_text_input = require("@seed-design/css/recipes/text-input");
|
|
17
17
|
//#region src/components/TextField/TextField.tsx
|
|
@@ -8,8 +8,8 @@ import { forwardRef, useCallback, useRef } from "react";
|
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import { useLayoutEffect } from "@radix-ui/react-use-layout-effect";
|
|
10
10
|
import { mergeProps } from "@seed-design/dom-utils";
|
|
11
|
-
import { useFieldContext } from "@seed-design/react-field";
|
|
12
11
|
import { composeRefs } from "@radix-ui/react-compose-refs";
|
|
12
|
+
import { useFieldContext } from "@seed-design/react-field";
|
|
13
13
|
import { TextField, useTextFieldContext } from "@seed-design/react-text-field";
|
|
14
14
|
import { textInput } from "@seed-design/css/recipes/text-input";
|
|
15
15
|
//#region src/components/TextField/TextField.tsx
|