@chicken-ui/react 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Box/Box.d.mts +4 -0
- package/dist/components/Box/Box.d.ts +4 -0
- package/dist/components/Box/Box.js +74 -0
- package/dist/components/Box/Box.js.map +1 -0
- package/dist/components/Box/Box.mjs +56 -0
- package/dist/components/Box/Box.mjs.map +1 -0
- package/dist/components/Box/index.d.mts +11 -0
- package/dist/components/Box/index.d.ts +11 -0
- package/dist/components/Box/index.js +39 -0
- package/dist/components/Box/index.js.map +1 -0
- package/dist/components/Box/index.mjs +5 -0
- package/dist/components/Box/index.mjs.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.mts +12 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +12 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +75 -0
- package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.mjs +57 -0
- package/dist/components/Breadcrumb/Breadcrumb.mjs.map +1 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.d.mts +16 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +16 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.js +82 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.js.map +1 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.mjs +64 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
- package/dist/components/Breadcrumb/BreadcrumbPresets.d.mts +16 -0
- package/dist/components/Breadcrumb/BreadcrumbPresets.d.ts +16 -0
- package/dist/components/Breadcrumb/BreadcrumbPresets.js +74 -0
- package/dist/components/Breadcrumb/BreadcrumbPresets.js.map +1 -0
- package/dist/components/Breadcrumb/BreadcrumbPresets.mjs +46 -0
- package/dist/components/Breadcrumb/BreadcrumbPresets.mjs.map +1 -0
- package/dist/components/Breadcrumb/index.d.mts +6 -0
- package/dist/components/Breadcrumb/index.d.ts +6 -0
- package/dist/components/Breadcrumb/index.js +45 -0
- package/dist/components/Breadcrumb/index.js.map +1 -0
- package/dist/components/Breadcrumb/index.mjs +9 -0
- package/dist/components/Breadcrumb/index.mjs.map +1 -0
- package/dist/components/Button/Button.d.mts +15 -0
- package/dist/components/Button/Button.d.ts +15 -0
- package/dist/components/Button/Button.js +102 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/Button.mjs +84 -0
- package/dist/components/Button/Button.mjs.map +1 -0
- package/dist/components/Button/index.d.mts +4 -0
- package/dist/components/Button/index.d.ts +4 -0
- package/dist/components/Button/index.js +39 -0
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/Button/index.mjs +5 -0
- package/dist/components/Button/index.mjs.map +1 -0
- package/dist/components/Card/Card.d.mts +13 -0
- package/dist/components/Card/Card.d.ts +13 -0
- package/dist/components/Card/Card.js +90 -0
- package/dist/components/Card/Card.js.map +1 -0
- package/dist/components/Card/Card.mjs +72 -0
- package/dist/components/Card/Card.mjs.map +1 -0
- package/dist/components/Card/CardAction.d.mts +9 -0
- package/dist/components/Card/CardAction.d.ts +9 -0
- package/dist/components/Card/CardAction.js +69 -0
- package/dist/components/Card/CardAction.js.map +1 -0
- package/dist/components/Card/CardAction.mjs +51 -0
- package/dist/components/Card/CardAction.mjs.map +1 -0
- package/dist/components/Card/CardContent.d.mts +9 -0
- package/dist/components/Card/CardContent.d.ts +9 -0
- package/dist/components/Card/CardContent.js +69 -0
- package/dist/components/Card/CardContent.js.map +1 -0
- package/dist/components/Card/CardContent.mjs +51 -0
- package/dist/components/Card/CardContent.mjs.map +1 -0
- package/dist/components/Card/CardHeader.d.mts +9 -0
- package/dist/components/Card/CardHeader.d.ts +9 -0
- package/dist/components/Card/CardHeader.js +69 -0
- package/dist/components/Card/CardHeader.js.map +1 -0
- package/dist/components/Card/CardHeader.mjs +51 -0
- package/dist/components/Card/CardHeader.mjs.map +1 -0
- package/dist/components/Card/CardIcon.d.mts +11 -0
- package/dist/components/Card/CardIcon.d.ts +11 -0
- package/dist/components/Card/CardIcon.js +74 -0
- package/dist/components/Card/CardIcon.js.map +1 -0
- package/dist/components/Card/CardIcon.mjs +56 -0
- package/dist/components/Card/CardIcon.mjs.map +1 -0
- package/dist/components/Card/CardText.d.mts +9 -0
- package/dist/components/Card/CardText.d.ts +9 -0
- package/dist/components/Card/CardText.js +69 -0
- package/dist/components/Card/CardText.js.map +1 -0
- package/dist/components/Card/CardText.mjs +51 -0
- package/dist/components/Card/CardText.mjs.map +1 -0
- package/dist/components/Card/CardTitle.d.mts +15 -0
- package/dist/components/Card/CardTitle.d.ts +15 -0
- package/dist/components/Card/CardTitle.js +72 -0
- package/dist/components/Card/CardTitle.js.map +1 -0
- package/dist/components/Card/CardTitle.mjs +54 -0
- package/dist/components/Card/CardTitle.mjs.map +1 -0
- package/dist/components/Card/index.d.mts +11 -0
- package/dist/components/Card/index.d.ts +11 -0
- package/dist/components/Card/index.js +57 -0
- package/dist/components/Card/index.js.map +1 -0
- package/dist/components/Card/index.mjs +17 -0
- package/dist/components/Card/index.mjs.map +1 -0
- package/dist/components/Container/Container.d.mts +12 -0
- package/dist/components/Container/Container.d.ts +12 -0
- package/dist/components/Container/Container.js +94 -0
- package/dist/components/Container/Container.js.map +1 -0
- package/dist/components/Container/Container.mjs +76 -0
- package/dist/components/Container/Container.mjs.map +1 -0
- package/dist/components/Container/index.d.mts +4 -0
- package/dist/components/Container/index.d.ts +4 -0
- package/dist/components/Container/index.js +39 -0
- package/dist/components/Container/index.js.map +1 -0
- package/dist/components/Container/index.mjs +5 -0
- package/dist/components/Container/index.mjs.map +1 -0
- package/dist/components/Grid/Grid.d.mts +14 -0
- package/dist/components/Grid/Grid.d.ts +14 -0
- package/dist/components/Grid/Grid.js +110 -0
- package/dist/components/Grid/Grid.js.map +1 -0
- package/dist/components/Grid/Grid.mjs +96 -0
- package/dist/components/Grid/Grid.mjs.map +1 -0
- package/dist/components/Grid/index.d.mts +4 -0
- package/dist/components/Grid/index.d.ts +4 -0
- package/dist/components/Grid/index.js +39 -0
- package/dist/components/Grid/index.js.map +1 -0
- package/dist/components/Grid/index.mjs +5 -0
- package/dist/components/Grid/index.mjs.map +1 -0
- package/dist/components/HStack/HStack.d.mts +14 -0
- package/dist/components/HStack/HStack.d.ts +14 -0
- package/dist/components/HStack/HStack.js +111 -0
- package/dist/components/HStack/HStack.js.map +1 -0
- package/dist/components/HStack/HStack.mjs +97 -0
- package/dist/components/HStack/HStack.mjs.map +1 -0
- package/dist/components/HStack/index.d.mts +4 -0
- package/dist/components/HStack/index.d.ts +4 -0
- package/dist/components/HStack/index.js +39 -0
- package/dist/components/HStack/index.js.map +1 -0
- package/dist/components/HStack/index.mjs +5 -0
- package/dist/components/HStack/index.mjs.map +1 -0
- package/dist/components/NavBar/NavBar.context.d.mts +8 -0
- package/dist/components/NavBar/NavBar.context.d.ts +8 -0
- package/dist/components/NavBar/NavBar.context.js +44 -0
- package/dist/components/NavBar/NavBar.context.js.map +1 -0
- package/dist/components/NavBar/NavBar.context.mjs +17 -0
- package/dist/components/NavBar/NavBar.context.mjs.map +1 -0
- package/dist/components/NavBar/NavBar.d.mts +11 -0
- package/dist/components/NavBar/NavBar.d.ts +11 -0
- package/dist/components/NavBar/NavBar.js +81 -0
- package/dist/components/NavBar/NavBar.js.map +1 -0
- package/dist/components/NavBar/NavBar.mjs +63 -0
- package/dist/components/NavBar/NavBar.mjs.map +1 -0
- package/dist/components/NavBar/NavBarBrand.d.mts +9 -0
- package/dist/components/NavBar/NavBarBrand.d.ts +9 -0
- package/dist/components/NavBar/NavBarBrand.js +81 -0
- package/dist/components/NavBar/NavBarBrand.js.map +1 -0
- package/dist/components/NavBar/NavBarBrand.mjs +63 -0
- package/dist/components/NavBar/NavBarBrand.mjs.map +1 -0
- package/dist/components/NavBar/NavBarDropdown.d.mts +13 -0
- package/dist/components/NavBar/NavBarDropdown.d.ts +13 -0
- package/dist/components/NavBar/NavBarDropdown.js +102 -0
- package/dist/components/NavBar/NavBarDropdown.js.map +1 -0
- package/dist/components/NavBar/NavBarDropdown.mjs +87 -0
- package/dist/components/NavBar/NavBarDropdown.mjs.map +1 -0
- package/dist/components/NavBar/NavBarItem.d.mts +16 -0
- package/dist/components/NavBar/NavBarItem.d.ts +16 -0
- package/dist/components/NavBar/NavBarItem.js +93 -0
- package/dist/components/NavBar/NavBarItem.js.map +1 -0
- package/dist/components/NavBar/NavBarItem.mjs +75 -0
- package/dist/components/NavBar/NavBarItem.mjs.map +1 -0
- package/dist/components/NavBar/NavBarList.d.mts +11 -0
- package/dist/components/NavBar/NavBarList.d.ts +11 -0
- package/dist/components/NavBar/NavBarList.js +84 -0
- package/dist/components/NavBar/NavBarList.js.map +1 -0
- package/dist/components/NavBar/NavBarList.mjs +70 -0
- package/dist/components/NavBar/NavBarList.mjs.map +1 -0
- package/dist/components/NavBar/NavBarPreset.d.mts +26 -0
- package/dist/components/NavBar/NavBarPreset.d.ts +26 -0
- package/dist/components/NavBar/NavBarPreset.js +113 -0
- package/dist/components/NavBar/NavBarPreset.js.map +1 -0
- package/dist/components/NavBar/NavBarPreset.mjs +85 -0
- package/dist/components/NavBar/NavBarPreset.mjs.map +1 -0
- package/dist/components/NavBar/NavBarToggle.d.mts +13 -0
- package/dist/components/NavBar/NavBarToggle.d.ts +13 -0
- package/dist/components/NavBar/NavBarToggle.js +62 -0
- package/dist/components/NavBar/NavBarToggle.js.map +1 -0
- package/dist/components/NavBar/NavBarToggle.mjs +42 -0
- package/dist/components/NavBar/NavBarToggle.mjs.map +1 -0
- package/dist/components/NavBar/index.d.mts +10 -0
- package/dist/components/NavBar/index.d.ts +10 -0
- package/dist/components/NavBar/index.js +57 -0
- package/dist/components/NavBar/index.js.map +1 -0
- package/dist/components/NavBar/index.mjs +17 -0
- package/dist/components/NavBar/index.mjs.map +1 -0
- package/dist/components/Pill/Pill.d.mts +19 -0
- package/dist/components/Pill/Pill.d.ts +19 -0
- package/dist/components/Pill/Pill.js +117 -0
- package/dist/components/Pill/Pill.js.map +1 -0
- package/dist/components/Pill/Pill.mjs +99 -0
- package/dist/components/Pill/Pill.mjs.map +1 -0
- package/dist/components/Pill/index.d.mts +4 -0
- package/dist/components/Pill/index.d.ts +4 -0
- package/dist/components/Pill/index.js +39 -0
- package/dist/components/Pill/index.js.map +1 -0
- package/dist/components/Pill/index.mjs +5 -0
- package/dist/components/Pill/index.mjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.mts +24 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +24 -0
- package/dist/components/SegmentedControl/SegmentedControl.js +118 -0
- package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.mjs +106 -0
- package/dist/components/SegmentedControl/SegmentedControl.mjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControlContext.d.mts +12 -0
- package/dist/components/SegmentedControl/SegmentedControlContext.d.ts +12 -0
- package/dist/components/SegmentedControl/SegmentedControlContext.js +36 -0
- package/dist/components/SegmentedControl/SegmentedControlContext.js.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControlContext.mjs +11 -0
- package/dist/components/SegmentedControl/SegmentedControlContext.mjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControlItem.d.mts +14 -0
- package/dist/components/SegmentedControl/SegmentedControlItem.d.ts +14 -0
- package/dist/components/SegmentedControl/SegmentedControlItem.js +111 -0
- package/dist/components/SegmentedControl/SegmentedControlItem.js.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControlItem.mjs +93 -0
- package/dist/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
- package/dist/components/SegmentedControl/index.d.mts +5 -0
- package/dist/components/SegmentedControl/index.d.ts +5 -0
- package/dist/components/SegmentedControl/index.js +42 -0
- package/dist/components/SegmentedControl/index.js.map +1 -0
- package/dist/components/SegmentedControl/index.mjs +7 -0
- package/dist/components/SegmentedControl/index.mjs.map +1 -0
- package/dist/components/TabBar/TabBar.d.mts +11 -0
- package/dist/components/TabBar/TabBar.d.ts +11 -0
- package/dist/components/TabBar/TabBar.js +85 -0
- package/dist/components/TabBar/TabBar.js.map +1 -0
- package/dist/components/TabBar/TabBar.mjs +67 -0
- package/dist/components/TabBar/TabBar.mjs.map +1 -0
- package/dist/components/TabBar/TabBarItem.d.mts +15 -0
- package/dist/components/TabBar/TabBarItem.d.ts +15 -0
- package/dist/components/TabBar/TabBarItem.js +89 -0
- package/dist/components/TabBar/TabBarItem.js.map +1 -0
- package/dist/components/TabBar/TabBarItem.mjs +71 -0
- package/dist/components/TabBar/TabBarItem.mjs.map +1 -0
- package/dist/components/TabBar/TabBarItemIcon.d.mts +9 -0
- package/dist/components/TabBar/TabBarItemIcon.d.ts +9 -0
- package/dist/components/TabBar/TabBarItemIcon.js +80 -0
- package/dist/components/TabBar/TabBarItemIcon.js.map +1 -0
- package/dist/components/TabBar/TabBarItemIcon.mjs +62 -0
- package/dist/components/TabBar/TabBarItemIcon.mjs.map +1 -0
- package/dist/components/TabBar/TabBarItemLabel.d.mts +9 -0
- package/dist/components/TabBar/TabBarItemLabel.d.ts +9 -0
- package/dist/components/TabBar/TabBarItemLabel.js +80 -0
- package/dist/components/TabBar/TabBarItemLabel.js.map +1 -0
- package/dist/components/TabBar/TabBarItemLabel.mjs +62 -0
- package/dist/components/TabBar/TabBarItemLabel.mjs.map +1 -0
- package/dist/components/TabBar/TabBarPreset.d.mts +21 -0
- package/dist/components/TabBar/TabBarPreset.d.ts +21 -0
- package/dist/components/TabBar/TabBarPreset.js +80 -0
- package/dist/components/TabBar/TabBarPreset.js.map +1 -0
- package/dist/components/TabBar/TabBarPreset.mjs +52 -0
- package/dist/components/TabBar/TabBarPreset.mjs.map +1 -0
- package/dist/components/TabBar/index.d.mts +8 -0
- package/dist/components/TabBar/index.d.ts +8 -0
- package/dist/components/TabBar/index.js +51 -0
- package/dist/components/TabBar/index.js.map +1 -0
- package/dist/components/TabBar/index.mjs +13 -0
- package/dist/components/TabBar/index.mjs.map +1 -0
- package/dist/components/VStack/VStack.d.mts +12 -0
- package/dist/components/VStack/VStack.d.ts +12 -0
- package/dist/components/VStack/VStack.js +95 -0
- package/dist/components/VStack/VStack.js.map +1 -0
- package/dist/components/VStack/VStack.mjs +81 -0
- package/dist/components/VStack/VStack.mjs.map +1 -0
- package/dist/components/VStack/index.d.mts +4 -0
- package/dist/components/VStack/index.d.ts +4 -0
- package/dist/components/VStack/index.js +39 -0
- package/dist/components/VStack/index.js.map +1 -0
- package/dist/components/VStack/index.mjs +5 -0
- package/dist/components/VStack/index.mjs.map +1 -0
- package/dist/components/index.d.mts +34 -0
- package/dist/components/index.d.ts +34 -0
- package/dist/components/index.js +45 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index.mjs +13 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/core/Base/Base.d.mts +28 -0
- package/dist/core/Base/Base.d.ts +28 -0
- package/dist/core/Base/Base.js +127 -0
- package/dist/core/Base/Base.js.map +1 -0
- package/dist/core/Base/Base.mjs +112 -0
- package/dist/core/Base/Base.mjs.map +1 -0
- package/dist/core/Base/index.d.mts +3 -0
- package/dist/core/Base/index.d.ts +3 -0
- package/dist/core/Base/index.js +39 -0
- package/dist/core/Base/index.js.map +1 -0
- package/dist/core/Base/index.mjs +5 -0
- package/dist/core/Base/index.mjs.map +1 -0
- package/dist/core/Breakpoint/BreakpointType.d.mts +12 -0
- package/dist/core/Breakpoint/BreakpointType.d.ts +12 -0
- package/dist/core/Breakpoint/BreakpointType.js +17 -0
- package/dist/core/Breakpoint/BreakpointType.js.map +1 -0
- package/dist/core/Breakpoint/BreakpointType.mjs +1 -0
- package/dist/core/Breakpoint/BreakpointType.mjs.map +1 -0
- package/dist/core/Breakpoint/index.d.mts +2 -0
- package/dist/core/Breakpoint/index.d.ts +2 -0
- package/dist/core/Breakpoint/index.js +23 -0
- package/dist/core/Breakpoint/index.js.map +1 -0
- package/dist/core/Breakpoint/index.mjs +2 -0
- package/dist/core/Breakpoint/index.mjs.map +1 -0
- package/dist/core/Breakpoint/resolveResponsiveVars.d.mts +8 -0
- package/dist/core/Breakpoint/resolveResponsiveVars.d.ts +8 -0
- package/dist/core/Breakpoint/resolveResponsiveVars.js +81 -0
- package/dist/core/Breakpoint/resolveResponsiveVars.js.map +1 -0
- package/dist/core/Breakpoint/resolveResponsiveVars.mjs +57 -0
- package/dist/core/Breakpoint/resolveResponsiveVars.mjs.map +1 -0
- package/dist/core/Show/ShowAbove.d.mts +13 -0
- package/dist/core/Show/ShowAbove.d.ts +13 -0
- package/dist/core/Show/ShowAbove.js +33 -0
- package/dist/core/Show/ShowAbove.js.map +1 -0
- package/dist/core/Show/ShowAbove.mjs +13 -0
- package/dist/core/Show/ShowAbove.mjs.map +1 -0
- package/dist/core/Show/ShowBelow.d.mts +13 -0
- package/dist/core/Show/ShowBelow.d.ts +13 -0
- package/dist/core/Show/ShowBelow.js +33 -0
- package/dist/core/Show/ShowBelow.js.map +1 -0
- package/dist/core/Show/ShowBelow.mjs +13 -0
- package/dist/core/Show/ShowBelow.mjs.map +1 -0
- package/dist/core/Show/index.d.mts +4 -0
- package/dist/core/Show/index.d.ts +4 -0
- package/dist/core/Show/index.js +42 -0
- package/dist/core/Show/index.js.map +1 -0
- package/dist/core/Show/index.mjs +7 -0
- package/dist/core/Show/index.mjs.map +1 -0
- package/dist/core/Show/visibility.d.mts +9 -0
- package/dist/core/Show/visibility.d.ts +9 -0
- package/dist/core/Show/visibility.js +86 -0
- package/dist/core/Show/visibility.js.map +1 -0
- package/dist/core/Show/visibility.mjs +67 -0
- package/dist/core/Show/visibility.mjs.map +1 -0
- package/dist/core/SrOnly/SrOnly.d.mts +25 -0
- package/dist/core/SrOnly/SrOnly.d.ts +25 -0
- package/dist/core/SrOnly/SrOnly.js +91 -0
- package/dist/core/SrOnly/SrOnly.js.map +1 -0
- package/dist/core/SrOnly/SrOnly.mjs +71 -0
- package/dist/core/SrOnly/SrOnly.mjs.map +1 -0
- package/dist/core/SrOnly/index.d.mts +3 -0
- package/dist/core/SrOnly/index.d.ts +3 -0
- package/dist/core/SrOnly/index.js +33 -0
- package/dist/core/SrOnly/index.js.map +1 -0
- package/dist/core/SrOnly/index.mjs +7 -0
- package/dist/core/SrOnly/index.mjs.map +1 -0
- package/dist/core/Typography/Heading.d.mts +13 -0
- package/dist/core/Typography/Heading.d.ts +13 -0
- package/dist/core/Typography/Heading.js +79 -0
- package/dist/core/Typography/Heading.js.map +1 -0
- package/dist/core/Typography/Heading.mjs +61 -0
- package/dist/core/Typography/Heading.mjs.map +1 -0
- package/dist/core/Typography/Text.d.mts +14 -0
- package/dist/core/Typography/Text.d.ts +14 -0
- package/dist/core/Typography/Text.js +73 -0
- package/dist/core/Typography/Text.js.map +1 -0
- package/dist/core/Typography/Text.mjs +55 -0
- package/dist/core/Typography/Text.mjs.map +1 -0
- package/dist/core/Typography/index.d.mts +5 -0
- package/dist/core/Typography/index.d.ts +5 -0
- package/dist/core/Typography/index.js +42 -0
- package/dist/core/Typography/index.js.map +1 -0
- package/dist/core/Typography/index.mjs +7 -0
- package/dist/core/Typography/index.mjs.map +1 -0
- package/dist/core/index.d.mts +10 -0
- package/dist/core/index.d.ts +10 -0
- package/dist/core/index.js +31 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/index.mjs +6 -0
- package/dist/core/index.mjs.map +1 -0
- package/dist/index.d.mts +43 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -0
- package/dist/styles.css +2680 -0
- package/dist/types/LightDark.types.d.mts +6 -0
- package/dist/types/LightDark.types.d.ts +6 -0
- package/dist/types/LightDark.types.js +17 -0
- package/dist/types/LightDark.types.js.map +1 -0
- package/dist/types/LightDark.types.mjs +1 -0
- package/dist/types/LightDark.types.mjs.map +1 -0
- package/dist/types/index.d.mts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +17 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/index.mjs.map +1 -0
- package/dist/utils/PropToValue.d.mts +3 -0
- package/dist/utils/PropToValue.d.ts +3 -0
- package/dist/utils/PropToValue.js +36 -0
- package/dist/utils/PropToValue.js.map +1 -0
- package/dist/utils/PropToValue.mjs +12 -0
- package/dist/utils/PropToValue.mjs.map +1 -0
- package/dist/utils/index.d.mts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +23 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +2 -0
- package/dist/utils/index.mjs.map +1 -0
- package/package.json +52 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
+
var __objRest = (source, exclude) => {
|
|
24
|
+
var target = {};
|
|
25
|
+
for (var prop in source)
|
|
26
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
27
|
+
target[prop] = source[prop];
|
|
28
|
+
if (source != null && __getOwnPropSymbols)
|
|
29
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
30
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
31
|
+
target[prop] = source[prop];
|
|
32
|
+
}
|
|
33
|
+
return target;
|
|
34
|
+
};
|
|
35
|
+
var __export = (target, all) => {
|
|
36
|
+
for (var name in all)
|
|
37
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
38
|
+
};
|
|
39
|
+
var __copyProps = (to, from, except, desc) => {
|
|
40
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
41
|
+
for (let key of __getOwnPropNames(from))
|
|
42
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
43
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
44
|
+
}
|
|
45
|
+
return to;
|
|
46
|
+
};
|
|
47
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
|
+
var Base_exports = {};
|
|
49
|
+
__export(Base_exports, {
|
|
50
|
+
default: () => Base
|
|
51
|
+
});
|
|
52
|
+
module.exports = __toCommonJS(Base_exports);
|
|
53
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
54
|
+
var import__ = require("../../index");
|
|
55
|
+
const SPACING_PROP_TO_VAR = {
|
|
56
|
+
m: "--ck-base--margin",
|
|
57
|
+
mt: "--ck-base--margin-top",
|
|
58
|
+
mb: "--ck-base--margin-bottom",
|
|
59
|
+
ml: "--ck-base--margin-left",
|
|
60
|
+
mr: "--ck-base--margin-right",
|
|
61
|
+
mx: "--ck-base--margin-x",
|
|
62
|
+
my: "--ck-base--margin-y",
|
|
63
|
+
p: "--ck-base--padding",
|
|
64
|
+
pt: "--ck-base--padding-top",
|
|
65
|
+
pb: "--ck-base--padding-bottom",
|
|
66
|
+
pl: "--ck-base--padding-left",
|
|
67
|
+
pr: "--ck-base--padding-right",
|
|
68
|
+
px: "--ck-base--padding-x",
|
|
69
|
+
py: "--ck-base--padding-y"
|
|
70
|
+
};
|
|
71
|
+
function Base(_a) {
|
|
72
|
+
var _b = _a, {
|
|
73
|
+
as,
|
|
74
|
+
children,
|
|
75
|
+
m,
|
|
76
|
+
ml,
|
|
77
|
+
mt,
|
|
78
|
+
mr,
|
|
79
|
+
mb,
|
|
80
|
+
my,
|
|
81
|
+
mx,
|
|
82
|
+
p,
|
|
83
|
+
pl,
|
|
84
|
+
pt,
|
|
85
|
+
pr,
|
|
86
|
+
pb,
|
|
87
|
+
py,
|
|
88
|
+
px,
|
|
89
|
+
style,
|
|
90
|
+
className
|
|
91
|
+
} = _b, props = __objRest(_b, [
|
|
92
|
+
"as",
|
|
93
|
+
"children",
|
|
94
|
+
"m",
|
|
95
|
+
"ml",
|
|
96
|
+
"mt",
|
|
97
|
+
"mr",
|
|
98
|
+
"mb",
|
|
99
|
+
"my",
|
|
100
|
+
"mx",
|
|
101
|
+
"p",
|
|
102
|
+
"pl",
|
|
103
|
+
"pt",
|
|
104
|
+
"pr",
|
|
105
|
+
"pb",
|
|
106
|
+
"py",
|
|
107
|
+
"px",
|
|
108
|
+
"style",
|
|
109
|
+
"className"
|
|
110
|
+
]);
|
|
111
|
+
const Component = as || "div";
|
|
112
|
+
const vars = (0, import__.resolveResponsiveVars)(
|
|
113
|
+
{ m, mt, mb, ml, mr, mx, my, p, pt, pb, pl, pr, px, py },
|
|
114
|
+
SPACING_PROP_TO_VAR,
|
|
115
|
+
import__.propToSpacingValue
|
|
116
|
+
);
|
|
117
|
+
const finalClassName = className ? `ck-base ${className}` : "ck-base";
|
|
118
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
119
|
+
Component,
|
|
120
|
+
__spreadProps(__spreadValues({}, props), {
|
|
121
|
+
className: finalClassName,
|
|
122
|
+
style: __spreadValues(__spreadValues({}, vars), style),
|
|
123
|
+
children
|
|
124
|
+
})
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=Base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/core/Base/Base.tsx"],"sourcesContent":["import {\n ComponentPropsWithoutRef,\n CSSProperties,\n ElementType,\n ReactNode,\n} from \"react\";\nimport {\n BreakpointType,\n propToSpacingValue,\n resolveResponsiveVars,\n} from \"../../index\";\n\nexport type BaseOwnProps = {\n children?: ReactNode;\n m?: BreakpointType<number | string>;\n ml?: BreakpointType<number | string>;\n mt?: BreakpointType<number | string>;\n mr?: BreakpointType<number | string>;\n mb?: BreakpointType<number | string>;\n my?: BreakpointType<number | string>;\n mx?: BreakpointType<number | string>;\n p?: BreakpointType<number | string>;\n pl?: BreakpointType<number | string>;\n pt?: BreakpointType<number | string>;\n pr?: BreakpointType<number | string>;\n pb?: BreakpointType<number | string>;\n py?: BreakpointType<number | string>;\n px?: BreakpointType<number | string>;\n style?: CSSProperties;\n};\n\nexport type BaseProps<T extends ElementType> = BaseOwnProps & {\n as?: T;\n} & Omit<ComponentPropsWithoutRef<T>, keyof BaseOwnProps | \"as\">;\n\nconst SPACING_PROP_TO_VAR: Record<string, string> = {\n m: \"--ck-base--margin\",\n mt: \"--ck-base--margin-top\",\n mb: \"--ck-base--margin-bottom\",\n ml: \"--ck-base--margin-left\",\n mr: \"--ck-base--margin-right\",\n mx: \"--ck-base--margin-x\",\n my: \"--ck-base--margin-y\",\n p: \"--ck-base--padding\",\n pt: \"--ck-base--padding-top\",\n pb: \"--ck-base--padding-bottom\",\n pl: \"--ck-base--padding-left\",\n pr: \"--ck-base--padding-right\",\n px: \"--ck-base--padding-x\",\n py: \"--ck-base--padding-y\",\n};\n\nexport default function Base<T extends ElementType = \"div\">({\n as,\n children,\n m,\n ml,\n mt,\n mr,\n mb,\n my,\n mx,\n p,\n pl,\n pt,\n pr,\n pb,\n py,\n px,\n style,\n className,\n ...props\n}: BaseProps<T>) {\n const Component = as || \"div\";\n\n const vars = resolveResponsiveVars(\n { m, mt, mb, ml, mr, mx, my, p, pt, pb, pl, pr, px, py },\n SPACING_PROP_TO_VAR,\n propToSpacingValue,\n );\n\n const finalClassName = className ? `ck-base ${className}` : \"ck-base\";\n\n return (\n <Component\n {...props}\n className={finalClassName}\n style={{ ...vars, ...style } as CSSProperties}\n >\n {children}\n </Component>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAoFI;AA9EJ,eAIO;AAyBP,MAAM,sBAA8C;AAAA,EAClD,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEe,SAAR,KAAqD,IAoB3C;AApB2C,eAC1D;AAAA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAtEF,IAoD4D,IAmBvD,kBAnBuD,IAmBvD;AAAA,IAlBH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGA,QAAM,YAAY,MAAM;AAExB,QAAM,WAAO;AAAA,IACX,EAAE,GAAG,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG;AAAA,IACvD;AAAA,IACA;AAAA,EACF;AAEA,QAAM,iBAAiB,YAAY,WAAW,SAAS,KAAK;AAE5D,SACE;AAAA,IAAC;AAAA,qCACK,QADL;AAAA,MAEC,WAAW;AAAA,MACX,OAAO,kCAAK,OAAS;AAAA,MAEpB;AAAA;AAAA,EACH;AAEJ;","names":[]}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __spreadValues = (a, b) => {
|
|
9
|
+
for (var prop in b || (b = {}))
|
|
10
|
+
if (__hasOwnProp.call(b, prop))
|
|
11
|
+
__defNormalProp(a, prop, b[prop]);
|
|
12
|
+
if (__getOwnPropSymbols)
|
|
13
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
var __objRest = (source, exclude) => {
|
|
21
|
+
var target = {};
|
|
22
|
+
for (var prop in source)
|
|
23
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
24
|
+
target[prop] = source[prop];
|
|
25
|
+
if (source != null && __getOwnPropSymbols)
|
|
26
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
27
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
28
|
+
target[prop] = source[prop];
|
|
29
|
+
}
|
|
30
|
+
return target;
|
|
31
|
+
};
|
|
32
|
+
import { jsx } from "react/jsx-runtime";
|
|
33
|
+
import {
|
|
34
|
+
propToSpacingValue,
|
|
35
|
+
resolveResponsiveVars
|
|
36
|
+
} from "../../index";
|
|
37
|
+
const SPACING_PROP_TO_VAR = {
|
|
38
|
+
m: "--ck-base--margin",
|
|
39
|
+
mt: "--ck-base--margin-top",
|
|
40
|
+
mb: "--ck-base--margin-bottom",
|
|
41
|
+
ml: "--ck-base--margin-left",
|
|
42
|
+
mr: "--ck-base--margin-right",
|
|
43
|
+
mx: "--ck-base--margin-x",
|
|
44
|
+
my: "--ck-base--margin-y",
|
|
45
|
+
p: "--ck-base--padding",
|
|
46
|
+
pt: "--ck-base--padding-top",
|
|
47
|
+
pb: "--ck-base--padding-bottom",
|
|
48
|
+
pl: "--ck-base--padding-left",
|
|
49
|
+
pr: "--ck-base--padding-right",
|
|
50
|
+
px: "--ck-base--padding-x",
|
|
51
|
+
py: "--ck-base--padding-y"
|
|
52
|
+
};
|
|
53
|
+
function Base(_a) {
|
|
54
|
+
var _b = _a, {
|
|
55
|
+
as,
|
|
56
|
+
children,
|
|
57
|
+
m,
|
|
58
|
+
ml,
|
|
59
|
+
mt,
|
|
60
|
+
mr,
|
|
61
|
+
mb,
|
|
62
|
+
my,
|
|
63
|
+
mx,
|
|
64
|
+
p,
|
|
65
|
+
pl,
|
|
66
|
+
pt,
|
|
67
|
+
pr,
|
|
68
|
+
pb,
|
|
69
|
+
py,
|
|
70
|
+
px,
|
|
71
|
+
style,
|
|
72
|
+
className
|
|
73
|
+
} = _b, props = __objRest(_b, [
|
|
74
|
+
"as",
|
|
75
|
+
"children",
|
|
76
|
+
"m",
|
|
77
|
+
"ml",
|
|
78
|
+
"mt",
|
|
79
|
+
"mr",
|
|
80
|
+
"mb",
|
|
81
|
+
"my",
|
|
82
|
+
"mx",
|
|
83
|
+
"p",
|
|
84
|
+
"pl",
|
|
85
|
+
"pt",
|
|
86
|
+
"pr",
|
|
87
|
+
"pb",
|
|
88
|
+
"py",
|
|
89
|
+
"px",
|
|
90
|
+
"style",
|
|
91
|
+
"className"
|
|
92
|
+
]);
|
|
93
|
+
const Component = as || "div";
|
|
94
|
+
const vars = resolveResponsiveVars(
|
|
95
|
+
{ m, mt, mb, ml, mr, mx, my, p, pt, pb, pl, pr, px, py },
|
|
96
|
+
SPACING_PROP_TO_VAR,
|
|
97
|
+
propToSpacingValue
|
|
98
|
+
);
|
|
99
|
+
const finalClassName = className ? `ck-base ${className}` : "ck-base";
|
|
100
|
+
return /* @__PURE__ */ jsx(
|
|
101
|
+
Component,
|
|
102
|
+
__spreadProps(__spreadValues({}, props), {
|
|
103
|
+
className: finalClassName,
|
|
104
|
+
style: __spreadValues(__spreadValues({}, vars), style),
|
|
105
|
+
children
|
|
106
|
+
})
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
export {
|
|
110
|
+
Base as default
|
|
111
|
+
};
|
|
112
|
+
//# sourceMappingURL=Base.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/core/Base/Base.tsx"],"sourcesContent":["import {\n ComponentPropsWithoutRef,\n CSSProperties,\n ElementType,\n ReactNode,\n} from \"react\";\nimport {\n BreakpointType,\n propToSpacingValue,\n resolveResponsiveVars,\n} from \"../../index\";\n\nexport type BaseOwnProps = {\n children?: ReactNode;\n m?: BreakpointType<number | string>;\n ml?: BreakpointType<number | string>;\n mt?: BreakpointType<number | string>;\n mr?: BreakpointType<number | string>;\n mb?: BreakpointType<number | string>;\n my?: BreakpointType<number | string>;\n mx?: BreakpointType<number | string>;\n p?: BreakpointType<number | string>;\n pl?: BreakpointType<number | string>;\n pt?: BreakpointType<number | string>;\n pr?: BreakpointType<number | string>;\n pb?: BreakpointType<number | string>;\n py?: BreakpointType<number | string>;\n px?: BreakpointType<number | string>;\n style?: CSSProperties;\n};\n\nexport type BaseProps<T extends ElementType> = BaseOwnProps & {\n as?: T;\n} & Omit<ComponentPropsWithoutRef<T>, keyof BaseOwnProps | \"as\">;\n\nconst SPACING_PROP_TO_VAR: Record<string, string> = {\n m: \"--ck-base--margin\",\n mt: \"--ck-base--margin-top\",\n mb: \"--ck-base--margin-bottom\",\n ml: \"--ck-base--margin-left\",\n mr: \"--ck-base--margin-right\",\n mx: \"--ck-base--margin-x\",\n my: \"--ck-base--margin-y\",\n p: \"--ck-base--padding\",\n pt: \"--ck-base--padding-top\",\n pb: \"--ck-base--padding-bottom\",\n pl: \"--ck-base--padding-left\",\n pr: \"--ck-base--padding-right\",\n px: \"--ck-base--padding-x\",\n py: \"--ck-base--padding-y\",\n};\n\nexport default function Base<T extends ElementType = \"div\">({\n as,\n children,\n m,\n ml,\n mt,\n mr,\n mb,\n my,\n mx,\n p,\n pl,\n pt,\n pr,\n pb,\n py,\n px,\n style,\n className,\n ...props\n}: BaseProps<T>) {\n const Component = as || \"div\";\n\n const vars = resolveResponsiveVars(\n { m, mt, mb, ml, mr, mx, my, p, pt, pb, pl, pr, px, py },\n SPACING_PROP_TO_VAR,\n propToSpacingValue,\n );\n\n const finalClassName = className ? `ck-base ${className}` : \"ck-base\";\n\n return (\n <Component\n {...props}\n className={finalClassName}\n style={{ ...vars, ...style } as CSSProperties}\n >\n {children}\n </Component>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoFI;AA9EJ;AAAA,EAEE;AAAA,EACA;AAAA,OACK;AAyBP,MAAM,sBAA8C;AAAA,EAClD,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEe,SAAR,KAAqD,IAoB3C;AApB2C,eAC1D;AAAA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAtEF,IAoD4D,IAmBvD,kBAnBuD,IAmBvD;AAAA,IAlBH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGA,QAAM,YAAY,MAAM;AAExB,QAAM,OAAO;AAAA,IACX,EAAE,GAAG,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG;AAAA,IACvD;AAAA,IACA;AAAA,EACF;AAEA,QAAM,iBAAiB,YAAY,WAAW,SAAS,KAAK;AAE5D,SACE;AAAA,IAAC;AAAA,qCACK,QADL;AAAA,MAEC,WAAW;AAAA,MACX,OAAO,kCAAK,OAAS;AAAA,MAEpB;AAAA;AAAA,EACH;AAEJ;","names":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var Base_exports = {};
|
|
30
|
+
__export(Base_exports, {
|
|
31
|
+
Base: () => import_Base.default
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(Base_exports);
|
|
34
|
+
var import_Base = __toESM(require("./Base"));
|
|
35
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
36
|
+
0 && (module.exports = {
|
|
37
|
+
Base
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/core/Base/index.ts"],"sourcesContent":["export { default as Base } from \"./Base\";\nexport type { BaseProps } from \"./Base\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAgC;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/core/Base/index.ts"],"sourcesContent":["export { default as Base } from \"./Base\";\nexport type { BaseProps } from \"./Base\";\n"],"mappings":"AAAA,SAAoB,WAAXA,gBAAuB;","names":["default"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var BreakpointType_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(BreakpointType_exports);
|
|
17
|
+
//# sourceMappingURL=BreakpointType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/core/Breakpoint/BreakpointType.ts"],"sourcesContent":["export type BreakpointType<T> = T | {\n base: T;\n us?: T;\n xs?: T;\n sm?: T;\n md?: T;\n lg?: T;\n xl?: T;\n ul?: T;\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=BreakpointType.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var Breakpoint_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(Breakpoint_exports);
|
|
18
|
+
__reExport(Breakpoint_exports, require("./resolveResponsiveVars"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./resolveResponsiveVars")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/core/Breakpoint/index.ts"],"sourcesContent":["export type { BreakpointType } from \"./BreakpointType\";\nexport * from \"./resolveResponsiveVars\";\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AACA,+BAAc,oCADd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/core/Breakpoint/index.ts"],"sourcesContent":["export type { BreakpointType } from \"./BreakpointType\";\nexport * from \"./resolveResponsiveVars\";\n"],"mappings":"AACA,cAAc;","names":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BreakpointType } from './BreakpointType.mjs';
|
|
2
|
+
|
|
3
|
+
declare const BREAKPOINT_SUFFIXES: readonly ["base", "us", "xs", "sm", "md", "lg", "xl", "ul"];
|
|
4
|
+
type BreakpointSuffix = (typeof BREAKPOINT_SUFFIXES)[number];
|
|
5
|
+
declare function resolveResponsiveVar<T>(value: BreakpointType<T> | undefined | null, varName: string, transformValue: (value: T) => string): Record<string, string>;
|
|
6
|
+
declare function resolveResponsiveVars<T>(props: Record<string, BreakpointType<T> | undefined | null>, propToVarName: Record<string, string>, transformValue: (value: T) => string): Record<string, string>;
|
|
7
|
+
|
|
8
|
+
export { BREAKPOINT_SUFFIXES, type BreakpointSuffix, resolveResponsiveVar, resolveResponsiveVars };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BreakpointType } from './BreakpointType.js';
|
|
2
|
+
|
|
3
|
+
declare const BREAKPOINT_SUFFIXES: readonly ["base", "us", "xs", "sm", "md", "lg", "xl", "ul"];
|
|
4
|
+
type BreakpointSuffix = (typeof BREAKPOINT_SUFFIXES)[number];
|
|
5
|
+
declare function resolveResponsiveVar<T>(value: BreakpointType<T> | undefined | null, varName: string, transformValue: (value: T) => string): Record<string, string>;
|
|
6
|
+
declare function resolveResponsiveVars<T>(props: Record<string, BreakpointType<T> | undefined | null>, propToVarName: Record<string, string>, transformValue: (value: T) => string): Record<string, string>;
|
|
7
|
+
|
|
8
|
+
export { BREAKPOINT_SUFFIXES, type BreakpointSuffix, resolveResponsiveVar, resolveResponsiveVars };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __spreadValues = (a, b) => {
|
|
10
|
+
for (var prop in b || (b = {}))
|
|
11
|
+
if (__hasOwnProp.call(b, prop))
|
|
12
|
+
__defNormalProp(a, prop, b[prop]);
|
|
13
|
+
if (__getOwnPropSymbols)
|
|
14
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
15
|
+
if (__propIsEnum.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
}
|
|
18
|
+
return a;
|
|
19
|
+
};
|
|
20
|
+
var __export = (target, all) => {
|
|
21
|
+
for (var name in all)
|
|
22
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
23
|
+
};
|
|
24
|
+
var __copyProps = (to, from, except, desc) => {
|
|
25
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
26
|
+
for (let key of __getOwnPropNames(from))
|
|
27
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
28
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
29
|
+
}
|
|
30
|
+
return to;
|
|
31
|
+
};
|
|
32
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
33
|
+
var resolveResponsiveVars_exports = {};
|
|
34
|
+
__export(resolveResponsiveVars_exports, {
|
|
35
|
+
BREAKPOINT_SUFFIXES: () => BREAKPOINT_SUFFIXES,
|
|
36
|
+
resolveResponsiveVar: () => resolveResponsiveVar,
|
|
37
|
+
resolveResponsiveVars: () => resolveResponsiveVars
|
|
38
|
+
});
|
|
39
|
+
module.exports = __toCommonJS(resolveResponsiveVars_exports);
|
|
40
|
+
const BREAKPOINT_SUFFIXES = [
|
|
41
|
+
"base",
|
|
42
|
+
"us",
|
|
43
|
+
"xs",
|
|
44
|
+
"sm",
|
|
45
|
+
"md",
|
|
46
|
+
"lg",
|
|
47
|
+
"xl",
|
|
48
|
+
"ul"
|
|
49
|
+
];
|
|
50
|
+
function resolveResponsiveVar(value, varName, transformValue) {
|
|
51
|
+
if (value === void 0 || value === null) {
|
|
52
|
+
return {};
|
|
53
|
+
}
|
|
54
|
+
if (typeof value !== "object") {
|
|
55
|
+
return { [`${varName}-base`]: transformValue(value) };
|
|
56
|
+
}
|
|
57
|
+
const vars = {};
|
|
58
|
+
for (const suffix of BREAKPOINT_SUFFIXES) {
|
|
59
|
+
const bpValue = value[suffix];
|
|
60
|
+
if (bpValue !== void 0) {
|
|
61
|
+
vars[`${varName}-${suffix}`] = transformValue(bpValue);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return vars;
|
|
65
|
+
}
|
|
66
|
+
function resolveResponsiveVars(props, propToVarName, transformValue) {
|
|
67
|
+
let vars = {};
|
|
68
|
+
for (const [prop, value] of Object.entries(props)) {
|
|
69
|
+
const varName = propToVarName[prop];
|
|
70
|
+
if (!varName) continue;
|
|
71
|
+
vars = __spreadValues(__spreadValues({}, vars), resolveResponsiveVar(value, varName, transformValue));
|
|
72
|
+
}
|
|
73
|
+
return vars;
|
|
74
|
+
}
|
|
75
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
76
|
+
0 && (module.exports = {
|
|
77
|
+
BREAKPOINT_SUFFIXES,
|
|
78
|
+
resolveResponsiveVar,
|
|
79
|
+
resolveResponsiveVars
|
|
80
|
+
});
|
|
81
|
+
//# sourceMappingURL=resolveResponsiveVars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/core/Breakpoint/resolveResponsiveVars.ts"],"sourcesContent":["import { BreakpointType } from \"./BreakpointType\";\n\nexport const BREAKPOINT_SUFFIXES = [\n \"base\",\n \"us\",\n \"xs\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"ul\",\n] as const;\nexport type BreakpointSuffix = (typeof BREAKPOINT_SUFFIXES)[number];\n\nexport function resolveResponsiveVar<T>(\n value: BreakpointType<T> | undefined | null,\n varName: string,\n transformValue: (value: T) => string,\n): Record<string, string> {\n if (value === undefined || value === null) {\n return {};\n }\n\n // Valeur simple : pas d'objet breakpoint\n if (typeof value !== \"object\") {\n return { [`${varName}-base`]: transformValue(value as T) };\n }\n\n const vars: Record<string, string> = {};\n for (const suffix of BREAKPOINT_SUFFIXES) {\n const bpValue = (value as Partial<Record<BreakpointSuffix, T>>)[suffix];\n if (bpValue !== undefined) {\n vars[`${varName}-${suffix}`] = transformValue(bpValue);\n }\n }\n return vars;\n}\n\nexport function resolveResponsiveVars<T>(\n props: Record<string, BreakpointType<T> | undefined | null>,\n propToVarName: Record<string, string>,\n transformValue: (value: T) => string,\n): Record<string, string> {\n let vars: Record<string, string> = {};\n for (const [prop, value] of Object.entries(props)) {\n const varName = propToVarName[prop];\n if (!varName) continue;\n vars = { ...vars, ...resolveResponsiveVar(value, varName, transformValue) };\n }\n return vars;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,sBAAsB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAGO,SAAS,qBACd,OACA,SACA,gBACwB;AACxB,MAAI,UAAU,UAAa,UAAU,MAAM;AACzC,WAAO,CAAC;AAAA,EACV;AAGA,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,EAAE,CAAC,GAAG,OAAO,OAAO,GAAG,eAAe,KAAU,EAAE;AAAA,EAC3D;AAEA,QAAM,OAA+B,CAAC;AACtC,aAAW,UAAU,qBAAqB;AACxC,UAAM,UAAW,MAA+C,MAAM;AACtE,QAAI,YAAY,QAAW;AACzB,WAAK,GAAG,OAAO,IAAI,MAAM,EAAE,IAAI,eAAe,OAAO;AAAA,IACvD;AAAA,EACF;AACA,SAAO;AACT;AAEO,SAAS,sBACd,OACA,eACA,gBACwB;AACxB,MAAI,OAA+B,CAAC;AACpC,aAAW,CAAC,MAAM,KAAK,KAAK,OAAO,QAAQ,KAAK,GAAG;AACjD,UAAM,UAAU,cAAc,IAAI;AAClC,QAAI,CAAC,QAAS;AACd,WAAO,kCAAK,OAAS,qBAAqB,OAAO,SAAS,cAAc;AAAA,EAC1E;AACA,SAAO;AACT;","names":[]}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
const BREAKPOINT_SUFFIXES = [
|
|
18
|
+
"base",
|
|
19
|
+
"us",
|
|
20
|
+
"xs",
|
|
21
|
+
"sm",
|
|
22
|
+
"md",
|
|
23
|
+
"lg",
|
|
24
|
+
"xl",
|
|
25
|
+
"ul"
|
|
26
|
+
];
|
|
27
|
+
function resolveResponsiveVar(value, varName, transformValue) {
|
|
28
|
+
if (value === void 0 || value === null) {
|
|
29
|
+
return {};
|
|
30
|
+
}
|
|
31
|
+
if (typeof value !== "object") {
|
|
32
|
+
return { [`${varName}-base`]: transformValue(value) };
|
|
33
|
+
}
|
|
34
|
+
const vars = {};
|
|
35
|
+
for (const suffix of BREAKPOINT_SUFFIXES) {
|
|
36
|
+
const bpValue = value[suffix];
|
|
37
|
+
if (bpValue !== void 0) {
|
|
38
|
+
vars[`${varName}-${suffix}`] = transformValue(bpValue);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return vars;
|
|
42
|
+
}
|
|
43
|
+
function resolveResponsiveVars(props, propToVarName, transformValue) {
|
|
44
|
+
let vars = {};
|
|
45
|
+
for (const [prop, value] of Object.entries(props)) {
|
|
46
|
+
const varName = propToVarName[prop];
|
|
47
|
+
if (!varName) continue;
|
|
48
|
+
vars = __spreadValues(__spreadValues({}, vars), resolveResponsiveVar(value, varName, transformValue));
|
|
49
|
+
}
|
|
50
|
+
return vars;
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
BREAKPOINT_SUFFIXES,
|
|
54
|
+
resolveResponsiveVar,
|
|
55
|
+
resolveResponsiveVars
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=resolveResponsiveVars.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../lib/core/Breakpoint/resolveResponsiveVars.ts"],"sourcesContent":["import { BreakpointType } from \"./BreakpointType\";\n\nexport const BREAKPOINT_SUFFIXES = [\n \"base\",\n \"us\",\n \"xs\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"ul\",\n] as const;\nexport type BreakpointSuffix = (typeof BREAKPOINT_SUFFIXES)[number];\n\nexport function resolveResponsiveVar<T>(\n value: BreakpointType<T> | undefined | null,\n varName: string,\n transformValue: (value: T) => string,\n): Record<string, string> {\n if (value === undefined || value === null) {\n return {};\n }\n\n // Valeur simple : pas d'objet breakpoint\n if (typeof value !== \"object\") {\n return { [`${varName}-base`]: transformValue(value as T) };\n }\n\n const vars: Record<string, string> = {};\n for (const suffix of BREAKPOINT_SUFFIXES) {\n const bpValue = (value as Partial<Record<BreakpointSuffix, T>>)[suffix];\n if (bpValue !== undefined) {\n vars[`${varName}-${suffix}`] = transformValue(bpValue);\n }\n }\n return vars;\n}\n\nexport function resolveResponsiveVars<T>(\n props: Record<string, BreakpointType<T> | undefined | null>,\n propToVarName: Record<string, string>,\n transformValue: (value: T) => string,\n): Record<string, string> {\n let vars: Record<string, string> = {};\n for (const [prop, value] of Object.entries(props)) {\n const varName = propToVarName[prop];\n if (!varName) continue;\n vars = { ...vars, ...resolveResponsiveVar(value, varName, transformValue) };\n }\n return vars;\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAEO,MAAM,sBAAsB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAGO,SAAS,qBACd,OACA,SACA,gBACwB;AACxB,MAAI,UAAU,UAAa,UAAU,MAAM;AACzC,WAAO,CAAC;AAAA,EACV;AAGA,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,EAAE,CAAC,GAAG,OAAO,OAAO,GAAG,eAAe,KAAU,EAAE;AAAA,EAC3D;AAEA,QAAM,OAA+B,CAAC;AACtC,aAAW,UAAU,qBAAqB;AACxC,UAAM,UAAW,MAA+C,MAAM;AACtE,QAAI,YAAY,QAAW;AACzB,WAAK,GAAG,OAAO,IAAI,MAAM,EAAE,IAAI,eAAe,OAAO;AAAA,IACvD;AAAA,EACF;AACA,SAAO;AACT;AAEO,SAAS,sBACd,OACA,eACA,gBACwB;AACxB,MAAI,OAA+B,CAAC;AACpC,aAAW,CAAC,MAAM,KAAK,KAAK,OAAO,QAAQ,KAAK,GAAG;AACjD,UAAM,UAAU,cAAc,IAAI;AAClC,QAAI,CAAC,QAAS;AACd,WAAO,kCAAK,OAAS,qBAAqB,OAAO,SAAS,cAAc;AAAA,EAC1E;AACA,SAAO;AACT;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
3
|
+
import { CkBreakpoint } from './visibility.mjs';
|
|
4
|
+
|
|
5
|
+
type ShowAboveProps = {
|
|
6
|
+
breakpoint: CkBreakpoint;
|
|
7
|
+
display?: CSSProperties["display"];
|
|
8
|
+
as?: ElementType;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
declare function ShowAbove({ breakpoint, display, as, children, }: ShowAboveProps): react.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { type ShowAboveProps, ShowAbove as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
3
|
+
import { CkBreakpoint } from './visibility.js';
|
|
4
|
+
|
|
5
|
+
type ShowAboveProps = {
|
|
6
|
+
breakpoint: CkBreakpoint;
|
|
7
|
+
display?: CSSProperties["display"];
|
|
8
|
+
as?: ElementType;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
declare function ShowAbove({ breakpoint, display, as, children, }: ShowAboveProps): react.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { type ShowAboveProps, ShowAbove as default };
|