@kivid/native-components 1.0.0-alpha.5 → 1.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -57
- package/dist/commonjs/components/Avatar/assets/class-variants.js +9 -8
- package/dist/commonjs/components/Avatar/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/Avatar/index.js +46 -28
- package/dist/commonjs/components/Avatar/index.js.map +1 -1
- package/dist/commonjs/components/Button/assets/class-variants.js +8 -7
- package/dist/commonjs/components/Button/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/Button/index.js +4 -3
- package/dist/commonjs/components/Button/index.js.map +1 -1
- package/dist/commonjs/components/ChatBubble/assets/class-variants.js +68 -0
- package/dist/commonjs/components/ChatBubble/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/index.js +28 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleContent/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js +48 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js +27 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js +41 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js +38 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js +37 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js +6 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/index.js +48 -0
- package/dist/commonjs/components/ChatBubble/components/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/index.js +17 -0
- package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/types.js +6 -0
- package/dist/{module/components/InputOTP/components/InformationStatus → commonjs/components/ChatBubble/contexts/ChatBubbleContext}/types.js.map +1 -1
- package/dist/commonjs/components/ChatBubble/contexts/index.js +17 -0
- package/dist/commonjs/components/ChatBubble/contexts/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/index.js +94 -0
- package/dist/commonjs/components/ChatBubble/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/types.js +6 -0
- package/dist/commonjs/components/ChatBubble/types.js.map +1 -0
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +2 -2
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
- package/dist/commonjs/components/CheckboxInput/index.js.map +1 -0
- package/dist/commonjs/components/CheckboxInput/types.js +6 -0
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/types.js.map +1 -1
- package/dist/commonjs/components/Chip/enums/index.js +0 -11
- package/dist/commonjs/components/Chip/enums/index.js.map +1 -1
- package/dist/commonjs/components/Chip/index.js +4 -3
- package/dist/commonjs/components/Chip/index.js.map +1 -1
- package/dist/commonjs/components/IconButton/assets/class-variants.js +82 -0
- package/dist/commonjs/components/IconButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/IconButton/assets/design-system-showcase.js +119 -0
- package/dist/commonjs/components/IconButton/assets/design-system-showcase.js.map +1 -0
- package/dist/commonjs/components/IconButton/enums.js +33 -0
- package/dist/commonjs/components/IconButton/enums.js.map +1 -0
- package/dist/commonjs/components/IconButton/index.js +108 -0
- package/dist/commonjs/components/IconButton/index.js.map +1 -0
- package/dist/commonjs/components/IconButton/types.js +6 -0
- package/dist/commonjs/components/IconButton/types.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/index.js +8 -7
- package/dist/commonjs/components/InformationStatus/index.js.map +1 -1
- package/dist/commonjs/components/ListButton/assets/class-variants.js +52 -0
- package/dist/commonjs/components/ListButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/ListButton/assets/design-system-showcase.js +424 -0
- package/dist/commonjs/components/ListButton/assets/design-system-showcase.js.map +1 -0
- package/dist/commonjs/{hooks → components/ListButton/enums}/index.js +4 -4
- package/dist/commonjs/components/ListButton/enums/index.js.map +1 -0
- package/dist/commonjs/components/ListButton/enums/variant.js +17 -0
- package/dist/commonjs/components/ListButton/enums/variant.js.map +1 -0
- package/dist/commonjs/components/ListButton/index.js +109 -0
- package/dist/commonjs/components/ListButton/index.js.map +1 -0
- package/dist/commonjs/components/ListButton/types.js +6 -0
- package/dist/commonjs/components/ListButton/types.js.map +1 -0
- package/dist/commonjs/components/LoadingDots/index.js.map +1 -1
- package/dist/commonjs/components/OtpInput/assets/class-variant.js +24 -0
- package/dist/commonjs/components/OtpInput/assets/class-variant.js.map +1 -0
- package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +18 -15
- package/dist/commonjs/components/OtpInput/components/InformationStatus/index.js.map +1 -0
- package/dist/commonjs/components/OtpInput/components/InformationStatus/types.js +6 -0
- package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/types.js.map +1 -1
- package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js.map +1 -1
- package/dist/commonjs/components/OtpInput/enums/index.js +14 -0
- package/dist/commonjs/components/OtpInput/enums/index.js.map +1 -0
- package/dist/commonjs/components/OtpInput/index.js +106 -0
- package/dist/commonjs/components/OtpInput/index.js.map +1 -0
- package/dist/commonjs/components/OtpInput/types.js +6 -0
- package/dist/commonjs/components/{InputOTP → OtpInput}/types.js.map +1 -1
- package/dist/commonjs/components/RadioInput/assets/class-variants.js +101 -0
- package/dist/commonjs/components/RadioInput/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/RadioInput/enums/index.js +17 -0
- package/dist/commonjs/components/RadioInput/enums/index.js.map +1 -0
- package/dist/commonjs/components/RadioInput/index.js +41 -0
- package/dist/commonjs/components/RadioInput/index.js.map +1 -0
- package/dist/commonjs/components/RadioInput/types.js +6 -0
- package/dist/commonjs/components/RadioInput/types.js.map +1 -0
- package/dist/commonjs/components/Seal/assets/class-variants.js +3 -2
- package/dist/commonjs/components/Seal/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/Seal/components/AddIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/AddIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/AlertIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/AlertIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/ErrorIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/ErrorIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/LeftIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/LeftIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/MinusIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/MinusIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/RightIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/RightIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/SuccessIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/SuccessIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/index.js +5 -2
- package/dist/commonjs/components/Seal/index.js.map +1 -1
- package/dist/commonjs/components/SelectButton/assets/class-variants.js +31 -0
- package/dist/commonjs/components/SelectButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/SelectButton/enums/index.js +12 -0
- package/dist/commonjs/components/SelectButton/enums/index.js.map +1 -0
- package/dist/commonjs/components/SelectButton/index.js +110 -0
- package/dist/commonjs/components/SelectButton/index.js.map +1 -0
- package/dist/commonjs/components/SelectButton/types.js +6 -0
- package/dist/commonjs/components/SelectButton/types.js.map +1 -0
- package/dist/commonjs/components/TextInput/assets/class-variants.js +71 -0
- package/dist/commonjs/components/TextInput/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/TextInput/enums.js +12 -0
- package/dist/commonjs/components/TextInput/enums.js.map +1 -0
- package/dist/commonjs/components/TextInput/index.js +124 -0
- package/dist/commonjs/components/TextInput/index.js.map +1 -0
- package/dist/commonjs/components/TextInput/types.js +6 -0
- package/dist/commonjs/components/TextInput/types.js.map +1 -0
- package/dist/commonjs/components/Title/components/icon/index.js +2 -1
- package/dist/commonjs/components/Title/components/icon/index.js.map +1 -1
- package/dist/commonjs/components/Title/components/icon/types.js.map +1 -1
- package/dist/commonjs/components/Title/components/marker/index.js +4 -3
- package/dist/commonjs/components/Title/components/marker/index.js.map +1 -1
- package/dist/commonjs/components/Title/components/marker/types.js +4 -0
- package/dist/commonjs/components/Title/index.js +8 -7
- package/dist/commonjs/components/Title/index.js.map +1 -1
- package/dist/commonjs/components/Toast/assets/class-variants.js +32 -0
- package/dist/commonjs/components/Toast/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Toast/enums/index.js +28 -0
- package/dist/commonjs/components/Toast/enums/index.js.map +1 -0
- package/dist/commonjs/components/Toast/enums/position.js +12 -0
- package/dist/commonjs/components/Toast/enums/position.js.map +1 -0
- package/dist/commonjs/components/Toast/enums/variant.js +13 -0
- package/dist/commonjs/components/Toast/enums/variant.js.map +1 -0
- package/dist/commonjs/components/Toast/index.js +107 -0
- package/dist/commonjs/components/Toast/index.js.map +1 -0
- package/dist/commonjs/components/Toast/types.js +6 -0
- package/dist/commonjs/components/Toast/types.js.map +1 -0
- package/dist/commonjs/components/Tooltip/assets/class-variant.js +25 -0
- package/dist/commonjs/components/Tooltip/assets/class-variant.js.map +1 -0
- package/dist/commonjs/components/Tooltip/components/Content/index.js +83 -0
- package/dist/commonjs/components/Tooltip/components/Content/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/components/Content/types.js +6 -0
- package/dist/commonjs/components/Tooltip/components/Content/types.js.map +1 -0
- package/dist/commonjs/components/Tooltip/components/index.js +17 -0
- package/dist/commonjs/components/Tooltip/components/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/enum/index.js +18 -0
- package/dist/commonjs/components/Tooltip/enum/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/hooks/index.js +17 -0
- package/dist/commonjs/components/Tooltip/hooks/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js +66 -0
- package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js.map +1 -0
- package/dist/commonjs/components/Tooltip/index.js +82 -0
- package/dist/commonjs/components/Tooltip/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/types.js +6 -0
- package/dist/commonjs/components/Tooltip/types.js.map +1 -0
- package/dist/commonjs/components/Typography/assets/class-variants.js +1 -1
- package/dist/commonjs/components/Typography/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/index.js +190 -36
- package/dist/commonjs/components/index.js.map +1 -1
- package/dist/commonjs/enums/corners.js +14 -0
- package/dist/commonjs/enums/corners.js.map +1 -0
- package/dist/commonjs/enums/index.js +28 -0
- package/dist/commonjs/enums/index.js.map +1 -0
- package/dist/commonjs/enums/size.js +18 -0
- package/dist/commonjs/enums/size.js.map +1 -0
- package/dist/commonjs/iconography/Icons/index.js +1 -1
- package/dist/commonjs/iconography/Icons/index.js.map +1 -1
- package/dist/commonjs/index.js +11 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/storybook-utils/components/CodeBlock/index.js +50 -0
- package/dist/commonjs/storybook-utils/components/CodeBlock/index.js.map +1 -0
- package/dist/commonjs/storybook-utils/components/CodeBlock/types.js +2 -0
- package/dist/commonjs/storybook-utils/components/CodeBlock/types.js.map +1 -0
- package/dist/commonjs/storybook-utils/components/index.js +13 -0
- package/dist/commonjs/storybook-utils/components/index.js.map +1 -0
- package/dist/commonjs/storybook-utils/index.js +17 -0
- package/dist/commonjs/storybook-utils/index.js.map +1 -0
- package/dist/commonjs/{components/Avatar/enums → styles}/index.js +4 -4
- package/dist/commonjs/styles/index.js.map +1 -0
- package/dist/commonjs/styles/mixins/index.js +17 -0
- package/dist/commonjs/styles/mixins/index.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/index.js +72 -0
- package/dist/commonjs/styles/mixins/shadows/index.js.map +1 -0
- package/dist/module/components/Avatar/assets/class-variants.js +9 -8
- package/dist/module/components/Avatar/assets/class-variants.js.map +1 -1
- package/dist/module/components/Avatar/index.js +46 -28
- package/dist/module/components/Avatar/index.js.map +1 -1
- package/dist/module/components/Button/assets/class-variants.js +8 -7
- package/dist/module/components/Button/assets/class-variants.js.map +1 -1
- package/dist/module/components/Button/index.js +4 -3
- package/dist/module/components/Button/index.js.map +1 -1
- package/dist/module/components/ChatBubble/assets/class-variants.js +64 -0
- package/dist/module/components/ChatBubble/assets/class-variants.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleContent/index.js +22 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleContent/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleContent/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js +41 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js +22 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js +35 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js +33 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleText/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js +31 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js +4 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/index.js +9 -0
- package/dist/module/components/ChatBubble/components/index.js.map +1 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/index.js +12 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/index.js.map +1 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/types.js +4 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/types.js.map +1 -0
- package/dist/module/components/ChatBubble/contexts/index.js +4 -0
- package/dist/module/components/{InputOTP/components → ChatBubble/contexts}/index.js.map +1 -1
- package/dist/module/components/ChatBubble/index.js +91 -0
- package/dist/module/components/ChatBubble/index.js.map +1 -0
- package/dist/module/components/ChatBubble/types.js +4 -0
- package/dist/module/components/ChatBubble/types.js.map +1 -0
- package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
- package/dist/module/components/CheckboxInput/index.js.map +1 -0
- package/dist/module/components/CheckboxInput/types.js +4 -0
- package/dist/module/components/{InputCheckbox → CheckboxInput}/types.js.map +1 -1
- package/dist/module/components/Chip/enums/index.js +0 -1
- package/dist/module/components/Chip/enums/index.js.map +1 -1
- package/dist/module/components/Chip/index.js +4 -3
- package/dist/module/components/Chip/index.js.map +1 -1
- package/dist/module/components/IconButton/assets/class-variants.js +79 -0
- package/dist/module/components/IconButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/IconButton/assets/design-system-showcase.js +115 -0
- package/dist/module/components/IconButton/assets/design-system-showcase.js.map +1 -0
- package/dist/module/components/IconButton/enums.js +29 -0
- package/dist/module/components/IconButton/enums.js.map +1 -0
- package/dist/module/components/IconButton/index.js +103 -0
- package/dist/module/components/IconButton/index.js.map +1 -0
- package/dist/module/components/IconButton/types.js +4 -0
- package/dist/module/components/IconButton/types.js.map +1 -0
- package/dist/module/components/InformationStatus/index.js +8 -7
- package/dist/module/components/InformationStatus/index.js.map +1 -1
- package/dist/module/components/ListButton/assets/class-variants.js +49 -0
- package/dist/module/components/ListButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/ListButton/assets/design-system-showcase.js +420 -0
- package/dist/module/components/ListButton/assets/design-system-showcase.js.map +1 -0
- package/dist/module/components/ListButton/enums/index.js +4 -0
- package/dist/module/components/ListButton/enums/index.js.map +1 -0
- package/dist/module/components/ListButton/enums/variant.js +13 -0
- package/dist/module/components/ListButton/enums/variant.js.map +1 -0
- package/dist/module/components/ListButton/index.js +105 -0
- package/dist/module/components/ListButton/index.js.map +1 -0
- package/dist/module/components/ListButton/types.js +4 -0
- package/dist/module/components/ListButton/types.js.map +1 -0
- package/dist/module/components/LoadingDots/index.js.map +1 -1
- package/dist/module/components/OtpInput/assets/class-variant.js +20 -0
- package/dist/module/components/OtpInput/assets/class-variant.js.map +1 -0
- package/dist/module/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +20 -17
- package/dist/module/components/OtpInput/components/InformationStatus/index.js.map +1 -0
- package/dist/module/components/OtpInput/components/InformationStatus/types.js +4 -0
- package/dist/module/components/OtpInput/components/InformationStatus/types.js.map +1 -0
- package/dist/module/components/OtpInput/components/index.js.map +1 -0
- package/dist/module/components/OtpInput/enums/index.js +10 -0
- package/dist/module/components/OtpInput/enums/index.js.map +1 -0
- package/dist/module/components/OtpInput/index.js +101 -0
- package/dist/module/components/OtpInput/index.js.map +1 -0
- package/dist/module/components/OtpInput/types.js +4 -0
- package/dist/module/components/{InputOTP → OtpInput}/types.js.map +1 -1
- package/dist/module/components/RadioInput/assets/class-variants.js +97 -0
- package/dist/module/components/RadioInput/assets/class-variants.js.map +1 -0
- package/dist/module/components/RadioInput/enums/index.js +13 -0
- package/dist/module/components/RadioInput/enums/index.js.map +1 -0
- package/dist/module/components/RadioInput/index.js +37 -0
- package/dist/module/components/RadioInput/index.js.map +1 -0
- package/dist/module/components/RadioInput/types.js +4 -0
- package/dist/module/components/RadioInput/types.js.map +1 -0
- package/dist/module/components/Seal/assets/class-variants.js +3 -2
- package/dist/module/components/Seal/assets/class-variants.js.map +1 -1
- package/dist/module/components/Seal/components/AddIcon/index.js +4 -3
- package/dist/module/components/Seal/components/AddIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/AlertIcon/index.js +4 -3
- package/dist/module/components/Seal/components/AlertIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/ErrorIcon/index.js +4 -3
- package/dist/module/components/Seal/components/ErrorIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/LeftIcon/index.js +4 -3
- package/dist/module/components/Seal/components/LeftIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/MinusIcon/index.js +4 -3
- package/dist/module/components/Seal/components/MinusIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/RightIcon/index.js +4 -3
- package/dist/module/components/Seal/components/RightIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/SuccessIcon/index.js +4 -3
- package/dist/module/components/Seal/components/SuccessIcon/index.js.map +1 -1
- package/dist/module/components/Seal/index.js +5 -2
- package/dist/module/components/Seal/index.js.map +1 -1
- package/dist/module/components/SelectButton/assets/class-variants.js +28 -0
- package/dist/module/components/SelectButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/SelectButton/enums/index.js +8 -0
- package/dist/module/components/SelectButton/enums/index.js.map +1 -0
- package/dist/module/components/SelectButton/index.js +106 -0
- package/dist/module/components/SelectButton/index.js.map +1 -0
- package/dist/module/components/SelectButton/types.js +4 -0
- package/dist/module/components/SelectButton/types.js.map +1 -0
- package/dist/module/components/TextInput/assets/class-variants.js +67 -0
- package/dist/module/components/TextInput/assets/class-variants.js.map +1 -0
- package/dist/module/components/TextInput/enums.js +8 -0
- package/dist/module/components/TextInput/enums.js.map +1 -0
- package/dist/module/components/TextInput/index.js +118 -0
- package/dist/module/components/TextInput/index.js.map +1 -0
- package/dist/module/components/TextInput/types.js +4 -0
- package/dist/module/components/TextInput/types.js.map +1 -0
- package/dist/module/components/Title/components/icon/index.js +2 -1
- package/dist/module/components/Title/components/icon/index.js.map +1 -1
- package/dist/module/components/Title/components/icon/types.js.map +1 -1
- package/dist/module/components/Title/components/marker/index.js +4 -3
- package/dist/module/components/Title/components/marker/index.js.map +1 -1
- package/dist/module/components/Title/components/marker/types.js +2 -0
- package/dist/module/components/Title/index.js +8 -7
- package/dist/module/components/Title/index.js.map +1 -1
- package/dist/module/components/Toast/assets/class-variants.js +29 -0
- package/dist/module/components/Toast/assets/class-variants.js.map +1 -0
- package/dist/module/components/Toast/enums/index.js +5 -0
- package/dist/module/components/Toast/enums/index.js.map +1 -0
- package/dist/module/components/Toast/enums/position.js +8 -0
- package/dist/module/components/Toast/enums/position.js.map +1 -0
- package/dist/module/components/Toast/enums/variant.js +9 -0
- package/dist/module/components/Toast/enums/variant.js.map +1 -0
- package/dist/module/components/Toast/index.js +102 -0
- package/dist/module/components/Toast/index.js.map +1 -0
- package/dist/module/components/Toast/types.js +4 -0
- package/dist/module/components/Toast/types.js.map +1 -0
- package/dist/module/components/Tooltip/assets/class-variant.js +21 -0
- package/dist/module/components/Tooltip/assets/class-variant.js.map +1 -0
- package/dist/module/components/Tooltip/components/Content/index.js +78 -0
- package/dist/module/components/Tooltip/components/Content/index.js.map +1 -0
- package/dist/module/components/Tooltip/components/Content/types.js +4 -0
- package/dist/module/components/Tooltip/components/Content/types.js.map +1 -0
- package/dist/module/components/Tooltip/components/index.js +4 -0
- package/dist/module/components/Tooltip/components/index.js.map +1 -0
- package/dist/module/components/Tooltip/enum/index.js +14 -0
- package/dist/module/components/Tooltip/enum/index.js.map +1 -0
- package/dist/module/components/Tooltip/hooks/index.js +4 -0
- package/dist/module/components/Tooltip/hooks/index.js.map +1 -0
- package/dist/module/components/Tooltip/hooks/tooltip-position.js +62 -0
- package/dist/module/components/Tooltip/hooks/tooltip-position.js.map +1 -0
- package/dist/module/components/Tooltip/index.js +78 -0
- package/dist/module/components/Tooltip/index.js.map +1 -0
- package/dist/module/components/Tooltip/types.js +4 -0
- package/dist/module/components/Tooltip/types.js.map +1 -0
- package/dist/module/components/Typography/assets/class-variants.js +1 -1
- package/dist/module/components/Typography/assets/class-variants.js.map +1 -1
- package/dist/module/components/index.js +18 -4
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/enums/corners.js +10 -0
- package/dist/module/enums/corners.js.map +1 -0
- package/dist/module/enums/index.js +5 -0
- package/dist/module/enums/index.js.map +1 -0
- package/dist/module/enums/size.js +14 -0
- package/dist/module/enums/size.js.map +1 -0
- package/dist/module/iconography/Icons/index.js +2 -2
- package/dist/module/iconography/Icons/index.js.map +1 -1
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/storybook-utils/components/CodeBlock/index.js +44 -0
- package/dist/module/storybook-utils/components/CodeBlock/index.js.map +1 -0
- package/dist/module/storybook-utils/components/CodeBlock/types.js +2 -0
- package/dist/module/storybook-utils/components/CodeBlock/types.js.map +1 -0
- package/dist/module/storybook-utils/components/index.js +14 -0
- package/dist/module/storybook-utils/components/index.js.map +1 -0
- package/dist/module/storybook-utils/index.js +11 -0
- package/dist/module/storybook-utils/index.js.map +1 -0
- package/dist/module/styles/index.js +4 -0
- package/dist/module/styles/index.js.map +1 -0
- package/dist/module/styles/mixins/index.js +4 -0
- package/dist/module/styles/mixins/index.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-down-100.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-down-100.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-down-200.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-down-200.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-down-300.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-down-300.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-up-100.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-up-100.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-up-200.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-up-200.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-up-300.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-up-300.js.map +1 -0
- package/dist/module/styles/mixins/shadows/index.js +9 -0
- package/dist/module/styles/mixins/shadows/index.js.map +1 -0
- package/dist/typescript/components/Avatar/assets/class-variants.d.ts +2 -2
- package/dist/typescript/components/Avatar/index.d.ts +1 -1
- package/dist/typescript/components/Avatar/types.d.ts +3 -2
- package/dist/typescript/components/Button/assets/class-variants.d.ts +3 -2
- package/dist/typescript/components/Button/index.d.ts +2 -1
- package/dist/typescript/components/Button/types.d.ts +3 -2
- package/dist/typescript/components/ChatBubble/assets/class-variants.d.ts +7 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleContent/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleContent/types.d.ts +5 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleEar/index.d.ts +8 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleLoading/index.d.ts +9 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/index.d.ts +3 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/types.d.ts +4 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleText/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleText/types.d.ts +4 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/types.d.ts +5 -0
- package/dist/typescript/components/ChatBubble/components/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/contexts/ChatBubbleContext/index.d.ts +3 -0
- package/dist/typescript/components/ChatBubble/contexts/ChatBubbleContext/types.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/contexts/index.d.ts +1 -0
- package/dist/typescript/components/ChatBubble/index.d.ts +12 -0
- package/dist/typescript/components/ChatBubble/types.d.ts +13 -0
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/assets/class-variants.d.ts +1 -1
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.d.ts +1 -1
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.d.ts +1 -1
- package/dist/typescript/components/CheckboxInput/index.d.ts +2 -0
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/types.d.ts +3 -2
- package/dist/typescript/components/Chip/enums/index.d.ts +0 -1
- package/dist/typescript/components/Chip/index.d.ts +1 -1
- package/dist/typescript/components/Chip/types.d.ts +3 -2
- package/dist/typescript/components/HighlightedText/index.d.ts +1 -1
- package/dist/typescript/components/IconButton/assets/class-variants.d.ts +8 -0
- package/dist/typescript/components/IconButton/assets/design-system-showcase.d.ts +17 -0
- package/dist/typescript/components/IconButton/enums.d.ts +22 -0
- package/dist/typescript/components/IconButton/index.d.ts +2 -0
- package/dist/typescript/components/IconButton/types.d.ts +15 -0
- package/dist/typescript/components/InformationStatus/components/GradientAdd/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/components/GradientAlert/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/components/GradientCheck/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/components/GradientClose/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/types.d.ts +3 -1
- package/dist/typescript/components/ListButton/assets/class-variants.d.ts +11 -0
- package/dist/typescript/components/ListButton/assets/design-system-showcase.d.ts +14 -0
- package/dist/typescript/components/ListButton/enums/index.d.ts +1 -0
- package/dist/typescript/components/ListButton/enums/variant.d.ts +9 -0
- package/dist/typescript/components/ListButton/index.d.ts +2 -0
- package/dist/typescript/components/ListButton/types.d.ts +18 -0
- package/dist/typescript/components/LoadingDots/index.d.ts +1 -1
- package/dist/typescript/components/OtpInput/assets/class-variant.d.ts +5 -0
- package/dist/typescript/components/{InputOTP → OtpInput}/components/InformationStatus/index.d.ts +1 -1
- package/dist/typescript/components/OtpInput/components/InformationStatus/types.d.ts +6 -0
- package/dist/typescript/components/OtpInput/enums/index.d.ts +6 -0
- package/dist/typescript/components/OtpInput/index.d.ts +3 -0
- package/dist/typescript/components/OtpInput/types.d.ts +12 -0
- package/dist/typescript/components/RadioInput/assets/class-variants.d.ts +6 -0
- package/dist/typescript/components/RadioInput/enums/index.d.ts +9 -0
- package/dist/typescript/components/RadioInput/index.d.ts +2 -0
- package/dist/typescript/components/RadioInput/types.d.ts +8 -0
- package/dist/typescript/components/Seal/assets/class-variants.d.ts +2 -1
- package/dist/typescript/components/Seal/components/AddIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/AlertIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/ErrorIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/LeftIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/MinusIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/RightIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/SuccessIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/types.d.ts +3 -1
- package/dist/typescript/components/SelectButton/assets/class-variants.d.ts +7 -0
- package/dist/typescript/components/SelectButton/enums/index.d.ts +4 -0
- package/dist/typescript/components/SelectButton/index.d.ts +2 -0
- package/dist/typescript/components/SelectButton/types.d.ts +17 -0
- package/dist/typescript/components/TextInput/assets/class-variants.d.ts +15 -0
- package/dist/typescript/components/TextInput/enums.d.ts +4 -0
- package/dist/typescript/components/TextInput/index.d.ts +6 -0
- package/dist/typescript/components/TextInput/types.d.ts +18 -0
- package/dist/typescript/components/Title/components/icon/index.d.ts +1 -1
- package/dist/typescript/components/Title/components/icon/types.d.ts +3 -1
- package/dist/typescript/components/Title/components/marker/index.d.ts +1 -1
- package/dist/typescript/components/Title/components/marker/types.d.ts +3 -1
- package/dist/typescript/components/Title/index.d.ts +1 -1
- package/dist/typescript/components/Title/types.d.ts +3 -1
- package/dist/typescript/components/Toast/assets/class-variants.d.ts +8 -0
- package/dist/typescript/components/Toast/enums/index.d.ts +2 -0
- package/dist/typescript/components/Toast/enums/position.d.ts +4 -0
- package/dist/typescript/components/Toast/enums/variant.d.ts +5 -0
- package/dist/typescript/components/Toast/index.d.ts +2 -0
- package/dist/typescript/components/Toast/types.d.ts +11 -0
- package/dist/typescript/components/Toggle/index.d.ts +1 -1
- package/dist/typescript/components/Tooltip/assets/class-variant.d.ts +7 -0
- package/dist/typescript/components/Tooltip/components/Content/index.d.ts +2 -0
- package/dist/typescript/components/Tooltip/components/Content/types.d.ts +14 -0
- package/dist/typescript/components/Tooltip/components/index.d.ts +1 -0
- package/dist/typescript/components/Tooltip/enum/index.d.ts +9 -0
- package/dist/typescript/components/Tooltip/hooks/index.d.ts +1 -0
- package/dist/typescript/components/Tooltip/hooks/tooltip-position.d.ts +17 -0
- package/dist/typescript/components/Tooltip/index.d.ts +2 -0
- package/dist/typescript/components/Tooltip/types.d.ts +14 -0
- package/dist/typescript/components/index.d.ts +29 -6
- package/dist/typescript/{components/Avatar/enums/size.d.ts → enums/corners.d.ts} +1 -2
- package/dist/typescript/enums/index.d.ts +2 -0
- package/dist/typescript/enums/size.d.ts +10 -0
- package/dist/typescript/iconography/Icons/index.d.ts +2 -1
- package/dist/typescript/index.d.ts +1 -0
- package/dist/typescript/storybook-utils/components/CodeBlock/index.d.ts +4 -0
- package/dist/typescript/storybook-utils/components/CodeBlock/types.d.ts +6 -0
- package/dist/typescript/storybook-utils/components/index.d.ts +11 -0
- package/dist/typescript/storybook-utils/index.d.ts +7 -0
- package/dist/typescript/styles/index.d.ts +1 -0
- package/dist/typescript/styles/mixins/index.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-down-100.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-down-200.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-down-300.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-up-100.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-up-200.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-up-300.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/index.d.ts +6 -0
- package/package.json +38 -60
- package/src/components/Avatar/assets/class-variants.ts +9 -8
- package/src/components/Avatar/index.tsx +58 -37
- package/src/components/Avatar/types.ts +10 -2
- package/src/components/Button/assets/class-variants.ts +8 -7
- package/src/components/Button/index.tsx +8 -7
- package/src/components/Button/types.ts +3 -2
- package/src/components/ChatBubble/assets/class-variants.ts +75 -0
- package/src/components/ChatBubble/components/ChatBubbleContent/index.tsx +24 -0
- package/src/components/ChatBubble/components/ChatBubbleContent/types.ts +6 -0
- package/src/components/ChatBubble/components/ChatBubbleEar/index.tsx +40 -0
- package/src/components/ChatBubble/components/ChatBubbleLoading/index.tsx +25 -0
- package/src/components/ChatBubble/components/ChatBubbleSeal/index.tsx +37 -0
- package/src/components/ChatBubble/components/ChatBubbleSeal/types.ts +5 -0
- package/src/components/ChatBubble/components/ChatBubbleText/index.tsx +36 -0
- package/src/components/ChatBubble/components/ChatBubbleText/types.ts +6 -0
- package/src/components/ChatBubble/components/ChatBubbleTime/index.tsx +34 -0
- package/src/components/ChatBubble/components/ChatBubbleTime/types.ts +6 -0
- package/src/components/ChatBubble/components/index.ts +6 -0
- package/src/components/ChatBubble/contexts/ChatBubbleContext/index.tsx +17 -0
- package/src/components/ChatBubble/contexts/ChatBubbleContext/types.ts +11 -0
- package/src/components/ChatBubble/contexts/index.ts +1 -0
- package/src/components/ChatBubble/index.tsx +115 -0
- package/src/components/ChatBubble/types.ts +15 -0
- package/src/components/{InputCheckbox → CheckboxInput}/assets/class-variants.ts +1 -1
- package/src/components/{InputCheckbox → CheckboxInput}/index.tsx +10 -8
- package/src/components/{InputCheckbox → CheckboxInput}/types.ts +3 -2
- package/src/components/Chip/enums/index.ts +0 -1
- package/src/components/Chip/index.tsx +5 -3
- package/src/components/Chip/types.ts +3 -2
- package/src/components/IconButton/assets/class-variants.ts +126 -0
- package/src/components/IconButton/assets/design-system-showcase.ts +246 -0
- package/src/components/IconButton/enums.ts +26 -0
- package/src/components/IconButton/index.tsx +124 -0
- package/src/components/IconButton/types.ts +22 -0
- package/src/components/InformationStatus/index.tsx +14 -7
- package/src/components/InformationStatus/types.ts +7 -1
- package/src/components/ListButton/assets/class-variants.ts +78 -0
- package/src/components/ListButton/assets/design-system-showcase.ts +502 -0
- package/src/components/ListButton/enums/index.ts +1 -0
- package/src/components/ListButton/enums/variant.ts +9 -0
- package/src/components/ListButton/index.tsx +126 -0
- package/src/components/ListButton/types.ts +21 -0
- package/src/components/LoadingDots/index.tsx +0 -1
- package/src/components/OtpInput/assets/class-variant.ts +21 -0
- package/src/components/{InputOTP → OtpInput}/components/InformationStatus/index.tsx +20 -18
- package/src/components/OtpInput/components/InformationStatus/types.ts +6 -0
- package/src/components/{InputOTP → OtpInput}/enums/index.ts +1 -2
- package/src/components/OtpInput/index.tsx +116 -0
- package/src/components/OtpInput/types.ts +13 -0
- package/src/components/RadioInput/assets/class-variants.ts +112 -0
- package/src/components/RadioInput/enums/index.ts +9 -0
- package/src/components/RadioInput/index.tsx +36 -0
- package/src/components/RadioInput/types.ts +9 -0
- package/src/components/Seal/assets/class-variants.ts +3 -2
- package/src/components/Seal/components/AddIcon/index.tsx +7 -3
- package/src/components/Seal/components/AlertIcon/index.tsx +7 -3
- package/src/components/Seal/components/ErrorIcon/index.tsx +7 -3
- package/src/components/Seal/components/LeftIcon/index.tsx +7 -3
- package/src/components/Seal/components/MinusIcon/index.tsx +7 -3
- package/src/components/Seal/components/RightIcon/index.tsx +7 -3
- package/src/components/Seal/components/SuccessIcon/index.tsx +7 -3
- package/src/components/Seal/index.tsx +4 -1
- package/src/components/Seal/types.ts +4 -2
- package/src/components/SelectButton/assets/class-variants.ts +28 -0
- package/src/components/SelectButton/enums/index.ts +4 -0
- package/src/components/SelectButton/index.tsx +133 -0
- package/src/components/SelectButton/types.ts +20 -0
- package/src/components/TextInput/assets/class-variants.ts +74 -0
- package/src/components/TextInput/enums.ts +4 -0
- package/src/components/TextInput/index.tsx +145 -0
- package/src/components/TextInput/types.ts +24 -0
- package/src/components/Title/components/icon/index.tsx +2 -1
- package/src/components/Title/components/icon/types.ts +6 -1
- package/src/components/Title/components/marker/index.tsx +4 -3
- package/src/components/Title/components/marker/types.ts +5 -1
- package/src/components/Title/index.tsx +8 -7
- package/src/components/Title/types.ts +11 -1
- package/src/components/Toast/assets/class-variants.ts +32 -0
- package/src/components/Toast/enums/index.ts +2 -0
- package/src/components/Toast/enums/position.ts +4 -0
- package/src/components/Toast/enums/variant.ts +5 -0
- package/src/components/Toast/index.tsx +102 -0
- package/src/components/Toast/types.ts +12 -0
- package/src/components/Tooltip/assets/class-variant.ts +26 -0
- package/src/components/Tooltip/components/Content/index.tsx +93 -0
- package/src/components/Tooltip/components/Content/types.ts +15 -0
- package/src/components/Tooltip/components/index.ts +1 -0
- package/src/components/Tooltip/enum/index.ts +10 -0
- package/src/components/Tooltip/hooks/index.ts +1 -0
- package/src/components/Tooltip/hooks/tooltip-position.ts +85 -0
- package/src/components/Tooltip/index.tsx +90 -0
- package/src/components/Tooltip/types.ts +15 -0
- package/src/components/Typography/assets/class-variants.ts +1 -1
- package/src/components/index.ts +37 -6
- package/src/{components/Avatar/enums/size.ts → enums/corners.ts} +1 -2
- package/src/enums/index.ts +2 -0
- package/src/enums/size.ts +10 -0
- package/src/iconography/Icons/index.tsx +2 -3
- package/src/index.ts +1 -0
- package/src/storybook-utils/components/CodeBlock/index.tsx +46 -0
- package/src/storybook-utils/components/CodeBlock/types.ts +6 -0
- package/src/storybook-utils/components/index.ts +12 -0
- package/src/storybook-utils/index.ts +8 -0
- package/src/styles/index.ts +1 -0
- package/src/styles/mixins/index.ts +1 -0
- package/src/styles/mixins/shadows/elevation-down-100.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-down-200.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-down-300.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-up-100.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-up-200.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-up-300.tsx +2 -0
- package/src/styles/mixins/shadows/index.ts +6 -0
- package/dist/README.md +0 -57
- package/dist/commonjs/components/Avatar/enums/index.js.map +0 -1
- package/dist/commonjs/components/Avatar/enums/size.js +0 -15
- package/dist/commonjs/components/Avatar/enums/size.js.map +0 -1
- package/dist/commonjs/components/Chip/enums/chip-size.js +0 -12
- package/dist/commonjs/components/Chip/enums/chip-size.js.map +0 -1
- package/dist/commonjs/components/InputCheckbox/index.js.map +0 -1
- package/dist/commonjs/components/InputOTP/components/InformationStatus/index.js.map +0 -1
- package/dist/commonjs/components/InputOTP/enums/index.js +0 -15
- package/dist/commonjs/components/InputOTP/enums/index.js.map +0 -1
- package/dist/commonjs/components/InputOTP/index.js +0 -135
- package/dist/commonjs/components/InputOTP/index.js.map +0 -1
- package/dist/commonjs/hooks/index.js.map +0 -1
- package/dist/commonjs/hooks/use-fonts.js +0 -39
- package/dist/commonjs/hooks/use-fonts.js.map +0 -1
- package/dist/module/components/Avatar/enums/index.js +0 -4
- package/dist/module/components/Avatar/enums/index.js.map +0 -1
- package/dist/module/components/Avatar/enums/size.js +0 -11
- package/dist/module/components/Avatar/enums/size.js.map +0 -1
- package/dist/module/components/Chip/enums/chip-size.js +0 -8
- package/dist/module/components/Chip/enums/chip-size.js.map +0 -1
- package/dist/module/components/InputCheckbox/index.js.map +0 -1
- package/dist/module/components/InputOTP/components/InformationStatus/index.js.map +0 -1
- package/dist/module/components/InputOTP/enums/index.js +0 -11
- package/dist/module/components/InputOTP/enums/index.js.map +0 -1
- package/dist/module/components/InputOTP/index.js +0 -130
- package/dist/module/components/InputOTP/index.js.map +0 -1
- package/dist/module/hooks/index.js +0 -4
- package/dist/module/hooks/index.js.map +0 -1
- package/dist/module/hooks/use-fonts.js +0 -35
- package/dist/module/hooks/use-fonts.js.map +0 -1
- package/dist/package.json +0 -56
- package/dist/typescript/components/Avatar/enums/index.d.ts +0 -1
- package/dist/typescript/components/Chip/enums/chip-size.d.ts +0 -4
- package/dist/typescript/components/InputCheckbox/index.d.ts +0 -2
- package/dist/typescript/components/InputOTP/components/InformationStatus/types.d.ts +0 -6
- package/dist/typescript/components/InputOTP/enums/index.d.ts +0 -7
- package/dist/typescript/components/InputOTP/index.d.ts +0 -3
- package/dist/typescript/components/InputOTP/types.d.ts +0 -11
- package/dist/typescript/hooks/index.d.ts +0 -1
- package/dist/typescript/hooks/use-fonts.d.ts +0 -10
- package/index.js +0 -6
- package/src/components/Avatar/enums/index.ts +0 -1
- package/src/components/Avatar/index.stories.tsx +0 -84
- package/src/components/Button/index.stories.tsx +0 -407
- package/src/components/Chip/enums/chip-size.ts +0 -4
- package/src/components/Chip/index.stories.tsx +0 -95
- package/src/components/HighlightedText/index.stories.tsx +0 -209
- package/src/components/InformationStatus/index.stories.tsx +0 -112
- package/src/components/InputCheckbox/index.stories.tsx +0 -133
- package/src/components/InputOTP/components/InformationStatus/types.ts +0 -6
- package/src/components/InputOTP/index.stories.tsx +0 -256
- package/src/components/InputOTP/index.tsx +0 -177
- package/src/components/InputOTP/types.ts +0 -12
- package/src/components/LoadingDots/index.stories.tsx +0 -74
- package/src/components/Seal/index.stories.tsx +0 -124
- package/src/components/Title/index.stories.tsx +0 -729
- package/src/components/Toggle/index.stories.tsx +0 -88
- package/src/components/Typography/index.stories.tsx +0 -218
- package/src/hooks/index.ts +0 -1
- package/src/hooks/use-fonts.ts +0 -30
- package/src/iconography/Icons/index.stories.tsx +0 -23
- /package/dist/commonjs/components/{InputCheckbox → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
- /package/dist/commonjs/components/{InputOTP/components/InformationStatus → ChatBubble/components/ChatBubbleSeal}/types.js +0 -0
- /package/dist/commonjs/components/{InputOTP → ChatBubble/components/ChatBubbleText}/types.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
- /package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
- /package/dist/module/components/{InputOTP/components/InformationStatus → ChatBubble/components/ChatBubbleSeal}/types.js +0 -0
- /package/dist/module/components/{InputOTP → ChatBubble/components/ChatBubbleText}/types.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
- /package/dist/module/components/{InputOTP → OtpInput}/components/index.js +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.d.ts +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/index.d.ts +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/select-variant.d.ts +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/index.d.ts +0 -0
- /package/dist/typescript/components/{InputOTP → OtpInput}/components/index.d.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/enums/index.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/enums/select-variant.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.tsx +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.tsx +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/icons/index.ts +0 -0
- /package/src/components/{InputOTP → OtpInput}/components/index.ts +0 -0
|
@@ -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,102 @@
|
|
|
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 { Close } 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
|
+
useEffect(() => {
|
|
28
|
+
if (!isToastOpen) return;
|
|
29
|
+
if (timerRef.current) clearTimeout(timerRef.current);
|
|
30
|
+
Animated.timing(animatedValue, {
|
|
31
|
+
toValue: 1,
|
|
32
|
+
duration: 200,
|
|
33
|
+
useNativeDriver: true
|
|
34
|
+
}).start();
|
|
35
|
+
timerRef.current = setTimeout(() => {
|
|
36
|
+
Animated.timing(animatedValue, {
|
|
37
|
+
toValue: 0,
|
|
38
|
+
duration: 200,
|
|
39
|
+
useNativeDriver: true
|
|
40
|
+
}).start(() => {
|
|
41
|
+
onCloseToast(false);
|
|
42
|
+
});
|
|
43
|
+
}, durationInMilliSeconds);
|
|
44
|
+
return () => {
|
|
45
|
+
if (timerRef.current) clearTimeout(timerRef.current);
|
|
46
|
+
};
|
|
47
|
+
}, [isToastOpen]);
|
|
48
|
+
if (!isToastOpen) return null;
|
|
49
|
+
function handleClose() {
|
|
50
|
+
onCloseToast(false);
|
|
51
|
+
if (timerRef.current) clearTimeout(timerRef.current);
|
|
52
|
+
}
|
|
53
|
+
const toastStyle = toastVariants({
|
|
54
|
+
variant
|
|
55
|
+
});
|
|
56
|
+
const containerStyle = containerVariants({
|
|
57
|
+
position
|
|
58
|
+
});
|
|
59
|
+
const iconMap = {
|
|
60
|
+
[ToastVariantEnum.SUCCESS]: () => /*#__PURE__*/_jsx(Seal, {
|
|
61
|
+
variant: SealVariantEnum.SUCCESS,
|
|
62
|
+
inverted: true
|
|
63
|
+
}),
|
|
64
|
+
[ToastVariantEnum.ERROR]: () => /*#__PURE__*/_jsx(Seal, {
|
|
65
|
+
variant: SealVariantEnum.ERROR,
|
|
66
|
+
inverted: true
|
|
67
|
+
}),
|
|
68
|
+
[ToastVariantEnum.WARNING]: () => /*#__PURE__*/_jsx(Seal, {
|
|
69
|
+
variant: SealVariantEnum.ALERT,
|
|
70
|
+
inverted: true
|
|
71
|
+
})
|
|
72
|
+
};
|
|
73
|
+
const Icon = iconMap[variant];
|
|
74
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
75
|
+
className: containerStyle,
|
|
76
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
77
|
+
className: merge(toastStyle, className),
|
|
78
|
+
style: {
|
|
79
|
+
boxShadow: elevationDown100
|
|
80
|
+
},
|
|
81
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
82
|
+
className: "flex flex-row items-center gap-500",
|
|
83
|
+
children: [/*#__PURE__*/_jsx(Icon, {}), /*#__PURE__*/_jsx(View, {
|
|
84
|
+
className: "flex items-center gap-8",
|
|
85
|
+
children: /*#__PURE__*/_jsx(Typography, {
|
|
86
|
+
className: merge("title_small font-bold text-chia-100", descriptionClassName),
|
|
87
|
+
children: description
|
|
88
|
+
})
|
|
89
|
+
})]
|
|
90
|
+
}), /*#__PURE__*/_jsx(Pressable, {
|
|
91
|
+
className: "cursor-pointer",
|
|
92
|
+
onPress: handleClose,
|
|
93
|
+
children: /*#__PURE__*/_jsx(Close, {
|
|
94
|
+
color: "#FAFCFC",
|
|
95
|
+
size: 30
|
|
96
|
+
})
|
|
97
|
+
})]
|
|
98
|
+
})
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
;
|
|
102
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","useRef","View","Animated","Pressable","ToastPositionEnum","ToastVariantEnum","containerVariants","toastVariants","Close","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","clearTimeout","timing","toValue","duration","useNativeDriver","start","setTimeout","handleClose","toastStyle","containerStyle","iconMap","inverted","ERROR","WARNING","ALERT","Icon","children","style","boxShadow","onPress","color","size"],"sourceRoot":"../../../../src","sources":["components/Toast/index.tsx"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,QAAQ,OAAO;AACzC,SAASC,IAAI,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,cAAc;AAExD,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,kBA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UAAU,EAAEnB,SAAS,CAAE;MACxC4B,KAAK,EAAE;QACLC,SAAS,EAAEvC;MACb,CAAE;MAAAqC,QAAA,gBAEFjC,KAAA,CAAChB,IAAI;QAACsB,SAAS,EAAC,oCAAoC;QAAA2B,QAAA,gBAClDnC,IAAA,CAACkC,IAAI,IAAE,CAAC,eAERlC,IAAA,CAACd,IAAI;UAACsB,SAAS,EAAC,yBAAyB;UAAA2B,QAAA,eACvCnC,IAAA,CAACN,UAAU;YACTc,SAAS,EAAEb,KAAK,CAAC,qCAAqC,EAAEc,oBAAoB,CAAE;YAAA0B,QAAA,EAE7E9B;UAAW,CACF;QAAC,CACT,CAAC;MAAA,CACH,CAAC,eAEPL,IAAA,CAACZ,SAAS;QAACoB,SAAS,EAAC,gBAAgB;QAAC8B,OAAO,EAAEZ,WAAY;QAAAS,QAAA,eACzDnC,IAAA,CAACP,KAAK;UAAC8C,KAAK,EAAC,SAAS;UAACC,IAAI,EAAE;QAAG,CAAE;MAAC,CAC1B,CAAC;IAAA,CACR;EAAC,CACM,CAAC;AAEpB;AAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Toast/types.ts"],"mappings":"","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":[]}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from "react-native";
|
|
4
|
+
import { merge } from "@kivid/tailwind-preset";
|
|
5
|
+
import { TooltipPointerOffsetEnum, TooltipVariantEnum } from "../../enum/index.js";
|
|
6
|
+
import { contentVariants, pointerVariants } from "../../assets/class-variant.js";
|
|
7
|
+
import { SealVariantEnum } from "../../../Seal/enums/index.js";
|
|
8
|
+
import { Seal } from "../../../Seal/index.js";
|
|
9
|
+
import Typography from "../../../Typography/index.js";
|
|
10
|
+
import { SizeEnum } from "../../../../enums/index.js";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
export function Content(props) {
|
|
13
|
+
const {
|
|
14
|
+
message,
|
|
15
|
+
variant = TooltipVariantEnum.TRIGGER,
|
|
16
|
+
className,
|
|
17
|
+
isVisible,
|
|
18
|
+
translateX,
|
|
19
|
+
pointerOffset,
|
|
20
|
+
pointerClassName,
|
|
21
|
+
containerClassName,
|
|
22
|
+
onLayout
|
|
23
|
+
} = props;
|
|
24
|
+
const pointerStyle = pointerVariants({
|
|
25
|
+
variant
|
|
26
|
+
});
|
|
27
|
+
const contentStyle = contentVariants({
|
|
28
|
+
variant
|
|
29
|
+
});
|
|
30
|
+
const mergedContainerClassName = merge("absolute top-full mt-[9px] z-50 self-center", containerClassName);
|
|
31
|
+
function renderContent() {
|
|
32
|
+
if (variant === TooltipVariantEnum.ERROR) {
|
|
33
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
34
|
+
className: "flex flex-row items-center gap-2",
|
|
35
|
+
children: [/*#__PURE__*/_jsx(Seal, {
|
|
36
|
+
variant: SealVariantEnum.ERROR,
|
|
37
|
+
size: SizeEnum.SMALL
|
|
38
|
+
}), typeof message === "string" ? /*#__PURE__*/_jsx(Typography, {
|
|
39
|
+
className: "text-blackberry-500",
|
|
40
|
+
variant: "body_small",
|
|
41
|
+
weight: "600",
|
|
42
|
+
children: message
|
|
43
|
+
}) : message]
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
return typeof message === "string" ? /*#__PURE__*/_jsx(Typography, {
|
|
47
|
+
className: "text-chia-900",
|
|
48
|
+
variant: "body_small",
|
|
49
|
+
weight: "600",
|
|
50
|
+
children: message
|
|
51
|
+
}) : message;
|
|
52
|
+
}
|
|
53
|
+
if (!isVisible) return null;
|
|
54
|
+
const mappedPointerPosition = {
|
|
55
|
+
[TooltipPointerOffsetEnum.LEFT]: "flex-start",
|
|
56
|
+
[TooltipPointerOffsetEnum.RIGHT]: "flex-end",
|
|
57
|
+
[TooltipPointerOffsetEnum.CENTER]: "center"
|
|
58
|
+
};
|
|
59
|
+
return /*#__PURE__*/_jsx(View, {
|
|
60
|
+
className: mergedContainerClassName,
|
|
61
|
+
style: {
|
|
62
|
+
transform: [{
|
|
63
|
+
translateX: translateX ?? 0
|
|
64
|
+
}]
|
|
65
|
+
},
|
|
66
|
+
onLayout: onLayout,
|
|
67
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
68
|
+
className: merge(contentStyle, className),
|
|
69
|
+
children: [renderContent(), /*#__PURE__*/_jsx(View, {
|
|
70
|
+
className: merge(pointerStyle, pointerClassName),
|
|
71
|
+
style: {
|
|
72
|
+
alignSelf: mappedPointerPosition[pointerOffset ?? TooltipPointerOffsetEnum.CENTER]
|
|
73
|
+
}
|
|
74
|
+
})]
|
|
75
|
+
})
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","merge","TooltipPointerOffsetEnum","TooltipVariantEnum","contentVariants","pointerVariants","SealVariantEnum","Seal","Typography","SizeEnum","jsx","_jsx","jsxs","_jsxs","Content","props","message","variant","TRIGGER","className","isVisible","translateX","pointerOffset","pointerClassName","containerClassName","onLayout","pointerStyle","contentStyle","mergedContainerClassName","renderContent","ERROR","children","size","SMALL","weight","mappedPointerPosition","LEFT","RIGHT","CENTER","style","transform","alignSelf"],"sourceRoot":"../../../../../../src","sources":["components/Tooltip/components/Content/index.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,KAAK,QAAQ,wBAAwB;AAE9C,SAASC,wBAAwB,EAAEC,kBAAkB,QAAQ,qBAAY;AACzE,SAASC,eAAe,EAAEC,eAAe,QAAQ,+BAA4B;AAC7E,SAASC,eAAe,QAAQ,8BAAqB;AACrD,SAASC,IAAI,QAAQ,wBAAe;A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D;EACH;EAEA,IAAI,CAACI,SAAS,EAAE,OAAO,IAAI;EAE3B,MAAMe,qBAGL,GAAG;IACF,CAACjC,wBAAwB,CAACkC,IAAI,GAAG,YAAY;IAC7C,CAAClC,wBAAwB,CAACmC,KAAK,GAAG,UAAU;IAC5C,CAACnC,wBAAwB,CAACoC,MAAM,GAAG;EACrC,CAAC;EAED,oBACE3B,IAAA,CAACX,IAAI;IACHmB,SAAS,EAAES,wBAAyB;IACpCW,KAAK,EAAE;MACLC,SAAS,EAAE,CAAC;QAAEnB,UAAU,EAAEA,UAAU,IAAI;MAAE,CAAC;IAC7C,CAAE;IACFI,QAAQ,EAAEA,QAAS;IAAAM,QAAA,eAEnBlB,KAAA,CAACb,IAAI;MAACmB,SAAS,EAAElB,KAAK,CAAC0B,YAAY,EAAER,SAAS,CAAE;MAAAY,QAAA,GAC7CF,aAAa,CAAC,CAAC,eAChBlB,IAAA,CAACX,IAAI;QACHmB,SAAS,EAAElB,KAAK,CAACyB,YAAY,EAAEH,gBAAgB,CAAE;QACjDgB,KAAK,EAAE;UACLE,SAAS,EACPN,qBAAqB,CACnBb,aAAa,IAAIpB,wBAAwB,CAACoC,MAAM;QAEtD;MAAE,CACH,CAAC;IAAA,CACE;EAAC,CACH,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/Tooltip/components/Content/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Tooltip/components/index.ts"],"mappings":";;AAAA,cAAc,oBAAW","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export let TooltipVariantEnum = /*#__PURE__*/function (TooltipVariantEnum) {
|
|
4
|
+
TooltipVariantEnum["ERROR"] = "error";
|
|
5
|
+
TooltipVariantEnum["TRIGGER"] = "trigger";
|
|
6
|
+
return TooltipVariantEnum;
|
|
7
|
+
}({});
|
|
8
|
+
export let TooltipPointerOffsetEnum = /*#__PURE__*/function (TooltipPointerOffsetEnum) {
|
|
9
|
+
TooltipPointerOffsetEnum["LEFT"] = "left";
|
|
10
|
+
TooltipPointerOffsetEnum["CENTER"] = "center";
|
|
11
|
+
TooltipPointerOffsetEnum["RIGHT"] = "right";
|
|
12
|
+
return TooltipPointerOffsetEnum;
|
|
13
|
+
}({});
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TooltipVariantEnum","TooltipPointerOffsetEnum"],"sourceRoot":"../../../../../src","sources":["components/Tooltip/enum/index.ts"],"mappings":";;AAAA,WAAYA,kBAAkB,0BAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAA,OAAlBA,kBAAkB;AAAA;AAK9B,WAAYC,wBAAwB,0BAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Tooltip/hooks/index.ts"],"mappings":";;AAAA,cAAc,uBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useState, useCallback, useMemo } from "react";
|
|
4
|
+
import { Dimensions } from "react-native";
|
|
5
|
+
import { TooltipPointerOffsetEnum } from "../enum/index.js";
|
|
6
|
+
export function useTooltipPosition() {
|
|
7
|
+
const [triggerLayout, setTriggerLayout] = useState(null);
|
|
8
|
+
const [tooltipLayout, setTooltipLayout] = useState(null);
|
|
9
|
+
const screenWidth = Dimensions.get("window").width;
|
|
10
|
+
const onTriggerLayout = useCallback(event => {
|
|
11
|
+
setTriggerLayout(event.nativeEvent.layout);
|
|
12
|
+
}, []);
|
|
13
|
+
const onTooltipLayout = useCallback(event => {
|
|
14
|
+
setTooltipLayout(event.nativeEvent.layout);
|
|
15
|
+
}, []);
|
|
16
|
+
const pointerOffset = useMemo(() => {
|
|
17
|
+
if (!triggerLayout || !tooltipLayout) return TooltipPointerOffsetEnum.CENTER;
|
|
18
|
+
const elementPositionX = triggerLayout.x;
|
|
19
|
+
const tooltipPositionXAxis = elementPositionX + tooltipLayout.width;
|
|
20
|
+
if (elementPositionX === 0) {
|
|
21
|
+
return TooltipPointerOffsetEnum.LEFT;
|
|
22
|
+
}
|
|
23
|
+
if (tooltipPositionXAxis > screenWidth) {
|
|
24
|
+
return TooltipPointerOffsetEnum.RIGHT;
|
|
25
|
+
}
|
|
26
|
+
return TooltipPointerOffsetEnum.CENTER;
|
|
27
|
+
}, [triggerLayout, tooltipLayout]);
|
|
28
|
+
const calculateAdjustedPosition = useCallback(() => {
|
|
29
|
+
if (!triggerLayout || !tooltipLayout) {
|
|
30
|
+
return {
|
|
31
|
+
translateX: 0
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
const elementPositionX = triggerLayout.x;
|
|
35
|
+
const tooltipPositionXAxis = elementPositionX + tooltipLayout.width;
|
|
36
|
+
if (elementPositionX === 0) {
|
|
37
|
+
return {
|
|
38
|
+
translateX: -tooltipLayout.x
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
if (tooltipPositionXAxis > screenWidth) {
|
|
42
|
+
return {
|
|
43
|
+
translateX: tooltipLayout.x
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
translateX: 0
|
|
48
|
+
};
|
|
49
|
+
}, [triggerLayout, tooltipLayout, screenWidth]);
|
|
50
|
+
return {
|
|
51
|
+
positionData: {
|
|
52
|
+
triggerLayout,
|
|
53
|
+
tooltipLayout,
|
|
54
|
+
screenWidth,
|
|
55
|
+
adjustedPosition: calculateAdjustedPosition(),
|
|
56
|
+
pointerOffset
|
|
57
|
+
},
|
|
58
|
+
onTriggerLayout,
|
|
59
|
+
onTooltipLayout
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=tooltip-position.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useState","useCallback","useMemo","Dimensions","TooltipPointerOffsetEnum","useTooltipPosition","triggerLayout","setTriggerLayout","tooltipLayout","setTooltipLayout","screenWidth","get","width","onTriggerLayout","event","nativeEvent","layout","onTooltipLayout","pointerOffset","CENTER","elementPositionX","x","tooltipPositionXAxis","LEFT","RIGHT","calculateAdjustedPosition","translateX","positionData","adjustedPosition"],"sourceRoot":"../../../../../src","sources":["components/Tooltip/hooks/tooltip-position.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AACtD,SAASC,UAAU,QAA4C,cAAc;AAC7E,SAASC,wBAAwB,QAAQ,kBAAS;AAYlD,OAAO,SAASC,kBAAkBA,CAAA,EAIhC;EACA,MAAM,CAACC,aAAa,EAAEC,gBAAgB,CAAC,GAAGP,QAAQ,CAChD,IACF,CAAC;EACD,MAAM,CAACQ,aAAa,EAAEC,gBAAgB,CAAC,GAAGT,QAAQ,CAChD,IACF,CAAC;EAED,MAAMU,WAAW,GAAGP,UAAU,CAACQ,GAAG,CAAC,QAAQ,CAAC,CAACC,KAAK;EAElD,MAAMC,eAAe,GAAGZ,WAAW,CAAEa,KAAwB,IAAK;IAChEP,gBAAgB,CAACO,KAAK,CAACC,WAAW,CAACC,MAAM,CAAC;EAC5C,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMC,eAAe,GAAGhB,WAAW,CAAEa,KAAwB,IAAK;IAChEL,gBAAgB,CAACK,KAAK,CAACC,WAAW,CAACC,MAAM,CAAC;EAC5C,CAAC,EAAE,EAAE,CAAC;EAEN,MAAME,aAAa,GAAGhB,OAAO,CAAC,MAAM;IAClC,IAAI,CAACI,aAAa,IAAI,CAACE,aAA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|
|
3
|
+
import { View, Pressable } from "react-native";
|
|
4
|
+
import { Content } from "./components/index.js";
|
|
5
|
+
import { useTooltipPosition } from "./hooks/index.js";
|
|
6
|
+
import { TooltipVariantEnum } from "./enum/index.js";
|
|
7
|
+
import { useState, useCallback, cloneElement, isValidElement } from "react";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
export function Tooltip(props) {
|
|
10
|
+
const {
|
|
11
|
+
children,
|
|
12
|
+
message,
|
|
13
|
+
variant = TooltipVariantEnum.TRIGGER,
|
|
14
|
+
className,
|
|
15
|
+
containerClassName,
|
|
16
|
+
pointerClassName,
|
|
17
|
+
isOpenedByVariantError,
|
|
18
|
+
onChangeVisibility
|
|
19
|
+
} = props;
|
|
20
|
+
const {
|
|
21
|
+
positionData,
|
|
22
|
+
onTriggerLayout,
|
|
23
|
+
onTooltipLayout
|
|
24
|
+
} = useTooltipPosition();
|
|
25
|
+
const [isVisible, setIsVisible] = useState(false);
|
|
26
|
+
const handleVisibilityChange = useCallback(visible => {
|
|
27
|
+
setIsVisible(visible);
|
|
28
|
+
onChangeVisibility?.(visible);
|
|
29
|
+
}, [onChangeVisibility]);
|
|
30
|
+
const handleToggleVisibility = useCallback(() => {
|
|
31
|
+
const newVisibility = !isVisible;
|
|
32
|
+
handleVisibilityChange(newVisibility);
|
|
33
|
+
}, [isVisible, handleVisibilityChange]);
|
|
34
|
+
const renderTriggerContent = () => {
|
|
35
|
+
if (variant !== TooltipVariantEnum.TRIGGER) {
|
|
36
|
+
return children;
|
|
37
|
+
}
|
|
38
|
+
if (/*#__PURE__*/isValidElement(children)) {
|
|
39
|
+
const child = children;
|
|
40
|
+
const childProps = child.props;
|
|
41
|
+
const componentType = child.type;
|
|
42
|
+
const componentName = (typeof componentType === 'function' ? componentType.displayName || componentType.name : componentType) || '';
|
|
43
|
+
const isButton = componentName === 'Button' || componentName === 'Pressable' || componentName === 'TouchableOpacity';
|
|
44
|
+
if (isButton || childProps && typeof childProps.onPress === 'function') {
|
|
45
|
+
return /*#__PURE__*/cloneElement(child, {
|
|
46
|
+
...childProps,
|
|
47
|
+
onPress: (...args) => {
|
|
48
|
+
if (typeof childProps.onPress === 'function') {
|
|
49
|
+
childProps.onPress(...args);
|
|
50
|
+
handleToggleVisibility();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return /*#__PURE__*/_jsx(Pressable, {
|
|
57
|
+
onPress: handleToggleVisibility,
|
|
58
|
+
children: children
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
62
|
+
className: "relative",
|
|
63
|
+
onLayout: onTriggerLayout,
|
|
64
|
+
children: [renderTriggerContent(), /*#__PURE__*/_jsx(Content, {
|
|
65
|
+
message: message,
|
|
66
|
+
variant: variant,
|
|
67
|
+
isVisible: variant === TooltipVariantEnum.TRIGGER ? isVisible : !!isOpenedByVariantError,
|
|
68
|
+
onLayout: onTooltipLayout,
|
|
69
|
+
translateX: positionData.adjustedPosition.translateX,
|
|
70
|
+
pointerOffset: positionData.pointerOffset,
|
|
71
|
+
className: className,
|
|
72
|
+
containerClassName: containerClassName,
|
|
73
|
+
pointerClassName: pointerClassName,
|
|
74
|
+
onChangeVisibility: handleVisibilityChange
|
|
75
|
+
})]
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","Pressable","Content","useTooltipPosition","TooltipVariantEnum","useState","useCallback","cloneElement","isValidElement","jsx","_jsx","jsxs","_jsxs","Tooltip","props","children","message","variant","TRIGGER","className","containerClassName","pointerClassName","isOpenedByVariantError","onChangeVisibility","positionData","onTriggerLayout","onTooltipLayout","isVisible","setIsVisible","handleVisibilityChange","visible","handleToggleVisibility","newVisibility","renderTriggerContent","child","childProps","componentType","type","componentName","displayName","name","isButton","onPress","args","onLayout","translateX","adjustedPosition","pointerOffset"],"sourceRoot":"../../../../src","sources":["components/Tooltip/index.tsx"],"mappings":";;AAAA,SAASA,IAAI,EAAEC,SAAS,QAAQ,cAAc;AAC9C,SAASC,OAAO,QAAQ,uBAAc;AACtC,SAASC,kBAAkB,QAAQ,kBAAS;AAG5C,SAASC,kBAAkB,QAAQ,iBAAQ;AAC3C,SAASC,QAAQ,EAAEC,WAAW,EAAEC,YAAY,EAAEC,cAAc,QAAsB,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE1F,OAAO,SAASC,OAAOA,CAACC,KAAmB,EAAE;EAC3C,MAAM;IACJC,QAAQ;IACRC,OAAO;IACPC,OAAO,GAAGb,kBAAkB,CAACc,OAAO;IACpCC,SAAS;IACTC,kBAAkB;IAClBC,gBAAgB;IAChBC,sBAAsB;IACtBC;EACF,CAAC,GAAGT,KAAK;EACT,MAAM;IAAEU,YAAY;IAAEC,eAAe;IAAEC;EAAgB,CAAC,GACtDvB,kBAAkB,CAAC,CAAC;EAEtB,MAAM,CAACwB,SAAS,EAAEC,YAAY,CAAC,GAAGvB,QAAQ,CAAC,KAAK,CAAC;EAEjD,MAAMwB,sBAAsB,GAAGvB,WAAW,CAAEwB,OAAgB,IAAK;IAC/DF,YAAY,CAACE,OAAO,CAAC;IACrBP,kBAAkB,GAAGO,OAAO,CAAC;EAC/B,CAAC,EAAE,CAACP,kBAAkB,CAAC,CAAC;EAExB,MAAMQ,sBAAsB,GAAGzB,WAAW,CAAC,MAAM;IAC/C,MAAM0B,aAAa,GAAG,CAACL,SAAS;IAChCE,sBAAsB,CAACG,aAAa,CAAC;EACvC,CAAC,EAAE,CAACL,SAAS,EAAEE,sBAAsB,CAAC,CAAC;EAEvC,MAAMI,oBAAoB,GAAGA,CAAA,KAAM;IACjC,IAAIhB,OAAO,KAAKb,kBAAkB,CAACc,OAAO,EAAE;MAC1C,OAAOH,QAAQ;IACjB;I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mB,UAAU,EAAErB,YAAY,CAACsB,gBAAgB,CAACD,UAAW;MACrDE,aAAa,EAAEvB,YAAY,CAACuB,aAAc;MAC1C5B,SAAS,EAAEA,SAAU;MACrBC,kBAAkB,EAAEA,kBAAmB;MACvCC,gBAAgB,EAAEA,gBAAiB;MACnCE,kBAAkB,EAAEM;IAAuB,CAC5C,CAAC;EAAA,CACE,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Tooltip/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -26,7 +26,7 @@ const getWeightVariants = () => {
|
|
|
26
26
|
"900": "font-nunito-black"
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
export const typographyVariants = cva("font-nunito-regular", {
|
|
29
|
+
export const typographyVariants = cva("font-nunito-regular text-chia-900", {
|
|
30
30
|
variants: {
|
|
31
31
|
variant: {
|
|
32
32
|
label_small: "text-[12px] leading-[16px]",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["cva","Platform","getWeightVariants","OS","typographyVariants","variants","variant","label_small","label_medium","label_large","body_small","body_medium","body_large","title_small","title_medium","title_large","headline_small","headline_medium","headline_large","display_small","display_medium","display_large","weight","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/Typography/assets/class-variants.ts"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,0BAA0B;AAC9C,SAASC,QAAQ,QAAQ,cAAc;AAEvC,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EAC9B,IAAID,QAAQ,CAACE,EAAE,KAAK,KAAK,EAAE;IACzB,OAAO;MACL,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE;IACT,CAAC;EACH;EAEA,OAAO;IACL,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,mBAAmB;IAC1B,KAAK,EAAE,qBAAqB;IAC5B,KAAK,EAAE,oBAAoB;IAC3B,KAAK,EAAE,sBAAsB;IAC7B,KAAK,EAAE,kBAAkB;IACzB,KAAK,EAAE,uBAAuB;IAC9B,KAAK,EAAE;EACT,CAAC;AACH,CAAC;AAED,OAAO,MAAMC,kBAAkB,GAAGJ,GAAG,CAAC,
|
|
1
|
+
{"version":3,"names":["cva","Platform","getWeightVariants","OS","typographyVariants","variants","variant","label_small","label_medium","label_large","body_small","body_medium","body_large","title_small","title_medium","title_large","headline_small","headline_medium","headline_large","display_small","display_medium","display_large","weight","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/Typography/assets/class-variants.ts"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,0BAA0B;AAC9C,SAASC,QAAQ,QAAQ,cAAc;AAEvC,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EAC9B,IAAID,QAAQ,CAACE,EAAE,KAAK,KAAK,EAAE;IACzB,OAAO;MACL,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE,YAAY;MACnB,KAAK,EAAE;IACT,CAAC;EACH;EAEA,OAAO;IACL,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,mBAAmB;IAC1B,KAAK,EAAE,qBAAqB;IAC5B,KAAK,EAAE,oBAAoB;IAC3B,KAAK,EAAE,sBAAsB;IAC7B,KAAK,EAAE,kBAAkB;IACzB,KAAK,EAAE,uBAAuB;IAC9B,KAAK,EAAE;EACT,CAAC;AACH,CAAC;AAED,OAAO,MAAMC,kBAAkB,GAAGJ,GAAG,CAAC,mCAAmC,EAAE;EACzEK,QAAQ,EAAE;IACRC,OAAO,EAAE;MACPC,WAAW,EAAE,4BAA4B;MACzCC,YAAY,EAAE,4BAA4B;MAC1CC,WAAW,EAAE,4BAA4B;MACzCC,UAAU,EAAE,4BAA4B;MACxCC,WAAW,EAAE,4BAA4B;MACzCC,UAAU,EAAE,4BAA4B;MACxCC,WAAW,EAAE,4BAA4B;MACzCC,YAAY,EAAE,4BAA4B;MAC1CC,WAAW,EAAE,4BAA4B;MACzCC,cAAc,EAAE,4BAA4B;MAC5CC,eAAe,EAAE,4BAA4B;MAC7CC,cAAc,EAAE,4BAA4B;MAC5CC,aAAa,EAAE,4BAA4B;MAC3CC,cAAc,EAAE,4BAA4B;MAC5CC,aAAa,EAAE;IACjB,CAAC;IACDC,MAAM,EAAEpB,iBAAiB,CAAC;EAC5B,CAAC;EAEDqB,eAAe,EAAE;IACfjB,OAAO,EAAE,aAAa;IACtBgB,MAAM,EAAE;EACV;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
export * from "./Avatar/index.js";
|
|
4
4
|
export * from "./Button/index.js";
|
|
5
|
+
export * from "./ChatBubble/index.js";
|
|
5
6
|
export * from "./Chip/index.js";
|
|
6
7
|
export * from "./Chip/types.js";
|
|
7
8
|
export * from "./Chip/enums/index.js";
|
|
8
9
|
export * from "./InformationStatus/index.js";
|
|
9
10
|
export * from "./InformationStatus/enums.js";
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./
|
|
11
|
+
export * from "./CheckboxInput/index.js";
|
|
12
|
+
export * from "./CheckboxInput/enums/index.js";
|
|
13
|
+
export * from "./OtpInput/index.js";
|
|
14
|
+
export * from "./OtpInput/enums/index.js";
|
|
14
15
|
export * from "./HighlightedText/index.js";
|
|
15
16
|
export * from "./LoadingDots/index.js";
|
|
16
17
|
export * from "./LoadingDots/types.js";
|
|
@@ -20,4 +21,17 @@ export * from "./Title/index.js";
|
|
|
20
21
|
export * from "./Toggle/index.js";
|
|
21
22
|
export * from "./Toggle/enums/index.js";
|
|
22
23
|
export * from "./Typography/index.js";
|
|
24
|
+
export * from "./Toast/index.js";
|
|
25
|
+
export * from "./Toast/enums/index.js";
|
|
26
|
+
export * from "./Tooltip/index.js";
|
|
27
|
+
export * from "./ListButton/index.js";
|
|
28
|
+
export * from "./ListButton/enums/index.js";
|
|
29
|
+
export * from "./TextInput/index.js";
|
|
30
|
+
export * from "./TextInput/enums.js";
|
|
31
|
+
export * from "./SelectButton/index.js";
|
|
32
|
+
export * from "./SelectButton/enums/index.js";
|
|
33
|
+
export * from "./RadioInput/index.js";
|
|
34
|
+
export * from "./RadioInput/enums/index.js";
|
|
35
|
+
export * from "./IconButton/index.js";
|
|
36
|
+
export * from "./IconButton/enums.js";
|
|
23
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;AAAA,cAAc,mBAAU;AACxB,cAAc,mBAAU;AAGxB,cAAc,iBAAQ;AACtB,cAAc,iBAAc;AAC5B,cAAc,uBAAc;AAE5B,cAAc,8BAAqB;AAEnC,cAAc,8BAA2B;AAEzC,cAAc,0BAAiB;AAE/B,cAAc,gCAAuB;AAErC,cAAc,qBAAY;AAE1B,cAAc,2BAAkB;AAEhC,cAAc,4BAAmB;AAGjC,cAAc,wBAAe;AAC7B,cAAc,wBAAqB;AAEnC,cAAc,iBAAQ;AAEtB,cAAc,uBAAc;AAE5B,cAAc,kBAAS;AAGvB,cAAc,mBAAU;AAExB,cAAc,yBAAgB;AAE9B,cAAc,uBAAc","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;AAAA,cAAc,mBAAU;AACxB,cAAc,mBAAU;AAGxB,cAAc,uBAAc;AAI5B,cAAc,iBAAQ;AACtB,cAAc,iBAAc;AAC5B,cAAc,uBAAc;AAE5B,cAAc,8BAAqB;AAEnC,cAAc,8BAA2B;AAEzC,cAAc,0BAAiB;AAE/B,cAAc,gCAAuB;AAErC,cAAc,qBAAY;AAE1B,cAAc,2BAAkB;AAEhC,cAAc,4BAAmB;AAGjC,cAAc,wBAAe;AAC7B,cAAc,wBAAqB;AAEnC,cAAc,iBAAQ;AAEtB,cAAc,uBAAc;AAE5B,cAAc,kBAAS;AAGvB,cAAc,mBAAU;AAExB,cAAc,yBAAgB;AAE9B,cAAc,uBAAc;AAG5B,cAAc,kBAAS;AAEvB,cAAc,wBAAe;AAE7B,cAAc,oBAAW;AAGzB,cAAc,uBAAc;AAE5B,cAAc,6BAAoB;AAElC,cAAc,sBAAa;AAE3B,cAAc,sBAAmB;AAEjC,cAAc,yBAAgB;AAE9B,cAAc,+BAAsB;AAEpC,cAAc,uBAAc;AAE5B,cAAc,6BAAoB;AAElC,cAAc,uBAAc;AAE5B,cAAc,uBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export let CornersEnum = /*#__PURE__*/function (CornersEnum) {
|
|
4
|
+
CornersEnum["SMALL"] = "small";
|
|
5
|
+
CornersEnum["MEDIUM"] = "medium";
|
|
6
|
+
CornersEnum["LARGE"] = "large";
|
|
7
|
+
CornersEnum["XLARGE"] = "xlarge";
|
|
8
|
+
return CornersEnum;
|
|
9
|
+
}({});
|
|
10
|
+
//# sourceMappingURL=corners.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CornersEnum"],"sourceRoot":"../../../src","sources":["enums/corners.ts"],"mappings":";;AAAA,WAAYA,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["enums/index.ts"],"mappings":";;AAAA,cAAc,WAAQ;AACtB,cAAc,cAAW","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export let SizeEnum = /*#__PURE__*/function (SizeEnum) {
|
|
4
|
+
SizeEnum["XXSMALL"] = "xxsmall";
|
|
5
|
+
SizeEnum["XSMALL"] = "xsmall";
|
|
6
|
+
SizeEnum["SMALL"] = "small";
|
|
7
|
+
SizeEnum["MEDIUM"] = "medium";
|
|
8
|
+
SizeEnum["LARGE"] = "large";
|
|
9
|
+
SizeEnum["XLARGE"] = "xlarge";
|
|
10
|
+
SizeEnum["XXLARGE"] = "xxlarge";
|
|
11
|
+
SizeEnum["XXXLARGE"] = "xxxlarge";
|
|
12
|
+
return SizeEnum;
|
|
13
|
+
}({});
|
|
14
|
+
//# sourceMappingURL=size.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SizeEnum"],"sourceRoot":"../../../src","sources":["enums/size.ts"],"mappings":";;AAAA,WAAYA,QAAQ,0BAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAAA,OAARA,QAAQ;AAAA","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as IconsNative from "@kivid/icons/native";
|
|
4
4
|
import React, { useMemo, useState } from "react";
|
|
5
|
-
import { Alert, FlatList, Pressable,
|
|
5
|
+
import { Alert, FlatList, Pressable, Text, TextInput, View } from "react-native";
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
export function Icons(props) {
|
|
8
8
|
const {
|
|
@@ -23,7 +23,7 @@ export function Icons(props) {
|
|
|
23
23
|
const component = `<${name} size={${size}} ${isCurrentColor ? "" : `color="${color}"`} />`;
|
|
24
24
|
Alert.alert(`Ícone selecionado: ${component}`);
|
|
25
25
|
}
|
|
26
|
-
return /*#__PURE__*/_jsxs(
|
|
26
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
27
27
|
className: "m-16",
|
|
28
28
|
children: [/*#__PURE__*/_jsx(TextInput, {
|
|
29
29
|
placeholder: "Pesquisar \xEDcones...",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IconsNative","React","useMemo","useState","Alert","FlatList","Pressable","
|
|
1
|
+
{"version":3,"names":["IconsNative","React","useMemo","useState","Alert","FlatList","Pressable","Text","TextInput","View","jsx","_jsx","jsxs","_jsxs","Icons","props","size","color","icons","Object","entries","map","name","IconComponent","component","searchTerm","setSearchTerm","iconsFiltered","sorted","sort","a","b","localeCompare","filter","icon","toLowerCase","includes","handleIconPress","isCurrentColor","alert","className","children","placeholder","placeholderTextColor","style","width","height","marginBottom","borderRadius","borderWidth","borderColor","paddingHorizontal","fontSize","onChangeText","value","data","keyExtractor","numColumns","columnWrapperStyle","justifyContent","contentContainerStyle","paddingBottom","renderItem","item","flex","alignItems","marginVertical","flexDirection","padding","onPress","marginTop","textAlign","maxWidth","numberOfLines"],"sourceRoot":"../../../../src","sources":["iconography/Icons/index.tsx"],"mappings":";;AAAA,OAAO,KAAKA,WAAW,MAAM,qBAAqB;AAClD,OAAOC,KAAK,IAAIC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAEhD,SACEC,KAAK,EACLC,QAAQ,EACRC,SAAS,EACTC,IAAI,EACJC,SAAS,EACTC,IAAI,QACC,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEtB,OAAO,SAASC,KAAKA,CAACC,KAAiB,EAAE;EACvC,MAAM;IAAEC,IAAI,GAAG,EAAE;IAAEC,KAAK,GAAG;EAAe,CAAC,GAAGF,KAAK;EAEnD,MAAMG,KAAK,GAAGC,MAAM,CAACC,OAAO,CAACpB,WAAW,CAAC,CAACqB,GAAG,CAAC,CAAC,CAACC,IAAI,EAAEC,aAAa,CAAC,MAAM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