@kivid/native-components 1.0.0-alpha.2 → 1.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -57
- package/dist/commonjs/components/ActionButton/assets/class-variants.js +47 -0
- package/dist/commonjs/components/ActionButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/ActionButton/index.js +120 -0
- package/dist/commonjs/components/ActionButton/index.js.map +1 -0
- package/dist/commonjs/components/ActionButton/types.js.map +1 -0
- package/dist/commonjs/components/Avatar/assets/class-variants.js +24 -0
- package/dist/commonjs/components/Avatar/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Avatar/images/girl.jpg +0 -0
- package/dist/commonjs/components/Avatar/index.js +116 -0
- package/dist/commonjs/components/Avatar/index.js.map +1 -0
- package/dist/commonjs/components/Avatar/types.js.map +1 -0
- package/dist/commonjs/components/Button/assets/class-variants.js +24 -13
- package/dist/commonjs/components/Button/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/Button/index.js +33 -26
- package/dist/commonjs/components/Button/index.js.map +1 -1
- package/dist/commonjs/components/ChatBubble/assets/class-variants.js +124 -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 +53 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/types.js +6 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleEar/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js +27 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js +41 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/types.js +6 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleText/index.js +43 -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 +43 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js +6 -0
- package/dist/commonjs/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/components/index.js +48 -0
- package/dist/commonjs/components/ChatBubble/components/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/index.js +17 -0
- package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/contexts/ChatBubbleContext/types.js +6 -0
- package/dist/{module/components/InputOTP/components/InformationStatus → commonjs/components/ChatBubble/contexts/ChatBubbleContext}/types.js.map +1 -1
- package/dist/commonjs/components/ChatBubble/contexts/index.js +17 -0
- package/dist/commonjs/components/ChatBubble/contexts/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/index.js +149 -0
- package/dist/commonjs/components/ChatBubble/index.js.map +1 -0
- package/dist/commonjs/components/ChatBubble/types.js +6 -0
- package/dist/commonjs/components/ChatBubble/types.js.map +1 -0
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +2 -2
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
- package/dist/commonjs/components/CheckboxInput/index.js.map +1 -0
- package/dist/commonjs/components/CheckboxInput/types.js +6 -0
- package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/types.js.map +1 -1
- package/dist/commonjs/components/Chip/assets/class-variants.js +2 -2
- package/dist/commonjs/components/Chip/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/Chip/enums/index.js +0 -11
- package/dist/commonjs/components/Chip/enums/index.js.map +1 -1
- package/dist/commonjs/components/Chip/index.js +10 -5
- package/dist/commonjs/components/Chip/index.js.map +1 -1
- package/dist/commonjs/components/HighlightedText/index.js +20 -16
- package/dist/commonjs/components/HighlightedText/index.js.map +1 -1
- package/dist/commonjs/components/IconButton/assets/class-variants.js +82 -0
- package/dist/commonjs/components/IconButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/IconButton/assets/design-system-showcase.js +119 -0
- package/dist/commonjs/components/IconButton/assets/design-system-showcase.js.map +1 -0
- package/dist/commonjs/components/IconButton/enums.js +33 -0
- package/dist/commonjs/components/IconButton/enums.js.map +1 -0
- package/dist/commonjs/components/IconButton/index.js +108 -0
- package/dist/commonjs/components/IconButton/index.js.map +1 -0
- package/dist/commonjs/components/IconButton/types.js +6 -0
- package/dist/commonjs/components/IconButton/types.js.map +1 -0
- package/dist/commonjs/components/InformationStatus/components/GradientAdd/index.js +115 -60
- package/dist/commonjs/components/InformationStatus/components/GradientAdd/index.js.map +1 -1
- package/dist/commonjs/components/InformationStatus/components/GradientAlert/index.js +117 -60
- package/dist/commonjs/components/InformationStatus/components/GradientAlert/index.js.map +1 -1
- package/dist/commonjs/components/InformationStatus/components/GradientCheck/index.js +113 -58
- package/dist/commonjs/components/InformationStatus/components/GradientCheck/index.js.map +1 -1
- package/dist/commonjs/components/InformationStatus/components/GradientClose/index.js +112 -55
- package/dist/commonjs/components/InformationStatus/components/GradientClose/index.js.map +1 -1
- package/dist/commonjs/components/InformationStatus/index.js +9 -13
- package/dist/commonjs/components/InformationStatus/index.js.map +1 -1
- package/dist/commonjs/components/ListButton/assets/class-variants.js +52 -0
- package/dist/commonjs/components/ListButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/ListButton/assets/design-system-showcase.js +424 -0
- package/dist/commonjs/components/ListButton/assets/design-system-showcase.js.map +1 -0
- package/dist/commonjs/{hooks → components/ListButton/enums}/index.js +4 -4
- package/dist/commonjs/components/ListButton/enums/index.js.map +1 -0
- package/dist/commonjs/components/ListButton/enums/variant.js +17 -0
- package/dist/commonjs/components/ListButton/enums/variant.js.map +1 -0
- package/dist/commonjs/components/ListButton/index.js +116 -0
- package/dist/commonjs/components/ListButton/index.js.map +1 -0
- package/dist/commonjs/components/ListButton/types.js +6 -0
- package/dist/commonjs/components/ListButton/types.js.map +1 -0
- package/dist/commonjs/components/LoadingDots/index.js.map +1 -1
- package/dist/commonjs/components/MessageInput/assets/class-variants.js +31 -0
- package/dist/commonjs/components/MessageInput/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/MessageInput/index.js +105 -0
- package/dist/commonjs/components/MessageInput/index.js.map +1 -0
- package/dist/commonjs/components/MessageInput/types.js +6 -0
- package/dist/commonjs/components/MessageInput/types.js.map +1 -0
- package/dist/commonjs/components/OtpInput/assets/class-variant.js +24 -0
- package/dist/commonjs/components/OtpInput/assets/class-variant.js.map +1 -0
- package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +21 -18
- package/dist/commonjs/components/OtpInput/components/InformationStatus/index.js.map +1 -0
- package/dist/commonjs/components/OtpInput/components/InformationStatus/types.js +6 -0
- package/dist/commonjs/components/{InputOTP → OtpInput}/components/InformationStatus/types.js.map +1 -1
- package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js.map +1 -1
- package/dist/commonjs/components/OtpInput/enums/index.js +14 -0
- package/dist/commonjs/components/OtpInput/enums/index.js.map +1 -0
- package/dist/commonjs/components/OtpInput/index.js +115 -0
- package/dist/commonjs/components/OtpInput/index.js.map +1 -0
- package/dist/commonjs/components/OtpInput/types.js +6 -0
- package/dist/commonjs/components/{InputOTP → OtpInput}/types.js.map +1 -1
- package/dist/commonjs/components/PageIndicators/index.js +41 -0
- package/dist/commonjs/components/PageIndicators/index.js.map +1 -0
- package/dist/commonjs/components/PageIndicators/types.js +2 -0
- package/dist/commonjs/components/PageIndicators/types.js.map +1 -0
- package/dist/commonjs/components/PasswordInput/index.js +42 -0
- package/dist/commonjs/components/PasswordInput/index.js.map +1 -0
- package/dist/commonjs/components/PasswordInput/types.js +6 -0
- package/dist/{module/components/InputCheckbox → commonjs/components/PasswordInput}/types.js.map +1 -1
- package/dist/commonjs/components/RadioInput/assets/class-variants.js +101 -0
- package/dist/commonjs/components/RadioInput/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/RadioInput/enums/index.js +17 -0
- package/dist/commonjs/components/RadioInput/enums/index.js.map +1 -0
- package/dist/commonjs/components/RadioInput/index.js +41 -0
- package/dist/commonjs/components/RadioInput/index.js.map +1 -0
- package/dist/commonjs/components/RadioInput/types.js +6 -0
- package/dist/commonjs/components/RadioInput/types.js.map +1 -0
- package/dist/commonjs/components/Seal/assets/class-variants.js +3 -2
- package/dist/commonjs/components/Seal/assets/class-variants.js.map +1 -1
- package/dist/commonjs/components/Seal/components/AddIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/AddIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/AlertIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/AlertIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/ErrorIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/ErrorIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/LeftIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/LeftIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/MinusIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/MinusIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/RightIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/RightIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/components/SuccessIcon/index.js +4 -3
- package/dist/commonjs/components/Seal/components/SuccessIcon/index.js.map +1 -1
- package/dist/commonjs/components/Seal/index.js +5 -2
- package/dist/commonjs/components/Seal/index.js.map +1 -1
- package/dist/commonjs/components/SelectButton/assets/class-variants.js +31 -0
- package/dist/commonjs/components/SelectButton/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/SelectButton/enums/index.js +12 -0
- package/dist/commonjs/components/SelectButton/enums/index.js.map +1 -0
- package/dist/commonjs/components/SelectButton/index.js +110 -0
- package/dist/commonjs/components/SelectButton/index.js.map +1 -0
- package/dist/commonjs/components/SelectButton/types.js +6 -0
- package/dist/commonjs/components/SelectButton/types.js.map +1 -0
- package/dist/commonjs/components/TextInput/assets/class-variants.js +88 -0
- package/dist/commonjs/components/TextInput/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/TextInput/enums.js +18 -0
- package/dist/commonjs/components/TextInput/enums.js.map +1 -0
- package/dist/commonjs/components/TextInput/index.js +145 -0
- package/dist/commonjs/components/TextInput/index.js.map +1 -0
- package/dist/commonjs/components/TextInput/types.js +6 -0
- package/dist/commonjs/components/TextInput/types.js.map +1 -0
- package/dist/commonjs/components/Title/components/icon/index.js +2 -1
- package/dist/commonjs/components/Title/components/icon/index.js.map +1 -1
- package/dist/commonjs/components/Title/components/icon/types.js +0 -9
- package/dist/commonjs/components/Title/components/icon/types.js.map +1 -1
- package/dist/commonjs/components/Title/components/marker/index.js +4 -3
- package/dist/commonjs/components/Title/components/marker/index.js.map +1 -1
- package/dist/commonjs/components/Title/components/marker/types.js +4 -0
- package/dist/commonjs/components/Title/index.js +8 -7
- package/dist/commonjs/components/Title/index.js.map +1 -1
- package/dist/commonjs/components/Toast/assets/class-variants.js +32 -0
- package/dist/commonjs/components/Toast/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Toast/enums/index.js +28 -0
- package/dist/commonjs/components/Toast/enums/index.js.map +1 -0
- package/dist/commonjs/components/Toast/enums/position.js +12 -0
- package/dist/commonjs/components/Toast/enums/position.js.map +1 -0
- package/dist/commonjs/components/Toast/enums/variant.js +13 -0
- package/dist/commonjs/components/Toast/enums/variant.js.map +1 -0
- package/dist/commonjs/components/Toast/index.js +122 -0
- package/dist/commonjs/components/Toast/index.js.map +1 -0
- package/dist/commonjs/components/Toast/types.js +6 -0
- package/dist/commonjs/components/Toast/types.js.map +1 -0
- package/dist/commonjs/components/Toggle/enums/variant.js +8 -8
- package/dist/commonjs/components/Toggle/enums/variant.js.map +1 -1
- package/dist/commonjs/components/Toggle/index.js +1 -1
- package/dist/commonjs/components/Toggle/index.js.map +1 -1
- package/dist/commonjs/components/Tooltip/assets/class-variant.js +25 -0
- package/dist/commonjs/components/Tooltip/assets/class-variant.js.map +1 -0
- package/dist/commonjs/components/Tooltip/components/Content/index.js +83 -0
- package/dist/commonjs/components/Tooltip/components/Content/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/components/Content/types.js +6 -0
- package/dist/commonjs/components/Tooltip/components/Content/types.js.map +1 -0
- package/dist/commonjs/components/Tooltip/components/index.js +17 -0
- package/dist/commonjs/components/Tooltip/components/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/enum/index.js +18 -0
- package/dist/commonjs/components/Tooltip/enum/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/hooks/index.js +17 -0
- package/dist/commonjs/components/Tooltip/hooks/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js +66 -0
- package/dist/commonjs/components/Tooltip/hooks/tooltip-position.js.map +1 -0
- package/dist/commonjs/components/Tooltip/index.js +82 -0
- package/dist/commonjs/components/Tooltip/index.js.map +1 -0
- package/dist/commonjs/components/Tooltip/types.js +6 -0
- package/dist/commonjs/components/Tooltip/types.js.map +1 -0
- package/dist/commonjs/components/Typography/assets/class-variants.js +59 -0
- package/dist/commonjs/components/Typography/assets/class-variants.js.map +1 -0
- package/dist/commonjs/components/Typography/index.js +9 -5
- package/dist/commonjs/components/Typography/index.js.map +1 -1
- package/dist/commonjs/components/index.js +308 -11
- package/dist/commonjs/components/index.js.map +1 -1
- package/dist/commonjs/enums/corners.js +14 -0
- package/dist/commonjs/enums/corners.js.map +1 -0
- package/dist/commonjs/enums/font-weight.js +18 -0
- package/dist/commonjs/enums/font-weight.js.map +1 -0
- package/dist/commonjs/enums/index.js +50 -0
- package/dist/commonjs/enums/index.js.map +1 -0
- package/dist/commonjs/enums/size.js +18 -0
- package/dist/commonjs/enums/size.js.map +1 -0
- package/dist/commonjs/enums/state-variant.js +15 -0
- package/dist/commonjs/enums/state-variant.js.map +1 -0
- package/dist/commonjs/iconography/Icons/index.js +49 -15
- package/dist/commonjs/iconography/Icons/index.js.map +1 -1
- package/dist/commonjs/index.js +22 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/storybook-utils/components/CodeBlock/index.js +50 -0
- package/dist/commonjs/storybook-utils/components/CodeBlock/index.js.map +1 -0
- package/dist/commonjs/storybook-utils/components/CodeBlock/types.js +2 -0
- package/dist/commonjs/storybook-utils/components/CodeBlock/types.js.map +1 -0
- package/dist/commonjs/storybook-utils/components/index.js +13 -0
- package/dist/commonjs/storybook-utils/components/index.js.map +1 -0
- package/dist/commonjs/storybook-utils/index.js +17 -0
- package/dist/commonjs/storybook-utils/index.js.map +1 -0
- package/dist/commonjs/styles/index.js +17 -0
- package/dist/commonjs/styles/index.js.map +1 -0
- package/dist/commonjs/styles/mixins/index.js +17 -0
- package/dist/commonjs/styles/mixins/index.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-100.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-200.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-down-300.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-100.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-200.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js +8 -0
- package/dist/commonjs/styles/mixins/shadows/elevation-up-300.js.map +1 -0
- package/dist/commonjs/styles/mixins/shadows/index.js +72 -0
- package/dist/commonjs/styles/mixins/shadows/index.js.map +1 -0
- package/dist/module/components/ActionButton/assets/class-variants.js +43 -0
- package/dist/module/components/ActionButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/ActionButton/index.js +115 -0
- package/dist/module/components/ActionButton/index.js.map +1 -0
- package/dist/module/components/ActionButton/types.js.map +1 -0
- package/dist/module/components/Avatar/assets/class-variants.js +21 -0
- package/dist/module/components/Avatar/assets/class-variants.js.map +1 -0
- package/dist/module/components/Avatar/images/girl.jpg +0 -0
- package/dist/module/components/Avatar/index.js +111 -0
- package/dist/module/components/Avatar/index.js.map +1 -0
- package/dist/module/components/Avatar/types.js.map +1 -0
- package/dist/module/components/Button/assets/class-variants.js +24 -13
- package/dist/module/components/Button/assets/class-variants.js.map +1 -1
- package/dist/module/components/Button/index.js +34 -26
- package/dist/module/components/Button/index.js.map +1 -1
- package/dist/module/components/ChatBubble/assets/class-variants.js +120 -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 +46 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleEar/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleEar/types.js +4 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleEar/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js +22 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleLoading/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js +35 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleSeal/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleSeal/types.js +4 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleSeal/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleText/index.js +38 -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 +38 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/index.js.map +1 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js +4 -0
- package/dist/module/components/ChatBubble/components/ChatBubbleTime/types.js.map +1 -0
- package/dist/module/components/ChatBubble/components/index.js +9 -0
- package/dist/module/components/ChatBubble/components/index.js.map +1 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/index.js +12 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/index.js.map +1 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/types.js +4 -0
- package/dist/module/components/ChatBubble/contexts/ChatBubbleContext/types.js.map +1 -0
- package/dist/module/components/ChatBubble/contexts/index.js +4 -0
- package/dist/module/components/{InputOTP/components → ChatBubble/contexts}/index.js.map +1 -1
- package/dist/module/components/ChatBubble/index.js +146 -0
- package/dist/module/components/ChatBubble/index.js.map +1 -0
- package/dist/module/components/ChatBubble/types.js +4 -0
- package/dist/module/components/ChatBubble/types.js.map +1 -0
- package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/assets/class-variants.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js.map +1 -1
- package/dist/module/components/{InputCheckbox → CheckboxInput}/index.js +7 -5
- package/dist/module/components/CheckboxInput/index.js.map +1 -0
- package/dist/module/components/CheckboxInput/types.js +4 -0
- package/dist/module/components/CheckboxInput/types.js.map +1 -0
- package/dist/module/components/Chip/assets/class-variants.js +2 -2
- package/dist/module/components/Chip/assets/class-variants.js.map +1 -1
- package/dist/module/components/Chip/enums/index.js +0 -1
- package/dist/module/components/Chip/enums/index.js.map +1 -1
- package/dist/module/components/Chip/index.js +11 -6
- package/dist/module/components/Chip/index.js.map +1 -1
- package/dist/module/components/HighlightedText/index.js +20 -16
- package/dist/module/components/HighlightedText/index.js.map +1 -1
- package/dist/module/components/IconButton/assets/class-variants.js +79 -0
- package/dist/module/components/IconButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/IconButton/assets/design-system-showcase.js +115 -0
- package/dist/module/components/IconButton/assets/design-system-showcase.js.map +1 -0
- package/dist/module/components/IconButton/enums.js +29 -0
- package/dist/module/components/IconButton/enums.js.map +1 -0
- package/dist/module/components/IconButton/index.js +103 -0
- package/dist/module/components/IconButton/index.js.map +1 -0
- package/dist/module/components/IconButton/types.js +4 -0
- package/dist/module/components/IconButton/types.js.map +1 -0
- package/dist/module/components/InformationStatus/components/GradientAdd/index.js +113 -59
- package/dist/module/components/InformationStatus/components/GradientAdd/index.js.map +1 -1
- package/dist/module/components/InformationStatus/components/GradientAlert/index.js +116 -60
- package/dist/module/components/InformationStatus/components/GradientAlert/index.js.map +1 -1
- package/dist/module/components/InformationStatus/components/GradientCheck/index.js +113 -59
- package/dist/module/components/InformationStatus/components/GradientCheck/index.js.map +1 -1
- package/dist/module/components/InformationStatus/components/GradientClose/index.js +111 -55
- package/dist/module/components/InformationStatus/components/GradientClose/index.js.map +1 -1
- package/dist/module/components/InformationStatus/index.js +9 -13
- package/dist/module/components/InformationStatus/index.js.map +1 -1
- package/dist/module/components/ListButton/assets/class-variants.js +49 -0
- package/dist/module/components/ListButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/ListButton/assets/design-system-showcase.js +420 -0
- package/dist/module/components/ListButton/assets/design-system-showcase.js.map +1 -0
- package/dist/module/components/ListButton/enums/index.js +4 -0
- package/dist/module/components/ListButton/enums/index.js.map +1 -0
- package/dist/module/components/ListButton/enums/variant.js +13 -0
- package/dist/module/components/ListButton/enums/variant.js.map +1 -0
- package/dist/module/components/ListButton/index.js +112 -0
- package/dist/module/components/ListButton/index.js.map +1 -0
- package/dist/module/components/ListButton/types.js +4 -0
- package/dist/module/components/ListButton/types.js.map +1 -0
- package/dist/module/components/LoadingDots/index.js.map +1 -1
- package/dist/module/components/MessageInput/assets/class-variants.js +27 -0
- package/dist/module/components/MessageInput/assets/class-variants.js.map +1 -0
- package/dist/module/components/MessageInput/index.js +100 -0
- package/dist/module/components/MessageInput/index.js.map +1 -0
- package/dist/module/components/MessageInput/types.js +4 -0
- package/dist/module/components/MessageInput/types.js.map +1 -0
- package/dist/module/components/OtpInput/assets/class-variant.js +20 -0
- package/dist/module/components/OtpInput/assets/class-variant.js.map +1 -0
- package/dist/module/components/{InputOTP → OtpInput}/components/InformationStatus/index.js +21 -18
- package/dist/module/components/OtpInput/components/InformationStatus/index.js.map +1 -0
- package/dist/module/components/OtpInput/components/InformationStatus/types.js +4 -0
- package/dist/module/components/OtpInput/components/InformationStatus/types.js.map +1 -0
- package/dist/module/components/OtpInput/components/index.js.map +1 -0
- package/dist/module/components/OtpInput/enums/index.js +10 -0
- package/dist/module/components/OtpInput/enums/index.js.map +1 -0
- package/dist/module/components/OtpInput/index.js +110 -0
- package/dist/module/components/OtpInput/index.js.map +1 -0
- package/dist/module/components/OtpInput/types.js +4 -0
- package/dist/module/components/{InputOTP → OtpInput}/types.js.map +1 -1
- package/dist/module/components/PageIndicators/index.js +37 -0
- package/dist/module/components/PageIndicators/index.js.map +1 -0
- package/dist/module/components/PageIndicators/types.js +2 -0
- package/dist/module/components/PageIndicators/types.js.map +1 -0
- package/dist/module/components/PasswordInput/index.js +37 -0
- package/dist/module/components/PasswordInput/index.js.map +1 -0
- package/dist/module/components/PasswordInput/types.js +4 -0
- package/dist/module/components/PasswordInput/types.js.map +1 -0
- package/dist/module/components/RadioInput/assets/class-variants.js +97 -0
- package/dist/module/components/RadioInput/assets/class-variants.js.map +1 -0
- package/dist/module/components/RadioInput/enums/index.js +13 -0
- package/dist/module/components/RadioInput/enums/index.js.map +1 -0
- package/dist/module/components/RadioInput/index.js +37 -0
- package/dist/module/components/RadioInput/index.js.map +1 -0
- package/dist/module/components/RadioInput/types.js +4 -0
- package/dist/module/components/RadioInput/types.js.map +1 -0
- package/dist/module/components/Seal/assets/class-variants.js +3 -2
- package/dist/module/components/Seal/assets/class-variants.js.map +1 -1
- package/dist/module/components/Seal/components/AddIcon/index.js +4 -3
- package/dist/module/components/Seal/components/AddIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/AlertIcon/index.js +4 -3
- package/dist/module/components/Seal/components/AlertIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/ErrorIcon/index.js +4 -3
- package/dist/module/components/Seal/components/ErrorIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/LeftIcon/index.js +4 -3
- package/dist/module/components/Seal/components/LeftIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/MinusIcon/index.js +4 -3
- package/dist/module/components/Seal/components/MinusIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/RightIcon/index.js +4 -3
- package/dist/module/components/Seal/components/RightIcon/index.js.map +1 -1
- package/dist/module/components/Seal/components/SuccessIcon/index.js +4 -3
- package/dist/module/components/Seal/components/SuccessIcon/index.js.map +1 -1
- package/dist/module/components/Seal/index.js +5 -2
- package/dist/module/components/Seal/index.js.map +1 -1
- package/dist/module/components/SelectButton/assets/class-variants.js +28 -0
- package/dist/module/components/SelectButton/assets/class-variants.js.map +1 -0
- package/dist/module/components/SelectButton/enums/index.js +8 -0
- package/dist/module/components/SelectButton/enums/index.js.map +1 -0
- package/dist/module/components/SelectButton/index.js +106 -0
- package/dist/module/components/SelectButton/index.js.map +1 -0
- package/dist/module/components/SelectButton/types.js +4 -0
- package/dist/module/components/SelectButton/types.js.map +1 -0
- package/dist/module/components/TextInput/assets/class-variants.js +84 -0
- package/dist/module/components/TextInput/assets/class-variants.js.map +1 -0
- package/dist/module/components/TextInput/enums.js +14 -0
- package/dist/module/components/TextInput/enums.js.map +1 -0
- package/dist/module/components/TextInput/index.js +139 -0
- package/dist/module/components/TextInput/index.js.map +1 -0
- package/dist/module/components/TextInput/types.js +4 -0
- package/dist/module/components/TextInput/types.js.map +1 -0
- package/dist/module/components/Title/components/icon/index.js +2 -1
- package/dist/module/components/Title/components/icon/index.js.map +1 -1
- package/dist/module/components/Title/components/icon/types.js +1 -8
- package/dist/module/components/Title/components/icon/types.js.map +1 -1
- package/dist/module/components/Title/components/marker/index.js +4 -3
- package/dist/module/components/Title/components/marker/index.js.map +1 -1
- package/dist/module/components/Title/components/marker/types.js +2 -0
- package/dist/module/components/Title/index.js +8 -7
- package/dist/module/components/Title/index.js.map +1 -1
- package/dist/module/components/Toast/assets/class-variants.js +29 -0
- package/dist/module/components/Toast/assets/class-variants.js.map +1 -0
- package/dist/module/components/Toast/enums/index.js +5 -0
- package/dist/module/components/Toast/enums/index.js.map +1 -0
- package/dist/module/components/Toast/enums/position.js +8 -0
- package/dist/module/components/Toast/enums/position.js.map +1 -0
- package/dist/module/components/Toast/enums/variant.js +9 -0
- package/dist/module/components/Toast/enums/variant.js.map +1 -0
- package/dist/module/components/Toast/index.js +117 -0
- package/dist/module/components/Toast/index.js.map +1 -0
- package/dist/module/components/Toast/types.js +4 -0
- package/dist/module/components/Toast/types.js.map +1 -0
- package/dist/module/components/Toggle/enums/variant.js +7 -7
- package/dist/module/components/Toggle/enums/variant.js.map +1 -1
- package/dist/module/components/Toggle/index.js +2 -2
- package/dist/module/components/Toggle/index.js.map +1 -1
- package/dist/module/components/Tooltip/assets/class-variant.js +21 -0
- package/dist/module/components/Tooltip/assets/class-variant.js.map +1 -0
- package/dist/module/components/Tooltip/components/Content/index.js +78 -0
- package/dist/module/components/Tooltip/components/Content/index.js.map +1 -0
- package/dist/module/components/Tooltip/components/Content/types.js +4 -0
- package/dist/module/components/Tooltip/components/Content/types.js.map +1 -0
- package/dist/module/components/Tooltip/components/index.js +4 -0
- package/dist/module/components/Tooltip/components/index.js.map +1 -0
- package/dist/module/components/Tooltip/enum/index.js +14 -0
- package/dist/module/components/Tooltip/enum/index.js.map +1 -0
- package/dist/module/components/Tooltip/hooks/index.js +4 -0
- package/dist/module/components/Tooltip/hooks/index.js.map +1 -0
- package/dist/module/components/Tooltip/hooks/tooltip-position.js +62 -0
- package/dist/module/components/Tooltip/hooks/tooltip-position.js.map +1 -0
- package/dist/module/components/Tooltip/index.js +78 -0
- package/dist/module/components/Tooltip/index.js.map +1 -0
- package/dist/module/components/Tooltip/types.js +4 -0
- package/dist/module/components/Tooltip/types.js.map +1 -0
- package/dist/module/components/Typography/assets/class-variants.js +55 -0
- package/dist/module/components/Typography/assets/class-variants.js.map +1 -0
- package/dist/module/components/Typography/index.js +9 -5
- package/dist/module/components/Typography/index.js.map +1 -1
- package/dist/module/components/index.js +30 -2
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/enums/corners.js +10 -0
- package/dist/module/enums/corners.js.map +1 -0
- package/dist/module/enums/font-weight.js +14 -0
- package/dist/module/enums/font-weight.js.map +1 -0
- package/dist/module/enums/index.js +7 -0
- package/dist/module/enums/index.js.map +1 -0
- package/dist/module/enums/size.js +14 -0
- package/dist/module/enums/size.js.map +1 -0
- package/dist/module/enums/state-variant.js +11 -0
- package/dist/module/enums/state-variant.js.map +1 -0
- package/dist/module/iconography/Icons/index.js +50 -16
- package/dist/module/iconography/Icons/index.js.map +1 -1
- package/dist/module/index.js +2 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/storybook-utils/components/CodeBlock/index.js +44 -0
- package/dist/module/storybook-utils/components/CodeBlock/index.js.map +1 -0
- package/dist/module/storybook-utils/components/CodeBlock/types.js +2 -0
- package/dist/module/storybook-utils/components/CodeBlock/types.js.map +1 -0
- package/dist/module/storybook-utils/components/index.js +14 -0
- package/dist/module/storybook-utils/components/index.js.map +1 -0
- package/dist/module/storybook-utils/index.js +11 -0
- package/dist/module/storybook-utils/index.js.map +1 -0
- package/dist/module/styles/index.js +4 -0
- package/dist/module/styles/index.js.map +1 -0
- package/dist/module/styles/mixins/index.js +4 -0
- package/dist/module/styles/mixins/index.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-down-100.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-down-100.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-down-200.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-down-200.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-down-300.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-down-300.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-up-100.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-up-100.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-up-200.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-up-200.js.map +1 -0
- package/dist/module/styles/mixins/shadows/elevation-up-300.js +4 -0
- package/dist/module/styles/mixins/shadows/elevation-up-300.js.map +1 -0
- package/dist/module/styles/mixins/shadows/index.js +9 -0
- package/dist/module/styles/mixins/shadows/index.js.map +1 -0
- package/dist/typescript/components/ActionButton/assets/class-variants.d.ts +8 -0
- package/dist/typescript/components/ActionButton/index.d.ts +6 -0
- package/dist/typescript/components/ActionButton/types.d.ts +61 -0
- package/dist/typescript/components/Avatar/assets/class-variants.d.ts +5 -0
- package/dist/typescript/components/Avatar/index.d.ts +2 -0
- package/dist/typescript/components/Avatar/types.d.ts +8 -0
- package/dist/typescript/components/Button/assets/class-variants.d.ts +4 -3
- package/dist/typescript/components/Button/index.d.ts +4 -3
- package/dist/typescript/components/Button/types.d.ts +3 -2
- package/dist/typescript/components/ChatBubble/assets/class-variants.d.ts +14 -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 +3 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleEar/types.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleLoading/index.d.ts +9 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/index.d.ts +3 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleSeal/types.d.ts +4 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleText/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleText/types.d.ts +4 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/components/ChatBubbleTime/types.d.ts +5 -0
- package/dist/typescript/components/ChatBubble/components/index.d.ts +6 -0
- package/dist/typescript/components/ChatBubble/contexts/ChatBubbleContext/index.d.ts +3 -0
- package/dist/typescript/components/ChatBubble/contexts/ChatBubbleContext/types.d.ts +7 -0
- package/dist/typescript/components/ChatBubble/contexts/index.d.ts +1 -0
- package/dist/typescript/components/ChatBubble/index.d.ts +12 -0
- package/dist/typescript/components/ChatBubble/types.d.ts +17 -0
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/assets/class-variants.d.ts +1 -1
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.d.ts +1 -1
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.d.ts +1 -1
- package/dist/typescript/components/CheckboxInput/index.d.ts +2 -0
- package/dist/typescript/components/{InputCheckbox → CheckboxInput}/types.d.ts +3 -2
- package/dist/typescript/components/Chip/assets/class-variants.d.ts +1 -1
- package/dist/typescript/components/Chip/enums/index.d.ts +0 -1
- package/dist/typescript/components/Chip/index.d.ts +3 -2
- package/dist/typescript/components/Chip/types.d.ts +3 -2
- package/dist/typescript/components/HighlightedText/index.d.ts +2 -1
- package/dist/typescript/components/HighlightedText/types.d.ts +9 -3
- package/dist/typescript/components/IconButton/assets/class-variants.d.ts +8 -0
- package/dist/typescript/components/IconButton/assets/design-system-showcase.d.ts +17 -0
- package/dist/typescript/components/IconButton/enums.d.ts +22 -0
- package/dist/typescript/components/IconButton/index.d.ts +2 -0
- package/dist/typescript/components/IconButton/types.d.ts +15 -0
- package/dist/typescript/components/InformationStatus/components/GradientAdd/index.d.ts +2 -1
- package/dist/typescript/components/InformationStatus/components/GradientAdd/types.d.ts +3 -2
- package/dist/typescript/components/InformationStatus/components/GradientAlert/index.d.ts +2 -1
- package/dist/typescript/components/InformationStatus/components/GradientAlert/types.d.ts +3 -2
- package/dist/typescript/components/InformationStatus/components/GradientCheck/index.d.ts +4 -3
- package/dist/typescript/components/InformationStatus/components/GradientCheck/types.d.ts +3 -2
- package/dist/typescript/components/InformationStatus/components/GradientClose/index.d.ts +2 -1
- package/dist/typescript/components/InformationStatus/components/GradientClose/types.d.ts +3 -2
- package/dist/typescript/components/InformationStatus/index.d.ts +1 -1
- package/dist/typescript/components/InformationStatus/types.d.ts +3 -1
- package/dist/typescript/components/ListButton/assets/class-variants.d.ts +11 -0
- package/dist/typescript/components/ListButton/assets/design-system-showcase.d.ts +14 -0
- package/dist/typescript/components/ListButton/enums/index.d.ts +1 -0
- package/dist/typescript/components/ListButton/enums/variant.d.ts +9 -0
- package/dist/typescript/components/ListButton/index.d.ts +2 -0
- package/dist/typescript/components/ListButton/types.d.ts +19 -0
- package/dist/typescript/components/LoadingDots/index.d.ts +1 -1
- package/dist/typescript/components/MessageInput/assets/class-variants.d.ts +7 -0
- package/dist/typescript/components/MessageInput/index.d.ts +6 -0
- package/dist/typescript/components/MessageInput/types.d.ts +13 -0
- package/dist/typescript/components/OtpInput/assets/class-variant.d.ts +5 -0
- package/dist/typescript/components/{InputOTP → OtpInput}/components/InformationStatus/index.d.ts +1 -1
- package/dist/typescript/components/OtpInput/components/InformationStatus/types.d.ts +6 -0
- package/dist/typescript/components/OtpInput/enums/index.d.ts +6 -0
- package/dist/typescript/components/OtpInput/index.d.ts +3 -0
- package/dist/typescript/components/OtpInput/types.d.ts +15 -0
- package/dist/typescript/components/PageIndicators/index.d.ts +2 -0
- package/dist/typescript/components/PageIndicators/types.d.ts +4 -0
- package/dist/typescript/components/PasswordInput/index.d.ts +2 -0
- package/dist/typescript/components/PasswordInput/types.d.ts +3 -0
- package/dist/typescript/components/RadioInput/assets/class-variants.d.ts +6 -0
- package/dist/typescript/components/RadioInput/enums/index.d.ts +9 -0
- package/dist/typescript/components/RadioInput/index.d.ts +2 -0
- package/dist/typescript/components/RadioInput/types.d.ts +8 -0
- package/dist/typescript/components/Seal/assets/class-variants.d.ts +3 -2
- package/dist/typescript/components/Seal/components/AddIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/AlertIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/ErrorIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/LeftIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/MinusIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/RightIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/components/SuccessIcon/index.d.ts +1 -1
- package/dist/typescript/components/Seal/types.d.ts +3 -1
- package/dist/typescript/components/SelectButton/assets/class-variants.d.ts +7 -0
- package/dist/typescript/components/SelectButton/enums/index.d.ts +4 -0
- package/dist/typescript/components/SelectButton/index.d.ts +2 -0
- package/dist/typescript/components/SelectButton/types.d.ts +18 -0
- package/dist/typescript/components/TextInput/assets/class-variants.d.ts +18 -0
- package/dist/typescript/components/TextInput/enums.d.ts +9 -0
- package/dist/typescript/components/TextInput/index.d.ts +6 -0
- package/dist/typescript/components/TextInput/types.d.ts +24 -0
- package/dist/typescript/components/Title/components/icon/index.d.ts +1 -1
- package/dist/typescript/components/Title/components/icon/types.d.ts +4 -9
- package/dist/typescript/components/Title/components/marker/index.d.ts +1 -1
- package/dist/typescript/components/Title/components/marker/types.d.ts +3 -1
- package/dist/typescript/components/Title/index.d.ts +1 -1
- package/dist/typescript/components/Title/types.d.ts +3 -1
- package/dist/typescript/components/Toast/assets/class-variants.d.ts +8 -0
- package/dist/typescript/components/Toast/enums/index.d.ts +2 -0
- package/dist/typescript/components/Toast/enums/position.d.ts +4 -0
- package/dist/typescript/components/Toast/enums/variant.d.ts +5 -0
- package/dist/typescript/components/Toast/index.d.ts +2 -0
- package/dist/typescript/components/Toast/types.d.ts +11 -0
- package/dist/typescript/components/Toggle/enums/variant.d.ts +1 -1
- package/dist/typescript/components/Toggle/index.d.ts +1 -1
- package/dist/typescript/components/Toggle/types.d.ts +2 -2
- package/dist/typescript/components/Tooltip/assets/class-variant.d.ts +7 -0
- package/dist/typescript/components/Tooltip/components/Content/index.d.ts +2 -0
- package/dist/typescript/components/Tooltip/components/Content/types.d.ts +14 -0
- package/dist/typescript/components/Tooltip/components/index.d.ts +1 -0
- package/dist/typescript/components/Tooltip/enum/index.d.ts +9 -0
- package/dist/typescript/components/Tooltip/hooks/index.d.ts +1 -0
- package/dist/typescript/components/Tooltip/hooks/tooltip-position.d.ts +17 -0
- package/dist/typescript/components/Tooltip/index.d.ts +2 -0
- package/dist/typescript/components/Tooltip/types.d.ts +13 -0
- package/dist/typescript/components/Typography/assets/class-variants.d.ts +4 -0
- package/dist/typescript/components/Typography/index.d.ts +3 -3
- package/dist/typescript/components/Typography/types.d.ts +3 -3
- package/dist/typescript/components/index.d.ts +53 -2
- package/dist/typescript/enums/corners.d.ts +6 -0
- package/dist/typescript/enums/font-weight.d.ts +10 -0
- package/dist/typescript/enums/index.d.ts +4 -0
- package/dist/typescript/enums/size.d.ts +10 -0
- package/dist/typescript/enums/state-variant.d.ts +7 -0
- package/dist/typescript/iconography/Icons/index.d.ts +2 -1
- package/dist/typescript/index.d.ts +2 -0
- package/dist/typescript/storybook-utils/components/CodeBlock/index.d.ts +4 -0
- package/dist/typescript/storybook-utils/components/CodeBlock/types.d.ts +6 -0
- package/dist/typescript/storybook-utils/components/index.d.ts +11 -0
- package/dist/typescript/storybook-utils/index.d.ts +7 -0
- package/dist/typescript/styles/index.d.ts +1 -0
- package/dist/typescript/styles/mixins/index.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-down-100.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-down-200.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-down-300.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-up-100.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-up-200.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/elevation-up-300.d.ts +1 -0
- package/dist/typescript/styles/mixins/shadows/index.d.ts +6 -0
- package/package.json +51 -61
- package/src/components/ActionButton/assets/class-variants.ts +51 -0
- package/src/components/ActionButton/index.tsx +147 -0
- package/src/components/ActionButton/types.ts +76 -0
- package/src/components/Avatar/assets/class-variants.ts +23 -0
- package/src/components/Avatar/images/girl.jpg +0 -0
- package/src/components/Avatar/index.tsx +119 -0
- package/src/components/Avatar/types.ts +16 -0
- package/src/components/Button/assets/class-variants.ts +27 -13
- package/src/components/Button/index.tsx +52 -33
- package/src/components/Button/types.ts +3 -2
- package/src/components/ChatBubble/assets/class-variants.ts +141 -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 +51 -0
- package/src/components/ChatBubble/components/ChatBubbleEar/types.ts +7 -0
- package/src/components/ChatBubble/components/ChatBubbleLoading/index.tsx +25 -0
- package/src/components/ChatBubble/components/ChatBubbleSeal/index.tsx +37 -0
- package/src/components/ChatBubble/components/ChatBubbleSeal/types.ts +5 -0
- package/src/components/ChatBubble/components/ChatBubbleText/index.tsx +39 -0
- package/src/components/ChatBubble/components/ChatBubbleText/types.ts +6 -0
- package/src/components/ChatBubble/components/ChatBubbleTime/index.tsx +37 -0
- package/src/components/ChatBubble/components/ChatBubbleTime/types.ts +6 -0
- package/src/components/ChatBubble/components/index.ts +6 -0
- package/src/components/ChatBubble/contexts/ChatBubbleContext/index.tsx +17 -0
- package/src/components/ChatBubble/contexts/ChatBubbleContext/types.ts +12 -0
- package/src/components/ChatBubble/contexts/index.ts +1 -0
- package/src/components/ChatBubble/index.tsx +185 -0
- package/src/components/ChatBubble/types.ts +19 -0
- package/src/components/{InputCheckbox → CheckboxInput}/assets/class-variants.ts +1 -1
- package/src/components/{InputCheckbox → CheckboxInput}/index.tsx +10 -8
- package/src/components/{InputCheckbox → CheckboxInput}/types.ts +3 -2
- package/src/components/Chip/assets/class-variants.ts +2 -2
- package/src/components/Chip/enums/index.ts +0 -1
- package/src/components/Chip/index.tsx +20 -10
- package/src/components/Chip/types.ts +3 -2
- package/src/components/HighlightedText/index.tsx +36 -16
- package/src/components/HighlightedText/types.ts +9 -3
- package/src/components/IconButton/assets/class-variants.ts +126 -0
- package/src/components/IconButton/assets/design-system-showcase.ts +246 -0
- package/src/components/IconButton/enums.ts +26 -0
- package/src/components/IconButton/index.tsx +123 -0
- package/src/components/IconButton/types.ts +22 -0
- package/src/components/InformationStatus/components/GradientAdd/index.tsx +107 -56
- package/src/components/InformationStatus/components/GradientAdd/types.ts +3 -2
- package/src/components/InformationStatus/components/GradientAlert/index.tsx +116 -62
- package/src/components/InformationStatus/components/GradientAlert/types.ts +3 -2
- package/src/components/InformationStatus/components/GradientCheck/index.tsx +111 -59
- package/src/components/InformationStatus/components/GradientCheck/types.ts +3 -3
- package/src/components/InformationStatus/components/GradientClose/index.tsx +106 -53
- package/src/components/InformationStatus/components/GradientClose/types.ts +3 -2
- package/src/components/InformationStatus/index.tsx +15 -14
- package/src/components/InformationStatus/types.ts +7 -1
- package/src/components/ListButton/assets/class-variants.ts +78 -0
- package/src/components/ListButton/assets/design-system-showcase.ts +502 -0
- package/src/components/ListButton/enums/index.ts +1 -0
- package/src/components/ListButton/enums/variant.ts +9 -0
- package/src/components/ListButton/index.tsx +128 -0
- package/src/components/ListButton/types.ts +22 -0
- package/src/components/LoadingDots/index.tsx +0 -1
- package/src/components/MessageInput/assets/class-variants.ts +35 -0
- package/src/components/MessageInput/index.tsx +121 -0
- package/src/components/MessageInput/types.ts +18 -0
- package/src/components/OtpInput/assets/class-variant.ts +21 -0
- package/src/components/{InputOTP → OtpInput}/components/InformationStatus/index.tsx +21 -19
- package/src/components/OtpInput/components/InformationStatus/types.ts +6 -0
- package/src/components/{InputOTP/enums/information-status.ts → OtpInput/enums/index.ts} +1 -2
- package/src/components/OtpInput/index.tsx +129 -0
- package/src/components/OtpInput/types.ts +16 -0
- package/src/components/PageIndicators/index.tsx +36 -0
- package/src/components/PageIndicators/types.ts +4 -0
- package/src/components/PasswordInput/index.tsx +37 -0
- package/src/components/PasswordInput/types.ts +4 -0
- package/src/components/RadioInput/assets/class-variants.ts +112 -0
- package/src/components/RadioInput/enums/index.ts +9 -0
- package/src/components/RadioInput/index.tsx +36 -0
- package/src/components/RadioInput/types.ts +9 -0
- package/src/components/Seal/assets/class-variants.ts +3 -2
- package/src/components/Seal/components/AddIcon/index.tsx +7 -3
- package/src/components/Seal/components/AlertIcon/index.tsx +7 -3
- package/src/components/Seal/components/ErrorIcon/index.tsx +7 -3
- package/src/components/Seal/components/LeftIcon/index.tsx +7 -3
- package/src/components/Seal/components/MinusIcon/index.tsx +7 -3
- package/src/components/Seal/components/RightIcon/index.tsx +7 -3
- package/src/components/Seal/components/SuccessIcon/index.tsx +7 -3
- package/src/components/Seal/index.tsx +4 -1
- package/src/components/Seal/types.ts +4 -2
- package/src/components/SelectButton/assets/class-variants.ts +28 -0
- package/src/components/SelectButton/enums/index.ts +4 -0
- package/src/components/SelectButton/index.tsx +133 -0
- package/src/components/SelectButton/types.ts +21 -0
- package/src/components/TextInput/assets/class-variants.ts +93 -0
- package/src/components/TextInput/enums.ts +10 -0
- package/src/components/TextInput/index.tsx +167 -0
- package/src/components/TextInput/types.ts +30 -0
- package/src/components/Title/components/icon/index.tsx +2 -1
- package/src/components/Title/components/icon/types.ts +6 -9
- package/src/components/Title/components/marker/index.tsx +4 -3
- package/src/components/Title/components/marker/types.ts +5 -1
- package/src/components/Title/index.tsx +8 -7
- package/src/components/Title/types.ts +11 -1
- package/src/components/Toast/assets/class-variants.ts +32 -0
- package/src/components/Toast/enums/index.ts +2 -0
- package/src/components/Toast/enums/position.ts +4 -0
- package/src/components/Toast/enums/variant.ts +5 -0
- package/src/components/Toast/index.tsx +131 -0
- package/src/components/Toast/types.ts +12 -0
- package/src/components/Toggle/enums/variant.ts +1 -1
- package/src/components/Toggle/index.tsx +2 -2
- package/src/components/Toggle/types.ts +2 -2
- package/src/components/Tooltip/assets/class-variant.ts +26 -0
- package/src/components/Tooltip/components/Content/index.tsx +93 -0
- package/src/components/Tooltip/components/Content/types.ts +15 -0
- package/src/components/Tooltip/components/index.ts +1 -0
- package/src/components/Tooltip/enum/index.ts +10 -0
- package/src/components/Tooltip/hooks/index.ts +1 -0
- package/src/components/Tooltip/hooks/tooltip-position.ts +85 -0
- package/src/components/Tooltip/index.tsx +90 -0
- package/src/components/Tooltip/types.ts +14 -0
- package/src/components/Typography/assets/class-variants.ts +56 -0
- package/src/components/Typography/index.tsx +9 -5
- package/src/components/Typography/types.ts +5 -3
- package/src/components/index.ts +76 -2
- package/src/enums/corners.ts +6 -0
- package/src/enums/font-weight.ts +10 -0
- package/src/enums/index.ts +5 -0
- package/src/enums/size.ts +10 -0
- package/src/enums/state-variant.ts +7 -0
- package/src/iconography/Icons/index.tsx +62 -20
- package/src/index.ts +2 -0
- package/src/storybook-utils/components/CodeBlock/index.tsx +46 -0
- package/src/storybook-utils/components/CodeBlock/types.ts +6 -0
- package/src/storybook-utils/components/index.ts +12 -0
- package/src/storybook-utils/index.ts +8 -0
- package/src/styles/index.ts +1 -0
- package/src/styles/mixins/index.ts +1 -0
- package/src/styles/mixins/shadows/elevation-down-100.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-down-200.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-down-300.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-up-100.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-up-200.tsx +2 -0
- package/src/styles/mixins/shadows/elevation-up-300.tsx +2 -0
- package/src/styles/mixins/shadows/index.ts +6 -0
- package/assets/adaptive-icon.png +0 -0
- package/assets/favicon.png +0 -0
- package/assets/fonts/Nunito-Bold.ttf +0 -0
- package/assets/fonts/Nunito-BoldItalic.ttf +0 -0
- package/assets/fonts/Nunito-Italic.ttf +0 -0
- package/assets/fonts/Nunito-Medium.ttf +0 -0
- package/assets/fonts/Nunito-MediumItalic.ttf +0 -0
- package/assets/fonts/Nunito-Regular.ttf +0 -0
- package/assets/fonts/Nunito-SemiBold.ttf +0 -0
- package/assets/fonts/Nunito-SemiBoldItalic.ttf +0 -0
- package/assets/icon.png +0 -0
- package/assets/splash.png +0 -0
- package/dist/README.md +0 -57
- package/dist/commonjs/components/Chip/enums/chip-size.js +0 -12
- package/dist/commonjs/components/Chip/enums/chip-size.js.map +0 -1
- package/dist/commonjs/components/InputCheckbox/index.js.map +0 -1
- package/dist/commonjs/components/InputOTP/components/InformationStatus/index.js.map +0 -1
- package/dist/commonjs/components/InputOTP/enums/index.js +0 -17
- package/dist/commonjs/components/InputOTP/enums/index.js.map +0 -1
- package/dist/commonjs/components/InputOTP/enums/information-status.js +0 -15
- package/dist/commonjs/components/InputOTP/enums/information-status.js.map +0 -1
- package/dist/commonjs/components/InputOTP/index.js +0 -135
- package/dist/commonjs/components/InputOTP/index.js.map +0 -1
- package/dist/commonjs/hooks/index.js.map +0 -1
- package/dist/commonjs/hooks/use-fonts.js +0 -31
- package/dist/commonjs/hooks/use-fonts.js.map +0 -1
- package/dist/module/components/Chip/enums/chip-size.js +0 -8
- package/dist/module/components/Chip/enums/chip-size.js.map +0 -1
- package/dist/module/components/InputCheckbox/index.js.map +0 -1
- package/dist/module/components/InputOTP/components/InformationStatus/index.js.map +0 -1
- package/dist/module/components/InputOTP/enums/index.js +0 -4
- package/dist/module/components/InputOTP/enums/index.js.map +0 -1
- package/dist/module/components/InputOTP/enums/information-status.js +0 -11
- package/dist/module/components/InputOTP/enums/information-status.js.map +0 -1
- package/dist/module/components/InputOTP/index.js +0 -130
- package/dist/module/components/InputOTP/index.js.map +0 -1
- package/dist/module/hooks/index.js +0 -4
- package/dist/module/hooks/index.js.map +0 -1
- package/dist/module/hooks/use-fonts.js +0 -27
- package/dist/module/hooks/use-fonts.js.map +0 -1
- package/dist/package.json +0 -57
- package/dist/typescript/components/Chip/enums/chip-size.d.ts +0 -4
- package/dist/typescript/components/InputCheckbox/index.d.ts +0 -2
- package/dist/typescript/components/InputOTP/components/InformationStatus/types.d.ts +0 -6
- package/dist/typescript/components/InputOTP/enums/index.d.ts +0 -1
- package/dist/typescript/components/InputOTP/enums/information-status.d.ts +0 -7
- package/dist/typescript/components/InputOTP/index.d.ts +0 -3
- package/dist/typescript/components/InputOTP/types.d.ts +0 -11
- package/dist/typescript/hooks/index.d.ts +0 -1
- package/dist/typescript/hooks/use-fonts.d.ts +0 -10
- package/index.js +0 -6
- package/src/components/Button/index.stories.tsx +0 -407
- package/src/components/Chip/enums/chip-size.ts +0 -4
- package/src/components/Chip/index.stories.tsx +0 -95
- package/src/components/HighlightedText/index.stories.tsx +0 -110
- package/src/components/InformationStatus/index.stories.tsx +0 -112
- package/src/components/InputCheckbox/index.stories.tsx +0 -133
- package/src/components/InputOTP/components/InformationStatus/types.ts +0 -6
- package/src/components/InputOTP/enums/index.ts +0 -1
- package/src/components/InputOTP/index.stories.tsx +0 -247
- package/src/components/InputOTP/index.tsx +0 -177
- package/src/components/InputOTP/types.ts +0 -12
- package/src/components/LoadingDots/index.stories.tsx +0 -74
- package/src/components/Seal/index.stories.tsx +0 -124
- package/src/components/Title/index.stories.tsx +0 -619
- package/src/components/Toggle/index.stories.tsx +0 -88
- package/src/components/Typography/index.stories.tsx +0 -260
- package/src/hooks/index.ts +0 -1
- package/src/hooks/use-fonts.ts +0 -22
- package/src/iconography/Icons/index.stories.tsx +0 -23
- /package/dist/commonjs/components/{InputCheckbox → ActionButton}/types.js +0 -0
- /package/dist/commonjs/components/{InputOTP/components/InformationStatus → Avatar}/types.js +0 -0
- /package/dist/commonjs/components/{InputOTP → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
- /package/dist/commonjs/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
- /package/dist/commonjs/components/{InputOTP → OtpInput}/components/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → ActionButton}/types.js +0 -0
- /package/dist/module/components/{InputOTP/components/InformationStatus → Avatar}/types.js +0 -0
- /package/dist/module/components/{InputOTP → ChatBubble/components/ChatBubbleContent}/types.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/enums/select-variant.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.js +0 -0
- /package/dist/module/components/{InputCheckbox → CheckboxInput}/icons/index.js +0 -0
- /package/dist/module/components/{InputOTP → OtpInput}/components/index.js +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.d.ts +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/index.d.ts +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/enums/select-variant.d.ts +0 -0
- /package/dist/typescript/components/{InputCheckbox → CheckboxInput}/icons/index.d.ts +0 -0
- /package/dist/typescript/components/{InputOTP → OtpInput}/components/index.d.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/enums/checkbox-variant.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/enums/index.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/enums/select-variant.ts +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/icons/CheckIcon/index.tsx +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/icons/IndeterminateIcon/index.tsx +0 -0
- /package/src/components/{InputCheckbox → CheckboxInput}/icons/index.ts +0 -0
- /package/src/components/{InputOTP → OtpInput}/components/index.ts +0 -0
|
@@ -0,0 +1,149 @@
|
|
|
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 _classVarianceAuthority = require("class-variance-authority");
|
|
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 _index3 = require("./contexts/index.js");
|
|
14
|
+
var _react = require("react");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
+
function ChatBubble(props) {
|
|
17
|
+
const {
|
|
18
|
+
variant = "custom",
|
|
19
|
+
colorState = "outline",
|
|
20
|
+
hasEar = true,
|
|
21
|
+
className,
|
|
22
|
+
children,
|
|
23
|
+
time: timeFromProps,
|
|
24
|
+
shouldDisplayTime = true,
|
|
25
|
+
origin = "assistant",
|
|
26
|
+
messageType = "initial",
|
|
27
|
+
chatBubbleBoxClassName,
|
|
28
|
+
fullWidth = false,
|
|
29
|
+
...restOfProps
|
|
30
|
+
} = props;
|
|
31
|
+
const time = (0, _react.useMemo)(() => {
|
|
32
|
+
if (timeFromProps) return timeFromProps;
|
|
33
|
+
const [hours, minutes] = new Date().toLocaleTimeString().split(":");
|
|
34
|
+
return `${hours}:${minutes}`;
|
|
35
|
+
}, [timeFromProps]);
|
|
36
|
+
const colorMap = (0, _react.useMemo)(() => ({
|
|
37
|
+
check: "#3DCC78",
|
|
38
|
+
alert: "#FF8B59",
|
|
39
|
+
error: "#E65245",
|
|
40
|
+
custom: origin === "user" ? "#7A50D9" : "#FAFCFC"
|
|
41
|
+
}), [origin]);
|
|
42
|
+
const tailColor = (0, _react.useMemo)(() => {
|
|
43
|
+
if (colorState === "outline") {
|
|
44
|
+
return "#FAFCFC";
|
|
45
|
+
}
|
|
46
|
+
return colorMap[variant];
|
|
47
|
+
}, [colorMap, colorState, variant]);
|
|
48
|
+
const contextInitialValue = {
|
|
49
|
+
variant,
|
|
50
|
+
colorState,
|
|
51
|
+
messageType,
|
|
52
|
+
origin
|
|
53
|
+
};
|
|
54
|
+
const accessibilityLabelMap = {
|
|
55
|
+
check: "Success message",
|
|
56
|
+
alert: "Warning message",
|
|
57
|
+
error: "Error message",
|
|
58
|
+
custom: "Custom message"
|
|
59
|
+
};
|
|
60
|
+
function renderChatBubbleEar() {
|
|
61
|
+
if (hasEar) {
|
|
62
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ChatBubbleEar, {
|
|
63
|
+
color: tailColor,
|
|
64
|
+
type: colorState,
|
|
65
|
+
mirrored: origin === "user"
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
const bubbleWithEarOffset = (0, _react.useMemo)(() => {
|
|
71
|
+
if (origin === "user") {
|
|
72
|
+
if (!hasEar) {
|
|
73
|
+
return "mr-[8px]";
|
|
74
|
+
}
|
|
75
|
+
return "";
|
|
76
|
+
}
|
|
77
|
+
if (origin === "assistant") {
|
|
78
|
+
if (!hasEar) {
|
|
79
|
+
return "ml-[8px]";
|
|
80
|
+
}
|
|
81
|
+
return "";
|
|
82
|
+
}
|
|
83
|
+
return "";
|
|
84
|
+
}, [hasEar, origin]);
|
|
85
|
+
const bubbleRowClass = (0, _classVarianceAuthority.cva)("relative flex-row items-end ", {
|
|
86
|
+
variants: {
|
|
87
|
+
origin: {
|
|
88
|
+
user: `flex-row-reverse ${bubbleWithEarOffset}`,
|
|
89
|
+
assistant: bubbleWithEarOffset
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
const bubbleEarContainerClass = (0, _classVarianceAuthority.cva)("w-[12px] h-[10px] pb-[0.2px] z-10 items-center justify-center", {
|
|
94
|
+
variants: {
|
|
95
|
+
origin: {
|
|
96
|
+
user: "ml-[-4px]",
|
|
97
|
+
assistant: "mr-[-4px]"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
const chatBubbleBoxStyle = (0, _tailwindPreset.merge)((0, _classVariants.chatBubbleBoxVariants)({
|
|
102
|
+
variant,
|
|
103
|
+
colorState,
|
|
104
|
+
hasEar,
|
|
105
|
+
messageType,
|
|
106
|
+
fullWidth,
|
|
107
|
+
origin
|
|
108
|
+
}), chatBubbleBoxClassName);
|
|
109
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.ChatBubbleContext.Provider, {
|
|
110
|
+
value: contextInitialValue,
|
|
111
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
112
|
+
accessibilityRole: "text",
|
|
113
|
+
accessibilityLabel: accessibilityLabelMap[variant],
|
|
114
|
+
accessible: true,
|
|
115
|
+
className: (0, _tailwindPreset.merge)((0, _classVariants.chatBubbleContainerVariants)({
|
|
116
|
+
origin
|
|
117
|
+
}), className),
|
|
118
|
+
...restOfProps,
|
|
119
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
120
|
+
className: bubbleRowClass({
|
|
121
|
+
origin
|
|
122
|
+
}),
|
|
123
|
+
children: [hasEar && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
124
|
+
className: bubbleEarContainerClass({
|
|
125
|
+
origin
|
|
126
|
+
}),
|
|
127
|
+
accessibilityElementsHidden: true,
|
|
128
|
+
importantForAccessibility: "no-hide-descendants",
|
|
129
|
+
children: renderChatBubbleEar()
|
|
130
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
131
|
+
className: chatBubbleBoxStyle,
|
|
132
|
+
style: {
|
|
133
|
+
boxShadow: _index2.elevationDown100
|
|
134
|
+
},
|
|
135
|
+
accessibilityRole: "text",
|
|
136
|
+
children: children
|
|
137
|
+
})]
|
|
138
|
+
}), shouldDisplayTime && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ChatBubbleTime, {
|
|
139
|
+
children: time
|
|
140
|
+
})]
|
|
141
|
+
})
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
ChatBubble.Content = _index.ChatBubbleContent;
|
|
145
|
+
ChatBubble.Seal = _index.ChatBubbleSeal;
|
|
146
|
+
ChatBubble.Text = _index.ChatBubbleText;
|
|
147
|
+
ChatBubble.Loading = _index.ChatBubbleLoading;
|
|
148
|
+
ChatBubble.displayName = "ChatBubble";
|
|
149
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_index","_classVarianceAuthority","_classVariants","_index2","_tailwindPreset","_index3","_react","_jsxRuntime","ChatBubble","props","variant","colorState","hasEar","className","children","time","timeFromProps","shouldDisplayTime","origin","messageType","chatBubbleBoxClassName","fullWidth","restOfProps","useMemo","hours","minutes","Date","toLocaleTimeString","split","colorMap","check","alert","error","custom","tailColor","contextInitialValue","accessibilityLabelMap","renderChatBubbleEar","jsx","ChatBubbleEar","color","type","mirrored","bubbleWithEarOffset","bubbleRowClass","cva","variants","user","assistant","bubbleEarContainerClass","chatBubbleBoxStyle","merge","chatBubbleBoxVariants","ChatBubbleContext","Provider","value","jsxs","View","accessibilityRole","accessibilityLabel","accessible","chatBubbleContainerVariants","accessibilityElementsHidden","importantForAccessibility","style","boxShadow","elevationDown100","ChatBubbleTime","Content","ChatBubbleContent","Seal","ChatBubbleSeal","Text","ChatBubbleText","Loading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AA,CAAA+B,GAAA,EAACxC,YAAA,CAAA2D,IAAI;UACH5C,SAAS,EAAEqC,kBAAmB;UAC9Bc,KAAK,EAAE;YACLC,SAAS,EAAEC;UACb,CAAE;UACFR,iBAAiB,EAAC,MAAM;UAAA5C,QAAA,EAEvBA;QAAQ,CACL,CAAC;MAAA,CACH,CAAC,EACNG,iBAAiB,iBAAI,IAAAV,WAAA,CAAA+B,GAAA,EAACtC,MAAA,CAAAmE,cAAc;QAAArD,QAAA,EAAEC;MAAI,CAAiB,CAAC;IAAA,CACzD;EAAC,CACmB,CAAC;AAEjC;AAEAP,UAAU,CAAC4D,OAAO,GAAGC,wBAAiB;AACtC7D,UAAU,CAAC8D,IAAI,GAAGC,qBAAc;AAChC/D,UAAU,CAACgE,IAAI,GAAGC,qBAAc;AAChCjE,UAAU,CAACkE,OAAO,GAAGC,wBAAiB;AAEtCnE,UAAU,CAACoE,WAAW,GAAG,YAAY","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,C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ap","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,IAA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,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":[]}
|
|
@@ -8,8 +8,8 @@ var _classVarianceAuthority = require("class-variance-authority");
|
|
|
8
8
|
const chipVariants = exports.chipVariants = (0, _classVarianceAuthority.cva)("flex flex-row items-center justify-between max-w-fit stroke-none border-100 bg-chia-100", {
|
|
9
9
|
variants: {
|
|
10
10
|
size: {
|
|
11
|
-
medium: "min-w-[64px]
|
|
12
|
-
large: "min-w-[86px]
|
|
11
|
+
medium: "min-w-[64px] h-700 px-300 gap-300 rounded-500",
|
|
12
|
+
large: "min-w-[86px] h-800 px-400 gap-400 rounded-600"
|
|
13
13
|
},
|
|
14
14
|
variant: {
|
|
15
15
|
filled: "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_classVarianceAuthority","require","chipVariants","exports","cva","variants","size","medium","large","variant","filled","outline","highlight","sealVariant","add","success","error","alert","minus","right","left","compoundVariants","class","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/Chip/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AAEO,MAAMC,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,IAAAE,2BAAG,EAC7B,yFAAyF,EACzF;EACEC,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJC,MAAM,EAAE
|
|
1
|
+
{"version":3,"names":["_classVarianceAuthority","require","chipVariants","exports","cva","variants","size","medium","large","variant","filled","outline","highlight","sealVariant","add","success","error","alert","minus","right","left","compoundVariants","class","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/Chip/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,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@@ 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":[]}
|
|
@@ -9,16 +9,19 @@ var _classVariants = require("./assets/class-variants.js");
|
|
|
9
9
|
var _index = require("../Seal/index.js");
|
|
10
10
|
var _reactNative = require("react-native");
|
|
11
11
|
var _index2 = require("../Seal/enums/index.js");
|
|
12
|
+
var _index3 = require("../Typography/index.js");
|
|
13
|
+
var _index4 = require("../../enums/index.js");
|
|
12
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
15
|
function Chip(props) {
|
|
14
16
|
const {
|
|
15
17
|
label,
|
|
16
18
|
className,
|
|
17
19
|
sealVariant = _index2.SealVariantEnum.ADD,
|
|
18
|
-
size =
|
|
20
|
+
size = _index4.SizeEnum.MEDIUM,
|
|
19
21
|
variant = "outline"
|
|
20
22
|
} = props;
|
|
21
|
-
const
|
|
23
|
+
const typographyVariant = size === _index4.SizeEnum.MEDIUM ? "label_small" : "label_medium";
|
|
24
|
+
const textColorClass = variant === "filled" ? "text-chia-200" : "text-chia-900";
|
|
22
25
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
23
26
|
className: (0, _tailwindPreset.merge)((0, _classVariants.chipVariants)({
|
|
24
27
|
size,
|
|
@@ -28,9 +31,11 @@ function Chip(props) {
|
|
|
28
31
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Seal, {
|
|
29
32
|
variant: sealVariant,
|
|
30
33
|
inverted: variant === "filled",
|
|
31
|
-
size:
|
|
32
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
33
|
-
|
|
34
|
+
size: _index4.SizeEnum.SMALL
|
|
35
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Typography, {
|
|
36
|
+
variant: typographyVariant,
|
|
37
|
+
weight: "700",
|
|
38
|
+
className: (0, _tailwindPreset.merge)("mx-auto", textColorClass),
|
|
34
39
|
children: label
|
|
35
40
|
})]
|
|
36
41
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_tailwindPreset","require","_classVariants","_index","_reactNative","_index2","_jsxRuntime","Chip","props","label","className","sealVariant","SealVariantEnum","ADD","size","variant","
|
|
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":[]}
|
|
@@ -5,38 +5,42 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.HighlightedText = HighlightedText;
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var
|
|
9
|
-
var _reactNative = require("react-native");
|
|
8
|
+
var _index = require("../Typography/index.js");
|
|
10
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
10
|
function HighlightedText(props) {
|
|
12
11
|
const {
|
|
13
12
|
text,
|
|
14
13
|
highlightText,
|
|
15
14
|
className,
|
|
16
|
-
highlightTextClassName,
|
|
17
15
|
reverse,
|
|
18
|
-
|
|
16
|
+
highlightedTextProps = {},
|
|
17
|
+
variant = "label_medium",
|
|
18
|
+
weight = "400",
|
|
19
19
|
...rest
|
|
20
20
|
} = props;
|
|
21
|
-
const mergeClassName = (0, _tailwindPreset.merge)("text-label_medium_300", className);
|
|
22
|
-
const mergeHighlightClassName = (0, _tailwindPreset.merge)("text-label_medium_700", highlightTextClassName);
|
|
23
21
|
if (reverse) {
|
|
24
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.Typography, {
|
|
23
|
+
variant: variant,
|
|
24
|
+
weight: weight,
|
|
25
|
+
className: className,
|
|
27
26
|
...rest,
|
|
28
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
29
|
-
|
|
27
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Typography, {
|
|
28
|
+
variant: highlightedTextProps.variant,
|
|
29
|
+
weight: highlightedTextProps.weight,
|
|
30
|
+
...highlightedTextProps,
|
|
30
31
|
children: highlightText
|
|
31
32
|
}), " ", text]
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.Typography, {
|
|
36
|
+
variant: variant,
|
|
37
|
+
weight: weight,
|
|
38
|
+
className: className,
|
|
37
39
|
...rest,
|
|
38
|
-
children: [text, " ", /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
39
|
-
|
|
40
|
+
children: [text, " ", /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Typography, {
|
|
41
|
+
variant: highlightedTextProps.variant || "label_medium",
|
|
42
|
+
weight: highlightedTextProps.weight || "700",
|
|
43
|
+
...highlightedTextProps,
|
|
40
44
|
children: highlightText
|
|
41
45
|
})]
|
|
42
46
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_index","require","_jsxRuntime","HighlightedText","props","text","highlightText","className","reverse","highlightedTextProps","variant","weight","rest","jsxs","Typography","children","jsx","displayName","_default","exports","default"],"sourceRoot":"../../../../src","sources":["components/HighlightedText/index.tsx"],"mappings":";;;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAA2C,IAAAC,WAAA,GAAAD,OAAA;AAEpC,SAASE,eAAeA,CAACC,KAA2B,EAAE;EAC3D,MAAM;IACJC,IAAI;IACJC,aAAa;IACbC,SAAS;IACTC,OAAO;IACPC,oBAAoB,GAAG,CAAC,CAAC;IACzBC,OAAO,GAAG,cAAc;IACxBC,MAAM,GAAG,KAAK;IACd,GAAGC;EACL,CAAC,GAAGR,KAAK;EAET,IAAII,OAAO,EAAE;IACX,oBACE,IAAAN,WAAA,CAAAW,IAAA,EAACb,MAAA,CAAAc,UAAU;MACTJ,OAAO,EAAEA,OAAQ;MACjBC,MAAM,EAAEA,MAAO;MACfJ,SAAS,EAAEA,SAAU;MAAA,GACjBK,IAAI;MAAAG,QAAA,gBAER,IAAAb,WAAA,CAAAc,GAAA,EAAChB,MAAA,CAAAc,UAAU;QACTJ,OAAO,EAAED,oBAAoB,CAACC,OAAQ;QACtCC,MAAM,EAAEF,oBAAoB,CAACE,MAAO;QAAA,GAChCF,oBAAoB;QAAAM,QAAA,EAEvBT;MAAa,CACJ,CAAC,EAAC,GAAG,EAChBD,IAAI;IAAA,CACK,CAAC;EAEjB;EAEA,oBACE,IAAAH,WAAA,CAAAW,IAAA,EAACb,MAAA,CAAAc,UAAU;IACTJ,OAAO,EAAEA,OAAQ;IACjBC,MAAM,EAAEA,MAAO;IACfJ,SAAS,EAAEA,SAAU;IAAA,GACjBK,IAAI;IAAAG,QAAA,GAEPV,IAAI,EAAE,GAAG,eACV,IAAAH,WAAA,CAAAc,GAAA,EAAChB,MAAA,CAAAc,UAAU;MACTJ,OAAO,EAAED,oBAAoB,CAACC,OAAO,IAAI,cAAe;MACxDC,MAAM,EAAEF,oBAAoB,CAACE,MAAM,IAAI,KAAM;MAAA,GACzCF,oBAAoB;MAAAM,QAAA,EAEvBT;IAAa,CACJ,CAAC;EAAA,CACH,CAAC;AAEjB;AAEAH,eAAe,CAACc,WAAW,GAAG,iBAAiB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GACjCjB,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.buttonVariants = void 0;
|
|
7
|
+
var _classVarianceAuthority = require("class-variance-authority");
|
|
8
|
+
var _enums = require("../enums.js");
|
|
9
|
+
const buttonVariants = exports.buttonVariants = (0, _classVarianceAuthority.cva)(["flex flex-row items-center justify-center max-w-fit", "disabled:cursor-not-allowed", "relative overflow-hidden"], {
|
|
10
|
+
variants: {
|
|
11
|
+
variant: {
|
|
12
|
+
[_enums.IconButtonVariantEnum.GRAPE]: ["bg-grape-500", "disabled:bg-grape-500 disabled:opacity-30"],
|
|
13
|
+
[_enums.IconButtonVariantEnum.JAVA]: ["bg-java-500", "disabled:bg-java-500 disabled:opacity-30"],
|
|
14
|
+
[_enums.IconButtonVariantEnum.PEAR]: ["bg-pear-500", "disabled:bg-pear-500 disabled:opacity-30"],
|
|
15
|
+
[_enums.IconButtonVariantEnum.TANGERINE]: ["bg-tangerine-500", "disabled:bg-tangerine-500 disabled:opacity-30"],
|
|
16
|
+
[_enums.IconButtonVariantEnum.PITAYA]: ["bg-pitaya-500 border border-pitaya-500", "disabled:bg-pitaya-500 disabled:opacity-30"],
|
|
17
|
+
[_enums.IconButtonVariantEnum.BLACKBERRY]: ["bg-blackberry-500", "disabled:bg-blackberry-500 disabled:opacity-30"],
|
|
18
|
+
[_enums.IconButtonVariantEnum.CHIA]: ["bg-chia-700", "disabled:bg-chia-700 disabled:opacity-30"],
|
|
19
|
+
[_enums.IconButtonVariantEnum.OUTLINE]: ["bg-chia-100 border-100 border-chia-400", "disabled:bg-chia-200 disabled:opacity-50"],
|
|
20
|
+
[_enums.IconButtonVariantEnum.GHOST]: ["bg-transparent", "disabled:opacity-30"]
|
|
21
|
+
},
|
|
22
|
+
size: {
|
|
23
|
+
[_enums.IconButtonSizeEnum.SMALL]: "px-400 py-300",
|
|
24
|
+
[_enums.IconButtonSizeEnum.MEDIUM]: "px-500 py-400",
|
|
25
|
+
[_enums.IconButtonSizeEnum.LARGE]: "px-600 py-400",
|
|
26
|
+
[_enums.IconButtonSizeEnum.XLARGE]: "px-700 py-500",
|
|
27
|
+
[_enums.IconButtonSizeEnum.XXLARGE]: "px-800 py-600"
|
|
28
|
+
},
|
|
29
|
+
corners: {
|
|
30
|
+
[_enums.IconButtonCornersEnum.SMALL]: "rounded-500",
|
|
31
|
+
[_enums.IconButtonCornersEnum.MEDIUM]: "rounded-700"
|
|
32
|
+
},
|
|
33
|
+
selected: {
|
|
34
|
+
true: "",
|
|
35
|
+
false: ""
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
compoundVariants: [{
|
|
39
|
+
variant: _enums.IconButtonVariantEnum.GRAPE,
|
|
40
|
+
selected: true,
|
|
41
|
+
className: "bg-grape-600"
|
|
42
|
+
}, {
|
|
43
|
+
variant: _enums.IconButtonVariantEnum.JAVA,
|
|
44
|
+
selected: true,
|
|
45
|
+
className: "bg-java-600"
|
|
46
|
+
}, {
|
|
47
|
+
variant: _enums.IconButtonVariantEnum.PEAR,
|
|
48
|
+
selected: true,
|
|
49
|
+
className: "bg-pear-600"
|
|
50
|
+
}, {
|
|
51
|
+
variant: _enums.IconButtonVariantEnum.TANGERINE,
|
|
52
|
+
selected: true,
|
|
53
|
+
className: "bg-tangerine-600"
|
|
54
|
+
}, {
|
|
55
|
+
variant: _enums.IconButtonVariantEnum.BLACKBERRY,
|
|
56
|
+
selected: true,
|
|
57
|
+
className: "bg-blackberry-600"
|
|
58
|
+
}, {
|
|
59
|
+
variant: _enums.IconButtonVariantEnum.CHIA,
|
|
60
|
+
selected: true,
|
|
61
|
+
className: "bg-chia-600"
|
|
62
|
+
}, {
|
|
63
|
+
variant: _enums.IconButtonVariantEnum.OUTLINE,
|
|
64
|
+
selected: true,
|
|
65
|
+
className: "bg-outline-600"
|
|
66
|
+
}, {
|
|
67
|
+
variant: _enums.IconButtonVariantEnum.PITAYA,
|
|
68
|
+
selected: true,
|
|
69
|
+
className: "bg-pitaya-600"
|
|
70
|
+
}, {
|
|
71
|
+
variant: _enums.IconButtonVariantEnum.GHOST,
|
|
72
|
+
selected: true,
|
|
73
|
+
className: "bg-grape-100 border-100 border-grape-300"
|
|
74
|
+
}],
|
|
75
|
+
defaultVariants: {
|
|
76
|
+
variant: _enums.IconButtonVariantEnum.GRAPE,
|
|
77
|
+
size: _enums.IconButtonSizeEnum.MEDIUM,
|
|
78
|
+
corners: _enums.IconButtonCornersEnum.MEDIUM,
|
|
79
|
+
selected: false
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
//# sourceMappingURL=class-variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_classVarianceAuthority","require","_enums","buttonVariants","exports","cva","variants","variant","IconButtonVariantEnum","GRAPE","JAVA","PEAR","TANGERINE","PITAYA","BLACKBERRY","CHIA","OUTLINE","GHOST","size","IconButtonSizeEnum","SMALL","MEDIUM","LARGE","XLARGE","XXLARGE","corners","IconButtonCornersEnum","selected","true","false","compoundVariants","className","defaultVariants"],"sourceRoot":"../../../../../src","sources":["components/IconButton/assets/class-variants.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAMA,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,2BAAG,EACxB,CACE,qDAAqD,EACrD,6BAA6B,EAC7B,0BAA0B,CAC3B,EACD;EACEC,QAAQ,EAAE;IACRC,OAAO,EAAE;MACP,CAACC,4BAAqB,CAACC,KAAK,GAAG,CAC7B,cAAc,EACd,2CAA2C,CAC5C;MACD,CAACD,4BAAqB,CAACE,IAAI,GAAG,CAC5B,aAAa,EACb,0CAA0C,CAC3C;MACD,CAACF,4BAAqB,CAACG,IAAI,GAAG,CAC5B,aAAa,EACb,0CAA0C,CAC3C;MACD,CAACH,4BAAqB,CAACI,SAAS,GAAG,CACjC,kBAAkB,EAClB,+CAA+C,CAChD;MACD,CAACJ,4BAAqB,CAACK,MAAM,GAAG,CAC9B,wCAAwC,EACxC,4CAA4C,CAC7C;MACD,CAACL,4BAAqB,CAACM,UAAU,GAAG,CAClC,mBAAmB,EACnB,gDAAgD,CACjD;MACD,CAACN,4BAAqB,CAACO,IAAI,GAAG,CAC5B,aAAa,EACb,0CAA0C,CAC3C;MACD,CAACP,4BAAqB,CAACQ,OAAO,GAAG,CAC/B,wCAAwC,EACxC,0CAA0C,CAC3C;MACD,CAACR,4BAAqB,CAACS,KAAK,GAAG,CAC7B,gBAAgB,EAChB,qBAAqB;IAEzB,CAAC;IACDC,IAAI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