react-native-mantine 0.1.13 → 0.2.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/lib/commonjs/components/Accordion/index.js +251 -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 +108 -0
- package/lib/commonjs/components/Anchor/index.js.map +1 -0
- package/lib/commonjs/components/AspectRatio/index.js +66 -0
- package/lib/commonjs/components/AspectRatio/index.js.map +1 -0
- package/lib/commonjs/components/Avatar/index.js +129 -0
- package/lib/commonjs/components/Avatar/index.js.map +1 -0
- package/lib/commonjs/components/BackgroundImage/index.js +56 -0
- package/lib/commonjs/components/BackgroundImage/index.js.map +1 -0
- package/lib/commonjs/components/Badge/index.js +190 -0
- package/lib/commonjs/components/Badge/index.js.map +1 -0
- package/lib/commonjs/components/Blockquote/index.js +98 -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 +58 -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 +2 -1
- package/lib/commonjs/components/Button/index.js.map +1 -1
- package/lib/commonjs/components/Card/index.js +136 -0
- package/lib/commonjs/components/Card/index.js.map +1 -0
- package/lib/commonjs/components/Center/index.js +36 -0
- package/lib/commonjs/components/Center/index.js.map +1 -0
- package/lib/commonjs/components/Checkbox/index.js +140 -0
- package/lib/commonjs/components/Checkbox/index.js.map +1 -0
- package/lib/commonjs/components/Chip/index.js +269 -0
- package/lib/commonjs/components/Chip/index.js.map +1 -0
- package/lib/commonjs/components/CloseButton/index.js +137 -0
- package/lib/commonjs/components/CloseButton/index.js.map +1 -0
- package/lib/commonjs/components/Code/index.js +68 -0
- package/lib/commonjs/components/Code/index.js.map +1 -0
- package/lib/commonjs/components/Collapse/index.js +83 -0
- package/lib/commonjs/components/Collapse/index.js.map +1 -0
- package/lib/commonjs/components/ColorSwatch/index.js +96 -0
- package/lib/commonjs/components/ColorSwatch/index.js.map +1 -0
- package/lib/commonjs/components/Container/index.js +71 -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 +140 -0
- package/lib/commonjs/components/Dialog/index.js.map +1 -0
- package/lib/commonjs/components/Divider/index.js +148 -0
- package/lib/commonjs/components/Divider/index.js.map +1 -0
- package/lib/commonjs/components/Drawer/index.js +252 -0
- package/lib/commonjs/components/Drawer/index.js.map +1 -0
- package/lib/commonjs/components/Flex/index.js +63 -0
- package/lib/commonjs/components/Flex/index.js.map +1 -0
- package/lib/commonjs/components/Grid/index.js +145 -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 +133 -0
- package/lib/commonjs/components/Image/index.js.map +1 -0
- package/lib/commonjs/components/Indicator/index.js +199 -0
- package/lib/commonjs/components/Indicator/index.js.map +1 -0
- package/lib/commonjs/components/Kbd/index.js +96 -0
- package/lib/commonjs/components/Kbd/index.js.map +1 -0
- package/lib/commonjs/components/List/index.js +217 -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 +47 -0
- package/lib/commonjs/components/Mark/index.js.map +1 -0
- package/lib/commonjs/components/MediaQuery/index.js +89 -0
- package/lib/commonjs/components/MediaQuery/index.js.map +1 -0
- package/lib/commonjs/components/Menu/index.js +306 -0
- package/lib/commonjs/components/Menu/index.js.map +1 -0
- package/lib/commonjs/components/Modal/index.js +236 -0
- package/lib/commonjs/components/Modal/index.js.map +1 -0
- package/lib/commonjs/components/MultiSelect/index.js +300 -0
- package/lib/commonjs/components/MultiSelect/index.js.map +1 -0
- package/lib/commonjs/components/NativeSelect/index.js +295 -0
- package/lib/commonjs/components/NativeSelect/index.js.map +1 -0
- package/lib/commonjs/components/NavLink/index.js +164 -0
- package/lib/commonjs/components/NavLink/index.js.map +1 -0
- package/lib/commonjs/components/Notification/index.js +143 -0
- package/lib/commonjs/components/Notification/index.js.map +1 -0
- package/lib/commonjs/components/NumberInput/index.js +268 -0
- package/lib/commonjs/components/NumberInput/index.js.map +1 -0
- package/lib/commonjs/components/Overlay/index.js +78 -0
- package/lib/commonjs/components/Overlay/index.js.map +1 -0
- package/lib/commonjs/components/Pagination/index.js +254 -0
- package/lib/commonjs/components/Pagination/index.js.map +1 -0
- package/lib/commonjs/components/Paper/index.js +156 -0
- package/lib/commonjs/components/Paper/index.js.map +1 -0
- package/lib/commonjs/components/PasswordInput/index.js +68 -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 +163 -0
- package/lib/commonjs/components/Popover/index.js.map +1 -0
- package/lib/commonjs/components/Portal/index.js +70 -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 +136 -0
- package/lib/commonjs/components/Radio/index.js.map +1 -0
- package/lib/commonjs/components/Rating/index.js +152 -0
- package/lib/commonjs/components/Rating/index.js.map +1 -0
- package/lib/commonjs/components/RingProgress/index.js +175 -0
- package/lib/commonjs/components/RingProgress/index.js.map +1 -0
- package/lib/commonjs/components/SegmentedControl/index.js +226 -0
- package/lib/commonjs/components/SegmentedControl/index.js.map +1 -0
- package/lib/commonjs/components/Select/index.js +245 -0
- package/lib/commonjs/components/Select/index.js.map +1 -0
- package/lib/commonjs/components/SimpleGrid/index.js +102 -0
- package/lib/commonjs/components/SimpleGrid/index.js.map +1 -0
- package/lib/commonjs/components/Skeleton/index.js +112 -0
- package/lib/commonjs/components/Skeleton/index.js.map +1 -0
- package/lib/commonjs/components/Slider/index.js +276 -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 +110 -0
- package/lib/commonjs/components/Spoiler/index.js.map +1 -0
- package/lib/commonjs/components/Stepper/index.js +276 -0
- package/lib/commonjs/components/Stepper/index.js.map +1 -0
- package/lib/commonjs/components/Switch/index.js +119 -0
- package/lib/commonjs/components/Switch/index.js.map +1 -0
- package/lib/commonjs/components/Table/index.js +314 -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 +185 -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 +145 -0
- package/lib/commonjs/components/ThemeIcon/index.js.map +1 -0
- package/lib/commonjs/components/Timeline/index.js +242 -0
- package/lib/commonjs/components/Timeline/index.js.map +1 -0
- package/lib/commonjs/components/Title/index.js +45 -0
- package/lib/commonjs/components/Title/index.js.map +1 -0
- package/lib/commonjs/components/Tooltip/index.js +187 -0
- package/lib/commonjs/components/Tooltip/index.js.map +1 -0
- package/lib/commonjs/components/TransferList/index.js +293 -0
- package/lib/commonjs/components/TransferList/index.js.map +1 -0
- package/lib/commonjs/components/Transition/index.js +175 -0
- package/lib/commonjs/components/Transition/index.js.map +1 -0
- package/lib/commonjs/components/index.js +759 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/theme/create-theme.js +1 -0
- 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 +5 -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/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/theme/create-theme.js +1 -0
- 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/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/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/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/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/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/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/utils/rem.d.ts +2 -2
- package/lib/typescript/module/src/theme/utils/rem.d.ts.map +1 -1
- package/package.json +3 -1
- 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 +1 -0
- 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/utils/rem.ts +9 -7
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { forwardRef, useState } from 'react';
|
|
4
|
+
import { ScrollView, TouchableOpacity } from 'react-native';
|
|
5
|
+
import { BoxView } from "../BoxView/index.js";
|
|
6
|
+
import { Text } from "../Text/index.js";
|
|
7
|
+
import { Checkbox } from "../Checkbox/index.js";
|
|
8
|
+
import { _Button as Button } from "../Button/index.js";
|
|
9
|
+
import { TextInput } from "../TextInput/index.js";
|
|
10
|
+
import { useComponentDefaultProps } from "../../theme/theme-provider.js";
|
|
11
|
+
import { createStyles } from "../../theme/index.js";
|
|
12
|
+
import { rem } from "../../theme/utils/rem.js";
|
|
13
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
const useStyles = createStyles((theme, {
|
|
15
|
+
color,
|
|
16
|
+
radius,
|
|
17
|
+
listHeight
|
|
18
|
+
}) => {
|
|
19
|
+
const colors = theme.colors[color] || theme.colors[theme.primaryColor];
|
|
20
|
+
return {
|
|
21
|
+
root: {
|
|
22
|
+
flexDirection: 'column'
|
|
23
|
+
},
|
|
24
|
+
container: {
|
|
25
|
+
flexDirection: 'row',
|
|
26
|
+
justifyContent: 'space-between',
|
|
27
|
+
alignItems: 'stretch'
|
|
28
|
+
},
|
|
29
|
+
list: {
|
|
30
|
+
flex: 1,
|
|
31
|
+
borderWidth: 1,
|
|
32
|
+
borderColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[3],
|
|
33
|
+
borderRadius: theme.fn.radius(radius),
|
|
34
|
+
overflow: 'hidden'
|
|
35
|
+
},
|
|
36
|
+
listHeader: {
|
|
37
|
+
padding: theme.spacing.sm,
|
|
38
|
+
borderBottomWidth: 1,
|
|
39
|
+
borderBottomColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[3],
|
|
40
|
+
backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[6] : (theme.colors.gray || [])[0]
|
|
41
|
+
},
|
|
42
|
+
title: {
|
|
43
|
+
fontSize: rem(14),
|
|
44
|
+
fontWeight: '600',
|
|
45
|
+
color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[0] : theme.black
|
|
46
|
+
},
|
|
47
|
+
searchContainer: {
|
|
48
|
+
padding: theme.spacing.xs,
|
|
49
|
+
borderBottomWidth: 1,
|
|
50
|
+
borderBottomColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[3]
|
|
51
|
+
},
|
|
52
|
+
itemsContainer: {
|
|
53
|
+
height: listHeight
|
|
54
|
+
},
|
|
55
|
+
item: {
|
|
56
|
+
flexDirection: 'row',
|
|
57
|
+
alignItems: 'center',
|
|
58
|
+
paddingVertical: rem(10),
|
|
59
|
+
paddingHorizontal: theme.spacing.sm,
|
|
60
|
+
borderBottomWidth: 1,
|
|
61
|
+
borderBottomColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[5] : (theme.colors.gray || [])[1]
|
|
62
|
+
},
|
|
63
|
+
itemSelected: {
|
|
64
|
+
backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[5] : colors?.[0] || (theme.colors.gray || [])[0]
|
|
65
|
+
},
|
|
66
|
+
itemText: {
|
|
67
|
+
marginLeft: theme.spacing.sm,
|
|
68
|
+
fontSize: rem(14),
|
|
69
|
+
color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[0] : theme.black
|
|
70
|
+
},
|
|
71
|
+
controls: {
|
|
72
|
+
width: rem(80),
|
|
73
|
+
justifyContent: 'center',
|
|
74
|
+
alignItems: 'center',
|
|
75
|
+
paddingHorizontal: theme.spacing.xs
|
|
76
|
+
},
|
|
77
|
+
button: {
|
|
78
|
+
marginVertical: theme.spacing.xs
|
|
79
|
+
},
|
|
80
|
+
emptyState: {
|
|
81
|
+
padding: theme.spacing.xl,
|
|
82
|
+
alignItems: 'center'
|
|
83
|
+
},
|
|
84
|
+
emptyText: {
|
|
85
|
+
color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[2] : (theme.colors.gray || [])[6],
|
|
86
|
+
fontSize: rem(12)
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
const defaultProps = {
|
|
91
|
+
titles: ['', ''],
|
|
92
|
+
searchPlaceholder: 'Search...',
|
|
93
|
+
searchable: false,
|
|
94
|
+
color: 'blue',
|
|
95
|
+
size: 'md',
|
|
96
|
+
radius: 'sm',
|
|
97
|
+
listHeight: 300,
|
|
98
|
+
transferAllMatchingFilter: false
|
|
99
|
+
};
|
|
100
|
+
const DefaultItem = ({
|
|
101
|
+
data,
|
|
102
|
+
selected
|
|
103
|
+
}) => {
|
|
104
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
105
|
+
children: [/*#__PURE__*/_jsx(Checkbox, {
|
|
106
|
+
checked: selected,
|
|
107
|
+
onChange: () => {}
|
|
108
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
109
|
+
children: data.label
|
|
110
|
+
})]
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
export const TransferList = /*#__PURE__*/forwardRef((props, ref) => {
|
|
114
|
+
const {
|
|
115
|
+
value,
|
|
116
|
+
onChange,
|
|
117
|
+
titles,
|
|
118
|
+
searchPlaceholder,
|
|
119
|
+
searchable,
|
|
120
|
+
color,
|
|
121
|
+
size,
|
|
122
|
+
radius,
|
|
123
|
+
listHeight,
|
|
124
|
+
transferAllMatchingFilter,
|
|
125
|
+
itemComponent: ItemComponent = DefaultItem,
|
|
126
|
+
style,
|
|
127
|
+
...others
|
|
128
|
+
} = useComponentDefaultProps('TransferList', defaultProps, props);
|
|
129
|
+
const [leftSearch, setLeftSearch] = useState('');
|
|
130
|
+
const [rightSearch, setRightSearch] = useState('');
|
|
131
|
+
const {
|
|
132
|
+
styles,
|
|
133
|
+
sx
|
|
134
|
+
} = useStyles({
|
|
135
|
+
color,
|
|
136
|
+
radius,
|
|
137
|
+
listHeight
|
|
138
|
+
}, {
|
|
139
|
+
name: 'TransferList',
|
|
140
|
+
size
|
|
141
|
+
});
|
|
142
|
+
const [leftData, rightData] = value;
|
|
143
|
+
const filterItems = (items, search) => {
|
|
144
|
+
if (!search) return items;
|
|
145
|
+
return items.filter(item => item.label.toLowerCase().includes(search.toLowerCase()));
|
|
146
|
+
};
|
|
147
|
+
const filteredLeftItems = filterItems(leftData.items, leftSearch);
|
|
148
|
+
const filteredRightItems = filterItems(rightData.items, rightSearch);
|
|
149
|
+
const toggleSelection = (side, itemValue) => {
|
|
150
|
+
const data = side === 'left' ? leftData : rightData;
|
|
151
|
+
const selectedValues = data.selectedValues.includes(itemValue) ? data.selectedValues.filter(v => v !== itemValue) : [...data.selectedValues, itemValue];
|
|
152
|
+
const newValue = side === 'left' ? [{
|
|
153
|
+
...leftData,
|
|
154
|
+
selectedValues
|
|
155
|
+
}, rightData] : [leftData, {
|
|
156
|
+
...rightData,
|
|
157
|
+
selectedValues
|
|
158
|
+
}];
|
|
159
|
+
onChange(newValue);
|
|
160
|
+
};
|
|
161
|
+
const transferToRight = () => {
|
|
162
|
+
const itemsToTransfer = leftData.items.filter(item => leftData.selectedValues.includes(item.value));
|
|
163
|
+
const remainingItems = leftData.items.filter(item => !leftData.selectedValues.includes(item.value));
|
|
164
|
+
onChange([{
|
|
165
|
+
items: remainingItems,
|
|
166
|
+
selectedValues: []
|
|
167
|
+
}, {
|
|
168
|
+
items: [...rightData.items, ...itemsToTransfer],
|
|
169
|
+
selectedValues: []
|
|
170
|
+
}]);
|
|
171
|
+
};
|
|
172
|
+
const transferToLeft = () => {
|
|
173
|
+
const itemsToTransfer = rightData.items.filter(item => rightData.selectedValues.includes(item.value));
|
|
174
|
+
const remainingItems = rightData.items.filter(item => !rightData.selectedValues.includes(item.value));
|
|
175
|
+
onChange([{
|
|
176
|
+
items: [...leftData.items, ...itemsToTransfer],
|
|
177
|
+
selectedValues: []
|
|
178
|
+
}, {
|
|
179
|
+
items: remainingItems,
|
|
180
|
+
selectedValues: []
|
|
181
|
+
}]);
|
|
182
|
+
};
|
|
183
|
+
const transferAllToRight = () => {
|
|
184
|
+
onChange([{
|
|
185
|
+
items: [],
|
|
186
|
+
selectedValues: []
|
|
187
|
+
}, {
|
|
188
|
+
items: [...rightData.items, ...leftData.items],
|
|
189
|
+
selectedValues: []
|
|
190
|
+
}]);
|
|
191
|
+
};
|
|
192
|
+
const transferAllToLeft = () => {
|
|
193
|
+
onChange([{
|
|
194
|
+
items: [...leftData.items, ...rightData.items],
|
|
195
|
+
selectedValues: []
|
|
196
|
+
}, {
|
|
197
|
+
items: [],
|
|
198
|
+
selectedValues: []
|
|
199
|
+
}]);
|
|
200
|
+
};
|
|
201
|
+
const renderList = (data, filteredItems, side, searchValue, setSearchValue, title) => /*#__PURE__*/_jsxs(BoxView, {
|
|
202
|
+
style: styles.list,
|
|
203
|
+
children: [title && /*#__PURE__*/_jsx(BoxView, {
|
|
204
|
+
style: styles.listHeader,
|
|
205
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
206
|
+
style: styles.title,
|
|
207
|
+
children: title
|
|
208
|
+
})
|
|
209
|
+
}), searchable && /*#__PURE__*/_jsx(BoxView, {
|
|
210
|
+
style: styles.searchContainer,
|
|
211
|
+
children: /*#__PURE__*/_jsx(TextInput, {
|
|
212
|
+
placeholder: searchPlaceholder,
|
|
213
|
+
value: searchValue,
|
|
214
|
+
onChange: e => setSearchValue(e.nativeEvent.text),
|
|
215
|
+
size: "sm"
|
|
216
|
+
})
|
|
217
|
+
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
218
|
+
style: styles.itemsContainer,
|
|
219
|
+
children: filteredItems.length === 0 ? /*#__PURE__*/_jsx(BoxView, {
|
|
220
|
+
style: styles.emptyState,
|
|
221
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
222
|
+
style: styles.emptyText,
|
|
223
|
+
children: "No items"
|
|
224
|
+
})
|
|
225
|
+
}) : filteredItems.map(item => {
|
|
226
|
+
const isSelected = data.selectedValues.includes(item.value);
|
|
227
|
+
return /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
228
|
+
style: [styles.item, isSelected && styles.itemSelected],
|
|
229
|
+
onPress: () => toggleSelection(side, item.value),
|
|
230
|
+
children: [/*#__PURE__*/_jsx(ItemComponent, {
|
|
231
|
+
data: item,
|
|
232
|
+
selected: isSelected
|
|
233
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
234
|
+
style: styles.itemText,
|
|
235
|
+
children: item.label
|
|
236
|
+
})]
|
|
237
|
+
}, item.value);
|
|
238
|
+
})
|
|
239
|
+
})]
|
|
240
|
+
});
|
|
241
|
+
return /*#__PURE__*/_jsx(BoxView, {
|
|
242
|
+
ref: ref,
|
|
243
|
+
style: sx(styles.root, style),
|
|
244
|
+
...others,
|
|
245
|
+
children: /*#__PURE__*/_jsxs(BoxView, {
|
|
246
|
+
style: styles.container,
|
|
247
|
+
children: [renderList(leftData, filteredLeftItems, 'left', leftSearch, setLeftSearch, titles?.[0] || ''), /*#__PURE__*/_jsxs(BoxView, {
|
|
248
|
+
style: styles.controls,
|
|
249
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
250
|
+
style: styles.button,
|
|
251
|
+
onPress: transferAllToRight,
|
|
252
|
+
disabled: leftData.items.length === 0,
|
|
253
|
+
size: "sm",
|
|
254
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
255
|
+
children: '»'
|
|
256
|
+
})
|
|
257
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
258
|
+
style: styles.button,
|
|
259
|
+
onPress: transferToRight,
|
|
260
|
+
disabled: leftData.selectedValues.length === 0,
|
|
261
|
+
size: "sm",
|
|
262
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
263
|
+
children: '›'
|
|
264
|
+
})
|
|
265
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
266
|
+
style: styles.button,
|
|
267
|
+
onPress: transferToLeft,
|
|
268
|
+
disabled: rightData.selectedValues.length === 0,
|
|
269
|
+
size: "sm",
|
|
270
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
271
|
+
children: '‹'
|
|
272
|
+
})
|
|
273
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
274
|
+
style: styles.button,
|
|
275
|
+
onPress: transferAllToLeft,
|
|
276
|
+
disabled: rightData.items.length === 0,
|
|
277
|
+
size: "sm",
|
|
278
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
279
|
+
children: '«'
|
|
280
|
+
})
|
|
281
|
+
})]
|
|
282
|
+
}), renderList(rightData, filteredRightItems, 'right', rightSearch, setRightSearch, titles?.[1] || '')]
|
|
283
|
+
})
|
|
284
|
+
});
|
|
285
|
+
});
|
|
286
|
+
TransferList.displayName = 'TransferList';
|
|
287
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","forwardRef","useState","ScrollView","TouchableOpacity","BoxView","Text","Checkbox","_Button","Button","TextInput","useComponentDefaultProps","createStyles","rem","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","useStyles","theme","color","radius","listHeight","colors","primaryColor","root","flexDirection","container","justifyContent","alignItems","list","flex","borderWidth","borderColor","colorScheme","dark","gray","borderRadius","fn","overflow","listHeader","padding","spacing","sm","borderBottomWidth","borderBottomColor","backgroundColor","title","fontSize","fontWeight","black","searchContainer","xs","itemsContainer","height","item","paddingVertical","paddingHorizontal","itemSelected","itemText","marginLeft","controls","width","button","marginVertical","emptyState","xl","emptyText","defaultProps","titles","searchPlaceholder","searchable","size","transferAllMatchingFilter","DefaultItem","data","selected","children","checked","onChange","label","TransferList","props","ref","value","itemComponent","ItemComponent","style","others","leftSearch","setLeftSearch","rightSearch","setRightSearch","styles","sx","name","leftData","rightData","filterItems","items","search","filter","toLowerCase","includes","filteredLeftItems","filteredRightItems","toggleSelection","side","itemValue","selectedValues","v","newValue","transferToRight","itemsToTransfer","remainingItems","transferToLeft","transferAllToRight","transferAllToLeft","renderList","filteredItems","searchValue","setSearchValue","placeholder","e","nativeEvent","text","length","map","isSelected","onPress","disabled","displayName"],"sourceRoot":"../../../../src","sources":["components/TransferList/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,QAAQ,QAAQ,OAAO;AACnD,SAASC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAC3D,SAASC,OAAO,QAAQ,qBAAY;AACpC,SAASC,IAAI,QAAQ,kBAAS;AAC9B,SAASC,QAAQ,QAAQ,sBAAa;AACtC,SAASC,OAAO,IAAIC,MAAM,QAAQ,oBAAW;AAC7C,SAASC,SAAS,QAAQ,uBAAc;AAOxC,SAASC,wBAAwB,QAAQ,+BAA4B;AACrE,SAASC,YAAY,QAAQ,sBAAa;AAC1C,SAASC,GAAG,QAAQ,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAmD5C,MAAMC,SAAS,GAAGR,YAAY,CAC5B,CACES,KAAK,EACL;EACEC,KAAK;EACLC,MAAM;EACNC;AAKF,CAAC,KACE;EACH,MAAMC,MAAM,GAAGJ,KAAK,CAACI,MAAM,CA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,CAACN,MAAM;UACLgF,KAAK,EAAEM,MAAM,CAAC9B,MAAO;UACrBkE,OAAO,EAAEjB,eAAgB;UACzBkB,QAAQ,EAAElC,QAAQ,CAACa,cAAc,CAACiB,MAAM,KAAK,CAAE;UAC/CtD,IAAI,EAAC,IAAI;UAAAK,QAAA,eAEThE,IAAA,CAACT,IAAI;YAAAyE,QAAA,EAAE;UAAG,CAAO;QAAC,CACZ,CAAC,eACThE,IAAA,CAACN,MAAM;UACLgF,KAAK,EAAEM,MAAM,CAAC9B,MAAO;UACrBkE,OAAO,EAAEd,cAAe;UACxBe,QAAQ,EAAEjC,SAAS,CAACY,cAAc,CAACiB,MAAM,KAAK,CAAE;UAChDtD,IAAI,EAAC,IAAI;UAAAK,QAAA,eAEThE,IAAA,CAACT,IAAI;YAAAyE,QAAA,EAAE;UAAG,CAAO;QAAC,CACZ,CAAC,eACThE,IAAA,CAACN,MAAM;UACLgF,KAAK,EAAEM,MAAM,CAAC9B,MAAO;UACrBkE,OAAO,EAAEZ,iBAAkB;UAC3Ba,QAAQ,EAAEjC,SAAS,CAACE,KAAK,CAAC2B,MAAM,KAAK,CAAE;UACvCtD,IAAI,EAAC,IAAI;UAAAK,QAAA,eAEThE,IAAA,CAACT,IAAI;YAAAyE,QAAA,EAAE;UAAG,CAAO;QAAC,CACZ,CAAC;MAAA,CACF,CAAC,EAETyC,UAAU,CACTrB,SAAS,EACTQ,kBAAkB,EAClB,OAAO,EACPd,WAAW,EACXC,cAAc,EACdvB,MAAM,GAAG,CAAC,CAAC,IAAI,EACjB,CAAC;IAAA,CACM;EAAC,CACH,CAAC;AAEd,CAAC,CAAC;AAEFY,YAAY,CAACkD,WAAW,GAAG,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { forwardRef, useEffect, useRef } from 'react';
|
|
4
|
+
import { Animated, Easing } from 'react-native';
|
|
5
|
+
import { useComponentDefaultProps } from "../../theme/theme-provider.js";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
const getEasing = timingFunction => {
|
|
8
|
+
switch (timingFunction) {
|
|
9
|
+
case 'linear':
|
|
10
|
+
return Easing.linear;
|
|
11
|
+
case 'ease':
|
|
12
|
+
return Easing.ease;
|
|
13
|
+
case 'ease-in':
|
|
14
|
+
return Easing.in(Easing.ease);
|
|
15
|
+
case 'ease-out':
|
|
16
|
+
return Easing.out(Easing.ease);
|
|
17
|
+
case 'ease-in-out':
|
|
18
|
+
return Easing.inOut(Easing.ease);
|
|
19
|
+
default:
|
|
20
|
+
return Easing.ease;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
const defaultProps = {
|
|
24
|
+
transition: 'fade',
|
|
25
|
+
duration: 250,
|
|
26
|
+
timingFunction: 'ease'
|
|
27
|
+
};
|
|
28
|
+
export const Transition = /*#__PURE__*/forwardRef((props, ref) => {
|
|
29
|
+
const {
|
|
30
|
+
mounted,
|
|
31
|
+
transition,
|
|
32
|
+
duration,
|
|
33
|
+
exitDuration,
|
|
34
|
+
timingFunction,
|
|
35
|
+
children,
|
|
36
|
+
onExited,
|
|
37
|
+
onEntered,
|
|
38
|
+
style,
|
|
39
|
+
...others
|
|
40
|
+
} = useComponentDefaultProps('Transition', defaultProps, props);
|
|
41
|
+
const animation = useRef(new Animated.Value(mounted ? 1 : 0)).current;
|
|
42
|
+
const shouldRender = useRef(mounted);
|
|
43
|
+
useEffect(() => {
|
|
44
|
+
if (mounted) {
|
|
45
|
+
shouldRender.current = true;
|
|
46
|
+
Animated.timing(animation, {
|
|
47
|
+
toValue: 1,
|
|
48
|
+
duration: duration || 250,
|
|
49
|
+
easing: getEasing(timingFunction || 'ease'),
|
|
50
|
+
useNativeDriver: true
|
|
51
|
+
}).start(({
|
|
52
|
+
finished
|
|
53
|
+
}) => {
|
|
54
|
+
if (finished && onEntered) {
|
|
55
|
+
onEntered();
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
} else {
|
|
59
|
+
Animated.timing(animation, {
|
|
60
|
+
toValue: 0,
|
|
61
|
+
duration: exitDuration || duration || 250,
|
|
62
|
+
easing: getEasing(timingFunction || 'ease'),
|
|
63
|
+
useNativeDriver: true
|
|
64
|
+
}).start(({
|
|
65
|
+
finished
|
|
66
|
+
}) => {
|
|
67
|
+
if (finished) {
|
|
68
|
+
shouldRender.current = false;
|
|
69
|
+
if (onExited) {
|
|
70
|
+
onExited();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
}, [mounted, duration, exitDuration, timingFunction, onEntered, onExited, animation]);
|
|
76
|
+
const getTransformStyle = () => {
|
|
77
|
+
switch (transition) {
|
|
78
|
+
case 'fade':
|
|
79
|
+
return {
|
|
80
|
+
opacity: animation
|
|
81
|
+
};
|
|
82
|
+
case 'scale':
|
|
83
|
+
return {
|
|
84
|
+
opacity: animation,
|
|
85
|
+
transform: [{
|
|
86
|
+
scale: animation.interpolate({
|
|
87
|
+
inputRange: [0, 1],
|
|
88
|
+
outputRange: [0.75, 1]
|
|
89
|
+
})
|
|
90
|
+
}]
|
|
91
|
+
};
|
|
92
|
+
case 'slide-down':
|
|
93
|
+
return {
|
|
94
|
+
opacity: animation,
|
|
95
|
+
transform: [{
|
|
96
|
+
translateY: animation.interpolate({
|
|
97
|
+
inputRange: [0, 1],
|
|
98
|
+
outputRange: [-20, 0]
|
|
99
|
+
})
|
|
100
|
+
}]
|
|
101
|
+
};
|
|
102
|
+
case 'slide-up':
|
|
103
|
+
return {
|
|
104
|
+
opacity: animation,
|
|
105
|
+
transform: [{
|
|
106
|
+
translateY: animation.interpolate({
|
|
107
|
+
inputRange: [0, 1],
|
|
108
|
+
outputRange: [20, 0]
|
|
109
|
+
})
|
|
110
|
+
}]
|
|
111
|
+
};
|
|
112
|
+
case 'slide-left':
|
|
113
|
+
return {
|
|
114
|
+
opacity: animation,
|
|
115
|
+
transform: [{
|
|
116
|
+
translateX: animation.interpolate({
|
|
117
|
+
inputRange: [0, 1],
|
|
118
|
+
outputRange: [20, 0]
|
|
119
|
+
})
|
|
120
|
+
}]
|
|
121
|
+
};
|
|
122
|
+
case 'slide-right':
|
|
123
|
+
return {
|
|
124
|
+
opacity: animation,
|
|
125
|
+
transform: [{
|
|
126
|
+
translateX: animation.interpolate({
|
|
127
|
+
inputRange: [0, 1],
|
|
128
|
+
outputRange: [-20, 0]
|
|
129
|
+
})
|
|
130
|
+
}]
|
|
131
|
+
};
|
|
132
|
+
case 'pop':
|
|
133
|
+
return {
|
|
134
|
+
opacity: animation,
|
|
135
|
+
transform: [{
|
|
136
|
+
scale: animation.interpolate({
|
|
137
|
+
inputRange: [0, 1],
|
|
138
|
+
outputRange: [0, 1]
|
|
139
|
+
})
|
|
140
|
+
}]
|
|
141
|
+
};
|
|
142
|
+
case 'rotate':
|
|
143
|
+
return {
|
|
144
|
+
opacity: animation,
|
|
145
|
+
transform: [{
|
|
146
|
+
rotate: animation.interpolate({
|
|
147
|
+
inputRange: [0, 1],
|
|
148
|
+
outputRange: ['-180deg', '0deg']
|
|
149
|
+
})
|
|
150
|
+
}]
|
|
151
|
+
};
|
|
152
|
+
default:
|
|
153
|
+
return {
|
|
154
|
+
opacity: animation
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
if (!shouldRender.current && !mounted) {
|
|
159
|
+
return null;
|
|
160
|
+
}
|
|
161
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
162
|
+
ref: ref,
|
|
163
|
+
style: [getTransformStyle(), style],
|
|
164
|
+
...others,
|
|
165
|
+
children: children
|
|
166
|
+
});
|
|
167
|
+
});
|
|
168
|
+
Transition.displayName = 'Transition';
|
|
169
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","forwardRef","useEffect","useRef","Animated","Easing","useComponentDefaultProps","jsx","_jsx","getEasing","timingFunction","linear","ease","in","out","inOut","defaultProps","transition","duration","Transition","props","ref","mounted","exitDuration","children","onExited","onEntered","style","others","animation","Value","current","shouldRender","timing","toValue","easing","useNativeDriver","start","finished","getTransformStyle","opacity","transform","scale","interpolate","inputRange","outputRange","translateY","translateX","rotate","View","displayName"],"sourceRoot":"../../../../src","sources":["components/Transition/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAC5D,SAASC,QAAQ,EAAEC,MAAM,QAAQ,cAAc;AAE/C,SAASC,wBAAwB,QAAQ,+BAA4B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAyCtE,MAAMC,SAAS,GACbC,cAA0E,IACvE;EACH,QAAQA,cAAc;IACpB,KAAK,QAAQ;MACX,OAAOL,MAAM,CAACM,MAAM;IACtB,KAAK,MAAM;MACT,OAAON,MAAM,CAACO,IAAI;IACpB,KAAK,SAAS;MACZ,OAAOP,MAAM,CAACQ,EAAE,CAACR,MAAM,CAACO,IAAI,CAAC;IAC/B,KAAK,UAAU;MACb,OAAOP,MAAM,CAACS,GAAG,CAACT,MAAM,CAACO,IAAI,CAAC;IAChC,KAAK,aAAa;MAChB,OAAOP,MAAM,CAACU,KAAK,CAACV,MAAM,CAACO,IAAI,CAAC;IAClC;MACE,OAAOP,MAAM,CAACO,IAAI;EACtB;AACF,CAAC;AAED,MAAMI,YAAsC,GAAG;EAC7CC,UAAU,EAAE,MAAM;EAClBC,QAAQ,EAAE,GAAG;EACbR,cAAc,EAAE;AAClB,CAAC;AAED,OAAO,MAAMS,UAAU,gBAAGlB,UAAU,CAAuB,CAACmB,KAAK,EAAEC,GAAG,KAAK;EACzE,MAAM;IACJC,OAAO;IACPL,UAAU;IACVC,QAAQ;IACRK,YAAY;IACZb,cAAc;IACdc,QAAQ;IACRC,QAAQ;IACRC,SAAS;IACTC,KAAK;IACL,GAAGC;EACL,CAAC,GAAGtB,wBAAwB,CAAC,YAAY,EAAEU,YAAY,EA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U,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;cAClBC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;YACtB,CAAC;UACH,CAAC;QAEL,CAAC;MACH,KAAK,KAAK;QACR,OAAO;UACLL,OAAO,EAAEX,SAAS;UAClBY,SAAS,EAAE,CACT;YACEC,KAAK,EAAEb,SAAS,CAACc,WAAW,CAAC;cAC3BC,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;cAClBC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;YACpB,CAAC;UACH,CAAC;QAEL,CAAC;MACH,KAAK,QAAQ;QACX,OAAO;UACLL,OAAO,EAAEX,SAAS;UAClBY,SAAS,EAAE,CACT;YACEO,MAAM,EAAEnB,SAAS,CAACc,WAAW,CAAC;cAC5BC,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;cAClBC,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM;YACjC,CAAC;UACH,CAAC;QAEL,CAAC;MACH;QACE,OAAO;UACLL,OAAO,EAAEX;QACX,CAAC;IACL;EACF,CAAC;EAED,IAAI,CAACG,YAAY,CAACD,OAAO,IAAI,CAACT,OAAO,EAAE;IACrC,OAAO,IAAI;EACb;EAEA,oBACEd,IAAA,CAACJ,QAAQ,CAAC6C,IAAI;IAAC5B,GAAG,EAAEA,GAAI;IAACM,KAAK,EAAE,CAACY,iBAAiB,CAAC,CAAC,EAAEZ,KAAK,CAAE;IAAA,GAAKC,MAAM;IAAAJ,QAAA,EACrEA;EAAQ,CACI,CAAC;AAEpB,CAAC,CAAC;AAEFL,UAAU,CAAC+B,WAAW,GAAG,YAAY","ignoreList":[]}
|
|
@@ -7,4 +7,105 @@ export * from "./Text/index.js";
|
|
|
7
7
|
export * from "./Button/index.js";
|
|
8
8
|
export * from "./UnstyledButton/index.js";
|
|
9
9
|
export * from "./ActionIcon/index.js";
|
|
10
|
+
export * from "./Loader/index.js";
|
|
11
|
+
|
|
12
|
+
// Phase 1 components
|
|
13
|
+
export * from "./Center/index.js";
|
|
14
|
+
export * from "./Container/index.js";
|
|
15
|
+
export * from "./Flex/index.js";
|
|
16
|
+
export * from "./Space/index.js";
|
|
17
|
+
export * from "./Title/index.js";
|
|
18
|
+
export * from "./Highlight/index.js";
|
|
19
|
+
export * from "./Mark/index.js";
|
|
20
|
+
export * from "./Code/index.js";
|
|
21
|
+
|
|
22
|
+
// Phase 2 components - Visual Feedback
|
|
23
|
+
export * from "./Badge/index.js";
|
|
24
|
+
export * from "./Avatar/index.js";
|
|
25
|
+
export * from "./Paper/index.js";
|
|
26
|
+
export * from "./Divider/index.js";
|
|
27
|
+
export * from "./Progress/index.js";
|
|
28
|
+
export * from "./Skeleton/index.js";
|
|
29
|
+
|
|
30
|
+
// Phase 2 components - Input Components
|
|
31
|
+
export * from "./TextInput/index.js";
|
|
32
|
+
export * from "./Textarea/index.js";
|
|
33
|
+
export * from "./PasswordInput/index.js";
|
|
34
|
+
export * from "./Switch/index.js";
|
|
35
|
+
export * from "./Checkbox/index.js";
|
|
36
|
+
export * from "./Radio/index.js";
|
|
37
|
+
|
|
38
|
+
// Phase 3 components - Foundation & Utilities
|
|
39
|
+
export * from "./Overlay/index.js";
|
|
40
|
+
export * from "./Portal/index.js";
|
|
41
|
+
|
|
42
|
+
// Phase 3 components - Interactive Components
|
|
43
|
+
export * from "./Modal/index.js";
|
|
44
|
+
export * from "./Drawer/index.js";
|
|
45
|
+
export * from "./Dialog/index.js";
|
|
46
|
+
export * from "./Collapse/index.js";
|
|
47
|
+
export * from "./Accordion/index.js";
|
|
48
|
+
export * from "./Spoiler/index.js";
|
|
49
|
+
export * from "./Notification/index.js";
|
|
50
|
+
|
|
51
|
+
// Phase 3 components - Form Components
|
|
52
|
+
export * from "./NumberInput/index.js";
|
|
53
|
+
export * from "./PinInput/index.js";
|
|
54
|
+
export * from "./Chip/index.js";
|
|
55
|
+
export * from "./NativeSelect/index.js";
|
|
56
|
+
|
|
57
|
+
// Phase 4 components - Advanced Interactions
|
|
58
|
+
export * from "./Slider/index.js";
|
|
59
|
+
export * from "./Rating/index.js";
|
|
60
|
+
export * from "./Stepper/index.js";
|
|
61
|
+
export * from "./SegmentedControl/index.js";
|
|
62
|
+
export * from "./Pagination/index.js";
|
|
63
|
+
|
|
64
|
+
// Phase 4 components - Data Display
|
|
65
|
+
export * from "./Card/index.js";
|
|
66
|
+
export * from "./Timeline/index.js";
|
|
67
|
+
export * from "./Table/index.js";
|
|
68
|
+
export * from "./List/index.js";
|
|
69
|
+
|
|
70
|
+
// Phase 5 components - Images & Media
|
|
71
|
+
export * from "./Image/index.js";
|
|
72
|
+
export * from "./BackgroundImage/index.js";
|
|
73
|
+
export * from "./ThemeIcon/index.js";
|
|
74
|
+
export * from "./ColorSwatch/index.js";
|
|
75
|
+
|
|
76
|
+
// Phase 5 components - Utility Components
|
|
77
|
+
export * from "./Transition/index.js";
|
|
78
|
+
export * from "./CloseButton/index.js";
|
|
79
|
+
export * from "./CopyButton/index.js";
|
|
80
|
+
export * from "./Burger/index.js";
|
|
81
|
+
|
|
82
|
+
// Phase 6 components - Foundation
|
|
83
|
+
export * from "./Anchor/index.js";
|
|
84
|
+
export * from "./Kbd/index.js";
|
|
85
|
+
export * from "./Indicator/index.js";
|
|
86
|
+
|
|
87
|
+
// Phase 6 components - Layout
|
|
88
|
+
export * from "./Grid/index.js";
|
|
89
|
+
export * from "./SimpleGrid/index.js";
|
|
90
|
+
export * from "./AspectRatio/index.js";
|
|
91
|
+
export * from "./MediaQuery/index.js";
|
|
92
|
+
|
|
93
|
+
// Phase 6 components - Display
|
|
94
|
+
export * from "./Blockquote/index.js";
|
|
95
|
+
export * from "./Breadcrumbs/index.js";
|
|
96
|
+
export * from "./NavLink/index.js";
|
|
97
|
+
|
|
98
|
+
// Phase 6 components - Complex Overlays
|
|
99
|
+
export * from "./LoadingOverlay/index.js";
|
|
100
|
+
export * from "./Tooltip/index.js";
|
|
101
|
+
export * from "./Popover/index.js";
|
|
102
|
+
export * from "./Menu/index.js";
|
|
103
|
+
|
|
104
|
+
// Phase 6 components - Advanced Form
|
|
105
|
+
export * from "./Select/index.js";
|
|
106
|
+
export * from "./MultiSelect/index.js";
|
|
107
|
+
|
|
108
|
+
// Phase 6 components - Specialized
|
|
109
|
+
export * from "./RingProgress/index.js";
|
|
110
|
+
export * from "./TransferList/index.js";
|
|
10
111
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["components/index.tsx"],"mappings":";;AAAA,cAAc,oBAAW;AACzB,cAAc,kBAAS;AACvB,cAAc,kBAAS;AACvB,cAAc,iBAAQ;AACtB,cAAc,mBAAU;AACxB,cAAc,2BAAkB;AAChC,cAAc,uBAAc","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["components/index.tsx"],"mappings":";;AAAA,cAAc,oBAAW;AACzB,cAAc,kBAAS;AACvB,cAAc,kBAAS;AACvB,cAAc,iBAAQ;AACtB,cAAc,mBAAU;AACxB,cAAc,2BAAkB;AAChC,cAAc,uBAAc;AAC5B,cAAc,mBAAU;;AAExB;AACA,cAAc,mBAAU;AACxB,cAAc,sBAAa;AAC3B,cAAc,iBAAQ;AACtB,cAAc,kBAAS;AACvB,cAAc,kBAAS;AACvB,cAAc,sBAAa;AAC3B,cAAc,iBAAQ;AACtB,cAAc,iBAAQ;;AAEtB;AACA,cAAc,kBAAS;AACvB,cAAc,mBAAU;AACxB,cAAc,kBAAS;AACvB,cAAc,oBAAW;AACzB,cAAc,qBAAY;AAC1B,cAAc,qBAAY;;AAE1B;AACA,cAAc,sBAAa;AAC3B,cAAc,qBAAY;AAC1B,cAAc,0BAAiB;AAC/B,cAAc,mBAAU;AACxB,cAAc,qBAAY;AAC1B,cAAc,kBAAS;;AAEvB;AACA,cAAc,oBAAW;AACzB,cAAc,mBAAU;;AAExB;AACA,cAAc,kBAAS;AACvB,cAAc,mBAAU;AACxB,cAAc,mBAAU;AACxB,cAAc,qBAAY;AAC1B,cAAc,sBAAa;AAC3B,cAAc,oBAAW;AACzB,cAAc,yBAAgB;;AAE9B;AACA,cAAc,wBAAe;AAC7B,cAAc,qBAAY;AAC1B,cAAc,iBAAQ;AACtB,cAAc,yBAAgB;;AAE9B;AACA,cAAc,mBAAU;AACxB,cAAc,mBAAU;AACxB,cAAc,oBAAW;AACzB,cAAc,6BAAoB;AAClC,cAAc,uBAAc;;AAE5B;AACA,cAAc,iBAAQ;AACtB,cAAc,qBAAY;AAC1B,cAAc,kBAAS;AACvB,cAAc,iBAAQ;;AAEtB;AACA,cAAc,kBAAS;AACvB,cAAc,4BAAmB;AACjC,cAAc,sBAAa;AAC3B,cAAc,wBAAe;;AAE7B;AACA,cAAc,uBAAc;AAC5B,cAAc,wBAAe;AAC7B,cAAc,uBAAc;AAC5B,cAAc,mBAAU;;AAExB;AACA,cAAc,mBAAU;AACxB,cAAc,gBAAO;AACrB,cAAc,sBAAa;;AAE3B;AACA,cAAc,iBAAQ;AACtB,cAAc,uBAAc;AAC5B,cAAc,wBAAe;AAC7B,cAAc,uBAAc;;AAE5B;AACA,cAAc,uBAAc;AAC5B,cAAc,wBAAe;AAC7B,cAAc,oBAAW;;AAEzB;AACA,cAAc,2BAAkB;AAChC,cAAc,oBAAW;AACzB,cAAc,oBAAW;AACzB,cAAc,iBAAQ;;AAEtB;AACA,cAAc,mBAAU;AACxB,cAAc,wBAAe;;AAE7B;AACA,cAAc,yBAAgB;AAC9B,cAAc,yBAAgB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["DEFAULT_COLORS","DEFAULT_THEME","createTheme","theme","primaryShade","other","fontFamily","fontFamilyBold","fontFamilySemiBold","fontFamilyInput","primaryColor","secondaryColor","headings","colors"],"sourceRoot":"../../../src","sources":["theme/create-theme.ts"],"mappings":";;AAAA,SAASA,cAAc,EAAEC,aAAa,QAAQ,oBAAiB;AAG/D,OAAO,MAAMC,WAAW,GAAIC,KAA6B,IAAmB;EAC1E,MAAM;IAAEC,YAAY,GAAG,CAAC;IAAEC,KAAK,GAAG,CAAC;EAAE,CAAC,GAAGF,KAAK,IAAI,CAAC,CAAC;EACpD,OAAO;IACL,GAAGF,aAAa;IAChBG,YAAY,EAAEA,YAAY;IAC1BC,KAAK,EAAEA,KAAK;IACZC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,aAAa;IAC7BC,kBAAkB,EAAE,iBAAiB;IACrCC,eAAe,EAAE,QAAQ;IACzBC,YAAY,EAAE,MAAM;IACpBC,cAAc,EAAE,MAAM;IACtBC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"names":["DEFAULT_COLORS","DEFAULT_THEME","createTheme","theme","primaryShade","other","fontFamily","fontFamilyBold","fontFamilySemiBold","fontFamilyInput","primaryColor","secondaryColor","headings","colors"],"sourceRoot":"../../../src","sources":["theme/create-theme.ts"],"mappings":";;AAAA,SAASA,cAAc,EAAEC,aAAa,QAAQ,oBAAiB;AAG/D,OAAO,MAAMC,WAAW,GAAIC,KAA6B,IAAmB;EAC1E,MAAM;IAAEC,YAAY,GAAG,CAAC;IAAEC,KAAK,GAAG,CAAC;EAAE,CAAC,GAAGF,KAAK,IAAI,CAAC,CAAC;EACpD,OAAO;IACL,GAAGF,aAAa;IAChBG,YAAY,EAAEA,YAAY;IAC1BC,KAAK,EAAEA,KAAK;IACZC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,aAAa;IAC7BC,kBAAkB,EAAE,iBAAiB;IACrCC,eAAe,EAAE,QAAQ;IACzBC,YAAY,EAAE,MAAM;IACpBC,cAAc,EAAE,MAAM;IACtBC,QAAQ,EAAE;MACR,GAAGX,aAAa,CAACW,QAAQ;MACzBN,UAAU,EAAE;IACd,CAAC;IACDO,MAAM,EAAEb;EACV,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["attachFunctions","DEFAULT_COLORS","dark","gray","gray2","red","pink","grape","violet","indigo","blue","cyan","teal","green","lime","yellow","orange","secondary","tintColorLight","tintColorDark","_DEFAULT_THEME","fontFamily","fontFamilyBold","fontFamilySemiBold","fontFamilyInput","localColor","primaryShade","colors","primaryColor","secondaryColor","secondaryBgColor","light","text","background","backgroundSecondary","backgroundThird","tint","tabIconDefault","tabIconSelected","components","other","shadows","xs","sm","md","lg","xl","fontSizes","defaultRadius","radius","spacing","headings","fontWeight","sizes","h1","fontSize","lineHeight","undefined","h2","h3","h4","h5","h6","window","width","height","primaryBgColor","primaryTextColor","DEFAULT_THEME"],"sourceRoot":"../../../src","sources":["theme/default-theme.ts"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,iCAA8B;AAG9D,OAAO,MAAMC,cAEZ,GAAG;EACFC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EACDC,KAAK,EAAE,CACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,GAAG,EAAE,CACH,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,KAAK,EAAE,CACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,E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SAAS,CACV;EACDC,SAAS,EAAE,CACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS;AAEb,CAAC;AAED,MAAMC,cAAc,GAAG,SAAS;AAChC,MAAMC,aAAa,GAAG,MAAM;AAE5B,OAAO,MAAMC,cAA4B,GAAG;EAC1CC,UAAU,EAAE,aAAa;EACzBC,cAAc,EAAE,aAAa;EAC7BC,kBAAkB,EAAE,aAAa;EACjCC,eAAe,EAAE,aAAa;EAC9BC,UAAU,EAAE,SAAS;EACrBC,YAAY,EAAE,CAAC;EACfC,MAAM,EAAE1B,cAAc;EACtB2B,YAAY,EAAE,MAAM;EACpBC,cAAc,EAAE,OAAO;EACvBC,gBAAgB,EAAE,OAAO;EACzBC,KAAK,EAAE;IACLC,IAAI,EAAE,MAAM;IACZC,UAAU,EAAE,SAAS;IACrBC,mBAAmB,EAAE,MAAM;IAC3BC,eAAe,EAAE,SAAS;IAC1BC,IAAI,
|
|
1
|
+
{"version":3,"names":["attachFunctions","DEFAULT_COLORS","dark","gray","gray2","red","pink","grape","violet","indigo","blue","cyan","teal","green","lime","yellow","orange","secondary","tintColorLight","tintColorDark","_DEFAULT_THEME","fontFamily","fontFamilyBold","fontFamilySemiBold","fontFamilyInput","localColor","primaryShade","colors","primaryColor","secondaryColor","secondaryBgColor","white","black","light","text","background","backgroundSecondary","backgroundThird","tint","tabIconDefault","tabIconSelected","components","other","shadows","xs","sm","md","lg","xl","fontSizes","defaultRadius","radius","spacing","headings","fontWeight","sizes","h1","fontSize","lineHeight","undefined","h2","h3","h4","h5","h6","window","width","height","primaryBgColor","primaryTextColor","DEFAULT_THEME"],"sourceRoot":"../../../src","sources":["theme/default-theme.ts"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,iCAA8B;AAG9D,OAAO,MAAMC,cAEZ,GAAG;EACFC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS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