react-native-mantine 0.1.11
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/LICENSE +20 -0
- package/README.md +28 -0
- package/lib/commonjs/components/ActionIcon/ActionIcon.js +71 -0
- package/lib/commonjs/components/ActionIcon/ActionIcon.js.map +1 -0
- package/lib/commonjs/components/ActionIcon/index.js +13 -0
- package/lib/commonjs/components/ActionIcon/index.js.map +1 -0
- package/lib/commonjs/components/BoxView/index.js +30 -0
- package/lib/commonjs/components/BoxView/index.js.map +1 -0
- package/lib/commonjs/components/Group/index.js +33 -0
- package/lib/commonjs/components/Group/index.js.map +1 -0
- package/lib/commonjs/components/Loader/Loader.js +42 -0
- package/lib/commonjs/components/Loader/Loader.js.map +1 -0
- package/lib/commonjs/components/Loader/index.js +13 -0
- package/lib/commonjs/components/Loader/index.js.map +1 -0
- package/lib/commonjs/components/Stack/index.js +30 -0
- package/lib/commonjs/components/Stack/index.js.map +1 -0
- package/lib/commonjs/components/Text/index.js +51 -0
- package/lib/commonjs/components/Text/index.js.map +1 -0
- package/lib/commonjs/components/UnstyledButton/UnstyledButton.js +42 -0
- package/lib/commonjs/components/UnstyledButton/UnstyledButton.js.map +1 -0
- package/lib/commonjs/components/UnstyledButton/UnstyledButton.styles.js +24 -0
- package/lib/commonjs/components/UnstyledButton/UnstyledButton.styles.js.map +1 -0
- package/lib/commonjs/components/UnstyledButton/index.js +13 -0
- package/lib/commonjs/components/UnstyledButton/index.js.map +1 -0
- package/lib/commonjs/components/index.js +72 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/fonts/Nunito-Bold.ttf +0 -0
- package/lib/commonjs/fonts/Nunito-Regular.ttf +0 -0
- package/lib/commonjs/fonts/Nunito-SemiBold.ttf +0 -0
- package/lib/commonjs/hooks/useCachedResources.js +36 -0
- package/lib/commonjs/hooks/useCachedResources.js.map +1 -0
- package/lib/commonjs/index.js +28 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/theme/constants.js +25 -0
- package/lib/commonjs/theme/constants.js.map +1 -0
- package/lib/commonjs/theme/create-styles.js +25 -0
- package/lib/commonjs/theme/create-styles.js.map +1 -0
- package/lib/commonjs/theme/default-theme.js +132 -0
- package/lib/commonjs/theme/default-theme.js.map +1 -0
- package/lib/commonjs/theme/filter-props.js +15 -0
- package/lib/commonjs/theme/filter-props.js.map +1 -0
- package/lib/commonjs/theme/functions/attach-functions.js +18 -0
- package/lib/commonjs/theme/functions/attach-functions.js.map +1 -0
- package/lib/commonjs/theme/functions/fns/index.js +15 -0
- package/lib/commonjs/theme/functions/fns/index.js.map +1 -0
- package/lib/commonjs/theme/functions/fns/radius.js +16 -0
- package/lib/commonjs/theme/functions/fns/radius.js.map +1 -0
- package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js +12 -0
- package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js.map +1 -0
- package/lib/commonjs/theme/functions/fns/variant.js +11 -0
- package/lib/commonjs/theme/functions/fns/variant.js.map +1 -0
- package/lib/commonjs/theme/generate-theme.js +30 -0
- package/lib/commonjs/theme/generate-theme.js.map +1 -0
- package/lib/commonjs/theme/get-size/index.js +16 -0
- package/lib/commonjs/theme/get-size/index.js.map +1 -0
- package/lib/commonjs/theme/index.js +46 -0
- package/lib/commonjs/theme/index.js.map +1 -0
- package/lib/commonjs/theme/theme-provider.js +106 -0
- package/lib/commonjs/theme/theme-provider.js.map +1 -0
- package/lib/commonjs/theme/theme.d.js +2 -0
- package/lib/commonjs/theme/theme.d.js.map +1 -0
- package/lib/commonjs/theme/types/ColorScheme.js +2 -0
- package/lib/commonjs/theme/types/ColorScheme.js.map +1 -0
- package/lib/commonjs/theme/types/DefaultProps.js +2 -0
- package/lib/commonjs/theme/types/DefaultProps.js.map +1 -0
- package/lib/commonjs/theme/types/MantineColor.js +6 -0
- package/lib/commonjs/theme/types/MantineColor.js.map +1 -0
- package/lib/commonjs/theme/types/MantineSize.js +2 -0
- package/lib/commonjs/theme/types/MantineSize.js.map +1 -0
- package/lib/commonjs/theme/types/MantineStyleSystem.js +6 -0
- package/lib/commonjs/theme/types/MantineStyleSystem.js.map +1 -0
- package/lib/commonjs/theme/types/Tuple.js +2 -0
- package/lib/commonjs/theme/types/Tuple.js.map +1 -0
- package/lib/commonjs/theme/types/Variants.js +2 -0
- package/lib/commonjs/theme/types/Variants.js.map +1 -0
- package/lib/commonjs/theme/types/index.js +2 -0
- package/lib/commonjs/theme/types/index.js.map +1 -0
- package/lib/module/components/ActionIcon/ActionIcon.js +66 -0
- package/lib/module/components/ActionIcon/ActionIcon.js.map +1 -0
- package/lib/module/components/ActionIcon/index.js +4 -0
- package/lib/module/components/ActionIcon/index.js.map +1 -0
- package/lib/module/components/BoxView/index.js +26 -0
- package/lib/module/components/BoxView/index.js.map +1 -0
- package/lib/module/components/Group/index.js +28 -0
- package/lib/module/components/Group/index.js.map +1 -0
- package/lib/module/components/Loader/Loader.js +38 -0
- package/lib/module/components/Loader/Loader.js.map +1 -0
- package/lib/module/components/Loader/index.js +4 -0
- package/lib/module/components/Loader/index.js.map +1 -0
- package/lib/module/components/Stack/index.js +25 -0
- package/lib/module/components/Stack/index.js.map +1 -0
- package/lib/module/components/Text/index.js +47 -0
- package/lib/module/components/Text/index.js.map +1 -0
- package/lib/module/components/UnstyledButton/UnstyledButton.js +35 -0
- package/lib/module/components/UnstyledButton/UnstyledButton.js.map +1 -0
- package/lib/module/components/UnstyledButton/UnstyledButton.styles.js +20 -0
- package/lib/module/components/UnstyledButton/UnstyledButton.styles.js.map +1 -0
- package/lib/module/components/UnstyledButton/index.js +4 -0
- package/lib/module/components/UnstyledButton/index.js.map +1 -0
- package/lib/module/components/index.js +9 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/fonts/Nunito-Bold.ttf +0 -0
- package/lib/module/fonts/Nunito-Regular.ttf +0 -0
- package/lib/module/fonts/Nunito-SemiBold.ttf +0 -0
- package/lib/module/hooks/useCachedResources.js +30 -0
- package/lib/module/hooks/useCachedResources.js.map +1 -0
- package/lib/module/index.js +5 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/theme/constants.js +21 -0
- package/lib/module/theme/constants.js.map +1 -0
- package/lib/module/theme/create-styles.js +21 -0
- package/lib/module/theme/create-styles.js.map +1 -0
- package/lib/module/theme/default-theme.js +128 -0
- package/lib/module/theme/default-theme.js.map +1 -0
- package/lib/module/theme/filter-props.js +11 -0
- package/lib/module/theme/filter-props.js.map +1 -0
- package/lib/module/theme/functions/attach-functions.js +14 -0
- package/lib/module/theme/functions/attach-functions.js.map +1 -0
- package/lib/module/theme/functions/fns/index.js +11 -0
- package/lib/module/theme/functions/fns/index.js.map +1 -0
- package/lib/module/theme/functions/fns/radius.js +12 -0
- package/lib/module/theme/functions/fns/radius.js.map +1 -0
- package/lib/module/theme/functions/fns/theme-color/theme-color.js +8 -0
- package/lib/module/theme/functions/fns/theme-color/theme-color.js.map +1 -0
- package/lib/module/theme/functions/fns/variant.js +6 -0
- package/lib/module/theme/functions/fns/variant.js.map +1 -0
- package/lib/module/theme/generate-theme.js +25 -0
- package/lib/module/theme/generate-theme.js.map +1 -0
- package/lib/module/theme/get-size/index.js +12 -0
- package/lib/module/theme/get-size/index.js.map +1 -0
- package/lib/module/theme/index.js +7 -0
- package/lib/module/theme/index.js.map +1 -0
- package/lib/module/theme/theme-provider.js +94 -0
- package/lib/module/theme/theme-provider.js.map +1 -0
- package/lib/module/theme/theme.d.js +2 -0
- package/lib/module/theme/theme.d.js.map +1 -0
- package/lib/module/theme/types/ColorScheme.js +2 -0
- package/lib/module/theme/types/ColorScheme.js.map +1 -0
- package/lib/module/theme/types/DefaultProps.js +2 -0
- package/lib/module/theme/types/DefaultProps.js.map +1 -0
- package/lib/module/theme/types/MantineColor.js +4 -0
- package/lib/module/theme/types/MantineColor.js.map +1 -0
- package/lib/module/theme/types/MantineSize.js +2 -0
- package/lib/module/theme/types/MantineSize.js.map +1 -0
- package/lib/module/theme/types/MantineStyleSystem.js +4 -0
- package/lib/module/theme/types/MantineStyleSystem.js.map +1 -0
- package/lib/module/theme/types/Tuple.js +2 -0
- package/lib/module/theme/types/Tuple.js.map +1 -0
- package/lib/module/theme/types/Variants.js +2 -0
- package/lib/module/theme/types/Variants.js.map +1 -0
- package/lib/module/theme/types/index.js +2 -0
- package/lib/module/theme/types/index.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ActionIcon/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/ActionIcon/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/BoxView/index.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/BoxView/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Group/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/Group/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Loader/Loader.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/Loader/Loader.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Loader/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/Loader/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Stack/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/components/Stack/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Text/index.d.ts +20 -0
- package/lib/typescript/commonjs/src/components/Text/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/UnstyledButton/UnstyledButton.d.ts +10 -0
- package/lib/typescript/commonjs/src/components/UnstyledButton/UnstyledButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/UnstyledButton/UnstyledButton.styles.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/UnstyledButton/UnstyledButton.styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/UnstyledButton/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/UnstyledButton/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/index.d.ts +7 -0
- package/lib/typescript/commonjs/src/components/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useCachedResources.d.ts +2 -0
- package/lib/typescript/commonjs/src/hooks/useCachedResources.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/constants.d.ts +13 -0
- package/lib/typescript/commonjs/src/theme/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/create-styles.d.ts +12 -0
- package/lib/typescript/commonjs/src/theme/create-styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/default-theme.d.ts +58 -0
- package/lib/typescript/commonjs/src/theme/default-theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/filter-props.d.ts +6 -0
- package/lib/typescript/commonjs/src/theme/filter-props.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/functions/attach-functions.d.ts +2 -0
- package/lib/typescript/commonjs/src/theme/functions/attach-functions.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/radius.d.ts +3 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/radius.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts +2 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts +2 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/generate-theme.d.ts +3 -0
- package/lib/typescript/commonjs/src/theme/generate-theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/get-size/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/theme/get-size/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/theme/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/theme-provider.d.ts +21 -0
- package/lib/typescript/commonjs/src/theme/theme-provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/types/ColorScheme.d.ts +2 -0
- package/lib/typescript/commonjs/src/theme/types/ColorScheme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/types/DefaultProps.d.ts +8 -0
- package/lib/typescript/commonjs/src/theme/types/DefaultProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/types/MantineColor.d.ts +8 -0
- package/lib/typescript/commonjs/src/theme/types/MantineColor.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/types/MantineSize.d.ts +4 -0
- package/lib/typescript/commonjs/src/theme/types/MantineSize.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/types/MantineStyleSystem.d.ts +5 -0
- package/lib/typescript/commonjs/src/theme/types/MantineStyleSystem.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/types/Tuple.d.ts +4 -0
- package/lib/typescript/commonjs/src/theme/types/Tuple.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/types/Variants.d.ts +2 -0
- package/lib/typescript/commonjs/src/theme/types/Variants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/types/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/theme/types/index.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts +17 -0
- package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ActionIcon/index.d.ts +3 -0
- package/lib/typescript/module/src/components/ActionIcon/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/BoxView/index.d.ts +17 -0
- package/lib/typescript/module/src/components/BoxView/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Group/index.d.ts +9 -0
- package/lib/typescript/module/src/components/Group/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Loader/Loader.d.ts +14 -0
- package/lib/typescript/module/src/components/Loader/Loader.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Loader/index.d.ts +3 -0
- package/lib/typescript/module/src/components/Loader/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Stack/index.d.ts +6 -0
- package/lib/typescript/module/src/components/Stack/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Text/index.d.ts +20 -0
- package/lib/typescript/module/src/components/Text/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/UnstyledButton/UnstyledButton.d.ts +10 -0
- package/lib/typescript/module/src/components/UnstyledButton/UnstyledButton.d.ts.map +1 -0
- package/lib/typescript/module/src/components/UnstyledButton/UnstyledButton.styles.d.ts +9 -0
- package/lib/typescript/module/src/components/UnstyledButton/UnstyledButton.styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/UnstyledButton/index.d.ts +3 -0
- package/lib/typescript/module/src/components/UnstyledButton/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/index.d.ts +7 -0
- package/lib/typescript/module/src/components/index.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useCachedResources.d.ts +2 -0
- package/lib/typescript/module/src/hooks/useCachedResources.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +5 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/constants.d.ts +13 -0
- package/lib/typescript/module/src/theme/constants.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/create-styles.d.ts +12 -0
- package/lib/typescript/module/src/theme/create-styles.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/default-theme.d.ts +58 -0
- package/lib/typescript/module/src/theme/default-theme.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/filter-props.d.ts +6 -0
- package/lib/typescript/module/src/theme/filter-props.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/functions/attach-functions.d.ts +2 -0
- package/lib/typescript/module/src/theme/functions/attach-functions.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/functions/fns/index.d.ts +8 -0
- package/lib/typescript/module/src/theme/functions/fns/index.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/functions/fns/radius.d.ts +3 -0
- package/lib/typescript/module/src/theme/functions/fns/radius.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts +2 -0
- package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/functions/fns/variant.d.ts +2 -0
- package/lib/typescript/module/src/theme/functions/fns/variant.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/generate-theme.d.ts +3 -0
- package/lib/typescript/module/src/theme/generate-theme.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/get-size/index.d.ts +6 -0
- package/lib/typescript/module/src/theme/get-size/index.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/index.d.ts +5 -0
- package/lib/typescript/module/src/theme/index.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/theme-provider.d.ts +21 -0
- package/lib/typescript/module/src/theme/theme-provider.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/types/ColorScheme.d.ts +2 -0
- package/lib/typescript/module/src/theme/types/ColorScheme.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/types/DefaultProps.d.ts +8 -0
- package/lib/typescript/module/src/theme/types/DefaultProps.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/types/MantineColor.d.ts +8 -0
- package/lib/typescript/module/src/theme/types/MantineColor.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/types/MantineSize.d.ts +4 -0
- package/lib/typescript/module/src/theme/types/MantineSize.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/types/MantineStyleSystem.d.ts +5 -0
- package/lib/typescript/module/src/theme/types/MantineStyleSystem.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/types/Tuple.d.ts +4 -0
- package/lib/typescript/module/src/theme/types/Tuple.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/types/Variants.d.ts +2 -0
- package/lib/typescript/module/src/theme/types/Variants.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/types/index.d.ts +8 -0
- package/lib/typescript/module/src/theme/types/index.d.ts.map +1 -0
- package/package.json +194 -0
- package/src/components/ActionIcon/ActionIcon.tsx +64 -0
- package/src/components/ActionIcon/index.ts +3 -0
- package/src/components/BoxView/index.tsx +30 -0
- package/src/components/Group/index.tsx +48 -0
- package/src/components/Loader/Loader.tsx +50 -0
- package/src/components/Loader/index.ts +2 -0
- package/src/components/Stack/index.tsx +29 -0
- package/src/components/Text/index.tsx +81 -0
- package/src/components/UnstyledButton/UnstyledButton.styles.ts +16 -0
- package/src/components/UnstyledButton/UnstyledButton.tsx +34 -0
- package/src/components/UnstyledButton/index.ts +2 -0
- package/src/components/index.tsx +6 -0
- package/src/fonts/Nunito-Bold.ttf +0 -0
- package/src/fonts/Nunito-Regular.ttf +0 -0
- package/src/fonts/Nunito-SemiBold.ttf +0 -0
- package/src/hooks/useCachedResources.ts +30 -0
- package/src/index.tsx +4 -0
- package/src/theme/constants.ts +20 -0
- package/src/theme/create-styles.ts +31 -0
- package/src/theme/default-theme.ts +359 -0
- package/src/theme/filter-props.ts +12 -0
- package/src/theme/functions/attach-functions.ts +12 -0
- package/src/theme/functions/fns/index.ts +9 -0
- package/src/theme/functions/fns/radius.ts +16 -0
- package/src/theme/functions/fns/theme-color/theme-color.ts +6 -0
- package/src/theme/functions/fns/variant.ts +3 -0
- package/src/theme/generate-theme.ts +20 -0
- package/src/theme/get-size/index.ts +18 -0
- package/src/theme/index.tsx +4 -0
- package/src/theme/theme-provider.tsx +131 -0
- package/src/theme/theme.d.ts +13 -0
- package/src/theme/types/ColorScheme.ts +1 -0
- package/src/theme/types/DefaultProps.ts +13 -0
- package/src/theme/types/MantineColor.ts +28 -0
- package/src/theme/types/MantineSize.ts +3 -0
- package/src/theme/types/MantineStyleSystem.ts +62 -0
- package/src/theme/types/Tuple.ts +9 -0
- package/src/theme/types/Variants.ts +1 -0
- package/src/theme/types/index.ts +12 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Palette } from './theme';
|
|
2
|
+
export declare const DEFAULT_COLORS: {
|
|
3
|
+
[key: string]: Palette;
|
|
4
|
+
};
|
|
5
|
+
export declare const _DEFAULT_THEME: TTheme;
|
|
6
|
+
export declare const DEFAULT_THEME: any;
|
|
7
|
+
type ColorScheme = {
|
|
8
|
+
text: string;
|
|
9
|
+
background: string;
|
|
10
|
+
backgroundSecondary?: string;
|
|
11
|
+
backgroundThird?: string;
|
|
12
|
+
tint: string;
|
|
13
|
+
tabIconDefault: string;
|
|
14
|
+
tabIconSelected: string;
|
|
15
|
+
};
|
|
16
|
+
export type ThemeSize = {
|
|
17
|
+
xs: number;
|
|
18
|
+
sm: number;
|
|
19
|
+
md: number;
|
|
20
|
+
lg: number;
|
|
21
|
+
xl: number;
|
|
22
|
+
};
|
|
23
|
+
export type themeMode = 'dark' | 'light';
|
|
24
|
+
export type TTheme = {
|
|
25
|
+
fontFamily: string;
|
|
26
|
+
fontFamilyBold: string;
|
|
27
|
+
localColor: string;
|
|
28
|
+
currentMode?: themeMode;
|
|
29
|
+
toggleMode?: () => void;
|
|
30
|
+
primaryShade: number;
|
|
31
|
+
colors: {
|
|
32
|
+
[key: string]: Palette;
|
|
33
|
+
};
|
|
34
|
+
primaryColor: string;
|
|
35
|
+
secondaryColor: string;
|
|
36
|
+
secondaryBgColor: string;
|
|
37
|
+
light: ColorScheme;
|
|
38
|
+
dark: ColorScheme;
|
|
39
|
+
other: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
42
|
+
shadows: {
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
};
|
|
45
|
+
radius: ThemeSize;
|
|
46
|
+
fontSizes: ThemeSize;
|
|
47
|
+
window: {
|
|
48
|
+
width: number;
|
|
49
|
+
height: number;
|
|
50
|
+
};
|
|
51
|
+
primaryBgColor: string;
|
|
52
|
+
primaryTextColor: string;
|
|
53
|
+
isIOS?: boolean;
|
|
54
|
+
OSVersion?: any;
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
};
|
|
57
|
+
export {};
|
|
58
|
+
//# sourceMappingURL=default-theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-theme.d.ts","sourceRoot":"","sources":["../../../../../src/theme/default-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,cAAc,EAAE;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CA+MxB,CAAC;AAKF,eAAO,MAAM,cAAc,EAAE,MAiF5B,CAAC;AAEF,eAAO,MAAM,aAAa,KAAkC,CAAC;AAE7D,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;AAEzC,MAAM,MAAM,MAAM,GAAG;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,WAAW,CAAC;IAElB,KAAK,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;IACF,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,SAAS,CAAC,EAAE,GAAG,CAAC;IAEhB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type FilterPropsRes<T extends Record<string, any>> = {
|
|
2
|
+
[Key in keyof T]-?: T[Key] extends undefined ? never : T[Key];
|
|
3
|
+
};
|
|
4
|
+
export declare function filterProps<T extends Record<string, any>>(props: T): FilterPropsRes<T>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=filter-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-props.d.ts","sourceRoot":"","sources":["../../../../../src/theme/filter-props.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI;KAClD,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC;CAC9D,CAAC;AAEF,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,qBAOlE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attach-functions.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/functions/attach-functions.ts"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,CAAC,SAAS,EAAE,GAAG,GAAG,GAAG,CASnD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { radius } from './radius';
|
|
2
|
+
import { themeColor } from './theme-color/theme-color';
|
|
3
|
+
export declare const fns: {
|
|
4
|
+
radius: typeof radius;
|
|
5
|
+
variant: (_theme: any) => (_variant: string) => {};
|
|
6
|
+
themeColor: typeof themeColor;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/theme/functions/fns/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAGvD,eAAO,MAAM,GAAG;;;;CAIf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radius.d.ts","sourceRoot":"","sources":["../../../../../../../src/theme/functions/fns/radius.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAG,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEtD,wBAAgB,MAAM,CAAC,KAAK,EAAE,GAAG,WAChB,iBAAiB,KAAG,MAAM,GAAG,MAAM,CAYnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-color.d.ts","sourceRoot":"","sources":["../../../../../../../../src/theme/functions/fns/theme-color/theme-color.ts"],"names":[],"mappings":"AACA,wBAAgB,UAAU,CAAC,MAAM,EAAE,GAAG,YACpB,GAAG,QAGpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variant.d.ts","sourceRoot":"","sources":["../../../../../../../src/theme/functions/fns/variant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAY,GAAG,gBAAgB,MAAM,OAExD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-theme.d.ts","sourceRoot":"","sources":["../../../../../src/theme/generate-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,eAAO,MAAM,aAAa,WAAY,OAAO,CAAC,MAAM,CAAC,KAAG,MAiBvD,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MantineNumberSize } from 'react-native-mantine';
|
|
2
|
+
export declare function getSize<Sizes extends Record<any, any>, Key extends keyof Sizes, Size extends MantineNumberSize>({ size, sizes, }: {
|
|
3
|
+
size: Size;
|
|
4
|
+
sizes: Sizes;
|
|
5
|
+
}): Size extends Key ? Sizes[Size] : Size extends number ? number : Size;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/get-size/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,wBAAgB,OAAO,CACrB,KAAK,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,EAC9B,GAAG,SAAS,MAAM,KAAK,EACvB,IAAI,SAAS,iBAAiB,EAC9B,EACA,IAAI,EACJ,KAAK,GACN,EAAE;IACD,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,IAAI,SAAS,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,CAKvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/theme/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import type { TTheme } from './default-theme';
|
|
4
|
+
type ThemeProps = {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
theme?: Partial<TTheme>;
|
|
7
|
+
forceMode?: 'light' | 'dark';
|
|
8
|
+
};
|
|
9
|
+
export declare const ThemeContext: React.Context<any>;
|
|
10
|
+
export declare const ThemeProvider: ({ children, theme, forceMode, }: {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
theme: TTheme;
|
|
13
|
+
forceMode?: "light" | "dark";
|
|
14
|
+
}) => React.ReactElement;
|
|
15
|
+
export declare const useTheme: () => TTheme;
|
|
16
|
+
export declare const Theme: ({ children, theme: themeOverwrite, forceMode, }: ThemeProps) => React.ReactElement;
|
|
17
|
+
export declare function useComponentDefaultProps<T extends Record<string, any>, U extends Partial<T> = {}>(component: string, defaultProps: U, props: T): T & {
|
|
18
|
+
[Key in Extract<keyof T, keyof U>]-?: U[Key] | NonNullable<T[Key]>;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=theme-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../../../src/theme/theme-provider.tsx"],"names":[],"mappings":"AACA,OAAO,KAMN,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAM9C,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,YAAY,oBAA2B,CAAC;AAErD,eAAO,MAAM,aAAa,oCAIvB;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC9B,KAAG,KAAK,CAAC,YAkDT,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAO,MAAkC,CAAC;AAE/D,eAAO,MAAM,KAAK,oDAIf,UAAU,KAAG,KAAK,CAAC,YAerB,CAAC;AAEF,wBAAgB,wBAAwB,CACtC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7B,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,EAEzB,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,CAAC,EACf,KAAK,EAAE,CAAC,GACP,CAAC,GAAG;KACJ,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACnE,CASA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorScheme.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/types/ColorScheme.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type CSSObject = any;
|
|
2
|
+
export type ClassNames<StylesNames extends string> = Partial<Record<StylesNames, string>>;
|
|
3
|
+
export type Styles<StylesNames extends string, StylesParams extends Record<string, any> = never> = Partial<Record<StylesNames, CSSObject>> | ((theme: any, params: StylesParams, context: any) => Partial<Record<StylesNames, CSSObject>>);
|
|
4
|
+
export interface DefaultProps {
|
|
5
|
+
style?: any;
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=DefaultProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultProps.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/types/DefaultProps.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG,GAAG,CAAA;AACpB,MAAM,MAAM,UAAU,CAAC,WAAW,SAAS,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;AAC1F,MAAM,MAAM,MAAM,CAAC,WAAW,SAAS,MAAM,EAAE,YAAY,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK,IAC3F,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,GACvC,CAAC,CACC,KAAK,EAAE,GAAG,EACV,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,GAAG,KACT,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;AAElD,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,GAAG,CAAC;CACb"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Tuple } from './Tuple';
|
|
2
|
+
export type DefaultMantineColor = 'dark' | 'gray' | 'red' | 'pink' | 'grape' | 'violet' | 'indigo' | 'blue' | 'cyan' | 'green' | 'lime' | 'yellow' | 'orange' | 'teal' | (string & {});
|
|
3
|
+
export type MantineThemeColorsOverride = {};
|
|
4
|
+
export type MantineThemeColors = MantineThemeColorsOverride extends {
|
|
5
|
+
colors: Record<infer CustomColors, Tuple<string, 10>>;
|
|
6
|
+
} ? Record<CustomColors, Tuple<string, 10>> : Record<DefaultMantineColor, Tuple<string, 10>>;
|
|
7
|
+
export type MantineColor = keyof MantineThemeColors;
|
|
8
|
+
//# sourceMappingURL=MantineColor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MantineColor.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/types/MantineColor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,MAAM,mBAAmB,GAC3B,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,0BAA0B,SAAS;IAClE,MAAM,EAAE,MAAM,CAAC,MAAM,YAAY,EAAE,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC;CACvD,GACG,MAAM,CAAC,YAAY,EAAE,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GACvC,MAAM,CAAC,mBAAmB,EAAE,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC;AAEnD,MAAM,MAAM,YAAY,GAAG,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MantineSize.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/types/MantineSize.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAC3E,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AACrE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MantineNumberSize, MantineSize } from './MantineSize';
|
|
2
|
+
export type SystemProp<Value> = Value | Partial<Record<MantineSize | (string & {}), Value>>;
|
|
3
|
+
export type SpacingValue = MantineNumberSize | (string & {});
|
|
4
|
+
export type MantineStyleSystemProps = any;
|
|
5
|
+
//# sourceMappingURL=MantineStyleSystem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MantineStyleSystem.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/types/MantineStyleSystem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEpE,MAAM,MAAM,UAAU,CAAC,KAAK,IACxB,KAAK,GACL,OAAO,CAAC,MAAM,CAAC,WAAW,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAE7D,MAAM,MAAM,uBAAuB,GAAG,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tuple.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/types/Tuple.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,GAC3E,CAAC,GACD,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AAE9B,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,CAAC,GAChD,MAAM,SAAS,CAAC,GACd,CAAC,EAAE,GACH,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,GACpB,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Variants.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/types/Variants.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type { ColorScheme } from './ColorScheme';
|
|
2
|
+
export type { DefaultProps, ClassNames, Styles } from './DefaultProps';
|
|
3
|
+
export type { MantineColor, MantineThemeColors, DefaultMantineColor, MantineThemeColorsOverride, } from './MantineColor';
|
|
4
|
+
export type { MantineStyleSystemProps, SystemProp, SpacingValue } from './MantineStyleSystem';
|
|
5
|
+
export type { MantineNumberSize, MantineSize, MantineSizes } from './MantineSize';
|
|
6
|
+
export type { Tuple } from './Tuple';
|
|
7
|
+
export type { Variants } from './Variants';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACvE,YAAY,EACV,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,uBAAuB,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC9F,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClF,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type ActionIconProps = {
|
|
2
|
+
onPress?: (payload: any) => void;
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
icon: React.ReactNode;
|
|
5
|
+
minWidth?: number;
|
|
6
|
+
style?: any;
|
|
7
|
+
size: any;
|
|
8
|
+
};
|
|
9
|
+
export declare const ActionIcon: ({ onPress, children, icon, minWidth, style, size, }: ActionIconProps) => React.ReactElement;
|
|
10
|
+
export declare const sizes: {
|
|
11
|
+
xs: number;
|
|
12
|
+
sm: number;
|
|
13
|
+
md: number;
|
|
14
|
+
lg: number;
|
|
15
|
+
xl: number;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=ActionIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ActionIcon/ActionIcon.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,IAAI,EAAE,GAAG,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,UAAU,wDAOpB,eAAe,KAAG,KAAK,CAAC,YAa1B,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;CAMjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ActionIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { View as DefaultView } from 'react-native';
|
|
2
|
+
export type CustomViewStyle = {
|
|
3
|
+
pointerEvents?: 'auto' | 'none' | 'box-none' | 'box-only';
|
|
4
|
+
};
|
|
5
|
+
export type ViewProps = DefaultView['props'] & {
|
|
6
|
+
fullWidth?: boolean;
|
|
7
|
+
fullHeight?: boolean;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
style?: CustomViewStyle;
|
|
10
|
+
};
|
|
11
|
+
export declare const BoxView: import("react").ForwardRefExoticComponent<Readonly<import("react-native").ViewProps> & {
|
|
12
|
+
fullWidth?: boolean;
|
|
13
|
+
fullHeight?: boolean;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
style?: CustomViewStyle;
|
|
16
|
+
} & import("react").RefAttributes<unknown>>;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BoxView/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;CAC3D,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,CAAC,GAAG;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,OAAO;gBANN,OAAO;iBACN,OAAO;eACT,KAAK,CAAC,SAAS;YAClB,eAAe;2CAkBvB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ViewProps } from '../BoxView';
|
|
2
|
+
export declare const Group: ({ children, position, style, alignCenter, alignBottom, noWrap, spacing, ...rest }: ViewProps & {
|
|
3
|
+
position?: string;
|
|
4
|
+
alignCenter?: boolean;
|
|
5
|
+
alignBottom?: boolean;
|
|
6
|
+
noWrap?: boolean;
|
|
7
|
+
spacing?: number;
|
|
8
|
+
}) => React.ReactElement;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Group/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,eAAO,MAAM,KAAK,sFASf,SAAS,GAAG;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,KAAG,KAAK,CAAC,YA2BT,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { MantineNumberSize, MantineColor } from '../../theme/types';
|
|
2
|
+
export interface LoaderProps {
|
|
3
|
+
/** Defines width of loader */
|
|
4
|
+
size?: MantineNumberSize;
|
|
5
|
+
/** Loader color from theme */
|
|
6
|
+
color?: MantineColor;
|
|
7
|
+
/** Loader appearance */
|
|
8
|
+
variant?: any;
|
|
9
|
+
}
|
|
10
|
+
export declare function Loader(props: LoaderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare namespace Loader {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=Loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAYzE,MAAM,WAAW,WAAW;IAC1B,8BAA8B;IAC9B,IAAI,CAAC,EAAE,iBAAiB,CAAC;IAEzB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,YAAY,CAAC;IAErB,wBAAwB;IACxB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf;AAMD,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,2CAmBxC;yBAnBe,MAAM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Stack/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,eAAO,MAAM,KAAK,oDAMf,SAAS,GAAG;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,KAAG,KAAK,CAAC,YAcT,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Text as DefaultText } from 'react-native';
|
|
2
|
+
export type TextProps = DefaultText['props'] & {
|
|
3
|
+
size?: string;
|
|
4
|
+
bold?: boolean;
|
|
5
|
+
questrial?: boolean;
|
|
6
|
+
semiBold?: boolean;
|
|
7
|
+
fontSize?: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
white?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const Text: import("react").ForwardRefExoticComponent<Readonly<import("react-native").TextProps> & {
|
|
12
|
+
size?: string;
|
|
13
|
+
bold?: boolean;
|
|
14
|
+
questrial?: boolean;
|
|
15
|
+
semiBold?: boolean;
|
|
16
|
+
fontSize?: number;
|
|
17
|
+
color?: string;
|
|
18
|
+
white?: boolean;
|
|
19
|
+
} & import("react").RefAttributes<unknown>>;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,CAAC,GAAG;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAkBF,eAAO,MAAM,IAAI;WAzBR,MAAM;WACN,OAAO;gBACF,OAAO;eACR,OAAO;eACP,MAAM;YACT,MAAM;YACN,OAAO;2CAmEf,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface UnstyledButtonProps {
|
|
3
|
+
variant?: string;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
onPress?: (payload: any) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const UnstyledButton: React.ForwardRefExoticComponent<UnstyledButtonProps & {
|
|
8
|
+
style?: any;
|
|
9
|
+
} & React.RefAttributes<any>>;
|
|
10
|
+
//# sourceMappingURL=UnstyledButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnstyledButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/UnstyledButton/UnstyledButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,cAAc;YAEO,GAAG;6BAkBnC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: (params?: any) => {
|
|
2
|
+
styles: {
|
|
3
|
+
root: import("react-native").ViewStyle | import("react-native").TextStyle | import("react-native").ImageStyle;
|
|
4
|
+
};
|
|
5
|
+
theme: import("../../theme/default-theme").TTheme;
|
|
6
|
+
sx: (...args: any) => any;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=UnstyledButton.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnstyledButton.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/UnstyledButton/UnstyledButton.styles.ts"],"names":[],"mappings":";;;;;;;AAEA,wBAaI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/UnstyledButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCachedResources.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useCachedResources.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,kBAAkB,IAAI,OAAO,CA0BpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/theme/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;CAWlB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ImageStyle, TextStyle, ViewStyle } from 'react-native';
|
|
2
|
+
import type { TTheme } from './default-theme';
|
|
3
|
+
type NamedStyles<T> = {
|
|
4
|
+
[P in keyof T]: ViewStyle | TextStyle | ImageStyle;
|
|
5
|
+
};
|
|
6
|
+
export declare function createStyles<T = any>(input: (theme: TTheme, params: any) => NamedStyles<T>): (params?: any) => {
|
|
7
|
+
styles: NamedStyles<T>;
|
|
8
|
+
theme: TTheme;
|
|
9
|
+
sx: (...args: any) => any;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=create-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-styles.d.ts","sourceRoot":"","sources":["../../../../../src/theme/create-styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMrE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE9C,KAAK,WAAW,CAAC,CAAC,IAAI;KACnB,CAAC,IAAI,MAAM,CAAC,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU;CACnD,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,GAAG,GAAG,EAClC,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,WAAW,CAAC,CAAC,CAAC,aAGzB,GAAG;;;kBAGR,GAAG;EAW3B"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Palette } from './theme';
|
|
2
|
+
export declare const DEFAULT_COLORS: {
|
|
3
|
+
[key: string]: Palette;
|
|
4
|
+
};
|
|
5
|
+
export declare const _DEFAULT_THEME: TTheme;
|
|
6
|
+
export declare const DEFAULT_THEME: any;
|
|
7
|
+
type ColorScheme = {
|
|
8
|
+
text: string;
|
|
9
|
+
background: string;
|
|
10
|
+
backgroundSecondary?: string;
|
|
11
|
+
backgroundThird?: string;
|
|
12
|
+
tint: string;
|
|
13
|
+
tabIconDefault: string;
|
|
14
|
+
tabIconSelected: string;
|
|
15
|
+
};
|
|
16
|
+
export type ThemeSize = {
|
|
17
|
+
xs: number;
|
|
18
|
+
sm: number;
|
|
19
|
+
md: number;
|
|
20
|
+
lg: number;
|
|
21
|
+
xl: number;
|
|
22
|
+
};
|
|
23
|
+
export type themeMode = 'dark' | 'light';
|
|
24
|
+
export type TTheme = {
|
|
25
|
+
fontFamily: string;
|
|
26
|
+
fontFamilyBold: string;
|
|
27
|
+
localColor: string;
|
|
28
|
+
currentMode?: themeMode;
|
|
29
|
+
toggleMode?: () => void;
|
|
30
|
+
primaryShade: number;
|
|
31
|
+
colors: {
|
|
32
|
+
[key: string]: Palette;
|
|
33
|
+
};
|
|
34
|
+
primaryColor: string;
|
|
35
|
+
secondaryColor: string;
|
|
36
|
+
secondaryBgColor: string;
|
|
37
|
+
light: ColorScheme;
|
|
38
|
+
dark: ColorScheme;
|
|
39
|
+
other: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
42
|
+
shadows: {
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
};
|
|
45
|
+
radius: ThemeSize;
|
|
46
|
+
fontSizes: ThemeSize;
|
|
47
|
+
window: {
|
|
48
|
+
width: number;
|
|
49
|
+
height: number;
|
|
50
|
+
};
|
|
51
|
+
primaryBgColor: string;
|
|
52
|
+
primaryTextColor: string;
|
|
53
|
+
isIOS?: boolean;
|
|
54
|
+
OSVersion?: any;
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
};
|
|
57
|
+
export {};
|
|
58
|
+
//# sourceMappingURL=default-theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-theme.d.ts","sourceRoot":"","sources":["../../../../../src/theme/default-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,cAAc,EAAE;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CA+MxB,CAAC;AAKF,eAAO,MAAM,cAAc,EAAE,MAiF5B,CAAC;AAEF,eAAO,MAAM,aAAa,KAAkC,CAAC;AAE7D,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;AAEzC,MAAM,MAAM,MAAM,GAAG;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,WAAW,CAAC;IAElB,KAAK,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;IACF,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,SAAS,CAAC,EAAE,GAAG,CAAC;IAEhB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type FilterPropsRes<T extends Record<string, any>> = {
|
|
2
|
+
[Key in keyof T]-?: T[Key] extends undefined ? never : T[Key];
|
|
3
|
+
};
|
|
4
|
+
export declare function filterProps<T extends Record<string, any>>(props: T): FilterPropsRes<T>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=filter-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-props.d.ts","sourceRoot":"","sources":["../../../../../src/theme/filter-props.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI;KAClD,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC;CAC9D,CAAC;AAEF,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,qBAOlE"}
|