react-native-mantine 0.1.15 → 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,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { forwardRef } from 'react';
|
|
4
|
+
import { LinearGradient } from 'expo-linear-gradient';
|
|
5
|
+
import { BoxView } from "../BoxView/index.js";
|
|
6
|
+
import { useComponentDefaultProps } from "../../theme/theme-provider.js";
|
|
7
|
+
import { createStyles } from "../../theme/index.js";
|
|
8
|
+
import { getSize } from "../../theme/index.js";
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
const sizes = {
|
|
11
|
+
xs: 16,
|
|
12
|
+
sm: 20,
|
|
13
|
+
md: 26,
|
|
14
|
+
lg: 32,
|
|
15
|
+
xl: 40
|
|
16
|
+
};
|
|
17
|
+
const useStyles = createStyles((theme, {
|
|
18
|
+
color,
|
|
19
|
+
size,
|
|
20
|
+
radius,
|
|
21
|
+
variant
|
|
22
|
+
}) => {
|
|
23
|
+
const iconSize = typeof size === 'number' ? size : getSize({
|
|
24
|
+
size,
|
|
25
|
+
sizes
|
|
26
|
+
});
|
|
27
|
+
const themeColor = color in theme.colors ? color : theme.primaryColor;
|
|
28
|
+
const shade = theme.primaryShade;
|
|
29
|
+
const getVariantStyles = () => {
|
|
30
|
+
switch (variant) {
|
|
31
|
+
case 'filled':
|
|
32
|
+
return {
|
|
33
|
+
backgroundColor: theme.colors[themeColor]?.[shade] || theme.colors[themeColor]?.[6]
|
|
34
|
+
};
|
|
35
|
+
case 'light':
|
|
36
|
+
return {
|
|
37
|
+
backgroundColor: theme.colorScheme === 'dark' ? theme.colors[themeColor]?.[9] : theme.colors[themeColor]?.[0]
|
|
38
|
+
};
|
|
39
|
+
case 'outline':
|
|
40
|
+
return {
|
|
41
|
+
backgroundColor: 'transparent',
|
|
42
|
+
borderWidth: 1,
|
|
43
|
+
borderColor: theme.colors[themeColor]?.[shade] || theme.colors[themeColor]?.[6]
|
|
44
|
+
};
|
|
45
|
+
case 'gradient':
|
|
46
|
+
return {
|
|
47
|
+
backgroundColor: 'transparent'
|
|
48
|
+
};
|
|
49
|
+
default:
|
|
50
|
+
return {
|
|
51
|
+
backgroundColor: theme.colors[themeColor]?.[shade] || theme.colors[themeColor]?.[6]
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
return {
|
|
56
|
+
root: {
|
|
57
|
+
width: iconSize,
|
|
58
|
+
height: iconSize,
|
|
59
|
+
borderRadius: theme.fn.radius(radius),
|
|
60
|
+
justifyContent: 'center',
|
|
61
|
+
alignItems: 'center',
|
|
62
|
+
overflow: 'hidden',
|
|
63
|
+
...getVariantStyles()
|
|
64
|
+
},
|
|
65
|
+
gradient: {
|
|
66
|
+
width: '100%',
|
|
67
|
+
height: '100%',
|
|
68
|
+
justifyContent: 'center',
|
|
69
|
+
alignItems: 'center'
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
});
|
|
73
|
+
const defaultProps = {
|
|
74
|
+
variant: 'filled',
|
|
75
|
+
size: 'md',
|
|
76
|
+
radius: 'sm',
|
|
77
|
+
color: 'blue',
|
|
78
|
+
gradient: {
|
|
79
|
+
from: 'blue',
|
|
80
|
+
to: 'cyan',
|
|
81
|
+
deg: 45
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
export const ThemeIcon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
85
|
+
const {
|
|
86
|
+
color,
|
|
87
|
+
variant,
|
|
88
|
+
gradient,
|
|
89
|
+
size,
|
|
90
|
+
radius,
|
|
91
|
+
children,
|
|
92
|
+
style,
|
|
93
|
+
...others
|
|
94
|
+
} = useComponentDefaultProps('ThemeIcon', defaultProps, props);
|
|
95
|
+
const {
|
|
96
|
+
styles,
|
|
97
|
+
sx,
|
|
98
|
+
theme
|
|
99
|
+
} = useStyles({
|
|
100
|
+
color,
|
|
101
|
+
size,
|
|
102
|
+
radius,
|
|
103
|
+
variant
|
|
104
|
+
}, {
|
|
105
|
+
name: 'ThemeIcon'
|
|
106
|
+
});
|
|
107
|
+
const getGradientColors = () => {
|
|
108
|
+
const fromColor = gradient?.from && gradient.from in theme.colors ? theme.colors[gradient.from][theme.primaryShade] : gradient?.from || theme.colors.blue?.[6] || '#228be6';
|
|
109
|
+
const toColor = gradient?.to && gradient.to in theme.colors ? theme.colors[gradient.to][theme.primaryShade] : gradient?.to || theme.colors.cyan?.[6] || '#22b8cf';
|
|
110
|
+
return [fromColor, toColor];
|
|
111
|
+
};
|
|
112
|
+
if (variant === 'gradient') {
|
|
113
|
+
return /*#__PURE__*/_jsx(BoxView, {
|
|
114
|
+
ref: ref,
|
|
115
|
+
style: sx(styles.root, style),
|
|
116
|
+
...others,
|
|
117
|
+
children: /*#__PURE__*/_jsx(LinearGradient, {
|
|
118
|
+
colors: getGradientColors(),
|
|
119
|
+
start: {
|
|
120
|
+
x: 0,
|
|
121
|
+
y: 0
|
|
122
|
+
},
|
|
123
|
+
end: {
|
|
124
|
+
x: 1,
|
|
125
|
+
y: 1
|
|
126
|
+
},
|
|
127
|
+
style: styles.gradient,
|
|
128
|
+
children: children
|
|
129
|
+
})
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
return /*#__PURE__*/_jsx(BoxView, {
|
|
133
|
+
ref: ref,
|
|
134
|
+
style: sx(styles.root, style),
|
|
135
|
+
...others,
|
|
136
|
+
children: children
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
ThemeIcon.displayName = 'ThemeIcon';
|
|
140
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","forwardRef","LinearGradient","BoxView","useComponentDefaultProps","createStyles","getSize","jsx","_jsx","sizes","xs","sm","md","lg","xl","useStyles","theme","color","size","radius","variant","iconSize","themeColor","colors","primaryColor","shade","primaryShade","getVariantStyles","backgroundColor","colorScheme","borderWidth","borderColor","root","width","height","borderRadius","fn","justifyContent","alignItems","overflow","gradient","defaultProps","from","to","deg","ThemeIcon","props","ref","children","style","others","styles","sx","name","getGradientColors","fromColor","blue","toColor","cyan","start","x","y","end","displayName"],"sourceRoot":"../../../../src","sources":["components/ThemeIcon/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,cAAc,QAAQ,sBAAsB;AACrD,SAASC,OAAO,QAAQ,qBAAY;AASpC,SAASC,wBAAwB,QAAQ,+BAA4B;AACrE,SAASC,YAAY,QAAQ,sBAAa;AAC1C,SAASC,OAAO,QAAQ,sBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAyBtC,MAAMC,KAAK,GAAG;EACZC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,SAAS,GAAGV,YAAY,CAC5B,CACEW,KAAK,EACL;EACEC,KAAK;EACLC,IAAI;EACJC,MAAM;EACNC;AAMF,CAAC,KACE;EACH,MAAMC,QAAQ,GAAG,OAAOH,IAAI,KAAK,QAAQ,GAAGA,IAAI,GAAGZ,OAAO,CAAC;IAAEY,IAAI;IAAET;EAAM,CAAC,CAAW;EACrF,MAAMa,UAAU,GAAGL,KAAK,IAAID,KAAK,CAACO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O,GACXjB,QAAQ,EAAEG,EAAE,IAAIH,QAAQ,CAACG,EAAE,IAAI3B,KAAK,CAACO,MAAM,GACvCP,KAAK,CAACO,MAAM,CAACiB,QAAQ,CAACG,EAAE,CAAC,CAAC3B,KAAK,CAACU,YAAY,CAAC,GAC7Cc,QAAQ,EAAEG,EAAE,IAAI3B,KAAK,CAACO,MAAM,CAACmC,IAAI,GAAG,CAAC,CAAC,IAAI,SAAS;IACzD,OAAO,CAACH,SAAS,EAAEE,OAAO,CAAC;EAC7B,CAAC;EAED,IAAIrC,OAAO,KAAK,UAAU,EAAE;IAC1B,oBACEZ,IAAA,CAACL,OAAO;MAAC4C,GAAG,EAAEA,GAAI;MAACE,KAAK,EAAEG,EAAE,CAACD,MAAM,CAACnB,IAAI,EAAEiB,KAAK,CAAE;MAAA,GAAKC,MAAM;MAAAF,QAAA,eAC1DxC,IAAA,CAACN,cAAc;QACbqB,MAAM,EAAE+B,iBAAiB,CAAC,CAAE;QAC5BK,KAAK,EAAE;UAAEC,CAAC,EAAE,CAAC;UAAEC,CAAC,EAAE;QAAE,CAAE;QACtBC,GAAG,EAAE;UAAEF,CAAC,EAAE,CAAC;UAAEC,CAAC,EAAE;QAAE,CAAE;QACpBZ,KAAK,EAAEE,MAAM,CAACX,QAAS;QAAAQ,QAAA,EAEtBA;MAAQ,CACK;IAAC,CACV,CAAC;EAEd;EAEA,oBACExC,IAAA,CAACL,OAAO;IAAC4C,GAAG,EAAEA,GAAI;IAACE,KAAK,EAAEG,EAAE,CAACD,MAAM,CAACnB,IAAI,EAAEiB,KAAK,CAAE;IAAA,GAAKC,MAAM;IAAAF,QAAA,EACzDA;EAAQ,CACF,CAAC;AAEd,CAAC,CAAC;AAEFH,SAAS,CAACkB,WAAW,GAAG,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { forwardRef, createContext, useContext } from 'react';
|
|
4
|
+
import { BoxView } from "../BoxView/index.js";
|
|
5
|
+
import { Text } from "../Text/index.js";
|
|
6
|
+
import { useComponentDefaultProps } from "../../theme/theme-provider.js";
|
|
7
|
+
import { createStyles } from "../../theme/index.js";
|
|
8
|
+
import { rem } from "../../theme/utils/rem.js";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
const TimelineContext = /*#__PURE__*/createContext(null);
|
|
11
|
+
const useTimelineContext = () => {
|
|
12
|
+
const context = useContext(TimelineContext);
|
|
13
|
+
if (!context) {
|
|
14
|
+
throw new Error('Timeline components must be used within Timeline');
|
|
15
|
+
}
|
|
16
|
+
return context;
|
|
17
|
+
};
|
|
18
|
+
const useTimelineStyles = createStyles((_theme, {
|
|
19
|
+
align
|
|
20
|
+
}) => ({
|
|
21
|
+
root: {
|
|
22
|
+
flexDirection: 'column',
|
|
23
|
+
alignItems: align === 'left' ? 'flex-start' : 'flex-end'
|
|
24
|
+
}
|
|
25
|
+
}));
|
|
26
|
+
const useTimelineItemStyles = createStyles((theme, {
|
|
27
|
+
color,
|
|
28
|
+
radius,
|
|
29
|
+
lineWidth,
|
|
30
|
+
bulletSize,
|
|
31
|
+
align,
|
|
32
|
+
isActive,
|
|
33
|
+
lineVariant,
|
|
34
|
+
isLast
|
|
35
|
+
}) => {
|
|
36
|
+
const colors = theme.colors[color] || theme.colors[theme.primaryColor];
|
|
37
|
+
const getLineStyle = () => {
|
|
38
|
+
const baseStyle = {
|
|
39
|
+
borderLeftWidth: lineWidth,
|
|
40
|
+
borderLeftColor: isActive ? colors?.[6] || colors?.[5] || theme.primaryBgColor : theme.colorScheme === 'dark' ? theme.colors.dark?.[4] : theme.colors.gray?.[3]
|
|
41
|
+
};
|
|
42
|
+
if (lineVariant === 'dashed') {
|
|
43
|
+
return {
|
|
44
|
+
...baseStyle,
|
|
45
|
+
borderStyle: 'dashed'
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
if (lineVariant === 'dotted') {
|
|
49
|
+
return {
|
|
50
|
+
...baseStyle,
|
|
51
|
+
borderStyle: 'dotted'
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
return baseStyle;
|
|
55
|
+
};
|
|
56
|
+
return {
|
|
57
|
+
item: {
|
|
58
|
+
flexDirection: align === 'left' ? 'row' : 'row-reverse',
|
|
59
|
+
width: '100%'
|
|
60
|
+
},
|
|
61
|
+
itemBody: {
|
|
62
|
+
flex: 1,
|
|
63
|
+
paddingBottom: isLast ? 0 : theme.spacing.md,
|
|
64
|
+
...(align === 'left' && {
|
|
65
|
+
paddingLeft: theme.spacing.md
|
|
66
|
+
}),
|
|
67
|
+
...(align === 'right' && {
|
|
68
|
+
paddingRight: theme.spacing.md
|
|
69
|
+
})
|
|
70
|
+
},
|
|
71
|
+
bulletWrapper: {
|
|
72
|
+
position: 'relative',
|
|
73
|
+
width: bulletSize,
|
|
74
|
+
alignItems: 'center'
|
|
75
|
+
},
|
|
76
|
+
bullet: {
|
|
77
|
+
width: bulletSize,
|
|
78
|
+
height: bulletSize,
|
|
79
|
+
borderRadius: theme.fn.radius(radius),
|
|
80
|
+
backgroundColor: isActive ? colors?.[6] || colors?.[5] || theme.primaryBgColor : theme.colorScheme === 'dark' ? theme.colors.dark?.[5] : theme.colors.gray?.[2],
|
|
81
|
+
borderWidth: rem(2),
|
|
82
|
+
borderColor: isActive ? colors?.[6] || colors?.[5] || theme.primaryBgColor : theme.colorScheme === 'dark' ? theme.colors.dark?.[4] : theme.colors.gray?.[3],
|
|
83
|
+
justifyContent: 'center',
|
|
84
|
+
alignItems: 'center',
|
|
85
|
+
zIndex: 1
|
|
86
|
+
},
|
|
87
|
+
line: {
|
|
88
|
+
position: 'absolute',
|
|
89
|
+
top: bulletSize,
|
|
90
|
+
bottom: 0,
|
|
91
|
+
left: bulletSize / 2 - lineWidth / 2,
|
|
92
|
+
...getLineStyle()
|
|
93
|
+
},
|
|
94
|
+
title: {
|
|
95
|
+
fontSize: theme.fontSizes.sm,
|
|
96
|
+
fontWeight: '600',
|
|
97
|
+
color: theme.colorScheme === 'dark' ? theme.white : theme.black,
|
|
98
|
+
marginBottom: rem(4)
|
|
99
|
+
},
|
|
100
|
+
content: {
|
|
101
|
+
fontSize: theme.fontSizes.sm,
|
|
102
|
+
color: theme.colorScheme === 'dark' ? theme.colors.dark?.[2] : theme.colors.gray?.[7]
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
const defaultProps = {
|
|
107
|
+
color: 'blue',
|
|
108
|
+
align: 'left',
|
|
109
|
+
lineWidth: 2,
|
|
110
|
+
bulletSize: 20,
|
|
111
|
+
radius: 'xl',
|
|
112
|
+
reverseActive: false,
|
|
113
|
+
active: -1
|
|
114
|
+
};
|
|
115
|
+
const defaultItemProps = {
|
|
116
|
+
lineVariant: 'solid'
|
|
117
|
+
};
|
|
118
|
+
const TimelineRoot = /*#__PURE__*/forwardRef((props, ref) => {
|
|
119
|
+
const {
|
|
120
|
+
color,
|
|
121
|
+
align,
|
|
122
|
+
lineWidth,
|
|
123
|
+
bulletSize,
|
|
124
|
+
radius,
|
|
125
|
+
reverseActive,
|
|
126
|
+
active,
|
|
127
|
+
children,
|
|
128
|
+
style,
|
|
129
|
+
...others
|
|
130
|
+
} = useComponentDefaultProps('Timeline', defaultProps, props);
|
|
131
|
+
const {
|
|
132
|
+
styles,
|
|
133
|
+
sx
|
|
134
|
+
} = useTimelineStyles({
|
|
135
|
+
align
|
|
136
|
+
}, {
|
|
137
|
+
name: 'Timeline'
|
|
138
|
+
});
|
|
139
|
+
const childrenArray = React.Children.toArray(children);
|
|
140
|
+
const itemsCount = childrenArray.length;
|
|
141
|
+
return /*#__PURE__*/_jsx(TimelineContext.Provider, {
|
|
142
|
+
value: {
|
|
143
|
+
color: color,
|
|
144
|
+
radius: radius || 'sm',
|
|
145
|
+
lineWidth: lineWidth,
|
|
146
|
+
bulletSize: bulletSize,
|
|
147
|
+
align: align,
|
|
148
|
+
reverseActive: reverseActive
|
|
149
|
+
},
|
|
150
|
+
children: /*#__PURE__*/_jsx(BoxView, {
|
|
151
|
+
ref: ref,
|
|
152
|
+
style: sx(styles.root, style),
|
|
153
|
+
...others,
|
|
154
|
+
children: childrenArray.map((child, index) => {
|
|
155
|
+
if (! /*#__PURE__*/React.isValidElement(child)) return child;
|
|
156
|
+
const isActive = reverseActive ? index >= itemsCount - (active + 1) : index <= active;
|
|
157
|
+
return /*#__PURE__*/React.cloneElement(child, {
|
|
158
|
+
key: index,
|
|
159
|
+
__index: index,
|
|
160
|
+
__isLast: index === itemsCount - 1,
|
|
161
|
+
__isActive: isActive
|
|
162
|
+
});
|
|
163
|
+
})
|
|
164
|
+
})
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
export const TimelineItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
168
|
+
const {
|
|
169
|
+
title,
|
|
170
|
+
children,
|
|
171
|
+
bullet,
|
|
172
|
+
bulletSize: itemBulletSize,
|
|
173
|
+
color: itemColor,
|
|
174
|
+
lineVariant,
|
|
175
|
+
style,
|
|
176
|
+
__index,
|
|
177
|
+
__isLast,
|
|
178
|
+
__isActive,
|
|
179
|
+
...others
|
|
180
|
+
} = {
|
|
181
|
+
...defaultItemProps,
|
|
182
|
+
...props
|
|
183
|
+
};
|
|
184
|
+
const context = useTimelineContext();
|
|
185
|
+
const bulletSize = itemBulletSize || context.bulletSize;
|
|
186
|
+
const color = itemColor || context.color;
|
|
187
|
+
const isActive = __isActive ?? false;
|
|
188
|
+
const isLast = __isLast ?? false;
|
|
189
|
+
const {
|
|
190
|
+
styles,
|
|
191
|
+
sx
|
|
192
|
+
} = useTimelineItemStyles({
|
|
193
|
+
color,
|
|
194
|
+
radius: context.radius,
|
|
195
|
+
lineWidth: context.lineWidth,
|
|
196
|
+
bulletSize,
|
|
197
|
+
align: context.align,
|
|
198
|
+
isActive,
|
|
199
|
+
lineVariant: lineVariant,
|
|
200
|
+
isLast
|
|
201
|
+
}, {
|
|
202
|
+
name: 'TimelineItem'
|
|
203
|
+
});
|
|
204
|
+
return /*#__PURE__*/_jsxs(BoxView, {
|
|
205
|
+
ref: ref,
|
|
206
|
+
style: sx(styles.item, style),
|
|
207
|
+
...others,
|
|
208
|
+
children: [/*#__PURE__*/_jsxs(BoxView, {
|
|
209
|
+
style: styles.bulletWrapper,
|
|
210
|
+
children: [/*#__PURE__*/_jsx(BoxView, {
|
|
211
|
+
style: styles.bullet,
|
|
212
|
+
children: bullet
|
|
213
|
+
}), !isLast && /*#__PURE__*/_jsx(BoxView, {
|
|
214
|
+
style: styles.line
|
|
215
|
+
})]
|
|
216
|
+
}), /*#__PURE__*/_jsxs(BoxView, {
|
|
217
|
+
style: styles.itemBody,
|
|
218
|
+
children: [title && /*#__PURE__*/_jsx(Text, {
|
|
219
|
+
style: styles.title,
|
|
220
|
+
children: typeof title === 'string' ? title : title
|
|
221
|
+
}), children && /*#__PURE__*/_jsx(Text, {
|
|
222
|
+
style: styles.content,
|
|
223
|
+
children: typeof children === 'string' ? children : children
|
|
224
|
+
})]
|
|
225
|
+
})]
|
|
226
|
+
});
|
|
227
|
+
});
|
|
228
|
+
TimelineRoot.displayName = 'Timeline';
|
|
229
|
+
TimelineItem.displayName = 'Timeline.Item';
|
|
230
|
+
|
|
231
|
+
// Create a properly typed Timeline component with Item subcomponent
|
|
232
|
+
|
|
233
|
+
// Attach sub-components and export with proper typing
|
|
234
|
+
export const Timeline = TimelineRoot;
|
|
235
|
+
Timeline.Item = TimelineItem;
|
|
236
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","forwardRef","createContext","useContext","BoxView","Text","useComponentDefaultProps","createStyles","rem","jsx","_jsx","jsxs","_jsxs","TimelineContext","useTimelineContext","context","Error","useTimelineStyles","_theme","align","root","flexDirection","alignItems","useTimelineItemStyles","theme","color","radius","lineWidth","bulletSize","isActive","lineVariant","isLast","colors","primaryColor","getLineStyle","baseStyle","borderLeftWidth","borderLeftColor","primaryBgColor","colorScheme","dark","gray","borderStyle","item","width","itemBody","flex","paddingBottom","spacing","md","paddingLeft","paddingRight","bulletWrapper","position","bullet","height","borderRadius","fn","backgroundColor","borderWidth","borderColor","justifyContent","zIndex","line","top","bottom","left","title","fontSize","fontSizes","sm","fontWeight","white","black","marginBottom","content","defaultProps","reverseActive","active","defaultItemProps","TimelineRoot","props","ref","children","style","others","styles","sx","name","childrenArray","Children","toArray","itemsCount","length","Provider","value","map","child","index","isValidElement","cloneElement","key","__index","__isLast","__isActive","TimelineItem","itemBulletSize","itemColor","displayName","Timeline","Item"],"sourceRoot":"../../../../src","sources":["components/Timeline/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,aAAa,EAAEC,UAAU,QAAQ,OAAO;AACpE,SAASC,OAAO,QAAQ,qBAAY;AACpC,SAASC,IAAI,QAAQ,kBAAS;AAE9B,SAASC,wBAAwB,QAAQ,+BAA4B;AACrE,SAASC,YAAY,QAAQ,sBAAa;AAC1C,SAASC,GAAG,QAAQ,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAW5C,MAAMC,eAAe,gBAAGX,aAAa,CAA8B,IAAI,CAAC;AAExE,MAAMY,kBAAkB,GAAGA,CAAA,KAAM;EAC/B,MAAMC,OAAO,GAAGZ,UAAU,CAACU,eAAe,CAAC;EAC3C,IAAI,CAACE,OAAO,EAAE;IACZ,MAAM,IAAIC,KAAK,CAAC,kDAAkD,CAAC;EACrE;EACA,OAAOD,OAAO;AAChB,CAAC;AA4DD,MAAME,iBAAiB,GAAGV,YAAY,CACpC,CAACW,MAAM,EAAE;EAAEC;AAAmC,CAAC,MAAM;EACnDC,IAAI,EAAE;IACJC,aAAa,EAAE,QAAQ;IACvBC,UAAU,EAAEH,KAAK,KAAK,MAAM,GAAG,YAAY,GAAG;EAChD;AACF,CAAC,CACH,CAAC;AAED,MAAMI,qBAAqB,GAAGhB,YAAY,CAC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K,EAAEE,MAAM,CAACzC,QAAS;MAAAsC,QAAA,GAC7BhB,KAAK,iBACJzD,IAAA,CAACL,IAAI;QAAC+E,KAAK,EAAEE,MAAM,CAACnB,KAAM;QAAAgB,QAAA,EACvB,OAAOhB,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAGA;MAAK,CACtC,CACP,EACAgB,QAAQ,iBACPzE,IAAA,CAACL,IAAI;QAAC+E,KAAK,EAAEE,MAAM,CAACX,OAAQ;QAAAQ,QAAA,EACzB,OAAOA,QAAQ,KAAK,QAAQ,GAAGA,QAAQ,GAAGA;MAAQ,CAC/C,CACP;IAAA,CACM,CAAC;EAAA,CACH,CAAC;AAEd,CAAC,CAAC;AAEFH,YAAY,CAAC4B,WAAW,GAAG,UAAU;AACrCH,YAAY,CAACG,WAAW,GAAG,eAAe;;AAE1C;;AAKA;AACA,OAAO,MAAMC,QAAQ,GAAG7B,YAAiC;AACzD6B,QAAQ,CAACC,IAAI,GAAGL,YAAY","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { forwardRef } from 'react';
|
|
4
|
+
import { Text } from "../Text/index.js";
|
|
5
|
+
import { useTheme } from "../../theme/theme-provider.js";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
/**
|
|
8
|
+
* Title component renders heading text with appropriate styling
|
|
9
|
+
* Maps order prop to h1-h6 heading styles from theme
|
|
10
|
+
*/
|
|
11
|
+
export const Title = /*#__PURE__*/forwardRef((props, ref) => {
|
|
12
|
+
const {
|
|
13
|
+
order = 1,
|
|
14
|
+
children,
|
|
15
|
+
style,
|
|
16
|
+
...others
|
|
17
|
+
} = props;
|
|
18
|
+
const theme = useTheme();
|
|
19
|
+
|
|
20
|
+
// Get heading styles from theme
|
|
21
|
+
const headingKey = `h${order}`;
|
|
22
|
+
const headingStyles = theme.headings.sizes[headingKey];
|
|
23
|
+
|
|
24
|
+
// Determine fontWeight - use specific value or default to 700
|
|
25
|
+
const fontWeight = headingStyles.fontWeight ?? theme.headings.fontWeight ?? 700;
|
|
26
|
+
return /*#__PURE__*/_jsx(Text, {
|
|
27
|
+
ref: ref,
|
|
28
|
+
style: [{
|
|
29
|
+
fontSize: headingStyles.fontSize,
|
|
30
|
+
lineHeight: headingStyles.lineHeight ? headingStyles.fontSize * headingStyles.lineHeight : headingStyles.fontSize * 1.3,
|
|
31
|
+
fontWeight: fontWeight,
|
|
32
|
+
fontFamily: theme.headings.fontFamily || theme.fontFamilyBold
|
|
33
|
+
}, style],
|
|
34
|
+
...others,
|
|
35
|
+
children: children
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
Title.displayName = 'Title';
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","forwardRef","Text","useTheme","jsx","_jsx","Title","props","ref","order","children","style","others","theme","headingKey","headingStyles","headings","sizes","fontWeight","fontSize","lineHeight","fontFamily","fontFamilyBold","displayName"],"sourceRoot":"../../../../src","sources":["components/Title/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,IAAI,QAAQ,kBAAS;AAE9B,SAASC,QAAQ,QAAQ,+BAA4B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAUtD;AACA;AACA;AACA;AACA,OAAO,MAAMC,KAAK,gBAAGL,UAAU,CAAkB,CAACM,KAAK,EAAEC,GAAG,KAAK;EAC/D,MAAM;IAAEC,KAAK,GAAG,CAAC;IAAEC,QAAQ;IAAEC,KAAK;IAAE,GAAGC;EAAM,CAAC,GAAGL,KAAK;EACtD,MAAMM,KAAK,GAAGV,QAAQ,CAAC,CAAC;;EAExB;EACA,MAAMW,UAAU,GAAG,IAAIL,KAAK,EAA6C;EACzE,MAAMM,aAAa,GAAGF,KAAK,CAACG,QAAQ,CAACC,KAAK,CAACH,UAAU,CAAC;;EAEtD;EACA,MAAMI,UAAU,GACdH,aAAa,CAACG,UAAU,IACxBL,KAAK,CAACG,QAAQ,CAACE,UAAU,IACzB,GAAG;EAEL,oBACEb,IAAA,CAACH,IAAI;IACHM,GAAG,EAAEA,GAAI;IACTG,KAAK,EAAE,CACL;MACEQ,QAAQ,EAAEJ,aAAa,CAACI,QAAQ;MAChCC,UAAU,EAAEL,aAAa,CAACK,UAAU,GAChCL,aAAa,CAACI,QAAQ,GAAGJ,aAAa,CAACK,UAAU,GACjDL,aAAa,CAACI,QAAQ,GAAG,GAAG;MAChCD,UAAU,EAAEA,UAAiB;MAC7BG,UAAU,EAAER,KAAK,CAACG,QAAQ,CAACK,UAAU,IAAIR,KAAK,CAACS;IACjD,CAAC,EACDX,KAAK,CACL;IAAA,GACEC,MAAM;IAAAF,QAAA,EAETA;EAAQ,CACL,CAAC;AAEX,CAAC,CAAC;AAEFJ,KAAK,CAACiB,WAAW,GAAG,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { forwardRef, useState, useRef } from 'react';
|
|
4
|
+
import { View, TouchableWithoutFeedback, Animated, Platform } from 'react-native';
|
|
5
|
+
import { Text } from "../Text/index.js";
|
|
6
|
+
import { Portal } from "../Portal/index.js";
|
|
7
|
+
import { useComponentDefaultProps } from "../../theme/theme-provider.js";
|
|
8
|
+
import { createStyles } from "../../theme/index.js";
|
|
9
|
+
import { rem } from "../../theme/utils/rem.js";
|
|
10
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
const useStyles = createStyles((theme, {
|
|
12
|
+
color,
|
|
13
|
+
radius,
|
|
14
|
+
multiline,
|
|
15
|
+
width
|
|
16
|
+
}) => {
|
|
17
|
+
const colors = theme.colors[color] || theme.colors.gray;
|
|
18
|
+
return {
|
|
19
|
+
tooltip: {
|
|
20
|
+
position: 'absolute',
|
|
21
|
+
backgroundColor: colors?.[9] || colors?.[8] || (theme.colors.gray || [])[9],
|
|
22
|
+
borderRadius: theme.fn.radius(radius),
|
|
23
|
+
paddingVertical: rem(6),
|
|
24
|
+
paddingHorizontal: rem(10),
|
|
25
|
+
maxWidth: width === 'auto' ? rem(250) : width,
|
|
26
|
+
...(multiline && {
|
|
27
|
+
textAlign: 'left'
|
|
28
|
+
}),
|
|
29
|
+
...Platform.select({
|
|
30
|
+
ios: {
|
|
31
|
+
shadowColor: '#000',
|
|
32
|
+
shadowOffset: {
|
|
33
|
+
width: 0,
|
|
34
|
+
height: 2
|
|
35
|
+
},
|
|
36
|
+
shadowOpacity: 0.25,
|
|
37
|
+
shadowRadius: 3.84
|
|
38
|
+
},
|
|
39
|
+
android: {
|
|
40
|
+
elevation: 5
|
|
41
|
+
}
|
|
42
|
+
})
|
|
43
|
+
},
|
|
44
|
+
label: {
|
|
45
|
+
color: theme.white,
|
|
46
|
+
fontSize: rem(12),
|
|
47
|
+
lineHeight: rem(16),
|
|
48
|
+
...(multiline && {
|
|
49
|
+
whiteSpace: 'normal'
|
|
50
|
+
})
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
const defaultProps = {
|
|
55
|
+
position: 'top',
|
|
56
|
+
color: 'gray',
|
|
57
|
+
radius: 'sm',
|
|
58
|
+
multiline: false,
|
|
59
|
+
width: 'auto',
|
|
60
|
+
zIndex: 1000,
|
|
61
|
+
openDelay: 0,
|
|
62
|
+
closeDelay: 0,
|
|
63
|
+
disabled: false,
|
|
64
|
+
trigger: 'longPress',
|
|
65
|
+
withArrow: false
|
|
66
|
+
};
|
|
67
|
+
export const Tooltip = /*#__PURE__*/forwardRef((props, _ref) => {
|
|
68
|
+
const {
|
|
69
|
+
label,
|
|
70
|
+
position,
|
|
71
|
+
color,
|
|
72
|
+
radius,
|
|
73
|
+
multiline,
|
|
74
|
+
width,
|
|
75
|
+
zIndex,
|
|
76
|
+
openDelay,
|
|
77
|
+
closeDelay,
|
|
78
|
+
opened: controlledOpened,
|
|
79
|
+
disabled,
|
|
80
|
+
trigger,
|
|
81
|
+
withArrow,
|
|
82
|
+
children,
|
|
83
|
+
style,
|
|
84
|
+
...others
|
|
85
|
+
} = useComponentDefaultProps('Tooltip', defaultProps, props);
|
|
86
|
+
const [visible, setVisible] = useState(false);
|
|
87
|
+
const [tooltipPosition, setTooltipPosition] = useState({
|
|
88
|
+
top: 0,
|
|
89
|
+
left: 0
|
|
90
|
+
});
|
|
91
|
+
const targetRef = useRef(null);
|
|
92
|
+
const opacity = useRef(new Animated.Value(0)).current;
|
|
93
|
+
const {
|
|
94
|
+
styles,
|
|
95
|
+
sx
|
|
96
|
+
} = useStyles({
|
|
97
|
+
color,
|
|
98
|
+
radius,
|
|
99
|
+
multiline,
|
|
100
|
+
width
|
|
101
|
+
}, {
|
|
102
|
+
name: 'Tooltip'
|
|
103
|
+
});
|
|
104
|
+
const isControlled = controlledOpened !== undefined;
|
|
105
|
+
const isVisible = isControlled ? controlledOpened : visible;
|
|
106
|
+
const show = () => {
|
|
107
|
+
if (disabled) return;
|
|
108
|
+
if (targetRef.current) {
|
|
109
|
+
targetRef.current.measureInWindow((x, y, width, _height) => {
|
|
110
|
+
const top = y - 40; // Simple positioning, can be improved
|
|
111
|
+
const left = x + width / 2 - 50;
|
|
112
|
+
setTooltipPosition({
|
|
113
|
+
top,
|
|
114
|
+
left
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
if (!isControlled) {
|
|
119
|
+
setTimeout(() => {
|
|
120
|
+
setVisible(true);
|
|
121
|
+
Animated.timing(opacity, {
|
|
122
|
+
toValue: 1,
|
|
123
|
+
duration: 150,
|
|
124
|
+
useNativeDriver: true
|
|
125
|
+
}).start();
|
|
126
|
+
}, openDelay);
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
const hide = () => {
|
|
130
|
+
if (!isControlled) {
|
|
131
|
+
setTimeout(() => {
|
|
132
|
+
Animated.timing(opacity, {
|
|
133
|
+
toValue: 0,
|
|
134
|
+
duration: 150,
|
|
135
|
+
useNativeDriver: true
|
|
136
|
+
}).start(() => setVisible(false));
|
|
137
|
+
}, closeDelay);
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
const triggerProps = trigger === 'longPress' ? {
|
|
141
|
+
onLongPress: show
|
|
142
|
+
} : {
|
|
143
|
+
onPress: show,
|
|
144
|
+
onPressOut: hide
|
|
145
|
+
};
|
|
146
|
+
const childWithRef = /*#__PURE__*/React.cloneElement(children, {
|
|
147
|
+
ref: targetRef,
|
|
148
|
+
...triggerProps
|
|
149
|
+
});
|
|
150
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
151
|
+
children: [childWithRef, isVisible && /*#__PURE__*/_jsx(Portal, {
|
|
152
|
+
children: /*#__PURE__*/_jsx(TouchableWithoutFeedback, {
|
|
153
|
+
onPress: hide,
|
|
154
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
155
|
+
style: {
|
|
156
|
+
position: 'absolute',
|
|
157
|
+
top: 0,
|
|
158
|
+
left: 0,
|
|
159
|
+
right: 0,
|
|
160
|
+
bottom: 0,
|
|
161
|
+
zIndex
|
|
162
|
+
},
|
|
163
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
164
|
+
style: [sx(styles.tooltip, style), {
|
|
165
|
+
top: tooltipPosition.top,
|
|
166
|
+
left: tooltipPosition.left,
|
|
167
|
+
opacity
|
|
168
|
+
}],
|
|
169
|
+
...others,
|
|
170
|
+
children: typeof label === 'string' ? /*#__PURE__*/_jsx(Text, {
|
|
171
|
+
style: styles.label,
|
|
172
|
+
children: label
|
|
173
|
+
}) : label
|
|
174
|
+
})
|
|
175
|
+
})
|
|
176
|
+
})
|
|
177
|
+
})]
|
|
178
|
+
});
|
|
179
|
+
});
|
|
180
|
+
Tooltip.displayName = 'Tooltip';
|
|
181
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","forwardRef","useState","useRef","View","TouchableWithoutFeedback","Animated","Platform","Text","Portal","useComponentDefaultProps","createStyles","rem","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","useStyles","theme","color","radius","multiline","width","colors","gray","tooltip","position","backgroundColor","borderRadius","fn","paddingVertical","paddingHorizontal","maxWidth","textAlign","select","ios","shadowColor","shadowOffset","height","shadowOpacity","shadowRadius","android","elevation","label","white","fontSize","lineHeight","whiteSpace","defaultProps","zIndex","openDelay","closeDelay","disabled","trigger","withArrow","Tooltip","props","_ref","opened","controlledOpened","children","style","others","visible","setVisible","tooltipPosition","setTooltipPosition","top","left","targetRef","opacity","Value","current","styles","sx","name","isControlled","undefined","isVisible","show","measureInWindow","x","y","_height","setTimeout","timing","toValue","duration","useNativeDriver","start","hide","triggerProps","onLongPress","onPress","onPressOut","childWithRef","cloneElement","ref","right","bottom","displayName"],"sourceRoot":"../../../../src","sources":["components/Tooltip/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,QAAQ,EAAEC,MAAM,QAAQ,OAAO;AAC3D,SACEC,IAAI,EACJC,wBAAwB,EACxBC,QAAQ,EACRC,QAAQ,QACH,cAAc;AACrB,SAASC,IAAI,QAAQ,kBAAS;AAC9B,SAASC,MAAM,QAAQ,oBAAW;AAMlC,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;AAyD5C,MAAMC,SAAS,GAAGR,YAAY,CAC5B,CACES,KAAK,EACL;EACEC,KAAK;EACLC,MAAM;EACNC,SAAS;EACTC;AAMF,CAAC,KACE;EACH,MAAMC,MAAM,GAAGL,KAAK,CAACK,MAAM,CAACJ,KAAK,CAAC,IAAID,KAAK,CAACK,MAAM,CAACC,IAAI;EAEvD,OAAO;IACLC,OA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