@kivid/native-components 1.0.0-alpha.4 → 1.0.0-alpha.6
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 +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 +115 -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 +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 +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/context.js +17 -0
- package/dist/commonjs/components/ChatBubble/context.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/InformationStatus/index.js +8 -7
- package/dist/commonjs/components/InformationStatus/index.js.map +1 -1
- package/dist/commonjs/components/ListButton/assets/class-variants.js +60 -0
- package/dist/commonjs/components/ListButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/ListButton/enums/icon-color.js +18 -0
- package/dist/commonjs/components/ListButton/enums/icon-color.js.map +1 -0
- package/dist/commonjs/components/ListButton/enums/index.js +28 -0
- 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 +113 -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 +5 -4
- 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/{module/components/InputOTP → commonjs/components/OtpInput}/components/InformationStatus/types.js.map +1 -1
- package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js.map +1 -1
- package/dist/commonjs/components/{InputOTP → OtpInput}/enums/index.js.map +1 -1
- package/dist/commonjs/components/{InputOTP → OtpInput}/index.js +10 -4
- 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/{hooks → components/Tooltip/components}/index.js +4 -4
- 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 +43 -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 +184 -41
- 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/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/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/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 +110 -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 +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 +32 -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/context.js +12 -0
- package/dist/module/components/ChatBubble/context.js.map +1 -0
- 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/InformationStatus/index.js +8 -7
- package/dist/module/components/InformationStatus/index.js.map +1 -1
- package/dist/module/components/ListButton/assets/class-variants.js +57 -0
- package/dist/module/components/ListButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/ListButton/enums/icon-color.js +14 -0
- package/dist/module/components/ListButton/enums/icon-color.js.map +1 -0
- package/dist/module/components/ListButton/enums/index.js +5 -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 +109 -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 +5 -4
- 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/{commonjs/components/InputOTP → module/components/OtpInput}/components/InformationStatus/types.js.map +1 -1
- package/dist/module/components/{InputOTP → OtpInput}/components/index.js.map +1 -1
- package/dist/module/components/{InputOTP → OtpInput}/enums/index.js.map +1 -1
- package/dist/module/components/{InputOTP → OtpInput}/index.js +9 -3
- 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 +39 -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 +17 -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/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 +5 -0
- package/dist/typescript/components/Avatar/index.d.ts +2 -0
- package/dist/typescript/components/Avatar/types.d.ts +7 -0
- 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/context.d.ts +8 -0
- package/dist/typescript/components/ChatBubble/index.d.ts +12 -0
- package/dist/typescript/components/ChatBubble/types.d.ts +14 -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 +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/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 +14 -0
- package/dist/typescript/components/ListButton/enums/icon-color.d.ts +10 -0
- package/dist/typescript/components/ListButton/enums/index.d.ts +2 -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 +17 -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/index.d.ts +3 -0
- package/dist/typescript/components/{InputOTP → OtpInput}/types.d.ts +2 -1
- 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 +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 +13 -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 +12 -0
- package/dist/typescript/components/index.d.ts +26 -6
- package/dist/typescript/enums/corners.d.ts +6 -0
- 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 +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 +15 -0
- 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 +36 -0
- package/src/components/ChatBubble/components/ChatBubbleSeal/types.ts +5 -0
- package/src/components/ChatBubble/components/ChatBubbleText/index.tsx +35 -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/context.tsx +26 -0
- package/src/components/ChatBubble/index.tsx +112 -0
- package/src/components/ChatBubble/types.ts +17 -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/InformationStatus/index.tsx +14 -7
- package/src/components/InformationStatus/types.ts +7 -1
- package/src/components/ListButton/assets/class-variants.ts +87 -0
- package/src/components/ListButton/enums/icon-color.ts +10 -0
- package/src/components/ListButton/enums/index.ts +2 -0
- package/src/components/ListButton/enums/variant.ts +9 -0
- package/src/components/ListButton/index.tsx +124 -0
- package/src/components/ListButton/types.ts +20 -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 +5 -4
- package/src/components/{InputOTP → OtpInput}/index.tsx +7 -9
- package/src/components/{InputOTP → OtpInput}/types.ts +2 -1
- 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 +14 -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 +38 -0
- package/src/components/Tooltip/types.ts +13 -0
- package/src/components/Typography/assets/class-variants.ts +1 -1
- package/src/components/index.ts +33 -6
- package/src/enums/corners.ts +6 -0
- package/src/enums/index.ts +2 -0
- package/src/enums/size.ts +10 -0
- 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/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/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/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/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/Chip/enums/chip-size.d.ts +0 -4
- package/dist/typescript/components/InputCheckbox/index.d.ts +0 -2
- package/dist/typescript/components/InputOTP/index.d.ts +0 -3
- 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 -209
- package/src/components/InformationStatus/index.stories.tsx +0 -112
- package/src/components/InputCheckbox/index.stories.tsx +0 -133
- package/src/components/InputOTP/index.stories.tsx +0 -256
- 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 → Avatar}/types.js +0 -0
- /package/dist/commonjs/components/{InputOTP/components/InformationStatus → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
- /package/dist/commonjs/components/{InputOTP → ChatBubble/components/ChatBubbleSeal}/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/commonjs/components/{InputOTP → OtpInput}/enums/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → Avatar}/types.js +0 -0
- /package/dist/module/components/{InputOTP/components/InformationStatus → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
- /package/dist/module/components/{InputOTP → ChatBubble/components/ChatBubbleSeal}/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/module/components/{InputOTP → OtpInput}/enums/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/InformationStatus/types.d.ts +0 -0
- /package/dist/typescript/components/{InputOTP → OtpInput}/components/index.d.ts +0 -0
- /package/dist/typescript/components/{InputOTP → OtpInput}/enums/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/InformationStatus/types.ts +0 -0
- /package/src/components/{InputOTP → OtpInput}/components/index.ts +0 -0
- /package/src/components/{InputOTP → OtpInput}/enums/index.ts +0 -0
package/README.md
CHANGED
|
@@ -1,57 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# getting started
|
|
4
|
-
|
|
5
|
-
```sh
|
|
6
|
-
npx create-expo-app --template expo-template-storybook AwesomeStorybook
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
or
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
yarn create expo-app --template expo-template-storybook AwesomeStorybook
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
# app
|
|
16
|
-
|
|
17
|
-
```sh
|
|
18
|
-
yarn start
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
# RN Storybook (ondevice)
|
|
22
|
-
|
|
23
|
-
In this template you can now run `yarn storybook` to start ondevice storybook or `yarn start` to start your expo app.
|
|
24
|
-
This works via env variables and expo constants.
|
|
25
|
-
|
|
26
|
-
```sh
|
|
27
|
-
# either
|
|
28
|
-
yarn storybook
|
|
29
|
-
|
|
30
|
-
# ios
|
|
31
|
-
yarn storybook:ios
|
|
32
|
-
|
|
33
|
-
# android
|
|
34
|
-
yarn storybook:android
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
If you add new stories on the native (ondevice version) you either need to have the watcher running or run the stories loader
|
|
38
|
-
|
|
39
|
-
To update the stories one time
|
|
40
|
-
|
|
41
|
-
```sh
|
|
42
|
-
yarn storybook-generate
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
# Web
|
|
46
|
-
|
|
47
|
-
Start react native web storybook:
|
|
48
|
-
|
|
49
|
-
```
|
|
50
|
-
yarn storybook:web
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
build react native web storybook:
|
|
54
|
-
|
|
55
|
-
```sh
|
|
56
|
-
yarn build-storybook
|
|
57
|
-
```
|
|
1
|
+
TBD
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.avatarVariants = void 0;
|
|
7
|
+
var _classVarianceAuthority = require("class-variance-authority");
|
|
8
|
+
var _index = require("../../../enums/index.js");
|
|
9
|
+
const avatarVariants = exports.avatarVariants = (0, _classVarianceAuthority.cva)("border-[1px] border-chia-400 flex items-center justify-center bg-chia-300", {
|
|
10
|
+
variants: {
|
|
11
|
+
size: {
|
|
12
|
+
[_index.SizeEnum.XLARGE]: "w-[96px] h-[96px] rounded-1000",
|
|
13
|
+
[_index.SizeEnum.LARGE]: "w-[72px] h-[72px] rounded-900",
|
|
14
|
+
[_index.SizeEnum.MEDIUM]: "w-[56px] h-[56px] rounded-800",
|
|
15
|
+
[_index.SizeEnum.SMALL]: "w-[40px] h-[40px] rounded-700",
|
|
16
|
+
[_index.SizeEnum.XSMALL]: "w-[32px] h-[32px] rounded-600",
|
|
17
|
+
[_index.SizeEnum.XXSMALL]: "w-[24px] h-[24px] rounded-600"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
defaultVariants: {
|
|
21
|
+
size: _index.SizeEnum.MEDIUM
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=class-variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_classVarianceAuthority","require","_index","avatarVariants","exports","cva","variants","size","SizeEnum","XLARGE","LARGE","MEDIUM","SMALL","XSMALL","XXSMALL","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/Avatar/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,2BAAG,EACxB,2EAA2E,EAC3E;EACEC,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJ,CAACC,eAAQ,CAACC,MAAM,GAAG,gCAAgC;MACnD,CAACD,eAAQ,CAACE,KAAK,GAAG,+BAA+B;MACjD,CAACF,eAAQ,CAACG,MAAM,GAAG,+BAA+B;MAClD,CAACH,eAAQ,CAACI,KAAK,GAAG,+BAA+B;MACjD,CAACJ,eAAQ,CAACK,MAAM,GAAG,+BAA+B;MAClD,CAACL,eAAQ,CAACM,OAAO,GAAG;IACtB;EACF,CAAC;EACDC,eAAe,EAAE;IACfR,IAAI,EAAEC,eAAQ,CAACG;EACjB;AACF,CACF,CAAC","ignoreList":[]}
|
|
Binary file
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Avatar = Avatar;
|
|
7
|
+
var _native = require("@kivid/icons/native");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../../enums/index.js");
|
|
10
|
+
var _classVariants = require("./assets/class-variants.js");
|
|
11
|
+
var _tailwindPreset = require("@kivid/tailwind-preset");
|
|
12
|
+
var _index2 = _interopRequireDefault(require("../Typography/index.js"));
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
function Avatar(props) {
|
|
16
|
+
const {
|
|
17
|
+
src,
|
|
18
|
+
name,
|
|
19
|
+
size = _index.SizeEnum.MEDIUM
|
|
20
|
+
} = props;
|
|
21
|
+
const personMappedSize = {
|
|
22
|
+
[_index.SizeEnum.XLARGE]: 56,
|
|
23
|
+
[_index.SizeEnum.LARGE]: 48,
|
|
24
|
+
[_index.SizeEnum.MEDIUM]: 40,
|
|
25
|
+
[_index.SizeEnum.SMALL]: 32,
|
|
26
|
+
[_index.SizeEnum.XSMALL]: 24,
|
|
27
|
+
[_index.SizeEnum.XXSMALL]: 16
|
|
28
|
+
}[size];
|
|
29
|
+
const personMappedStrokeWidth = {
|
|
30
|
+
[_index.SizeEnum.XLARGE]: 1.6,
|
|
31
|
+
[_index.SizeEnum.LARGE]: 1.6,
|
|
32
|
+
[_index.SizeEnum.MEDIUM]: 1.6,
|
|
33
|
+
[_index.SizeEnum.SMALL]: 1.6,
|
|
34
|
+
[_index.SizeEnum.XSMALL]: 1.5,
|
|
35
|
+
[_index.SizeEnum.XXSMALL]: 1.125
|
|
36
|
+
}[size];
|
|
37
|
+
const avatarStyle = (0, _classVariants.avatarVariants)({
|
|
38
|
+
size
|
|
39
|
+
});
|
|
40
|
+
const avatarTextStyleMap = {
|
|
41
|
+
[_index.SizeEnum.XXSMALL]: {
|
|
42
|
+
variant: "body_small",
|
|
43
|
+
fontWeight: "700",
|
|
44
|
+
className: "h-[15px]"
|
|
45
|
+
},
|
|
46
|
+
[_index.SizeEnum.XSMALL]: {
|
|
47
|
+
variant: "body_small",
|
|
48
|
+
fontWeight: "700",
|
|
49
|
+
className: "h-[16px]"
|
|
50
|
+
},
|
|
51
|
+
[_index.SizeEnum.SMALL]: {
|
|
52
|
+
variant: "title_small",
|
|
53
|
+
fontWeight: "700",
|
|
54
|
+
className: "h-[18px]"
|
|
55
|
+
},
|
|
56
|
+
[_index.SizeEnum.MEDIUM]: {
|
|
57
|
+
variant: "title_large",
|
|
58
|
+
fontWeight: "700",
|
|
59
|
+
className: "h-[18px]"
|
|
60
|
+
},
|
|
61
|
+
[_index.SizeEnum.LARGE]: {
|
|
62
|
+
variant: "headline_small",
|
|
63
|
+
fontWeight: "700",
|
|
64
|
+
className: "h-[29px]"
|
|
65
|
+
},
|
|
66
|
+
[_index.SizeEnum.XLARGE]: {
|
|
67
|
+
variant: "headline_medium",
|
|
68
|
+
fontWeight: "700",
|
|
69
|
+
className: "h-[30px]"
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
function renderFallbackType() {
|
|
73
|
+
if (name && !!name.trim()) {
|
|
74
|
+
const [firstName, surname] = name.split(" ");
|
|
75
|
+
const hasSurname = !!surname;
|
|
76
|
+
const hasName = !!firstName;
|
|
77
|
+
const firstLetterOfFirstName = hasName ? firstName?.at(0) : "";
|
|
78
|
+
const firstLetterOfSurname = hasSurname ? surname?.at(0) : "";
|
|
79
|
+
const firstLetters = `${firstLetterOfFirstName}${firstLetterOfSurname}`.toUpperCase();
|
|
80
|
+
|
|
81
|
+
//TODO: line height add spaces on font, and element cant be centered
|
|
82
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
83
|
+
className: avatarStyle,
|
|
84
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
85
|
+
className: (0, _tailwindPreset.merge)(avatarTextStyleMap[size].className, "text-chia-600"),
|
|
86
|
+
variant: avatarTextStyleMap[size].variant,
|
|
87
|
+
weight: avatarTextStyleMap[size].fontWeight,
|
|
88
|
+
children: firstLetters
|
|
89
|
+
})
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
93
|
+
className: avatarStyle,
|
|
94
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_native.Person, {
|
|
95
|
+
color: "#B6C2C2",
|
|
96
|
+
size: personMappedSize,
|
|
97
|
+
strokeWidth: personMappedStrokeWidth
|
|
98
|
+
})
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
if (!src) {
|
|
102
|
+
return renderFallbackType();
|
|
103
|
+
}
|
|
104
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
105
|
+
className: (0, _tailwindPreset.merge)(avatarStyle, "overflow-hidden"),
|
|
106
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
107
|
+
source: {
|
|
108
|
+
uri: src
|
|
109
|
+
},
|
|
110
|
+
className: "object-cover w-full h-full",
|
|
111
|
+
accessibilityLabel: "Profile Avatar"
|
|
112
|
+
})
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_native","require","_reactNative","_index","_classVariants","_tailwindPreset","_index2","_interopRequireDefault","_jsxRuntime","e","__esModule","default","Avatar","props","src","name","size","SizeEnum","MEDIUM","personMappedSize","XLARGE","LARGE","SMALL","XSMALL","XXSMALL","personMappedStrokeWidth","avatarStyle","avatarVariants","avatarTextStyleMap","variant","fontWeight","className","renderFallbackType","trim","firstName","surname","split","hasSurname","hasName","firstLetterOfFirstName","at","firstLetterOfSurname","firstLetters","toUpperCase","jsx","View","children","merge","weight","Person","color","strokeWidth","Image","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ACpC;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Avatar/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.textVariants = exports.selectedVariants = exports.buttonVariants = void 0;
|
|
7
7
|
var _classVarianceAuthority = require("class-variance-authority");
|
|
8
|
+
var _index = require("../../../enums/index.js");
|
|
8
9
|
const buttonVariants = exports.buttonVariants = (0, _classVarianceAuthority.cva)(["flex-row items-center justify-center", "font-bold", "relative overflow-hidden"], {
|
|
9
10
|
variants: {
|
|
10
11
|
variant: {
|
|
@@ -19,13 +20,13 @@ const buttonVariants = exports.buttonVariants = (0, _classVarianceAuthority.cva)
|
|
|
19
20
|
ghost: ["bg-transparent", "disabled:opacity-30"]
|
|
20
21
|
},
|
|
21
22
|
size: {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
[_index.SizeEnum.SMALL]: ["px-400 h-800"],
|
|
24
|
+
[_index.SizeEnum.MEDIUM]: ["px-600 h-900"],
|
|
25
|
+
[_index.SizeEnum.LARGE]: ["px-600 h-1000"]
|
|
25
26
|
},
|
|
26
27
|
corners: {
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
[_index.CornersEnum.SMALL]: "rounded-500",
|
|
29
|
+
[_index.CornersEnum.MEDIUM]: "rounded-700"
|
|
29
30
|
},
|
|
30
31
|
fullWidth: {
|
|
31
32
|
true: "w-full"
|
|
@@ -36,8 +37,8 @@ const buttonVariants = exports.buttonVariants = (0, _classVarianceAuthority.cva)
|
|
|
36
37
|
},
|
|
37
38
|
defaultVariants: {
|
|
38
39
|
variant: "grape",
|
|
39
|
-
size:
|
|
40
|
-
corners:
|
|
40
|
+
size: _index.SizeEnum.MEDIUM,
|
|
41
|
+
corners: _index.CornersEnum.MEDIUM,
|
|
41
42
|
fullWidth: false
|
|
42
43
|
}
|
|
43
44
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_classVarianceAuthority","require","buttonVariants","exports","cva","variants","variant","grape","java","pear","tangerine","blackberry","chia","outline","glass","ghost","size","
|
|
1
|
+
{"version":3,"names":["_classVarianceAuthority","require","_index","buttonVariants","exports","cva","variants","variant","grape","java","pear","tangerine","blackberry","chia","outline","glass","ghost","size","SizeEnum","SMALL","MEDIUM","LARGE","corners","CornersEnum","fullWidth","true","selected","defaultVariants","textVariants","compoundVariants","class","selectedVariants"],"sourceRoot":"../../../../../src","sources":["components/Button/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,2BAAG,EACxB,CACE,sCAAsC,EACtC,WAAW,EACX,0BAA0B,CAC3B,EACD;EACEC,QAAQ,EAAE;IACRC,OAAO,EAAE;MACPC,KAAK,EAAE,CAAC,cAAc,EAAE,2CAA2C,CAAC;MACpEC,IAAI,EAAE,CAAC,aAAa,EAAE,0CAA0C,CAAC;MACjEC,IAAI,EAAE,CAAC,aAAa,EAAE,0CAA0C,CAAC;MACjEC,SAAS,EAAE,CACT,kBAAkB,EAClB,+CAA+C,CAChD;MACDC,UAAU,EAAE,CACV,mBAAmB,EACnB,gDAAgD,CACjD;MACDC,IAAI,EAAE,CAAC,aAAa,EAAE,0CAA0C,CAAC;MACjEC,OAAO,EAAE,CACP,wCAAwC,EACxC,0CAA0C,CAC3C;MACDC,KAAK,EAAE,CACL,0CAA0C,EAC1C,6CAA6C,CAC9C;MACDC,KAAK,EAAE,CAAC,gBAAgB,EAAE,qBAAqB;IACjD,CAAC;IACDC,IAAI,EAAE;MACJ,CAACC,eAAQ,CAACC,KAAK,GAAG,CAAC,cAAc,CAAC;MAClC,CAACD,eAAQ,CAACE,MAAM,GA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cAAc;MACrBC,IAAI,EAAE,aAAa;MACnBC,IAAI,EAAE,aAAa;MACnBC,SAAS,EAAE,kBAAkB;MAC7BC,UAAU,EAAE,mBAAmB;MAC/BC,IAAI,EAAE,aAAa;MACnBC,OAAO,EAAE,0CAA0C;MACnDC,KAAK,EAAE,gBAAgB;MACvBC,KAAK,EAAE;IACT;EACF;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -10,13 +10,14 @@ var _tailwindPreset = require("@kivid/tailwind-preset");
|
|
|
10
10
|
var _index = require("../LoadingDots/index.js");
|
|
11
11
|
var _index2 = require("../Typography/index.js");
|
|
12
12
|
var _classVariants = require("./assets/class-variants.js");
|
|
13
|
+
var _index3 = require("../../enums/index.js");
|
|
13
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
16
|
function Button(props) {
|
|
16
17
|
const {
|
|
17
18
|
variant = "grape",
|
|
18
|
-
size =
|
|
19
|
-
corners =
|
|
19
|
+
size = _index3.SizeEnum.LARGE,
|
|
20
|
+
corners = _index3.CornersEnum.MEDIUM,
|
|
20
21
|
fullWidth = false,
|
|
21
22
|
loading = false,
|
|
22
23
|
selected = false,
|
|
@@ -47,7 +48,7 @@ function Button(props) {
|
|
|
47
48
|
medium: "label_medium",
|
|
48
49
|
large: "label_large"
|
|
49
50
|
};
|
|
50
|
-
const typographyVariant = typographyVariantMap[size ??
|
|
51
|
+
const typographyVariant = typographyVariantMap[size ?? _index3.SizeEnum.MEDIUM];
|
|
51
52
|
function renderContent() {
|
|
52
53
|
const textStyle = (0, _tailwindPreset.merge)((0, _classVariants.textVariants)({
|
|
53
54
|
variant,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_tailwindPreset","_index","_index2","_classVariants","_jsxRuntime","e","__esModule","default","Button","props","variant","size","corners","fullWidth","loading","selected","disabled","className","children","onPress","accessibilityLabel","ref","onPressIn","onPressOut","rest","animatedValue","React","useRef","Animated","Value","current","loadingDotsVariantsMap","grape","java","pear","tangerine","blackberry","chia","outline","glass","ghost","typographyVariantMap","small","medium","large","typographyVariant","renderContent","textStyle","merge","textVariants","_variant","jsx","Fragment","LoadingDots","Typography","weight","numberOfLines","buttonStyle","buttonVariants","undefined","selectedVariants","handlePressIn","event","timing","toValue","duration","useNativeDriver","start","handlePressOut","View","style","opacity","Pressable","accessibilityRole","accessibilityState","busy","pointerEvents","displayName"],"sourceRoot":"../../../../src","sources":["components/Button/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAQA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_tailwindPreset","_index","_index2","_classVariants","_index3","_jsxRuntime","e","__esModule","default","Button","props","variant","size","SizeEnum","LARGE","corners","CornersEnum","MEDIUM","fullWidth","loading","selected","disabled","className","children","onPress","accessibilityLabel","ref","onPressIn","onPressOut","rest","animatedValue","React","useRef","Animated","Value","current","loadingDotsVariantsMap","grape","java","pear","tangerine","blackberry","chia","outline","glass","ghost","typographyVariantMap","small","medium","large","typographyVariant","renderContent","textStyle","merge","textVariants","_variant","jsx","Fragment","LoadingDots","Typography","weight","numberOfLines","buttonStyle","buttonVariants","undefined","selectedVariants","handlePressIn","event","timing","toValue","duration","useNativeDriver","start","handlePressOut","View","style","opacity","Pressable","accessibilityRole","accessibilityState","busy","pointerEvents","displayName"],"sourceRoot":"../../../../src","sources":["components/Button/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,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});
|
|
6
|
+
exports.chatBubbleTimeVariants = exports.chatBubbleBoxVariants = void 0;
|
|
7
|
+
var _classVarianceAuthority = require("class-variance-authority");
|
|
8
|
+
const chatBubbleBoxVariants = exports.chatBubbleBoxVariants = (0, _classVarianceAuthority.cva)("flex-row gap-400 px-600 py-500 min-h-1000", {
|
|
9
|
+
variants: {
|
|
10
|
+
contentType: {
|
|
11
|
+
check: "",
|
|
12
|
+
alert: "",
|
|
13
|
+
error: "",
|
|
14
|
+
custom: ""
|
|
15
|
+
},
|
|
16
|
+
colorState: {
|
|
17
|
+
fill: "",
|
|
18
|
+
outline: "border border-chia-400"
|
|
19
|
+
},
|
|
20
|
+
hasEar: {
|
|
21
|
+
true: "",
|
|
22
|
+
false: ""
|
|
23
|
+
},
|
|
24
|
+
messageType: {
|
|
25
|
+
initial: "",
|
|
26
|
+
followUp: ""
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
compoundVariants: [{
|
|
30
|
+
contentType: "check",
|
|
31
|
+
colorState: "fill",
|
|
32
|
+
className: "bg-pear-500"
|
|
33
|
+
}, {
|
|
34
|
+
contentType: "alert",
|
|
35
|
+
colorState: "fill",
|
|
36
|
+
className: "bg-tangerine-500"
|
|
37
|
+
}, {
|
|
38
|
+
contentType: "error",
|
|
39
|
+
colorState: "fill",
|
|
40
|
+
className: "bg-blackberry-500"
|
|
41
|
+
}, {
|
|
42
|
+
contentType: "custom",
|
|
43
|
+
colorState: "fill",
|
|
44
|
+
className: "bg-chia-100"
|
|
45
|
+
}, {
|
|
46
|
+
contentType: "custom",
|
|
47
|
+
colorState: "outline",
|
|
48
|
+
className: "bg-chia-100"
|
|
49
|
+
}, {
|
|
50
|
+
colorState: "outline",
|
|
51
|
+
className: "bg-chia-100"
|
|
52
|
+
}, {
|
|
53
|
+
hasEar: true,
|
|
54
|
+
className: "rounded-700 rounded-bl-100"
|
|
55
|
+
}, {
|
|
56
|
+
hasEar: false,
|
|
57
|
+
className: "rounded-700 rounded-bl-300"
|
|
58
|
+
}, {
|
|
59
|
+
messageType: "followUp",
|
|
60
|
+
className: "rounded-tl-300"
|
|
61
|
+
}],
|
|
62
|
+
defaultVariants: {
|
|
63
|
+
colorState: "fill",
|
|
64
|
+
messageType: "initial"
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
const chatBubbleTimeVariants = exports.chatBubbleTimeVariants = (0, _classVarianceAuthority.cva)("flex-row items-center gap-400 pt-400 pl-400");
|
|
68
|
+
//# sourceMappingURL=class-variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_classVarianceAuthority","require","chatBubbleBoxVariants","exports","cva","variants","contentType","check","alert","error","custom","colorState","fill","outline","hasEar","true","false","messageType","initial","followUp","compoundVariants","className","defaultVariants","chatBubbleTimeVariants"],"sourceRoot":"../../../../../src","sources":["components/ChatBubble/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AAEO,MAAMC,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG,IAAAE,2BAAG,EACtC,2CAA2C,EAC3C;EACEC,QAAQ,EAAE;IACRC,WAAW,EAAE;MACXC,KAAK,EAAE,EAAE;MACTC,KAAK,EAAE,EAAE;MACTC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE;IACV,CAAC;IACDC,UAAU,EAAE;MACVC,IAAI,EAAE,EAAE;MACRC,OAAO,EAAE;IACX,CAAC;IACDC,MAAM,EAAE;MACNC,IAAI,EAAE,EAAE;MACRC,KAAK,EAAE;IACT,CAAC;IACDC,WAAW,EAAE;MACXC,OAAO,EAAE,EAAE;MACXC,QAAQ,EAAE;IACZ;EACF,CAAC;EACDC,gBAAgB,EAAE,CAChB;IACEd,WAAW,EAAE,OAAO;IACpBK,UAAU,EAAE,MAAM;IAClBU,SAAS,EAAE;EACb,CAAC,EACD;IACEf,WAAW,EAAE,OAAO;IACpBK,UAAU,EAAE,MAAM;IAClBU,SAAS,EAAE;EACb,CAAC,EACD;IACEf,WAAW,EAAE,OAAO;IACpBK,UAAU,EAAE,MAAM;IAClBU,SAAS,EAAE;EACb,CAAC,EACD;IACEf,WAAW,EAAE,QAAQ;IACrBK,UAAU,EAAE,MAAM;IAClBU,SAAS,EAAE;EACb,CAAC,EACD;IACEf,WAAW,EAAE,QAAQ;IACrBK,UAAU,EAAE,SAAS;IACrBU,SAAS,EAAE;EACb,CAAC,EACD;IACEV,UAAU,EAAE,SAAS;IACrBU,SAAS,EAAE;EACb,CAAC,EACD;IACEP,MAAM,EAAE,IAAI;IACZO,SAAS,EAAE;EACb,CAAC,EACD;IACEP,MAAM,EAAE,KAAK;IACbO,SAAS,EAAE;EACb,CAAC,EACD;IAAEJ,WAAW,EAAE,UAAU;IAAEI,SAAS,EAAE;EAAiB,CAAC,CACzD;EACDC,eAAe,EAAE;IACfX,UAAU,EAAE,MAAM;IAClBM,WAAW,EAAE;EACf;AACF,CACF,CAAC;AAEM,MAAMM,sBAAsB,GAAApB,OAAA,CAAAoB,sBAAA,GAAG,IAAAnB,2BAAG,EACvC,6CACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ChatBubbleContent = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _tailwindPreset = require("@kivid/tailwind-preset");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
/**
|
|
13
|
+
* Content container for the main bubble content (seal + text)
|
|
14
|
+
*/
|
|
15
|
+
const ChatBubbleContent = ({
|
|
16
|
+
className,
|
|
17
|
+
children,
|
|
18
|
+
...props
|
|
19
|
+
}) => {
|
|
20
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
21
|
+
className: (0, _tailwindPreset.merge)("flex-row items-center gap-2", className),
|
|
22
|
+
...props,
|
|
23
|
+
children: children
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
exports.ChatBubbleContent = ChatBubbleContent;
|
|
27
|
+
ChatBubbleContent.displayName = "ChatBubble.Content";
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_tailwindPreset","_jsxRuntime","e","__esModule","default","ChatBubbleContent","className","children","props","jsx","View","merge","exports","displayName"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleContent/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AAA+C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAG/C;AACA;AACA;AACO,MAAMG,iBAAmD,GAAGA,CAAC;EAClEC,SAAS;EACTC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,oBACE,IAAAP,WAAA,CAAAQ,GAAA,EAACV,YAAA,CAAAW,IAAI;IACHJ,SAAS,EAAE,IAAAK,qBAAK,EAAC,6BAA6B,EAAEL,SAAS,CAAE;IAAA,GACvDE,KAAK;IAAAD,QAAA,EAERA;EAAQ,CACL,CAAC;AAEX,CAAC;AAACK,OAAA,CAAAP,iBAAA,GAAAA,iBAAA;AAEFA,iBAAiB,CAACQ,WAAW,GAAG,oBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleContent/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ChatBubbleEar = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
const ChatBubbleEar = ({
|
|
13
|
+
type = "fill",
|
|
14
|
+
color = "#F2F7F7",
|
|
15
|
+
...props
|
|
16
|
+
}) => {
|
|
17
|
+
if (type === "outline") {
|
|
18
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
|
|
19
|
+
width: 12,
|
|
20
|
+
height: 10,
|
|
21
|
+
viewBox: "0 0 12 10",
|
|
22
|
+
fill: "none",
|
|
23
|
+
...props,
|
|
24
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
25
|
+
d: "M11.5 0.5V9.5H7.75098C2.95557 9.34303 1.06326 5.41102 0.511719 3.91016C0.476256 3.80748 0.523736 3.72138 0.575195 3.69141L0.576172 3.69043C0.597192 3.67831 0.616459 3.67593 0.632812 3.67773C0.649308 3.67957 0.669032 3.68628 0.688477 3.7041C1.18665 4.17051 2.2435 4.93738 3.79004 4.9375C6.23009 4.9375 8.23446 2.96737 8.47559 0.5H11.5Z",
|
|
26
|
+
fill: color,
|
|
27
|
+
stroke: "#DEE7E7",
|
|
28
|
+
strokeMiterlimit: 10
|
|
29
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
30
|
+
d: "M8 3.15144V9H12V0H9C9 1.47424 8.5 2.46333 8 3.15144Z",
|
|
31
|
+
fill: color
|
|
32
|
+
})]
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.default, {
|
|
36
|
+
width: 12,
|
|
37
|
+
height: 10,
|
|
38
|
+
viewBox: "0 0 12 10",
|
|
39
|
+
fill: "none",
|
|
40
|
+
...props,
|
|
41
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
|
|
42
|
+
d: "M12 10V3.55405e-05L8 0C8 2.4436 6.09369 4.43749 3.79039 4.43749C2.41431 4.43749 1.47239 3.75438 1.02718 3.3367C0.832174 3.15714 0.552541 3.12591 0.324419 3.25863C0.0484661 3.41867 -0.0692741 3.76609 0.0411073 4.07837C0.604052 5.61245 2.60563 9.83215 7.73469 10H12Z",
|
|
43
|
+
fill: color
|
|
44
|
+
})
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
exports.ChatBubbleEar = ChatBubbleEar;
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ChatBubbleEar","type","color","props","jsxs","width","height","viewBox","fill","children","jsx","Path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
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ChatBubbleLoading = void 0;
|
|
7
|
+
var _index = require("../../../LoadingDots/index.js");
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const ChatBubbleLoading = props => {
|
|
10
|
+
const {
|
|
11
|
+
loadingDotsProps,
|
|
12
|
+
className,
|
|
13
|
+
...rest
|
|
14
|
+
} = props;
|
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.LoadingDots, {
|
|
16
|
+
lottieViewStyle: {
|
|
17
|
+
width: 32,
|
|
18
|
+
height: 32,
|
|
19
|
+
marginTop: -5,
|
|
20
|
+
marginBottom: -5
|
|
21
|
+
},
|
|
22
|
+
...loadingDotsProps
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
exports.ChatBubbleLoading = ChatBubbleLoading;
|
|
26
|
+
ChatBubbleLoading.displayName = "ChatBubbleLoading";
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","require","_jsxRuntime","ChatBubbleLoading","props","loadingDotsProps","className","rest","jsx","LoadingDots","lottieViewStyle","width","height","marginTop","marginBottom","exports","displayName"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleLoading/index.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAmD,IAAAC,WAAA,GAAAD,OAAA;AAO5C,MAAME,iBAAiB,GAAIC,KAA6B,IAAK;EAClE,MAAM;IAAEC,gBAAgB;IAAEC,SAAS;IAAE,GAAGC;EAAK,CAAC,GAAGH,KAAK;EAEtD,oBACE,IAAAF,WAAA,CAAAM,GAAA,EAACR,MAAA,CAAAS,WAAW;IACVC,eAAe,EAAE;MACfC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVC,SAAS,EAAE,CAAC,CAAC;MACbC,YAAY,EAAE,CAAC;IACjB,CAAE;IAAA,GACET;EAAgB,CACrB,CAAC;AAEN,CAAC;AAACU,OAAA,CAAAZ,iBAAA,GAAAA,iBAAA;AAEFA,iBAAiB,CAACa,WAAW,GAAG,mBAAmB","ignoreList":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ChatBubbleSeal = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _tailwindPreset = require("@kivid/tailwind-preset");
|
|
9
|
+
var _index = require("../../../Seal/index.js");
|
|
10
|
+
var _context = require("../../context.js");
|
|
11
|
+
var _index2 = require("../../../Seal/enums/index.js");
|
|
12
|
+
var _index3 = require("../../../../enums/index.js");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
const ChatBubbleSeal = ({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}) => {
|
|
19
|
+
const {
|
|
20
|
+
contentType,
|
|
21
|
+
colorState
|
|
22
|
+
} = (0, _context.useChatBubbleContext)();
|
|
23
|
+
if (!contentType || contentType === "custom") {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
const sealVariantMap = {
|
|
27
|
+
check: _index2.SealVariantEnum.SUCCESS,
|
|
28
|
+
alert: _index2.SealVariantEnum.ALERT,
|
|
29
|
+
error: _index2.SealVariantEnum.ERROR
|
|
30
|
+
};
|
|
31
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Seal, {
|
|
32
|
+
variant: sealVariantMap[contentType],
|
|
33
|
+
size: _index3.SizeEnum.MEDIUM,
|
|
34
|
+
inverted: colorState === "fill",
|
|
35
|
+
className: (0, _tailwindPreset.merge)("ml-[-6px]", className),
|
|
36
|
+
...props
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
exports.ChatBubbleSeal = ChatBubbleSeal;
|
|
40
|
+
ChatBubbleSeal.displayName = "ChatBubble.Seal";
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_tailwindPreset","_index","_context","_index2","_index3","_jsxRuntime","e","__esModule","default","ChatBubbleSeal","className","props","contentType","colorState","useChatBubbleContext","sealVariantMap","check","SealVariantEnum","SUCCESS","alert","ALERT","error","ERROR","jsx","Seal","variant","size","SizeEnum","MEDIUM","inverted","merge","exports","displayName"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleSeal/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAEA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAA6C,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEtC,MAAMG,cAA6C,GAAGA,CAAC;EAC5DC,SAAS;EACT,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC,WAAW;IAAEC;EAAW,CAAC,GAAG,IAAAC,6BAAoB,EAAC,CAAC;EAE1D,IAAI,CAACF,WAAW,IAAIA,WAAW,KAAK,QAAQ,EAAE;IAC5C,OAAO,IAAI;EACb;EAEA,MAAMG,cAAc,GAAG;IACrBC,KAAK,EAAEC,uBAAe,CAACC,OAAO;IAC9BC,KAAK,EAAEF,uBAAe,CAACG,KAAK;IAC5BC,KAAK,EAAEJ,uBAAe,CAACK;EACzB,CAAC;EAED,oBACE,IAAAjB,WAAA,CAAAkB,GAAA,EAACtB,MAAA,CAAAuB,IAAI;IACHC,OAAO,EAAEV,cAAc,CAACH,WAAW,CAAE;IACrCc,IAAI,EAAEC,gBAAQ,CAACC,MAAO;IACtBC,QAAQ,EAAEhB,UAAU,KAAK,MAAO;IAChCH,SAAS,EAAE,IAAAoB,qBAAK,EAAC,WAAW,EAAEpB,SAAS,CAAE;IAAA,GACrCC;EAAK,CACV,CAAC;AAEN,CAAC;AAACoB,OAAA,CAAAtB,cAAA,GAAAA,cAAA;AAEFA,cAAc,CAACuB,WAAW,GAAG,iBAAiB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleSeal/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ChatBubbleText = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _tailwindPreset = require("@kivid/tailwind-preset");
|
|
9
|
+
var _index = require("../../../Typography/index.js");
|
|
10
|
+
var _context = require("../../context.js");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
/**
|
|
14
|
+
* Typography component for bubble text content
|
|
15
|
+
*/
|
|
16
|
+
const ChatBubbleText = ({
|
|
17
|
+
className,
|
|
18
|
+
children,
|
|
19
|
+
...props
|
|
20
|
+
}) => {
|
|
21
|
+
const {
|
|
22
|
+
colorState,
|
|
23
|
+
contentType
|
|
24
|
+
} = (0, _context.useChatBubbleContext)();
|
|
25
|
+
|
|
26
|
+
// Text color based on bubble colorState
|
|
27
|
+
const textColorClass = colorState === "fill" && contentType !== "custom" ? "text-chia-200" : "text-chia-800";
|
|
28
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Typography, {
|
|
29
|
+
variant: "body_large",
|
|
30
|
+
weight: "600",
|
|
31
|
+
className: (0, _tailwindPreset.merge)(textColorClass, className),
|
|
32
|
+
...props,
|
|
33
|
+
children: children
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
exports.ChatBubbleText = ChatBubbleText;
|
|
37
|
+
ChatBubbleText.displayName = "ChatBubble.Text";
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_tailwindPreset","_index","_context","_jsxRuntime","e","__esModule","default","ChatBubbleText","className","children","props","colorState","contentType","useChatBubbleContext","textColorClass","jsx","Typography","variant","weight","merge","exports","displayName"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleText/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAAqD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAGrD;AACA;AACA;AACO,MAAMG,cAA6C,GAAGA,CAAC;EAC5DC,SAAS;EACTC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC,UAAU;IAAEC;EAAY,CAAC,GAAG,IAAAC,6BAAoB,EAAC,CAAC;;EAE1D;EACA,MAAMC,cAAc,GAClBH,UAAU,KAAK,MAAM,IAAIC,WAAW,KAAK,QAAQ,GAC7C,eAAe,GACf,eAAe;EAErB,oBACE,IAAAT,WAAA,CAAAY,GAAA,EAACd,MAAA,CAAAe,UAAU;IACTC,OAAO,EAAC,YAAY;IACpBC,MAAM,EAAC,KAAK;IACZV,SAAS,EAAE,IAAAW,qBAAK,EAACL,cAAc,EAAEN,SAAS,CAAE;IAAA,GACxCE,KAAK;IAAAD,QAAA,EAERA;EAAQ,CACC,CAAC;AAEjB,CAAC;AAACW,OAAA,CAAAb,cAAA,GAAAA,cAAA;AAEFA,cAAc,CAACc,WAAW,GAAG,iBAAiB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleText/types.ts"],"mappings":"","ignoreList":[]}
|