@kivid/native-components 1.0.0-alpha.5 → 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 +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/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 +168 -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/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 +32 -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/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 +16 -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 +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/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/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 +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 +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 +25 -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 +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 +32 -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/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/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/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/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/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/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 → 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/commonjs/components/{InputOTP → OtpInput}/enums/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/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
|
@@ -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":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ChatBubbleTime = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _tailwindPreset = require("@kivid/tailwind-preset");
|
|
10
|
+
var _index = require("../../../Typography/index.js");
|
|
11
|
+
var _classVariants = require("../../assets/class-variants.js");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
/**
|
|
15
|
+
* Time component for displaying message timestamp
|
|
16
|
+
*/
|
|
17
|
+
const ChatBubbleTime = ({
|
|
18
|
+
className,
|
|
19
|
+
children,
|
|
20
|
+
...props
|
|
21
|
+
}) => {
|
|
22
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
23
|
+
className: (0, _classVariants.chatBubbleTimeVariants)(),
|
|
24
|
+
accessibilityLabel: `Message time: ${children}`,
|
|
25
|
+
accessibilityRole: "text",
|
|
26
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Typography, {
|
|
27
|
+
variant: "label_small",
|
|
28
|
+
weight: "600",
|
|
29
|
+
className: (0, _tailwindPreset.merge)("text-chia-600", className),
|
|
30
|
+
...props,
|
|
31
|
+
children: children
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
exports.ChatBubbleTime = ChatBubbleTime;
|
|
36
|
+
ChatBubbleTime.displayName = "ChatBubble.Time";
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_tailwindPreset","_index","_classVariants","_jsxRuntime","e","__esModule","default","ChatBubbleTime","className","children","props","jsx","View","chatBubbleTimeVariants","accessibilityLabel","accessibilityRole","Typography","variant","weight","merge","exports","displayName"],"sourceRoot":"../../../../../../src","sources":["components/ChatBubble/components/ChatBubbleTime/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;AACA,IAAAI,cAAA,GAAAJ,OAAA;AAAqE,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAGrE;AACA;AACA;AACO,MAAMG,cAA6C,GAAGA,CAAC;EAC5DC,SAAS;EACTC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,oBACE,IAAAP,WAAA,CAAAQ,GAAA,EAACZ,YAAA,CAAAa,IAAI;IACHJ,SAAS,EAAE,IAAAK,qCAAsB,EAAC,CAAE;IACpCC,kBAAkB,EAAE,iBAAiBL,QAAQ,EAAG;IAChDM,iBAAiB,EAAC,MAAM;IAAAN,QAAA,eAExB,IAAAN,WAAA,CAAAQ,GAAA,EAACV,MAAA,CAAAe,UAAU;MACTC,OAAO,EAAC,aAAa;MACrBC,MAAM,EAAC,KAAK;MACZV,SAAS,EAAE,IAAAW,qBAAK,EAAC,eAAe,EAAEX,SAAS,CAAE;MAAA,GACzCE,KAAK;MAAAD,QAAA,EAERA;IAAQ,CACC;EAAC,CACT,CAAC;AAEX,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/ChatBubbleTime/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "ChatBubbleContent", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _index2.ChatBubbleContent;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "ChatBubbleEar", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _index.ChatBubbleEar;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "ChatBubbleLoading", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _index6.ChatBubbleLoading;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "ChatBubbleSeal", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _index3.ChatBubbleSeal;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "ChatBubbleText", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _index4.ChatBubbleText;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "ChatBubbleTime", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _index5.ChatBubbleTime;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
var _index = require("./ChatBubbleEar/index.js");
|
|
43
|
+
var _index2 = require("./ChatBubbleContent/index.js");
|
|
44
|
+
var _index3 = require("./ChatBubbleSeal/index.js");
|
|
45
|
+
var _index4 = require("./ChatBubbleText/index.js");
|
|
46
|
+
var _index5 = require("./ChatBubbleTime/index.js");
|
|
47
|
+
var _index6 = require("./ChatBubbleLoading/index.js");
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","require","_index2","_index3","_index4","_index5","_index6"],"sourceRoot":"../../../../../src","sources":["components/ChatBubble/components/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useChatBubbleContext = exports.ChatBubbleContext = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
const ChatBubbleContext = exports.ChatBubbleContext = /*#__PURE__*/(0, _react.createContext)(null);
|
|
9
|
+
const useChatBubbleContext = () => {
|
|
10
|
+
const context = (0, _react.useContext)(ChatBubbleContext);
|
|
11
|
+
if (!context) {
|
|
12
|
+
throw new Error("ChatBubble compound components must be used within a ChatBubble");
|
|
13
|
+
}
|
|
14
|
+
return context;
|
|
15
|
+
};
|
|
16
|
+
exports.useChatBubbleContext = useChatBubbleContext;
|
|
17
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","ChatBubbleContext","exports","createContext","useChatBubbleContext","context","useContext","Error"],"sourceRoot":"../../../../src","sources":["components/ChatBubble/context.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAaO,MAAMC,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,gBAAG,IAAAE,oBAAa,EAC5C,IACF,CAAC;AAEM,MAAMC,oBAAoB,GAAGA,CAAA,KAAM;EACxC,MAAMC,OAAO,GAAG,IAAAC,iBAAU,EAACL,iBAAiB,CAAC;EAC7C,IAAI,CAACI,OAAO,EAAE;IACZ,MAAM,IAAIE,KAAK,CACb,iEACF,CAAC;EACH;EACA,OAAOF,OAAO;AAChB,CAAC;AAACH,OAAA,CAAAE,oBAAA,GAAAA,oBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ChatBubble = ChatBubble;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _index = require("./components/index.js");
|
|
9
|
+
var _context = require("./context.js");
|
|
10
|
+
var _classVariants = require("./assets/class-variants.js");
|
|
11
|
+
var _index2 = require("../../styles/mixins/shadows/index.js");
|
|
12
|
+
var _tailwindPreset = require("@kivid/tailwind-preset");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function ChatBubble(props) {
|
|
15
|
+
const {
|
|
16
|
+
contentType = "custom",
|
|
17
|
+
colorState = "outline",
|
|
18
|
+
hasEar = false,
|
|
19
|
+
className,
|
|
20
|
+
children,
|
|
21
|
+
time: timeFromProps,
|
|
22
|
+
messageType = "initial",
|
|
23
|
+
...restOfProps
|
|
24
|
+
} = props;
|
|
25
|
+
const [hours, minutes] = new Date().toLocaleTimeString().split(":");
|
|
26
|
+
const time = timeFromProps ? timeFromProps : `${hours}:${minutes}`;
|
|
27
|
+
const colorMap = {
|
|
28
|
+
check: "#3DCC78",
|
|
29
|
+
alert: "#FF8B59",
|
|
30
|
+
error: "#E65245",
|
|
31
|
+
custom: "#FAFCFC"
|
|
32
|
+
};
|
|
33
|
+
const tailColor = colorState === "outline" ? "#FAFCFC" : colorMap[contentType];
|
|
34
|
+
const contextInitialValue = {
|
|
35
|
+
contentType,
|
|
36
|
+
colorState,
|
|
37
|
+
messageType
|
|
38
|
+
};
|
|
39
|
+
const accessibilityLabelMap = {
|
|
40
|
+
check: "Success message",
|
|
41
|
+
alert: "Warning message",
|
|
42
|
+
error: "Error message",
|
|
43
|
+
custom: "Custom message"
|
|
44
|
+
};
|
|
45
|
+
function renderChatBubbleEar() {
|
|
46
|
+
if (hasEar) {
|
|
47
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ChatBubbleEar, {
|
|
48
|
+
color: tailColor,
|
|
49
|
+
type: colorState
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
const bubbleWithEarOffset = hasEar ? "mr-[8.8px]" : "";
|
|
55
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.ChatBubbleContext.Provider, {
|
|
56
|
+
value: contextInitialValue,
|
|
57
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
58
|
+
accessibilityRole: "text",
|
|
59
|
+
accessibilityLabel: accessibilityLabelMap[contentType],
|
|
60
|
+
accessible: true,
|
|
61
|
+
className: (0, _tailwindPreset.merge)("flex", className),
|
|
62
|
+
...restOfProps,
|
|
63
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
64
|
+
className: `relative flex-row items-end ${bubbleWithEarOffset}`,
|
|
65
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
66
|
+
className: "w-[11px] h-[9px] mr-[-3.2px] pb-[1.2px] z-10 items-center justify-center",
|
|
67
|
+
accessibilityElementsHidden: true,
|
|
68
|
+
importantForAccessibility: "no-hide-descendants",
|
|
69
|
+
children: renderChatBubbleEar()
|
|
70
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
71
|
+
className: (0, _tailwindPreset.merge)((0, _classVariants.chatBubbleBoxVariants)({
|
|
72
|
+
contentType,
|
|
73
|
+
colorState,
|
|
74
|
+
hasEar,
|
|
75
|
+
messageType
|
|
76
|
+
})),
|
|
77
|
+
style: {
|
|
78
|
+
boxShadow: _index2.elevationDown100
|
|
79
|
+
},
|
|
80
|
+
accessibilityRole: "text",
|
|
81
|
+
children: children
|
|
82
|
+
})]
|
|
83
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ChatBubbleTime, {
|
|
84
|
+
children: time
|
|
85
|
+
})]
|
|
86
|
+
})
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
ChatBubble.Content = _index.ChatBubbleContent;
|
|
90
|
+
ChatBubble.Seal = _index.ChatBubbleSeal;
|
|
91
|
+
ChatBubble.Text = _index.ChatBubbleText;
|
|
92
|
+
ChatBubble.Loading = _index.ChatBubbleLoading;
|
|
93
|
+
ChatBubble.displayName = "ChatBubble";
|
|
94
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_index","_context","_classVariants","_index2","_tailwindPreset","_jsxRuntime","ChatBubble","props","contentType","colorState","hasEar","className","children","time","timeFromProps","messageType","restOfProps","hours","minutes","Date","toLocaleTimeString","split","colorMap","check","alert","error","custom","tailColor","contextInitialValue","accessibilityLabelMap","renderChatBubbleEar","jsx","ChatBubbleEar","color","type","bubbleWithEarOffset","ChatBubbleContext","Provider","value","jsxs","View","accessibilityRole","accessibilityLabel","accessible","merge","accessibilityElementsHidden","importantForAccessibility","chatBubbleBoxVariants","style","boxShadow","elevationDown100","ChatBubbleTime","Content","ChatBubbleContent","Seal","ChatBubbleSeal","Text","ChatBubbleText","Loading","ChatBubbleLoading","displayName"],"sourceRoot":"../../../../src","sources":["components/ChatBubble/index.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/ChatBubble/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.checkboxInputVariants = void 0;
|
|
7
7
|
var _classVarianceAuthority = require("class-variance-authority");
|
|
8
8
|
var _index = require("../enums/index.js");
|
|
9
|
-
const
|
|
9
|
+
const checkboxInputVariants = exports.checkboxInputVariants = (0, _classVarianceAuthority.cva)("flex items-center justify-center w-[20px] h-[20px] rounded-500 border transition-all duration-200", {
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
12
12
|
[_index.CheckboxVariantEnum.GRAPE]: ["bg-chia-200 border-chia-400", "disabled:bg-grape-300 disabled:border-grape-300"],
|
package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_classVarianceAuthority","require","_index","
|
|
1
|
+
{"version":3,"names":["_classVarianceAuthority","require","_index","checkboxInputVariants","exports","cva","variants","variant","CheckboxVariantEnum","GRAPE","JAVA","PEAR","TANGERINE","CHIA","PITAYA","MANGO","isChecked","true","false","disabled","compoundVariants","class","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/CheckboxInput/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEO,MAAME,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG,IAAAE,2BAAG,EACtC,mGAAmG,EACnG;EACEC,QAAQ,EAAE;IACRC,OAAO,EAAE;MACP,CAACC,0BAAmB,CAACC,KAAK,GAAG,CAC3B,6BAA6B,EAC7B,iDAAiD,CAClD;MACD,CAACD,0BAAmB,CAACE,IAAI,GAAG,CAC1B,6BAA6B,EAC7B,+CAA+C,CAChD;MACD,CAACF,0BAAmB,CAACG,IAAI,GAAG,CAC1B,6BAA6B,EAC7B,+CAA+C,CAChD;MACD,CAACH,0BAAmB,CAACI,SAAS,GAAG,CAC/B,6BAA6B,EAC7B,yDAAyD,CAC1D;MACD,CAACJ,0BAAmB,CAACK,IAAI,GAAG,CAC1B,6BAA6B,EAC7B,+CAA+C,CAChD;MACD,CAACL,0BAAmB,CAACM,MAAM,GAAG,CAC5B,6BAA6B,EAC7B,mDAAmD,CACpD;MACD,CAACN,0BAAmB,CAACO,KAAK,GAAG,CAC3B,6BAA6B,EAC7B,iDAAiD;IAErD,CAAC;IACDC,SAAS,EAAE;MACTC,IAAI,EAAE,IAAI;MACVC,KAAK,EAAE;IACT,CAAC;IACDC,QAAQ,EAAE;MACRF,IAAI,EAAE,+BAA+B;MACrCC,KAAK,EAAE;IACT;EACF,CAAC;EACDE,gBAAgB,EAAE,CAChB;IACEb,OAAO,EAAEC,0BAAmB,CAACC,KAAK;IAClCO,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACE,IAAI;IACjCM,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACG,IAAI;IACjCK,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACI,SAAS;IACtCI,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACK,IAAI;IACjCG,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACM,MAAM;IACnCE,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,EACD;IACEd,OAAO,EAAEC,0BAAmB,CAACO,KAAK;IAClCC,SAAS,EAAE,IAAI;IACfK,KAAK,EAAE;EACT,CAAC,CACF;EACDC,eAAe,EAAE;IACff,OAAO,EAAEC,0BAAmB,CAACE,IAAI;IACjCM,SAAS,EAAE,KAAK;IAChBG,QAAQ,EAAE;EACZ;AACF,CACF,CAAC","ignoreList":[]}
|
package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CheckboxVariantEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/
|
|
1
|
+
{"version":3,"names":["CheckboxVariantEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/CheckboxInput/enums/checkbox-variant.ts"],"mappings":";;;;;;IAAYA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_checkboxVariant","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_selectVariant"],"sourceRoot":"../../../../../src","sources":["components/
|
|
1
|
+
{"version":3,"names":["_checkboxVariant","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_selectVariant"],"sourceRoot":"../../../../../src","sources":["components/CheckboxInput/enums/index.ts"],"mappings":";;;;;AAAA,IAAAA,gBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,gBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,gBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,gBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,cAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,cAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,cAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,cAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SelectVariantEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/
|
|
1
|
+
{"version":3,"names":["SelectVariantEnum","exports"],"sourceRoot":"../../../../../src","sources":["components/CheckboxInput/enums/select-variant.ts"],"mappings":";;;;;;IAAYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CheckIcon","props","jsx","fill","viewBox","width","height","color","children","Path","stroke","strokeLinecap","strokeLinejoin","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/
|
|
1
|
+
{"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CheckIcon","props","jsx","fill","viewBox","width","height","color","children","Path","stroke","strokeLinecap","strokeLinejoin","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/CheckboxInput/icons/CheckIcon/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA6C,IAAAC,WAAA,GAAAD,OAAA;AAAA,SAAAD,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAGtC,MAAMkB,SAAS,GAAIC,KAAe,IAAK;EAC5C,oBACE,IAAArB,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAc,OAAG;IACFY,IAAI,EAAC,SAAS;IACdC,OAAO,EAAC,UAAU;IAClBC,KAAK,EAAE,EAAG;IACVC,MAAM,EAAE,CAAE;IACVC,KAAK,EAAC,SAAS;IAAA,GACXN,KAAK;IAAAO,QAAA,eAET,IAAA5B,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAgC,IAAI;MACHC,MAAM,EAAC,SAAS;MAChBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC,OAAO;MACtBC,CAAC,EAAC;IAA4O,CAC/O;EAAC,CACC,CAAC;AAEV,CAAC;AAACC,OAAA,CAAAd,SAAA,GAAAA,SAAA;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","IndeterminateIcon","props","jsx","fill","viewBox","width","height","color","children","Path","stroke","strokeLinecap","strokeLinejoin","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/
|
|
1
|
+
{"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","IndeterminateIcon","props","jsx","fill","viewBox","width","height","color","children","Path","stroke","strokeLinecap","strokeLinejoin","d","exports"],"sourceRoot":"../../../../../../src","sources":["components/CheckboxInput/icons/IndeterminateIcon/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA6C,IAAAC,WAAA,GAAAD,OAAA;AAAA,SAAAD,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAGtC,MAAMkB,iBAAiB,GAAIC,KAAe,IAAK;EACpD,oBACE,IAAArB,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAc,OAAG;IACFY,IAAI,EAAC,SAAS;IACdC,OAAO,EAAC,SAAS;IACjBC,KAAK,EAAE,CAAE;IACTC,MAAM,EAAE,CAAE;IACVC,KAAK,EAAC,SAAS;IAAA,GACXN,KAAK;IAAAO,QAAA,eAET,IAAA5B,WAAA,CAAAsB,GAAA,EAACzB,eAAA,CAAAgC,IAAI;MACHC,MAAM,EAAC,SAAS;MAChBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC,OAAO;MACtBC,CAAC,EAAC;IAA8U,CACjV;EAAC,CACC,CAAC;AAEV,CAAC;AAACC,OAAA,CAAAd,iBAAA,GAAAA,iBAAA;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","_index2"],"sourceRoot":"../../../../../src","sources":["components/
|
|
1
|
+
{"version":3,"names":["_index","require","_index2"],"sourceRoot":"../../../../../src","sources":["components/CheckboxInput/icons/index.ts"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA","ignoreList":[]}
|
|
@@ -3,22 +3,23 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.CheckboxInput = CheckboxInput;
|
|
7
7
|
var _index = require("./enums/index.js");
|
|
8
8
|
var _classVariants = require("./assets/class-variants.js");
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _index2 = require("./icons/index.js");
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
function
|
|
12
|
+
function CheckboxInput(props) {
|
|
13
13
|
const {
|
|
14
14
|
isChecked = false,
|
|
15
15
|
selectType = _index.SelectVariantEnum.SELECTED,
|
|
16
16
|
variant = _index.CheckboxVariantEnum.JAVA,
|
|
17
17
|
onChange,
|
|
18
|
-
disabled = false
|
|
18
|
+
disabled = false,
|
|
19
|
+
className
|
|
19
20
|
} = props;
|
|
20
21
|
function handleChange() {
|
|
21
|
-
onChange(!isChecked);
|
|
22
|
+
onChange?.(!isChecked);
|
|
22
23
|
}
|
|
23
24
|
function renderIcon() {
|
|
24
25
|
if (!isChecked) {
|
|
@@ -39,8 +40,9 @@ function InputCheckbox(props) {
|
|
|
39
40
|
accessibilityState: {
|
|
40
41
|
checked: isChecked
|
|
41
42
|
},
|
|
43
|
+
className: className,
|
|
42
44
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
43
|
-
className: (0, _classVariants.
|
|
45
|
+
className: (0, _classVariants.checkboxInputVariants)({
|
|
44
46
|
variant,
|
|
45
47
|
disabled,
|
|
46
48
|
isChecked
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","require","_classVariants","_reactNative","_index2","_jsxRuntime","CheckboxInput","props","isChecked","selectType","SelectVariantEnum","SELECTED","variant","CheckboxVariantEnum","JAVA","onChange","disabled","className","handleChange","renderIcon","INDETERMINATE","jsx","CheckIcon","IndeterminateIcon","View","children","TouchableOpacity","onPress","accessible","accessibilityRole","accessibilityState","checked","checkboxInputVariants"],"sourceRoot":"../../../../src","sources":["components/CheckboxInput/index.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAAuD,IAAAI,WAAA,GAAAJ,OAAA;AAEhD,SAASK,aAAaA,CAACC,KAAyB,EAAE;EACvD,MAAM;IACJC,SAAS,GAAG,KAAK;IACjBC,UAAU,GAAGC,wBAAiB,CAACC,QAAQ;IACvCC,OAAO,GAAGC,0BAAmB,CAACC,IAAI;IAClCC,QAAQ;IACRC,QAAQ,GAAG,KAAK;IAChBC;EACF,CAAC,GAAGV,KAAK;EAET,SAASW,YAAYA,CAAA,EAAG;IACtBH,QAAQ,GAAG,CAACP,SAAS,CAAC;EACxB;EAEA,SAASW,UAAUA,CAAA,EAAG;IACpB,IAAI,CAACX,SAAS,EAAE;MACd,OAAO,IAAI;IACb;IAEA,IAAIC,UAAU,KAAKC,wBAAiB,CAACU,aAAa,EAAE;MAClD,oBAAO,IAAAf,WAAA,CAAAgB,GAAA,EAACjB,OAAA,CAAAkB,SAAS,IAAE,CAAC;IACtB;IAEA,oBAAO,IAAAjB,WAAA,CAAAgB,GAAA,EAACjB,OAAA,CAAAmB,iBAAiB,IAAE,CAAC;EAC9B;EAEA,oBACE,IAAAlB,WAAA,CAAAgB,GAAA,EAAClB,YAAA,CAAAqB,IAAI;IAACP,SAAS,EAAC,4CAA4C;IAAAQ,QAAA,eAC1D,IAAApB,WAAA,CAAAgB,GAAA,EAAClB,YAAA,CAAAuB,gBAAgB;MACfC,OAAO,EAAET,YAAa;MACtBF,QAAQ,EAAEA,QAAS;MACnBY,UAAU;MACVC,iBAAiB,EAAC,UAAU;MAC5BC,kBAAkB,EAAE;QAAEC,OAAO,EAAEvB;MAAU,CAAE;MAC3CS,SAAS,EAAEA,SAAU;MAAAQ,QAAA,eAErB,IAAApB,WAAA,CAAAgB,GAAA,EAAClB,YAAA,CAAAqB,IAAI;QACHP,SAAS,EAAE,IAAAe,oCAAqB,EAAC;UAC/BpB,OAAO;UACPI,QAAQ;UACRR;QACF,CAAC,CAAE;QAAAiB,QAAA,EAEFN,UAAU,CAAC;MAAC,CACT;IAAC,CACS;EAAC,CACf,CAAC;AAEX","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/CheckboxInput/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -14,15 +14,4 @@ Object.keys(_chipVariant).forEach(function (key) {
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
|
-
var _chipSize = require("./chip-size.js");
|
|
18
|
-
Object.keys(_chipSize).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _chipSize[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _chipSize[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_chipVariant","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"
|
|
1
|
+
{"version":3,"names":["_chipVariant","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["components/Chip/enums/index.ts"],"mappings":";;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,YAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -10,16 +10,17 @@ var _index = require("../Seal/index.js");
|
|
|
10
10
|
var _reactNative = require("react-native");
|
|
11
11
|
var _index2 = require("../Seal/enums/index.js");
|
|
12
12
|
var _index3 = require("../Typography/index.js");
|
|
13
|
+
var _index4 = require("../../enums/index.js");
|
|
13
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
function Chip(props) {
|
|
15
16
|
const {
|
|
16
17
|
label,
|
|
17
18
|
className,
|
|
18
19
|
sealVariant = _index2.SealVariantEnum.ADD,
|
|
19
|
-
size =
|
|
20
|
+
size = _index4.SizeEnum.MEDIUM,
|
|
20
21
|
variant = "outline"
|
|
21
22
|
} = props;
|
|
22
|
-
const typographyVariant = size ===
|
|
23
|
+
const typographyVariant = size === _index4.SizeEnum.MEDIUM ? "label_small" : "label_medium";
|
|
23
24
|
const textColorClass = variant === "filled" ? "text-chia-200" : "text-chia-900";
|
|
24
25
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
25
26
|
className: (0, _tailwindPreset.merge)((0, _classVariants.chipVariants)({
|
|
@@ -30,7 +31,7 @@ function Chip(props) {
|
|
|
30
31
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Seal, {
|
|
31
32
|
variant: sealVariant,
|
|
32
33
|
inverted: variant === "filled",
|
|
33
|
-
size:
|
|
34
|
+
size: _index4.SizeEnum.SMALL
|
|
34
35
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Typography, {
|
|
35
36
|
variant: typographyVariant,
|
|
36
37
|
weight: "700",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_tailwindPreset","require","_classVariants","_index","_reactNative","_index2","_index3","_jsxRuntime","Chip","props","label","className","sealVariant","SealVariantEnum","ADD","size","variant","typographyVariant","textColorClass","jsxs","View","merge","chipVariants","children","jsx","Seal","inverted","Typography","weight"],"sourceRoot":"../../../../src","sources":["components/Chip/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;
|
|
1
|
+
{"version":3,"names":["_tailwindPreset","require","_classVariants","_index","_reactNative","_index2","_index3","_index4","_jsxRuntime","Chip","props","label","className","sealVariant","SealVariantEnum","ADD","size","SizeEnum","MEDIUM","variant","typographyVariant","textColorClass","jsxs","View","merge","chipVariants","children","jsx","Seal","inverted","SMALL","Typography","weight"],"sourceRoot":"../../../../src","sources":["components/Chip/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAAuC,IAAAO,WAAA,GAAAP,OAAA;AAEhC,SAASQ,IAAIA,CAACC,KAAgB,EAAE;EACrC,MAAM;IACJC,KAAK;IACLC,SAAS;IACTC,WAAW,GAAGC,uBAAe,CAACC,GAAG;IACjCC,IAAI,GAAGC,gBAAQ,CAACC,MAAM;IACtBC,OAAO,GAAG;EACZ,CAAC,GAAGT,KAAK;EAET,MAAMU,iBAAiB,GACrBJ,IAAI,KAAKC,gBAAQ,CAACC,MAAM,GAAG,aAAa,GAAG,cAAc;EAE3D,MAAMG,cAAc,GAClBF,OAAO,KAAK,QAAQ,GAAG,eAAe,GAAG,eAAe;EAE1D,oBACE,IAAAX,WAAA,CAAAc,IAAA,EAAClB,YAAA,CAAAmB,IAAI;IACHX,SAAS,EAAE,IAAAY,qBAAK,EAAC,IAAAC,2BAAY,EAAC;MAAET,IAAI;MAAEG,OAAO;MAAEN;IAAY,CAAC,CAAC,EAAED,SAAS,CAAE;IAAAc,QAAA,gBAE1E,IAAAlB,WAAA,CAAAmB,GAAA,EAACxB,MAAA,CAAAyB,IAAI;MACHT,OAAO,EAAEN,WAAY;MACrBgB,QAAQ,EAAEV,OAAO,KAAK,QAAS;MAC/BH,IAAI,EAAEC,gBAAQ,CAACa;IAAM,CACtB,CAAC,eACF,IAAAtB,WAAA,CAAAmB,GAAA,EAACrB,OAAA,CAAAyB,UAAU;MACTZ,OAAO,EAAEC,iBAAkB;MAC3BY,MAAM,EAAC,KAAK;MACZpB,SAAS,EAAE,IAAAY,qBAAK,EAAC,SAAS,EAAEH,cAAc,CAAE;MAAAK,QAAA,EAE3Cf;IAAK,CACI,CAAC;EAAA,CACT,CAAC;AAEX","ignoreList":[]}
|
|
@@ -9,19 +9,20 @@ var _enums = require("./enums.js");
|
|
|
9
9
|
var _classVarianceAuthority = require("class-variance-authority");
|
|
10
10
|
var _tailwindPreset = require("@kivid/tailwind-preset");
|
|
11
11
|
var _reactNative = require("react-native");
|
|
12
|
+
var _index2 = require("../../enums/index.js");
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
function InformationStatus(props) {
|
|
14
15
|
const {
|
|
15
16
|
status,
|
|
16
|
-
size =
|
|
17
|
+
size = _index2.SizeEnum.MEDIUM,
|
|
17
18
|
square = false,
|
|
18
19
|
className,
|
|
19
20
|
style
|
|
20
21
|
} = props;
|
|
21
22
|
const mappedIconSize = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
[_index2.SizeEnum.SMALL]: 16,
|
|
24
|
+
[_index2.SizeEnum.MEDIUM]: 24,
|
|
25
|
+
[_index2.SizeEnum.LARGE]: 32
|
|
25
26
|
}[size];
|
|
26
27
|
const iconMap = {
|
|
27
28
|
[_enums.InformationStatusOptionsEnum.SUCCESS]: () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.GradientCheck, {
|
|
@@ -50,9 +51,9 @@ function InformationStatus(props) {
|
|
|
50
51
|
warning: "bg-tangerine-500"
|
|
51
52
|
},
|
|
52
53
|
size: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
[_index2.SizeEnum.SMALL]: [`${square ? "w-900 h-900" : "w-1000 h-700"}`],
|
|
55
|
+
[_index2.SizeEnum.MEDIUM]: [`${square ? "w-1000 h-1000" : "w-1200 h-800"}`],
|
|
56
|
+
[_index2.SizeEnum.LARGE]: [`${square ? "w-1100 h-1100" : "w-[80px] h-900"}`]
|
|
56
57
|
},
|
|
57
58
|
square: {
|
|
58
59
|
true: "rounded-700",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","_enums","_classVarianceAuthority","_tailwindPreset","_reactNative","_jsxRuntime","InformationStatus","props","status","size","square","className","style","mappedIconSize","
|
|
1
|
+
{"version":3,"names":["_index","require","_enums","_classVarianceAuthority","_tailwindPreset","_reactNative","_index2","_jsxRuntime","InformationStatus","props","status","size","SizeEnum","MEDIUM","square","className","style","mappedIconSize","SMALL","LARGE","iconMap","InformationStatusOptionsEnum","SUCCESS","jsx","GradientCheck","color","ERROR","GradientClose","WARNING","GradientAlert","ADD","GradientAdd","selectedVariants","cva","variants","variant","add","success","error","warning","true","false","Icon","informationStatusStyle","merge","View","children"],"sourceRoot":"../../../../src","sources":["components/InformationStatus/index.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.textVariants = exports.iconButtonVariants = exports.buttonVariants = void 0;
|
|
7
|
+
var _classVarianceAuthority = require("class-variance-authority");
|
|
8
|
+
var _index = require("../enums/index.js");
|
|
9
|
+
var _index2 = require("../../../enums/index.js");
|
|
10
|
+
const buttonVariants = exports.buttonVariants = (0, _classVarianceAuthority.cva)(["flex flex-row items-center justify-center max-w-fit", "font-bold", "disabled:cursor-not-allowed", "relative overflow-hidden"], {
|
|
11
|
+
variants: {
|
|
12
|
+
variant: {
|
|
13
|
+
[_index.ListButtonVariantEnum.GRAPE]: ["bg-grape-500", "disabled:bg-grape-500 disabled:opacity-30 disabled:text-chia-100"],
|
|
14
|
+
[_index.ListButtonVariantEnum.JAVA]: ["bg-java-500", "disabled:bg-java-500 disabled:opacity-30 disabled:text-chia-100"],
|
|
15
|
+
[_index.ListButtonVariantEnum.PEAR]: ["bg-pear-500", "disabled:bg-pear-500 disabled:opacity-30 disabled:text-chia-100"],
|
|
16
|
+
[_index.ListButtonVariantEnum.TANGERINE]: ["bg-tangerine-500", "disabled:bg-tangerine-500 disabled:opacity-30 disabled:text-chia-100"],
|
|
17
|
+
[_index.ListButtonVariantEnum.BLACKBERRY]: ["bg-blackberry-500", "disabled:bg-blackberry-500 disabled:opacity-30 disabled:text-chia-100"],
|
|
18
|
+
[_index.ListButtonVariantEnum.CHIA]: ["bg-chia-700", "disabled:bg-chia-700 disabled:opacity-30 disabled:text-chia-100"],
|
|
19
|
+
[_index.ListButtonVariantEnum.OUTLINE]: ["bg-chia-100 text-chia-900 border border-chia-400", "disabled:bg-chia-200 disabled:opacity-50 disabled:text-chia-900"]
|
|
20
|
+
},
|
|
21
|
+
size: {
|
|
22
|
+
[_index2.SizeEnum.SMALL]: "py-400 pr-400 pl-600",
|
|
23
|
+
[_index2.SizeEnum.MEDIUM]: "py-500 pr-400 pl-600",
|
|
24
|
+
[_index2.SizeEnum.LARGE]: "py-600 pr-400 pl-600"
|
|
25
|
+
},
|
|
26
|
+
corners: {
|
|
27
|
+
[_index2.CornersEnum.SMALL]: "rounded-500",
|
|
28
|
+
[_index2.CornersEnum.MEDIUM]: "rounded-700"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
defaultVariants: {
|
|
32
|
+
variant: _index.ListButtonVariantEnum.GRAPE,
|
|
33
|
+
size: _index2.SizeEnum.MEDIUM,
|
|
34
|
+
corners: _index2.CornersEnum.MEDIUM
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
const textVariants = exports.textVariants = (0, _classVarianceAuthority.cva)("", {
|
|
38
|
+
variants: {
|
|
39
|
+
variant: {
|
|
40
|
+
grape: "text-chia-100",
|
|
41
|
+
java: "text-chia-100",
|
|
42
|
+
pear: "text-chia-100",
|
|
43
|
+
tangerine: "text-chia-100",
|
|
44
|
+
blackberry: "text-chia-100",
|
|
45
|
+
chia: "text-chia-100",
|
|
46
|
+
outline: "text-chia-900",
|
|
47
|
+
glass: "text-chia-900",
|
|
48
|
+
ghost: "text-chia-900"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
const iconButtonVariants = exports.iconButtonVariants = (0, _classVarianceAuthority.cva)("flex flex-row items-center ", {
|
|
53
|
+
variants: {
|
|
54
|
+
showChevronIcon: {
|
|
55
|
+
true: "flex-1",
|
|
56
|
+
false: ""
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
//# sourceMappingURL=class-variants.js.map
|