@kivid/native-components 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -0
- package/assets/adaptive-icon.png +0 -0
- package/assets/favicon.png +0 -0
- package/assets/fonts/Nunito-Bold.ttf +0 -0
- package/assets/fonts/Nunito-BoldItalic.ttf +0 -0
- package/assets/fonts/Nunito-Italic.ttf +0 -0
- package/assets/fonts/Nunito-Medium.ttf +0 -0
- package/assets/fonts/Nunito-MediumItalic.ttf +0 -0
- package/assets/fonts/Nunito-Regular.ttf +0 -0
- package/assets/fonts/Nunito-SemiBold.ttf +0 -0
- package/assets/fonts/Nunito-SemiBoldItalic.ttf +0 -0
- package/assets/icon.png +0 -0
- package/assets/splash.png +0 -0
- package/dist/README.md +57 -0
- package/dist/commonjs/components/Button/assets/class-variants.js +91 -0
- package/dist/commonjs/components/Button/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Button/assets/design-system-showcase.js +1455 -0
- package/dist/commonjs/components/Button/assets/design-system-showcase.js.map +1 -0
- package/dist/commonjs/components/Button/index.js +116 -0
- package/dist/commonjs/components/Button/index.js.map +1 -0
- package/dist/commonjs/components/Button/types.js +6 -0
- package/dist/commonjs/components/Button/types.js.map +1 -0
- package/dist/commonjs/components/Chip/assets/class-variants.js +63 -0
- package/dist/commonjs/components/Chip/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Chip/enums/chip-size.js +12 -0
- package/dist/commonjs/components/Chip/enums/chip-size.js.map +1 -0
- package/dist/commonjs/components/Chip/enums/chip-variant.js +13 -0
- package/dist/commonjs/components/Chip/enums/chip-variant.js.map +1 -0
- package/dist/commonjs/components/Chip/enums/index.js +28 -0
- package/dist/commonjs/components/Chip/enums/index.js.map +1 -0
- package/dist/commonjs/components/Chip/index.js +38 -0
- package/dist/commonjs/components/Chip/index.js.map +1 -0
- package/dist/commonjs/components/Chip/types.js +6 -0
- package/dist/commonjs/components/Chip/types.js.map +1 -0
- package/dist/commonjs/components/HighlightedText/index.js +46 -0
- package/dist/commonjs/components/HighlightedText/index.js.map +1 -0
- package/dist/commonjs/components/HighlightedText/types.js +6 -0
- package/dist/commonjs/components/HighlightedText/types.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/components/GradientAdd/index.js +74 -0
- package/dist/commonjs/components/InformationStatus/components/GradientAdd/index.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/components/GradientAdd/types.js +6 -0
- package/dist/commonjs/components/InformationStatus/components/GradientAdd/types.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/components/GradientAlert/index.js +79 -0
- package/dist/commonjs/components/InformationStatus/components/GradientAlert/index.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/components/GradientAlert/types.js +6 -0
- package/dist/commonjs/components/InformationStatus/components/GradientAlert/types.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/components/GradientCheck/index.js +74 -0
- package/dist/commonjs/components/InformationStatus/components/GradientCheck/index.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/components/GradientCheck/types.js +6 -0
- package/dist/commonjs/components/InformationStatus/components/GradientCheck/types.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/components/GradientClose/index.js +72 -0
- package/dist/commonjs/components/InformationStatus/components/GradientClose/index.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/components/GradientClose/types.js +6 -0
- package/dist/commonjs/components/InformationStatus/components/GradientClose/types.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/components/index.js +50 -0
- package/dist/commonjs/components/InformationStatus/components/index.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/enums.js +14 -0
- package/dist/commonjs/components/InformationStatus/enums.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/index.js +75 -0
- package/dist/commonjs/components/InformationStatus/index.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/types.js +6 -0
- package/dist/commonjs/components/InformationStatus/types.js.map +1 -0
- package/dist/commonjs/components/InputCheckbox/assets/class-variants.js +64 -0
- package/dist/commonjs/components/InputCheckbox/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/InputCheckbox/enums/checkbox-variant.js +17 -0
- package/dist/commonjs/components/InputCheckbox/enums/checkbox-variant.js.map +1 -0
- package/dist/commonjs/components/InputCheckbox/enums/index.js +28 -0
- package/dist/commonjs/components/InputCheckbox/enums/index.js.map +1 -0
- package/dist/commonjs/components/InputCheckbox/enums/select-variant.js +12 -0
- package/dist/commonjs/components/InputCheckbox/enums/select-variant.js.map +1 -0
- package/dist/commonjs/components/InputCheckbox/icons/CheckIcon/index.js +28 -0
- package/dist/commonjs/components/InputCheckbox/icons/CheckIcon/index.js.map +1 -0
- package/dist/commonjs/components/InputCheckbox/icons/IndeterminateIcon/index.js +28 -0
- package/dist/commonjs/components/InputCheckbox/icons/IndeterminateIcon/index.js.map +1 -0
- package/dist/commonjs/components/InputCheckbox/icons/index.js +20 -0
- package/dist/commonjs/components/InputCheckbox/icons/index.js.map +1 -0
- package/dist/commonjs/components/InputCheckbox/index.js +53 -0
- package/dist/commonjs/components/InputCheckbox/index.js.map +1 -0
- package/dist/commonjs/components/InputCheckbox/types.js +6 -0
- package/dist/commonjs/components/InputCheckbox/types.js.map +1 -0
- package/dist/commonjs/components/InputOTP/components/InformationStatus/index.js +93 -0
- package/dist/commonjs/components/InputOTP/components/InformationStatus/index.js.map +1 -0
- package/dist/commonjs/components/InputOTP/components/InformationStatus/types.js +6 -0
- package/dist/commonjs/components/InputOTP/components/InformationStatus/types.js.map +1 -0
- package/dist/commonjs/components/InputOTP/components/index.js +17 -0
- package/dist/commonjs/components/InputOTP/components/index.js.map +1 -0
- package/dist/commonjs/components/InputOTP/enums/index.js +17 -0
- package/dist/commonjs/components/InputOTP/enums/index.js.map +1 -0
- package/dist/commonjs/components/InputOTP/enums/information-status.js +15 -0
- package/dist/commonjs/components/InputOTP/enums/information-status.js.map +1 -0
- package/dist/commonjs/components/InputOTP/index.js +135 -0
- package/dist/commonjs/components/InputOTP/index.js.map +1 -0
- package/dist/commonjs/components/InputOTP/types.js +6 -0
- package/dist/commonjs/components/InputOTP/types.js.map +1 -0
- package/dist/commonjs/components/LoadingDots/assets/loading-button-dark.json +1 -0
- package/dist/commonjs/components/LoadingDots/assets/loading-button-grape.json +1 -0
- package/dist/commonjs/components/LoadingDots/assets/loading-button-light.json +1 -0
- package/dist/commonjs/components/LoadingDots/index.js +45 -0
- package/dist/commonjs/components/LoadingDots/index.js.map +1 -0
- package/dist/commonjs/components/LoadingDots/types.js +6 -0
- package/dist/commonjs/components/LoadingDots/types.js.map +1 -0
- package/dist/commonjs/components/Seal/assets/class-variants.js +64 -0
- package/dist/commonjs/components/Seal/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Seal/components/AddIcon/index.js +32 -0
- package/dist/commonjs/components/Seal/components/AddIcon/index.js.map +1 -0
- package/dist/commonjs/components/Seal/components/AlertIcon/index.js +32 -0
- package/dist/commonjs/components/Seal/components/AlertIcon/index.js.map +1 -0
- package/dist/commonjs/components/Seal/components/ErrorIcon/index.js +32 -0
- package/dist/commonjs/components/Seal/components/ErrorIcon/index.js.map +1 -0
- package/dist/commonjs/components/Seal/components/LeftIcon/index.js +32 -0
- package/dist/commonjs/components/Seal/components/LeftIcon/index.js.map +1 -0
- package/dist/commonjs/components/Seal/components/MinusIcon/index.js +30 -0
- package/dist/commonjs/components/Seal/components/MinusIcon/index.js.map +1 -0
- package/dist/commonjs/components/Seal/components/RightIcon/index.js +32 -0
- package/dist/commonjs/components/Seal/components/RightIcon/index.js.map +1 -0
- package/dist/commonjs/components/Seal/components/SuccessIcon/index.js +32 -0
- package/dist/commonjs/components/Seal/components/SuccessIcon/index.js.map +1 -0
- package/dist/commonjs/components/Seal/components/index.js +55 -0
- package/dist/commonjs/components/Seal/components/index.js.map +1 -0
- package/dist/commonjs/components/Seal/enums/index.js +17 -0
- package/dist/commonjs/components/Seal/enums/index.js.map +1 -0
- package/dist/commonjs/components/Seal/enums/seal-variant.js +17 -0
- package/dist/commonjs/components/Seal/enums/seal-variant.js.map +1 -0
- package/dist/commonjs/components/Seal/index.js +52 -0
- package/dist/commonjs/components/Seal/index.js.map +1 -0
- package/dist/commonjs/components/Seal/types.js +6 -0
- package/dist/commonjs/components/Seal/types.js.map +1 -0
- package/dist/commonjs/components/Title/components/icon/index.js +49 -0
- package/dist/commonjs/components/Title/components/icon/index.js.map +1 -0
- package/dist/commonjs/components/Title/components/icon/types.js +15 -0
- package/dist/commonjs/components/Title/components/icon/types.js.map +1 -0
- package/dist/commonjs/components/Title/components/index.js +28 -0
- package/dist/commonjs/components/Title/components/index.js.map +1 -0
- package/dist/commonjs/components/Title/components/marker/index.js +33 -0
- package/dist/commonjs/components/Title/components/marker/index.js.map +1 -0
- package/dist/commonjs/components/Title/components/marker/types.js +2 -0
- package/dist/commonjs/components/Title/components/marker/types.js.map +1 -0
- package/dist/commonjs/components/Title/index.js +44 -0
- package/dist/commonjs/components/Title/index.js.map +1 -0
- package/dist/commonjs/components/Title/types.js +6 -0
- package/dist/commonjs/components/Title/types.js.map +1 -0
- package/dist/commonjs/components/Toggle/assets/class-variants.js +37 -0
- package/dist/commonjs/components/Toggle/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Toggle/enums/index.js +17 -0
- package/dist/commonjs/components/Toggle/enums/index.js.map +1 -0
- package/dist/commonjs/components/Toggle/enums/variant.js +15 -0
- package/dist/commonjs/components/Toggle/enums/variant.js.map +1 -0
- package/dist/commonjs/components/Toggle/index.js +41 -0
- package/dist/commonjs/components/Toggle/index.js.map +1 -0
- package/dist/commonjs/components/Toggle/types.js +6 -0
- package/dist/commonjs/components/Toggle/types.js.map +1 -0
- package/dist/commonjs/components/Typography/index.js +52 -0
- package/dist/commonjs/components/Typography/index.js.map +1 -0
- package/dist/commonjs/components/Typography/types.js +6 -0
- package/dist/commonjs/components/Typography/types.js.map +1 -0
- package/dist/commonjs/components/index.js +127 -0
- package/dist/commonjs/components/index.js.map +1 -0
- package/dist/commonjs/hooks/index.js +17 -0
- package/dist/commonjs/hooks/index.js.map +1 -0
- package/dist/commonjs/hooks/use-fonts.js +31 -0
- package/dist/commonjs/hooks/use-fonts.js.map +1 -0
- package/dist/commonjs/iconography/Icons/index.js +97 -0
- package/dist/commonjs/iconography/Icons/index.js.map +1 -0
- package/dist/commonjs/iconography/Icons/types.js +6 -0
- package/dist/commonjs/iconography/Icons/types.js.map +1 -0
- package/dist/commonjs/index.js +17 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/nativewind-env.d.js +3 -0
- package/dist/commonjs/nativewind-env.d.js.map +1 -0
- package/dist/commonjs/package.json +1 -0
- package/dist/commonjs/welcome.mdx +3 -0
- package/dist/module/components/Button/assets/class-variants.js +88 -0
- package/dist/module/components/Button/assets/class-variants.js.map +1 -0
- package/dist/module/components/Button/assets/design-system-showcase.js +1451 -0
- package/dist/module/components/Button/assets/design-system-showcase.js.map +1 -0
- package/dist/module/components/Button/index.js +110 -0
- package/dist/module/components/Button/index.js.map +1 -0
- package/dist/module/components/Button/types.js +4 -0
- package/dist/module/components/Button/types.js.map +1 -0
- package/dist/module/components/Chip/assets/class-variants.js +59 -0
- package/dist/module/components/Chip/assets/class-variants.js.map +1 -0
- package/dist/module/components/Chip/enums/chip-size.js +8 -0
- package/dist/module/components/Chip/enums/chip-size.js.map +1 -0
- package/dist/module/components/Chip/enums/chip-variant.js +9 -0
- package/dist/module/components/Chip/enums/chip-variant.js.map +1 -0
- package/dist/module/components/Chip/enums/index.js +5 -0
- package/dist/module/components/Chip/enums/index.js.map +1 -0
- package/dist/module/components/Chip/index.js +34 -0
- package/dist/module/components/Chip/index.js.map +1 -0
- package/dist/module/components/Chip/types.js +4 -0
- package/dist/module/components/Chip/types.js.map +1 -0
- package/dist/module/components/HighlightedText/index.js +41 -0
- package/dist/module/components/HighlightedText/index.js.map +1 -0
- package/dist/module/components/HighlightedText/types.js +4 -0
- package/dist/module/components/HighlightedText/types.js.map +1 -0
- package/dist/module/components/InformationStatus/components/GradientAdd/index.js +69 -0
- package/dist/module/components/InformationStatus/components/GradientAdd/index.js.map +1 -0
- package/dist/module/components/InformationStatus/components/GradientAdd/types.js +4 -0
- package/dist/module/components/InformationStatus/components/GradientAdd/types.js.map +1 -0
- package/dist/module/components/InformationStatus/components/GradientAlert/index.js +74 -0
- package/dist/module/components/InformationStatus/components/GradientAlert/index.js.map +1 -0
- package/dist/module/components/InformationStatus/components/GradientAlert/types.js +4 -0
- package/dist/module/components/InformationStatus/components/GradientAlert/types.js.map +1 -0
- package/dist/module/components/InformationStatus/components/GradientCheck/index.js +69 -0
- package/dist/module/components/InformationStatus/components/GradientCheck/index.js.map +1 -0
- package/dist/module/components/InformationStatus/components/GradientCheck/types.js +4 -0
- package/dist/module/components/InformationStatus/components/GradientCheck/types.js.map +1 -0
- package/dist/module/components/InformationStatus/components/GradientClose/index.js +67 -0
- package/dist/module/components/InformationStatus/components/GradientClose/index.js.map +1 -0
- package/dist/module/components/InformationStatus/components/GradientClose/types.js +4 -0
- package/dist/module/components/InformationStatus/components/GradientClose/types.js.map +1 -0
- package/dist/module/components/InformationStatus/components/index.js +7 -0
- package/dist/module/components/InformationStatus/components/index.js.map +1 -0
- package/dist/module/components/InformationStatus/enums.js +10 -0
- package/dist/module/components/InformationStatus/enums.js.map +1 -0
- package/dist/module/components/InformationStatus/index.js +71 -0
- package/dist/module/components/InformationStatus/index.js.map +1 -0
- package/dist/module/components/InformationStatus/types.js +4 -0
- package/dist/module/components/InformationStatus/types.js.map +1 -0
- package/dist/module/components/InputCheckbox/assets/class-variants.js +60 -0
- package/dist/module/components/InputCheckbox/assets/class-variants.js.map +1 -0
- package/dist/module/components/InputCheckbox/enums/checkbox-variant.js +13 -0
- package/dist/module/components/InputCheckbox/enums/checkbox-variant.js.map +1 -0
- package/dist/module/components/InputCheckbox/enums/index.js +5 -0
- package/dist/module/components/InputCheckbox/enums/index.js.map +1 -0
- package/dist/module/components/InputCheckbox/enums/select-variant.js +8 -0
- package/dist/module/components/InputCheckbox/enums/select-variant.js.map +1 -0
- package/dist/module/components/InputCheckbox/icons/CheckIcon/index.js +22 -0
- package/dist/module/components/InputCheckbox/icons/CheckIcon/index.js.map +1 -0
- package/dist/module/components/InputCheckbox/icons/IndeterminateIcon/index.js +22 -0
- package/dist/module/components/InputCheckbox/icons/IndeterminateIcon/index.js.map +1 -0
- package/dist/module/components/InputCheckbox/icons/index.js +5 -0
- package/dist/module/components/InputCheckbox/icons/index.js.map +1 -0
- package/dist/module/components/InputCheckbox/index.js +49 -0
- package/dist/module/components/InputCheckbox/index.js.map +1 -0
- package/dist/module/components/InputCheckbox/types.js +4 -0
- package/dist/module/components/InputCheckbox/types.js.map +1 -0
- package/dist/module/components/InputOTP/components/InformationStatus/index.js +87 -0
- package/dist/module/components/InputOTP/components/InformationStatus/index.js.map +1 -0
- package/dist/module/components/InputOTP/components/InformationStatus/types.js +4 -0
- package/dist/module/components/InputOTP/components/InformationStatus/types.js.map +1 -0
- package/dist/module/components/InputOTP/components/index.js +4 -0
- package/dist/module/components/InputOTP/components/index.js.map +1 -0
- package/dist/module/components/InputOTP/enums/index.js +4 -0
- package/dist/module/components/InputOTP/enums/index.js.map +1 -0
- package/dist/module/components/InputOTP/enums/information-status.js +11 -0
- package/dist/module/components/InputOTP/enums/information-status.js.map +1 -0
- package/dist/module/components/InputOTP/index.js +130 -0
- package/dist/module/components/InputOTP/index.js.map +1 -0
- package/dist/module/components/InputOTP/types.js +4 -0
- package/dist/module/components/InputOTP/types.js.map +1 -0
- package/dist/module/components/LoadingDots/assets/loading-button-dark.json +1 -0
- package/dist/module/components/LoadingDots/assets/loading-button-grape.json +1 -0
- package/dist/module/components/LoadingDots/assets/loading-button-light.json +1 -0
- package/dist/module/components/LoadingDots/index.js +39 -0
- package/dist/module/components/LoadingDots/index.js.map +1 -0
- package/dist/module/components/LoadingDots/types.js +4 -0
- package/dist/module/components/LoadingDots/types.js.map +1 -0
- package/dist/module/components/Seal/assets/class-variants.js +60 -0
- package/dist/module/components/Seal/assets/class-variants.js.map +1 -0
- package/dist/module/components/Seal/components/AddIcon/index.js +27 -0
- package/dist/module/components/Seal/components/AddIcon/index.js.map +1 -0
- package/dist/module/components/Seal/components/AlertIcon/index.js +27 -0
- package/dist/module/components/Seal/components/AlertIcon/index.js.map +1 -0
- package/dist/module/components/Seal/components/ErrorIcon/index.js +27 -0
- package/dist/module/components/Seal/components/ErrorIcon/index.js.map +1 -0
- package/dist/module/components/Seal/components/LeftIcon/index.js +27 -0
- package/dist/module/components/Seal/components/LeftIcon/index.js.map +1 -0
- package/dist/module/components/Seal/components/MinusIcon/index.js +25 -0
- package/dist/module/components/Seal/components/MinusIcon/index.js.map +1 -0
- package/dist/module/components/Seal/components/RightIcon/index.js +27 -0
- package/dist/module/components/Seal/components/RightIcon/index.js.map +1 -0
- package/dist/module/components/Seal/components/SuccessIcon/index.js +27 -0
- package/dist/module/components/Seal/components/SuccessIcon/index.js.map +1 -0
- package/dist/module/components/Seal/components/index.js +10 -0
- package/dist/module/components/Seal/components/index.js.map +1 -0
- package/dist/module/components/Seal/enums/index.js +4 -0
- package/dist/module/components/Seal/enums/index.js.map +1 -0
- package/dist/module/components/Seal/enums/seal-variant.js +13 -0
- package/dist/module/components/Seal/enums/seal-variant.js.map +1 -0
- package/dist/module/components/Seal/index.js +46 -0
- package/dist/module/components/Seal/index.js.map +1 -0
- package/dist/module/components/Seal/types.js +4 -0
- package/dist/module/components/Seal/types.js.map +1 -0
- package/dist/module/components/Title/components/icon/index.js +45 -0
- package/dist/module/components/Title/components/icon/index.js.map +1 -0
- package/dist/module/components/Title/components/icon/types.js +11 -0
- package/dist/module/components/Title/components/icon/types.js.map +1 -0
- package/dist/module/components/Title/components/index.js +5 -0
- package/dist/module/components/Title/components/index.js.map +1 -0
- package/dist/module/components/Title/components/marker/index.js +29 -0
- package/dist/module/components/Title/components/marker/index.js.map +1 -0
- package/dist/module/components/Title/components/marker/types.js +2 -0
- package/dist/module/components/Title/components/marker/types.js.map +1 -0
- package/dist/module/components/Title/index.js +41 -0
- package/dist/module/components/Title/index.js.map +1 -0
- package/dist/module/components/Title/types.js +4 -0
- package/dist/module/components/Title/types.js.map +1 -0
- package/dist/module/components/Toggle/assets/class-variants.js +34 -0
- package/dist/module/components/Toggle/assets/class-variants.js.map +1 -0
- package/dist/module/components/Toggle/enums/index.js +4 -0
- package/dist/module/components/Toggle/enums/index.js.map +1 -0
- package/dist/module/components/Toggle/enums/variant.js +11 -0
- package/dist/module/components/Toggle/enums/variant.js.map +1 -0
- package/dist/module/components/Toggle/index.js +37 -0
- package/dist/module/components/Toggle/index.js.map +1 -0
- package/dist/module/components/Toggle/types.js +4 -0
- package/dist/module/components/Toggle/types.js.map +1 -0
- package/dist/module/components/Typography/index.js +47 -0
- package/dist/module/components/Typography/index.js.map +1 -0
- package/dist/module/components/Typography/types.js +4 -0
- package/dist/module/components/Typography/types.js.map +1 -0
- package/dist/module/components/index.js +14 -0
- package/dist/module/components/index.js.map +1 -0
- package/dist/module/hooks/index.js +4 -0
- package/dist/module/hooks/index.js.map +1 -0
- package/dist/module/hooks/use-fonts.js +27 -0
- package/dist/module/hooks/use-fonts.js.map +1 -0
- package/dist/module/iconography/Icons/index.js +92 -0
- package/dist/module/iconography/Icons/index.js.map +1 -0
- package/dist/module/iconography/Icons/types.js +4 -0
- package/dist/module/iconography/Icons/types.js.map +1 -0
- package/dist/module/index.js +4 -0
- package/dist/module/index.js.map +1 -0
- package/dist/module/nativewind-env.d.js +3 -0
- package/dist/module/nativewind-env.d.js.map +1 -0
- package/dist/module/package.json +1 -0
- package/dist/module/welcome.mdx +3 -0
- package/dist/package.json +57 -0
- package/dist/typescript/components/Button/assets/class-variants.d.ts +16 -0
- package/dist/typescript/components/Button/assets/design-system-showcase.d.ts +1448 -0
- package/dist/typescript/components/Button/index.d.ts +6 -0
- package/dist/typescript/components/Button/types.d.ts +16 -0
- package/dist/typescript/components/Chip/assets/class-variants.d.ts +5 -0
- package/dist/typescript/components/Chip/enums/chip-size.d.ts +4 -0
- package/dist/typescript/components/Chip/enums/chip-variant.d.ts +5 -0
- package/dist/typescript/components/Chip/enums/index.d.ts +2 -0
- package/dist/typescript/components/Chip/index.d.ts +2 -0
- package/dist/typescript/components/Chip/types.d.ts +11 -0
- package/dist/typescript/components/HighlightedText/index.d.ts +6 -0
- package/dist/typescript/components/HighlightedText/types.d.ts +9 -0
- package/dist/typescript/components/InformationStatus/components/GradientAdd/index.d.ts +3 -0
- package/dist/typescript/components/InformationStatus/components/GradientAdd/types.d.ts +5 -0
- package/dist/typescript/components/InformationStatus/components/GradientAlert/index.d.ts +3 -0
- package/dist/typescript/components/InformationStatus/components/GradientAlert/types.d.ts +5 -0
- package/dist/typescript/components/InformationStatus/components/GradientCheck/index.d.ts +3 -0
- package/dist/typescript/components/InformationStatus/components/GradientCheck/types.d.ts +5 -0
- package/dist/typescript/components/InformationStatus/components/GradientClose/index.d.ts +3 -0
- package/dist/typescript/components/InformationStatus/components/GradientClose/types.d.ts +5 -0
- package/dist/typescript/components/InformationStatus/components/index.d.ts +4 -0
- package/dist/typescript/components/InformationStatus/enums.d.ts +6 -0
- package/dist/typescript/components/InformationStatus/index.d.ts +2 -0
- package/dist/typescript/components/InformationStatus/types.d.ts +14 -0
- package/dist/typescript/components/InputCheckbox/assets/class-variants.d.ts +6 -0
- package/dist/typescript/components/InputCheckbox/enums/checkbox-variant.d.ts +9 -0
- package/dist/typescript/components/InputCheckbox/enums/index.d.ts +2 -0
- package/dist/typescript/components/InputCheckbox/enums/select-variant.d.ts +4 -0
- package/dist/typescript/components/InputCheckbox/icons/CheckIcon/index.d.ts +2 -0
- package/dist/typescript/components/InputCheckbox/icons/IndeterminateIcon/index.d.ts +2 -0
- package/dist/typescript/components/InputCheckbox/icons/index.d.ts +2 -0
- package/dist/typescript/components/InputCheckbox/index.d.ts +2 -0
- package/dist/typescript/components/InputCheckbox/types.d.ts +10 -0
- package/dist/typescript/components/InputOTP/components/InformationStatus/index.d.ts +3 -0
- package/dist/typescript/components/InputOTP/components/InformationStatus/types.d.ts +6 -0
- package/dist/typescript/components/InputOTP/components/index.d.ts +1 -0
- package/dist/typescript/components/InputOTP/enums/index.d.ts +1 -0
- package/dist/typescript/components/InputOTP/enums/information-status.d.ts +7 -0
- package/dist/typescript/components/InputOTP/index.d.ts +3 -0
- package/dist/typescript/components/InputOTP/types.d.ts +11 -0
- package/dist/typescript/components/LoadingDots/index.d.ts +3 -0
- package/dist/typescript/components/LoadingDots/types.d.ts +9 -0
- package/dist/typescript/components/Seal/assets/class-variants.d.ts +5 -0
- package/dist/typescript/components/Seal/components/AddIcon/index.d.ts +2 -0
- package/dist/typescript/components/Seal/components/AlertIcon/index.d.ts +2 -0
- package/dist/typescript/components/Seal/components/ErrorIcon/index.d.ts +2 -0
- package/dist/typescript/components/Seal/components/LeftIcon/index.d.ts +2 -0
- package/dist/typescript/components/Seal/components/MinusIcon/index.d.ts +2 -0
- package/dist/typescript/components/Seal/components/RightIcon/index.d.ts +2 -0
- package/dist/typescript/components/Seal/components/SuccessIcon/index.d.ts +2 -0
- package/dist/typescript/components/Seal/components/index.d.ts +7 -0
- package/dist/typescript/components/Seal/enums/index.d.ts +1 -0
- package/dist/typescript/components/Seal/enums/seal-variant.d.ts +9 -0
- package/dist/typescript/components/Seal/index.d.ts +3 -0
- package/dist/typescript/components/Seal/types.d.ts +14 -0
- package/dist/typescript/components/Title/components/icon/index.d.ts +2 -0
- package/dist/typescript/components/Title/components/icon/types.d.ts +12 -0
- package/dist/typescript/components/Title/components/index.d.ts +2 -0
- package/dist/typescript/components/Title/components/marker/index.d.ts +2 -0
- package/dist/typescript/components/Title/components/marker/types.d.ts +4 -0
- package/dist/typescript/components/Title/index.d.ts +7 -0
- package/dist/typescript/components/Title/types.d.ts +7 -0
- package/dist/typescript/components/Toggle/assets/class-variants.d.ts +6 -0
- package/dist/typescript/components/Toggle/enums/index.d.ts +1 -0
- package/dist/typescript/components/Toggle/enums/variant.d.ts +7 -0
- package/dist/typescript/components/Toggle/index.d.ts +2 -0
- package/dist/typescript/components/Toggle/types.d.ts +7 -0
- package/dist/typescript/components/Typography/index.d.ts +27 -0
- package/dist/typescript/components/Typography/types.d.ts +7 -0
- package/dist/typescript/components/index.d.ts +11 -0
- package/dist/typescript/hooks/index.d.ts +1 -0
- package/dist/typescript/hooks/use-fonts.d.ts +10 -0
- package/dist/typescript/iconography/Icons/index.d.ts +2 -0
- package/dist/typescript/iconography/Icons/types.d.ts +11 -0
- package/dist/typescript/index.d.ts +1 -0
- package/index.js +6 -0
- package/package.json +128 -0
- package/src/components/Button/assets/class-variants.ts +111 -0
- package/src/components/Button/assets/design-system-showcase.ts +1745 -0
- package/src/components/Button/index.stories.tsx +407 -0
- package/src/components/Button/index.tsx +137 -0
- package/src/components/Button/types.ts +31 -0
- package/src/components/Chip/assets/class-variants.ts +68 -0
- package/src/components/Chip/enums/chip-size.ts +4 -0
- package/src/components/Chip/enums/chip-variant.ts +5 -0
- package/src/components/Chip/enums/index.ts +2 -0
- package/src/components/Chip/index.stories.tsx +95 -0
- package/src/components/Chip/index.tsx +35 -0
- package/src/components/Chip/types.ts +13 -0
- package/src/components/HighlightedText/index.stories.tsx +110 -0
- package/src/components/HighlightedText/index.tsx +38 -0
- package/src/components/HighlightedText/types.ts +10 -0
- package/src/components/InformationStatus/components/GradientAdd/index.tsx +74 -0
- package/src/components/InformationStatus/components/GradientAdd/types.ts +6 -0
- package/src/components/InformationStatus/components/GradientAlert/index.tsx +81 -0
- package/src/components/InformationStatus/components/GradientAlert/types.ts +6 -0
- package/src/components/InformationStatus/components/GradientCheck/index.tsx +75 -0
- package/src/components/InformationStatus/components/GradientCheck/types.ts +6 -0
- package/src/components/InformationStatus/components/GradientClose/index.tsx +73 -0
- package/src/components/InformationStatus/components/GradientClose/types.ts +6 -0
- package/src/components/InformationStatus/components/index.ts +4 -0
- package/src/components/InformationStatus/enums.ts +6 -0
- package/src/components/InformationStatus/index.stories.tsx +112 -0
- package/src/components/InformationStatus/index.tsx +76 -0
- package/src/components/InformationStatus/types.ts +16 -0
- package/src/components/InputCheckbox/assets/class-variants.ts +90 -0
- package/src/components/InputCheckbox/enums/checkbox-variant.ts +9 -0
- package/src/components/InputCheckbox/enums/index.ts +2 -0
- package/src/components/InputCheckbox/enums/select-variant.ts +4 -0
- package/src/components/InputCheckbox/icons/CheckIcon/index.tsx +23 -0
- package/src/components/InputCheckbox/icons/IndeterminateIcon/index.tsx +23 -0
- package/src/components/InputCheckbox/icons/index.ts +2 -0
- package/src/components/InputCheckbox/index.stories.tsx +133 -0
- package/src/components/InputCheckbox/index.tsx +53 -0
- package/src/components/InputCheckbox/types.ts +13 -0
- package/src/components/InputOTP/components/InformationStatus/index.tsx +105 -0
- package/src/components/InputOTP/components/InformationStatus/types.ts +6 -0
- package/src/components/InputOTP/components/index.ts +1 -0
- package/src/components/InputOTP/enums/index.ts +1 -0
- package/src/components/InputOTP/enums/information-status.ts +7 -0
- package/src/components/InputOTP/index.stories.tsx +247 -0
- package/src/components/InputOTP/index.tsx +177 -0
- package/src/components/InputOTP/types.ts +12 -0
- package/src/components/LoadingDots/assets/loading-button-dark.json +1 -0
- package/src/components/LoadingDots/assets/loading-button-grape.json +1 -0
- package/src/components/LoadingDots/assets/loading-button-light.json +1 -0
- package/src/components/LoadingDots/index.stories.tsx +74 -0
- package/src/components/LoadingDots/index.tsx +37 -0
- package/src/components/LoadingDots/types.ts +10 -0
- package/src/components/Seal/assets/class-variants.ts +70 -0
- package/src/components/Seal/components/AddIcon/index.tsx +26 -0
- package/src/components/Seal/components/AlertIcon/index.tsx +26 -0
- package/src/components/Seal/components/ErrorIcon/index.tsx +26 -0
- package/src/components/Seal/components/LeftIcon/index.tsx +26 -0
- package/src/components/Seal/components/MinusIcon/index.tsx +24 -0
- package/src/components/Seal/components/RightIcon/index.tsx +26 -0
- package/src/components/Seal/components/SuccessIcon/index.tsx +26 -0
- package/src/components/Seal/components/index.ts +7 -0
- package/src/components/Seal/enums/index.ts +1 -0
- package/src/components/Seal/enums/seal-variant.ts +9 -0
- package/src/components/Seal/index.stories.tsx +124 -0
- package/src/components/Seal/index.tsx +53 -0
- package/src/components/Seal/types.ts +18 -0
- package/src/components/Title/components/icon/index.tsx +51 -0
- package/src/components/Title/components/icon/types.ts +12 -0
- package/src/components/Title/components/index.ts +2 -0
- package/src/components/Title/components/marker/index.tsx +25 -0
- package/src/components/Title/components/marker/types.ts +13 -0
- package/src/components/Title/index.stories.tsx +619 -0
- package/src/components/Title/index.tsx +36 -0
- package/src/components/Title/types.ts +7 -0
- package/src/components/Toggle/assets/class-variants.ts +40 -0
- package/src/components/Toggle/enums/index.ts +1 -0
- package/src/components/Toggle/enums/variant.ts +7 -0
- package/src/components/Toggle/index.stories.tsx +88 -0
- package/src/components/Toggle/index.tsx +42 -0
- package/src/components/Toggle/types.ts +8 -0
- package/src/components/Typography/index.stories.tsx +260 -0
- package/src/components/Typography/index.tsx +46 -0
- package/src/components/Typography/types.ts +8 -0
- package/src/components/index.ts +11 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-fonts.ts +22 -0
- package/src/iconography/Icons/index.stories.tsx +23 -0
- package/src/iconography/Icons/index.tsx +89 -0
- package/src/iconography/Icons/types.ts +12 -0
- package/src/index.ts +1 -0
- package/src/nativewind-env.d.ts +1 -0
- package/src/welcome.mdx +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","require","_index2"],"sourceRoot":"../../../../../src","sources":["components/InputCheckbox/icons/index.ts"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.InputCheckbox = InputCheckbox;
|
|
7
|
+
var _index = require("./enums/index.js");
|
|
8
|
+
var _classVariants = require("./assets/class-variants.js");
|
|
9
|
+
var _reactNative = require("react-native");
|
|
10
|
+
var _index2 = require("./icons/index.js");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function InputCheckbox(props) {
|
|
13
|
+
const {
|
|
14
|
+
isChecked = false,
|
|
15
|
+
selectType = _index.SelectVariantEnum.SELECTED,
|
|
16
|
+
variant = _index.CheckboxVariantEnum.JAVA,
|
|
17
|
+
onChange,
|
|
18
|
+
disabled = false
|
|
19
|
+
} = props;
|
|
20
|
+
function handleChange() {
|
|
21
|
+
onChange(!isChecked);
|
|
22
|
+
}
|
|
23
|
+
function renderIcon() {
|
|
24
|
+
if (!isChecked) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
if (selectType === _index.SelectVariantEnum.INDETERMINATE) {
|
|
28
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.CheckIcon, {});
|
|
29
|
+
}
|
|
30
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.IndeterminateIcon, {});
|
|
31
|
+
}
|
|
32
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
33
|
+
className: "relative inline-flex flex-row items-center",
|
|
34
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
35
|
+
onPress: handleChange,
|
|
36
|
+
disabled: disabled,
|
|
37
|
+
accessible: true,
|
|
38
|
+
accessibilityRole: "checkbox",
|
|
39
|
+
accessibilityState: {
|
|
40
|
+
checked: isChecked
|
|
41
|
+
},
|
|
42
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
43
|
+
className: (0, _classVariants.inputCheckboxVariants)({
|
|
44
|
+
variant,
|
|
45
|
+
disabled,
|
|
46
|
+
isChecked
|
|
47
|
+
}),
|
|
48
|
+
children: renderIcon()
|
|
49
|
+
})
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","require","_classVariants","_reactNative","_index2","_jsxRuntime","InputCheckbox","props","isChecked","selectType","SelectVariantEnum","SELECTED","variant","CheckboxVariantEnum","JAVA","onChange","disabled","handleChange","renderIcon","INDETERMINATE","jsx","CheckIcon","IndeterminateIcon","View","className","children","TouchableOpacity","onPress","accessible","accessibilityRole","accessibilityState","checked","inputCheckboxVariants"],"sourceRoot":"../../../../src","sources":["components/InputCheckbox/index.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAAuD,IAAAI,WAAA,GAAAJ,OAAA;AAEhD,SAASK,aAAaA,CAACC,KAAyB,EAAE;EACvD,MAAM;IACJC,SAAS,GAAG,KAAK;IACjBC,UAAU,GAAGC,wBAAiB,CAACC,QAAQ;IACvCC,OAAO,GAAGC,0BAAmB,CAACC,IAAI;IAClCC,QAAQ;IACRC,QAAQ,GAAG;EACb,CAAC,GAAGT,KAAK;EAET,SAASU,YAAYA,CAAA,EAAG;IACtBF,QAAQ,CAAC,CAACP,SAAS,CAAC;EACtB;EAEA,SAASU,UAAUA,CAAA,EAAG;IACpB,IAAI,CAACV,SAAS,EAAE;MACd,OAAO,IAAI;IACb;IAEA,IAAIC,UAAU,KAAKC,wBAAiB,CAACS,aAAa,EAAE;MAClD,oBAAO,IAAAd,WAAA,CAAAe,GAAA,EAAChB,OAAA,CAAAiB,SAAS,IAAE,CAAC;IACtB;IAEA,oBAAO,IAAAhB,WAAA,CAAAe,GAAA,EAAChB,OAAA,CAAAkB,iBAAiB,IAAE,CAAC;EAC9B;EAEA,oBACE,IAAAjB,WAAA,CAAAe,GAAA,EAACjB,YAAA,CAAAoB,IAAI;IAACC,SAAS,EAAC,4CAA4C;IAAAC,QAAA,eAC1D,IAAApB,WAAA,CAAAe,GAAA,EAACjB,YAAA,CAAAuB,gBAAgB;MACfC,OAAO,EAAEV,YAAa;MACtBD,QAAQ,EAAEA,QAAS;MACnBY,UAAU;MACVC,iBAAiB,EAAC,UAAU;MAC5BC,kBAAkB,EAAE;QAAEC,OAAO,EAAEvB;MAAU,CAAE;MAAAiB,QAAA,eAE3C,IAAApB,WAAA,CAAAe,GAAA,EAACjB,YAAA,CAAAoB,IAAI;QACHC,SAAS,EAAE,IAAAQ,oCAAqB,EAAC;UAC/BpB,OAAO;UACPI,QAAQ;UACRR;QACF,CAAC,CAAE;QAAAiB,QAAA,EAEFP,UAAU,CAAC;MAAC,CACT;IAAC,CACS;EAAC,CACf,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/InputCheckbox/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.InformationStatus = InformationStatus;
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
var _react = require("react");
|
|
10
|
+
var _tailwindPreset = require("@butterfly/tailwind-preset");
|
|
11
|
+
var _index = _interopRequireDefault(require("../../../Button/index.js"));
|
|
12
|
+
var _index2 = require("../../../HighlightedText/index.js");
|
|
13
|
+
var _index3 = _interopRequireDefault(require("../../../LoadingDots/index.js"));
|
|
14
|
+
var _index4 = require("../../../Chip/index.js");
|
|
15
|
+
var _reactNative = require("react-native");
|
|
16
|
+
var _index5 = require("../../../Chip/enums/index.js");
|
|
17
|
+
var _index6 = require("../../../Seal/enums/index.js");
|
|
18
|
+
var _index7 = require("../../enums/index.js");
|
|
19
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
21
|
+
function InformationStatus(props) {
|
|
22
|
+
const {
|
|
23
|
+
status = _index7.InformationStatusEnum.DEFAULT,
|
|
24
|
+
disabled = false,
|
|
25
|
+
onPress
|
|
26
|
+
} = props;
|
|
27
|
+
const renderInformation = (0, _react.useMemo)(() => {
|
|
28
|
+
const textStyle = (0, _tailwindPreset.merge)("", disabled && "opacity-50");
|
|
29
|
+
if (status === _index7.InformationStatusEnum.DEFAULT) {
|
|
30
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
31
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
32
|
+
variant: "outline",
|
|
33
|
+
corners: "medium",
|
|
34
|
+
disabled: disabled,
|
|
35
|
+
onPress: onPress,
|
|
36
|
+
size: "small",
|
|
37
|
+
children: "Reenviar c\xF3digo"
|
|
38
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.HighlightedText, {
|
|
39
|
+
highlightText: "Pronto,",
|
|
40
|
+
text: "voc\xEA j\xE1 pode reenviar o c\xF3digo.",
|
|
41
|
+
reverse: true,
|
|
42
|
+
className: textStyle
|
|
43
|
+
})]
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
if (status === _index7.InformationStatusEnum.LOADING) {
|
|
47
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
48
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
49
|
+
variant: "dark"
|
|
50
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.HighlightedText, {
|
|
51
|
+
highlightText: "Validando c\xF3digo,",
|
|
52
|
+
text: "por favor aguarde.",
|
|
53
|
+
reverse: true,
|
|
54
|
+
className: textStyle
|
|
55
|
+
})]
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
if (status === _index7.InformationStatusEnum.SUCCESS) {
|
|
59
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
60
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.Chip, {
|
|
61
|
+
variant: _index5.ChipVariantEnum.OUTLINE,
|
|
62
|
+
sealVariant: _index6.SealVariantEnum.SUCCESS,
|
|
63
|
+
label: "Confirmado"
|
|
64
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.HighlightedText, {
|
|
65
|
+
highlightText: "C\xF3digo validado",
|
|
66
|
+
text: "com sucesso.",
|
|
67
|
+
reverse: true,
|
|
68
|
+
className: textStyle
|
|
69
|
+
})]
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
if (status === _index7.InformationStatusEnum.ERROR) {
|
|
73
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
74
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
75
|
+
variant: "outline",
|
|
76
|
+
corners: "medium",
|
|
77
|
+
disabled: disabled,
|
|
78
|
+
onPress: onPress,
|
|
79
|
+
size: "small",
|
|
80
|
+
children: "Reenviar c\xF3digo"
|
|
81
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
82
|
+
className: disabled ? "opacity-50" : "",
|
|
83
|
+
children: "O c\xF3digo n\xE3o confere"
|
|
84
|
+
})]
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
}, [disabled, onPress, status]);
|
|
88
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
89
|
+
children: renderInformation
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
var _default = exports.default = InformationStatus;
|
|
93
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Object","defineProperty","exports","value","InformationStatus","default","_react","require","_tailwindPreset","_index","_interopRequireDefault","_index2","_index3","_index4","_reactNative","_index5","_index6","_index7","_jsxRuntime","e","__esModule","props","status","InformationStatusEnum","DEFAULT","disabled","onPress","renderInformation","useMemo","textStyle","merge","jsxs","Fragment","children","jsx","variant","corners","size","HighlightedText","highlightText","text","reverse","className","LOADING","SUCCESS","Chip","ChipVariantEnum","OUTLINE","sealVariant","SealVariantEnum","label","ERROR","Text","_default"],"sourceRoot":"../../../../../../src","sources":["components/InputOTP/components/InformationStatus/index.tsx"],"mappings":";AAAA,YAAY;;AAACA,MAAA,CAAAC,cAAA,CAAAC,OAAA;EAAAC,KAAA;AAAA;AAAAD,OAAA,CAAAE,iBAAA,GAAAA,iBAAA;AAAAF,OAAA,CAAAG,OAAA;AAEb,IAAAC,MAAA,GAAAC,OAAA;AAGA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,OAAA,GAAAV,OAAA;AAAoD,IAAAW,WAAA,GAAAX,OAAA;AAAA,SAAAG,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAd,OAAA,EAAAc,CAAA;AAE7C,SAASf,iBAAiBA,CAACiB,KAA6B,EAAE;EAC/D,MAAM;IACJC,MAAM,GAAGC,6BAAqB,CAACC,OAAO;IACtCC,QAAQ,GAAG,KAAK;IAChBC;EACF,CAAC,GAAGL,KAAK;EAET,MAAMM,iBAAiB,GAAG,IAAAC,cAAO,EAAC,MAAM;IACtC,MAAMC,SAAS,GAAG,IAAAC,qBAAK,EAAC,EAAE,EAAEL,QAAQ,IAAI,YAAY,CAAC;IAErD,IAAIH,MAAM,KAAKC,6BAAqB,CAACC,OAAO,EAAE;MAC5C,oBACE,IAAAN,WAAA,CAAAa,IAAA,EAAAb,WAAA,CAAAc,QAAA;QAAAC,QAAA,gBACE,IAAAf,WAAA,CAAAgB,GAAA,EAACzB,MAAA,CAAAJ,OAAM;UACL8B,OAAO,EAAC,SAAS;UACjBC,OAAO,EAAC,QAAQ;UAChBX,QAAQ,EAAEA,QAAS;UACnBC,OAAO,EAAEA,OAAQ;UACjBW,IAAI,EAAC,OAAO;UAAAJ,QAAA,EACb;QAED,CAAQ,CAAC,eAET,IAAAf,WAAA,CAAAgB,GAAA,EAACvB,OAAA,CAAA2B,eAAe;UACdC,aAAa,EAAC,SAAS;UACvBC,IAAI,EAAC,0CAAiC;UACtCC,OAAO;UACPC,SAAS,EAAEb;QAAU,CACtB,CAAC;MAAA,CACF,CAAC;IAEP;IAEA,IAAIP,MAAM,KAAKC,6BAAqB,CAACoB,OAAO,EAAE;MAC5C,oBACE,IAAAzB,WAAA,CAAAa,IAAA,EAAAb,WAAA,CAAAc,QAAA;QAAAC,QAAA,gBACE,IAAAf,WAAA,CAAAgB,GAAA,EAACtB,OAAA,CAAAP,OAAW;UAAC8B,OAAO,EAAC;QAAM,CAAE,CAAC,eAC9B,IAAAjB,WAAA,CAAAgB,GAAA,EAACvB,OAAA,CAAA2B,eAAe;UACdC,aAAa,EAAC,sBAAmB;UACjCC,IAAI,EAAC,oBAAoB;UACzBC,OAAO;UACPC,SAAS,EAAEb;QAAU,CACtB,CAAC;MAAA,CACF,CAAC;IAEP;IAEA,IAAIP,MAAM,KAAKC,6BAAqB,CAACqB,OAAO,EAAE;MAC5C,oBACE,IAAA1B,WAAA,CAAAa,IAAA,EAAAb,WAAA,CAAAc,QAAA;QAAAC,QAAA,gBACE,IAAAf,WAAA,CAAAgB,GAAA,EAACrB,OAAA,CAAAgC,IAAI;UACHV,OAAO,EAAEW,uBAAe,CAACC,OAAQ;UACjCC,WAAW,EAAEC,uBAAe,CAACL,OAAQ;UACrCM,KAAK,EAAC;QAAY,CACnB,CAAC,eACF,IAAAhC,WAAA,CAAAgB,GAAA,EAACvB,OAAA,CAAA2B,eAAe;UACdC,aAAa,EAAC,oBAAiB;UAC/BC,IAAI,EAAC,cAAc;UACnBC,OAAO;UACPC,SAAS,EAAEb;QAAU,CACtB,CAAC;MAAA,CACF,CAAC;IAEP;IAEA,IAAIP,MAAM,KAAKC,6BAAqB,CAAC4B,KAAK,EAAE;MAC1C,oBACE,IAAAjC,WAAA,CAAAa,IAAA,EAAAb,WAAA,CAAAc,QAAA;QAAAC,QAAA,gBACE,IAAAf,WAAA,CAAAgB,GAAA,EAACzB,MAAA,CAAAJ,OAAM;UACL8B,OAAO,EAAC,SAAS;UACjBC,OAAO,EAAC,QAAQ;UAChBX,QAAQ,EAAEA,QAAS;UACnBC,OAAO,EAAEA,OAAQ;UACjBW,IAAI,EAAC,OAAO;UAAAJ,QAAA,EACb;QAED,CAAQ,CAAC,eAET,IAAAf,WAAA,CAAAgB,GAAA,EAACpB,YAAA,CAAAsC,IAAI;UAACV,SAAS,EAAEjB,QAAQ,GAAG,YAAY,GAAG,EAAG;UAAAQ,QAAA,EAAC;QAE/C,CAAM,CAAC;MAAA,CACP,CAAC;IAEP;EACF,CAAC,EAAE,CAACR,QAAQ,EAAEC,OAAO,EAAEJ,MAAM,CAAC,CAAC;EAE/B,oBAAO,IAAAJ,WAAA,CAAAgB,GAAA,EAAAhB,WAAA,CAAAc,QAAA;IAAAC,QAAA,EAAGN;EAAiB,CAAG,CAAC;AACjC;AAAC,IAAA0B,QAAA,GAAAnD,OAAA,CAAAG,OAAA,GAEcD,iBAAiB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/InputOTP/components/InformationStatus/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _index = require("./InformationStatus/index.js");
|
|
7
|
+
Object.keys(_index).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _index[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _index[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["components/InputOTP/components/index.ts"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _informationStatus = require("./information-status.js");
|
|
7
|
+
Object.keys(_informationStatus).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _informationStatus[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _informationStatus[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_informationStatus","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["components/InputOTP/enums/index.ts"],"mappings":";;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,kBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,kBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,kBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.InformationStatusEnum = void 0;
|
|
7
|
+
let InformationStatusEnum = exports.InformationStatusEnum = /*#__PURE__*/function (InformationStatusEnum) {
|
|
8
|
+
InformationStatusEnum["DEFAULT"] = "default";
|
|
9
|
+
InformationStatusEnum["ERROR"] = "error";
|
|
10
|
+
InformationStatusEnum["SUCCESS"] = "success";
|
|
11
|
+
InformationStatusEnum["LOADING"] = "loading";
|
|
12
|
+
InformationStatusEnum["COOLDOWN"] = "cooldown";
|
|
13
|
+
return InformationStatusEnum;
|
|
14
|
+
}({});
|
|
15
|
+
//# sourceMappingURL=information-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["InformationStatusEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/InputOTP/enums/information-status.ts"],"mappings":";;;;;;IAAYA,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,0BAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.InputOTP = InputOTP;
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
var _reactNative = require("react-native");
|
|
10
|
+
var _tailwindPreset = require("@butterfly/tailwind-preset");
|
|
11
|
+
var _index = require("./components/index.js");
|
|
12
|
+
var _index2 = require("./enums/index.js");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function InputOTP(props) {
|
|
15
|
+
const {
|
|
16
|
+
status = _index2.InformationStatusEnum.DEFAULT,
|
|
17
|
+
OTPInputsQuantity = 6,
|
|
18
|
+
customInformation,
|
|
19
|
+
rounded = false,
|
|
20
|
+
disabled = false,
|
|
21
|
+
onChange,
|
|
22
|
+
onPressRetryToken
|
|
23
|
+
} = props;
|
|
24
|
+
const inputsRef = (0, _react.useRef)([]);
|
|
25
|
+
const [inputValues, setInputValues] = (0, _react.useState)(Array(OTPInputsQuantity).fill(""));
|
|
26
|
+
const hasError = status === _index2.InformationStatusEnum.ERROR;
|
|
27
|
+
function handlePress() {
|
|
28
|
+
const values = [...inputValues];
|
|
29
|
+
const inputRefValuesJoined = values.join("");
|
|
30
|
+
if (inputRefValuesJoined.length === OTPInputsQuantity) {
|
|
31
|
+
onPressRetryToken?.(inputRefValuesJoined);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const handleChange = (event, index) => {
|
|
35
|
+
const text = event.nativeEvent.text;
|
|
36
|
+
const newValues = [...inputValues];
|
|
37
|
+
if (text.length > 1) {
|
|
38
|
+
const chars = text.split("");
|
|
39
|
+
let targetIndex = index;
|
|
40
|
+
chars.forEach(char => {
|
|
41
|
+
if (targetIndex < OTPInputsQuantity) {
|
|
42
|
+
newValues[targetIndex] = char;
|
|
43
|
+
targetIndex++;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
setInputValues(newValues);
|
|
47
|
+
onChange?.(newValues.join(""));
|
|
48
|
+
const nextEmptyIndex = newValues.findIndex(value => !value);
|
|
49
|
+
if (nextEmptyIndex !== -1) {
|
|
50
|
+
inputsRef.current[nextEmptyIndex]?.focus();
|
|
51
|
+
} else {
|
|
52
|
+
inputsRef.current[OTPInputsQuantity - 1]?.focus();
|
|
53
|
+
}
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
newValues[index] = text;
|
|
57
|
+
setInputValues(newValues);
|
|
58
|
+
onChange?.(newValues.join(""));
|
|
59
|
+
if (text && index < OTPInputsQuantity - 1) {
|
|
60
|
+
const nextEmptyIndex = newValues.findIndex((v, i) => i > index && !v);
|
|
61
|
+
if (nextEmptyIndex !== -1) {
|
|
62
|
+
inputsRef.current[nextEmptyIndex]?.focus();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const handleKeyDown = (e, index) => {
|
|
67
|
+
if (e.nativeEvent.key === "Backspace") {
|
|
68
|
+
const hasValueAhead = inputValues.slice(index + 1).some(value => value);
|
|
69
|
+
if (hasValueAhead) {
|
|
70
|
+
const lastFilledIndex = [...inputValues].map((value, i) => value ? i : -1).filter(i => i !== -1).pop();
|
|
71
|
+
if (lastFilledIndex !== undefined) {
|
|
72
|
+
inputsRef.current[lastFilledIndex]?.focus();
|
|
73
|
+
}
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
if (inputValues[index]) {
|
|
77
|
+
const newValues = [...inputValues];
|
|
78
|
+
newValues[index] = "";
|
|
79
|
+
setInputValues(newValues);
|
|
80
|
+
}
|
|
81
|
+
if (index > 0) {
|
|
82
|
+
inputsRef.current[index - 1]?.focus();
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
const handleFocus = (event, index) => {
|
|
87
|
+
const firstEmptyIndex = inputValues.findIndex(value => !value);
|
|
88
|
+
if (firstEmptyIndex !== -1 && index > firstEmptyIndex) {
|
|
89
|
+
inputsRef.current[firstEmptyIndex]?.focus();
|
|
90
|
+
event.preventDefault();
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
if (firstEmptyIndex === -1 && index < OTPInputsQuantity - 1) {
|
|
94
|
+
inputsRef.current[OTPInputsQuantity - 1]?.focus();
|
|
95
|
+
event.preventDefault();
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
function renderInformationStatus() {
|
|
99
|
+
if (customInformation) {
|
|
100
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
101
|
+
children: customInformation
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.InformationStatus, {
|
|
105
|
+
status: status,
|
|
106
|
+
onPress: handlePress
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
const inputStyle = (0, _tailwindPreset.merge)("w-1000 h-1100 text-center text-3 font-bold leading-3 border-100 bg-chia-100 placeholder-chia-400", rounded ? "rounded-700" : "rounded-500", disabled ? "opacity-50" : "", hasError ? "border-blackberry-500 text-blackberry-500" : "border-chia-400 text-chia-900");
|
|
110
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
111
|
+
className: "flex flex-col items-center gap-600",
|
|
112
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
113
|
+
className: "flex-row gap-300 max-w-[280px] items-center justify-between",
|
|
114
|
+
children: Array.from({
|
|
115
|
+
length: OTPInputsQuantity
|
|
116
|
+
}).map((_, i) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
117
|
+
ref: ref => {
|
|
118
|
+
inputsRef.current[i] = ref;
|
|
119
|
+
},
|
|
120
|
+
textContentType: "oneTimeCode",
|
|
121
|
+
placeholder: "_",
|
|
122
|
+
className: inputStyle,
|
|
123
|
+
autoComplete: _reactNative.Platform.OS === "android" ? "sms-otp" : "one-time-code",
|
|
124
|
+
placeholderTextColor: "#DEE7E7",
|
|
125
|
+
editable: !disabled,
|
|
126
|
+
value: inputValues[i],
|
|
127
|
+
onChange: e => handleChange(e, i),
|
|
128
|
+
onKeyPress: e => handleKeyDown(e, i),
|
|
129
|
+
onFocus: e => handleFocus(e, i)
|
|
130
|
+
}, `otp-input-${i}`))
|
|
131
|
+
}), renderInformationStatus()]
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
var _default = exports.default = InputOTP;
|
|
135
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_tailwindPreset","_index","_index2","_jsxRuntime","InputOTP","props","status","InformationStatusEnum","DEFAULT","OTPInputsQuantity","customInformation","rounded","disabled","onChange","onPressRetryToken","inputsRef","useRef","inputValues","setInputValues","useState","Array","fill","hasError","ERROR","handlePress","values","inputRefValuesJoined","join","length","handleChange","event","index","text","nativeEvent","newValues","chars","split","targetIndex","forEach","char","nextEmptyIndex","findIndex","value","current","focus","v","i","handleKeyDown","e","key","hasValueAhead","slice","some","lastFilledIndex","map","filter","pop","undefined","handleFocus","firstEmptyIndex","preventDefault","renderInformationStatus","jsx","Fragment","children","InformationStatus","onPress","inputStyle","merge","jsxs","View","className","from","_","TextInput","ref","textContentType","placeholder","autoComplete","Platform","OS","placeholderTextColor","editable","onKeyPress","onFocus","_default","exports","default"],"sourceRoot":"../../../../src","sources":["components/InputOTP/index.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/InputOTP/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"v":"4.8.0","meta":{"g":"LottieFiles AE 1.0.0","a":"","k":"","d":"","tc":"none"},"fr":60,"ip":9,"op":41,"w":96,"h":96,"nm":"Comp 1","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"ball4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":223,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":25,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":40,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":55,"s":[169.5]},{"t":70,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.3607843137254902,0.38823529411764707,0.38823529411764707,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":40,"op":71,"st":25,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"ball 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":150,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":20,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":35,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":50,"s":[169.5]},{"t":65,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.3607843137254902,0.38823529411764707,0.38823529411764707,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":35,"op":66,"st":20,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"ball 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":77,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":15,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":30,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":45,"s":[169.5]},{"t":60,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.3607843137254902,0.38823529411764707,0.38823529411764707,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":30,"op":61,"st":15,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"ball3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":223,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":-6,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":9,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":24,"s":[169.5]},{"t":39,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.3607843137254902,0.38823529411764707,0.38823529411764707,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":9,"op":40,"st":-6,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"ball 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":150,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":-11,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":4,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":19,"s":[169.5]},{"t":34,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.3607843137254902,0.38823529411764707,0.38823529411764707,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":4,"op":35,"st":-11,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"ball 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":77,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":-16,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":-1,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":14,"s":[169.5]},{"t":29,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.3607843137254902,0.38823529411764707,0.38823529411764707,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-1,"op":30,"st":-16,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"Pre-comp 1","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[150,150,0],"ix":2},"a":{"a":0,"k":[395,400,0],"ix":1},"s":{"a":0,"k":[41,41,100],"ix":6}},"ao":0,"w":300,"h":300,"ip":0,"op":211,"st":0,"bm":0}],"markers":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"v":"4.8.0","meta":{"g":"LottieFiles AE 1.0.0","a":"","k":"","d":"","tc":"none"},"fr":60,"ip":9,"op":41,"w":96,"h":96,"nm":"Comp 1","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"ball4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":223,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":25,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":40,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":55,"s":[169.5]},{"t":70,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.47843137254901963,0.3137254901960784,0.8509803921568627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":40,"op":71,"st":25,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"ball 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":150,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":20,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":35,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":50,"s":[169.5]},{"t":65,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.47843137254901963,0.3137254901960784,0.8509803921568627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":35,"op":66,"st":20,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"ball 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":77,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":15,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":30,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":45,"s":[169.5]},{"t":60,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.47843137254901963,0.3137254901960784,0.8509803921568627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":30,"op":61,"st":15,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"ball3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":223,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":-6,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":9,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":24,"s":[169.5]},{"t":39,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.47843137254901963,0.3137254901960784,0.8509803921568627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":9,"op":40,"st":-6,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"ball 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":150,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":-11,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":4,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":19,"s":[169.5]},{"t":34,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.47843137254901963,0.3137254901960784,0.8509803921568627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":4,"op":35,"st":-11,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"ball 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":77,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":-16,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":-1,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":14,"s":[169.5]},{"t":29,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.47843137254901963,0.3137254901960784,0.8509803921568627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-1,"op":30,"st":-16,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"Pre-comp 1","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[150,150,0],"ix":2},"a":{"a":0,"k":[395,400,0],"ix":1},"s":{"a":0,"k":[41,41,100],"ix":6}},"ao":0,"w":300,"h":300,"ip":0,"op":211,"st":0,"bm":0}],"markers":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"v":"4.8.0","meta":{"g":"LottieFiles AE 1.0.0","a":"","k":"","d":"","tc":"none"},"fr":60,"ip":9,"op":41,"w":96,"h":96,"nm":"Comp 1","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"ball4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":223,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":25,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":40,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":55,"s":[169.5]},{"t":70,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.9803921568627451,0.9882352941176471,0.9882352941176471,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":40,"op":71,"st":25,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"ball 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":150,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":20,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":35,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":50,"s":[169.5]},{"t":65,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.9803921568627451,0.9882352941176471,0.9882352941176471,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":35,"op":66,"st":20,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"ball 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":77,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":15,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":30,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":45,"s":[169.5]},{"t":60,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.9803921568627451,0.9882352941176471,0.9882352941176471,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":30,"op":61,"st":15,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"ball3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":223,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":-6,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":9,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":24,"s":[169.5]},{"t":39,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.9803921568627451,0.9882352941176471,0.9882352941176471,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":9,"op":40,"st":-6,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"ball 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":150,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":-11,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":4,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":19,"s":[169.5]},{"t":34,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.9803921568627451,0.9882352941176471,0.9882352941176471,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":4,"op":35,"st":-11,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"ball 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"s":true,"x":{"a":0,"k":77,"ix":3},"y":{"a":1,"k":[{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.534],"y":[0]},"t":-16,"s":[169.5]},{"i":{"x":[0.424],"y":[1]},"o":{"x":[0.514],"y":[0]},"t":-1,"s":[129.5]},{"i":{"x":[0.465],"y":[1]},"o":{"x":[0.054],"y":[0]},"t":14,"s":[169.5]},{"t":29,"s":[129.5]}],"ix":4}},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],"o":[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],"v":[[26,0],[0,26],[-26,0],[0,-26]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.9803921568627451,0.9882352941176471,0.9882352941176471,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-1,"op":30,"st":-16,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"Pre-comp 1","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[150,150,0],"ix":2},"a":{"a":0,"k":[395,400,0],"ix":1},"s":{"a":0,"k":[41,41,100],"ix":6}},"ao":0,"w":300,"h":300,"ip":0,"op":211,"st":0,"bm":0}],"markers":[]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.LoadingDots = void 0;
|
|
7
|
+
var _lottieReactNative = _interopRequireDefault(require("lottie-react-native"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
const LoadingDots = ({
|
|
12
|
+
variant = "grape",
|
|
13
|
+
className,
|
|
14
|
+
style,
|
|
15
|
+
lottieViewStyle,
|
|
16
|
+
ref,
|
|
17
|
+
...rest
|
|
18
|
+
}) => {
|
|
19
|
+
const variantsMap = {
|
|
20
|
+
grape: require("./assets/loading-button-grape.json"),
|
|
21
|
+
light: require("./assets/loading-button-light.json"),
|
|
22
|
+
dark: require("./assets/loading-button-dark.json")
|
|
23
|
+
};
|
|
24
|
+
const purposefulOverwrittenSrc = variantsMap[variant];
|
|
25
|
+
const narrowedStyle = lottieViewStyle || {};
|
|
26
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
27
|
+
className: className,
|
|
28
|
+
style: style,
|
|
29
|
+
ref: ref,
|
|
30
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_lottieReactNative.default, {
|
|
31
|
+
loop: true,
|
|
32
|
+
autoPlay: true,
|
|
33
|
+
...rest,
|
|
34
|
+
style: {
|
|
35
|
+
width: 24,
|
|
36
|
+
height: 24,
|
|
37
|
+
...narrowedStyle
|
|
38
|
+
},
|
|
39
|
+
source: purposefulOverwrittenSrc
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
exports.LoadingDots = LoadingDots;
|
|
44
|
+
var _default = exports.default = LoadingDots;
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_lottieReactNative","_interopRequireDefault","require","_reactNative","_jsxRuntime","e","__esModule","default","LoadingDots","variant","className","style","lottieViewStyle","ref","rest","variantsMap","grape","light","dark","purposefulOverwrittenSrc","narrowedStyle","jsx","View","children","loop","autoPlay","width","height","source","exports","_default"],"sourceRoot":"../../../../src","sources":["components/LoadingDots/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,YAAA,GAAAD,OAAA;AAA+C,IAAAE,WAAA,GAAAF,OAAA;AAAA,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAExC,MAAMG,WAAW,GAAGA,CAAC;EAC1BC,OAAO,GAAG,OAAO;EACjBC,SAAS;EACTC,KAAK;EACLC,eAAe;EACfC,GAAG;EACH,GAAGC;AACa,CAAC,KAAK;EACtB,MAAMC,WAA+C,GAAG;IACtDC,KAAK,EAAEd,OAAO,CAAC,oCAAoC,CAAC;IACpDe,KAAK,EAAEf,OAAO,CAAC,oCAAoC,CAAC;IACpDgB,IAAI,EAAEhB,OAAO,CAAC,mCAAmC;EACnD,CAAC;EAED,MAAMiB,wBAAwB,GAAGJ,WAAW,CAACN,OAAO,CAAC;EAErD,MAAMW,aAAa,GAAIR,eAAe,IAAkB,CAAC,CAAC;EAE1D,oBACE,IAAAR,WAAA,CAAAiB,GAAA,EAAClB,YAAA,CAAAmB,IAAI;IAACZ,SAAS,EAAEA,SAAU;IAACC,KAAK,EAAEA,KAAM;IAACE,GAAG,EAAEA,GAAI;IAAAU,QAAA,eACjD,IAAAnB,WAAA,CAAAiB,GAAA,EAACrB,kBAAA,CAAAO,OAAU;MACTiB,IAAI,EAAE,IAAK;MACXC,QAAQ,EAAE,IAAK;MAAA,GACXX,IAAI;MACRH,KAAK,EAAE;QAAEe,KAAK,EAAE,EAAE;QAAEC,MAAM,EAAE,EAAE;QAAE,GAAGP;MAAc,CAAE;MACnDQ,MAAM,EAAET;IAAyB,CAClC;EAAC,CACE,CAAC;AAEX,CAAC;AAACU,OAAA,CAAArB,WAAA,GAAAA,WAAA;AAAA,IAAAsB,QAAA,GAAAD,OAAA,CAAAtB,OAAA,GAEaC,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/LoadingDots/types.ts"],"mappings":"","ignoreList":[]}
|