@kivid/native-components 1.0.0-alpha.2 → 1.0.0-alpha.20
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/ActionButton/assets/class-variants.js +47 -0
- package/dist/commonjs/components/ActionButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/ActionButton/index.js +120 -0
- package/dist/commonjs/components/ActionButton/index.js.map +1 -0
- package/dist/commonjs/components/ActionButton/types.js.map +1 -0
- package/dist/commonjs/components/Avatar/assets/class-variants.js +24 -0
- package/dist/commonjs/components/Avatar/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Avatar/images/girl.jpg +0 -0
- package/dist/commonjs/components/Avatar/index.js +116 -0
- package/dist/commonjs/components/Avatar/index.js.map +1 -0
- package/dist/commonjs/components/Avatar/types.js.map +1 -0
- package/dist/commonjs/components/Button/assets/class-variants.js +24 -13
- package/dist/commonjs/components/Button/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/Button/index.js +33 -26
- package/dist/commonjs/components/Button/index.js.map +1 -1
- package/dist/commonjs/components/ChatBubble/assets/class-variants.js +73 -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 +6 -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 +6 -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 +104 -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/assets/class-variants.js +2 -2
- package/dist/commonjs/components/Chip/assets/class-variants.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 +10 -5
- package/dist/commonjs/components/Chip/index.js.map +1 -1
- package/dist/commonjs/components/HighlightedText/index.js +20 -16
- package/dist/commonjs/components/HighlightedText/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 +107 -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/components/GradientAdd/index.js +115 -60
- package/dist/commonjs/components/InformationStatus/components/GradientAdd/index.js.map +1 -1
- package/dist/commonjs/components/InformationStatus/components/GradientAlert/index.js +117 -60
- package/dist/commonjs/components/InformationStatus/components/GradientAlert/index.js.map +1 -1
- package/dist/commonjs/components/InformationStatus/components/GradientCheck/index.js +113 -58
- package/dist/commonjs/components/InformationStatus/components/GradientCheck/index.js.map +1 -1
- package/dist/commonjs/components/InformationStatus/components/GradientClose/index.js +112 -55
- package/dist/commonjs/components/InformationStatus/components/GradientClose/index.js.map +1 -1
- package/dist/commonjs/components/InformationStatus/index.js +9 -13
- 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 +116 -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 +21 -18
- 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 +115 -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/PageIndicators/index.js +41 -0
- package/dist/commonjs/components/PageIndicators/index.js.map +1 -0
- package/dist/commonjs/components/PageIndicators/types.js +2 -0
- package/dist/commonjs/components/PageIndicators/types.js.map +1 -0
- package/dist/commonjs/components/PasswordInput/index.js +42 -0
- package/dist/commonjs/components/PasswordInput/index.js.map +1 -0
- package/dist/commonjs/components/PasswordInput/types.js +6 -0
- package/dist/{module/components/InputCheckbox → commonjs/components/PasswordInput}/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 +135 -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 +0 -9
- 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 +122 -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/Toggle/enums/variant.js +8 -8
- package/dist/commonjs/components/Toggle/enums/variant.js.map +1 -1
- package/dist/commonjs/components/Toggle/index.js +1 -1
- package/dist/commonjs/components/Toggle/index.js.map +1 -1
- 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 +59 -0
- package/dist/commonjs/components/Typography/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Typography/index.js +9 -5
- package/dist/commonjs/components/Typography/index.js.map +1 -1
- package/dist/commonjs/components/index.js +297 -11
- 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/font-weight.js +18 -0
- package/dist/commonjs/enums/font-weight.js.map +1 -0
- package/dist/commonjs/enums/index.js +50 -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/enums/state-variant.js +15 -0
- package/dist/commonjs/enums/state-variant.js.map +1 -0
- package/dist/commonjs/iconography/Icons/index.js +49 -15
- package/dist/commonjs/iconography/Icons/index.js.map +1 -1
- package/dist/commonjs/index.js +22 -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/styles/index.js +17 -0
- 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/ActionButton/assets/class-variants.js +43 -0
- package/dist/module/components/ActionButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/ActionButton/index.js +115 -0
- package/dist/module/components/ActionButton/index.js.map +1 -0
- package/dist/module/components/ActionButton/types.js.map +1 -0
- package/dist/module/components/Avatar/assets/class-variants.js +21 -0
- package/dist/module/components/Avatar/assets/class-variants.js.map +1 -0
- package/dist/module/components/Avatar/images/girl.jpg +0 -0
- package/dist/module/components/Avatar/index.js +111 -0
- package/dist/module/components/Avatar/index.js.map +1 -0
- package/dist/module/components/Avatar/types.js.map +1 -0
- package/dist/module/components/Button/assets/class-variants.js +24 -13
- package/dist/module/components/Button/assets/class-variants.js.map +1 -1
- package/dist/module/components/Button/index.js +34 -26
- package/dist/module/components/Button/index.js.map +1 -1
- package/dist/module/components/ChatBubble/assets/class-variants.js +69 -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 +4 -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 +4 -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 +101 -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/CheckboxInput/types.js.map +1 -0
- package/dist/module/components/Chip/assets/class-variants.js +2 -2
- package/dist/module/components/Chip/assets/class-variants.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 +11 -6
- package/dist/module/components/Chip/index.js.map +1 -1
- package/dist/module/components/HighlightedText/index.js +20 -16
- package/dist/module/components/HighlightedText/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 +102 -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/components/GradientAdd/index.js +113 -59
- package/dist/module/components/InformationStatus/components/GradientAdd/index.js.map +1 -1
- package/dist/module/components/InformationStatus/components/GradientAlert/index.js +116 -60
- package/dist/module/components/InformationStatus/components/GradientAlert/index.js.map +1 -1
- package/dist/module/components/InformationStatus/components/GradientCheck/index.js +113 -59
- package/dist/module/components/InformationStatus/components/GradientCheck/index.js.map +1 -1
- package/dist/module/components/InformationStatus/components/GradientClose/index.js +111 -55
- package/dist/module/components/InformationStatus/components/GradientClose/index.js.map +1 -1
- package/dist/module/components/InformationStatus/index.js +9 -13
- 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 +112 -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 +21 -18
- 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 +110 -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/PageIndicators/index.js +37 -0
- package/dist/module/components/PageIndicators/index.js.map +1 -0
- package/dist/module/components/PageIndicators/types.js +2 -0
- package/dist/module/components/PageIndicators/types.js.map +1 -0
- package/dist/module/components/PasswordInput/index.js +37 -0
- package/dist/module/components/PasswordInput/index.js.map +1 -0
- package/dist/module/components/PasswordInput/types.js +4 -0
- package/dist/module/components/PasswordInput/types.js.map +1 -0
- 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 +129 -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 +1 -8
- 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 +117 -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/Toggle/enums/variant.js +7 -7
- package/dist/module/components/Toggle/enums/variant.js.map +1 -1
- package/dist/module/components/Toggle/index.js +2 -2
- package/dist/module/components/Toggle/index.js.map +1 -1
- 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 +55 -0
- package/dist/module/components/Typography/assets/class-variants.js.map +1 -0
- package/dist/module/components/Typography/index.js +9 -5
- package/dist/module/components/Typography/index.js.map +1 -1
- package/dist/module/components/index.js +28 -2
- 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/font-weight.js +14 -0
- package/dist/module/enums/font-weight.js.map +1 -0
- package/dist/module/enums/index.js +7 -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/enums/state-variant.js +11 -0
- package/dist/module/enums/state-variant.js.map +1 -0
- package/dist/module/iconography/Icons/index.js +50 -16
- package/dist/module/iconography/Icons/index.js.map +1 -1
- package/dist/module/index.js +2 -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/ActionButton/assets/class-variants.d.ts +8 -0
- package/dist/typescript/components/ActionButton/index.d.ts +6 -0
- package/dist/typescript/components/ActionButton/types.d.ts +61 -0
- package/dist/typescript/components/Avatar/assets/class-variants.d.ts +5 -0
- package/dist/typescript/components/Avatar/index.d.ts +2 -0
- package/dist/typescript/components/Avatar/types.d.ts +8 -0
- package/dist/typescript/components/Button/assets/class-variants.d.ts +4 -3
- package/dist/typescript/components/Button/index.d.ts +4 -3
- package/dist/typescript/components/Button/types.d.ts +3 -2
- package/dist/typescript/components/ChatBubble/assets/class-variants.d.ts +8 -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 +16 -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/assets/class-variants.d.ts +1 -1
- package/dist/typescript/components/Chip/enums/index.d.ts +0 -1
- package/dist/typescript/components/Chip/index.d.ts +3 -2
- package/dist/typescript/components/Chip/types.d.ts +3 -2
- package/dist/typescript/components/HighlightedText/index.d.ts +2 -1
- package/dist/typescript/components/HighlightedText/types.d.ts +9 -3
- 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 +2 -1
- package/dist/typescript/components/InformationStatus/components/GradientAdd/types.d.ts +3 -2
- package/dist/typescript/components/InformationStatus/components/GradientAlert/index.d.ts +2 -1
- package/dist/typescript/components/InformationStatus/components/GradientAlert/types.d.ts +3 -2
- package/dist/typescript/components/InformationStatus/components/GradientCheck/index.d.ts +4 -3
- package/dist/typescript/components/InformationStatus/components/GradientCheck/types.d.ts +3 -2
- package/dist/typescript/components/InformationStatus/components/GradientClose/index.d.ts +2 -1
- package/dist/typescript/components/InformationStatus/components/GradientClose/types.d.ts +3 -2
- 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 +19 -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 +15 -0
- package/dist/typescript/components/PageIndicators/index.d.ts +2 -0
- package/dist/typescript/components/PageIndicators/types.d.ts +4 -0
- package/dist/typescript/components/PasswordInput/index.d.ts +2 -0
- package/dist/typescript/components/PasswordInput/types.d.ts +3 -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 +3 -2
- 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 +18 -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 +21 -0
- package/dist/typescript/components/Title/components/icon/index.d.ts +1 -1
- package/dist/typescript/components/Title/components/icon/types.d.ts +4 -9
- 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/enums/variant.d.ts +1 -1
- package/dist/typescript/components/Toggle/index.d.ts +1 -1
- package/dist/typescript/components/Toggle/types.d.ts +2 -2
- 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 +13 -0
- package/dist/typescript/components/Typography/assets/class-variants.d.ts +4 -0
- package/dist/typescript/components/Typography/index.d.ts +3 -3
- package/dist/typescript/components/Typography/types.d.ts +3 -3
- package/dist/typescript/components/index.d.ts +49 -2
- package/dist/typescript/enums/corners.d.ts +6 -0
- package/dist/typescript/enums/font-weight.d.ts +10 -0
- package/dist/typescript/enums/index.d.ts +4 -0
- package/dist/typescript/enums/size.d.ts +10 -0
- package/dist/typescript/enums/state-variant.d.ts +7 -0
- package/dist/typescript/iconography/Icons/index.d.ts +2 -1
- package/dist/typescript/index.d.ts +2 -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 +41 -62
- package/src/components/ActionButton/assets/class-variants.ts +51 -0
- package/src/components/ActionButton/index.tsx +147 -0
- package/src/components/ActionButton/types.ts +76 -0
- package/src/components/Avatar/assets/class-variants.ts +23 -0
- package/src/components/Avatar/images/girl.jpg +0 -0
- package/src/components/Avatar/index.tsx +119 -0
- package/src/components/Avatar/types.ts +16 -0
- package/src/components/Button/assets/class-variants.ts +27 -13
- package/src/components/Button/index.tsx +52 -33
- package/src/components/Button/types.ts +3 -2
- package/src/components/ChatBubble/assets/class-variants.ts +77 -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 +125 -0
- package/src/components/ChatBubble/types.ts +18 -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/assets/class-variants.ts +2 -2
- package/src/components/Chip/enums/index.ts +0 -1
- package/src/components/Chip/index.tsx +20 -10
- package/src/components/Chip/types.ts +3 -2
- package/src/components/HighlightedText/index.tsx +36 -16
- package/src/components/HighlightedText/types.ts +9 -3
- 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 +122 -0
- package/src/components/IconButton/types.ts +22 -0
- package/src/components/InformationStatus/components/GradientAdd/index.tsx +107 -56
- package/src/components/InformationStatus/components/GradientAdd/types.ts +3 -2
- package/src/components/InformationStatus/components/GradientAlert/index.tsx +116 -62
- package/src/components/InformationStatus/components/GradientAlert/types.ts +3 -2
- package/src/components/InformationStatus/components/GradientCheck/index.tsx +111 -59
- package/src/components/InformationStatus/components/GradientCheck/types.ts +3 -3
- package/src/components/InformationStatus/components/GradientClose/index.tsx +106 -53
- package/src/components/InformationStatus/components/GradientClose/types.ts +3 -2
- package/src/components/InformationStatus/index.tsx +15 -14
- 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 +128 -0
- package/src/components/ListButton/types.ts +22 -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 +21 -19
- package/src/components/OtpInput/components/InformationStatus/types.ts +6 -0
- package/src/components/{InputOTP/enums/information-status.ts → OtpInput/enums/index.ts} +1 -2
- package/src/components/OtpInput/index.tsx +129 -0
- package/src/components/OtpInput/types.ts +16 -0
- package/src/components/PageIndicators/index.tsx +36 -0
- package/src/components/PageIndicators/types.ts +4 -0
- package/src/components/PasswordInput/index.tsx +37 -0
- package/src/components/PasswordInput/types.ts +4 -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 +21 -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 +159 -0
- package/src/components/TextInput/types.ts +27 -0
- package/src/components/Title/components/icon/index.tsx +2 -1
- package/src/components/Title/components/icon/types.ts +6 -9
- 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 +131 -0
- package/src/components/Toast/types.ts +12 -0
- package/src/components/Toggle/enums/variant.ts +1 -1
- package/src/components/Toggle/index.tsx +2 -2
- package/src/components/Toggle/types.ts +2 -2
- 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 +14 -0
- package/src/components/Typography/assets/class-variants.ts +56 -0
- package/src/components/Typography/index.tsx +9 -5
- package/src/components/Typography/types.ts +5 -3
- package/src/components/index.ts +71 -2
- package/src/enums/corners.ts +6 -0
- package/src/enums/font-weight.ts +10 -0
- package/src/enums/index.ts +5 -0
- package/src/enums/size.ts +10 -0
- package/src/enums/state-variant.ts +7 -0
- package/src/iconography/Icons/index.tsx +62 -20
- package/src/index.ts +2 -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/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 +0 -57
- 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 -17
- package/dist/commonjs/components/InputOTP/enums/index.js.map +0 -1
- package/dist/commonjs/components/InputOTP/enums/information-status.js +0 -15
- package/dist/commonjs/components/InputOTP/enums/information-status.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 -31
- package/dist/commonjs/hooks/use-fonts.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 -4
- package/dist/module/components/InputOTP/enums/index.js.map +0 -1
- package/dist/module/components/InputOTP/enums/information-status.js +0 -11
- package/dist/module/components/InputOTP/enums/information-status.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 -27
- package/dist/module/hooks/use-fonts.js.map +0 -1
- package/dist/package.json +0 -57
- 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 -1
- package/dist/typescript/components/InputOTP/enums/information-status.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/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 -110
- 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/enums/index.ts +0 -1
- package/src/components/InputOTP/index.stories.tsx +0 -247
- 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 -619
- package/src/components/Toggle/index.stories.tsx +0 -88
- package/src/components/Typography/index.stories.tsx +0 -260
- package/src/hooks/index.ts +0 -1
- package/src/hooks/use-fonts.ts +0 -22
- package/src/iconography/Icons/index.stories.tsx +0 -23
- /package/dist/commonjs/components/{InputCheckbox → ActionButton}/types.js +0 -0
- /package/dist/commonjs/components/{InputOTP/components/InformationStatus → Avatar}/types.js +0 -0
- /package/dist/commonjs/components/{InputOTP → ChatBubble/components/ChatBubbleContent}/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 → ActionButton}/types.js +0 -0
- /package/dist/module/components/{InputOTP/components/InformationStatus → Avatar}/types.js +0 -0
- /package/dist/module/components/{InputOTP → ChatBubble/components/ChatBubbleContent}/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
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useRef } from "react";
|
|
4
|
+
import { View, TextInput as RNTextInput, Pressable } from "react-native";
|
|
5
|
+
import { merge } from "@kivid/tailwind-preset";
|
|
6
|
+
import { Seal } from "../Seal/index.js";
|
|
7
|
+
import { SealVariantEnum } from "../Seal/enums/index.js";
|
|
8
|
+
import { TextInputCornersEnum } from "./enums.js";
|
|
9
|
+
import { textInputContainerVariants, textInputContentVariants, textInputFieldVariants } from "./assets/class-variants.js";
|
|
10
|
+
import Typography from "../Typography/index.js";
|
|
11
|
+
import { SizeEnum } from "../../enums/index.js";
|
|
12
|
+
import { Tooltip } from "../Tooltip/index.js";
|
|
13
|
+
import { TooltipVariantEnum } from "../Tooltip/enum/index.js";
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
+
export function TextInput({
|
|
16
|
+
corners = TextInputCornersEnum.MEDIUM,
|
|
17
|
+
label,
|
|
18
|
+
value,
|
|
19
|
+
onChangeText,
|
|
20
|
+
disabled = false,
|
|
21
|
+
error,
|
|
22
|
+
isValid,
|
|
23
|
+
className = "",
|
|
24
|
+
inputClassName = "",
|
|
25
|
+
labelClassName = "",
|
|
26
|
+
placeholder = "Placeholder",
|
|
27
|
+
accessibilityLabel,
|
|
28
|
+
containerTestID,
|
|
29
|
+
ref,
|
|
30
|
+
tooltipClassName = "",
|
|
31
|
+
tooltipPointerClassName,
|
|
32
|
+
tooltipContainerClassName,
|
|
33
|
+
rightIcon,
|
|
34
|
+
...rest
|
|
35
|
+
}) {
|
|
36
|
+
const inputRef = useRef(null);
|
|
37
|
+
const hasLabel = !!label;
|
|
38
|
+
const hasError = !!error;
|
|
39
|
+
const shouldShowSeal = error || isValid;
|
|
40
|
+
const renderSeal = () => {
|
|
41
|
+
if (!shouldShowSeal) return null;
|
|
42
|
+
const testID = error ? "seal-error" : "seal-success";
|
|
43
|
+
const sealVariant = error ? SealVariantEnum.ERROR : SealVariantEnum.SUCCESS;
|
|
44
|
+
return /*#__PURE__*/_jsx(View, {
|
|
45
|
+
className: "w-700 h-700",
|
|
46
|
+
children: /*#__PURE__*/_jsx(Seal, {
|
|
47
|
+
variant: sealVariant,
|
|
48
|
+
size: SizeEnum.MEDIUM,
|
|
49
|
+
testID: testID
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
const renderRightIcon = () => {
|
|
54
|
+
if (rightIcon) {
|
|
55
|
+
return rightIcon;
|
|
56
|
+
}
|
|
57
|
+
return renderSeal();
|
|
58
|
+
};
|
|
59
|
+
const handleChangeText = text => {
|
|
60
|
+
onChangeText?.(text);
|
|
61
|
+
};
|
|
62
|
+
const getAccessibilityLabel = () => {
|
|
63
|
+
if (accessibilityLabel) return accessibilityLabel;
|
|
64
|
+
let labelText = label || "Text input";
|
|
65
|
+
if (error) labelText += `, error: ${error}`;
|
|
66
|
+
if (isValid) labelText += `, isValid`;
|
|
67
|
+
if (disabled) labelText += ", disabled";
|
|
68
|
+
return labelText;
|
|
69
|
+
};
|
|
70
|
+
return /*#__PURE__*/_jsx(Tooltip, {
|
|
71
|
+
isOpenedByVariantError: hasError,
|
|
72
|
+
message: error,
|
|
73
|
+
variant: TooltipVariantEnum.ERROR,
|
|
74
|
+
className: tooltipClassName,
|
|
75
|
+
pointerClassName: tooltipPointerClassName,
|
|
76
|
+
containerClassName: tooltipContainerClassName,
|
|
77
|
+
children: /*#__PURE__*/_jsxs(Pressable, {
|
|
78
|
+
testID: containerTestID,
|
|
79
|
+
className: merge(textInputContainerVariants({
|
|
80
|
+
corners,
|
|
81
|
+
error: !!error,
|
|
82
|
+
disabled,
|
|
83
|
+
showLabel: hasLabel
|
|
84
|
+
}), className),
|
|
85
|
+
onPress: () => {
|
|
86
|
+
if (!disabled) {
|
|
87
|
+
inputRef.current?.focus();
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
disabled: disabled,
|
|
91
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
92
|
+
className: merge(textInputContentVariants({
|
|
93
|
+
showLabel: hasLabel
|
|
94
|
+
})),
|
|
95
|
+
children: [label && /*#__PURE__*/_jsxs(Typography, {
|
|
96
|
+
variant: "label_small",
|
|
97
|
+
weight: "600",
|
|
98
|
+
className: merge("text-chia-900", labelClassName),
|
|
99
|
+
children: [label, ":"]
|
|
100
|
+
}), /*#__PURE__*/_jsx(RNTextInput, {
|
|
101
|
+
value: value,
|
|
102
|
+
onChangeText: handleChangeText,
|
|
103
|
+
editable: !disabled,
|
|
104
|
+
placeholder: placeholder,
|
|
105
|
+
className: merge(textInputFieldVariants({
|
|
106
|
+
disabled,
|
|
107
|
+
isValid,
|
|
108
|
+
error: hasError,
|
|
109
|
+
showLabel: hasLabel
|
|
110
|
+
}), inputClassName),
|
|
111
|
+
accessibilityLabel: getAccessibilityLabel(),
|
|
112
|
+
accessibilityState: {
|
|
113
|
+
disabled
|
|
114
|
+
},
|
|
115
|
+
...rest,
|
|
116
|
+
ref: instance => {
|
|
117
|
+
inputRef.current = instance;
|
|
118
|
+
if (ref) {
|
|
119
|
+
ref.current = instance;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
})]
|
|
123
|
+
}), renderRightIcon()]
|
|
124
|
+
})
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
TextInput.displayName = "TextInput";
|
|
128
|
+
export default TextInput;
|
|
129
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useRef","View","TextInput","RNTextInput","Pressable","merge","Seal","SealVariantEnum","TextInputCornersEnum","textInputContainerVariants","textInputContentVariants","textInputFieldVariants","Typography","SizeEnum","Tooltip","TooltipVariantEnum","jsx","_jsx","jsxs","_jsxs","corners","MEDIUM","label","value","onChangeText","disabled","error","isValid","className","inputClassName","labelClassName","placeholder","accessibilityLabel","containerTestID","ref","tooltipClassName","tooltipPointerClassName","tooltipContainerClassName","rightIcon","rest","inputRef","hasLabel","hasError","shouldShowSeal","renderSeal","testID","sealVariant","ERROR","SUCCESS","children","variant","size","renderRightIcon","handleChangeText","text","getAccessibilityLabel","labelText","isOpenedByVariantError","message","pointerClassName","containerClassName","showLabel","onPress","current","focus","weight","editable","accessibilityState","instance","displayName"],"sourceRoot":"../../../../src","sources":["components/TextInput/index.tsx"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,OAAO;AAC9B,SAASC,IAAI,EAAEC,SAAS,IAAIC,WAAW,EAAEC,SAAS,QAAQ,cAAc;AACxE,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,IAAI,QAAQ,kBAAS;AAC9B,SAASC,eAAe,QAAQ,wBAAe;AAE/C,SAASC,oBAAoB,QAAQ,YAAS;AAC9C,SACEC,0BAA0B,EAC1BC,wBAAwB,EACxBC,sBAAsB,QACjB,4BAAyB;AAChC,OAAOC,UAAU,MAAM,wBAAe;AACtC,SAASC,QAAQ,QAAQ,sBAAa;AACtC,SAASC,OAAO,QAAQ,qBAAY;AACpC,SAASC,kBAAkB,QAAQ,0BAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAErD,OAAO,SAASjB,SAASA,CAAC;EACxBkB,OAAO,GAAGZ,oBAAoB,CAACa,MAAM;EACrCC,KAAK;EACLC,KAAK;EACLC,YAAY;EACZC,QAAQ,GAAG,KAAK;EAChBC,KAAK;EACLC,OAAO;EACPC,SAAS,GAAG,EAAE;EACdC,cAAc,GAAG,EAAE;EACnBC,cAAc,GAAG,EAAE;EACnBC,WAAW,GAAG,aAAa;EAC3BC,kBAAkB;EAClBC,eAAe;EACfC,GAAG;EACHC,gBAAgB,GAAG,EAAE;EACrBC,uBAAuB;EACvBC,yBAAyB;EACzBC,SAAS;EACT,GAAGC;AACW,CAAC,EAAE;EACjB,MAAMC,QAAQ,GAAGxC,MAAM,CAAc,IAAI,CAAC;EAC1C,MAAMyC,QAAQ,GAAG,CAAC,CAACnB,KAAK;EACxB,MAAMoB,QAAQ,GAAG,CAAC,CAAChB,KAAK;EAExB,MAAMiB,cAAc,GAAGjB,KAAK,IAAIC,OAAO;EAEvC,MAAMiB,UAAU,GAAGA,CAAA,KAAM;IACvB,IAAI,CAACD,cAAc,EAAE,OAAO,IAAI;IAEhC,MAAME,MAAM,GAAGnB,KAAK,GAAG,YAAY,GAAG,cAAc;IACpD,MAAMoB,WAAW,GAAGpB,KAAK,GAAGnB,eAAe,CAACwC,KAAK,GAAGxC,eAAe,CAACyC,OAAO;IAE3E,oBACE/B,IAAA,CAAChB,IAAI;MAAC2B,SAAS,EAAE,aAAc;MAAAqB,QAAA,eAC7BhC,IAAA,CAACX,IAAI;QAAC4C,OAAO,EAAEJ,WAAY;QAACK,IAAI,EAAEtC,QAAQ,CAACQ,MAAO;QAACwB,MAAM,EAAEA;MAAO,CAAE;IAAC,CACjE,CAAC;EAEX,CAAC;EAED,MAAMO,eAAe,GAAGA,CAAA,KAAM;IAC5B,IAAId,SAAS,EAAE;MACb,OAAOA,SAAS;IAClB;IAEA,OAAOM,UAAU,CAAC,CAAC;EACrB,CAAC;EAED,MAAMS,gBAAgB,GAAIC,IAAY,IAAK;IACzC9B,YAAY,GAAG8B,IAAI,CAAC;EACtB,CAAC;EAED,MAAMC,qBAAqB,GAAGA,CAAA,KAAM;IAClC,IAAIvB,kBAAkB,EAAE,OAAOA,kBAAkB;IAEjD,IAAIwB,SAAS,GAAGlC,KAAK,IAAI,YAAY;IAErC,IAAII,KAAK,EAAE8B,SAAS,IAAI,YAAY9B,KAAK,EAAE;IAC3C,IAAIC,OAAO,EAAE6B,SAAS,IAAI,WAAW;IACrC,IAAI/B,QAAQ,EAAE+B,SAAS,IAAI,YAAY;IAEvC,OAAOA,SAAS;EAClB,CAAC;EAED,oBACEvC,IAAA,CAACH,OAAO;IACN2C,sBAAsB,EAAEf,QAAS;IACjCgB,OAAO,EAAEhC,KAAM;IACfwB,OAAO,EAAEnC,kBAAkB,CAACgC,KAAM;IAClCnB,SAAS,EAAEO,gBAAiB;IAC5BwB,gBAAgB,EAAEvB,uBAAwB;IAC1CwB,kBAAkB,EAAEvB,yBAA0B;IAAAY,QAAA,eAE9C9B,KAAA,CAACf,SAAS;MACRyC,MAAM,EAAEZ,eAAgB;MACxBL,SAAS,EAAEvB,KAAK,CACdI,0BAA0B,CAAC;QACzBW,OAAO;QACPM,KAAK,EAAE,CAAC,CAACA,KAAK;QACdD,QAAQ;QACRoC,SAAS,EAAEpB;MACb,CAAC,CAAC,EACFb,SACF,CAAE;MACFkC,OAAO,EAAEA,CAAA,KAAM;QACb,IAAI,CAACrC,QAAQ,EAAE;UACbe,QAAQ,CAACuB,OAAO,EAAEC,KAAK,CAAC,CAAC;QAC3B;MACF,CAAE;MACFvC,QAAQ,EAAEA,QAAS;MAAAwB,QAAA,gBAEnB9B,KAAA,CAAClB,IAAI;QACH2B,SAAS,EAAEvB,KAAK,CAACK,wBAAwB,CAAC;UAAEmD,SAAS,EAAEpB;QAAS,CAAC,CAAC,CAAE;QAAAQ,QAAA,GAEnE3B,KAAK,iBACJH,KAAA,CAACP,UAAU;UACTsC,OAAO,EAAC,aAAa;UACrBe,MAAM,EAAC,KAAK;UACZrC,SAAS,EAAEvB,KAAK,CAAC,eAAe,EAAEyB,cAAc,CAAE;UAAAmB,QAAA,GAEjD3B,KAAK,EAAC,GACT;QAAA,CAAY,CACb,eAEDL,IAAA,CAACd,WAAW;UACVoB,KAAK,EAAEA,KAAM;UACbC,YAAY,EAAE6B,gBAAiB;UAC/Ba,QAAQ,EAAE,CAACzC,QAAS;UACpBM,WAAW,EAAEA,WAAY;UACzBH,SAAS,EAAEvB,KAAK,CACdM,sBAAsB,CAAC;YACrBc,QAAQ;YACRE,OAAO;YACPD,KAAK,EAAEgB,QAAQ;YACfmB,SAAS,EAAEpB;UACb,CAAC,CAAC,EACFZ,cACF,CAAE;UACFG,kBAAkB,EAAEuB,qBAAqB,CAAC,CAAE;UAC5CY,kBAAkB,EAAE;YAClB1C;UACF,CAAE;UAAA,GACEc,IAAI;UACRL,GAAG,EAAGkC,QAAQ,IAAK;YACjB5B,QAAQ,CAACuB,OAAO,GAAGK,QAAQ;YAE3B,IAAIlC,GAAG,EAAE;cACPA,GAAG,CAAC6B,OAAO,GAAGK,QAAQ;YACxB;UACF;QAAE,CACH,CAAC;MAAA,CACE,CAAC,EAENhB,eAAe,CAAC,CAAC;IAAA,CACT;EAAC,CACL,CAAC;AAEd;AAEAlD,SAAS,CAACmE,WAAW,GAAG,WAAW;AAEnC,eAAenE,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/TextInput/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import { InformationStatus } from "../../../InformationStatus/index.js";
|
|
4
4
|
import { InformationStatusOptionsEnum } from "../../../InformationStatus/enums.js";
|
|
5
|
+
import { SizeEnum } from "../../../../enums/index.js";
|
|
5
6
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
6
7
|
export function Icon(props) {
|
|
7
8
|
const {
|
|
8
9
|
variants,
|
|
9
10
|
customIcon,
|
|
10
|
-
size =
|
|
11
|
+
size = SizeEnum.MEDIUM
|
|
11
12
|
} = props;
|
|
12
13
|
function renderIcon() {
|
|
13
14
|
if (variants === "success") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["InformationStatus","InformationStatusOptionsEnum","jsx","_jsx","Fragment","_Fragment","Icon","props","variants","customIcon","size","renderIcon","status","SUCCESS","ERROR","WARNING","ADD","children"],"sourceRoot":"../../../../../../src","sources":["components/Title/components/icon/index.tsx"],"mappings":";;AACA,SAASA,iBAAiB,QAAQ,qCAA4B;AAC9D,SAASC,4BAA4B,QAAQ,qCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;
|
|
1
|
+
{"version":3,"names":["InformationStatus","InformationStatusOptionsEnum","SizeEnum","jsx","_jsx","Fragment","_Fragment","Icon","props","variants","customIcon","size","MEDIUM","renderIcon","status","SUCCESS","ERROR","WARNING","ADD","children"],"sourceRoot":"../../../../../../src","sources":["components/Title/components/icon/index.tsx"],"mappings":";;AACA,SAASA,iBAAiB,QAAQ,qCAA4B;AAC9D,SAASC,4BAA4B,QAAQ,qCAAkC;AAC/E,SAASC,QAAQ,QAAQ,4BAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAE7C,OAAO,SAASC,IAAIA,CAACC,KAAgB,EAAE;EACrC,MAAM;IAAEC,QAAQ;IAAEC,UAAU;IAAEC,IAAI,GAAGT,QAAQ,CAACU;EAAO,CAAC,GAAGJ,KAAK;EAE9D,SAASK,UAAUA,CAAA,EAAG;IACpB,IAAIJ,QAAQ,KAAK,SAAS,EAAE;MAC1B,oBACEL,IAAA,CAACJ,iBAAiB;QAChBc,MAAM,EAAEb,4BAA4B,CAACc,OAAQ;QAC7CJ,IAAI,EAAEA;MAAK,CACZ,CAAC;IAEN;IAEA,IAAIF,QAAQ,KAAK,OAAO,EAAE;MACxB,oBACEL,IAAA,CAACJ,iBAAiB;QAChBc,MAAM,EAAEb,4BAA4B,CAACe,KAAM;QAC3CL,IAAI,EAAEA;MAAK,CACZ,CAAC;IAEN;IAEA,IAAIF,QAAQ,KAAK,SAAS,EAAE;MAC1B,oBACEL,IAAA,CAACJ,iBAAiB;QAChBc,MAAM,EAAEb,4BAA4B,CAACgB,OAAQ;QAC7CN,IAAI,EAAEA;MAAK,CACZ,CAAC;IAEN;IAEA,IAAIF,QAAQ,KAAK,KAAK,EAAE;MACtB,oBACEL,IAAA,CAACJ,iBAAiB;QAChBc,MAAM,EAAEb,4BAA4B,CAACiB,GAAI;QACzCP,IAAI,EAAEA;MAAK,CACZ,CAAC;IAEN;IAEA,IAAIF,QAAQ,KAAK,QAAQ,IAAIC,UAAU,EAAE;MACvC,OAAOA,UAAU;IACnB;EACF;EAEA,oBAAON,IAAA,CAAAE,SAAA;IAAAa,QAAA,EAAGN,UAAU,CAAC;EAAC,CAAG,CAAC;AAC5B","ignoreList":[]}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
export
|
|
4
|
-
IconVariants["SUCCESS"] = "success";
|
|
5
|
-
IconVariants["ERROR"] = "error";
|
|
6
|
-
IconVariants["WARNING"] = "warning";
|
|
7
|
-
IconVariants["ADD"] = "add";
|
|
8
|
-
IconVariants["CUSTOM"] = "custom";
|
|
9
|
-
return IconVariants;
|
|
10
|
-
}({});
|
|
3
|
+
export {};
|
|
11
4
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/Title/components/icon/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { View } from "react-native";
|
|
4
|
+
import { SizeEnum } from "../../../../enums/index.js";
|
|
4
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
6
|
export function Marker(props) {
|
|
6
7
|
const {
|
|
7
|
-
size =
|
|
8
|
+
size = SizeEnum.MEDIUM,
|
|
8
9
|
color = "chia"
|
|
9
10
|
} = props;
|
|
10
11
|
const mappedSize = {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
[SizeEnum.SMALL]: "w-700 h-300",
|
|
13
|
+
[SizeEnum.MEDIUM]: "w-800 h-[6px]"
|
|
13
14
|
}[size];
|
|
14
15
|
const mappedColor = {
|
|
15
16
|
pear: "bg-pear-500",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","jsx","_jsx","Marker","props","size","
|
|
1
|
+
{"version":3,"names":["View","SizeEnum","jsx","_jsx","Marker","props","size","MEDIUM","color","mappedSize","SMALL","mappedColor","pear","java","grape","pitaya","tangerine","mango","blackberry","chia","ghost","className"],"sourceRoot":"../../../../../../src","sources":["components/Title/components/marker/index.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AAEnC,SAASC,QAAQ,QAAQ,4BAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE7C,OAAO,SAASC,MAAMA,CAACC,KAAkB,EAAE;EACzC,MAAM;IAAEC,IAAI,GAAGL,QAAQ,CAACM,MAAM;IAAEC,KAAK,GAAG;EAAO,CAAC,GAAGH,KAAK;EAExD,MAAMI,UAAU,GAAG;IACjB,CAACR,QAAQ,CAACS,KAAK,GAAG,aAAa;IAC/B,CAACT,QAAQ,CAACM,MAAM,GAAG;EACrB,CAAC,CAACD,IAAI,CAAC;EAEP,MAAMK,WAAW,GAAG;IAClBC,IAAI,EAAE,aAAa;IACnBC,IAAI,EAAE,aAAa;IACnBC,KAAK,EAAE,cAAc;IACrBC,MAAM,EAAE,eAAe;IACvBC,SAAS,EAAE,kBAAkB;IAC7BC,KAAK,EAAE,cAAc;IACrBC,UAAU,EAAE,mBAAmB;IAC/BC,IAAI,EAAE,aAAa;IACnBC,KAAK,EAAE;EACT,CAAC,CAACZ,KAAK,CAAC;EAER,oBAAOL,IAAA,CAACH,IAAI;IAACqB,SAAS,EAAE,GAAGV,WAAW,IAAIF,UAAU;EAAe,CAAE,CAAC;AACxE","ignoreList":[]}
|
|
@@ -4,23 +4,24 @@ import { View } from "react-native";
|
|
|
4
4
|
import { Icon, Marker } from "./components/index.js";
|
|
5
5
|
import { merge } from "@kivid/tailwind-preset";
|
|
6
6
|
import { cva } from "class-variance-authority";
|
|
7
|
+
import { SizeEnum } from "../../enums/index.js";
|
|
7
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
9
|
function Title(props) {
|
|
9
10
|
const {
|
|
10
11
|
children,
|
|
11
12
|
className,
|
|
12
|
-
variant =
|
|
13
|
+
variant = SizeEnum.MEDIUM,
|
|
13
14
|
head
|
|
14
15
|
} = props;
|
|
15
16
|
const variantClass = cva("", {
|
|
16
17
|
variants: {
|
|
17
18
|
variant: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
[SizeEnum.XXLARGE]: "pb-600",
|
|
20
|
+
[SizeEnum.XLARGE]: "pb-500",
|
|
21
|
+
[SizeEnum.LARGE]: "pb-600",
|
|
22
|
+
[SizeEnum.MEDIUM]: "pb-600",
|
|
23
|
+
[SizeEnum.SMALL]: "pb-400",
|
|
24
|
+
[SizeEnum.XSMALL]: "pb-400"
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
})({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","Icon","Marker","merge","cva","jsx","_jsx","jsxs","_jsxs","Title","props","children","className","variant","head","variantClass","variants","
|
|
1
|
+
{"version":3,"names":["View","Icon","Marker","merge","cva","SizeEnum","jsx","_jsx","jsxs","_jsxs","Title","props","children","className","variant","MEDIUM","head","variantClass","variants","XXLARGE","XLARGE","LARGE","SMALL","XSMALL","mergedClassName"],"sourceRoot":"../../../../src","sources":["components/Title/index.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,IAAI,EAAEC,MAAM,QAAQ,uBAAc;AAE3C,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,GAAG,QAAQ,0BAA0B;AAC9C,SAASC,QAAQ,QAAQ,sBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEvC,SAASC,KAAKA,CAACC,KAAiB,EAAE;EAChC,MAAM;IAAEC,QAAQ;IAAEC,SAAS;IAAEC,OAAO,GAAGT,QAAQ,CAACU,MAAM;IAAEC;EAAK,CAAC,GAAGL,KAAK;EAEtE,MAAMM,YAAY,GAAGb,GAAG,CAAC,EAAE,EAAE;IAC3Bc,QAAQ,EAAE;MACRJ,OAAO,EAAE;QACP,CAACT,QAAQ,CAACc,OAAO,GAAG,QAAQ;QAC5B,CAACd,QAAQ,CAACe,MAAM,GAAG,QAAQ;QAC3B,CAACf,QAAQ,CAACgB,KAAK,GAAG,QAAQ;QAC1B,CAAChB,QAAQ,CAACU,MAAM,GAAG,QAAQ;QAC3B,CAACV,QAAQ,CAACiB,KAAK,GAAG,QAAQ;QAC1B,CAACjB,QAAQ,CAACkB,MAAM,GAAG;MACrB;IACF;EACF,CAAC,CAAC,CAAC;IAAET;EAAQ,CAAC,CAAC;EAEf,MAAMU,eAAe,GAAGrB,KAAK,CAAC,6BAA6B,EAAEU,SAAS,CAAC;EAEvE,oBACEJ,KAAA,CAACT,IAAI;IAACa,SAAS,EAAEW,eAAgB;IAAAZ,QAAA,gBAC/BL,IAAA,CAACP,IAAI;MAACa,SAAS,EAAE,GAAGI,YAAY,EAAG;MAAAL,QAAA,EAAEI;IAAI,CAAO,CAAC,EAChDJ,QAAQ;EAAA,CACL,CAAC;AAEX;AAEAF,KAAK,CAACT,IAAI,GAAGA,IAAI;AACjBS,KAAK,CAACR,MAAM,GAAGA,MAAM;AAErB,SAASQ,KAAK","ignoreList":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { ToastPositionEnum, ToastVariantEnum } from "../enums/index.js";
|
|
5
|
+
const toastVariants = cva("justify-between min-w-[200px] max-w min-h-12 mx-600 px-500 py-400 gap-400 items-center flex flex-row rounded-700", {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: {
|
|
8
|
+
[ToastVariantEnum.SUCCESS]: "bg-pear-500",
|
|
9
|
+
[ToastVariantEnum.ERROR]: "bg-blackberry-500",
|
|
10
|
+
[ToastVariantEnum.WARNING]: "bg-tangerine-500"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
defaultVariants: {
|
|
14
|
+
variant: ToastVariantEnum.SUCCESS
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
const containerVariants = cva("absolute z-[800px] w-full min-h-12 flex", {
|
|
18
|
+
variants: {
|
|
19
|
+
position: {
|
|
20
|
+
[ToastPositionEnum.TOP]: "top-1000",
|
|
21
|
+
[ToastPositionEnum.BOTTOM]: "bottom-1000"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
defaultVariants: {
|
|
25
|
+
position: ToastPositionEnum.TOP
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export { toastVariants, containerVariants };
|
|
29
|
+
//# sourceMappingURL=class-variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["cva","ToastPositionEnum","ToastVariantEnum","toastVariants","variants","variant","SUCCESS","ERROR","WARNING","defaultVariants","containerVariants","position","TOP","BOTTOM"],"sourceRoot":"../../../../../src","sources":["components/Toast/assets/class-variants.ts"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,0BAA0B;AAC9C,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,mBAAU;AAE9D,MAAMC,aAAa,GAAGH,GAAG,CACvB,kHAAkH,EAClH;EACEI,QAAQ,EAAE;IACRC,OAAO,EAAE;MACP,CAACH,gBAAgB,CAACI,OAAO,GAAG,aAAa;MACzC,CAACJ,gBAAgB,CAACK,KAAK,GAAG,mBAAmB;MAC7C,CAACL,gBAAgB,CAACM,OAAO,GAAG;IAC9B;EACF,CAAC;EACDC,eAAe,EAAE;IACfJ,OAAO,EAAEH,gBAAgB,CAACI;EAC5B;AACF,CACF,CAAC;AAED,MAAMI,iBAAiB,GAAGV,GAAG,CAAC,yCAAyC,EAAE;EACvEI,QAAQ,EAAE;IACRO,QAAQ,EAAE;MACR,CAACV,iBAAiB,CAACW,GAAG,GAAG,UAAU;MACnC,CAACX,iBAAiB,CAACY,MAAM,GAAG;IAC9B;EACF,CAAC;EACDJ,eAAe,EAAE;IACfE,QAAQ,EAAEV,iBAAiB,CAACW;EAC9B;AACF,CAAC,CAAC;AAEF,SAAST,aAAa,EAAEO,iBAAiB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Toast/enums/index.ts"],"mappings":";;AAAA,cAAc,cAAW;AACzB,cAAc,eAAY","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ToastPositionEnum"],"sourceRoot":"../../../../../src","sources":["components/Toast/enums/position.ts"],"mappings":";;AAAA,WAAYA,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export let ToastVariantEnum = /*#__PURE__*/function (ToastVariantEnum) {
|
|
4
|
+
ToastVariantEnum["SUCCESS"] = "success";
|
|
5
|
+
ToastVariantEnum["ERROR"] = "error";
|
|
6
|
+
ToastVariantEnum["WARNING"] = "warning";
|
|
7
|
+
return ToastVariantEnum;
|
|
8
|
+
}({});
|
|
9
|
+
//# sourceMappingURL=variant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ToastVariantEnum"],"sourceRoot":"../../../../../src","sources":["components/Toast/enums/variant.ts"],"mappings":";;AAAA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useRef } from "react";
|
|
4
|
+
import { View, Animated, Pressable } from "react-native";
|
|
5
|
+
import { ToastPositionEnum, ToastVariantEnum } from "./enums/index.js";
|
|
6
|
+
import { containerVariants, toastVariants } from "./assets/class-variants.js";
|
|
7
|
+
import { EssentialCloseStroke } from "@kivid/icons/native";
|
|
8
|
+
import Typography from "../Typography/index.js";
|
|
9
|
+
import { merge } from "@kivid/tailwind-preset";
|
|
10
|
+
import { Seal } from "../Seal/index.js";
|
|
11
|
+
import { SealVariantEnum } from "../Seal/enums/index.js";
|
|
12
|
+
import { elevationDown100 } from "../../styles/mixins/shadows/index.js";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
export function Toast(props) {
|
|
15
|
+
const {
|
|
16
|
+
description,
|
|
17
|
+
isToastOpen,
|
|
18
|
+
onCloseToast,
|
|
19
|
+
className,
|
|
20
|
+
descriptionClassName,
|
|
21
|
+
durationInMilliSeconds = 3000,
|
|
22
|
+
position = ToastPositionEnum.TOP,
|
|
23
|
+
variant = ToastVariantEnum.SUCCESS
|
|
24
|
+
} = props;
|
|
25
|
+
const animatedValue = useRef(new Animated.Value(0)).current;
|
|
26
|
+
const timerRef = useRef(null);
|
|
27
|
+
const isClosingRef = useRef(false);
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
if (!isToastOpen) return;
|
|
30
|
+
isClosingRef.current = false;
|
|
31
|
+
if (timerRef.current) clearTimeout(timerRef.current);
|
|
32
|
+
Animated.timing(animatedValue, {
|
|
33
|
+
toValue: 1,
|
|
34
|
+
duration: 200,
|
|
35
|
+
useNativeDriver: true
|
|
36
|
+
}).start();
|
|
37
|
+
timerRef.current = setTimeout(() => {
|
|
38
|
+
if (isClosingRef.current) return;
|
|
39
|
+
isClosingRef.current = true;
|
|
40
|
+
Animated.timing(animatedValue, {
|
|
41
|
+
toValue: 0,
|
|
42
|
+
duration: 200,
|
|
43
|
+
useNativeDriver: true
|
|
44
|
+
}).start(() => {
|
|
45
|
+
onCloseToast(false);
|
|
46
|
+
});
|
|
47
|
+
}, durationInMilliSeconds);
|
|
48
|
+
return () => {
|
|
49
|
+
if (timerRef.current) clearTimeout(timerRef.current);
|
|
50
|
+
};
|
|
51
|
+
}, [isToastOpen]);
|
|
52
|
+
if (!isToastOpen) return null;
|
|
53
|
+
function handleClose() {
|
|
54
|
+
if (isClosingRef.current) return;
|
|
55
|
+
isClosingRef.current = true;
|
|
56
|
+
if (timerRef.current) clearTimeout(timerRef.current);
|
|
57
|
+
Animated.timing(animatedValue, {
|
|
58
|
+
toValue: 0,
|
|
59
|
+
duration: 200,
|
|
60
|
+
useNativeDriver: true
|
|
61
|
+
}).start(() => {
|
|
62
|
+
onCloseToast(false);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
const toastStyle = toastVariants({
|
|
66
|
+
variant
|
|
67
|
+
});
|
|
68
|
+
const containerStyle = containerVariants({
|
|
69
|
+
position
|
|
70
|
+
});
|
|
71
|
+
const iconMap = {
|
|
72
|
+
[ToastVariantEnum.SUCCESS]: () => /*#__PURE__*/_jsx(Seal, {
|
|
73
|
+
variant: SealVariantEnum.SUCCESS,
|
|
74
|
+
inverted: true
|
|
75
|
+
}),
|
|
76
|
+
[ToastVariantEnum.ERROR]: () => /*#__PURE__*/_jsx(Seal, {
|
|
77
|
+
variant: SealVariantEnum.ERROR,
|
|
78
|
+
inverted: true
|
|
79
|
+
}),
|
|
80
|
+
[ToastVariantEnum.WARNING]: () => /*#__PURE__*/_jsx(Seal, {
|
|
81
|
+
variant: SealVariantEnum.ALERT,
|
|
82
|
+
inverted: true
|
|
83
|
+
})
|
|
84
|
+
};
|
|
85
|
+
const Icon = iconMap[variant];
|
|
86
|
+
const animatedStyle = {
|
|
87
|
+
opacity: animatedValue,
|
|
88
|
+
transform: [{
|
|
89
|
+
translateY: animatedValue.interpolate({
|
|
90
|
+
inputRange: [0, 1],
|
|
91
|
+
outputRange: [-20, 0]
|
|
92
|
+
})
|
|
93
|
+
}]
|
|
94
|
+
};
|
|
95
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
96
|
+
className: containerStyle,
|
|
97
|
+
style: animatedStyle,
|
|
98
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
99
|
+
className: merge(toastStyle, className),
|
|
100
|
+
style: {
|
|
101
|
+
boxShadow: elevationDown100
|
|
102
|
+
},
|
|
103
|
+
children: [/*#__PURE__*/_jsx(Icon, {}), /*#__PURE__*/_jsx(Typography, {
|
|
104
|
+
className: merge("title_small font-bold text-chia-100 truncate flex-1", descriptionClassName),
|
|
105
|
+
children: description
|
|
106
|
+
}), /*#__PURE__*/_jsx(Pressable, {
|
|
107
|
+
className: "cursor-pointer",
|
|
108
|
+
onPress: handleClose,
|
|
109
|
+
children: /*#__PURE__*/_jsx(EssentialCloseStroke, {
|
|
110
|
+
className: "text-chia-100",
|
|
111
|
+
size: 30
|
|
112
|
+
})
|
|
113
|
+
})]
|
|
114
|
+
})
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","useRef","View","Animated","Pressable","ToastPositionEnum","ToastVariantEnum","containerVariants","toastVariants","EssentialCloseStroke","Typography","merge","Seal","SealVariantEnum","elevationDown100","jsx","_jsx","jsxs","_jsxs","Toast","props","description","isToastOpen","onCloseToast","className","descriptionClassName","durationInMilliSeconds","position","TOP","variant","SUCCESS","animatedValue","Value","current","timerRef","isClosingRef","clearTimeout","timing","toValue","duration","useNativeDriver","start","setTimeout","handleClose","toastStyle","containerStyle","iconMap","inverted","ERROR","WARNING","ALERT","Icon","animatedStyle","opacity","transform","translateY","interpolate","inputRange","outputRange","style","children","boxShadow","onPress","size"],"sourceRoot":"../../../../src","sources":["components/Toast/index.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Toast/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
export let
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return
|
|
3
|
+
export let ToggleVariantEnum = /*#__PURE__*/function (ToggleVariantEnum) {
|
|
4
|
+
ToggleVariantEnum["GRAPE"] = "grape";
|
|
5
|
+
ToggleVariantEnum["JAVA"] = "java";
|
|
6
|
+
ToggleVariantEnum["PEAR"] = "pear";
|
|
7
|
+
ToggleVariantEnum["TANGERINE"] = "tangerine";
|
|
8
|
+
ToggleVariantEnum["CHIA"] = "chia";
|
|
9
|
+
return ToggleVariantEnum;
|
|
10
10
|
}({});
|
|
11
11
|
//# sourceMappingURL=variant.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["ToggleVariantEnum"],"sourceRoot":"../../../../../src","sources":["components/Toggle/enums/variant.ts"],"mappings":";;AAAA,WAAYA,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { Pressable, View } from "react-native";
|
|
4
|
-
import {
|
|
4
|
+
import { ToggleVariantEnum } from "./enums/index.js";
|
|
5
5
|
import { merge } from "@kivid/tailwind-preset";
|
|
6
6
|
import { toggleVariants } from "./assets/class-variants.js";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -9,7 +9,7 @@ export function Toggle(props) {
|
|
|
9
9
|
const {
|
|
10
10
|
checked,
|
|
11
11
|
disabled = false,
|
|
12
|
-
variant =
|
|
12
|
+
variant = ToggleVariantEnum.JAVA,
|
|
13
13
|
onChange
|
|
14
14
|
} = props;
|
|
15
15
|
const handleToggle = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Pressable","View","
|
|
1
|
+
{"version":3,"names":["Pressable","View","ToggleVariantEnum","merge","toggleVariants","jsx","_jsx","Toggle","props","checked","disabled","variant","JAVA","onChange","handleToggle","mergeToggleClass","onPress","className","children"],"sourceRoot":"../../../../src","sources":["components/Toggle/index.tsx"],"mappings":";;AACA,SAASA,SAAS,EAAEC,IAAI,QAAQ,cAAc;AAC9C,SAASC,iBAAiB,QAAQ,kBAAS;AAC3C,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,cAAc,QAAQ,4BAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEzD,OAAO,SAASC,MAAMA,CAACC,KAAkB,EAAE;EACzC,MAAM;IACJC,OAAO;IACPC,QAAQ,GAAG,KAAK;IAChBC,OAAO,GAAGT,iBAAiB,CAACU,IAAI;IAChCC;EACF,CAAC,GAAGL,KAAK;EAET,MAAMM,YAAY,GAAGA,CAAA,KAAM;IACzB,IAAIJ,QAAQ,EAAE;IAEd,IAAIG,QAAQ,EAAE;MACZA,QAAQ,CAAC,CAACJ,OAAO,CAAC;IACpB;EACF,CAAC;EAED,MAAMM,gBAAgB,GAAGZ,KAAK,CAC5BC,cAAc,CAAC;IAAEO,OAAO;IAAEF,OAAO;IAAEC;EAAS,CAAC,CAAC,EAC9CA,QAAQ,IAAI,CAACD,OAAO,GAAG,aAAa,GAAG,EACzC,CAAC;EAED,oBACEH,IAAA,CAACN,SAAS;IACRgB,OAAO,EAAEF,YAAa;IACtBG,SAAS,EAAC,2CAA2C;IAAAC,QAAA,eAErDZ,IAAA,CAACL,IAAI;MAACgB,SAAS,EAAEF,gBAAiB;MAAAG,QAAA,eAChCZ,IAAA,CAACL,IAAI;QACHgB,SAAS,EAAE,gGACTR,OAAO,GAAG,oBAAoB,GAAG,iBAAiB;MACjD,CACE;IAAC,CACJ;EAAC,CACE,CAAC;AAEhB","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { TooltipVariantEnum } from "../enum/index.js";
|
|
5
|
+
export const contentVariants = cva("bg-chia-200 rounded-500 p-400 px-3 py-2 border z-50", {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: {
|
|
8
|
+
[TooltipVariantEnum.ERROR]: "text-red-600 border-blackberry-300",
|
|
9
|
+
[TooltipVariantEnum.TRIGGER]: "border-chia-400"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export const pointerVariants = cva("absolute -top-[9px] mx-4 w-0 h-0 border-l-8 border-r-8 border-b-8 border-l-transparent border-r-transparent", {
|
|
14
|
+
variants: {
|
|
15
|
+
variant: {
|
|
16
|
+
[TooltipVariantEnum.ERROR]: "border-b-blackberry-300",
|
|
17
|
+
[TooltipVariantEnum.TRIGGER]: "border-b-chia-400"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=class-variant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["cva","TooltipVariantEnum","contentVariants","variants","variant","ERROR","TRIGGER","pointerVariants"],"sourceRoot":"../../../../../src","sources":["components/Tooltip/assets/class-variant.ts"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,0BAA0B;AAC9C,SAASC,kBAAkB,QAAQ,kBAAS;AAE5C,OAAO,MAAMC,eAAe,GAAGF,GAAG,CAChC,qDAAqD,EACrD;EACEG,QAAQ,EAAE;IACRC,OAAO,EAAE;MACP,CAACH,kBAAkB,CAACI,KAAK,GAAG,oCAAoC;MAChE,CAACJ,kBAAkB,CAACK,OAAO,GAAG;IAChC;EACF;AACF,CACF,CAAC;AAED,OAAO,MAAMC,eAAe,GAAGP,GAAG,CAChC,6GAA6G,EAC7G;EACEG,QAAQ,EAAE;IACRC,OAAO,EAAE;MACP,CAACH,kBAAkB,CAACI,KAAK,GAAG,yBAAyB;MACrD,CAACJ,kBAAkB,CAACK,OAAO,GAAG;IAChC;EACF;AACF,CACF,CAAC","ignoreList":[]}
|