react-native-mantine 0.1.15 → 0.3.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/README.md +603 -7
- package/lib/commonjs/components/Accordion/index.js +250 -0
- package/lib/commonjs/components/Accordion/index.js.map +1 -0
- package/lib/commonjs/components/ActionIcon/ActionIcon.js +23 -28
- package/lib/commonjs/components/ActionIcon/ActionIcon.js.map +1 -1
- package/lib/commonjs/components/Anchor/index.js +107 -0
- package/lib/commonjs/components/Anchor/index.js.map +1 -0
- package/lib/commonjs/components/AspectRatio/index.js +65 -0
- package/lib/commonjs/components/AspectRatio/index.js.map +1 -0
- package/lib/commonjs/components/Avatar/index.js +128 -0
- package/lib/commonjs/components/Avatar/index.js.map +1 -0
- package/lib/commonjs/components/BackgroundImage/index.js +55 -0
- package/lib/commonjs/components/BackgroundImage/index.js.map +1 -0
- package/lib/commonjs/components/Badge/index.js +189 -0
- package/lib/commonjs/components/Badge/index.js.map +1 -0
- package/lib/commonjs/components/Blockquote/index.js +97 -0
- package/lib/commonjs/components/Blockquote/index.js.map +1 -0
- package/lib/commonjs/components/BoxView/index.js +66 -2
- package/lib/commonjs/components/BoxView/index.js.map +1 -1
- package/lib/commonjs/components/Breadcrumbs/index.js +57 -0
- package/lib/commonjs/components/Breadcrumbs/index.js.map +1 -0
- package/lib/commonjs/components/Burger/index.js +183 -0
- package/lib/commonjs/components/Burger/index.js.map +1 -0
- package/lib/commonjs/components/Button/Button.styles.js +35 -18
- package/lib/commonjs/components/Button/Button.styles.js.map +1 -1
- package/lib/commonjs/components/Button/index.js +3 -3
- package/lib/commonjs/components/Button/index.js.map +1 -1
- package/lib/commonjs/components/Card/index.js +135 -0
- package/lib/commonjs/components/Card/index.js.map +1 -0
- package/lib/commonjs/components/Center/index.js +35 -0
- package/lib/commonjs/components/Center/index.js.map +1 -0
- package/lib/commonjs/components/Checkbox/index.js +139 -0
- package/lib/commonjs/components/Checkbox/index.js.map +1 -0
- package/lib/commonjs/components/Chip/index.js +268 -0
- package/lib/commonjs/components/Chip/index.js.map +1 -0
- package/lib/commonjs/components/CloseButton/index.js +136 -0
- package/lib/commonjs/components/CloseButton/index.js.map +1 -0
- package/lib/commonjs/components/Code/index.js +67 -0
- package/lib/commonjs/components/Code/index.js.map +1 -0
- package/lib/commonjs/components/Collapse/index.js +82 -0
- package/lib/commonjs/components/Collapse/index.js.map +1 -0
- package/lib/commonjs/components/ColorSwatch/index.js +95 -0
- package/lib/commonjs/components/ColorSwatch/index.js.map +1 -0
- package/lib/commonjs/components/Container/index.js +70 -0
- package/lib/commonjs/components/Container/index.js.map +1 -0
- package/lib/commonjs/components/CopyButton/index.js +54 -0
- package/lib/commonjs/components/CopyButton/index.js.map +1 -0
- package/lib/commonjs/components/Dialog/index.js +139 -0
- package/lib/commonjs/components/Dialog/index.js.map +1 -0
- package/lib/commonjs/components/Divider/index.js +147 -0
- package/lib/commonjs/components/Divider/index.js.map +1 -0
- package/lib/commonjs/components/Drawer/index.js +251 -0
- package/lib/commonjs/components/Drawer/index.js.map +1 -0
- package/lib/commonjs/components/Flex/index.js +62 -0
- package/lib/commonjs/components/Flex/index.js.map +1 -0
- package/lib/commonjs/components/Grid/index.js +144 -0
- package/lib/commonjs/components/Grid/index.js.map +1 -0
- package/lib/commonjs/components/Group/index.js +22 -1
- package/lib/commonjs/components/Group/index.js.map +1 -1
- package/lib/commonjs/components/Highlight/index.js +74 -0
- package/lib/commonjs/components/Highlight/index.js.map +1 -0
- package/lib/commonjs/components/Image/index.js +132 -0
- package/lib/commonjs/components/Image/index.js.map +1 -0
- package/lib/commonjs/components/Indicator/index.js +198 -0
- package/lib/commonjs/components/Indicator/index.js.map +1 -0
- package/lib/commonjs/components/Kbd/index.js +95 -0
- package/lib/commonjs/components/Kbd/index.js.map +1 -0
- package/lib/commonjs/components/List/index.js +216 -0
- package/lib/commonjs/components/List/index.js.map +1 -0
- package/lib/commonjs/components/Loader/Loader.js +25 -18
- package/lib/commonjs/components/Loader/Loader.js.map +1 -1
- package/lib/commonjs/components/LoadingOverlay/index.js +84 -0
- package/lib/commonjs/components/LoadingOverlay/index.js.map +1 -0
- package/lib/commonjs/components/Mark/index.js +46 -0
- package/lib/commonjs/components/Mark/index.js.map +1 -0
- package/lib/commonjs/components/MediaQuery/index.js +88 -0
- package/lib/commonjs/components/MediaQuery/index.js.map +1 -0
- package/lib/commonjs/components/Menu/index.js +305 -0
- package/lib/commonjs/components/Menu/index.js.map +1 -0
- package/lib/commonjs/components/Modal/index.js +235 -0
- package/lib/commonjs/components/Modal/index.js.map +1 -0
- package/lib/commonjs/components/MultiSelect/index.js +299 -0
- package/lib/commonjs/components/MultiSelect/index.js.map +1 -0
- package/lib/commonjs/components/NativeSelect/index.js +294 -0
- package/lib/commonjs/components/NativeSelect/index.js.map +1 -0
- package/lib/commonjs/components/NavLink/index.js +163 -0
- package/lib/commonjs/components/NavLink/index.js.map +1 -0
- package/lib/commonjs/components/Notification/index.js +142 -0
- package/lib/commonjs/components/Notification/index.js.map +1 -0
- package/lib/commonjs/components/NumberInput/index.js +267 -0
- package/lib/commonjs/components/NumberInput/index.js.map +1 -0
- package/lib/commonjs/components/Overlay/index.js +77 -0
- package/lib/commonjs/components/Overlay/index.js.map +1 -0
- package/lib/commonjs/components/Pagination/index.js +253 -0
- package/lib/commonjs/components/Pagination/index.js.map +1 -0
- package/lib/commonjs/components/Paper/index.js +155 -0
- package/lib/commonjs/components/Paper/index.js.map +1 -0
- package/lib/commonjs/components/PasswordInput/index.js +67 -0
- package/lib/commonjs/components/PasswordInput/index.js.map +1 -0
- package/lib/commonjs/components/PinInput/index.js +186 -0
- package/lib/commonjs/components/PinInput/index.js.map +1 -0
- package/lib/commonjs/components/Popover/index.js +162 -0
- package/lib/commonjs/components/Popover/index.js.map +1 -0
- package/lib/commonjs/components/Portal/index.js +69 -0
- package/lib/commonjs/components/Portal/index.js.map +1 -0
- package/lib/commonjs/components/Progress/index.js +124 -0
- package/lib/commonjs/components/Progress/index.js.map +1 -0
- package/lib/commonjs/components/Radio/index.js +135 -0
- package/lib/commonjs/components/Radio/index.js.map +1 -0
- package/lib/commonjs/components/Rating/index.js +151 -0
- package/lib/commonjs/components/Rating/index.js.map +1 -0
- package/lib/commonjs/components/RingProgress/index.js +174 -0
- package/lib/commonjs/components/RingProgress/index.js.map +1 -0
- package/lib/commonjs/components/SegmentedControl/index.js +225 -0
- package/lib/commonjs/components/SegmentedControl/index.js.map +1 -0
- package/lib/commonjs/components/Select/index.js +244 -0
- package/lib/commonjs/components/Select/index.js.map +1 -0
- package/lib/commonjs/components/SimpleGrid/index.js +101 -0
- package/lib/commonjs/components/SimpleGrid/index.js.map +1 -0
- package/lib/commonjs/components/Skeleton/index.js +111 -0
- package/lib/commonjs/components/Skeleton/index.js.map +1 -0
- package/lib/commonjs/components/Slider/index.js +275 -0
- package/lib/commonjs/components/Slider/index.js.map +1 -0
- package/lib/commonjs/components/Space/index.js +45 -0
- package/lib/commonjs/components/Space/index.js.map +1 -0
- package/lib/commonjs/components/Spoiler/index.js +109 -0
- package/lib/commonjs/components/Spoiler/index.js.map +1 -0
- package/lib/commonjs/components/Stepper/index.js +275 -0
- package/lib/commonjs/components/Stepper/index.js.map +1 -0
- package/lib/commonjs/components/Switch/index.js +118 -0
- package/lib/commonjs/components/Switch/index.js.map +1 -0
- package/lib/commonjs/components/Table/index.js +313 -0
- package/lib/commonjs/components/Table/index.js.map +1 -0
- package/lib/commonjs/components/Text/index.js +7 -2
- package/lib/commonjs/components/Text/index.js.map +1 -1
- package/lib/commonjs/components/TextInput/index.js +184 -0
- package/lib/commonjs/components/TextInput/index.js.map +1 -0
- package/lib/commonjs/components/Textarea/index.js +54 -0
- package/lib/commonjs/components/Textarea/index.js.map +1 -0
- package/lib/commonjs/components/ThemeIcon/index.js +144 -0
- package/lib/commonjs/components/ThemeIcon/index.js.map +1 -0
- package/lib/commonjs/components/Timeline/index.js +241 -0
- package/lib/commonjs/components/Timeline/index.js.map +1 -0
- package/lib/commonjs/components/Title/index.js +44 -0
- package/lib/commonjs/components/Title/index.js.map +1 -0
- package/lib/commonjs/components/Tooltip/index.js +186 -0
- package/lib/commonjs/components/Tooltip/index.js.map +1 -0
- package/lib/commonjs/components/TransferList/index.js +292 -0
- package/lib/commonjs/components/TransferList/index.js.map +1 -0
- package/lib/commonjs/components/Transition/index.js +174 -0
- package/lib/commonjs/components/Transition/index.js.map +1 -0
- package/lib/commonjs/components/UnstyledButton/UnstyledButton.js +1 -2
- package/lib/commonjs/components/UnstyledButton/UnstyledButton.js.map +1 -1
- package/lib/commonjs/components/index.js +759 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/hooks/useCachedResources.js +1 -2
- package/lib/commonjs/hooks/useCachedResources.js.map +1 -1
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/theme/create-theme.js +4 -1
- package/lib/commonjs/theme/create-theme.js.map +1 -1
- package/lib/commonjs/theme/default-theme.js +2 -0
- package/lib/commonjs/theme/default-theme.js.map +1 -1
- package/lib/commonjs/theme/functions/attach-functions.js +12 -2
- package/lib/commonjs/theme/functions/attach-functions.js.map +1 -1
- package/lib/commonjs/theme/functions/fns/helpers.js +44 -0
- package/lib/commonjs/theme/functions/fns/helpers.js.map +1 -0
- package/lib/commonjs/theme/functions/fns/index.js +4 -1
- package/lib/commonjs/theme/functions/fns/index.js.map +1 -1
- package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js +26 -4
- package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js.map +1 -1
- package/lib/commonjs/theme/functions/fns/variant.js +89 -2
- package/lib/commonjs/theme/functions/fns/variant.js.map +1 -1
- package/lib/commonjs/theme/get-size/index.js +2 -2
- package/lib/commonjs/theme/get-size/index.js.map +1 -1
- package/lib/commonjs/theme/theme-provider.js +10 -9
- package/lib/commonjs/theme/theme-provider.js.map +1 -1
- package/lib/commonjs/theme/utils/rem.js +8 -6
- package/lib/commonjs/theme/utils/rem.js.map +1 -1
- package/lib/module/components/Accordion/index.js +246 -0
- package/lib/module/components/Accordion/index.js.map +1 -0
- package/lib/module/components/ActionIcon/ActionIcon.js +25 -29
- package/lib/module/components/ActionIcon/ActionIcon.js.map +1 -1
- package/lib/module/components/Anchor/index.js +102 -0
- package/lib/module/components/Anchor/index.js.map +1 -0
- package/lib/module/components/AspectRatio/index.js +60 -0
- package/lib/module/components/AspectRatio/index.js.map +1 -0
- package/lib/module/components/Avatar/index.js +123 -0
- package/lib/module/components/Avatar/index.js.map +1 -0
- package/lib/module/components/BackgroundImage/index.js +50 -0
- package/lib/module/components/BackgroundImage/index.js.map +1 -0
- package/lib/module/components/Badge/index.js +184 -0
- package/lib/module/components/Badge/index.js.map +1 -0
- package/lib/module/components/Blockquote/index.js +92 -0
- package/lib/module/components/Blockquote/index.js.map +1 -0
- package/lib/module/components/BoxView/index.js +66 -2
- package/lib/module/components/BoxView/index.js.map +1 -1
- package/lib/module/components/Breadcrumbs/index.js +52 -0
- package/lib/module/components/Breadcrumbs/index.js.map +1 -0
- package/lib/module/components/Burger/index.js +180 -0
- package/lib/module/components/Burger/index.js.map +1 -0
- package/lib/module/components/Button/Button.styles.js +35 -18
- package/lib/module/components/Button/Button.styles.js.map +1 -1
- package/lib/module/components/Button/index.js +1 -0
- package/lib/module/components/Button/index.js.map +1 -1
- package/lib/module/components/Card/index.js +130 -0
- package/lib/module/components/Card/index.js.map +1 -0
- package/lib/module/components/Center/index.js +30 -0
- package/lib/module/components/Center/index.js.map +1 -0
- package/lib/module/components/Checkbox/index.js +134 -0
- package/lib/module/components/Checkbox/index.js.map +1 -0
- package/lib/module/components/Chip/index.js +263 -0
- package/lib/module/components/Chip/index.js.map +1 -0
- package/lib/module/components/CloseButton/index.js +132 -0
- package/lib/module/components/CloseButton/index.js.map +1 -0
- package/lib/module/components/Code/index.js +62 -0
- package/lib/module/components/Code/index.js.map +1 -0
- package/lib/module/components/Collapse/index.js +77 -0
- package/lib/module/components/Collapse/index.js.map +1 -0
- package/lib/module/components/ColorSwatch/index.js +90 -0
- package/lib/module/components/ColorSwatch/index.js.map +1 -0
- package/lib/module/components/Container/index.js +65 -0
- package/lib/module/components/Container/index.js.map +1 -0
- package/lib/module/components/CopyButton/index.js +48 -0
- package/lib/module/components/CopyButton/index.js.map +1 -0
- package/lib/module/components/Dialog/index.js +134 -0
- package/lib/module/components/Dialog/index.js.map +1 -0
- package/lib/module/components/Divider/index.js +142 -0
- package/lib/module/components/Divider/index.js.map +1 -0
- package/lib/module/components/Drawer/index.js +246 -0
- package/lib/module/components/Drawer/index.js.map +1 -0
- package/lib/module/components/Flex/index.js +57 -0
- package/lib/module/components/Flex/index.js.map +1 -0
- package/lib/module/components/Grid/index.js +139 -0
- package/lib/module/components/Grid/index.js.map +1 -0
- package/lib/module/components/Group/index.js +22 -1
- package/lib/module/components/Group/index.js.map +1 -1
- package/lib/module/components/Highlight/index.js +70 -0
- package/lib/module/components/Highlight/index.js.map +1 -0
- package/lib/module/components/Image/index.js +127 -0
- package/lib/module/components/Image/index.js.map +1 -0
- package/lib/module/components/Indicator/index.js +193 -0
- package/lib/module/components/Indicator/index.js.map +1 -0
- package/lib/module/components/Kbd/index.js +90 -0
- package/lib/module/components/Kbd/index.js.map +1 -0
- package/lib/module/components/List/index.js +211 -0
- package/lib/module/components/List/index.js.map +1 -0
- package/lib/module/components/Loader/Loader.js +26 -19
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/LoadingOverlay/index.js +80 -0
- package/lib/module/components/LoadingOverlay/index.js.map +1 -0
- package/lib/module/components/Mark/index.js +41 -0
- package/lib/module/components/Mark/index.js.map +1 -0
- package/lib/module/components/MediaQuery/index.js +82 -0
- package/lib/module/components/MediaQuery/index.js.map +1 -0
- package/lib/module/components/Menu/index.js +300 -0
- package/lib/module/components/Menu/index.js.map +1 -0
- package/lib/module/components/Modal/index.js +230 -0
- package/lib/module/components/Modal/index.js.map +1 -0
- package/lib/module/components/MultiSelect/index.js +294 -0
- package/lib/module/components/MultiSelect/index.js.map +1 -0
- package/lib/module/components/NativeSelect/index.js +289 -0
- package/lib/module/components/NativeSelect/index.js.map +1 -0
- package/lib/module/components/NavLink/index.js +158 -0
- package/lib/module/components/NavLink/index.js.map +1 -0
- package/lib/module/components/Notification/index.js +137 -0
- package/lib/module/components/Notification/index.js.map +1 -0
- package/lib/module/components/NumberInput/index.js +262 -0
- package/lib/module/components/NumberInput/index.js.map +1 -0
- package/lib/module/components/Overlay/index.js +72 -0
- package/lib/module/components/Overlay/index.js.map +1 -0
- package/lib/module/components/Pagination/index.js +248 -0
- package/lib/module/components/Pagination/index.js.map +1 -0
- package/lib/module/components/Paper/index.js +150 -0
- package/lib/module/components/Paper/index.js.map +1 -0
- package/lib/module/components/PasswordInput/index.js +62 -0
- package/lib/module/components/PasswordInput/index.js.map +1 -0
- package/lib/module/components/PinInput/index.js +182 -0
- package/lib/module/components/PinInput/index.js.map +1 -0
- package/lib/module/components/Popover/index.js +157 -0
- package/lib/module/components/Popover/index.js.map +1 -0
- package/lib/module/components/Portal/index.js +62 -0
- package/lib/module/components/Portal/index.js.map +1 -0
- package/lib/module/components/Progress/index.js +120 -0
- package/lib/module/components/Progress/index.js.map +1 -0
- package/lib/module/components/Radio/index.js +130 -0
- package/lib/module/components/Radio/index.js.map +1 -0
- package/lib/module/components/Rating/index.js +146 -0
- package/lib/module/components/Rating/index.js.map +1 -0
- package/lib/module/components/RingProgress/index.js +169 -0
- package/lib/module/components/RingProgress/index.js.map +1 -0
- package/lib/module/components/SegmentedControl/index.js +220 -0
- package/lib/module/components/SegmentedControl/index.js.map +1 -0
- package/lib/module/components/Select/index.js +239 -0
- package/lib/module/components/Select/index.js.map +1 -0
- package/lib/module/components/SimpleGrid/index.js +96 -0
- package/lib/module/components/SimpleGrid/index.js.map +1 -0
- package/lib/module/components/Skeleton/index.js +106 -0
- package/lib/module/components/Skeleton/index.js.map +1 -0
- package/lib/module/components/Slider/index.js +270 -0
- package/lib/module/components/Slider/index.js.map +1 -0
- package/lib/module/components/Space/index.js +41 -0
- package/lib/module/components/Space/index.js.map +1 -0
- package/lib/module/components/Spoiler/index.js +104 -0
- package/lib/module/components/Spoiler/index.js.map +1 -0
- package/lib/module/components/Stepper/index.js +270 -0
- package/lib/module/components/Stepper/index.js.map +1 -0
- package/lib/module/components/Switch/index.js +113 -0
- package/lib/module/components/Switch/index.js.map +1 -0
- package/lib/module/components/Table/index.js +308 -0
- package/lib/module/components/Table/index.js.map +1 -0
- package/lib/module/components/Text/index.js +7 -2
- package/lib/module/components/Text/index.js.map +1 -1
- package/lib/module/components/TextInput/index.js +179 -0
- package/lib/module/components/TextInput/index.js.map +1 -0
- package/lib/module/components/Textarea/index.js +50 -0
- package/lib/module/components/Textarea/index.js.map +1 -0
- package/lib/module/components/ThemeIcon/index.js +140 -0
- package/lib/module/components/ThemeIcon/index.js.map +1 -0
- package/lib/module/components/Timeline/index.js +236 -0
- package/lib/module/components/Timeline/index.js.map +1 -0
- package/lib/module/components/Title/index.js +39 -0
- package/lib/module/components/Title/index.js.map +1 -0
- package/lib/module/components/Tooltip/index.js +181 -0
- package/lib/module/components/Tooltip/index.js.map +1 -0
- package/lib/module/components/TransferList/index.js +287 -0
- package/lib/module/components/TransferList/index.js.map +1 -0
- package/lib/module/components/Transition/index.js +169 -0
- package/lib/module/components/Transition/index.js.map +1 -0
- package/lib/module/components/index.js +101 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/theme/create-theme.js +4 -1
- package/lib/module/theme/create-theme.js.map +1 -1
- package/lib/module/theme/default-theme.js +2 -0
- package/lib/module/theme/default-theme.js.map +1 -1
- package/lib/module/theme/functions/attach-functions.js +12 -2
- package/lib/module/theme/functions/attach-functions.js.map +1 -1
- package/lib/module/theme/functions/fns/helpers.js +34 -0
- package/lib/module/theme/functions/fns/helpers.js.map +1 -0
- package/lib/module/theme/functions/fns/index.js +3 -1
- package/lib/module/theme/functions/fns/index.js.map +1 -1
- package/lib/module/theme/functions/fns/theme-color/theme-color.js +26 -4
- package/lib/module/theme/functions/fns/theme-color/theme-color.js.map +1 -1
- package/lib/module/theme/functions/fns/variant.js +89 -2
- package/lib/module/theme/functions/fns/variant.js.map +1 -1
- package/lib/module/theme/get-size/index.js +2 -2
- package/lib/module/theme/get-size/index.js.map +1 -1
- package/lib/module/theme/theme-provider.js +9 -7
- package/lib/module/theme/theme-provider.js.map +1 -1
- package/lib/module/theme/utils/rem.js +8 -6
- package/lib/module/theme/utils/rem.js.map +1 -1
- package/lib/typescript/commonjs/src/components/Accordion/index.d.ts +54 -0
- package/lib/typescript/commonjs/src/components/Accordion/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts +4 -4
- package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Anchor/index.d.ts +25 -0
- package/lib/typescript/commonjs/src/components/Anchor/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/AspectRatio/index.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/AspectRatio/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Avatar/index.d.ts +23 -0
- package/lib/typescript/commonjs/src/components/Avatar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/BackgroundImage/index.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/BackgroundImage/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Badge/index.d.ts +24 -0
- package/lib/typescript/commonjs/src/components/Badge/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Blockquote/index.d.ts +18 -0
- package/lib/typescript/commonjs/src/components/Blockquote/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/BoxView/index.d.ts +28 -0
- package/lib/typescript/commonjs/src/components/BoxView/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Breadcrumbs/index.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/Breadcrumbs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Burger/index.d.ts +21 -0
- package/lib/typescript/commonjs/src/components/Burger/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Button/Button.styles.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/Button/Button.styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Button/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Card/index.d.ts +24 -0
- package/lib/typescript/commonjs/src/components/Card/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Center/index.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/Center/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Checkbox/index.d.ts +24 -0
- package/lib/typescript/commonjs/src/components/Checkbox/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Chip/index.d.ts +51 -0
- package/lib/typescript/commonjs/src/components/Chip/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/CloseButton/index.d.ts +22 -0
- package/lib/typescript/commonjs/src/components/CloseButton/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Code/index.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/Code/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Collapse/index.d.ts +20 -0
- package/lib/typescript/commonjs/src/components/Collapse/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ColorSwatch/index.d.ts +20 -0
- package/lib/typescript/commonjs/src/components/ColorSwatch/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Container/index.d.ts +20 -0
- package/lib/typescript/commonjs/src/components/Container/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/CopyButton/index.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/CopyButton/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Dialog/index.d.ts +31 -0
- package/lib/typescript/commonjs/src/components/Dialog/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Divider/index.d.ts +20 -0
- package/lib/typescript/commonjs/src/components/Divider/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Drawer/index.d.ts +36 -0
- package/lib/typescript/commonjs/src/components/Drawer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Flex/index.d.ts +27 -0
- package/lib/typescript/commonjs/src/components/Flex/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Grid/index.d.ts +38 -0
- package/lib/typescript/commonjs/src/components/Grid/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Group/index.d.ts +2 -1
- package/lib/typescript/commonjs/src/components/Group/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Highlight/index.d.ts +19 -0
- package/lib/typescript/commonjs/src/components/Highlight/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Image/index.d.ts +31 -0
- package/lib/typescript/commonjs/src/components/Image/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Indicator/index.d.ts +32 -0
- package/lib/typescript/commonjs/src/components/Indicator/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Input/Input.styles.d.ts +5 -5
- package/lib/typescript/commonjs/src/components/Kbd/index.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/Kbd/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/List/index.d.ts +42 -0
- package/lib/typescript/commonjs/src/components/List/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/LoadingOverlay/index.d.ts +23 -0
- package/lib/typescript/commonjs/src/components/LoadingOverlay/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Mark/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/Mark/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/MediaQuery/index.d.ts +24 -0
- package/lib/typescript/commonjs/src/components/MediaQuery/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Menu/index.d.ts +64 -0
- package/lib/typescript/commonjs/src/components/Menu/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Modal/index.d.ts +40 -0
- package/lib/typescript/commonjs/src/components/Modal/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/MultiSelect/index.d.ts +53 -0
- package/lib/typescript/commonjs/src/components/MultiSelect/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/NativeSelect/index.d.ts +45 -0
- package/lib/typescript/commonjs/src/components/NativeSelect/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/NavLink/index.d.ts +30 -0
- package/lib/typescript/commonjs/src/components/NavLink/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Notification/index.d.ts +28 -0
- package/lib/typescript/commonjs/src/components/Notification/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/NumberInput/index.d.ts +47 -0
- package/lib/typescript/commonjs/src/components/NumberInput/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Overlay/index.d.ts +24 -0
- package/lib/typescript/commonjs/src/components/Overlay/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Pagination/index.d.ts +37 -0
- package/lib/typescript/commonjs/src/components/Pagination/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Paper/index.d.ts +18 -0
- package/lib/typescript/commonjs/src/components/Paper/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/PasswordInput/index.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/PasswordInput/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/PinInput/index.d.ts +33 -0
- package/lib/typescript/commonjs/src/components/PinInput/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Popover/index.d.ts +44 -0
- package/lib/typescript/commonjs/src/components/Popover/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Portal/index.d.ts +10 -0
- package/lib/typescript/commonjs/src/components/Portal/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Progress/index.d.ts +29 -0
- package/lib/typescript/commonjs/src/components/Progress/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Radio/index.d.ts +24 -0
- package/lib/typescript/commonjs/src/components/Radio/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Rating/index.d.ts +32 -0
- package/lib/typescript/commonjs/src/components/Rating/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/RingProgress/index.d.ts +61 -0
- package/lib/typescript/commonjs/src/components/RingProgress/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/SegmentedControl/index.d.ts +35 -0
- package/lib/typescript/commonjs/src/components/SegmentedControl/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Select/index.d.ts +53 -0
- package/lib/typescript/commonjs/src/components/Select/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/SimpleGrid/index.d.ts +22 -0
- package/lib/typescript/commonjs/src/components/SimpleGrid/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Skeleton/index.d.ts +22 -0
- package/lib/typescript/commonjs/src/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Slider/index.d.ts +43 -0
- package/lib/typescript/commonjs/src/components/Slider/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Space/index.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/Space/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Spoiler/index.d.ts +22 -0
- package/lib/typescript/commonjs/src/components/Spoiler/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Stack/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Stepper/index.d.ts +55 -0
- package/lib/typescript/commonjs/src/components/Stepper/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Switch/index.d.ts +24 -0
- package/lib/typescript/commonjs/src/components/Switch/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Table/index.d.ts +72 -0
- package/lib/typescript/commonjs/src/components/Table/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Text/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/Text/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/TextInput/index.d.ts +31 -0
- package/lib/typescript/commonjs/src/components/TextInput/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Textarea/index.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/Textarea/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ThemeIcon/index.d.ts +21 -0
- package/lib/typescript/commonjs/src/components/ThemeIcon/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Timeline/index.d.ts +52 -0
- package/lib/typescript/commonjs/src/components/Timeline/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Title/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/Title/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Tooltip/index.d.ts +36 -0
- package/lib/typescript/commonjs/src/components/Tooltip/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/TransferList/index.d.ts +42 -0
- package/lib/typescript/commonjs/src/components/TransferList/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Transition/index.d.ts +25 -0
- package/lib/typescript/commonjs/src/components/Transition/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/index.d.ts +69 -0
- package/lib/typescript/commonjs/src/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/create-theme.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/default-theme.d.ts +20 -0
- package/lib/typescript/commonjs/src/theme/default-theme.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/functions/attach-functions.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/functions/fns/helpers.d.ts +23 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/helpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts +22 -1
- package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/functions/fns/radius.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts +8 -1
- package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts +19 -1
- package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/theme-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/utils/rem.d.ts +2 -2
- package/lib/typescript/commonjs/src/theme/utils/rem.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Accordion/index.d.ts +54 -0
- package/lib/typescript/module/src/components/Accordion/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts +4 -4
- package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Anchor/index.d.ts +25 -0
- package/lib/typescript/module/src/components/Anchor/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/AspectRatio/index.d.ts +12 -0
- package/lib/typescript/module/src/components/AspectRatio/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Avatar/index.d.ts +23 -0
- package/lib/typescript/module/src/components/Avatar/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/BackgroundImage/index.d.ts +15 -0
- package/lib/typescript/module/src/components/BackgroundImage/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Badge/index.d.ts +24 -0
- package/lib/typescript/module/src/components/Badge/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Blockquote/index.d.ts +18 -0
- package/lib/typescript/module/src/components/Blockquote/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/BoxView/index.d.ts +28 -0
- package/lib/typescript/module/src/components/BoxView/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Breadcrumbs/index.d.ts +12 -0
- package/lib/typescript/module/src/components/Breadcrumbs/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Burger/index.d.ts +21 -0
- package/lib/typescript/module/src/components/Burger/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Button/Button.styles.d.ts +5 -0
- package/lib/typescript/module/src/components/Button/Button.styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Button/index.d.ts +1 -0
- package/lib/typescript/module/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Card/index.d.ts +24 -0
- package/lib/typescript/module/src/components/Card/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Center/index.d.ts +15 -0
- package/lib/typescript/module/src/components/Center/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Checkbox/index.d.ts +24 -0
- package/lib/typescript/module/src/components/Checkbox/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Chip/index.d.ts +51 -0
- package/lib/typescript/module/src/components/Chip/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/CloseButton/index.d.ts +22 -0
- package/lib/typescript/module/src/components/CloseButton/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Code/index.d.ts +15 -0
- package/lib/typescript/module/src/components/Code/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Collapse/index.d.ts +20 -0
- package/lib/typescript/module/src/components/Collapse/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ColorSwatch/index.d.ts +20 -0
- package/lib/typescript/module/src/components/ColorSwatch/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Container/index.d.ts +20 -0
- package/lib/typescript/module/src/components/Container/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/CopyButton/index.d.ts +15 -0
- package/lib/typescript/module/src/components/CopyButton/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Dialog/index.d.ts +31 -0
- package/lib/typescript/module/src/components/Dialog/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Divider/index.d.ts +20 -0
- package/lib/typescript/module/src/components/Divider/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Drawer/index.d.ts +36 -0
- package/lib/typescript/module/src/components/Drawer/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Flex/index.d.ts +27 -0
- package/lib/typescript/module/src/components/Flex/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Grid/index.d.ts +38 -0
- package/lib/typescript/module/src/components/Grid/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Group/index.d.ts +2 -1
- package/lib/typescript/module/src/components/Group/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Highlight/index.d.ts +19 -0
- package/lib/typescript/module/src/components/Highlight/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Image/index.d.ts +31 -0
- package/lib/typescript/module/src/components/Image/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Indicator/index.d.ts +32 -0
- package/lib/typescript/module/src/components/Indicator/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Input/Input.styles.d.ts +5 -5
- package/lib/typescript/module/src/components/Kbd/index.d.ts +12 -0
- package/lib/typescript/module/src/components/Kbd/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/List/index.d.ts +42 -0
- package/lib/typescript/module/src/components/List/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/module/src/components/LoadingOverlay/index.d.ts +23 -0
- package/lib/typescript/module/src/components/LoadingOverlay/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Mark/index.d.ts +14 -0
- package/lib/typescript/module/src/components/Mark/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/MediaQuery/index.d.ts +24 -0
- package/lib/typescript/module/src/components/MediaQuery/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Menu/index.d.ts +64 -0
- package/lib/typescript/module/src/components/Menu/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Modal/index.d.ts +40 -0
- package/lib/typescript/module/src/components/Modal/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/MultiSelect/index.d.ts +53 -0
- package/lib/typescript/module/src/components/MultiSelect/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/NativeSelect/index.d.ts +45 -0
- package/lib/typescript/module/src/components/NativeSelect/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/NavLink/index.d.ts +30 -0
- package/lib/typescript/module/src/components/NavLink/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Notification/index.d.ts +28 -0
- package/lib/typescript/module/src/components/Notification/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/NumberInput/index.d.ts +47 -0
- package/lib/typescript/module/src/components/NumberInput/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Overlay/index.d.ts +24 -0
- package/lib/typescript/module/src/components/Overlay/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Pagination/index.d.ts +37 -0
- package/lib/typescript/module/src/components/Pagination/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Paper/index.d.ts +18 -0
- package/lib/typescript/module/src/components/Paper/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/PasswordInput/index.d.ts +15 -0
- package/lib/typescript/module/src/components/PasswordInput/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/PinInput/index.d.ts +33 -0
- package/lib/typescript/module/src/components/PinInput/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Popover/index.d.ts +44 -0
- package/lib/typescript/module/src/components/Popover/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Portal/index.d.ts +10 -0
- package/lib/typescript/module/src/components/Portal/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Progress/index.d.ts +29 -0
- package/lib/typescript/module/src/components/Progress/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Radio/index.d.ts +24 -0
- package/lib/typescript/module/src/components/Radio/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Rating/index.d.ts +32 -0
- package/lib/typescript/module/src/components/Rating/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/RingProgress/index.d.ts +61 -0
- package/lib/typescript/module/src/components/RingProgress/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/SegmentedControl/index.d.ts +35 -0
- package/lib/typescript/module/src/components/SegmentedControl/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Select/index.d.ts +53 -0
- package/lib/typescript/module/src/components/Select/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/SimpleGrid/index.d.ts +22 -0
- package/lib/typescript/module/src/components/SimpleGrid/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Skeleton/index.d.ts +22 -0
- package/lib/typescript/module/src/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Slider/index.d.ts +43 -0
- package/lib/typescript/module/src/components/Slider/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Space/index.d.ts +13 -0
- package/lib/typescript/module/src/components/Space/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Spoiler/index.d.ts +22 -0
- package/lib/typescript/module/src/components/Spoiler/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Stack/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Stepper/index.d.ts +55 -0
- package/lib/typescript/module/src/components/Stepper/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Switch/index.d.ts +24 -0
- package/lib/typescript/module/src/components/Switch/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Table/index.d.ts +72 -0
- package/lib/typescript/module/src/components/Table/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Text/index.d.ts +4 -0
- package/lib/typescript/module/src/components/Text/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/TextInput/index.d.ts +31 -0
- package/lib/typescript/module/src/components/TextInput/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Textarea/index.d.ts +12 -0
- package/lib/typescript/module/src/components/Textarea/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ThemeIcon/index.d.ts +21 -0
- package/lib/typescript/module/src/components/ThemeIcon/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Timeline/index.d.ts +52 -0
- package/lib/typescript/module/src/components/Timeline/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Title/index.d.ts +14 -0
- package/lib/typescript/module/src/components/Title/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Tooltip/index.d.ts +36 -0
- package/lib/typescript/module/src/components/Tooltip/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/TransferList/index.d.ts +42 -0
- package/lib/typescript/module/src/components/TransferList/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Transition/index.d.ts +25 -0
- package/lib/typescript/module/src/components/Transition/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/index.d.ts +69 -0
- package/lib/typescript/module/src/components/index.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/create-theme.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/default-theme.d.ts +20 -0
- package/lib/typescript/module/src/theme/default-theme.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/functions/attach-functions.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/functions/fns/helpers.d.ts +23 -0
- package/lib/typescript/module/src/theme/functions/fns/helpers.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/functions/fns/index.d.ts +22 -1
- package/lib/typescript/module/src/theme/functions/fns/index.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/functions/fns/radius.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts +8 -1
- package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/functions/fns/variant.d.ts +19 -1
- package/lib/typescript/module/src/theme/functions/fns/variant.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/theme-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/utils/rem.d.ts +2 -2
- package/lib/typescript/module/src/theme/utils/rem.d.ts.map +1 -1
- package/package.json +11 -8
- package/src/components/Accordion/index.tsx +297 -0
- package/src/components/ActionIcon/ActionIcon.tsx +61 -44
- package/src/components/Anchor/index.tsx +139 -0
- package/src/components/AspectRatio/index.tsx +68 -0
- package/src/components/Avatar/index.tsx +164 -0
- package/src/components/BackgroundImage/index.tsx +77 -0
- package/src/components/Badge/index.tsx +193 -0
- package/src/components/Blockquote/index.tsx +104 -0
- package/src/components/BoxView/index.tsx +90 -2
- package/src/components/Breadcrumbs/index.tsx +64 -0
- package/src/components/Burger/index.tsx +230 -0
- package/src/components/Button/Button.styles.ts +36 -16
- package/src/components/Button/index.tsx +3 -1
- package/src/components/Card/index.tsx +166 -0
- package/src/components/Center/index.tsx +40 -0
- package/src/components/Checkbox/index.tsx +168 -0
- package/src/components/Chip/index.tsx +350 -0
- package/src/components/CloseButton/index.tsx +154 -0
- package/src/components/Code/index.tsx +83 -0
- package/src/components/Collapse/index.tsx +108 -0
- package/src/components/ColorSwatch/index.tsx +106 -0
- package/src/components/Container/index.tsx +92 -0
- package/src/components/CopyButton/index.tsx +60 -0
- package/src/components/Dialog/index.tsx +189 -0
- package/src/components/Divider/index.tsx +161 -0
- package/src/components/Drawer/index.tsx +315 -0
- package/src/components/Flex/index.tsx +87 -0
- package/src/components/Grid/index.tsx +167 -0
- package/src/components/Group/index.tsx +24 -5
- package/src/components/Highlight/index.tsx +93 -0
- package/src/components/Image/index.tsx +180 -0
- package/src/components/Indicator/index.tsx +240 -0
- package/src/components/Kbd/index.tsx +84 -0
- package/src/components/List/index.tsx +294 -0
- package/src/components/Loader/Loader.tsx +27 -17
- package/src/components/LoadingOverlay/index.tsx +103 -0
- package/src/components/Mark/index.tsx +51 -0
- package/src/components/MediaQuery/index.tsx +133 -0
- package/src/components/Menu/index.tsx +395 -0
- package/src/components/Modal/index.tsx +318 -0
- package/src/components/MultiSelect/index.tsx +458 -0
- package/src/components/NativeSelect/index.tsx +387 -0
- package/src/components/NavLink/index.tsx +205 -0
- package/src/components/Notification/index.tsx +175 -0
- package/src/components/NumberInput/index.tsx +356 -0
- package/src/components/Overlay/index.tsx +100 -0
- package/src/components/Pagination/index.tsx +336 -0
- package/src/components/Paper/index.tsx +155 -0
- package/src/components/PasswordInput/index.tsx +78 -0
- package/src/components/PinInput/index.tsx +251 -0
- package/src/components/Popover/index.tsx +244 -0
- package/src/components/Portal/index.tsx +75 -0
- package/src/components/Progress/index.tsx +182 -0
- package/src/components/Radio/index.tsx +169 -0
- package/src/components/Rating/index.tsx +214 -0
- package/src/components/RingProgress/index.tsx +206 -0
- package/src/components/SegmentedControl/index.tsx +259 -0
- package/src/components/Select/index.tsx +377 -0
- package/src/components/SimpleGrid/index.tsx +119 -0
- package/src/components/Skeleton/index.tsx +149 -0
- package/src/components/Slider/index.tsx +338 -0
- package/src/components/Space/index.tsx +48 -0
- package/src/components/Spoiler/index.tsx +123 -0
- package/src/components/Stepper/index.tsx +388 -0
- package/src/components/Switch/index.tsx +146 -0
- package/src/components/Table/index.tsx +402 -0
- package/src/components/Text/index.tsx +6 -1
- package/src/components/TextInput/index.tsx +232 -0
- package/src/components/Textarea/index.tsx +61 -0
- package/src/components/ThemeIcon/index.tsx +167 -0
- package/src/components/Timeline/index.tsx +331 -0
- package/src/components/Title/index.tsx +53 -0
- package/src/components/Tooltip/index.tsx +259 -0
- package/src/components/TransferList/index.tsx +399 -0
- package/src/components/Transition/index.tsx +225 -0
- package/src/components/index.tsx +101 -0
- package/src/theme/create-theme.ts +3 -1
- package/src/theme/default-theme.ts +24 -0
- package/src/theme/functions/attach-functions.ts +8 -1
- package/src/theme/functions/fns/helpers.ts +36 -0
- package/src/theme/functions/fns/index.ts +2 -0
- package/src/theme/functions/fns/theme-color/theme-color.ts +34 -3
- package/src/theme/functions/fns/variant.ts +110 -2
- package/src/theme/get-size/index.ts +2 -2
- package/src/theme/theme-provider.tsx +7 -7
- package/src/theme/utils/rem.ts +9 -7
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.NumberInput = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../BoxView/index.js");
|
|
10
|
+
var _index2 = require("../Text/index.js");
|
|
11
|
+
var _themeProvider = require("../../theme/theme-provider.js");
|
|
12
|
+
var _index3 = require("../../theme/index.js");
|
|
13
|
+
var _rem = require("../../theme/utils/rem.js");
|
|
14
|
+
var _index4 = require("../Input/index.js");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
17
|
+
const useStyles = (0, _index3.createStyles)((theme, {
|
|
18
|
+
size,
|
|
19
|
+
radius,
|
|
20
|
+
variant,
|
|
21
|
+
fullWidth,
|
|
22
|
+
error,
|
|
23
|
+
disabled,
|
|
24
|
+
withIcon
|
|
25
|
+
}) => {
|
|
26
|
+
const getVariantStyles = () => {
|
|
27
|
+
switch (variant) {
|
|
28
|
+
case 'filled':
|
|
29
|
+
return {
|
|
30
|
+
backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[5] : (theme.colors.gray || [])[1],
|
|
31
|
+
borderWidth: 1,
|
|
32
|
+
borderColor: 'transparent'
|
|
33
|
+
};
|
|
34
|
+
case 'unstyled':
|
|
35
|
+
return {
|
|
36
|
+
backgroundColor: 'transparent',
|
|
37
|
+
borderWidth: 0
|
|
38
|
+
};
|
|
39
|
+
default:
|
|
40
|
+
return {
|
|
41
|
+
backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[6] : theme.white,
|
|
42
|
+
borderWidth: 1,
|
|
43
|
+
borderColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[4]
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
return {
|
|
48
|
+
wrapper: {
|
|
49
|
+
width: fullWidth ? '100%' : undefined
|
|
50
|
+
},
|
|
51
|
+
label: {
|
|
52
|
+
fontSize: theme.fontSizes.sm,
|
|
53
|
+
fontWeight: '500',
|
|
54
|
+
color: theme.colorScheme === 'dark' ? theme.white : theme.black,
|
|
55
|
+
marginBottom: theme.spacing.xs
|
|
56
|
+
},
|
|
57
|
+
description: {
|
|
58
|
+
fontSize: theme.fontSizes.xs,
|
|
59
|
+
color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[2] : (theme.colors.gray || [])[6],
|
|
60
|
+
marginTop: theme.spacing.xs
|
|
61
|
+
},
|
|
62
|
+
error: {
|
|
63
|
+
fontSize: theme.fontSizes.xs,
|
|
64
|
+
color: (theme.colors.red || [])[6],
|
|
65
|
+
marginTop: theme.spacing.xs
|
|
66
|
+
},
|
|
67
|
+
inputWrapper: {
|
|
68
|
+
flexDirection: 'row',
|
|
69
|
+
alignItems: 'center',
|
|
70
|
+
height: (0, _index3.getSize)({
|
|
71
|
+
size,
|
|
72
|
+
sizes: _index4.INPUT_SIZES
|
|
73
|
+
}),
|
|
74
|
+
borderRadius: theme.fn.radius(radius),
|
|
75
|
+
...getVariantStyles(),
|
|
76
|
+
...(error && {
|
|
77
|
+
borderColor: (theme.colors.red || [])[6]
|
|
78
|
+
}),
|
|
79
|
+
...(disabled && {
|
|
80
|
+
opacity: 0.6
|
|
81
|
+
})
|
|
82
|
+
},
|
|
83
|
+
icon: {
|
|
84
|
+
paddingLeft: theme.spacing.sm,
|
|
85
|
+
paddingRight: theme.spacing.xs
|
|
86
|
+
},
|
|
87
|
+
input: {
|
|
88
|
+
flex: 1,
|
|
89
|
+
height: '100%',
|
|
90
|
+
fontSize: (0, _index3.getSize)({
|
|
91
|
+
size,
|
|
92
|
+
sizes: theme.fontSizes
|
|
93
|
+
}),
|
|
94
|
+
color: theme.colorScheme === 'dark' ? theme.white : theme.black,
|
|
95
|
+
paddingHorizontal: theme.spacing.sm,
|
|
96
|
+
...(withIcon && {
|
|
97
|
+
paddingLeft: 0
|
|
98
|
+
})
|
|
99
|
+
},
|
|
100
|
+
controls: {
|
|
101
|
+
flexDirection: 'row',
|
|
102
|
+
height: '100%'
|
|
103
|
+
},
|
|
104
|
+
control: {
|
|
105
|
+
width: (0, _rem.rem)(32),
|
|
106
|
+
height: '100%',
|
|
107
|
+
justifyContent: 'center',
|
|
108
|
+
alignItems: 'center',
|
|
109
|
+
borderLeftWidth: 1,
|
|
110
|
+
borderLeftColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[4]
|
|
111
|
+
},
|
|
112
|
+
controlText: {
|
|
113
|
+
fontSize: (0, _rem.rem)(18),
|
|
114
|
+
fontWeight: '600',
|
|
115
|
+
color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[0] : (theme.colors.gray || [])[7]
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
});
|
|
119
|
+
const defaultProps = {
|
|
120
|
+
size: 'sm',
|
|
121
|
+
radius: 'sm',
|
|
122
|
+
variant: 'default',
|
|
123
|
+
fullWidth: false,
|
|
124
|
+
step: 1,
|
|
125
|
+
precision: 0,
|
|
126
|
+
hideControls: false,
|
|
127
|
+
disabled: false
|
|
128
|
+
};
|
|
129
|
+
const NumberInput = exports.NumberInput = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
130
|
+
const {
|
|
131
|
+
label,
|
|
132
|
+
description,
|
|
133
|
+
error,
|
|
134
|
+
size,
|
|
135
|
+
radius,
|
|
136
|
+
variant,
|
|
137
|
+
fullWidth,
|
|
138
|
+
min,
|
|
139
|
+
max,
|
|
140
|
+
step,
|
|
141
|
+
precision,
|
|
142
|
+
hideControls,
|
|
143
|
+
value: controlledValue,
|
|
144
|
+
defaultValue,
|
|
145
|
+
onChange,
|
|
146
|
+
disabled,
|
|
147
|
+
placeholder,
|
|
148
|
+
icon,
|
|
149
|
+
style,
|
|
150
|
+
wrapperStyle,
|
|
151
|
+
...others
|
|
152
|
+
} = (0, _themeProvider.useComponentDefaultProps)('NumberInput', defaultProps, props);
|
|
153
|
+
const theme = (0, _themeProvider.useTheme)();
|
|
154
|
+
const [uncontrolledValue, setUncontrolledValue] = (0, _react.useState)(defaultValue ?? '');
|
|
155
|
+
const value = controlledValue !== undefined ? controlledValue : uncontrolledValue;
|
|
156
|
+
const {
|
|
157
|
+
styles,
|
|
158
|
+
sx
|
|
159
|
+
} = useStyles({
|
|
160
|
+
size,
|
|
161
|
+
radius,
|
|
162
|
+
variant,
|
|
163
|
+
fullWidth,
|
|
164
|
+
error: !!error,
|
|
165
|
+
disabled,
|
|
166
|
+
withIcon: !!icon
|
|
167
|
+
}, {
|
|
168
|
+
name: 'NumberInput'
|
|
169
|
+
});
|
|
170
|
+
const formatValue = val => {
|
|
171
|
+
if (precision !== undefined && precision > 0) {
|
|
172
|
+
return parseFloat(val.toFixed(precision));
|
|
173
|
+
}
|
|
174
|
+
return Math.round(val);
|
|
175
|
+
};
|
|
176
|
+
const clampValue = val => {
|
|
177
|
+
let clamped = val;
|
|
178
|
+
if (min !== undefined && clamped < min) clamped = min;
|
|
179
|
+
if (max !== undefined && clamped > max) clamped = max;
|
|
180
|
+
return formatValue(clamped);
|
|
181
|
+
};
|
|
182
|
+
const handleChange = text => {
|
|
183
|
+
if (text === '' || text === '-') {
|
|
184
|
+
if (controlledValue === undefined) {
|
|
185
|
+
setUncontrolledValue('');
|
|
186
|
+
}
|
|
187
|
+
onChange?.('');
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
const parsed = parseFloat(text);
|
|
191
|
+
if (!isNaN(parsed)) {
|
|
192
|
+
const clamped = clampValue(parsed);
|
|
193
|
+
if (controlledValue === undefined) {
|
|
194
|
+
setUncontrolledValue(clamped);
|
|
195
|
+
}
|
|
196
|
+
onChange?.(clamped);
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
const handleIncrement = () => {
|
|
200
|
+
const currentValue = typeof value === 'number' ? value : 0;
|
|
201
|
+
const newValue = clampValue(currentValue + (step || 1));
|
|
202
|
+
if (controlledValue === undefined) {
|
|
203
|
+
setUncontrolledValue(newValue);
|
|
204
|
+
}
|
|
205
|
+
onChange?.(newValue);
|
|
206
|
+
};
|
|
207
|
+
const handleDecrement = () => {
|
|
208
|
+
const currentValue = typeof value === 'number' ? value : 0;
|
|
209
|
+
const newValue = clampValue(currentValue - (step || 1));
|
|
210
|
+
if (controlledValue === undefined) {
|
|
211
|
+
setUncontrolledValue(newValue);
|
|
212
|
+
}
|
|
213
|
+
onChange?.(newValue);
|
|
214
|
+
};
|
|
215
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
|
|
216
|
+
style: sx(styles.wrapper, wrapperStyle),
|
|
217
|
+
children: [label && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
218
|
+
style: styles.label,
|
|
219
|
+
children: typeof label === 'string' ? label : label
|
|
220
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
|
|
221
|
+
style: sx(styles.inputWrapper, style),
|
|
222
|
+
children: [icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
|
|
223
|
+
style: styles.icon,
|
|
224
|
+
children: icon
|
|
225
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
226
|
+
ref: ref,
|
|
227
|
+
value: value === '' ? '' : String(value),
|
|
228
|
+
onChangeText: handleChange,
|
|
229
|
+
placeholder: placeholder,
|
|
230
|
+
placeholderTextColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[3] : (theme.colors.gray || [])[5],
|
|
231
|
+
keyboardType: "numeric",
|
|
232
|
+
editable: !disabled,
|
|
233
|
+
style: styles.input,
|
|
234
|
+
...others
|
|
235
|
+
}), !hideControls && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
|
|
236
|
+
style: styles.controls,
|
|
237
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
238
|
+
style: styles.control,
|
|
239
|
+
onPress: handleDecrement,
|
|
240
|
+
disabled: disabled || min !== undefined && typeof value === 'number' && value <= min,
|
|
241
|
+
activeOpacity: 0.7,
|
|
242
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
243
|
+
style: styles.controlText,
|
|
244
|
+
children: "\u2212"
|
|
245
|
+
})
|
|
246
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
247
|
+
style: styles.control,
|
|
248
|
+
onPress: handleIncrement,
|
|
249
|
+
disabled: disabled || max !== undefined && typeof value === 'number' && value >= max,
|
|
250
|
+
activeOpacity: 0.7,
|
|
251
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
252
|
+
style: styles.controlText,
|
|
253
|
+
children: "+"
|
|
254
|
+
})
|
|
255
|
+
})]
|
|
256
|
+
})]
|
|
257
|
+
}), description && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
258
|
+
style: styles.description,
|
|
259
|
+
children: typeof description === 'string' ? description : description
|
|
260
|
+
}), error && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
261
|
+
style: styles.error,
|
|
262
|
+
children: typeof error === 'string' ? error : error
|
|
263
|
+
})]
|
|
264
|
+
});
|
|
265
|
+
});
|
|
266
|
+
NumberInput.displayName = 'NumberInput';
|
|
267
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_themeProvider","_index3","_rem","_index4","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","useStyles","createStyles","theme","size","radius","variant","fullWidth","error","disabled","withIcon","getVariantStyles","backgroundColor","colorScheme","colors","dark","gray","borderWidth","borderColor","white","wrapper","width","undefined","label","fontSize","fontSizes","sm","fontWeight","color","black","marginBottom","spacing","xs","description","marginTop","red","inputWrapper","flexDirection","alignItems","height","getSize","sizes","INPUT_SIZES","borderRadius","fn","opacity","icon","paddingLeft","paddingRight","input","flex","paddingHorizontal","controls","control","rem","justifyContent","borderLeftWidth","borderLeftColor","controlText","defaultProps","step","precision","hideControls","NumberInput","exports","forwardRef","props","ref","min","max","value","controlledValue","defaultValue","onChange","placeholder","style","wrapperStyle","others","useComponentDefaultProps","useTheme","uncontrolledValue","setUncontrolledValue","useState","styles","sx","name","formatValue","val","parseFloat","toFixed","Math","round","clampValue","clamped","handleChange","text","parsed","isNaN","handleIncrement","currentValue","newValue","handleDecrement","jsxs","BoxView","children","jsx","Text","TextInput","String","onChangeText","placeholderTextColor","keyboardType","editable","TouchableOpacity","onPress","activeOpacity","displayName"],"sourceRoot":"../../../../src","sources":["components/NumberInput/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAOA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,I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C/B,KAAK,EAAEQ,MAAM,CAACzB,WAAY;YAAA8C,QAAA,EAAC;UAAC,CAAM;QAAC,CACzB,CAAC;MAAA,CACZ,CACV;IAAA,CACM,CAAC,EAETvE,WAAW,iBACV,IAAApD,WAAA,CAAA4H,GAAA,EAACjI,OAAA,CAAAkI,IAAI;MAAC/B,KAAK,EAAEQ,MAAM,CAAClD,WAAY;MAAAuE,QAAA,EAC7B,OAAOvE,WAAW,KAAK,QAAQ,GAAGA,WAAW,GAAGA;IAAW,CACxD,CACP,EAEAzB,KAAK,iBACJ,IAAA3B,WAAA,CAAA4H,GAAA,EAACjI,OAAA,CAAAkI,IAAI;MAAC/B,KAAK,EAAEQ,MAAM,CAAC3E,KAAM;MAAAgG,QAAA,EAAE,OAAOhG,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAGA;IAAK,CAAO,CAC7E;EAAA,CACM,CAAC;AAEd,CAAC,CAAC;AAEFuD,WAAW,CAACqD,WAAW,GAAG,aAAa","ignoreList":[]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Overlay = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _themeProvider = require("../../theme/theme-provider.js");
|
|
10
|
+
var _index = require("../../theme/index.js");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
|
+
const useStyles = (0, _index.createStyles)((theme, {
|
|
14
|
+
opacity,
|
|
15
|
+
color,
|
|
16
|
+
zIndex,
|
|
17
|
+
radius,
|
|
18
|
+
fixed
|
|
19
|
+
}) => ({
|
|
20
|
+
root: {
|
|
21
|
+
..._reactNative.StyleSheet.absoluteFillObject,
|
|
22
|
+
backgroundColor: color,
|
|
23
|
+
opacity,
|
|
24
|
+
zIndex,
|
|
25
|
+
borderRadius: theme.fn.radius(radius),
|
|
26
|
+
...(fixed && {
|
|
27
|
+
position: 'absolute'
|
|
28
|
+
})
|
|
29
|
+
}
|
|
30
|
+
}));
|
|
31
|
+
const defaultProps = {
|
|
32
|
+
opacity: 0.6,
|
|
33
|
+
color: '#000',
|
|
34
|
+
zIndex: 1000,
|
|
35
|
+
radius: 0,
|
|
36
|
+
fixed: false
|
|
37
|
+
};
|
|
38
|
+
const Overlay = exports.Overlay = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
39
|
+
const {
|
|
40
|
+
opacity,
|
|
41
|
+
color,
|
|
42
|
+
zIndex,
|
|
43
|
+
radius,
|
|
44
|
+
children,
|
|
45
|
+
onPress,
|
|
46
|
+
style,
|
|
47
|
+
fixed,
|
|
48
|
+
...others
|
|
49
|
+
} = (0, _themeProvider.useComponentDefaultProps)('Overlay', defaultProps, props);
|
|
50
|
+
const {
|
|
51
|
+
styles,
|
|
52
|
+
sx
|
|
53
|
+
} = useStyles({
|
|
54
|
+
opacity,
|
|
55
|
+
color,
|
|
56
|
+
zIndex,
|
|
57
|
+
radius,
|
|
58
|
+
fixed
|
|
59
|
+
}, {
|
|
60
|
+
name: 'Overlay'
|
|
61
|
+
});
|
|
62
|
+
const content = /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
|
|
63
|
+
ref: ref,
|
|
64
|
+
style: sx(styles.root, style),
|
|
65
|
+
...others,
|
|
66
|
+
children: children
|
|
67
|
+
});
|
|
68
|
+
if (onPress) {
|
|
69
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableWithoutFeedback, {
|
|
70
|
+
onPress: onPress,
|
|
71
|
+
children: content
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return content;
|
|
75
|
+
});
|
|
76
|
+
Overlay.displayName = 'Overlay';
|
|
77
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_themeProvider","_index","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","useStyles","createStyles","theme","opacity","color","zIndex","radius","fixed","root","StyleSheet","absoluteFillObject","backgroundColor","borderRadius","fn","position","defaultProps","Overlay","exports","forwardRef","props","ref","children","onPress","style","others","useComponentDefaultProps","styles","sx","name","content","jsx","Animated","View","TouchableWithoutFeedback","displayName"],"sourceRoot":"../../../../src","sources":["components/Overlay/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAA2C,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAR,uBAAA,YAAAA,CAAAM,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,y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EAAoB,CAACC,KAAK,EAAEC,GAAG,KAAK;EACnE,MAAM;IAAEjB,OAAO;IAAEC,KAAK;IAAEC,MAAM;IAAEC,MAAM;IAAEe,QAAQ;IAAEC,OAAO;IAAEC,KAAK;IAAEhB,KAAK;IAAE,GAAGiB;EAAM,CAAC,GACjF,IAAAC,uCAAwB,EAAC,SAAS,EAAEV,YAAY,EAAEI,KAAK,CAAC;EAE1D,MAAM;IAAEO,MAAM;IAAEC;EAAE,CAAC,GAAG3B,SAAS,CAC7B;IAAEG,OAAO;IAAEC,KAAK;IAAEC,MAAM;IAAEC,MAAM;IAAEC;EAAM,CAAC,EACzC;IAAEqB,IAAI,EAAE;EAAU,CACpB,CAAQ;EAER,MAAMC,OAAO,gBACX,IAAAjD,WAAA,CAAAkD,GAAA,EAACrD,YAAA,CAAAsD,QAAQ,CAACC,IAAI;IAACZ,GAAG,EAAEA,GAAI;IAACG,KAAK,EAAEI,EAAE,CAACD,MAAM,CAAClB,IAAI,EAAEe,KAAK,CAAE;IAAA,GAAKC,MAAM;IAAAH,QAAA,EAC/DA;EAAQ,CACI,CAChB;EAED,IAAIC,OAAO,EAAE;IACX,oBACE,IAAA1C,WAAA,CAAAkD,GAAA,EAACrD,YAAA,CAAAwD,wBAAwB;MAACX,OAAO,EAAEA,OAAQ;MAAAD,QAAA,EACxCQ;IAAO,CACgB,CAAC;EAE/B;EAEA,OAAOA,OAAO;AAChB,CAAC,CAAC;AAEFb,OAAO,CAACkB,WAAW,GAAG,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Pagination = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../BoxView/index.js");
|
|
10
|
+
var _index2 = require("../Text/index.js");
|
|
11
|
+
var _themeProvider = require("../../theme/theme-provider.js");
|
|
12
|
+
var _index3 = require("../../theme/index.js");
|
|
13
|
+
var _rem = require("../../theme/utils/rem.js");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
16
|
+
const sizes = {
|
|
17
|
+
xs: {
|
|
18
|
+
height: (0, _rem.rem)(24),
|
|
19
|
+
minWidth: (0, _rem.rem)(24),
|
|
20
|
+
fontSize: (0, _rem.rem)(10),
|
|
21
|
+
padding: (0, _rem.rem)(4)
|
|
22
|
+
},
|
|
23
|
+
sm: {
|
|
24
|
+
height: (0, _rem.rem)(28),
|
|
25
|
+
minWidth: (0, _rem.rem)(28),
|
|
26
|
+
fontSize: (0, _rem.rem)(12),
|
|
27
|
+
padding: (0, _rem.rem)(6)
|
|
28
|
+
},
|
|
29
|
+
md: {
|
|
30
|
+
height: (0, _rem.rem)(32),
|
|
31
|
+
minWidth: (0, _rem.rem)(32),
|
|
32
|
+
fontSize: (0, _rem.rem)(14),
|
|
33
|
+
padding: (0, _rem.rem)(8)
|
|
34
|
+
},
|
|
35
|
+
lg: {
|
|
36
|
+
height: (0, _rem.rem)(38),
|
|
37
|
+
minWidth: (0, _rem.rem)(38),
|
|
38
|
+
fontSize: (0, _rem.rem)(16),
|
|
39
|
+
padding: (0, _rem.rem)(10)
|
|
40
|
+
},
|
|
41
|
+
xl: {
|
|
42
|
+
height: (0, _rem.rem)(44),
|
|
43
|
+
minWidth: (0, _rem.rem)(44),
|
|
44
|
+
fontSize: (0, _rem.rem)(18),
|
|
45
|
+
padding: (0, _rem.rem)(12)
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const useStyles = (0, _index3.createStyles)((theme, {
|
|
49
|
+
color,
|
|
50
|
+
radius,
|
|
51
|
+
disabled
|
|
52
|
+
}, {
|
|
53
|
+
size
|
|
54
|
+
}) => {
|
|
55
|
+
const colors = theme.colors[color] || theme.colors[theme.primaryColor];
|
|
56
|
+
const sizeStyles = sizes[size] || sizes.md;
|
|
57
|
+
return {
|
|
58
|
+
root: {
|
|
59
|
+
flexDirection: 'row',
|
|
60
|
+
alignItems: 'center',
|
|
61
|
+
opacity: disabled ? 0.5 : 1
|
|
62
|
+
},
|
|
63
|
+
item: {
|
|
64
|
+
height: sizeStyles.height,
|
|
65
|
+
minWidth: sizeStyles.minWidth,
|
|
66
|
+
paddingHorizontal: sizeStyles.padding,
|
|
67
|
+
justifyContent: 'center',
|
|
68
|
+
alignItems: 'center',
|
|
69
|
+
borderRadius: theme.fn.radius(radius),
|
|
70
|
+
marginHorizontal: (0, _rem.rem)(2),
|
|
71
|
+
borderWidth: 1,
|
|
72
|
+
borderColor: 'transparent'
|
|
73
|
+
},
|
|
74
|
+
itemDefault: {
|
|
75
|
+
backgroundColor: 'transparent',
|
|
76
|
+
borderColor: theme.colorScheme === 'dark' ? theme.colors.dark?.[4] : theme.colors.gray?.[3]
|
|
77
|
+
},
|
|
78
|
+
itemActive: {
|
|
79
|
+
backgroundColor: colors?.[6] || colors?.[5] || theme.primaryBgColor,
|
|
80
|
+
borderColor: colors?.[6] || colors?.[5] || theme.primaryBgColor
|
|
81
|
+
},
|
|
82
|
+
itemControl: {
|
|
83
|
+
backgroundColor: 'transparent'
|
|
84
|
+
},
|
|
85
|
+
label: {
|
|
86
|
+
fontSize: sizeStyles.fontSize,
|
|
87
|
+
fontWeight: '500'
|
|
88
|
+
},
|
|
89
|
+
labelDefault: {
|
|
90
|
+
color: theme.colorScheme === 'dark' ? theme.white : theme.black
|
|
91
|
+
},
|
|
92
|
+
labelActive: {
|
|
93
|
+
color: theme.white
|
|
94
|
+
},
|
|
95
|
+
labelControl: {
|
|
96
|
+
color: theme.colorScheme === 'dark' ? theme.colors.dark?.[1] : theme.colors.gray?.[7]
|
|
97
|
+
},
|
|
98
|
+
labelDisabled: {
|
|
99
|
+
color: theme.colorScheme === 'dark' ? theme.colors.dark?.[3] : theme.colors.gray?.[5]
|
|
100
|
+
},
|
|
101
|
+
dots: {
|
|
102
|
+
paddingHorizontal: (0, _rem.rem)(8)
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
const defaultProps = {
|
|
107
|
+
size: 'md',
|
|
108
|
+
color: 'blue',
|
|
109
|
+
radius: 'sm',
|
|
110
|
+
siblings: 1,
|
|
111
|
+
boundaries: 1,
|
|
112
|
+
withControls: true,
|
|
113
|
+
withEdges: false,
|
|
114
|
+
disabled: false
|
|
115
|
+
};
|
|
116
|
+
const range = (start, end) => {
|
|
117
|
+
const length = end - start + 1;
|
|
118
|
+
return Array.from({
|
|
119
|
+
length
|
|
120
|
+
}, (_, i) => start + i);
|
|
121
|
+
};
|
|
122
|
+
const DOTS = 'dots';
|
|
123
|
+
const Pagination = exports.Pagination = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
124
|
+
const {
|
|
125
|
+
value: controlledValue,
|
|
126
|
+
defaultValue,
|
|
127
|
+
onChange,
|
|
128
|
+
total,
|
|
129
|
+
size,
|
|
130
|
+
color,
|
|
131
|
+
radius,
|
|
132
|
+
siblings,
|
|
133
|
+
boundaries,
|
|
134
|
+
withControls,
|
|
135
|
+
withEdges,
|
|
136
|
+
disabled,
|
|
137
|
+
previousIcon,
|
|
138
|
+
nextIcon,
|
|
139
|
+
firstIcon,
|
|
140
|
+
lastIcon,
|
|
141
|
+
style,
|
|
142
|
+
...others
|
|
143
|
+
} = (0, _themeProvider.useComponentDefaultProps)('Pagination', defaultProps, props);
|
|
144
|
+
const {
|
|
145
|
+
styles,
|
|
146
|
+
sx
|
|
147
|
+
} = useStyles({
|
|
148
|
+
color,
|
|
149
|
+
radius,
|
|
150
|
+
disabled
|
|
151
|
+
}, {
|
|
152
|
+
name: 'Pagination',
|
|
153
|
+
size
|
|
154
|
+
});
|
|
155
|
+
const [uncontrolledValue, setUncontrolledValue] = _react.default.useState(defaultValue ?? 1);
|
|
156
|
+
const value = controlledValue !== undefined ? controlledValue : uncontrolledValue;
|
|
157
|
+
const handlePageChange = page => {
|
|
158
|
+
if (disabled) return;
|
|
159
|
+
if (page < 1 || page > total) return;
|
|
160
|
+
if (controlledValue === undefined) {
|
|
161
|
+
setUncontrolledValue(page);
|
|
162
|
+
}
|
|
163
|
+
onChange?.(page);
|
|
164
|
+
};
|
|
165
|
+
const paginationRange = _react.default.useMemo(() => {
|
|
166
|
+
const totalPageNumbers = siblings * 2 + 3 + boundaries * 2;
|
|
167
|
+
if (totalPageNumbers >= total) {
|
|
168
|
+
return range(1, total);
|
|
169
|
+
}
|
|
170
|
+
const leftSiblingIndex = Math.max(value - siblings, boundaries + 1);
|
|
171
|
+
const rightSiblingIndex = Math.min(value + siblings, total - boundaries);
|
|
172
|
+
const shouldShowLeftDots = leftSiblingIndex > boundaries + 2;
|
|
173
|
+
const shouldShowRightDots = rightSiblingIndex < total - (boundaries + 1);
|
|
174
|
+
if (!shouldShowLeftDots && shouldShowRightDots) {
|
|
175
|
+
const leftItemCount = siblings * 2 + boundaries + 2;
|
|
176
|
+
return [...range(1, leftItemCount), DOTS, ...range(total - (boundaries - 1), total)];
|
|
177
|
+
}
|
|
178
|
+
if (shouldShowLeftDots && !shouldShowRightDots) {
|
|
179
|
+
const rightItemCount = boundaries + 1 + 2 * siblings;
|
|
180
|
+
return [...range(1, boundaries), DOTS, ...range(total - rightItemCount, total)];
|
|
181
|
+
}
|
|
182
|
+
return [...range(1, boundaries), DOTS, ...range(leftSiblingIndex, rightSiblingIndex), DOTS, ...range(total - boundaries + 1, total)];
|
|
183
|
+
}, [total, value, siblings, boundaries]);
|
|
184
|
+
const renderItem = (page, index) => {
|
|
185
|
+
if (page === DOTS) {
|
|
186
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
|
|
187
|
+
style: styles.dots,
|
|
188
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
189
|
+
style: [styles.label, styles.labelDefault],
|
|
190
|
+
children: "..."
|
|
191
|
+
})
|
|
192
|
+
}, `dots-${index}`);
|
|
193
|
+
}
|
|
194
|
+
const pageNumber = page;
|
|
195
|
+
const isActive = pageNumber === value;
|
|
196
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
197
|
+
style: [styles.item, isActive ? styles.itemActive : styles.itemDefault],
|
|
198
|
+
onPress: () => handlePageChange(pageNumber),
|
|
199
|
+
disabled: disabled,
|
|
200
|
+
activeOpacity: 0.7,
|
|
201
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
202
|
+
style: [styles.label, isActive ? styles.labelActive : styles.labelDefault],
|
|
203
|
+
children: pageNumber
|
|
204
|
+
})
|
|
205
|
+
}, pageNumber);
|
|
206
|
+
};
|
|
207
|
+
const canGoPrevious = value > 1;
|
|
208
|
+
const canGoNext = value < total;
|
|
209
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
|
|
210
|
+
ref: ref,
|
|
211
|
+
style: sx(styles.root, style),
|
|
212
|
+
...others,
|
|
213
|
+
children: [withEdges && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
214
|
+
style: [styles.item, styles.itemControl],
|
|
215
|
+
onPress: () => handlePageChange(1),
|
|
216
|
+
disabled: disabled || !canGoPrevious,
|
|
217
|
+
activeOpacity: 0.7,
|
|
218
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
219
|
+
style: [styles.label, styles.labelControl, (!canGoPrevious || disabled) && styles.labelDisabled],
|
|
220
|
+
children: firstIcon || '<<'
|
|
221
|
+
})
|
|
222
|
+
}), withControls && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
223
|
+
style: [styles.item, styles.itemControl],
|
|
224
|
+
onPress: () => handlePageChange(value - 1),
|
|
225
|
+
disabled: disabled || !canGoPrevious,
|
|
226
|
+
activeOpacity: 0.7,
|
|
227
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
228
|
+
style: [styles.label, styles.labelControl, (!canGoPrevious || disabled) && styles.labelDisabled],
|
|
229
|
+
children: previousIcon || '<'
|
|
230
|
+
})
|
|
231
|
+
}), paginationRange.map(renderItem), withControls && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
232
|
+
style: [styles.item, styles.itemControl],
|
|
233
|
+
onPress: () => handlePageChange(value + 1),
|
|
234
|
+
disabled: disabled || !canGoNext,
|
|
235
|
+
activeOpacity: 0.7,
|
|
236
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
237
|
+
style: [styles.label, styles.labelControl, (!canGoNext || disabled) && styles.labelDisabled],
|
|
238
|
+
children: nextIcon || '>'
|
|
239
|
+
})
|
|
240
|
+
}), withEdges && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
241
|
+
style: [styles.item, styles.itemControl],
|
|
242
|
+
onPress: () => handlePageChange(total),
|
|
243
|
+
disabled: disabled || !canGoNext,
|
|
244
|
+
activeOpacity: 0.7,
|
|
245
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
246
|
+
style: [styles.label, styles.labelControl, (!canGoNext || disabled) && styles.labelDisabled],
|
|
247
|
+
children: lastIcon || '>>'
|
|
248
|
+
})
|
|
249
|
+
})]
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
Pagination.displayName = 'Pagination';
|
|
253
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_themeProvider","_index3","_rem","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","sizes","xs","height","rem","minWidth","fontSize","padding","sm","md","lg","xl","useStyles","createStyles","theme","color","radius","disabled","size","colors","primaryColor","sizeStyles","root","flexDirection","alignItems","opacity","item","paddingHorizontal","justifyContent","borderRadius","fn","marginHorizontal","borderWidth","borderColor","itemDefault","backgroundColor","colorScheme","dark","gray","itemActive","primaryBgColor","itemControl","label","fontWeight","labelDefault","white","black","labelActive","labelControl","labelDisabled","dots","defaultProps","siblings","boundaries","withControls","withEdges","range","start","end","length","Array","from","_","DOTS","Pagination","exports","forwardRef","props","ref","value","controlledValue","defaultValue","onChange","total","previousIcon","nextIcon","firstIcon","lastIcon","style","others","useComponentDefaultProps","styles","sx","name","uncontrolledValue","setUncontrolledValue","React","useState","undefined","handlePageChange","page","paginationRange","useMemo","totalPageNumbers","leftSiblingIndex","Math","max","rightSiblingIndex","min","shouldShowLeftDots","shouldShowRightDots","leftItemCount","rightItemCount","renderItem","index","jsx","BoxView","children","Text","pageNumber","isActive","TouchableOpacity","onPress","activeOpacity","canGoPrevious","canGoNext","jsxs","map","displayName"],"sourceRoot":"../../../../src","sources":["components/Pagination/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAEA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,IAAA,GAAAN,O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