@kivid/native-components 1.0.0-alpha.5 → 1.0.0-alpha.7
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 +1 -57
- package/dist/commonjs/components/Avatar/assets/class-variants.js +9 -8
- package/dist/commonjs/components/Avatar/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/Avatar/index.js +46 -28
- package/dist/commonjs/components/Avatar/index.js.map +1 -1
- package/dist/commonjs/components/Button/assets/class-variants.js +8 -7
- package/dist/commonjs/components/Button/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/Button/index.js +4 -3
- package/dist/commonjs/components/Button/index.js.map +1 -1
- package/dist/commonjs/components/ChatBubble/assets/class-variants.js +68 -0
- package/dist/commonjs/components/ChatBubble/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/index.js +28 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js +48 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js +27 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js +41 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js +38 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js +37 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js +6 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/index.js +48 -0
- package/dist/commonjs/components/ChatBubble/components/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/index.js +17 -0
- package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/types.js +6 -0
- package/dist/{module/components/InputOTP/components/InformationStatus → commonjs/components/ChatBubble/contexts/ChatBubbleContext}/types.js.map +1 -1
- package/dist/commonjs/components/ChatBubble/contexts/index.js +17 -0
- package/dist/commonjs/components/ChatBubble/contexts/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/index.js +94 -0
- package/dist/commonjs/components/ChatBubble/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/types.js +6 -0
- package/dist/commonjs/components/ChatBubble/types.js.map +1 -0
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +2 -2
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
- package/dist/commonjs/components/CheckboxInput/index.js.map +1 -0
- package/dist/commonjs/components/CheckboxInput/types.js +6 -0
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/types.js.map +1 -1
- package/dist/commonjs/components/Chip/enums/index.js +0 -11
- package/dist/commonjs/components/Chip/enums/index.js.map +1 -1
- package/dist/commonjs/components/Chip/index.js +4 -3
- package/dist/commonjs/components/Chip/index.js.map +1 -1
- package/dist/commonjs/components/IconButton/assets/class-variants.js +82 -0
- package/dist/commonjs/components/IconButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/IconButton/assets/design-system-showcase.js +119 -0
- package/dist/commonjs/components/IconButton/assets/design-system-showcase.js.map +1 -0
- package/dist/commonjs/components/IconButton/enums.js +33 -0
- package/dist/commonjs/components/IconButton/enums.js.map +1 -0
- package/dist/commonjs/components/IconButton/index.js +108 -0
- package/dist/commonjs/components/IconButton/index.js.map +1 -0
- package/dist/commonjs/components/IconButton/types.js +6 -0
- package/dist/commonjs/components/IconButton/types.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/index.js +8 -7
- package/dist/commonjs/components/InformationStatus/index.js.map +1 -1
- package/dist/commonjs/components/ListButton/assets/class-variants.js +52 -0
- package/dist/commonjs/components/ListButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/ListButton/assets/design-system-showcase.js +424 -0
- package/dist/commonjs/components/ListButton/assets/design-system-showcase.js.map +1 -0
- package/dist/commonjs/{hooks → components/ListButton/enums}/index.js +4 -4
- package/dist/commonjs/components/ListButton/enums/index.js.map +1 -0
- package/dist/commonjs/components/ListButton/enums/variant.js +17 -0
- package/dist/commonjs/components/ListButton/enums/variant.js.map +1 -0
- package/dist/commonjs/components/ListButton/index.js +109 -0
- package/dist/commonjs/components/ListButton/index.js.map +1 -0
- package/dist/commonjs/components/ListButton/types.js +6 -0
- package/dist/commonjs/components/ListButton/types.js.map +1 -0
- package/dist/commonjs/components/LoadingDots/index.js.map +1 -1
- package/dist/commonjs/components/OtpInput/assets/class-variant.js +24 -0
- package/dist/commonjs/components/OtpInput/assets/class-variant.js.map +1 -0
- package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +18 -15
- package/dist/commonjs/components/OtpInput/components/InformationStatus/index.js.map +1 -0
- package/dist/commonjs/components/OtpInput/components/InformationStatus/types.js +6 -0
- package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/types.js.map +1 -1
- package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js.map +1 -1
- package/dist/commonjs/components/OtpInput/enums/index.js +14 -0
- package/dist/commonjs/components/OtpInput/enums/index.js.map +1 -0
- package/dist/commonjs/components/OtpInput/index.js +106 -0
- package/dist/commonjs/components/OtpInput/index.js.map +1 -0
- package/dist/commonjs/components/OtpInput/types.js +6 -0
- package/dist/commonjs/components/{InputOTP → OtpInput}/types.js.map +1 -1
- package/dist/commonjs/components/RadioInput/assets/class-variants.js +101 -0
- package/dist/commonjs/components/RadioInput/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/RadioInput/enums/index.js +17 -0
- package/dist/commonjs/components/RadioInput/enums/index.js.map +1 -0
- package/dist/commonjs/components/RadioInput/index.js +41 -0
- package/dist/commonjs/components/RadioInput/index.js.map +1 -0
- package/dist/commonjs/components/RadioInput/types.js +6 -0
- package/dist/commonjs/components/RadioInput/types.js.map +1 -0
- package/dist/commonjs/components/Seal/assets/class-variants.js +3 -2
- package/dist/commonjs/components/Seal/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/Seal/components/AddIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/AddIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/AlertIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/AlertIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/ErrorIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/ErrorIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/LeftIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/LeftIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/MinusIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/MinusIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/RightIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/RightIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/SuccessIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/SuccessIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/index.js +5 -2
- package/dist/commonjs/components/Seal/index.js.map +1 -1
- package/dist/commonjs/components/SelectButton/assets/class-variants.js +31 -0
- package/dist/commonjs/components/SelectButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/SelectButton/enums/index.js +12 -0
- package/dist/commonjs/components/SelectButton/enums/index.js.map +1 -0
- package/dist/commonjs/components/SelectButton/index.js +110 -0
- package/dist/commonjs/components/SelectButton/index.js.map +1 -0
- package/dist/commonjs/components/SelectButton/types.js +6 -0
- package/dist/commonjs/components/SelectButton/types.js.map +1 -0
- package/dist/commonjs/components/TextInput/assets/class-variants.js +71 -0
- package/dist/commonjs/components/TextInput/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/TextInput/enums.js +12 -0
- package/dist/commonjs/components/TextInput/enums.js.map +1 -0
- package/dist/commonjs/components/TextInput/index.js +124 -0
- package/dist/commonjs/components/TextInput/index.js.map +1 -0
- package/dist/commonjs/components/TextInput/types.js +6 -0
- package/dist/commonjs/components/TextInput/types.js.map +1 -0
- package/dist/commonjs/components/Title/components/icon/index.js +2 -1
- package/dist/commonjs/components/Title/components/icon/index.js.map +1 -1
- package/dist/commonjs/components/Title/components/icon/types.js.map +1 -1
- package/dist/commonjs/components/Title/components/marker/index.js +4 -3
- package/dist/commonjs/components/Title/components/marker/index.js.map +1 -1
- package/dist/commonjs/components/Title/components/marker/types.js +4 -0
- package/dist/commonjs/components/Title/index.js +8 -7
- package/dist/commonjs/components/Title/index.js.map +1 -1
- package/dist/commonjs/components/Toast/assets/class-variants.js +32 -0
- package/dist/commonjs/components/Toast/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Toast/enums/index.js +28 -0
- package/dist/commonjs/components/Toast/enums/index.js.map +1 -0
- package/dist/commonjs/components/Toast/enums/position.js +12 -0
- package/dist/commonjs/components/Toast/enums/position.js.map +1 -0
- package/dist/commonjs/components/Toast/enums/variant.js +13 -0
- package/dist/commonjs/components/Toast/enums/variant.js.map +1 -0
- package/dist/commonjs/components/Toast/index.js +107 -0
- package/dist/commonjs/components/Toast/index.js.map +1 -0
- package/dist/commonjs/components/Toast/types.js +6 -0
- package/dist/commonjs/components/Toast/types.js.map +1 -0
- package/dist/commonjs/components/Tooltip/assets/class-variant.js +25 -0
- package/dist/commonjs/components/Tooltip/assets/class-variant.js.map +1 -0
- package/dist/commonjs/components/Tooltip/components/Content/index.js +83 -0
- package/dist/commonjs/components/Tooltip/components/Content/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/components/Content/types.js +6 -0
- package/dist/commonjs/components/Tooltip/components/Content/types.js.map +1 -0
- package/dist/commonjs/components/Tooltip/components/index.js +17 -0
- package/dist/commonjs/components/Tooltip/components/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/enum/index.js +18 -0
- package/dist/commonjs/components/Tooltip/enum/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/hooks/index.js +17 -0
- package/dist/commonjs/components/Tooltip/hooks/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js +66 -0
- package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js.map +1 -0
- package/dist/commonjs/components/Tooltip/index.js +82 -0
- package/dist/commonjs/components/Tooltip/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/types.js +6 -0
- package/dist/commonjs/components/Tooltip/types.js.map +1 -0
- package/dist/commonjs/components/Typography/assets/class-variants.js +1 -1
- package/dist/commonjs/components/Typography/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/index.js +190 -36
- package/dist/commonjs/components/index.js.map +1 -1
- package/dist/commonjs/enums/corners.js +14 -0
- package/dist/commonjs/enums/corners.js.map +1 -0
- package/dist/commonjs/enums/index.js +28 -0
- package/dist/commonjs/enums/index.js.map +1 -0
- package/dist/commonjs/enums/size.js +18 -0
- package/dist/commonjs/enums/size.js.map +1 -0
- package/dist/commonjs/iconography/Icons/index.js +1 -1
- package/dist/commonjs/iconography/Icons/index.js.map +1 -1
- package/dist/commonjs/index.js +11 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/storybook-utils/components/CodeBlock/index.js +50 -0
- package/dist/commonjs/storybook-utils/components/CodeBlock/index.js.map +1 -0
- package/dist/commonjs/storybook-utils/components/CodeBlock/types.js +2 -0
- package/dist/commonjs/storybook-utils/components/CodeBlock/types.js.map +1 -0
- package/dist/commonjs/storybook-utils/components/index.js +13 -0
- package/dist/commonjs/storybook-utils/components/index.js.map +1 -0
- package/dist/commonjs/storybook-utils/index.js +17 -0
- package/dist/commonjs/storybook-utils/index.js.map +1 -0
- package/dist/commonjs/{components/Avatar/enums → styles}/index.js +4 -4
- package/dist/commonjs/styles/index.js.map +1 -0
- package/dist/commonjs/styles/mixins/index.js +17 -0
- package/dist/commonjs/styles/mixins/index.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/index.js +72 -0
- package/dist/commonjs/styles/mixins/shadows/index.js.map +1 -0
- package/dist/module/components/Avatar/assets/class-variants.js +9 -8
- package/dist/module/components/Avatar/assets/class-variants.js.map +1 -1
- package/dist/module/components/Avatar/index.js +46 -28
- package/dist/module/components/Avatar/index.js.map +1 -1
- package/dist/module/components/Button/assets/class-variants.js +8 -7
- package/dist/module/components/Button/assets/class-variants.js.map +1 -1
- package/dist/module/components/Button/index.js +4 -3
- package/dist/module/components/Button/index.js.map +1 -1
- package/dist/module/components/ChatBubble/assets/class-variants.js +64 -0
- package/dist/module/components/ChatBubble/assets/class-variants.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleContent/index.js +22 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleContent/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleContent/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js +41 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js +22 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js +35 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js +33 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleText/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js +31 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js +4 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/index.js +9 -0
- package/dist/module/components/ChatBubble/components/index.js.map +1 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/index.js +12 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/index.js.map +1 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/types.js +4 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/types.js.map +1 -0
- package/dist/module/components/ChatBubble/contexts/index.js +4 -0
- package/dist/module/components/{InputOTP/components → ChatBubble/contexts}/index.js.map +1 -1
- package/dist/module/components/ChatBubble/index.js +91 -0
- package/dist/module/components/ChatBubble/index.js.map +1 -0
- package/dist/module/components/ChatBubble/types.js +4 -0
- package/dist/module/components/ChatBubble/types.js.map +1 -0
- package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
- package/dist/module/components/CheckboxInput/index.js.map +1 -0
- package/dist/module/components/CheckboxInput/types.js +4 -0
- package/dist/module/components/{InputCheckbox → CheckboxInput}/types.js.map +1 -1
- package/dist/module/components/Chip/enums/index.js +0 -1
- package/dist/module/components/Chip/enums/index.js.map +1 -1
- package/dist/module/components/Chip/index.js +4 -3
- package/dist/module/components/Chip/index.js.map +1 -1
- package/dist/module/components/IconButton/assets/class-variants.js +79 -0
- package/dist/module/components/IconButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/IconButton/assets/design-system-showcase.js +115 -0
- package/dist/module/components/IconButton/assets/design-system-showcase.js.map +1 -0
- package/dist/module/components/IconButton/enums.js +29 -0
- package/dist/module/components/IconButton/enums.js.map +1 -0
- package/dist/module/components/IconButton/index.js +103 -0
- package/dist/module/components/IconButton/index.js.map +1 -0
- package/dist/module/components/IconButton/types.js +4 -0
- package/dist/module/components/IconButton/types.js.map +1 -0
- package/dist/module/components/InformationStatus/index.js +8 -7
- package/dist/module/components/InformationStatus/index.js.map +1 -1
- package/dist/module/components/ListButton/assets/class-variants.js +49 -0
- package/dist/module/components/ListButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/ListButton/assets/design-system-showcase.js +420 -0
- package/dist/module/components/ListButton/assets/design-system-showcase.js.map +1 -0
- package/dist/module/components/ListButton/enums/index.js +4 -0
- package/dist/module/components/ListButton/enums/index.js.map +1 -0
- package/dist/module/components/ListButton/enums/variant.js +13 -0
- package/dist/module/components/ListButton/enums/variant.js.map +1 -0
- package/dist/module/components/ListButton/index.js +105 -0
- package/dist/module/components/ListButton/index.js.map +1 -0
- package/dist/module/components/ListButton/types.js +4 -0
- package/dist/module/components/ListButton/types.js.map +1 -0
- package/dist/module/components/LoadingDots/index.js.map +1 -1
- package/dist/module/components/OtpInput/assets/class-variant.js +20 -0
- package/dist/module/components/OtpInput/assets/class-variant.js.map +1 -0
- package/dist/module/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +20 -17
- package/dist/module/components/OtpInput/components/InformationStatus/index.js.map +1 -0
- package/dist/module/components/OtpInput/components/InformationStatus/types.js +4 -0
- package/dist/module/components/OtpInput/components/InformationStatus/types.js.map +1 -0
- package/dist/module/components/OtpInput/components/index.js.map +1 -0
- package/dist/module/components/OtpInput/enums/index.js +10 -0
- package/dist/module/components/OtpInput/enums/index.js.map +1 -0
- package/dist/module/components/OtpInput/index.js +101 -0
- package/dist/module/components/OtpInput/index.js.map +1 -0
- package/dist/module/components/OtpInput/types.js +4 -0
- package/dist/module/components/{InputOTP → OtpInput}/types.js.map +1 -1
- package/dist/module/components/RadioInput/assets/class-variants.js +97 -0
- package/dist/module/components/RadioInput/assets/class-variants.js.map +1 -0
- package/dist/module/components/RadioInput/enums/index.js +13 -0
- package/dist/module/components/RadioInput/enums/index.js.map +1 -0
- package/dist/module/components/RadioInput/index.js +37 -0
- package/dist/module/components/RadioInput/index.js.map +1 -0
- package/dist/module/components/RadioInput/types.js +4 -0
- package/dist/module/components/RadioInput/types.js.map +1 -0
- package/dist/module/components/Seal/assets/class-variants.js +3 -2
- package/dist/module/components/Seal/assets/class-variants.js.map +1 -1
- package/dist/module/components/Seal/components/AddIcon/index.js +4 -3
- package/dist/module/components/Seal/components/AddIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/AlertIcon/index.js +4 -3
- package/dist/module/components/Seal/components/AlertIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/ErrorIcon/index.js +4 -3
- package/dist/module/components/Seal/components/ErrorIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/LeftIcon/index.js +4 -3
- package/dist/module/components/Seal/components/LeftIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/MinusIcon/index.js +4 -3
- package/dist/module/components/Seal/components/MinusIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/RightIcon/index.js +4 -3
- package/dist/module/components/Seal/components/RightIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/SuccessIcon/index.js +4 -3
- package/dist/module/components/Seal/components/SuccessIcon/index.js.map +1 -1
- package/dist/module/components/Seal/index.js +5 -2
- package/dist/module/components/Seal/index.js.map +1 -1
- package/dist/module/components/SelectButton/assets/class-variants.js +28 -0
- package/dist/module/components/SelectButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/SelectButton/enums/index.js +8 -0
- package/dist/module/components/SelectButton/enums/index.js.map +1 -0
- package/dist/module/components/SelectButton/index.js +106 -0
- package/dist/module/components/SelectButton/index.js.map +1 -0
- package/dist/module/components/SelectButton/types.js +4 -0
- package/dist/module/components/SelectButton/types.js.map +1 -0
- package/dist/module/components/TextInput/assets/class-variants.js +67 -0
- package/dist/module/components/TextInput/assets/class-variants.js.map +1 -0
- package/dist/module/components/TextInput/enums.js +8 -0
- package/dist/module/components/TextInput/enums.js.map +1 -0
- package/dist/module/components/TextInput/index.js +118 -0
- package/dist/module/components/TextInput/index.js.map +1 -0
- package/dist/module/components/TextInput/types.js +4 -0
- package/dist/module/components/TextInput/types.js.map +1 -0
- package/dist/module/components/Title/components/icon/index.js +2 -1
- package/dist/module/components/Title/components/icon/index.js.map +1 -1
- package/dist/module/components/Title/components/icon/types.js.map +1 -1
- package/dist/module/components/Title/components/marker/index.js +4 -3
- package/dist/module/components/Title/components/marker/index.js.map +1 -1
- package/dist/module/components/Title/components/marker/types.js +2 -0
- package/dist/module/components/Title/index.js +8 -7
- package/dist/module/components/Title/index.js.map +1 -1
- package/dist/module/components/Toast/assets/class-variants.js +29 -0
- package/dist/module/components/Toast/assets/class-variants.js.map +1 -0
- package/dist/module/components/Toast/enums/index.js +5 -0
- package/dist/module/components/Toast/enums/index.js.map +1 -0
- package/dist/module/components/Toast/enums/position.js +8 -0
- package/dist/module/components/Toast/enums/position.js.map +1 -0
- package/dist/module/components/Toast/enums/variant.js +9 -0
- package/dist/module/components/Toast/enums/variant.js.map +1 -0
- package/dist/module/components/Toast/index.js +102 -0
- package/dist/module/components/Toast/index.js.map +1 -0
- package/dist/module/components/Toast/types.js +4 -0
- package/dist/module/components/Toast/types.js.map +1 -0
- package/dist/module/components/Tooltip/assets/class-variant.js +21 -0
- package/dist/module/components/Tooltip/assets/class-variant.js.map +1 -0
- package/dist/module/components/Tooltip/components/Content/index.js +78 -0
- package/dist/module/components/Tooltip/components/Content/index.js.map +1 -0
- package/dist/module/components/Tooltip/components/Content/types.js +4 -0
- package/dist/module/components/Tooltip/components/Content/types.js.map +1 -0
- package/dist/module/components/Tooltip/components/index.js +4 -0
- package/dist/module/components/Tooltip/components/index.js.map +1 -0
- package/dist/module/components/Tooltip/enum/index.js +14 -0
- package/dist/module/components/Tooltip/enum/index.js.map +1 -0
- package/dist/module/components/Tooltip/hooks/index.js +4 -0
- package/dist/module/components/Tooltip/hooks/index.js.map +1 -0
- package/dist/module/components/Tooltip/hooks/tooltip-position.js +62 -0
- package/dist/module/components/Tooltip/hooks/tooltip-position.js.map +1 -0
- package/dist/module/components/Tooltip/index.js +78 -0
- package/dist/module/components/Tooltip/index.js.map +1 -0
- package/dist/module/components/Tooltip/types.js +4 -0
- package/dist/module/components/Tooltip/types.js.map +1 -0
- package/dist/module/components/Typography/assets/class-variants.js +1 -1
- package/dist/module/components/Typography/assets/class-variants.js.map +1 -1
- package/dist/module/components/index.js +18 -4
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/enums/corners.js +10 -0
- package/dist/module/enums/corners.js.map +1 -0
- package/dist/module/enums/index.js +5 -0
- package/dist/module/enums/index.js.map +1 -0
- package/dist/module/enums/size.js +14 -0
- package/dist/module/enums/size.js.map +1 -0
- package/dist/module/iconography/Icons/index.js +2 -2
- package/dist/module/iconography/Icons/index.js.map +1 -1
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/storybook-utils/components/CodeBlock/index.js +44 -0
- package/dist/module/storybook-utils/components/CodeBlock/index.js.map +1 -0
- package/dist/module/storybook-utils/components/CodeBlock/types.js +2 -0
- package/dist/module/storybook-utils/components/CodeBlock/types.js.map +1 -0
- package/dist/module/storybook-utils/components/index.js +14 -0
- package/dist/module/storybook-utils/components/index.js.map +1 -0
- package/dist/module/storybook-utils/index.js +11 -0
- package/dist/module/storybook-utils/index.js.map +1 -0
- package/dist/module/styles/index.js +4 -0
- package/dist/module/styles/index.js.map +1 -0
- package/dist/module/styles/mixins/index.js +4 -0
- package/dist/module/styles/mixins/index.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-down-100.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-down-100.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-down-200.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-down-200.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-down-300.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-down-300.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-up-100.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-up-100.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-up-200.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-up-200.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-up-300.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-up-300.js.map +1 -0
- package/dist/module/styles/mixins/shadows/index.js +9 -0
- package/dist/module/styles/mixins/shadows/index.js.map +1 -0
- package/dist/typescript/components/Avatar/assets/class-variants.d.ts +2 -2
- package/dist/typescript/components/Avatar/index.d.ts +1 -1
- package/dist/typescript/components/Avatar/types.d.ts +3 -2
- package/dist/typescript/components/Button/assets/class-variants.d.ts +3 -2
- package/dist/typescript/components/Button/index.d.ts +2 -1
- package/dist/typescript/components/Button/types.d.ts +3 -2
- package/dist/typescript/components/ChatBubble/assets/class-variants.d.ts +7 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleContent/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleContent/types.d.ts +5 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleEar/index.d.ts +8 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleLoading/index.d.ts +9 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/index.d.ts +3 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/types.d.ts +4 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleText/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleText/types.d.ts +4 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/types.d.ts +5 -0
- package/dist/typescript/components/ChatBubble/components/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/contexts/ChatBubbleContext/index.d.ts +3 -0
- package/dist/typescript/components/ChatBubble/contexts/ChatBubbleContext/types.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/contexts/index.d.ts +1 -0
- package/dist/typescript/components/ChatBubble/index.d.ts +12 -0
- package/dist/typescript/components/ChatBubble/types.d.ts +13 -0
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/assets/class-variants.d.ts +1 -1
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.d.ts +1 -1
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.d.ts +1 -1
- package/dist/typescript/components/CheckboxInput/index.d.ts +2 -0
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/types.d.ts +3 -2
- package/dist/typescript/components/Chip/enums/index.d.ts +0 -1
- package/dist/typescript/components/Chip/index.d.ts +1 -1
- package/dist/typescript/components/Chip/types.d.ts +3 -2
- package/dist/typescript/components/HighlightedText/index.d.ts +1 -1
- package/dist/typescript/components/IconButton/assets/class-variants.d.ts +8 -0
- package/dist/typescript/components/IconButton/assets/design-system-showcase.d.ts +17 -0
- package/dist/typescript/components/IconButton/enums.d.ts +22 -0
- package/dist/typescript/components/IconButton/index.d.ts +2 -0
- package/dist/typescript/components/IconButton/types.d.ts +15 -0
- package/dist/typescript/components/InformationStatus/components/GradientAdd/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/components/GradientAlert/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/components/GradientCheck/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/components/GradientClose/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/types.d.ts +3 -1
- package/dist/typescript/components/ListButton/assets/class-variants.d.ts +11 -0
- package/dist/typescript/components/ListButton/assets/design-system-showcase.d.ts +14 -0
- package/dist/typescript/components/ListButton/enums/index.d.ts +1 -0
- package/dist/typescript/components/ListButton/enums/variant.d.ts +9 -0
- package/dist/typescript/components/ListButton/index.d.ts +2 -0
- package/dist/typescript/components/ListButton/types.d.ts +18 -0
- package/dist/typescript/components/LoadingDots/index.d.ts +1 -1
- package/dist/typescript/components/OtpInput/assets/class-variant.d.ts +5 -0
- package/dist/typescript/components/{InputOTP → OtpInput}/components/InformationStatus/index.d.ts +1 -1
- package/dist/typescript/components/OtpInput/components/InformationStatus/types.d.ts +6 -0
- package/dist/typescript/components/OtpInput/enums/index.d.ts +6 -0
- package/dist/typescript/components/OtpInput/index.d.ts +3 -0
- package/dist/typescript/components/OtpInput/types.d.ts +12 -0
- package/dist/typescript/components/RadioInput/assets/class-variants.d.ts +6 -0
- package/dist/typescript/components/RadioInput/enums/index.d.ts +9 -0
- package/dist/typescript/components/RadioInput/index.d.ts +2 -0
- package/dist/typescript/components/RadioInput/types.d.ts +8 -0
- package/dist/typescript/components/Seal/assets/class-variants.d.ts +2 -1
- package/dist/typescript/components/Seal/components/AddIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/AlertIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/ErrorIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/LeftIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/MinusIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/RightIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/SuccessIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/types.d.ts +3 -1
- package/dist/typescript/components/SelectButton/assets/class-variants.d.ts +7 -0
- package/dist/typescript/components/SelectButton/enums/index.d.ts +4 -0
- package/dist/typescript/components/SelectButton/index.d.ts +2 -0
- package/dist/typescript/components/SelectButton/types.d.ts +17 -0
- package/dist/typescript/components/TextInput/assets/class-variants.d.ts +15 -0
- package/dist/typescript/components/TextInput/enums.d.ts +4 -0
- package/dist/typescript/components/TextInput/index.d.ts +6 -0
- package/dist/typescript/components/TextInput/types.d.ts +18 -0
- package/dist/typescript/components/Title/components/icon/index.d.ts +1 -1
- package/dist/typescript/components/Title/components/icon/types.d.ts +3 -1
- package/dist/typescript/components/Title/components/marker/index.d.ts +1 -1
- package/dist/typescript/components/Title/components/marker/types.d.ts +3 -1
- package/dist/typescript/components/Title/index.d.ts +1 -1
- package/dist/typescript/components/Title/types.d.ts +3 -1
- package/dist/typescript/components/Toast/assets/class-variants.d.ts +8 -0
- package/dist/typescript/components/Toast/enums/index.d.ts +2 -0
- package/dist/typescript/components/Toast/enums/position.d.ts +4 -0
- package/dist/typescript/components/Toast/enums/variant.d.ts +5 -0
- package/dist/typescript/components/Toast/index.d.ts +2 -0
- package/dist/typescript/components/Toast/types.d.ts +11 -0
- package/dist/typescript/components/Toggle/index.d.ts +1 -1
- package/dist/typescript/components/Tooltip/assets/class-variant.d.ts +7 -0
- package/dist/typescript/components/Tooltip/components/Content/index.d.ts +2 -0
- package/dist/typescript/components/Tooltip/components/Content/types.d.ts +14 -0
- package/dist/typescript/components/Tooltip/components/index.d.ts +1 -0
- package/dist/typescript/components/Tooltip/enum/index.d.ts +9 -0
- package/dist/typescript/components/Tooltip/hooks/index.d.ts +1 -0
- package/dist/typescript/components/Tooltip/hooks/tooltip-position.d.ts +17 -0
- package/dist/typescript/components/Tooltip/index.d.ts +2 -0
- package/dist/typescript/components/Tooltip/types.d.ts +14 -0
- package/dist/typescript/components/index.d.ts +29 -6
- package/dist/typescript/{components/Avatar/enums/size.d.ts → enums/corners.d.ts} +1 -2
- package/dist/typescript/enums/index.d.ts +2 -0
- package/dist/typescript/enums/size.d.ts +10 -0
- package/dist/typescript/iconography/Icons/index.d.ts +2 -1
- package/dist/typescript/index.d.ts +1 -0
- package/dist/typescript/storybook-utils/components/CodeBlock/index.d.ts +4 -0
- package/dist/typescript/storybook-utils/components/CodeBlock/types.d.ts +6 -0
- package/dist/typescript/storybook-utils/components/index.d.ts +11 -0
- package/dist/typescript/storybook-utils/index.d.ts +7 -0
- package/dist/typescript/styles/index.d.ts +1 -0
- package/dist/typescript/styles/mixins/index.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-down-100.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-down-200.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-down-300.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-up-100.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-up-200.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-up-300.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/index.d.ts +6 -0
- package/package.json +38 -60
- package/src/components/Avatar/assets/class-variants.ts +9 -8
- package/src/components/Avatar/index.tsx +58 -37
- package/src/components/Avatar/types.ts +10 -2
- package/src/components/Button/assets/class-variants.ts +8 -7
- package/src/components/Button/index.tsx +8 -7
- package/src/components/Button/types.ts +3 -2
- package/src/components/ChatBubble/assets/class-variants.ts +75 -0
- package/src/components/ChatBubble/components/ChatBubbleContent/index.tsx +24 -0
- package/src/components/ChatBubble/components/ChatBubbleContent/types.ts +6 -0
- package/src/components/ChatBubble/components/ChatBubbleEar/index.tsx +40 -0
- package/src/components/ChatBubble/components/ChatBubbleLoading/index.tsx +25 -0
- package/src/components/ChatBubble/components/ChatBubbleSeal/index.tsx +37 -0
- package/src/components/ChatBubble/components/ChatBubbleSeal/types.ts +5 -0
- package/src/components/ChatBubble/components/ChatBubbleText/index.tsx +36 -0
- package/src/components/ChatBubble/components/ChatBubbleText/types.ts +6 -0
- package/src/components/ChatBubble/components/ChatBubbleTime/index.tsx +34 -0
- package/src/components/ChatBubble/components/ChatBubbleTime/types.ts +6 -0
- package/src/components/ChatBubble/components/index.ts +6 -0
- package/src/components/ChatBubble/contexts/ChatBubbleContext/index.tsx +17 -0
- package/src/components/ChatBubble/contexts/ChatBubbleContext/types.ts +11 -0
- package/src/components/ChatBubble/contexts/index.ts +1 -0
- package/src/components/ChatBubble/index.tsx +115 -0
- package/src/components/ChatBubble/types.ts +15 -0
- package/src/components/{InputCheckbox → CheckboxInput}/assets/class-variants.ts +1 -1
- package/src/components/{InputCheckbox → CheckboxInput}/index.tsx +10 -8
- package/src/components/{InputCheckbox → CheckboxInput}/types.ts +3 -2
- package/src/components/Chip/enums/index.ts +0 -1
- package/src/components/Chip/index.tsx +5 -3
- package/src/components/Chip/types.ts +3 -2
- package/src/components/IconButton/assets/class-variants.ts +126 -0
- package/src/components/IconButton/assets/design-system-showcase.ts +246 -0
- package/src/components/IconButton/enums.ts +26 -0
- package/src/components/IconButton/index.tsx +124 -0
- package/src/components/IconButton/types.ts +22 -0
- package/src/components/InformationStatus/index.tsx +14 -7
- package/src/components/InformationStatus/types.ts +7 -1
- package/src/components/ListButton/assets/class-variants.ts +78 -0
- package/src/components/ListButton/assets/design-system-showcase.ts +502 -0
- package/src/components/ListButton/enums/index.ts +1 -0
- package/src/components/ListButton/enums/variant.ts +9 -0
- package/src/components/ListButton/index.tsx +126 -0
- package/src/components/ListButton/types.ts +21 -0
- package/src/components/LoadingDots/index.tsx +0 -1
- package/src/components/OtpInput/assets/class-variant.ts +21 -0
- package/src/components/{InputOTP → OtpInput}/components/InformationStatus/index.tsx +20 -18
- package/src/components/OtpInput/components/InformationStatus/types.ts +6 -0
- package/src/components/{InputOTP → OtpInput}/enums/index.ts +1 -2
- package/src/components/OtpInput/index.tsx +116 -0
- package/src/components/OtpInput/types.ts +13 -0
- package/src/components/RadioInput/assets/class-variants.ts +112 -0
- package/src/components/RadioInput/enums/index.ts +9 -0
- package/src/components/RadioInput/index.tsx +36 -0
- package/src/components/RadioInput/types.ts +9 -0
- package/src/components/Seal/assets/class-variants.ts +3 -2
- package/src/components/Seal/components/AddIcon/index.tsx +7 -3
- package/src/components/Seal/components/AlertIcon/index.tsx +7 -3
- package/src/components/Seal/components/ErrorIcon/index.tsx +7 -3
- package/src/components/Seal/components/LeftIcon/index.tsx +7 -3
- package/src/components/Seal/components/MinusIcon/index.tsx +7 -3
- package/src/components/Seal/components/RightIcon/index.tsx +7 -3
- package/src/components/Seal/components/SuccessIcon/index.tsx +7 -3
- package/src/components/Seal/index.tsx +4 -1
- package/src/components/Seal/types.ts +4 -2
- package/src/components/SelectButton/assets/class-variants.ts +28 -0
- package/src/components/SelectButton/enums/index.ts +4 -0
- package/src/components/SelectButton/index.tsx +133 -0
- package/src/components/SelectButton/types.ts +20 -0
- package/src/components/TextInput/assets/class-variants.ts +74 -0
- package/src/components/TextInput/enums.ts +4 -0
- package/src/components/TextInput/index.tsx +145 -0
- package/src/components/TextInput/types.ts +24 -0
- package/src/components/Title/components/icon/index.tsx +2 -1
- package/src/components/Title/components/icon/types.ts +6 -1
- package/src/components/Title/components/marker/index.tsx +4 -3
- package/src/components/Title/components/marker/types.ts +5 -1
- package/src/components/Title/index.tsx +8 -7
- package/src/components/Title/types.ts +11 -1
- package/src/components/Toast/assets/class-variants.ts +32 -0
- package/src/components/Toast/enums/index.ts +2 -0
- package/src/components/Toast/enums/position.ts +4 -0
- package/src/components/Toast/enums/variant.ts +5 -0
- package/src/components/Toast/index.tsx +102 -0
- package/src/components/Toast/types.ts +12 -0
- package/src/components/Tooltip/assets/class-variant.ts +26 -0
- package/src/components/Tooltip/components/Content/index.tsx +93 -0
- package/src/components/Tooltip/components/Content/types.ts +15 -0
- package/src/components/Tooltip/components/index.ts +1 -0
- package/src/components/Tooltip/enum/index.ts +10 -0
- package/src/components/Tooltip/hooks/index.ts +1 -0
- package/src/components/Tooltip/hooks/tooltip-position.ts +85 -0
- package/src/components/Tooltip/index.tsx +90 -0
- package/src/components/Tooltip/types.ts +15 -0
- package/src/components/Typography/assets/class-variants.ts +1 -1
- package/src/components/index.ts +37 -6
- package/src/{components/Avatar/enums/size.ts → enums/corners.ts} +1 -2
- package/src/enums/index.ts +2 -0
- package/src/enums/size.ts +10 -0
- package/src/iconography/Icons/index.tsx +2 -3
- package/src/index.ts +1 -0
- package/src/storybook-utils/components/CodeBlock/index.tsx +46 -0
- package/src/storybook-utils/components/CodeBlock/types.ts +6 -0
- package/src/storybook-utils/components/index.ts +12 -0
- package/src/storybook-utils/index.ts +8 -0
- package/src/styles/index.ts +1 -0
- package/src/styles/mixins/index.ts +1 -0
- package/src/styles/mixins/shadows/elevation-down-100.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-down-200.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-down-300.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-up-100.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-up-200.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-up-300.tsx +2 -0
- package/src/styles/mixins/shadows/index.ts +6 -0
- package/dist/README.md +0 -57
- package/dist/commonjs/components/Avatar/enums/index.js.map +0 -1
- package/dist/commonjs/components/Avatar/enums/size.js +0 -15
- package/dist/commonjs/components/Avatar/enums/size.js.map +0 -1
- package/dist/commonjs/components/Chip/enums/chip-size.js +0 -12
- package/dist/commonjs/components/Chip/enums/chip-size.js.map +0 -1
- package/dist/commonjs/components/InputCheckbox/index.js.map +0 -1
- package/dist/commonjs/components/InputOTP/components/InformationStatus/index.js.map +0 -1
- package/dist/commonjs/components/InputOTP/enums/index.js +0 -15
- package/dist/commonjs/components/InputOTP/enums/index.js.map +0 -1
- package/dist/commonjs/components/InputOTP/index.js +0 -135
- package/dist/commonjs/components/InputOTP/index.js.map +0 -1
- package/dist/commonjs/hooks/index.js.map +0 -1
- package/dist/commonjs/hooks/use-fonts.js +0 -39
- package/dist/commonjs/hooks/use-fonts.js.map +0 -1
- package/dist/module/components/Avatar/enums/index.js +0 -4
- package/dist/module/components/Avatar/enums/index.js.map +0 -1
- package/dist/module/components/Avatar/enums/size.js +0 -11
- package/dist/module/components/Avatar/enums/size.js.map +0 -1
- package/dist/module/components/Chip/enums/chip-size.js +0 -8
- package/dist/module/components/Chip/enums/chip-size.js.map +0 -1
- package/dist/module/components/InputCheckbox/index.js.map +0 -1
- package/dist/module/components/InputOTP/components/InformationStatus/index.js.map +0 -1
- package/dist/module/components/InputOTP/enums/index.js +0 -11
- package/dist/module/components/InputOTP/enums/index.js.map +0 -1
- package/dist/module/components/InputOTP/index.js +0 -130
- package/dist/module/components/InputOTP/index.js.map +0 -1
- package/dist/module/hooks/index.js +0 -4
- package/dist/module/hooks/index.js.map +0 -1
- package/dist/module/hooks/use-fonts.js +0 -35
- package/dist/module/hooks/use-fonts.js.map +0 -1
- package/dist/package.json +0 -56
- package/dist/typescript/components/Avatar/enums/index.d.ts +0 -1
- package/dist/typescript/components/Chip/enums/chip-size.d.ts +0 -4
- package/dist/typescript/components/InputCheckbox/index.d.ts +0 -2
- package/dist/typescript/components/InputOTP/components/InformationStatus/types.d.ts +0 -6
- package/dist/typescript/components/InputOTP/enums/index.d.ts +0 -7
- package/dist/typescript/components/InputOTP/index.d.ts +0 -3
- package/dist/typescript/components/InputOTP/types.d.ts +0 -11
- package/dist/typescript/hooks/index.d.ts +0 -1
- package/dist/typescript/hooks/use-fonts.d.ts +0 -10
- package/index.js +0 -6
- package/src/components/Avatar/enums/index.ts +0 -1
- package/src/components/Avatar/index.stories.tsx +0 -84
- package/src/components/Button/index.stories.tsx +0 -407
- package/src/components/Chip/enums/chip-size.ts +0 -4
- package/src/components/Chip/index.stories.tsx +0 -95
- package/src/components/HighlightedText/index.stories.tsx +0 -209
- package/src/components/InformationStatus/index.stories.tsx +0 -112
- package/src/components/InputCheckbox/index.stories.tsx +0 -133
- package/src/components/InputOTP/components/InformationStatus/types.ts +0 -6
- package/src/components/InputOTP/index.stories.tsx +0 -256
- package/src/components/InputOTP/index.tsx +0 -177
- package/src/components/InputOTP/types.ts +0 -12
- package/src/components/LoadingDots/index.stories.tsx +0 -74
- package/src/components/Seal/index.stories.tsx +0 -124
- package/src/components/Title/index.stories.tsx +0 -729
- package/src/components/Toggle/index.stories.tsx +0 -88
- package/src/components/Typography/index.stories.tsx +0 -218
- package/src/hooks/index.ts +0 -1
- package/src/hooks/use-fonts.ts +0 -30
- package/src/iconography/Icons/index.stories.tsx +0 -23
- /package/dist/commonjs/components/{InputCheckbox → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
- /package/dist/commonjs/components/{InputOTP/components/InformationStatus → ChatBubble/components/ChatBubbleSeal}/types.js +0 -0
- /package/dist/commonjs/components/{InputOTP → ChatBubble/components/ChatBubbleText}/types.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
- /package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
- /package/dist/module/components/{InputOTP/components/InformationStatus → ChatBubble/components/ChatBubbleSeal}/types.js +0 -0
- /package/dist/module/components/{InputOTP → ChatBubble/components/ChatBubbleText}/types.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
- /package/dist/module/components/{InputOTP → OtpInput}/components/index.js +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.d.ts +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/index.d.ts +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/select-variant.d.ts +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/index.d.ts +0 -0
- /package/dist/typescript/components/{InputOTP → OtpInput}/components/index.d.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/enums/index.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/enums/select-variant.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.tsx +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.tsx +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/icons/index.ts +0 -0
- /package/src/components/{InputOTP → OtpInput}/components/index.ts +0 -0
package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/index.js
RENAMED
|
@@ -16,24 +16,25 @@ var _reactNative = require("react-native");
|
|
|
16
16
|
var _index5 = require("../../../Chip/enums/index.js");
|
|
17
17
|
var _index6 = require("../../../Seal/enums/index.js");
|
|
18
18
|
var _index7 = require("../../enums/index.js");
|
|
19
|
+
var _index8 = require("../../../../enums/index.js");
|
|
19
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
21
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
21
22
|
function InformationStatus(props) {
|
|
22
23
|
const {
|
|
23
|
-
status = _index7.
|
|
24
|
+
status = _index7.OTPInputInformationStatusEnum.DEFAULT,
|
|
24
25
|
disabled = false,
|
|
25
26
|
onPress
|
|
26
27
|
} = props;
|
|
27
28
|
const renderInformation = (0, _react.useMemo)(() => {
|
|
28
29
|
const textStyle = (0, _tailwindPreset.merge)("", disabled && "opacity-50");
|
|
29
|
-
if (status === _index7.
|
|
30
|
+
if (status === _index7.OTPInputInformationStatusEnum.DEFAULT) {
|
|
30
31
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
31
32
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Button, {
|
|
32
33
|
variant: "outline",
|
|
33
|
-
corners:
|
|
34
|
+
corners: _index8.CornersEnum.MEDIUM,
|
|
34
35
|
disabled: disabled,
|
|
35
36
|
onPress: onPress,
|
|
36
|
-
size:
|
|
37
|
+
size: _index8.SizeEnum.SMALL,
|
|
37
38
|
children: "Reenviar c\xF3digo"
|
|
38
39
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.HighlightedText, {
|
|
39
40
|
highlightText: "Pronto,",
|
|
@@ -43,7 +44,7 @@ function InformationStatus(props) {
|
|
|
43
44
|
})]
|
|
44
45
|
});
|
|
45
46
|
}
|
|
46
|
-
if (status === _index7.
|
|
47
|
+
if (status === _index7.OTPInputInformationStatusEnum.LOADING) {
|
|
47
48
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
48
49
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
49
50
|
variant: "dark"
|
|
@@ -55,28 +56,30 @@ function InformationStatus(props) {
|
|
|
55
56
|
})]
|
|
56
57
|
});
|
|
57
58
|
}
|
|
58
|
-
if (status === _index7.
|
|
59
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
sealVariant: _index6.SealVariantEnum.SUCCESS,
|
|
63
|
-
label: "Confirmado"
|
|
64
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.HighlightedText, {
|
|
59
|
+
if (status === _index7.OTPInputInformationStatusEnum.SUCCESS) {
|
|
60
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
61
|
+
className: "flex flex-col mt-600 gap-600 items-center",
|
|
62
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.HighlightedText, {
|
|
65
63
|
highlightText: "C\xF3digo validado",
|
|
66
64
|
text: "com sucesso.",
|
|
67
65
|
reverse: true,
|
|
68
66
|
className: textStyle
|
|
67
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.Chip, {
|
|
68
|
+
variant: _index5.ChipVariantEnum.OUTLINE,
|
|
69
|
+
sealVariant: _index6.SealVariantEnum.SUCCESS,
|
|
70
|
+
label: "Confirmado",
|
|
71
|
+
className: "max-w-fit"
|
|
69
72
|
})]
|
|
70
73
|
});
|
|
71
74
|
}
|
|
72
|
-
if (status === _index7.
|
|
75
|
+
if (status === _index7.OTPInputInformationStatusEnum.ERROR) {
|
|
73
76
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
74
77
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Button, {
|
|
75
78
|
variant: "outline",
|
|
76
|
-
corners:
|
|
79
|
+
corners: _index8.CornersEnum.MEDIUM,
|
|
77
80
|
disabled: disabled,
|
|
78
81
|
onPress: onPress,
|
|
79
|
-
size:
|
|
82
|
+
size: _index8.SizeEnum.SMALL,
|
|
80
83
|
children: "Reenviar c\xF3digo"
|
|
81
84
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
82
85
|
className: disabled ? "opacity-50" : "",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Object","defineProperty","exports","value","InformationStatus","default","_react","require","_tailwindPreset","_index","_index2","_index3","_interopRequireDefault","_index4","_reactNative","_index5","_index6","_index7","_index8","_jsxRuntime","e","__esModule","props","status","OTPInputInformationStatusEnum","DEFAULT","disabled","onPress","renderInformation","useMemo","textStyle","merge","jsxs","Fragment","children","jsx","Button","variant","corners","CornersEnum","MEDIUM","size","SizeEnum","SMALL","HighlightedText","highlightText","text","reverse","className","LOADING","SUCCESS","View","Chip","ChipVariantEnum","OUTLINE","sealVariant","SealVariantEnum","label","ERROR","Text","_default"],"sourceRoot":"../../../../../../src","sources":["components/OtpInput/components/InformationStatus/index.tsx"],"mappings":"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","ignoreList":[]}
|
package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/types.js.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/OtpInput/components/InformationStatus/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["components/
|
|
1
|
+
{"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["components/OtpInput/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,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.OTPInputInformationStatusEnum = void 0;
|
|
7
|
+
let OTPInputInformationStatusEnum = exports.OTPInputInformationStatusEnum = /*#__PURE__*/function (OTPInputInformationStatusEnum) {
|
|
8
|
+
OTPInputInformationStatusEnum["DEFAULT"] = "default";
|
|
9
|
+
OTPInputInformationStatusEnum["ERROR"] = "error";
|
|
10
|
+
OTPInputInformationStatusEnum["SUCCESS"] = "success";
|
|
11
|
+
OTPInputInformationStatusEnum["LOADING"] = "loading";
|
|
12
|
+
return OTPInputInformationStatusEnum;
|
|
13
|
+
}({});
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["OTPInputInformationStatusEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/OtpInput/enums/index.ts"],"mappings":";;;;;;IAAYA,6BAA6B,GAAAC,OAAA,CAAAD,6BAAA,0BAA7BA,6BAA6B;EAA7BA,6BAA6B;EAA7BA,6BAA6B;EAA7BA,6BAA6B;EAA7BA,6BAA6B;EAAA,OAA7BA,6BAA6B;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.OtpInput = OtpInput;
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
var _index = require("./enums/index.js");
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
var _tailwindPreset = require("@kivid/tailwind-preset");
|
|
12
|
+
var _classVariant = require("./assets/class-variant.js");
|
|
13
|
+
var _index2 = require("./components/index.js");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function OtpInput(props) {
|
|
16
|
+
const {
|
|
17
|
+
status = _index.OTPInputInformationStatusEnum.DEFAULT,
|
|
18
|
+
length = 6,
|
|
19
|
+
customInformation,
|
|
20
|
+
rounded = false,
|
|
21
|
+
disabled = false,
|
|
22
|
+
inputClassName,
|
|
23
|
+
onChange,
|
|
24
|
+
onPressRetryToken
|
|
25
|
+
} = props;
|
|
26
|
+
const hasError = status === _index.OTPInputInformationStatusEnum.ERROR;
|
|
27
|
+
const [code, setCode] = (0, _react.useState)('');
|
|
28
|
+
const textInputRef = (0, _react.useRef)(null);
|
|
29
|
+
const codeDigitsArray = new Array(length).fill(0);
|
|
30
|
+
const inputStyle = (0, _tailwindPreset.merge)((0, _classVariant.inputVariants)({
|
|
31
|
+
rounded,
|
|
32
|
+
hasError,
|
|
33
|
+
disabled
|
|
34
|
+
}), inputClassName);
|
|
35
|
+
const [inputContainerIsFocused, setInputContainerIsFocused] = (0, _react.useState)(false);
|
|
36
|
+
function handleOnPress() {
|
|
37
|
+
setInputContainerIsFocused(true);
|
|
38
|
+
textInputRef.current?.focus();
|
|
39
|
+
}
|
|
40
|
+
function handleOnBlur() {
|
|
41
|
+
setInputContainerIsFocused(false);
|
|
42
|
+
}
|
|
43
|
+
function handleChangeText(text) {
|
|
44
|
+
const textInputQuantity = text.replace(/\s+/g, '').slice(0, length);
|
|
45
|
+
setCode(textInputQuantity);
|
|
46
|
+
if (textInputQuantity.length === length) {
|
|
47
|
+
onChange?.(textInputQuantity);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function handleInformationStatusOnPress() {
|
|
51
|
+
if (code.length === length) {
|
|
52
|
+
onPressRetryToken?.(code);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function renderInformationStatus() {
|
|
56
|
+
if (customInformation) {
|
|
57
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
58
|
+
children: customInformation
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.InformationStatus, {
|
|
62
|
+
status: status,
|
|
63
|
+
onPress: handleInformationStatusOnPress
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function renderDigit(_value, index) {
|
|
67
|
+
const isCurrentDigit = index === code.length;
|
|
68
|
+
const isLastDigit = index === length - 1;
|
|
69
|
+
const isCodeFull = code.length === length;
|
|
70
|
+
const isDigitFocused = isCurrentDigit && inputContainerIsFocused || isLastDigit && isCodeFull && inputContainerIsFocused;
|
|
71
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
72
|
+
className: inputStyle,
|
|
73
|
+
style: {
|
|
74
|
+
...(isDigitFocused ? {
|
|
75
|
+
borderColor: '#98A3A3'
|
|
76
|
+
} : {}),
|
|
77
|
+
...(code[index] ? {} : {
|
|
78
|
+
color: '#98A3A3'
|
|
79
|
+
})
|
|
80
|
+
},
|
|
81
|
+
children: code[index] ?? "•"
|
|
82
|
+
}, index);
|
|
83
|
+
}
|
|
84
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
85
|
+
className: "flex-col gap-300 max-w-[280px] items-center justify-between",
|
|
86
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
87
|
+
className: "w-full flex-row justify-around gap-400",
|
|
88
|
+
children: codeDigitsArray.map(renderDigit)
|
|
89
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
90
|
+
className: "w-full h-1000 absolute text-transparent",
|
|
91
|
+
value: code,
|
|
92
|
+
onChangeText: handleChangeText,
|
|
93
|
+
maxLength: length,
|
|
94
|
+
editable: !disabled,
|
|
95
|
+
returnKeyType: "done",
|
|
96
|
+
textContentType: "oneTimeCode",
|
|
97
|
+
ref: textInputRef,
|
|
98
|
+
onBlur: handleOnBlur,
|
|
99
|
+
onPress: handleOnPress,
|
|
100
|
+
caretHidden: true,
|
|
101
|
+
autoComplete: _reactNative.Platform.OS === "android" ? "sms-otp" : "one-time-code"
|
|
102
|
+
}), renderInformationStatus()]
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
var _default = exports.default = OtpInput;
|
|
106
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_index","_reactNative","_tailwindPreset","_classVariant","_index2","_jsxRuntime","OtpInput","props","status","OTPInputInformationStatusEnum","DEFAULT","length","customInformation","rounded","disabled","inputClassName","onChange","onPressRetryToken","hasError","ERROR","code","setCode","useState","textInputRef","useRef","codeDigitsArray","Array","fill","inputStyle","merge","inputVariants","inputContainerIsFocused","setInputContainerIsFocused","handleOnPress","current","focus","handleOnBlur","handleChangeText","text","textInputQuantity","replace","slice","handleInformationStatusOnPress","renderInformationStatus","jsx","Fragment","children","InformationStatus","onPress","renderDigit","_value","index","isCurrentDigit","isLastDigit","isCodeFull","isDigitFocused","Text","className","style","borderColor","color","jsxs","View","map","TextInput","value","onChangeText","maxLength","editable","returnKeyType","textContentType","ref","onBlur","caretHidden","autoComplete","Platform","OS","_default","exports","default"],"sourceRoot":"../../../../src","sources":["components/OtpInput/index.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/OtpInput/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.radioInputVariants = void 0;
|
|
7
|
+
var _classVarianceAuthority = require("class-variance-authority");
|
|
8
|
+
var _index = require("../enums/index.js");
|
|
9
|
+
const radioInputVariants = exports.radioInputVariants = (0, _classVarianceAuthority.cva)("w-[20px] h-[20px] rounded-full border-200 flex items-center justify-center", {
|
|
10
|
+
variants: {
|
|
11
|
+
variant: {
|
|
12
|
+
[_index.RadioInputVariantEnum.GRAPE]: ["bg-chia-200 border-chia-400"],
|
|
13
|
+
[_index.RadioInputVariantEnum.JAVA]: ["bg-chia-200 border-chia-400"],
|
|
14
|
+
[_index.RadioInputVariantEnum.PEAR]: ["bg-chia-200 border-chia-400"],
|
|
15
|
+
[_index.RadioInputVariantEnum.TANGERINE]: ["bg-chia-200 border-chia-400"],
|
|
16
|
+
[_index.RadioInputVariantEnum.CHIA]: ["bg-chia-200 border-chia-400"],
|
|
17
|
+
[_index.RadioInputVariantEnum.PITAYA]: ["bg-chia-200 border-chia-400"],
|
|
18
|
+
[_index.RadioInputVariantEnum.MANGO]: ["bg-chia-200 border-chia-400"]
|
|
19
|
+
},
|
|
20
|
+
isSelected: {
|
|
21
|
+
true: null,
|
|
22
|
+
false: "bg-chia-100 border-chia-400"
|
|
23
|
+
},
|
|
24
|
+
disabled: {
|
|
25
|
+
true: "opacity-50 cursor-not-allowed",
|
|
26
|
+
false: "cursor-pointer"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
compoundVariants: [{
|
|
30
|
+
variant: _index.RadioInputVariantEnum.GRAPE,
|
|
31
|
+
isSelected: true,
|
|
32
|
+
class: "bg-grape-500 border-grape-500"
|
|
33
|
+
}, {
|
|
34
|
+
variant: _index.RadioInputVariantEnum.JAVA,
|
|
35
|
+
isSelected: true,
|
|
36
|
+
class: "bg-java-500 border-java-500"
|
|
37
|
+
}, {
|
|
38
|
+
variant: _index.RadioInputVariantEnum.PEAR,
|
|
39
|
+
isSelected: true,
|
|
40
|
+
class: "bg-pear-500 border-pear-500"
|
|
41
|
+
}, {
|
|
42
|
+
variant: _index.RadioInputVariantEnum.TANGERINE,
|
|
43
|
+
isSelected: true,
|
|
44
|
+
class: "bg-tangerine-500 border-tangerine-500"
|
|
45
|
+
}, {
|
|
46
|
+
variant: _index.RadioInputVariantEnum.CHIA,
|
|
47
|
+
isSelected: true,
|
|
48
|
+
class: "bg-chia-600 border-chia-600"
|
|
49
|
+
}, {
|
|
50
|
+
variant: _index.RadioInputVariantEnum.PITAYA,
|
|
51
|
+
isSelected: true,
|
|
52
|
+
class: "bg-pitaya-500 border-pitaya-500"
|
|
53
|
+
}, {
|
|
54
|
+
variant: _index.RadioInputVariantEnum.MANGO,
|
|
55
|
+
isSelected: true,
|
|
56
|
+
class: "bg-mango-500 border-mango-500"
|
|
57
|
+
},
|
|
58
|
+
// Compound variants para disabled + selected para manter cores mais claras apenas quando selecionado
|
|
59
|
+
{
|
|
60
|
+
variant: _index.RadioInputVariantEnum.GRAPE,
|
|
61
|
+
isSelected: true,
|
|
62
|
+
disabled: true,
|
|
63
|
+
class: "bg-grape-300 border-grape-300"
|
|
64
|
+
}, {
|
|
65
|
+
variant: _index.RadioInputVariantEnum.JAVA,
|
|
66
|
+
isSelected: true,
|
|
67
|
+
disabled: true,
|
|
68
|
+
class: "bg-java-300 border-java-300"
|
|
69
|
+
}, {
|
|
70
|
+
variant: _index.RadioInputVariantEnum.PEAR,
|
|
71
|
+
isSelected: true,
|
|
72
|
+
disabled: true,
|
|
73
|
+
class: "bg-pear-300 border-pear-300"
|
|
74
|
+
}, {
|
|
75
|
+
variant: _index.RadioInputVariantEnum.TANGERINE,
|
|
76
|
+
isSelected: true,
|
|
77
|
+
disabled: true,
|
|
78
|
+
class: "bg-tangerine-300 border-tangerine-300"
|
|
79
|
+
}, {
|
|
80
|
+
variant: _index.RadioInputVariantEnum.CHIA,
|
|
81
|
+
isSelected: true,
|
|
82
|
+
disabled: true,
|
|
83
|
+
class: "bg-chia-300 border-chia-300"
|
|
84
|
+
}, {
|
|
85
|
+
variant: _index.RadioInputVariantEnum.PITAYA,
|
|
86
|
+
isSelected: true,
|
|
87
|
+
disabled: true,
|
|
88
|
+
class: "bg-pitaya-300 border-pitaya-300"
|
|
89
|
+
}, {
|
|
90
|
+
variant: _index.RadioInputVariantEnum.MANGO,
|
|
91
|
+
isSelected: true,
|
|
92
|
+
disabled: true,
|
|
93
|
+
class: "bg-mango-300 border-mango-300"
|
|
94
|
+
}],
|
|
95
|
+
defaultVariants: {
|
|
96
|
+
variant: _index.RadioInputVariantEnum.JAVA,
|
|
97
|
+
isSelected: false,
|
|
98
|
+
disabled: false
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
//# sourceMappingURL=class-variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_classVarianceAuthority","require","_index","radioInputVariants","exports","cva","variants","variant","RadioInputVariantEnum","GRAPE","JAVA","PEAR","TANGERINE","CHIA","PITAYA","MANGO","isSelected","true","false","disabled","compoundVariants","class","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/RadioInput/assets/class-variants.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.RadioInputVariantEnum = void 0;
|
|
7
|
+
let RadioInputVariantEnum = exports.RadioInputVariantEnum = /*#__PURE__*/function (RadioInputVariantEnum) {
|
|
8
|
+
RadioInputVariantEnum["GRAPE"] = "grape";
|
|
9
|
+
RadioInputVariantEnum["JAVA"] = "java";
|
|
10
|
+
RadioInputVariantEnum["PEAR"] = "pear";
|
|
11
|
+
RadioInputVariantEnum["TANGERINE"] = "tangerine";
|
|
12
|
+
RadioInputVariantEnum["CHIA"] = "chia";
|
|
13
|
+
RadioInputVariantEnum["PITAYA"] = "pitaya";
|
|
14
|
+
RadioInputVariantEnum["MANGO"] = "mango";
|
|
15
|
+
return RadioInputVariantEnum;
|
|
16
|
+
}({});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["RadioInputVariantEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/RadioInput/enums/index.ts"],"mappings":";;;;;;IAAYA,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,0BAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.RadioInput = RadioInput;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _index = require("./enums/index.js");
|
|
9
|
+
var _classVariants = require("./assets/class-variants.js");
|
|
10
|
+
var _tailwindPreset = require("@kivid/tailwind-preset");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function RadioInput(props) {
|
|
13
|
+
const {
|
|
14
|
+
isSelected = false,
|
|
15
|
+
variant = _index.RadioInputVariantEnum.JAVA,
|
|
16
|
+
onChange,
|
|
17
|
+
disabled = false,
|
|
18
|
+
className
|
|
19
|
+
} = props;
|
|
20
|
+
function handleChange() {
|
|
21
|
+
onChange?.(!isSelected);
|
|
22
|
+
}
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
24
|
+
onPress: handleChange,
|
|
25
|
+
disabled: disabled,
|
|
26
|
+
accessible: true,
|
|
27
|
+
accessibilityRole: "radio",
|
|
28
|
+
accessibilityState: {
|
|
29
|
+
checked: isSelected
|
|
30
|
+
},
|
|
31
|
+
className: (0, _tailwindPreset.merge)((0, _classVariants.radioInputVariants)({
|
|
32
|
+
variant,
|
|
33
|
+
isSelected,
|
|
34
|
+
disabled
|
|
35
|
+
}), className),
|
|
36
|
+
children: isSelected && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
37
|
+
className: "w-400 h-400 rounded-full bg-white"
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_index","_classVariants","_tailwindPreset","_jsxRuntime","RadioInput","props","isSelected","variant","RadioInputVariantEnum","JAVA","onChange","disabled","className","handleChange","jsx","TouchableOpacity","onPress","accessible","accessibilityRole","accessibilityState","checked","merge","radioInputVariants","children","View"],"sourceRoot":"../../../../src","sources":["components/RadioInput/index.tsx"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AAA+C,IAAAI,WAAA,GAAAJ,OAAA;AAExC,SAASK,UAAUA,CAACC,KAAsB,EAAE;EACjD,MAAM;IACJC,UAAU,GAAG,KAAK;IAClBC,OAAO,GAAGC,4BAAqB,CAACC,IAAI;IACpCC,QAAQ;IACRC,QAAQ,GAAG,KAAK;IAChBC;EACF,CAAC,GAAGP,KAAK;EAET,SAASQ,YAAYA,CAAA,EAAG;IACtBH,QAAQ,GAAG,CAACJ,UAAU,CAAC;EACzB;EAEA,oBACE,IAAAH,WAAA,CAAAW,GAAA,EAAChB,YAAA,CAAAiB,gBAAgB;IACfC,OAAO,EAAEH,YAAa;IACtBF,QAAQ,EAAEA,QAAS;IACnBM,UAAU;IACVC,iBAAiB,EAAC,OAAO;IACzBC,kBAAkB,EAAE;MAAEC,OAAO,EAAEd;IAAW,CAAE;IAC5CM,SAAS,EAAE,IAAAS,qBAAK,EACd,IAAAC,iCAAkB,EAAC;MAAEf,OAAO;MAAED,UAAU;MAAEK;IAAS,CAAC,CAAC,EACrDC,SACF,CAAE;IAAAW,QAAA,EAEDjB,UAAU,iBAAI,IAAAH,WAAA,CAAAW,GAAA,EAAChB,YAAA,CAAA0B,IAAI;MAACZ,SAAS,EAAC;IAAmC,CAAE;EAAC,CACrD,CAAC;AAEvB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/RadioInput/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -5,11 +5,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.sealVariants = void 0;
|
|
7
7
|
var _classVarianceAuthority = require("class-variance-authority");
|
|
8
|
+
var _index = require("../../../enums/index.js");
|
|
8
9
|
const sealVariants = exports.sealVariants = (0, _classVarianceAuthority.cva)("flex items-center justify-center transition ease-in-out pointer-events-none w-fit stroke-none", {
|
|
9
10
|
variants: {
|
|
10
11
|
size: {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
[_index.SizeEnum.SMALL]: "w-600 h-600 rounded-300",
|
|
13
|
+
[_index.SizeEnum.MEDIUM]: "w-700 h-700 rounded-500"
|
|
13
14
|
},
|
|
14
15
|
variant: {
|
|
15
16
|
add: "bg-grape-500",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_classVarianceAuthority","require","sealVariants","exports","cva","variants","size","
|
|
1
|
+
{"version":3,"names":["_classVarianceAuthority","require","_index","sealVariants","exports","cva","variants","size","SizeEnum","SMALL","MEDIUM","variant","add","success","error","alert","minus","right","left","inverted","true","false","compoundVariants","className","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/Seal/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEO,MAAME,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,IAAAE,2BAAG,EAC7B,+FAA+F,EAC/F;EACEC,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJ,CAACC,eAAQ,CAACC,KAAK,GAAG,yBAAyB;MAC3C,CAACD,eAAQ,CAACE,MAAM,GAAG;IACrB,CAAC;IACDC,OAAO,EAAE;MACPC,GAAG,EAAE,cAAc;MACnBC,OAAO,EAAE,aAAa;MACtBC,KAAK,EAAE,mBAAmB;MAC1BC,KAAK,EAAE,kBAAkB;MACzBC,KAAK,EAAE,aAAa;MACpBC,KAAK,EAAE,aAAa;MACpBC,IAAI,EAAE;IACR,CAAC;IACDC,QAAQ,EAAE;MACRC,IAAI,EAAE,EAAE;MACRC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,gBAAgB,EAAE,CAChB;IACEH,QAAQ,EAAE,KAAK;IACfI,SAAS,EAAE;EACb,CAAC,EACD;IACEJ,QAAQ,EAAE,IAAI;IACdR,OAAO,EAAE,KAAK;IACdY,SAAS,EAAE;EACb,CAAC,EACD;IACEJ,QAAQ,EAAE,IAAI;IACdR,OAAO,EAAE,SAAS;IAClBY,SAAS,EAAE;EACb,CAAC,EACD;IACEJ,QAAQ,EAAE,IAAI;IACdR,OAAO,EAAE,OAAO;IAChBY,SAAS,EAAE;EACb,CAAC,EACD;IACEJ,QAAQ,EAAE,IAAI;IACdR,OAAO,EAAE,OAAO;IAChBY,SAAS,EAAE;EACb,CAAC,EACD;IACEJ,QAAQ,EAAE,IAAI;IACdR,OAAO,EAAE,OAAO;IAChBY,SAAS,EAAE;EACb,CAAC,EACD;IACEJ,QAAQ,EAAE,IAAI;IACdR,OAAO,EAAE,OAAO;IAChBY,SAAS,EAAE;EACb,CAAC,EACD;IACEJ,QAAQ,EAAE,IAAI;IACdR,OAAO,EAAE,MAAM;IACfY,SAAS,EAAE;EACb,CAAC,CACF;EACDC,eAAe,EAAE;IACfL,QAAQ,EAAE;EACZ;AACF,CACF,CAAC","ignoreList":[]}
|
|
@@ -5,14 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.AddIcon = void 0;
|
|
7
7
|
var _reactNativeSvg = require("react-native-svg");
|
|
8
|
+
var _index = require("../../../../enums/index.js");
|
|
8
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
10
|
const AddIcon = ({
|
|
10
|
-
size =
|
|
11
|
+
size = _index.SizeEnum.MEDIUM,
|
|
11
12
|
...props
|
|
12
13
|
}) => {
|
|
13
14
|
const sizes = {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
[_index.SizeEnum.SMALL]: 16,
|
|
16
|
+
[_index.SizeEnum.MEDIUM]: 24
|
|
16
17
|
};
|
|
17
18
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Svg, {
|
|
18
19
|
width: sizes[size],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeSvg","require","_jsxRuntime","AddIcon","size","
|
|
1
|
+
{"version":3,"names":["_reactNativeSvg","require","_index","_jsxRuntime","AddIcon","size","SizeEnum","MEDIUM","props","sizes","SMALL","jsx","Svg","width","height","viewBox","fill","children","Path","fillRule","clipRule","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/Seal/components/AddIcon/index.tsx"],"mappings":";;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAA6C,IAAAE,WAAA,GAAAF,OAAA;AAEtC,MAAMG,OAAO,GAAGA,CAAC;EACtBC,IAAI,GAAGC,eAAQ,CAACC,MAAM;EACtB,GAAGC;AACU,CAAC,KAAK;EACnB,MAAMC,KAAK,GAAG;IACZ,CAACH,eAAQ,CAACI,KAAK,GAAG,EAAE;IACpB,CAACJ,eAAQ,CAACC,MAAM,GAAG;EACrB,CAAC;EAED,oBACE,IAAAJ,WAAA,CAAAQ,GAAA,EAACX,eAAA,CAAAY,GAAG;IACFC,KAAK,EAAEJ,KAAK,CAACJ,IAAI,CAAE;IACnBS,MAAM,EAAEL,KAAK,CAACJ,IAAI,CAAE;IACpBU,OAAO,EAAC,WAAW;IACnBC,IAAI,EAAC,MAAM;IAAA,GACPR,KAAK;IAAAS,QAAA,eAET,IAAAd,WAAA,CAAAQ,GAAA,EAACX,eAAA,CAAAkB,IAAI;MACHC,QAAQ,EAAC,SAAS;MAClBC,QAAQ,EAAC,SAAS;MAClBC,CAAC,EAAC,6UAA6U;MAC/UL,IAAI,EAAC;IAAc,CACpB;EAAC,CACC,CAAC;AAEV,CAAC;AAACM,OAAA,CAAAlB,OAAA,GAAAA,OAAA","ignoreList":[]}
|
|
@@ -5,14 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.AlertIcon = void 0;
|
|
7
7
|
var _reactNativeSvg = require("react-native-svg");
|
|
8
|
+
var _index = require("../../../../enums/index.js");
|
|
8
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
10
|
const AlertIcon = ({
|
|
10
|
-
size =
|
|
11
|
+
size = _index.SizeEnum.MEDIUM,
|
|
11
12
|
...props
|
|
12
13
|
}) => {
|
|
13
14
|
const sizes = {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
[_index.SizeEnum.SMALL]: 16,
|
|
16
|
+
[_index.SizeEnum.MEDIUM]: 24
|
|
16
17
|
};
|
|
17
18
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Svg, {
|
|
18
19
|
width: sizes[size],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeSvg","require","_jsxRuntime","AlertIcon","size","
|
|
1
|
+
{"version":3,"names":["_reactNativeSvg","require","_index","_jsxRuntime","AlertIcon","size","SizeEnum","MEDIUM","props","sizes","SMALL","jsx","Svg","width","height","viewBox","fill","children","Path","fillRule","clipRule","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/Seal/components/AlertIcon/index.tsx"],"mappings":";;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAA6C,IAAAE,WAAA,GAAAF,OAAA;AAEtC,MAAMG,SAAS,GAAGA,CAAC;EACxBC,IAAI,GAAGC,eAAQ,CAACC,MAAM;EACtB,GAAGC;AACU,CAAC,KAAK;EACnB,MAAMC,KAAK,GAAG;IACZ,CAACH,eAAQ,CAACI,KAAK,GAAG,EAAE;IACpB,CAACJ,eAAQ,CAACC,MAAM,GAAG;EACrB,CAAC;EAED,oBACE,IAAAJ,WAAA,CAAAQ,GAAA,EAACX,eAAA,CAAAY,GAAG;IACFC,KAAK,EAAEJ,KAAK,CAACJ,IAAI,CAAE;IACnBS,MAAM,EAAEL,KAAK,CAACJ,IAAI,CAAE;IACpBU,OAAO,EAAC,WAAW;IACnBC,IAAI,EAAC,MAAM;IAAA,GACPR,KAAK;IAAAS,QAAA,eAET,IAAAd,WAAA,CAAAQ,GAAA,EAACX,eAAA,CAAAkB,IAAI;MACHC,QAAQ,EAAC,SAAS;MAClBC,QAAQ,EAAC,SAAS;MAClBC,CAAC,EAAC,iXAAiX;MACnXL,IAAI,EAAC;IAAc,CACpB;EAAC,CACC,CAAC;AAEV,CAAC;AAACM,OAAA,CAAAlB,SAAA,GAAAA,SAAA","ignoreList":[]}
|
|
@@ -5,14 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.ErrorIcon = void 0;
|
|
7
7
|
var _reactNativeSvg = require("react-native-svg");
|
|
8
|
+
var _index = require("../../../../enums/index.js");
|
|
8
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
10
|
const ErrorIcon = ({
|
|
10
|
-
size =
|
|
11
|
+
size = _index.SizeEnum.MEDIUM,
|
|
11
12
|
...props
|
|
12
13
|
}) => {
|
|
13
14
|
const sizes = {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
[_index.SizeEnum.SMALL]: 16,
|
|
16
|
+
[_index.SizeEnum.MEDIUM]: 24
|
|
16
17
|
};
|
|
17
18
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Svg, {
|
|
18
19
|
width: sizes[size],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeSvg","require","_jsxRuntime","ErrorIcon","size","
|
|
1
|
+
{"version":3,"names":["_reactNativeSvg","require","_index","_jsxRuntime","ErrorIcon","size","SizeEnum","MEDIUM","props","sizes","SMALL","jsx","Svg","width","height","viewBox","fill","children","Path","fillRule","clipRule","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/Seal/components/ErrorIcon/index.tsx"],"mappings":";;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAA6C,IAAAE,WAAA,GAAAF,OAAA;AAEtC,MAAMG,SAAS,GAAGA,CAAC;EACxBC,IAAI,GAAGC,eAAQ,CAACC,MAAM;EACtB,GAAGC;AACU,CAAC,KAAK;EACnB,MAAMC,KAAK,GAAG;IACZ,CAACH,eAAQ,CAACI,KAAK,GAAG,EAAE;IACpB,CAACJ,eAAQ,CAACC,MAAM,GAAG;EACrB,CAAC;EAED,oBACE,IAAAJ,WAAA,CAAAQ,GAAA,EAACX,eAAA,CAAAY,GAAG;IACFC,KAAK,EAAEJ,KAAK,CAACJ,IAAI,CAAE;IACnBS,MAAM,EAAEL,KAAK,CAACJ,IAAI,CAAE;IACpBU,OAAO,EAAC,WAAW;IACnBC,IAAI,EAAC,MAAM;IAAA,GACPR,KAAK;IAAAS,QAAA,eAET,IAAAd,WAAA,CAAAQ,GAAA,EAACX,eAAA,CAAAkB,IAAI;MACHC,QAAQ,EAAC,SAAS;MAClBC,QAAQ,EAAC,SAAS;MAClBC,CAAC,EAAC,ufAAuf;MACzfL,IAAI,EAAC;IAAc,CACpB;EAAC,CACC,CAAC;AAEV,CAAC;AAACM,OAAA,CAAAlB,SAAA,GAAAA,SAAA","ignoreList":[]}
|
|
@@ -5,14 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.LeftIcon = void 0;
|
|
7
7
|
var _reactNativeSvg = require("react-native-svg");
|
|
8
|
+
var _index = require("../../../../enums/index.js");
|
|
8
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
10
|
const LeftIcon = ({
|
|
10
|
-
size =
|
|
11
|
+
size = _index.SizeEnum.MEDIUM,
|
|
11
12
|
...props
|
|
12
13
|
}) => {
|
|
13
14
|
const sizes = {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
[_index.SizeEnum.SMALL]: 16,
|
|
16
|
+
[_index.SizeEnum.MEDIUM]: 24
|
|
16
17
|
};
|
|
17
18
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Svg, {
|
|
18
19
|
width: sizes[size],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeSvg","require","_jsxRuntime","LeftIcon","size","
|
|
1
|
+
{"version":3,"names":["_reactNativeSvg","require","_index","_jsxRuntime","LeftIcon","size","SizeEnum","MEDIUM","props","sizes","SMALL","jsx","Svg","width","height","viewBox","fill","children","Path","fillRule","clipRule","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/Seal/components/LeftIcon/index.tsx"],"mappings":";;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAA6C,IAAAE,WAAA,GAAAF,OAAA;AAEtC,MAAMG,QAAQ,GAAGA,CAAC;EACvBC,IAAI,GAAGC,eAAQ,CAACC,MAAM;EACtB,GAAGC;AACU,CAAC,KAAK;EACnB,MAAMC,KAAK,GAAG;IACZ,CAACH,eAAQ,CAACI,KAAK,GAAG,EAAE;IACpB,CAACJ,eAAQ,CAACC,MAAM,GAAG;EACrB,CAAC;EAED,oBACE,IAAAJ,WAAA,CAAAQ,GAAA,EAACX,eAAA,CAAAY,GAAG;IACFC,KAAK,EAAEJ,KAAK,CAACJ,IAAI,CAAE;IACnBS,MAAM,EAAEL,KAAK,CAACJ,IAAI,CAAE;IACpBU,OAAO,EAAC,WAAW;IACnBC,IAAI,EAAC,MAAM;IAAA,GACPR,KAAK;IAAAS,QAAA,eAET,IAAAd,WAAA,CAAAQ,GAAA,EAACX,eAAA,CAAAkB,IAAI;MACHC,QAAQ,EAAC,SAAS;MAClBC,QAAQ,EAAC,SAAS;MAClBC,CAAC,EAAC,gaAAga;MAClaL,IAAI,EAAC;IAAc,CACpB;EAAC,CACC,CAAC;AAEV,CAAC;AAACM,OAAA,CAAAlB,QAAA,GAAAA,QAAA","ignoreList":[]}
|
|
@@ -5,14 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.MinusIcon = void 0;
|
|
7
7
|
var _reactNativeSvg = require("react-native-svg");
|
|
8
|
+
var _index = require("../../../../enums/index.js");
|
|
8
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
10
|
const MinusIcon = ({
|
|
10
|
-
size =
|
|
11
|
+
size = _index.SizeEnum.MEDIUM,
|
|
11
12
|
...props
|
|
12
13
|
}) => {
|
|
13
14
|
const sizes = {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
[_index.SizeEnum.SMALL]: 16,
|
|
16
|
+
[_index.SizeEnum.MEDIUM]: 24
|
|
16
17
|
};
|
|
17
18
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Svg, {
|
|
18
19
|
width: sizes[size],
|