@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,95 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-native";
|
|
2
|
+
import { Chip } from ".";
|
|
3
|
+
|
|
4
|
+
import { View } from "react-native";
|
|
5
|
+
import { ChipSizeEnum, ChipVariantEnum } from "./enums";
|
|
6
|
+
import { SealVariantEnum } from "../Seal/enums";
|
|
7
|
+
|
|
8
|
+
const meta: Meta<typeof Chip> = {
|
|
9
|
+
title: "Components/Chip",
|
|
10
|
+
component: Chip,
|
|
11
|
+
parameters: {
|
|
12
|
+
layout: "centered",
|
|
13
|
+
},
|
|
14
|
+
tags: ["autodocs"],
|
|
15
|
+
argTypes: {
|
|
16
|
+
size: {
|
|
17
|
+
control: { type: "select" },
|
|
18
|
+
options: Object.values(ChipSizeEnum),
|
|
19
|
+
description: "Size of the chip",
|
|
20
|
+
table: {
|
|
21
|
+
type: { summary: Object.values(ChipSizeEnum).join(" | ") },
|
|
22
|
+
defaultValue: { summary: "medium" },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
sealVariant: {
|
|
26
|
+
control: { type: "select" },
|
|
27
|
+
options: Object.values(SealVariantEnum),
|
|
28
|
+
description: "Style variant of the chip",
|
|
29
|
+
table: {
|
|
30
|
+
type: { summary: Object.values(SealVariantEnum).join(" | ") },
|
|
31
|
+
defaultValue: { summary: SealVariantEnum.ADD },
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
variant: {
|
|
35
|
+
control: { type: "select" },
|
|
36
|
+
options: Object.values(ChipVariantEnum),
|
|
37
|
+
description: "Visual style of the chip",
|
|
38
|
+
table: {
|
|
39
|
+
type: { summary: Object.values(ChipVariantEnum).join(" | ") },
|
|
40
|
+
defaultValue: { summary: ChipVariantEnum.OUTLINE },
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
label: {
|
|
44
|
+
control: "text",
|
|
45
|
+
description: "Label text of the chip",
|
|
46
|
+
table: {
|
|
47
|
+
type: { summary: "string" },
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
className: {
|
|
51
|
+
control: "text",
|
|
52
|
+
table: {
|
|
53
|
+
type: { summary: "string" },
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export default meta;
|
|
60
|
+
type Story = StoryObj<typeof Chip>;
|
|
61
|
+
|
|
62
|
+
export const Default: Story = {
|
|
63
|
+
args: {
|
|
64
|
+
label: "Add",
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export const AllVariants: Story = {
|
|
69
|
+
render: (args) => (
|
|
70
|
+
<View className="flex flex-wrap gap-300">
|
|
71
|
+
<Chip {...args} sealVariant={SealVariantEnum.ADD} label="Add" />
|
|
72
|
+
<Chip {...args} sealVariant={SealVariantEnum.SUCCESS} label="Success" />
|
|
73
|
+
<Chip {...args} sealVariant={SealVariantEnum.ERROR} label="Error" />
|
|
74
|
+
<Chip {...args} sealVariant={SealVariantEnum.ALERT} label="Alert" />
|
|
75
|
+
<Chip {...args} sealVariant={SealVariantEnum.MINUS} label="Minus" />
|
|
76
|
+
<Chip {...args} sealVariant={SealVariantEnum.RIGHT} label="Right" />
|
|
77
|
+
<Chip {...args} sealVariant={SealVariantEnum.LEFT} label="Left" />
|
|
78
|
+
</View>
|
|
79
|
+
),
|
|
80
|
+
args: {
|
|
81
|
+
size: ChipSizeEnum.MEDIUM,
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
export const Sizes: Story = {
|
|
86
|
+
render: (args) => (
|
|
87
|
+
<View className="flex flex-wrap gap-300 items-center">
|
|
88
|
+
<Chip {...args} size={ChipSizeEnum.MEDIUM} label="Medium" />
|
|
89
|
+
<Chip {...args} size={ChipSizeEnum.LARGE} label="Large" />
|
|
90
|
+
</View>
|
|
91
|
+
),
|
|
92
|
+
args: {
|
|
93
|
+
sealVariant: SealVariantEnum.ADD,
|
|
94
|
+
},
|
|
95
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { merge } from "@butterfly/tailwind-preset";
|
|
2
|
+
import type { ChipProps } from "./types";
|
|
3
|
+
import { chipVariants } from "./assets/class-variants";
|
|
4
|
+
import { Seal } from "../Seal";
|
|
5
|
+
import { Text, View } from "react-native";
|
|
6
|
+
import { SealVariantEnum } from "../Seal/enums";
|
|
7
|
+
|
|
8
|
+
export function Chip(props: ChipProps) {
|
|
9
|
+
const {
|
|
10
|
+
label,
|
|
11
|
+
className,
|
|
12
|
+
sealVariant = SealVariantEnum.ADD,
|
|
13
|
+
size = "medium",
|
|
14
|
+
variant = "outline",
|
|
15
|
+
} = props;
|
|
16
|
+
|
|
17
|
+
const labelStyles = merge(
|
|
18
|
+
"mx-auto",
|
|
19
|
+
size === "medium" ? "text-label_small_700" : "text-label_medium_700",
|
|
20
|
+
variant === "filled" ? "text-chia-200" : "text-chia-900"
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<View
|
|
25
|
+
className={merge(chipVariants({ size, variant, sealVariant }), className)}
|
|
26
|
+
>
|
|
27
|
+
<Seal
|
|
28
|
+
variant={sealVariant}
|
|
29
|
+
inverted={variant === "filled"}
|
|
30
|
+
size="small"
|
|
31
|
+
/>
|
|
32
|
+
<Text className={labelStyles}>{label}</Text>
|
|
33
|
+
</View>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { SealVariant } from "../Seal/types";
|
|
2
|
+
import { ChipSizeEnum, ChipVariantEnum } from "./enums";
|
|
3
|
+
|
|
4
|
+
export type ChipSize = ChipSizeEnum;
|
|
5
|
+
export type ChipVariant = ChipVariantEnum;
|
|
6
|
+
|
|
7
|
+
export interface ChipProps {
|
|
8
|
+
label: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
sealVariant?: SealVariant;
|
|
11
|
+
size?: ChipSize;
|
|
12
|
+
variant?: ChipVariant;
|
|
13
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-native";
|
|
2
|
+
import { HighlightedText } from ".";
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: "Components/HighlightedText",
|
|
6
|
+
component: HighlightedText,
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: "centered",
|
|
9
|
+
},
|
|
10
|
+
tags: ["autodocs"],
|
|
11
|
+
argTypes: {
|
|
12
|
+
text: {
|
|
13
|
+
control: "text",
|
|
14
|
+
},
|
|
15
|
+
highlightText: {
|
|
16
|
+
control: "text",
|
|
17
|
+
},
|
|
18
|
+
className: {
|
|
19
|
+
control: "text",
|
|
20
|
+
},
|
|
21
|
+
highlightTextClassName: {
|
|
22
|
+
control: "text",
|
|
23
|
+
},
|
|
24
|
+
reverse: {
|
|
25
|
+
control: "boolean",
|
|
26
|
+
description:
|
|
27
|
+
"If true, the highlighted text will be displayed before the regular text.",
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
} satisfies Meta<typeof HighlightedText>;
|
|
31
|
+
|
|
32
|
+
export default meta;
|
|
33
|
+
type Story = StoryObj<typeof meta>;
|
|
34
|
+
|
|
35
|
+
export const Default: Story = {
|
|
36
|
+
args: {
|
|
37
|
+
text: "This is a default text",
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export const WithHighlight: Story = {
|
|
42
|
+
args: {
|
|
43
|
+
text: "This is text with",
|
|
44
|
+
highlightText: "highlighted content",
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export const LabelVariant: Story = {
|
|
49
|
+
args: {
|
|
50
|
+
text: "Label text",
|
|
51
|
+
highlightText: "important",
|
|
52
|
+
className: "text-label_medium_300",
|
|
53
|
+
highlightTextClassName: "text-label_medium_700",
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export const BodyVariant: Story = {
|
|
58
|
+
args: {
|
|
59
|
+
text: "Body text content",
|
|
60
|
+
highlightText: "highlighted part",
|
|
61
|
+
className: "text-body_medium_300",
|
|
62
|
+
highlightTextClassName: "text-body_medium_700",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export const TitleVariant: Story = {
|
|
67
|
+
args: {
|
|
68
|
+
text: "Title text content",
|
|
69
|
+
highlightText: "highlighted part",
|
|
70
|
+
className: "text-title_medium_300",
|
|
71
|
+
highlightTextClassName: "text-title_medium_700",
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export const HeadlineVariant: Story = {
|
|
76
|
+
args: {
|
|
77
|
+
text: "Headline text content",
|
|
78
|
+
highlightText: "highlighted part",
|
|
79
|
+
className: "text-headline_medium_300",
|
|
80
|
+
highlightTextClassName: "text-headline_medium_700",
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export const DisplayVariant: Story = {
|
|
85
|
+
args: {
|
|
86
|
+
text: "Display text content",
|
|
87
|
+
highlightText: "highlighted part",
|
|
88
|
+
className: "text-display_medium_300",
|
|
89
|
+
highlightTextClassName: "text-display_medium_700",
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
export const WithCustomClasses: Story = {
|
|
94
|
+
args: {
|
|
95
|
+
text: "Styled text",
|
|
96
|
+
highlightText: "with custom styling",
|
|
97
|
+
className: "text-tangerine-900",
|
|
98
|
+
highlightTextClassName: "text-mango-900 underline",
|
|
99
|
+
},
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export const ReverseHighlight: Story = {
|
|
103
|
+
args: {
|
|
104
|
+
text: "text with reverse highlight",
|
|
105
|
+
highlightText: "Highlighted first",
|
|
106
|
+
reverse: true,
|
|
107
|
+
className: "text-label_medium_300",
|
|
108
|
+
highlightTextClassName: "text-label_medium_700",
|
|
109
|
+
},
|
|
110
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { HighlightedTextProps } from "./types";
|
|
2
|
+
import { merge } from "@butterfly/tailwind-preset";
|
|
3
|
+
import { Text } from "react-native";
|
|
4
|
+
|
|
5
|
+
export function HighlightedText(props: HighlightedTextProps) {
|
|
6
|
+
const {
|
|
7
|
+
text,
|
|
8
|
+
highlightText,
|
|
9
|
+
className,
|
|
10
|
+
highlightTextClassName,
|
|
11
|
+
reverse,
|
|
12
|
+
ref,
|
|
13
|
+
...rest
|
|
14
|
+
} = props;
|
|
15
|
+
|
|
16
|
+
const mergeClassName = merge("text-label_medium_300", className);
|
|
17
|
+
const mergeHighlightClassName = merge(
|
|
18
|
+
"text-label_medium_700",
|
|
19
|
+
highlightTextClassName
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
if (reverse) {
|
|
23
|
+
return (
|
|
24
|
+
<Text ref={ref} className={mergeClassName} {...rest}>
|
|
25
|
+
<Text className={mergeHighlightClassName}>{highlightText}</Text> {text}
|
|
26
|
+
</Text>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return (
|
|
31
|
+
<Text ref={ref} className={mergeClassName} {...rest}>
|
|
32
|
+
{text} <Text className={mergeHighlightClassName}>{highlightText}</Text>
|
|
33
|
+
</Text>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
HighlightedText.displayName = "HighlightedText";
|
|
38
|
+
export default HighlightedText;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Text, TextProps } from "react-native";
|
|
2
|
+
|
|
3
|
+
export interface HighlightedTextProps extends TextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
highlightText?: string;
|
|
6
|
+
highlightTextClassName?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
ref?: React.RefObject<Text | null>;
|
|
9
|
+
reverse?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import Svg, {
|
|
2
|
+
Path,
|
|
3
|
+
Defs,
|
|
4
|
+
Filter,
|
|
5
|
+
FeFlood,
|
|
6
|
+
FeBlend,
|
|
7
|
+
FeColorMatrix,
|
|
8
|
+
FeOffset,
|
|
9
|
+
FeGaussianBlur,
|
|
10
|
+
FeComposite,
|
|
11
|
+
G,
|
|
12
|
+
} from "react-native-svg";
|
|
13
|
+
import { GradientAddProps } from "./types";
|
|
14
|
+
|
|
15
|
+
export function GradientAdd(props: GradientAddProps, ref?: React.Ref<Svg>) {
|
|
16
|
+
const { size = 24, color = "currentColor" } = props;
|
|
17
|
+
|
|
18
|
+
return (
|
|
19
|
+
<Svg
|
|
20
|
+
viewBox="0 0 16 16"
|
|
21
|
+
fill="none"
|
|
22
|
+
width={size}
|
|
23
|
+
height={size}
|
|
24
|
+
color={color}
|
|
25
|
+
ref={ref}
|
|
26
|
+
{...props}
|
|
27
|
+
>
|
|
28
|
+
<G filter="url(#filter0_i_3359_12285)">
|
|
29
|
+
<Path
|
|
30
|
+
fillRule="evenodd"
|
|
31
|
+
clipRule="evenodd"
|
|
32
|
+
d="M7.99999 2.6665C8.72036 2.6665 9.30434 3.26346 9.30434 3.99984V6.6665H12.029C12.7493 6.6665 13.3333 7.26346 13.3333 7.99984C13.3333 8.73622 12.7493 9.33317 12.029 9.33317H9.30434V11.9998C9.30434 12.7362 8.72036 13.3332 7.99999 13.3332C7.27962 13.3332 6.69564 12.7362 6.69564 11.9998V9.33317H3.971C3.25063 9.33317 2.66666 8.73622 2.66666 7.99984C2.66666 7.26346 3.25063 6.6665 3.971 6.6665H6.69564V3.99984C6.69564 3.26346 7.27962 2.6665 7.99999 2.6665Z"
|
|
33
|
+
fill="currentColor"
|
|
34
|
+
/>
|
|
35
|
+
</G>
|
|
36
|
+
<Defs>
|
|
37
|
+
<Filter
|
|
38
|
+
id="filter0_i_3359_12285"
|
|
39
|
+
x="2.66666"
|
|
40
|
+
y="2.6665"
|
|
41
|
+
width="11.6667"
|
|
42
|
+
height="11.6665"
|
|
43
|
+
filterUnits="userSpaceOnUse"
|
|
44
|
+
>
|
|
45
|
+
<FeFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
46
|
+
<FeBlend
|
|
47
|
+
mode="normal"
|
|
48
|
+
in="SourceGraphic"
|
|
49
|
+
in2="BackgroundImageFix"
|
|
50
|
+
result="shape"
|
|
51
|
+
/>
|
|
52
|
+
<FeColorMatrix
|
|
53
|
+
in="SourceAlpha"
|
|
54
|
+
type="matrix"
|
|
55
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
56
|
+
result="hardAlpha"
|
|
57
|
+
/>
|
|
58
|
+
<FeOffset dx="1" dy="1" />
|
|
59
|
+
<FeGaussianBlur stdDeviation="1" />
|
|
60
|
+
<FeComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
|
|
61
|
+
<FeColorMatrix
|
|
62
|
+
type="matrix"
|
|
63
|
+
values="0 0 0 0 0.447059 0 0 0 0 0.403922 0 0 0 0 0.894118 0 0 0 0.4 0"
|
|
64
|
+
/>
|
|
65
|
+
<FeBlend
|
|
66
|
+
mode="normal"
|
|
67
|
+
in2="shape"
|
|
68
|
+
result="effect1_innerShadow_3359_12285"
|
|
69
|
+
/>
|
|
70
|
+
</Filter>
|
|
71
|
+
</Defs>
|
|
72
|
+
</Svg>
|
|
73
|
+
);
|
|
74
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import Svg, {
|
|
2
|
+
Path,
|
|
3
|
+
Defs,
|
|
4
|
+
Filter,
|
|
5
|
+
FeFlood,
|
|
6
|
+
FeBlend,
|
|
7
|
+
FeColorMatrix,
|
|
8
|
+
FeOffset,
|
|
9
|
+
FeGaussianBlur,
|
|
10
|
+
FeComposite,
|
|
11
|
+
G,
|
|
12
|
+
SvgProps,
|
|
13
|
+
} from "react-native-svg";
|
|
14
|
+
import { GradientAlertProps } from "./types";
|
|
15
|
+
|
|
16
|
+
export function GradientAlert(props: GradientAlertProps, ref?: React.Ref<Svg>) {
|
|
17
|
+
const { size = 24, color = "currentColor" } = props;
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<Svg
|
|
21
|
+
viewBox="0 0 16 16"
|
|
22
|
+
fill="none"
|
|
23
|
+
width={size}
|
|
24
|
+
height={size}
|
|
25
|
+
color={color}
|
|
26
|
+
ref={ref}
|
|
27
|
+
{...props}
|
|
28
|
+
>
|
|
29
|
+
<G filter="url(#filter0_i_3359_12282)">
|
|
30
|
+
<Path
|
|
31
|
+
fillRule="evenodd"
|
|
32
|
+
clipRule="evenodd"
|
|
33
|
+
d="M8.00001 2C8.73638 2 9.33334 2.58216 9.33334 3.30028V9.36639C9.33334 10.0845 8.73638 10.6667 8.00001 10.6667C7.26363 10.6667 6.66667 10.0845 6.66667 9.36639V3.30028C6.66667 2.58216 7.26363 2 8.00001 2Z"
|
|
34
|
+
fill="currentColor"
|
|
35
|
+
/>
|
|
36
|
+
<Path
|
|
37
|
+
fillRule="evenodd"
|
|
38
|
+
clipRule="evenodd"
|
|
39
|
+
d="M8.00001 11.3333C8.73638 11.3333 9.33334 11.9154 9.33334 12.6336V12.6997C9.33334 13.4178 8.73638 14 8.00001 14C7.26363 14 6.66667 13.4178 6.66667 12.6997V12.6336C6.66667 11.9154 7.26363 11.3333 8.00001 11.3333Z"
|
|
40
|
+
fill="currentColor"
|
|
41
|
+
/>
|
|
42
|
+
</G>
|
|
43
|
+
<Defs>
|
|
44
|
+
<Filter
|
|
45
|
+
id="filter0_i_3359_12282"
|
|
46
|
+
x="6.66667"
|
|
47
|
+
y="2"
|
|
48
|
+
width="3.66667"
|
|
49
|
+
height="13"
|
|
50
|
+
filterUnits="userSpaceOnUse"
|
|
51
|
+
>
|
|
52
|
+
<FeFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
53
|
+
<FeBlend
|
|
54
|
+
mode="normal"
|
|
55
|
+
in="SourceGraphic"
|
|
56
|
+
in2="BackgroundImageFix"
|
|
57
|
+
result="shape"
|
|
58
|
+
/>
|
|
59
|
+
<FeColorMatrix
|
|
60
|
+
in="SourceAlpha"
|
|
61
|
+
type="matrix"
|
|
62
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
63
|
+
result="hardAlpha"
|
|
64
|
+
/>
|
|
65
|
+
<FeOffset dx="1" dy="1" />
|
|
66
|
+
<FeGaussianBlur stdDeviation="1" />
|
|
67
|
+
<FeComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
|
|
68
|
+
<FeColorMatrix
|
|
69
|
+
type="matrix"
|
|
70
|
+
values="0 0 0 0 0.960784 0 0 0 0 0.541176 0 0 0 0 0.239216 0 0 0 0.4 0"
|
|
71
|
+
/>
|
|
72
|
+
<FeBlend
|
|
73
|
+
mode="normal"
|
|
74
|
+
in2="shape"
|
|
75
|
+
result="effect1_innerShadow_3359_12282"
|
|
76
|
+
/>
|
|
77
|
+
</Filter>
|
|
78
|
+
</Defs>
|
|
79
|
+
</Svg>
|
|
80
|
+
);
|
|
81
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import Svg, {
|
|
2
|
+
Path,
|
|
3
|
+
Defs,
|
|
4
|
+
Filter,
|
|
5
|
+
FeFlood,
|
|
6
|
+
FeBlend,
|
|
7
|
+
FeColorMatrix,
|
|
8
|
+
FeOffset,
|
|
9
|
+
FeGaussianBlur,
|
|
10
|
+
FeComposite,
|
|
11
|
+
G,
|
|
12
|
+
SvgProps,
|
|
13
|
+
} from "react-native-svg";
|
|
14
|
+
import { GradientCheckProps } from "./types";
|
|
15
|
+
|
|
16
|
+
export function GradientCheck(props: GradientCheckProps, ref?: React.Ref<Svg>) {
|
|
17
|
+
const { size = 24, color = "currentColor" } = props;
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<Svg
|
|
21
|
+
viewBox="0 0 16 16"
|
|
22
|
+
fill="none"
|
|
23
|
+
width={size}
|
|
24
|
+
height={size}
|
|
25
|
+
color={color}
|
|
26
|
+
ref={ref}
|
|
27
|
+
{...props}
|
|
28
|
+
>
|
|
29
|
+
<G filter="url(#filter0_i_3359_12276)">
|
|
30
|
+
<Path
|
|
31
|
+
fillRule="evenodd"
|
|
32
|
+
clipRule="evenodd"
|
|
33
|
+
d="M12.8985 4.39037C13.4574 4.93089 13.4806 5.83095 12.9504 6.40072L7.97736 11.5567C7.71389 11.8398 7.34787 12.0001 6.96506 12C6.58225 11.9999 6.2163 11.8394 5.95297 11.5562L3.04912 8.40463C2.51919 7.8346 2.54288 6.93454 3.10203 6.3943C3.66118 5.85406 4.54404 5.87821 5.07397 6.44825L6.96589 8.51126L10.9265 4.44334C11.4567 3.87357 12.3396 3.84985 12.8985 4.39037Z"
|
|
34
|
+
fill="currentColor"
|
|
35
|
+
/>
|
|
36
|
+
</G>
|
|
37
|
+
<Defs>
|
|
38
|
+
<Filter
|
|
39
|
+
id="filter0_i_3359_12276"
|
|
40
|
+
x="2.66667"
|
|
41
|
+
y="4"
|
|
42
|
+
width="11.6667"
|
|
43
|
+
height="9"
|
|
44
|
+
filterUnits="userSpaceOnUse"
|
|
45
|
+
>
|
|
46
|
+
<FeFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
47
|
+
<FeBlend
|
|
48
|
+
mode="normal"
|
|
49
|
+
in="SourceGraphic"
|
|
50
|
+
in2="BackgroundImageFix"
|
|
51
|
+
result="shape"
|
|
52
|
+
/>
|
|
53
|
+
<FeColorMatrix
|
|
54
|
+
in="SourceAlpha"
|
|
55
|
+
type="matrix"
|
|
56
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
57
|
+
result="hardAlpha"
|
|
58
|
+
/>
|
|
59
|
+
<FeOffset dx="1" dy="1" />
|
|
60
|
+
<FeGaussianBlur stdDeviation="1" />
|
|
61
|
+
<FeComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
|
|
62
|
+
<FeColorMatrix
|
|
63
|
+
type="matrix"
|
|
64
|
+
values="0 0 0 0 0.215686 0 0 0 0 0.886275 0 0 0 0 0.439216 0 0 0 0.4 0"
|
|
65
|
+
/>
|
|
66
|
+
<FeBlend
|
|
67
|
+
mode="normal"
|
|
68
|
+
in2="shape"
|
|
69
|
+
result="effect1_innerShadow_3359_12276"
|
|
70
|
+
/>
|
|
71
|
+
</Filter>
|
|
72
|
+
</Defs>
|
|
73
|
+
</Svg>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import Svg, {
|
|
2
|
+
Path,
|
|
3
|
+
Defs,
|
|
4
|
+
Filter,
|
|
5
|
+
FeFlood,
|
|
6
|
+
FeBlend,
|
|
7
|
+
FeColorMatrix,
|
|
8
|
+
FeOffset,
|
|
9
|
+
FeGaussianBlur,
|
|
10
|
+
FeComposite,
|
|
11
|
+
G,
|
|
12
|
+
SvgProps,
|
|
13
|
+
} from "react-native-svg";
|
|
14
|
+
import { GradientCloseProps } from "./types";
|
|
15
|
+
|
|
16
|
+
export function GradientClose(props: GradientCloseProps, ref?: React.Ref<Svg>) {
|
|
17
|
+
const { size = 24, color = "currentColor" } = props;
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<Svg
|
|
21
|
+
viewBox="0 0 16 16"
|
|
22
|
+
fill="none"
|
|
23
|
+
width={size}
|
|
24
|
+
height={size}
|
|
25
|
+
color={color}
|
|
26
|
+
ref={ref}
|
|
27
|
+
{...props}
|
|
28
|
+
>
|
|
29
|
+
<G filter="url(#filter0_i_3359_12279)">
|
|
30
|
+
<Path
|
|
31
|
+
d="M12.1996 5.86591C12.7827 5.28288 12.7929 4.3479 12.2226 3.77757C11.6523 3.20721 10.7173 3.2175 10.1342 3.80054L8.02294 5.91184L5.86576 3.75461C5.29541 3.18429 4.36043 3.19454 3.7774 3.77757C3.19439 4.36061 3.18411 5.29559 3.75446 5.86591L5.91166 8.02309L3.80036 10.1344C3.21733 10.7174 3.20705 11.6524 3.7774 12.2228C4.34774 12.7931 5.28272 12.7828 5.86576 12.1998L7.97706 10.0885L10.1342 12.2457C10.7046 12.8161 11.6396 12.8058 12.2226 12.2228C12.8056 11.6397 12.8159 10.7048 12.2455 10.1344L10.0883 7.97721L12.1996 5.86591Z"
|
|
32
|
+
fill="currentColor"
|
|
33
|
+
/>
|
|
34
|
+
</G>
|
|
35
|
+
<Defs>
|
|
36
|
+
<Filter
|
|
37
|
+
id="filter0_i_3359_12279"
|
|
38
|
+
x="3.33333"
|
|
39
|
+
y="3.3335"
|
|
40
|
+
width="10.3333"
|
|
41
|
+
height="10.3335"
|
|
42
|
+
filterUnits="userSpaceOnUse"
|
|
43
|
+
>
|
|
44
|
+
<FeFlood floodOpacity="0" result="BackgroundImageFix" />
|
|
45
|
+
<FeBlend
|
|
46
|
+
mode="normal"
|
|
47
|
+
in="SourceGraphic"
|
|
48
|
+
in2="BackgroundImageFix"
|
|
49
|
+
result="shape"
|
|
50
|
+
/>
|
|
51
|
+
<FeColorMatrix
|
|
52
|
+
in="SourceAlpha"
|
|
53
|
+
type="matrix"
|
|
54
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
55
|
+
result="hardAlpha"
|
|
56
|
+
/>
|
|
57
|
+
<FeOffset dx="1" dy="1" />
|
|
58
|
+
<FeGaussianBlur stdDeviation="1" />
|
|
59
|
+
<FeComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
|
|
60
|
+
<FeColorMatrix
|
|
61
|
+
type="matrix"
|
|
62
|
+
values="0 0 0 0 0.898039 0 0 0 0 0.270588 0 0 0 0 0.270588 0 0 0 0.4 0"
|
|
63
|
+
/>
|
|
64
|
+
<FeBlend
|
|
65
|
+
mode="normal"
|
|
66
|
+
in2="shape"
|
|
67
|
+
result="effect1_innerShadow_3359_12279"
|
|
68
|
+
/>
|
|
69
|
+
</Filter>
|
|
70
|
+
</Defs>
|
|
71
|
+
</Svg>
|
|
72
|
+
);
|
|
73
|
+
}
|