@tecsinapse/react-core 1.21.1-beta.1 → 1.21.1-beta.3
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/dist/components/atoms/Avatar/Avatar.cjs +38 -0
- package/dist/components/atoms/Avatar/Avatar.cjs.map +1 -0
- package/dist/components/atoms/Avatar/Avatar.mjs +32 -0
- package/dist/components/atoms/Avatar/Avatar.mjs.map +1 -0
- package/dist/components/atoms/Avatar/helpers.cjs +14 -0
- package/dist/components/atoms/Avatar/helpers.cjs.map +1 -0
- package/dist/components/atoms/Avatar/helpers.mjs +10 -0
- package/dist/components/atoms/Avatar/helpers.mjs.map +1 -0
- package/dist/components/atoms/Avatar/styled.cjs +46 -0
- package/dist/components/atoms/Avatar/styled.cjs.map +1 -0
- package/dist/components/atoms/Avatar/styled.mjs +35 -0
- package/dist/components/atoms/Avatar/styled.mjs.map +1 -0
- package/dist/components/atoms/Badge/Badge.cjs +25 -0
- package/dist/components/atoms/Badge/Badge.cjs.map +1 -0
- package/dist/components/atoms/Badge/Badge.mjs +19 -0
- package/dist/components/atoms/Badge/Badge.mjs.map +1 -0
- package/dist/components/atoms/Badge/styled.cjs +48 -0
- package/dist/components/atoms/Badge/styled.cjs.map +1 -0
- package/dist/components/atoms/Badge/styled.mjs +39 -0
- package/dist/components/atoms/Badge/styled.mjs.map +1 -0
- package/dist/components/atoms/BoxContent/BoxContent.cjs +44 -0
- package/dist/components/atoms/BoxContent/BoxContent.cjs.map +1 -0
- package/dist/components/atoms/BoxContent/BoxContent.mjs +38 -0
- package/dist/components/atoms/BoxContent/BoxContent.mjs.map +1 -0
- package/dist/components/atoms/BoxContent/styled.cjs +63 -0
- package/dist/components/atoms/BoxContent/styled.cjs.map +1 -0
- package/dist/components/atoms/BoxContent/styled.mjs +54 -0
- package/dist/components/atoms/BoxContent/styled.mjs.map +1 -0
- package/dist/components/atoms/Button/Button.cjs +105 -0
- package/dist/components/atoms/Button/Button.cjs.map +1 -0
- package/dist/components/atoms/Button/Button.mjs +99 -0
- package/dist/components/atoms/Button/Button.mjs.map +1 -0
- package/dist/components/atoms/Button/States/BaseState.cjs +35 -0
- package/dist/components/atoms/Button/States/BaseState.cjs.map +1 -0
- package/dist/components/atoms/Button/States/BaseState.mjs +29 -0
- package/dist/components/atoms/Button/States/BaseState.mjs.map +1 -0
- package/dist/components/atoms/Button/States/Error.cjs +36 -0
- package/dist/components/atoms/Button/States/Error.cjs.map +1 -0
- package/dist/components/atoms/Button/States/Error.mjs +30 -0
- package/dist/components/atoms/Button/States/Error.mjs.map +1 -0
- package/dist/components/atoms/Button/States/Loading.cjs +32 -0
- package/dist/components/atoms/Button/States/Loading.cjs.map +1 -0
- package/dist/components/atoms/Button/States/Loading.mjs +26 -0
- package/dist/components/atoms/Button/States/Loading.mjs.map +1 -0
- package/dist/components/atoms/Button/States/Success.cjs +36 -0
- package/dist/components/atoms/Button/States/Success.cjs.map +1 -0
- package/dist/components/atoms/Button/States/Success.mjs +30 -0
- package/dist/components/atoms/Button/States/Success.mjs.map +1 -0
- package/dist/components/atoms/Button/States/styled.cjs +25 -0
- package/dist/components/atoms/Button/States/styled.cjs.map +1 -0
- package/dist/components/atoms/Button/States/styled.mjs +16 -0
- package/dist/components/atoms/Button/States/styled.mjs.map +1 -0
- package/dist/components/atoms/Button/styled.cjs +58 -0
- package/dist/components/atoms/Button/styled.cjs.map +1 -0
- package/dist/components/atoms/Button/styled.mjs +50 -0
- package/dist/components/atoms/Button/styled.mjs.map +1 -0
- package/dist/components/atoms/Card/Card.cjs +64 -0
- package/dist/components/atoms/Card/Card.cjs.map +1 -0
- package/dist/components/atoms/Card/Card.mjs +58 -0
- package/dist/components/atoms/Card/Card.mjs.map +1 -0
- package/dist/components/atoms/Card/Footer/Footer.cjs +15 -0
- package/dist/components/atoms/Card/Footer/Footer.cjs.map +1 -0
- package/dist/components/atoms/Card/Footer/Footer.mjs +9 -0
- package/dist/components/atoms/Card/Footer/Footer.mjs.map +1 -0
- package/dist/components/atoms/Card/Header/Header.cjs +15 -0
- package/dist/components/atoms/Card/Header/Header.cjs.map +1 -0
- package/dist/components/atoms/Card/Header/Header.mjs +9 -0
- package/dist/components/atoms/Card/Header/Header.mjs.map +1 -0
- package/dist/components/atoms/Card/styled.cjs +21 -0
- package/dist/components/atoms/Card/styled.cjs.map +1 -0
- package/dist/components/atoms/Card/styled.mjs +13 -0
- package/dist/components/atoms/Card/styled.mjs.map +1 -0
- package/dist/components/atoms/Checkbox/Checkbox.cjs +88 -0
- package/dist/components/atoms/Checkbox/Checkbox.cjs.map +1 -0
- package/dist/components/atoms/Checkbox/Checkbox.mjs +82 -0
- package/dist/components/atoms/Checkbox/Checkbox.mjs.map +1 -0
- package/dist/components/atoms/Checkbox/styled.cjs +48 -0
- package/dist/components/atoms/Checkbox/styled.cjs.map +1 -0
- package/dist/components/atoms/Checkbox/styled.mjs +37 -0
- package/dist/components/atoms/Checkbox/styled.mjs.map +1 -0
- package/dist/components/atoms/Divider/Divider.cjs +44 -0
- package/dist/components/atoms/Divider/Divider.cjs.map +1 -0
- package/dist/components/atoms/Divider/Divider.mjs +38 -0
- package/dist/components/atoms/Divider/Divider.mjs.map +1 -0
- package/dist/components/atoms/Divider/styled.cjs +32 -0
- package/dist/components/atoms/Divider/styled.cjs.map +1 -0
- package/dist/components/atoms/Divider/styled.mjs +24 -0
- package/dist/components/atoms/Divider/styled.mjs.map +1 -0
- package/dist/components/atoms/GroupButton/GroupButton.cjs +105 -0
- package/dist/components/atoms/GroupButton/GroupButton.cjs.map +1 -0
- package/dist/components/atoms/GroupButton/GroupButton.mjs +99 -0
- package/dist/components/atoms/GroupButton/GroupButton.mjs.map +1 -0
- package/dist/components/atoms/GroupButton/GroupButtonOption.cjs +25 -0
- package/dist/components/atoms/GroupButton/GroupButtonOption.cjs.map +1 -0
- package/dist/components/atoms/GroupButton/GroupButtonOption.mjs +19 -0
- package/dist/components/atoms/GroupButton/GroupButtonOption.mjs.map +1 -0
- package/dist/components/atoms/GroupButton/styled.cjs +126 -0
- package/dist/components/atoms/GroupButton/styled.cjs.map +1 -0
- package/dist/components/atoms/GroupButton/styled.mjs +114 -0
- package/dist/components/atoms/GroupButton/styled.mjs.map +1 -0
- package/dist/components/atoms/Icon/Icon.cjs +74 -0
- package/dist/components/atoms/Icon/Icon.cjs.map +1 -0
- package/dist/components/atoms/Icon/Icon.mjs +68 -0
- package/dist/components/atoms/Icon/Icon.mjs.map +1 -0
- package/dist/components/atoms/Icon/helpers.cjs +127 -0
- package/dist/components/atoms/Icon/helpers.cjs.map +1 -0
- package/dist/components/atoms/Icon/helpers.mjs +100 -0
- package/dist/components/atoms/Icon/helpers.mjs.map +1 -0
- package/dist/components/atoms/Input/Hint.cjs +39 -0
- package/dist/components/atoms/Input/Hint.cjs.map +1 -0
- package/dist/components/atoms/Input/Hint.mjs +33 -0
- package/dist/components/atoms/Input/Hint.mjs.map +1 -0
- package/dist/components/atoms/Input/InputContainer/InputContainer.cjs +105 -0
- package/dist/components/atoms/Input/InputContainer/InputContainer.cjs.map +1 -0
- package/dist/components/atoms/Input/InputContainer/InputContainer.mjs +99 -0
- package/dist/components/atoms/Input/InputContainer/InputContainer.mjs.map +1 -0
- package/dist/components/atoms/Input/InputElement/InputElement.cjs +73 -0
- package/dist/components/atoms/Input/InputElement/InputElement.cjs.map +1 -0
- package/dist/components/atoms/Input/InputElement/InputElement.mjs +67 -0
- package/dist/components/atoms/Input/InputElement/InputElement.mjs.map +1 -0
- package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.cjs +113 -0
- package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.cjs.map +1 -0
- package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.mjs +107 -0
- package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.mjs.map +1 -0
- package/dist/components/atoms/Input/PressableInputContainer/PressableInputContainer.cjs +77 -0
- package/dist/components/atoms/Input/PressableInputContainer/PressableInputContainer.cjs.map +1 -0
- package/dist/components/atoms/Input/PressableInputContainer/PressableInputContainer.mjs +55 -0
- package/dist/components/atoms/Input/PressableInputContainer/PressableInputContainer.mjs.map +1 -0
- package/dist/components/atoms/Input/PressableInputContainer/styled.cjs +16 -0
- package/dist/components/atoms/Input/PressableInputContainer/styled.cjs.map +1 -0
- package/dist/components/atoms/Input/PressableInputContainer/styled.mjs +8 -0
- package/dist/components/atoms/Input/PressableInputContainer/styled.mjs.map +1 -0
- package/dist/components/atoms/Input/hooks/useInputFocus.cjs +29 -0
- package/dist/components/atoms/Input/hooks/useInputFocus.cjs.map +1 -0
- package/dist/components/atoms/Input/hooks/useInputFocus.mjs +25 -0
- package/dist/components/atoms/Input/hooks/useInputFocus.mjs.map +1 -0
- package/dist/components/atoms/Input/hooks/useNumberMask.cjs +100 -0
- package/dist/components/atoms/Input/hooks/useNumberMask.cjs.map +1 -0
- package/dist/components/atoms/Input/hooks/useNumberMask.mjs +91 -0
- package/dist/components/atoms/Input/hooks/useNumberMask.mjs.map +1 -0
- package/dist/components/atoms/Input/hooks/useStringMask.cjs +101 -0
- package/dist/components/atoms/Input/hooks/useStringMask.cjs.map +1 -0
- package/dist/components/atoms/Input/hooks/useStringMask.mjs +95 -0
- package/dist/components/atoms/Input/hooks/useStringMask.mjs.map +1 -0
- package/dist/components/atoms/Input/styled.cjs +111 -0
- package/dist/components/atoms/Input/styled.cjs.map +1 -0
- package/dist/components/atoms/Input/styled.mjs +95 -0
- package/dist/components/atoms/Input/styled.mjs.map +1 -0
- package/dist/components/atoms/Paper/Paper.cjs +55 -0
- package/dist/components/atoms/Paper/Paper.cjs.map +1 -0
- package/dist/components/atoms/Paper/Paper.mjs +49 -0
- package/dist/components/atoms/Paper/Paper.mjs.map +1 -0
- package/dist/components/atoms/Paper/styled.cjs +21 -0
- package/dist/components/atoms/Paper/styled.cjs.map +1 -0
- package/dist/components/atoms/Paper/styled.mjs +13 -0
- package/dist/components/atoms/Paper/styled.mjs.map +1 -0
- package/dist/components/atoms/PressableSurface/PressableSurface.cjs +109 -0
- package/dist/components/atoms/PressableSurface/PressableSurface.cjs.map +1 -0
- package/dist/components/atoms/PressableSurface/PressableSurface.mjs +103 -0
- package/dist/components/atoms/PressableSurface/PressableSurface.mjs.map +1 -0
- package/dist/components/atoms/ProgressBar/ProgressBar.cjs +127 -0
- package/dist/components/atoms/ProgressBar/ProgressBar.cjs.map +1 -0
- package/dist/components/atoms/ProgressBar/ProgressBar.mjs +105 -0
- package/dist/components/atoms/ProgressBar/ProgressBar.mjs.map +1 -0
- package/dist/components/atoms/ProgressBar/styled.cjs +42 -0
- package/dist/components/atoms/ProgressBar/styled.cjs.map +1 -0
- package/dist/components/atoms/ProgressBar/styled.mjs +32 -0
- package/dist/components/atoms/ProgressBar/styled.mjs.map +1 -0
- package/dist/components/atoms/RadioButton/RadioButton.cjs +83 -0
- package/dist/components/atoms/RadioButton/RadioButton.cjs.map +1 -0
- package/dist/components/atoms/RadioButton/RadioButton.mjs +77 -0
- package/dist/components/atoms/RadioButton/RadioButton.mjs.map +1 -0
- package/dist/components/atoms/RadioButton/styled.cjs +37 -0
- package/dist/components/atoms/RadioButton/styled.cjs.map +1 -0
- package/dist/components/atoms/RadioButton/styled.mjs +26 -0
- package/dist/components/atoms/RadioButton/styled.mjs.map +1 -0
- package/dist/components/atoms/Switch/Switch.cjs +119 -0
- package/dist/components/atoms/Switch/Switch.cjs.map +1 -0
- package/dist/components/atoms/Switch/Switch.mjs +113 -0
- package/dist/components/atoms/Switch/Switch.mjs.map +1 -0
- package/dist/components/atoms/Switch/animation.cjs +39 -0
- package/dist/components/atoms/Switch/animation.cjs.map +1 -0
- package/dist/components/atoms/Switch/animation.mjs +35 -0
- package/dist/components/atoms/Switch/animation.mjs.map +1 -0
- package/dist/components/atoms/Switch/styled.cjs +40 -0
- package/dist/components/atoms/Switch/styled.cjs.map +1 -0
- package/dist/components/atoms/Switch/styled.mjs +29 -0
- package/dist/components/atoms/Switch/styled.mjs.map +1 -0
- package/dist/components/atoms/Tag/Tag.cjs +92 -0
- package/dist/components/atoms/Tag/Tag.cjs.map +1 -0
- package/dist/components/atoms/Tag/Tag.mjs +86 -0
- package/dist/components/atoms/Tag/Tag.mjs.map +1 -0
- package/dist/components/atoms/Tag/styled.cjs +45 -0
- package/dist/components/atoms/Tag/styled.cjs.map +1 -0
- package/dist/components/atoms/Tag/styled.mjs +35 -0
- package/dist/components/atoms/Tag/styled.mjs.map +1 -0
- package/dist/components/atoms/Text/Text.cjs +82 -0
- package/dist/components/atoms/Text/Text.cjs.map +1 -0
- package/dist/components/atoms/Text/Text.mjs +76 -0
- package/dist/components/atoms/Text/Text.mjs.map +1 -0
- package/dist/components/atoms/Text/functions.cjs +10 -0
- package/dist/components/atoms/Text/functions.cjs.map +1 -0
- package/dist/components/atoms/Text/functions.mjs +5 -0
- package/dist/components/atoms/Text/functions.mjs.map +1 -0
- package/dist/components/atoms/Text/styled.cjs +31 -0
- package/dist/components/atoms/Text/styled.cjs.map +1 -0
- package/dist/components/atoms/Text/styled.mjs +22 -0
- package/dist/components/atoms/Text/styled.mjs.map +1 -0
- package/dist/components/atoms/shared/PaperAndCard.cjs +26 -0
- package/dist/components/atoms/shared/PaperAndCard.cjs.map +1 -0
- package/dist/components/atoms/shared/PaperAndCard.mjs +21 -0
- package/dist/components/atoms/shared/PaperAndCard.mjs.map +1 -0
- package/dist/components/molecules/Calendar/Calendar.cjs +172 -0
- package/dist/components/molecules/Calendar/Calendar.cjs.map +1 -0
- package/dist/components/molecules/Calendar/Calendar.mjs +150 -0
- package/dist/components/molecules/Calendar/Calendar.mjs.map +1 -0
- package/dist/components/molecules/Calendar/components/MonthWeek.cjs +116 -0
- package/dist/components/molecules/Calendar/components/MonthWeek.cjs.map +1 -0
- package/dist/components/molecules/Calendar/components/MonthWeek.mjs +110 -0
- package/dist/components/molecules/Calendar/components/MonthWeek.mjs.map +1 -0
- package/dist/components/molecules/Calendar/components/Weekdays.cjs +29 -0
- package/dist/components/molecules/Calendar/components/Weekdays.cjs.map +1 -0
- package/dist/components/molecules/Calendar/components/Weekdays.mjs +23 -0
- package/dist/components/molecules/Calendar/components/Weekdays.mjs.map +1 -0
- package/dist/components/molecules/Calendar/styled.cjs +97 -0
- package/dist/components/molecules/Calendar/styled.cjs.map +1 -0
- package/dist/components/molecules/Calendar/styled.mjs +83 -0
- package/dist/components/molecules/Calendar/styled.mjs.map +1 -0
- package/dist/components/molecules/DatePicker/DatePicker.cjs +177 -0
- package/dist/components/molecules/DatePicker/DatePicker.cjs.map +1 -0
- package/dist/components/molecules/DatePicker/DatePicker.mjs +156 -0
- package/dist/components/molecules/DatePicker/DatePicker.mjs.map +1 -0
- package/dist/components/molecules/DatePicker/styled.cjs +37 -0
- package/dist/components/molecules/DatePicker/styled.cjs.map +1 -0
- package/dist/components/molecules/DatePicker/styled.mjs +28 -0
- package/dist/components/molecules/DatePicker/styled.mjs.map +1 -0
- package/dist/components/molecules/DateTimePicker/DateTimePicker.cjs +197 -0
- package/dist/components/molecules/DateTimePicker/DateTimePicker.cjs.map +1 -0
- package/dist/components/molecules/DateTimePicker/DateTimePicker.mjs +175 -0
- package/dist/components/molecules/DateTimePicker/DateTimePicker.mjs.map +1 -0
- package/dist/components/molecules/DateTimePicker/styled.cjs +18 -0
- package/dist/components/molecules/DateTimePicker/styled.cjs.map +1 -0
- package/dist/components/molecules/DateTimePicker/styled.mjs +10 -0
- package/dist/components/molecules/DateTimePicker/styled.mjs.map +1 -0
- package/dist/components/molecules/DateTimeSelector/DateTimeSelector.cjs +237 -0
- package/dist/components/molecules/DateTimeSelector/DateTimeSelector.cjs.map +1 -0
- package/dist/components/molecules/DateTimeSelector/DateTimeSelector.mjs +215 -0
- package/dist/components/molecules/DateTimeSelector/DateTimeSelector.mjs.map +1 -0
- package/dist/components/molecules/DateTimeSelector/Selector.cjs +148 -0
- package/dist/components/molecules/DateTimeSelector/Selector.cjs.map +1 -0
- package/dist/components/molecules/DateTimeSelector/Selector.mjs +124 -0
- package/dist/components/molecules/DateTimeSelector/Selector.mjs.map +1 -0
- package/dist/components/molecules/DateTimeSelector/styled.cjs +71 -0
- package/dist/components/molecules/DateTimeSelector/styled.cjs.map +1 -0
- package/dist/components/molecules/DateTimeSelector/styled.mjs +56 -0
- package/dist/components/molecules/DateTimeSelector/styled.mjs.map +1 -0
- package/dist/components/molecules/Grid/functions.cjs +31 -0
- package/dist/components/molecules/Grid/functions.cjs.map +1 -0
- package/dist/components/molecules/Grid/functions.mjs +26 -0
- package/dist/components/molecules/Grid/functions.mjs.map +1 -0
- package/dist/components/molecules/HintInputContainer/HintInputContainer.cjs +103 -0
- package/dist/components/molecules/HintInputContainer/HintInputContainer.cjs.map +1 -0
- package/dist/components/molecules/HintInputContainer/HintInputContainer.mjs +81 -0
- package/dist/components/molecules/HintInputContainer/HintInputContainer.mjs.map +1 -0
- package/dist/components/molecules/IconTextButton/IconComponent.cjs +40 -0
- package/dist/components/molecules/IconTextButton/IconComponent.cjs.map +1 -0
- package/dist/components/molecules/IconTextButton/IconComponent.mjs +34 -0
- package/dist/components/molecules/IconTextButton/IconComponent.mjs.map +1 -0
- package/dist/components/molecules/InputPassword/InputPasswordIcon.cjs +63 -0
- package/dist/components/molecules/InputPassword/InputPasswordIcon.cjs.map +1 -0
- package/dist/components/molecules/InputPassword/InputPasswordIcon.mjs +57 -0
- package/dist/components/molecules/InputPassword/InputPasswordIcon.mjs.map +1 -0
- package/dist/components/molecules/InputPassword/styled.cjs +22 -0
- package/dist/components/molecules/InputPassword/styled.cjs.map +1 -0
- package/dist/components/molecules/InputPassword/styled.mjs +14 -0
- package/dist/components/molecules/InputPassword/styled.mjs.map +1 -0
- package/dist/components/molecules/Snackbar/Snackbar.cjs +108 -0
- package/dist/components/molecules/Snackbar/Snackbar.cjs.map +1 -0
- package/dist/components/molecules/Snackbar/Snackbar.mjs +102 -0
- package/dist/components/molecules/Snackbar/Snackbar.mjs.map +1 -0
- package/dist/components/molecules/Snackbar/styled.cjs +104 -0
- package/dist/components/molecules/Snackbar/styled.cjs.map +1 -0
- package/dist/components/molecules/Snackbar/styled.mjs +90 -0
- package/dist/components/molecules/Snackbar/styled.mjs.map +1 -0
- package/dist/components/molecules/TextArea/TextArea.cjs +82 -0
- package/dist/components/molecules/TextArea/TextArea.cjs.map +1 -0
- package/dist/components/molecules/TextArea/TextArea.mjs +76 -0
- package/dist/components/molecules/TextArea/TextArea.mjs.map +1 -0
- package/dist/components/molecules/TextArea/styled.cjs +36 -0
- package/dist/components/molecules/TextArea/styled.cjs.map +1 -0
- package/dist/components/molecules/TextArea/styled.mjs +27 -0
- package/dist/components/molecules/TextArea/styled.mjs.map +1 -0
- package/dist/hooks/useDebouncedState.cjs +20 -0
- package/dist/hooks/useDebouncedState.cjs.map +1 -0
- package/dist/hooks/useDebouncedState.mjs +16 -0
- package/dist/hooks/useDebouncedState.mjs.map +1 -0
- package/dist/hooks/useTheme.cjs +10 -0
- package/dist/hooks/useTheme.cjs.map +1 -0
- package/dist/hooks/useTheme.mjs +6 -0
- package/dist/hooks/useTheme.mjs.map +1 -0
- package/dist/index.cjs +141 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +55 -0
- package/dist/index.mjs.map +1 -0
- package/dist/styles/ThemeProvider.cjs +20 -0
- package/dist/styles/ThemeProvider.cjs.map +1 -0
- package/dist/styles/ThemeProvider.mjs +14 -0
- package/dist/styles/ThemeProvider.mjs.map +1 -0
- package/dist/styles/definitions.cjs +175 -0
- package/dist/styles/definitions.cjs.map +1 -0
- package/dist/styles/definitions.mjs +158 -0
- package/dist/styles/definitions.mjs.map +1 -0
- package/dist/styles/light.cjs +59 -0
- package/dist/styles/light.cjs.map +1 -0
- package/dist/styles/light.mjs +55 -0
- package/dist/styles/light.mjs.map +1 -0
- package/dist/utils/IPhoneXHelper.cjs +32 -0
- package/dist/utils/IPhoneXHelper.cjs.map +1 -0
- package/dist/utils/IPhoneXHelper.mjs +25 -0
- package/dist/utils/IPhoneXHelper.mjs.map +1 -0
- package/dist/utils/ResponsiveFontSize.cjs +38 -0
- package/dist/utils/ResponsiveFontSize.cjs.map +1 -0
- package/dist/utils/ResponsiveFontSize.mjs +32 -0
- package/dist/utils/ResponsiveFontSize.mjs.map +1 -0
- package/dist/utils/extractNumbersFromString.cjs +10 -0
- package/dist/utils/extractNumbersFromString.cjs.map +1 -0
- package/dist/utils/extractNumbersFromString.mjs +5 -0
- package/dist/utils/extractNumbersFromString.mjs.map +1 -0
- package/dist/utils/formatWithMask.cjs +34 -0
- package/dist/utils/formatWithMask.cjs.map +1 -0
- package/dist/utils/formatWithMask.mjs +26 -0
- package/dist/utils/formatWithMask.mjs.map +1 -0
- package/dist/utils/lightenDarkenColor.cjs +31 -0
- package/dist/utils/lightenDarkenColor.cjs.map +1 -0
- package/dist/utils/lightenDarkenColor.mjs +27 -0
- package/dist/utils/lightenDarkenColor.mjs.map +1 -0
- package/dist/utils/masks.cjs +24 -0
- package/dist/utils/masks.cjs.map +1 -0
- package/dist/utils/masks.mjs +20 -0
- package/dist/utils/masks.mjs.map +1 -0
- package/dist/utils/variantComplement.cjs +36 -0
- package/dist/utils/variantComplement.cjs.map +1 -0
- package/dist/utils/variantComplement.mjs +28 -0
- package/dist/utils/variantComplement.mjs.map +1 -0
- package/package.json +14 -6
- package/CHANGELOG.md +0 -868
- package/dist/components/atoms/Avatar/Avatar.js +0 -38
- package/dist/components/atoms/Avatar/Avatar.js.map +0 -1
- package/dist/components/atoms/Avatar/helpers.js +0 -14
- package/dist/components/atoms/Avatar/helpers.js.map +0 -1
- package/dist/components/atoms/Avatar/styled.js +0 -46
- package/dist/components/atoms/Avatar/styled.js.map +0 -1
- package/dist/components/atoms/Badge/Badge.js +0 -25
- package/dist/components/atoms/Badge/Badge.js.map +0 -1
- package/dist/components/atoms/Badge/styled.js +0 -48
- package/dist/components/atoms/Badge/styled.js.map +0 -1
- package/dist/components/atoms/BoxContent/BoxContent.js +0 -44
- package/dist/components/atoms/BoxContent/BoxContent.js.map +0 -1
- package/dist/components/atoms/BoxContent/styled.js +0 -63
- package/dist/components/atoms/BoxContent/styled.js.map +0 -1
- package/dist/components/atoms/Button/Button.js +0 -105
- package/dist/components/atoms/Button/Button.js.map +0 -1
- package/dist/components/atoms/Button/States/BaseState.js +0 -35
- package/dist/components/atoms/Button/States/BaseState.js.map +0 -1
- package/dist/components/atoms/Button/States/Error.js +0 -36
- package/dist/components/atoms/Button/States/Error.js.map +0 -1
- package/dist/components/atoms/Button/States/Loading.js +0 -32
- package/dist/components/atoms/Button/States/Loading.js.map +0 -1
- package/dist/components/atoms/Button/States/Success.js +0 -36
- package/dist/components/atoms/Button/States/Success.js.map +0 -1
- package/dist/components/atoms/Button/States/styled.js +0 -25
- package/dist/components/atoms/Button/States/styled.js.map +0 -1
- package/dist/components/atoms/Button/styled.js +0 -58
- package/dist/components/atoms/Button/styled.js.map +0 -1
- package/dist/components/atoms/Card/Card.js +0 -64
- package/dist/components/atoms/Card/Card.js.map +0 -1
- package/dist/components/atoms/Card/Footer/Footer.js +0 -15
- package/dist/components/atoms/Card/Footer/Footer.js.map +0 -1
- package/dist/components/atoms/Card/Header/Header.js +0 -15
- package/dist/components/atoms/Card/Header/Header.js.map +0 -1
- package/dist/components/atoms/Card/styled.js +0 -21
- package/dist/components/atoms/Card/styled.js.map +0 -1
- package/dist/components/atoms/Checkbox/Checkbox.js +0 -88
- package/dist/components/atoms/Checkbox/Checkbox.js.map +0 -1
- package/dist/components/atoms/Checkbox/styled.js +0 -48
- package/dist/components/atoms/Checkbox/styled.js.map +0 -1
- package/dist/components/atoms/Divider/Divider.js +0 -44
- package/dist/components/atoms/Divider/Divider.js.map +0 -1
- package/dist/components/atoms/Divider/styled.js +0 -32
- package/dist/components/atoms/Divider/styled.js.map +0 -1
- package/dist/components/atoms/GroupButton/GroupButton.js +0 -105
- package/dist/components/atoms/GroupButton/GroupButton.js.map +0 -1
- package/dist/components/atoms/GroupButton/GroupButtonOption.js +0 -25
- package/dist/components/atoms/GroupButton/GroupButtonOption.js.map +0 -1
- package/dist/components/atoms/GroupButton/styled.js +0 -126
- package/dist/components/atoms/GroupButton/styled.js.map +0 -1
- package/dist/components/atoms/Icon/Icon.js +0 -74
- package/dist/components/atoms/Icon/Icon.js.map +0 -1
- package/dist/components/atoms/Icon/helpers.js +0 -127
- package/dist/components/atoms/Icon/helpers.js.map +0 -1
- package/dist/components/atoms/Input/Hint.js +0 -39
- package/dist/components/atoms/Input/Hint.js.map +0 -1
- package/dist/components/atoms/Input/InputContainer/InputContainer.js +0 -105
- package/dist/components/atoms/Input/InputContainer/InputContainer.js.map +0 -1
- package/dist/components/atoms/Input/InputElement/InputElement.js +0 -73
- package/dist/components/atoms/Input/InputElement/InputElement.js.map +0 -1
- package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.js +0 -113
- package/dist/components/atoms/Input/InputMaskElement/InputMaskElement.js.map +0 -1
- package/dist/components/atoms/Input/PressableInputContainer/PressableInputContainer.js +0 -77
- package/dist/components/atoms/Input/PressableInputContainer/PressableInputContainer.js.map +0 -1
- package/dist/components/atoms/Input/PressableInputContainer/styled.js +0 -16
- package/dist/components/atoms/Input/PressableInputContainer/styled.js.map +0 -1
- package/dist/components/atoms/Input/hooks/useInputFocus.js +0 -29
- package/dist/components/atoms/Input/hooks/useInputFocus.js.map +0 -1
- package/dist/components/atoms/Input/hooks/useNumberMask.js +0 -100
- package/dist/components/atoms/Input/hooks/useNumberMask.js.map +0 -1
- package/dist/components/atoms/Input/hooks/useStringMask.js +0 -101
- package/dist/components/atoms/Input/hooks/useStringMask.js.map +0 -1
- package/dist/components/atoms/Input/styled.js +0 -111
- package/dist/components/atoms/Input/styled.js.map +0 -1
- package/dist/components/atoms/Paper/Paper.js +0 -55
- package/dist/components/atoms/Paper/Paper.js.map +0 -1
- package/dist/components/atoms/Paper/styled.js +0 -21
- package/dist/components/atoms/Paper/styled.js.map +0 -1
- package/dist/components/atoms/PressableSurface/PressableSurface.js +0 -109
- package/dist/components/atoms/PressableSurface/PressableSurface.js.map +0 -1
- package/dist/components/atoms/ProgressBar/ProgressBar.js +0 -127
- package/dist/components/atoms/ProgressBar/ProgressBar.js.map +0 -1
- package/dist/components/atoms/ProgressBar/styled.js +0 -42
- package/dist/components/atoms/ProgressBar/styled.js.map +0 -1
- package/dist/components/atoms/RadioButton/RadioButton.js +0 -83
- package/dist/components/atoms/RadioButton/RadioButton.js.map +0 -1
- package/dist/components/atoms/RadioButton/styled.js +0 -37
- package/dist/components/atoms/RadioButton/styled.js.map +0 -1
- package/dist/components/atoms/Switch/Switch.js +0 -119
- package/dist/components/atoms/Switch/Switch.js.map +0 -1
- package/dist/components/atoms/Switch/animation.js +0 -39
- package/dist/components/atoms/Switch/animation.js.map +0 -1
- package/dist/components/atoms/Switch/styled.js +0 -40
- package/dist/components/atoms/Switch/styled.js.map +0 -1
- package/dist/components/atoms/Tag/Tag.js +0 -92
- package/dist/components/atoms/Tag/Tag.js.map +0 -1
- package/dist/components/atoms/Tag/styled.js +0 -45
- package/dist/components/atoms/Tag/styled.js.map +0 -1
- package/dist/components/atoms/Text/Text.js +0 -82
- package/dist/components/atoms/Text/Text.js.map +0 -1
- package/dist/components/atoms/Text/functions.js +0 -10
- package/dist/components/atoms/Text/functions.js.map +0 -1
- package/dist/components/atoms/Text/styled.js +0 -31
- package/dist/components/atoms/Text/styled.js.map +0 -1
- package/dist/components/atoms/shared/PaperAndCard.js +0 -26
- package/dist/components/atoms/shared/PaperAndCard.js.map +0 -1
- package/dist/components/molecules/Calendar/Calendar.js +0 -172
- package/dist/components/molecules/Calendar/Calendar.js.map +0 -1
- package/dist/components/molecules/Calendar/components/MonthWeek.js +0 -116
- package/dist/components/molecules/Calendar/components/MonthWeek.js.map +0 -1
- package/dist/components/molecules/Calendar/components/Weekdays.js +0 -29
- package/dist/components/molecules/Calendar/components/Weekdays.js.map +0 -1
- package/dist/components/molecules/Calendar/styled.js +0 -97
- package/dist/components/molecules/Calendar/styled.js.map +0 -1
- package/dist/components/molecules/DatePicker/DatePicker.js +0 -177
- package/dist/components/molecules/DatePicker/DatePicker.js.map +0 -1
- package/dist/components/molecules/DatePicker/styled.js +0 -37
- package/dist/components/molecules/DatePicker/styled.js.map +0 -1
- package/dist/components/molecules/DateTimePicker/DateTimePicker.js +0 -197
- package/dist/components/molecules/DateTimePicker/DateTimePicker.js.map +0 -1
- package/dist/components/molecules/DateTimePicker/styled.js +0 -18
- package/dist/components/molecules/DateTimePicker/styled.js.map +0 -1
- package/dist/components/molecules/DateTimeSelector/DateTimeSelector.js +0 -237
- package/dist/components/molecules/DateTimeSelector/DateTimeSelector.js.map +0 -1
- package/dist/components/molecules/DateTimeSelector/Selector.js +0 -148
- package/dist/components/molecules/DateTimeSelector/Selector.js.map +0 -1
- package/dist/components/molecules/DateTimeSelector/styled.js +0 -71
- package/dist/components/molecules/DateTimeSelector/styled.js.map +0 -1
- package/dist/components/molecules/Grid/functions.js +0 -31
- package/dist/components/molecules/Grid/functions.js.map +0 -1
- package/dist/components/molecules/HintInputContainer/HintInputContainer.js +0 -103
- package/dist/components/molecules/HintInputContainer/HintInputContainer.js.map +0 -1
- package/dist/components/molecules/IconTextButton/IconComponent.js +0 -40
- package/dist/components/molecules/IconTextButton/IconComponent.js.map +0 -1
- package/dist/components/molecules/InputPassword/InputPasswordIcon.js +0 -63
- package/dist/components/molecules/InputPassword/InputPasswordIcon.js.map +0 -1
- package/dist/components/molecules/InputPassword/styled.js +0 -22
- package/dist/components/molecules/InputPassword/styled.js.map +0 -1
- package/dist/components/molecules/Snackbar/Snackbar.js +0 -108
- package/dist/components/molecules/Snackbar/Snackbar.js.map +0 -1
- package/dist/components/molecules/Snackbar/styled.js +0 -104
- package/dist/components/molecules/Snackbar/styled.js.map +0 -1
- package/dist/components/molecules/TextArea/TextArea.js +0 -82
- package/dist/components/molecules/TextArea/TextArea.js.map +0 -1
- package/dist/components/molecules/TextArea/styled.js +0 -36
- package/dist/components/molecules/TextArea/styled.js.map +0 -1
- package/dist/hooks/useDebouncedState.js +0 -20
- package/dist/hooks/useDebouncedState.js.map +0 -1
- package/dist/hooks/useTheme.js +0 -10
- package/dist/hooks/useTheme.js.map +0 -1
- package/dist/index.js +0 -141
- package/dist/index.js.map +0 -1
- package/dist/styles/ThemeProvider.js +0 -20
- package/dist/styles/ThemeProvider.js.map +0 -1
- package/dist/styles/definitions.js +0 -175
- package/dist/styles/definitions.js.map +0 -1
- package/dist/styles/light.js +0 -59
- package/dist/styles/light.js.map +0 -1
- package/dist/utils/IPhoneXHelper.js +0 -32
- package/dist/utils/IPhoneXHelper.js.map +0 -1
- package/dist/utils/ResponsiveFontSize.js +0 -38
- package/dist/utils/ResponsiveFontSize.js.map +0 -1
- package/dist/utils/extractNumbersFromString.js +0 -10
- package/dist/utils/extractNumbersFromString.js.map +0 -1
- package/dist/utils/formatWithMask.js +0 -34
- package/dist/utils/formatWithMask.js.map +0 -1
- package/dist/utils/lightenDarkenColor.js +0 -31
- package/dist/utils/lightenDarkenColor.js.map +0 -1
- package/dist/utils/masks.js +0 -24
- package/dist/utils/masks.js.map +0 -1
- package/dist/utils/variantComplement.js +0 -36
- package/dist/utils/variantComplement.js.map +0 -1
- package/esm/components/atoms/Avatar/Avatar.d.ts +0 -14
- package/esm/components/atoms/Avatar/Avatar.js +0 -32
- package/esm/components/atoms/Avatar/Avatar.js.map +0 -1
- package/esm/components/atoms/Avatar/helpers.d.ts +0 -1
- package/esm/components/atoms/Avatar/helpers.js +0 -10
- package/esm/components/atoms/Avatar/helpers.js.map +0 -1
- package/esm/components/atoms/Avatar/index.d.ts +0 -2
- package/esm/components/atoms/Avatar/styled.d.ts +0 -28
- package/esm/components/atoms/Avatar/styled.js +0 -35
- package/esm/components/atoms/Avatar/styled.js.map +0 -1
- package/esm/components/atoms/Badge/Badge.d.ts +0 -11
- package/esm/components/atoms/Badge/Badge.js +0 -19
- package/esm/components/atoms/Badge/Badge.js.map +0 -1
- package/esm/components/atoms/Badge/index.d.ts +0 -2
- package/esm/components/atoms/Badge/styled.d.ts +0 -15
- package/esm/components/atoms/Badge/styled.js +0 -39
- package/esm/components/atoms/Badge/styled.js.map +0 -1
- package/esm/components/atoms/BoxContent/BoxContent.d.ts +0 -7
- package/esm/components/atoms/BoxContent/BoxContent.js +0 -38
- package/esm/components/atoms/BoxContent/BoxContent.js.map +0 -1
- package/esm/components/atoms/BoxContent/index.d.ts +0 -2
- package/esm/components/atoms/BoxContent/styled.d.ts +0 -11
- package/esm/components/atoms/BoxContent/styled.js +0 -54
- package/esm/components/atoms/BoxContent/styled.js.map +0 -1
- package/esm/components/atoms/Button/Button.d.ts +0 -28
- package/esm/components/atoms/Button/Button.js +0 -99
- package/esm/components/atoms/Button/Button.js.map +0 -1
- package/esm/components/atoms/Button/States/BaseState.d.ts +0 -7
- package/esm/components/atoms/Button/States/BaseState.js +0 -29
- package/esm/components/atoms/Button/States/BaseState.js.map +0 -1
- package/esm/components/atoms/Button/States/Error.d.ts +0 -4
- package/esm/components/atoms/Button/States/Error.js +0 -30
- package/esm/components/atoms/Button/States/Error.js.map +0 -1
- package/esm/components/atoms/Button/States/Loading.d.ts +0 -4
- package/esm/components/atoms/Button/States/Loading.js +0 -26
- package/esm/components/atoms/Button/States/Loading.js.map +0 -1
- package/esm/components/atoms/Button/States/Success.d.ts +0 -4
- package/esm/components/atoms/Button/States/Success.js +0 -30
- package/esm/components/atoms/Button/States/Success.js.map +0 -1
- package/esm/components/atoms/Button/States/index.d.ts +0 -3
- package/esm/components/atoms/Button/States/styled.d.ts +0 -7
- package/esm/components/atoms/Button/States/styled.js +0 -16
- package/esm/components/atoms/Button/States/styled.js.map +0 -1
- package/esm/components/atoms/Button/index.d.ts +0 -3
- package/esm/components/atoms/Button/styled.d.ts +0 -8
- package/esm/components/atoms/Button/styled.js +0 -50
- package/esm/components/atoms/Button/styled.js.map +0 -1
- package/esm/components/atoms/Card/Card.d.ts +0 -9
- package/esm/components/atoms/Card/Card.js +0 -58
- package/esm/components/atoms/Card/Card.js.map +0 -1
- package/esm/components/atoms/Card/Footer/Footer.d.ts +0 -7
- package/esm/components/atoms/Card/Footer/Footer.js +0 -9
- package/esm/components/atoms/Card/Footer/Footer.js.map +0 -1
- package/esm/components/atoms/Card/Footer/index.d.ts +0 -2
- package/esm/components/atoms/Card/Header/Header.d.ts +0 -7
- package/esm/components/atoms/Card/Header/Header.js +0 -9
- package/esm/components/atoms/Card/Header/Header.js.map +0 -1
- package/esm/components/atoms/Card/Header/index.d.ts +0 -2
- package/esm/components/atoms/Card/index.d.ts +0 -2
- package/esm/components/atoms/Card/styled.d.ts +0 -1
- package/esm/components/atoms/Card/styled.js +0 -13
- package/esm/components/atoms/Card/styled.js.map +0 -1
- package/esm/components/atoms/Checkbox/Checkbox.d.ts +0 -14
- package/esm/components/atoms/Checkbox/Checkbox.js +0 -82
- package/esm/components/atoms/Checkbox/Checkbox.js.map +0 -1
- package/esm/components/atoms/Checkbox/index.d.ts +0 -2
- package/esm/components/atoms/Checkbox/styled.d.ts +0 -23
- package/esm/components/atoms/Checkbox/styled.js +0 -37
- package/esm/components/atoms/Checkbox/styled.js.map +0 -1
- package/esm/components/atoms/Divider/Divider.d.ts +0 -8
- package/esm/components/atoms/Divider/Divider.js +0 -38
- package/esm/components/atoms/Divider/Divider.js.map +0 -1
- package/esm/components/atoms/Divider/index.d.ts +0 -2
- package/esm/components/atoms/Divider/styled.d.ts +0 -1
- package/esm/components/atoms/Divider/styled.js +0 -24
- package/esm/components/atoms/Divider/styled.js.map +0 -1
- package/esm/components/atoms/GroupButton/GroupButton.d.ts +0 -32
- package/esm/components/atoms/GroupButton/GroupButton.js +0 -99
- package/esm/components/atoms/GroupButton/GroupButton.js.map +0 -1
- package/esm/components/atoms/GroupButton/GroupButtonOption.d.ts +0 -9
- package/esm/components/atoms/GroupButton/GroupButtonOption.js +0 -19
- package/esm/components/atoms/GroupButton/GroupButtonOption.js.map +0 -1
- package/esm/components/atoms/GroupButton/index.d.ts +0 -4
- package/esm/components/atoms/GroupButton/styled.d.ts +0 -42
- package/esm/components/atoms/GroupButton/styled.js +0 -114
- package/esm/components/atoms/GroupButton/styled.js.map +0 -1
- package/esm/components/atoms/Icon/Icon.d.ts +0 -14
- package/esm/components/atoms/Icon/Icon.js +0 -68
- package/esm/components/atoms/Icon/Icon.js.map +0 -1
- package/esm/components/atoms/Icon/helpers.d.ts +0 -4
- package/esm/components/atoms/Icon/helpers.js +0 -100
- package/esm/components/atoms/Icon/helpers.js.map +0 -1
- package/esm/components/atoms/Icon/index.d.ts +0 -2
- package/esm/components/atoms/Input/Hint.d.ts +0 -10
- package/esm/components/atoms/Input/Hint.js +0 -33
- package/esm/components/atoms/Input/Hint.js.map +0 -1
- package/esm/components/atoms/Input/InputContainer/InputContainer.d.ts +0 -29
- package/esm/components/atoms/Input/InputContainer/InputContainer.js +0 -99
- package/esm/components/atoms/Input/InputContainer/InputContainer.js.map +0 -1
- package/esm/components/atoms/Input/InputElement/InputElement.d.ts +0 -13
- package/esm/components/atoms/Input/InputElement/InputElement.js +0 -67
- package/esm/components/atoms/Input/InputElement/InputElement.js.map +0 -1
- package/esm/components/atoms/Input/InputMaskElement/InputMaskElement.d.ts +0 -16
- package/esm/components/atoms/Input/InputMaskElement/InputMaskElement.js +0 -107
- package/esm/components/atoms/Input/InputMaskElement/InputMaskElement.js.map +0 -1
- package/esm/components/atoms/Input/PressableInputContainer/PressableInputContainer.d.ts +0 -10
- package/esm/components/atoms/Input/PressableInputContainer/PressableInputContainer.js +0 -55
- package/esm/components/atoms/Input/PressableInputContainer/PressableInputContainer.js.map +0 -1
- package/esm/components/atoms/Input/PressableInputContainer/index.d.ts +0 -2
- package/esm/components/atoms/Input/PressableInputContainer/styled.d.ts +0 -5
- package/esm/components/atoms/Input/PressableInputContainer/styled.js +0 -8
- package/esm/components/atoms/Input/PressableInputContainer/styled.js.map +0 -1
- package/esm/components/atoms/Input/hooks/useInputFocus.d.ts +0 -5
- package/esm/components/atoms/Input/hooks/useInputFocus.js +0 -25
- package/esm/components/atoms/Input/hooks/useInputFocus.js.map +0 -1
- package/esm/components/atoms/Input/hooks/useNumberMask.d.ts +0 -8
- package/esm/components/atoms/Input/hooks/useNumberMask.js +0 -91
- package/esm/components/atoms/Input/hooks/useNumberMask.js.map +0 -1
- package/esm/components/atoms/Input/hooks/useStringMask.d.ts +0 -8
- package/esm/components/atoms/Input/hooks/useStringMask.js +0 -95
- package/esm/components/atoms/Input/hooks/useStringMask.js.map +0 -1
- package/esm/components/atoms/Input/index.d.ts +0 -13
- package/esm/components/atoms/Input/styled.d.ts +0 -64
- package/esm/components/atoms/Input/styled.js +0 -95
- package/esm/components/atoms/Input/styled.js.map +0 -1
- package/esm/components/atoms/Paper/Paper.d.ts +0 -8
- package/esm/components/atoms/Paper/Paper.js +0 -49
- package/esm/components/atoms/Paper/Paper.js.map +0 -1
- package/esm/components/atoms/Paper/index.d.ts +0 -2
- package/esm/components/atoms/Paper/styled.d.ts +0 -1
- package/esm/components/atoms/Paper/styled.js +0 -13
- package/esm/components/atoms/Paper/styled.js.map +0 -1
- package/esm/components/atoms/PressableSurface/PressableSurface.d.ts +0 -10
- package/esm/components/atoms/PressableSurface/PressableSurface.js +0 -103
- package/esm/components/atoms/PressableSurface/PressableSurface.js.map +0 -1
- package/esm/components/atoms/PressableSurface/index.d.ts +0 -2
- package/esm/components/atoms/ProgressBar/ProgressBar.d.ts +0 -18
- package/esm/components/atoms/ProgressBar/ProgressBar.js +0 -105
- package/esm/components/atoms/ProgressBar/ProgressBar.js.map +0 -1
- package/esm/components/atoms/ProgressBar/index.d.ts +0 -2
- package/esm/components/atoms/ProgressBar/styled.d.ts +0 -20
- package/esm/components/atoms/ProgressBar/styled.js +0 -32
- package/esm/components/atoms/ProgressBar/styled.js.map +0 -1
- package/esm/components/atoms/RadioButton/RadioButton.d.ts +0 -14
- package/esm/components/atoms/RadioButton/RadioButton.js +0 -77
- package/esm/components/atoms/RadioButton/RadioButton.js.map +0 -1
- package/esm/components/atoms/RadioButton/index.d.ts +0 -2
- package/esm/components/atoms/RadioButton/styled.d.ts +0 -27
- package/esm/components/atoms/RadioButton/styled.js +0 -26
- package/esm/components/atoms/RadioButton/styled.js.map +0 -1
- package/esm/components/atoms/Switch/Switch.d.ts +0 -16
- package/esm/components/atoms/Switch/Switch.js +0 -113
- package/esm/components/atoms/Switch/Switch.js.map +0 -1
- package/esm/components/atoms/Switch/animation.d.ts +0 -2
- package/esm/components/atoms/Switch/animation.js +0 -35
- package/esm/components/atoms/Switch/animation.js.map +0 -1
- package/esm/components/atoms/Switch/index.d.ts +0 -2
- package/esm/components/atoms/Switch/styled.d.ts +0 -4
- package/esm/components/atoms/Switch/styled.js +0 -29
- package/esm/components/atoms/Switch/styled.js.map +0 -1
- package/esm/components/atoms/Tag/Tag.d.ts +0 -12
- package/esm/components/atoms/Tag/Tag.js +0 -86
- package/esm/components/atoms/Tag/Tag.js.map +0 -1
- package/esm/components/atoms/Tag/index.d.ts +0 -2
- package/esm/components/atoms/Tag/styled.d.ts +0 -24
- package/esm/components/atoms/Tag/styled.js +0 -35
- package/esm/components/atoms/Tag/styled.js.map +0 -1
- package/esm/components/atoms/Text/Text.d.ts +0 -19
- package/esm/components/atoms/Text/Text.js +0 -76
- package/esm/components/atoms/Text/Text.js.map +0 -1
- package/esm/components/atoms/Text/functions.d.ts +0 -2
- package/esm/components/atoms/Text/functions.js +0 -5
- package/esm/components/atoms/Text/functions.js.map +0 -1
- package/esm/components/atoms/Text/index.d.ts +0 -2
- package/esm/components/atoms/Text/styled.d.ts +0 -6
- package/esm/components/atoms/Text/styled.js +0 -22
- package/esm/components/atoms/Text/styled.js.map +0 -1
- package/esm/components/atoms/shared/PaperAndCard.d.ts +0 -3
- package/esm/components/atoms/shared/PaperAndCard.js +0 -21
- package/esm/components/atoms/shared/PaperAndCard.js.map +0 -1
- package/esm/components/molecules/Calendar/Calendar.d.ts +0 -20
- package/esm/components/molecules/Calendar/Calendar.js +0 -150
- package/esm/components/molecules/Calendar/Calendar.js.map +0 -1
- package/esm/components/molecules/Calendar/components/MonthWeek.d.ts +0 -13
- package/esm/components/molecules/Calendar/components/MonthWeek.js +0 -110
- package/esm/components/molecules/Calendar/components/MonthWeek.js.map +0 -1
- package/esm/components/molecules/Calendar/components/Weekdays.d.ts +0 -8
- package/esm/components/molecules/Calendar/components/Weekdays.js +0 -23
- package/esm/components/molecules/Calendar/components/Weekdays.js.map +0 -1
- package/esm/components/molecules/Calendar/components/index.d.ts +0 -2
- package/esm/components/molecules/Calendar/index.d.ts +0 -2
- package/esm/components/molecules/Calendar/styled.d.ts +0 -61
- package/esm/components/molecules/Calendar/styled.js +0 -83
- package/esm/components/molecules/Calendar/styled.js.map +0 -1
- package/esm/components/molecules/DatePicker/DatePicker.d.ts +0 -19
- package/esm/components/molecules/DatePicker/DatePicker.js +0 -156
- package/esm/components/molecules/DatePicker/DatePicker.js.map +0 -1
- package/esm/components/molecules/DatePicker/index.d.ts +0 -2
- package/esm/components/molecules/DatePicker/styled.d.ts +0 -15
- package/esm/components/molecules/DatePicker/styled.js +0 -28
- package/esm/components/molecules/DatePicker/styled.js.map +0 -1
- package/esm/components/molecules/DateTimePicker/DateTimePicker.d.ts +0 -17
- package/esm/components/molecules/DateTimePicker/DateTimePicker.js +0 -175
- package/esm/components/molecules/DateTimePicker/DateTimePicker.js.map +0 -1
- package/esm/components/molecules/DateTimePicker/index.d.ts +0 -2
- package/esm/components/molecules/DateTimePicker/styled.d.ts +0 -8
- package/esm/components/molecules/DateTimePicker/styled.js +0 -10
- package/esm/components/molecules/DateTimePicker/styled.js.map +0 -1
- package/esm/components/molecules/DateTimeSelector/DateTimeSelector.d.ts +0 -28
- package/esm/components/molecules/DateTimeSelector/DateTimeSelector.js +0 -215
- package/esm/components/molecules/DateTimeSelector/DateTimeSelector.js.map +0 -1
- package/esm/components/molecules/DateTimeSelector/Selector.d.ts +0 -17
- package/esm/components/molecules/DateTimeSelector/Selector.js +0 -124
- package/esm/components/molecules/DateTimeSelector/Selector.js.map +0 -1
- package/esm/components/molecules/DateTimeSelector/index.d.ts +0 -2
- package/esm/components/molecules/DateTimeSelector/styled.d.ts +0 -52
- package/esm/components/molecules/DateTimeSelector/styled.js +0 -56
- package/esm/components/molecules/DateTimeSelector/styled.js.map +0 -1
- package/esm/components/molecules/Grid/functions.d.ts +0 -3
- package/esm/components/molecules/Grid/functions.js +0 -26
- package/esm/components/molecules/Grid/functions.js.map +0 -1
- package/esm/components/molecules/Grid/index.d.ts +0 -42
- package/esm/components/molecules/HintInputContainer/HintInputContainer.d.ts +0 -17
- package/esm/components/molecules/HintInputContainer/HintInputContainer.js +0 -81
- package/esm/components/molecules/HintInputContainer/HintInputContainer.js.map +0 -1
- package/esm/components/molecules/HintInputContainer/index.d.ts +0 -2
- package/esm/components/molecules/HintInputContainer/styled.d.ts +0 -0
- package/esm/components/molecules/IconTextButton/IconComponent.d.ts +0 -9
- package/esm/components/molecules/IconTextButton/IconComponent.js +0 -34
- package/esm/components/molecules/IconTextButton/IconComponent.js.map +0 -1
- package/esm/components/molecules/IconTextButton/IconTextButton.d.ts +0 -8
- package/esm/components/molecules/IconTextButton/index.d.ts +0 -2
- package/esm/components/molecules/InputPassword/InputPasswordIcon.d.ts +0 -8
- package/esm/components/molecules/InputPassword/InputPasswordIcon.js +0 -57
- package/esm/components/molecules/InputPassword/InputPasswordIcon.js.map +0 -1
- package/esm/components/molecules/InputPassword/index.d.ts +0 -1
- package/esm/components/molecules/InputPassword/styled.d.ts +0 -7
- package/esm/components/molecules/InputPassword/styled.js +0 -14
- package/esm/components/molecules/InputPassword/styled.js.map +0 -1
- package/esm/components/molecules/LabeledSwitch/LabeledSwitch.d.ts +0 -7
- package/esm/components/molecules/LabeledSwitch/index.d.ts +0 -1
- package/esm/components/molecules/Snackbar/Snackbar.d.ts +0 -19
- package/esm/components/molecules/Snackbar/Snackbar.js +0 -102
- package/esm/components/molecules/Snackbar/Snackbar.js.map +0 -1
- package/esm/components/molecules/Snackbar/index.d.ts +0 -2
- package/esm/components/molecules/Snackbar/styled.d.ts +0 -47
- package/esm/components/molecules/Snackbar/styled.js +0 -90
- package/esm/components/molecules/Snackbar/styled.js.map +0 -1
- package/esm/components/molecules/TextArea/TextArea.d.ts +0 -14
- package/esm/components/molecules/TextArea/TextArea.js +0 -76
- package/esm/components/molecules/TextArea/TextArea.js.map +0 -1
- package/esm/components/molecules/TextArea/index.d.ts +0 -3
- package/esm/components/molecules/TextArea/styled.d.ts +0 -2
- package/esm/components/molecules/TextArea/styled.js +0 -27
- package/esm/components/molecules/TextArea/styled.js.map +0 -1
- package/esm/hooks/index.d.ts +0 -2
- package/esm/hooks/useDebouncedState.d.ts +0 -2
- package/esm/hooks/useDebouncedState.js +0 -16
- package/esm/hooks/useDebouncedState.js.map +0 -1
- package/esm/hooks/useTheme.d.ts +0 -2
- package/esm/hooks/useTheme.js +0 -6
- package/esm/hooks/useTheme.js.map +0 -1
- package/esm/index.d.ts +0 -64
- package/esm/index.js +0 -55
- package/esm/index.js.map +0 -1
- package/esm/styles/ThemeProvider.d.ts +0 -4
- package/esm/styles/ThemeProvider.js +0 -14
- package/esm/styles/ThemeProvider.js.map +0 -1
- package/esm/styles/definitions.d.ts +0 -45
- package/esm/styles/definitions.js +0 -158
- package/esm/styles/definitions.js.map +0 -1
- package/esm/styles/light.d.ts +0 -2
- package/esm/styles/light.js +0 -55
- package/esm/styles/light.js.map +0 -1
- package/esm/types/defaults.d.ts +0 -134
- package/esm/utils/IPhoneXHelper.d.ts +0 -4
- package/esm/utils/IPhoneXHelper.js +0 -25
- package/esm/utils/IPhoneXHelper.js.map +0 -1
- package/esm/utils/ResponsiveFontSize.d.ts +0 -3
- package/esm/utils/ResponsiveFontSize.js +0 -32
- package/esm/utils/ResponsiveFontSize.js.map +0 -1
- package/esm/utils/extractNumbersFromString.d.ts +0 -2
- package/esm/utils/extractNumbersFromString.js +0 -5
- package/esm/utils/extractNumbersFromString.js.map +0 -1
- package/esm/utils/formatWithMask.d.ts +0 -3
- package/esm/utils/formatWithMask.js +0 -26
- package/esm/utils/formatWithMask.js.map +0 -1
- package/esm/utils/index.d.ts +0 -7
- package/esm/utils/lightenDarkenColor.d.ts +0 -1
- package/esm/utils/lightenDarkenColor.js +0 -27
- package/esm/utils/lightenDarkenColor.js.map +0 -1
- package/esm/utils/masks.d.ts +0 -11
- package/esm/utils/masks.js +0 -20
- package/esm/utils/masks.js.map +0 -1
- package/esm/utils/variantComplement.d.ts +0 -6
- package/esm/utils/variantComplement.js +0 -28
- package/esm/utils/variantComplement.js.map +0 -1
- package/rollup.config.js +0 -36
- package/src/components/atoms/Avatar/Avatar.stories.tsx +0 -21
- package/src/components/atoms/Avatar/Avatar.tsx +0 -56
- package/src/components/atoms/Avatar/helpers.ts +0 -10
- package/src/components/atoms/Avatar/index.ts +0 -2
- package/src/components/atoms/Avatar/styled.ts +0 -43
- package/src/components/atoms/Badge/Badge.tsx +0 -30
- package/src/components/atoms/Badge/index.ts +0 -2
- package/src/components/atoms/Badge/styled.ts +0 -34
- package/src/components/atoms/BoxContent/BoxContent.stories.tsx +0 -30
- package/src/components/atoms/BoxContent/BoxContent.tsx +0 -13
- package/src/components/atoms/BoxContent/index.ts +0 -2
- package/src/components/atoms/BoxContent/styled.ts +0 -67
- package/src/components/atoms/Button/Button.tsx +0 -103
- package/src/components/atoms/Button/States/BaseState.tsx +0 -38
- package/src/components/atoms/Button/States/Error.tsx +0 -9
- package/src/components/atoms/Button/States/Loading.tsx +0 -33
- package/src/components/atoms/Button/States/Success.tsx +0 -9
- package/src/components/atoms/Button/States/index.ts +0 -3
- package/src/components/atoms/Button/States/styled.ts +0 -23
- package/src/components/atoms/Button/index.ts +0 -8
- package/src/components/atoms/Button/styled.ts +0 -51
- package/src/components/atoms/Card/Card.stories.tsx +0 -29
- package/src/components/atoms/Card/Card.tsx +0 -35
- package/src/components/atoms/Card/Footer/Footer.tsx +0 -12
- package/src/components/atoms/Card/Footer/index.ts +0 -2
- package/src/components/atoms/Card/Header/Header.tsx +0 -12
- package/src/components/atoms/Card/Header/index.ts +0 -2
- package/src/components/atoms/Card/index.ts +0 -2
- package/src/components/atoms/Card/styled.ts +0 -13
- package/src/components/atoms/Checkbox/Checkbox.stories.tsx +0 -32
- package/src/components/atoms/Checkbox/Checkbox.tsx +0 -81
- package/src/components/atoms/Checkbox/index.ts +0 -2
- package/src/components/atoms/Checkbox/styled.ts +0 -44
- package/src/components/atoms/Divider/Divider.stories.tsx +0 -28
- package/src/components/atoms/Divider/Divider.tsx +0 -14
- package/src/components/atoms/Divider/index.ts +0 -2
- package/src/components/atoms/Divider/styled.ts +0 -34
- package/src/components/atoms/GroupButton/GroupButton.stories.tsx +0 -55
- package/src/components/atoms/GroupButton/GroupButton.tsx +0 -118
- package/src/components/atoms/GroupButton/GroupButtonOption.tsx +0 -24
- package/src/components/atoms/GroupButton/index.ts +0 -4
- package/src/components/atoms/GroupButton/styled.ts +0 -147
- package/src/components/atoms/Icon/Icon.stories.tsx +0 -21
- package/src/components/atoms/Icon/Icon.tsx +0 -52
- package/src/components/atoms/Icon/helpers.ts +0 -120
- package/src/components/atoms/Icon/index.ts +0 -2
- package/src/components/atoms/Input/Hint.tsx +0 -48
- package/src/components/atoms/Input/InputContainer/InputContainer.tsx +0 -109
- package/src/components/atoms/Input/InputElement/InputElement.tsx +0 -50
- package/src/components/atoms/Input/InputMaskElement/InputMaskElement.tsx +0 -119
- package/src/components/atoms/Input/PressableInputContainer/PressableInputContainer.tsx +0 -36
- package/src/components/atoms/Input/PressableInputContainer/index.ts +0 -2
- package/src/components/atoms/Input/PressableInputContainer/styled.ts +0 -5
- package/src/components/atoms/Input/hooks/useInputFocus.ts +0 -29
- package/src/components/atoms/Input/hooks/useNumberMask.ts +0 -99
- package/src/components/atoms/Input/hooks/useStringMask.ts +0 -128
- package/src/components/atoms/Input/index.ts +0 -16
- package/src/components/atoms/Input/styled.ts +0 -130
- package/src/components/atoms/Paper/Paper.stories.tsx +0 -27
- package/src/components/atoms/Paper/Paper.tsx +0 -21
- package/src/components/atoms/Paper/index.ts +0 -2
- package/src/components/atoms/Paper/styled.ts +0 -14
- package/src/components/atoms/PressableSurface/PressableSurface.tsx +0 -82
- package/src/components/atoms/PressableSurface/index.ts +0 -2
- package/src/components/atoms/ProgressBar/ProgressBar.stories.tsx +0 -27
- package/src/components/atoms/ProgressBar/ProgressBar.tsx +0 -108
- package/src/components/atoms/ProgressBar/index.ts +0 -2
- package/src/components/atoms/ProgressBar/styled.ts +0 -25
- package/src/components/atoms/RadioButton/RadioButton.stories.tsx +0 -39
- package/src/components/atoms/RadioButton/RadioButton.tsx +0 -81
- package/src/components/atoms/RadioButton/index.ts +0 -2
- package/src/components/atoms/RadioButton/styled.ts +0 -29
- package/src/components/atoms/Switch/Switch.stories.tsx +0 -27
- package/src/components/atoms/Switch/Switch.tsx +0 -111
- package/src/components/atoms/Switch/animation.ts +0 -39
- package/src/components/atoms/Switch/index.ts +0 -2
- package/src/components/atoms/Switch/styled.ts +0 -22
- package/src/components/atoms/Tag/Tag.tsx +0 -71
- package/src/components/atoms/Tag/index.ts +0 -2
- package/src/components/atoms/Tag/styled.ts +0 -45
- package/src/components/atoms/Text/Text.stories.tsx +0 -32
- package/src/components/atoms/Text/Text.tsx +0 -68
- package/src/components/atoms/Text/functions.ts +0 -8
- package/src/components/atoms/Text/index.ts +0 -2
- package/src/components/atoms/Text/styled.ts +0 -31
- package/src/components/atoms/shared/PaperAndCard.ts +0 -24
- package/src/components/molecules/Calendar/Calendar.stories.tsx +0 -20
- package/src/components/molecules/Calendar/Calendar.tsx +0 -159
- package/src/components/molecules/Calendar/components/MonthWeek.tsx +0 -139
- package/src/components/molecules/Calendar/components/Weekdays.tsx +0 -34
- package/src/components/molecules/Calendar/components/index.ts +0 -2
- package/src/components/molecules/Calendar/index.ts +0 -7
- package/src/components/molecules/Calendar/styled.ts +0 -117
- package/src/components/molecules/DatePicker/DatePicker.tsx +0 -140
- package/src/components/molecules/DatePicker/index.ts +0 -2
- package/src/components/molecules/DatePicker/styled.ts +0 -20
- package/src/components/molecules/DateTimePicker/DateTimePicker.tsx +0 -147
- package/src/components/molecules/DateTimePicker/index.ts +0 -2
- package/src/components/molecules/DateTimePicker/styled.ts +0 -12
- package/src/components/molecules/DateTimeSelector/DateTimeSelector.tsx +0 -319
- package/src/components/molecules/DateTimeSelector/Selector.tsx +0 -122
- package/src/components/molecules/DateTimeSelector/index.ts +0 -5
- package/src/components/molecules/DateTimeSelector/styled.ts +0 -55
- package/src/components/molecules/Grid/functions.ts +0 -25
- package/src/components/molecules/Grid/index.ts +0 -66
- package/src/components/molecules/HintInputContainer/HintInputContainer.tsx +0 -58
- package/src/components/molecules/HintInputContainer/index.ts +0 -2
- package/src/components/molecules/HintInputContainer/styled.ts +0 -0
- package/src/components/molecules/IconTextButton/IconComponent.tsx +0 -27
- package/src/components/molecules/IconTextButton/IconTextButton.ts +0 -10
- package/src/components/molecules/IconTextButton/index.ts +0 -5
- package/src/components/molecules/InputPassword/InputPasswordIcon.tsx +0 -29
- package/src/components/molecules/InputPassword/index.ts +0 -1
- package/src/components/molecules/InputPassword/styled.ts +0 -7
- package/src/components/molecules/LabeledSwitch/LabeledSwitch.tsx +0 -9
- package/src/components/molecules/LabeledSwitch/index.ts +0 -1
- package/src/components/molecules/Snackbar/Snackbar.tsx +0 -134
- package/src/components/molecules/Snackbar/index.ts +0 -2
- package/src/components/molecules/Snackbar/styled.ts +0 -103
- package/src/components/molecules/TextArea/TextArea.tsx +0 -97
- package/src/components/molecules/TextArea/index.ts +0 -3
- package/src/components/molecules/TextArea/styled.ts +0 -22
- package/src/hooks/index.ts +0 -2
- package/src/hooks/useDebouncedState.ts +0 -24
- package/src/hooks/useTheme.ts +0 -4
- package/src/index.ts +0 -116
- package/src/styles/ThemeProvider.tsx +0 -12
- package/src/styles/definitions.ts +0 -188
- package/src/styles/light.ts +0 -56
- package/src/types/defaults.ts +0 -162
- package/src/utils/IPhoneXHelper.ts +0 -39
- package/src/utils/ResponsiveFontSize.ts +0 -71
- package/src/utils/extractNumbersFromString.ts +0 -5
- package/src/utils/formatWithMask.ts +0 -25
- package/src/utils/index.ts +0 -10
- package/src/utils/lightenDarkenColor.ts +0 -24
- package/src/utils/masks.ts +0 -24
- package/src/utils/variantComplement.ts +0 -36
- package/tsconfig.build.esm.json +0 -10
- package/tsconfig.build.json +0 -11
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import Hint from '../../atoms/Input/Hint.js';
|
|
4
|
-
import 'currency.js';
|
|
5
|
-
import Text from '../../atoms/Text/Text.js';
|
|
6
|
-
import '../../atoms/Input/styled.js';
|
|
7
|
-
import '../../atoms/Input/InputElement/InputElement.js';
|
|
8
|
-
import '../../atoms/Input/InputMaskElement/InputMaskElement.js';
|
|
9
|
-
import '../../atoms/Input/PressableInputContainer/styled.js';
|
|
10
|
-
import { StyledInputContainer } from './styled.js';
|
|
11
|
-
|
|
12
|
-
const TextArea = ({
|
|
13
|
-
label,
|
|
14
|
-
labelColor,
|
|
15
|
-
labelColorVariant,
|
|
16
|
-
labelColorTone,
|
|
17
|
-
labelTypography,
|
|
18
|
-
labelStack,
|
|
19
|
-
labelWeight,
|
|
20
|
-
leftComponent,
|
|
21
|
-
rightComponent,
|
|
22
|
-
disabled,
|
|
23
|
-
style,
|
|
24
|
-
borderColor,
|
|
25
|
-
borderColorGradation,
|
|
26
|
-
inputContainerStyle,
|
|
27
|
-
variant = "default",
|
|
28
|
-
hintComponent,
|
|
29
|
-
hint,
|
|
30
|
-
TextComponent = Text,
|
|
31
|
-
focused,
|
|
32
|
-
children,
|
|
33
|
-
maxLength: _maxLenght,
|
|
34
|
-
value: _value
|
|
35
|
-
}) => {
|
|
36
|
-
let length = _value.length;
|
|
37
|
-
const maxLength = _maxLenght;
|
|
38
|
-
if (maxLength && length > maxLength) {
|
|
39
|
-
length = maxLength;
|
|
40
|
-
}
|
|
41
|
-
const _hint = hintComponent || /* @__PURE__ */ React__default.createElement(Hint, {
|
|
42
|
-
TextComponent,
|
|
43
|
-
text: hint,
|
|
44
|
-
variant
|
|
45
|
-
});
|
|
46
|
-
return /* @__PURE__ */ React__default.createElement(View, {
|
|
47
|
-
style
|
|
48
|
-
}, /* @__PURE__ */ React__default.createElement(StyledInputContainer, {
|
|
49
|
-
label,
|
|
50
|
-
labelColor,
|
|
51
|
-
labelColorVariant,
|
|
52
|
-
labelColorTone,
|
|
53
|
-
labelTypography,
|
|
54
|
-
labelStack,
|
|
55
|
-
labelWeight,
|
|
56
|
-
LabelComponent: TextComponent,
|
|
57
|
-
leftComponent,
|
|
58
|
-
rightComponent,
|
|
59
|
-
borderColor,
|
|
60
|
-
borderColorGradation,
|
|
61
|
-
inputContainerStyle,
|
|
62
|
-
focused,
|
|
63
|
-
disabled,
|
|
64
|
-
variant
|
|
65
|
-
}, children, maxLength && /* @__PURE__ */ React__default.createElement(TextComponent, {
|
|
66
|
-
colorVariant: "secondary",
|
|
67
|
-
colorTone: "medium",
|
|
68
|
-
typography: "label",
|
|
69
|
-
fontStack: "default",
|
|
70
|
-
fontWeight: "bold",
|
|
71
|
-
style: { textAlign: "right" }
|
|
72
|
-
}, `${length}/${maxLength}`)), hint && _hint);
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
export { TextArea as default };
|
|
76
|
-
//# sourceMappingURL=TextArea.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.js","sources":["../../../../src/components/molecules/TextArea/TextArea.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { View } from 'react-native';\nimport { FontStackType, FontWeightType } from '@tecsinapse/react-core';\nimport {\n Hint,\n InputContainerProps,\n InputElementProps,\n} from '../../atoms/Input';\nimport { Text, TextProps } from '../../atoms/Text';\nimport { StyledInputContainer } from './styled';\n\nexport interface TextAreaProps\n extends Omit<InputElementProps, 'style' | 'multiline' | 'value'>,\n InputContainerProps {\n inputFontStack?: FontStackType;\n inputFontWeight?: FontWeightType;\n maxCharCount?: number;\n value: string;\n // Omit below\n TextComponent?: FC<TextProps>;\n focused?: boolean;\n}\n\nconst TextArea: FC<TextAreaProps> = ({\n label,\n labelColor,\n labelColorVariant,\n labelColorTone,\n labelTypography,\n labelStack,\n labelWeight,\n leftComponent,\n rightComponent,\n disabled,\n style,\n borderColor,\n borderColorGradation,\n inputContainerStyle,\n variant = 'default',\n hintComponent,\n hint,\n TextComponent = Text,\n focused,\n children,\n maxLength: _maxLenght,\n value: _value,\n}) => {\n let length = _value.length;\n const maxLength = _maxLenght;\n if (maxLength && length > maxLength) {\n length = maxLength;\n }\n\n const _hint = hintComponent || (\n <Hint TextComponent={TextComponent} text={hint} variant={variant} />\n );\n\n return (\n <View style={style}>\n <StyledInputContainer\n label={label}\n labelColor={labelColor}\n labelColorVariant={labelColorVariant}\n labelColorTone={labelColorTone}\n labelTypography={labelTypography}\n labelStack={labelStack}\n labelWeight={labelWeight}\n LabelComponent={TextComponent}\n leftComponent={leftComponent}\n rightComponent={rightComponent}\n borderColor={borderColor}\n borderColorGradation={borderColorGradation}\n inputContainerStyle={inputContainerStyle}\n focused={focused}\n disabled={disabled}\n variant={variant}\n >\n {children}\n {maxLength && (\n <TextComponent\n colorVariant={'secondary'}\n colorTone={'medium'}\n typography={'label'}\n fontStack={'default'}\n fontWeight={'bold'}\n style={{ textAlign: 'right' }}\n >\n {`${length}/${maxLength}`}\n </TextComponent>\n )}\n </StyledInputContainer>\n {hint && _hint}\n </View>\n );\n};\n\nexport default TextArea;\n"],"names":["React"],"mappings":";;;;;;;;;;;AAuBA,MAAM,WAA8B,CAAC;AAAA,EACnC,KAAA;AAAA,EACA,UAAA;AAAA,EACA,iBAAA;AAAA,EACA,cAAA;AAAA,EACA,eAAA;AAAA,EACA,UAAA;AAAA,EACA,WAAA;AAAA,EACA,aAAA;AAAA,EACA,cAAA;AAAA,EACA,QAAA;AAAA,EACA,KAAA;AAAA,EACA,WAAA;AAAA,EACA,oBAAA;AAAA,EACA,mBAAA;AAAA,EACA,OAAU,GAAA,SAAA;AAAA,EACV,aAAA;AAAA,EACA,IAAA;AAAA,EACA,aAAgB,GAAA,IAAA;AAAA,EAChB,OAAA;AAAA,EACA,QAAA;AAAA,EACA,SAAW,EAAA,UAAA;AAAA,EACX,KAAO,EAAA,MAAA;AACT,CAAM,KAAA;AACJ,EAAA,IAAI,SAAS,MAAO,CAAA,MAAA,CAAA;AACpB,EAAA,MAAM,SAAY,GAAA,UAAA,CAAA;AAClB,EAAI,IAAA,SAAA,IAAa,SAAS,SAAW,EAAA;AACnC,IAAS,MAAA,GAAA,SAAA,CAAA;AAAA,GACX;AAEA,EAAM,MAAA,KAAA,GAAQ,iCACXA,cAAA,CAAA,aAAA,CAAA,IAAA,EAAA;AAAA,IAAK,aAAA;AAAA,IAA8B,IAAM,EAAA,IAAA;AAAA,IAAM,OAAA;AAAA,GAAkB,CAAA,CAAA;AAGpE,EAAA,uBACGA,cAAA,CAAA,aAAA,CAAA,IAAA,EAAA;AAAA,IAAK,KAAA;AAAA,GAAA,kBACHA,cAAA,CAAA,aAAA,CAAA,oBAAA,EAAA;AAAA,IACC,KAAA;AAAA,IACA,UAAA;AAAA,IACA,iBAAA;AAAA,IACA,cAAA;AAAA,IACA,eAAA;AAAA,IACA,UAAA;AAAA,IACA,WAAA;AAAA,IACA,cAAgB,EAAA,aAAA;AAAA,IAChB,aAAA;AAAA,IACA,cAAA;AAAA,IACA,WAAA;AAAA,IACA,oBAAA;AAAA,IACA,mBAAA;AAAA,IACA,OAAA;AAAA,IACA,QAAA;AAAA,IACA,OAAA;AAAA,GAEC,EAAA,QAAA,EACA,6BACEA,cAAA,CAAA,aAAA,CAAA,aAAA,EAAA;AAAA,IACC,YAAc,EAAA,WAAA;AAAA,IACd,SAAW,EAAA,QAAA;AAAA,IACX,UAAY,EAAA,OAAA;AAAA,IACZ,SAAW,EAAA,SAAA;AAAA,IACX,UAAY,EAAA,MAAA;AAAA,IACZ,KAAA,EAAO,EAAE,SAAA,EAAW,OAAQ,EAAA;AAAA,GAAA,EAE3B,GAAG,MAAU,CAAA,CAAA,EAAA,SAAA,CAAA,CAChB,CAEJ,CAAA,EACC,QAAQ,KACX,CAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import styled from '@emotion/native';
|
|
2
|
-
import { extractNumbersFromString } from '../../../utils/extractNumbersFromString.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../../atoms/Text/styled.js';
|
|
5
|
-
import '../../atoms/Input/styled.js';
|
|
6
|
-
import 'currency.js';
|
|
7
|
-
import InputContainer from '../../atoms/Input/InputContainer/InputContainer.js';
|
|
8
|
-
import InputElement from '../../atoms/Input/InputElement/InputElement.js';
|
|
9
|
-
import '../../atoms/Input/InputMaskElement/InputMaskElement.js';
|
|
10
|
-
import '../../atoms/Input/PressableInputContainer/styled.js';
|
|
11
|
-
import 'react-native';
|
|
12
|
-
import { RFValueStr, RFValue } from '../../../utils/ResponsiveFontSize.js';
|
|
13
|
-
|
|
14
|
-
const StyledInputContainer = styled(InputContainer)`
|
|
15
|
-
min-height: ${RFValueStr("50px")};
|
|
16
|
-
`;
|
|
17
|
-
const TextAreaInputBase = styled(InputElement)`
|
|
18
|
-
max-height: ${({ theme, numberOfLines }) => `${RFValue(
|
|
19
|
-
extractNumbersFromString(theme.typography.h5.lineHeight) * (numberOfLines || 1)
|
|
20
|
-
)}px`};
|
|
21
|
-
width: 100%;
|
|
22
|
-
padding: 0;
|
|
23
|
-
margin: ${RFValueStr("3px")} 0;
|
|
24
|
-
`;
|
|
25
|
-
|
|
26
|
-
export { StyledInputContainer, TextAreaInputBase };
|
|
27
|
-
//# sourceMappingURL=styled.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styled.js","sources":["../../../../src/components/molecules/TextArea/styled.ts"],"sourcesContent":["import styled from '@emotion/native';\nimport { StyleProps } from '@tecsinapse/react-core';\nimport { extractNumbersFromString, RFValue, RFValueStr } from '../../../utils';\nimport { InputContainer, InputElement } from '../../atoms/Input';\nimport { TextAreaProps } from './TextArea';\n\nexport const StyledInputContainer = styled(InputContainer)<Partial<StyleProps>>`\n min-height: ${RFValueStr('50px')};\n`;\n\nexport const TextAreaInputBase = styled(InputElement)<\n Partial<TextAreaProps> & Partial<StyleProps>\n>`\n max-height: ${({ theme, numberOfLines }) =>\n `${RFValue(\n extractNumbersFromString(theme.typography.h5.lineHeight) *\n (numberOfLines || 1)\n )}px`};\n width: 100%;\n padding: 0;\n margin: ${RFValueStr('3px')} 0;\n`;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAMa,MAAA,oBAAA,GAAuB,OAAO,cAAc,CAAA,CAAA;AAAA,cAAA,EACzC,WAAW,MAAM,CAAA,CAAA;AAAA,EAAA;AAGpB,MAAA,iBAAA,GAAoB,OAAO,YAAY,CAAA,CAAA;AAAA,cAAA,EAGpC,CAAC,EAAE,KAAO,EAAA,aAAA,OACtB,CAAG,EAAA,OAAA;AAAA,EACD,yBAAyB,KAAM,CAAA,UAAA,CAAW,EAAG,CAAA,UAAU,KACpD,aAAiB,IAAA,CAAA,CAAA;AACtB,CAAA,CAAA,EAAA,CAAA,CAAA;AAAA;AAAA;AAAA,UAAA,EAGQ,WAAW,KAAK,CAAA,CAAA;AAAA;;;;"}
|
package/esm/hooks/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { useRef, useState, useEffect } from 'react';
|
|
2
|
-
|
|
3
|
-
function useDebouncedState(initialState, timeoutCallback, timeoutMs = 166) {
|
|
4
|
-
const timeoutId = useRef();
|
|
5
|
-
const [state, setState] = useState(initialState);
|
|
6
|
-
useEffect(() => {
|
|
7
|
-
if (timeoutId.current)
|
|
8
|
-
clearTimeout(timeoutId.current);
|
|
9
|
-
if (timeoutCallback)
|
|
10
|
-
timeoutId.current = setTimeout(() => timeoutCallback(state), timeoutMs);
|
|
11
|
-
}, [state]);
|
|
12
|
-
return [state, setState];
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { useDebouncedState };
|
|
16
|
-
//# sourceMappingURL=useDebouncedState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDebouncedState.js","sources":["../../src/hooks/useDebouncedState.ts"],"sourcesContent":["import { Dispatch, SetStateAction, useEffect, useRef, useState } from 'react';\n\n/**\n * @param initialState\n * @param timeoutCallback callback to be called after bouncing ends. Should be memoized.\n * @param timeoutMs\n */\nexport function useDebouncedState<S>(\n initialState: S | (() => S),\n timeoutCallback?: (state: S) => void,\n timeoutMs = 166\n): [S, Dispatch<SetStateAction<S>>] {\n const timeoutId = useRef<number>();\n\n const [state, setState] = useState<S>(initialState);\n\n useEffect(() => {\n if (timeoutId.current) clearTimeout(timeoutId.current);\n if (timeoutCallback)\n timeoutId.current = setTimeout(() => timeoutCallback(state), timeoutMs);\n }, [state]);\n\n return [state, setState];\n}\n"],"names":[],"mappings":";;AAOO,SAAS,iBACd,CAAA,YAAA,EACA,eACA,EAAA,SAAA,GAAY,GACsB,EAAA;AAClC,EAAA,MAAM,YAAY,MAAe,EAAA,CAAA;AAEjC,EAAA,MAAM,CAAC,KAAA,EAAO,QAAQ,CAAA,GAAI,SAAY,YAAY,CAAA,CAAA;AAElD,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,IAAI,SAAU,CAAA,OAAA;AAAS,MAAA,YAAA,CAAa,UAAU,OAAO,CAAA,CAAA;AACrD,IAAI,IAAA,eAAA;AACF,MAAA,SAAA,CAAU,UAAU,UAAW,CAAA,MAAM,eAAgB,CAAA,KAAK,GAAG,SAAS,CAAA,CAAA;AAAA,GAC1E,EAAG,CAAC,KAAK,CAAC,CAAA,CAAA;AAEV,EAAO,OAAA,CAAC,OAAO,QAAQ,CAAA,CAAA;AACzB;;;;"}
|
package/esm/hooks/useTheme.d.ts
DELETED
package/esm/hooks/useTheme.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTheme.js","sources":["../../src/hooks/useTheme.ts"],"sourcesContent":["import { useTheme as useEmotionTheme } from '@emotion/react';\nimport { ThemeProp } from '../types/defaults';\n\nexport const useTheme = (): ThemeProp => useEmotionTheme() as ThemeProp;\n"],"names":["useEmotionTheme"],"mappings":";;AAGa,MAAA,QAAA,GAAW,MAAiBA,UAAgB;;;;"}
|
package/esm/index.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export { Avatar } from './components/atoms/Avatar';
|
|
2
|
-
export type { AvatarProps } from './components/atoms/Avatar';
|
|
3
|
-
export { Badge } from './components/atoms/Badge';
|
|
4
|
-
export type { BadgeProps } from './components/atoms/Badge';
|
|
5
|
-
export { BoxContent } from './components/atoms/BoxContent';
|
|
6
|
-
export type { BoxContentProps } from './components/atoms/BoxContent';
|
|
7
|
-
export { Button, Error, Loading, Success } from './components/atoms/Button';
|
|
8
|
-
export type { ButtonProps, ButtonSizeType, ButtonStateProps, ButtonStateType, } from './components/atoms/Button';
|
|
9
|
-
export { Card } from './components/atoms/Card';
|
|
10
|
-
export type { CardProps } from './components/atoms/Card';
|
|
11
|
-
export { Footer } from './components/atoms/Card/Footer';
|
|
12
|
-
export type { FooterProps } from './components/atoms/Card/Footer';
|
|
13
|
-
export { Header } from './components/atoms/Card/Header';
|
|
14
|
-
export type { HeaderProps } from './components/atoms/Card/Header';
|
|
15
|
-
export { Checkbox } from './components/atoms/Checkbox';
|
|
16
|
-
export type { CheckboxProps } from './components/atoms/Checkbox';
|
|
17
|
-
export { Divider } from './components/atoms/Divider';
|
|
18
|
-
export type { DividerProps } from './components/atoms/Divider';
|
|
19
|
-
export { GroupButton, GroupButtonOption } from './components/atoms/GroupButton';
|
|
20
|
-
export type { GroupButtonOptionProps, GroupButtonProps, GroupButtonValue, } from './components/atoms/GroupButton';
|
|
21
|
-
export { Icon } from './components/atoms/Icon';
|
|
22
|
-
export type { IconProps } from './components/atoms/Icon';
|
|
23
|
-
export { disabledInputStyles, Hint, InputContainer, InputElement, InputMaskElement, PressableInputContainer, StyledBorderKeeper, useInputFocus, useNumberMask, useStringMask, } from './components/atoms/Input';
|
|
24
|
-
export type { InputContainerProps, InputElementProps, InputMaskElementProps, InputVariantType, PressableInputContainerProps, } from './components/atoms/Input';
|
|
25
|
-
export { Paper } from './components/atoms/Paper';
|
|
26
|
-
export type { PaperProps } from './components/atoms/Paper';
|
|
27
|
-
export { PressableSurface } from './components/atoms/PressableSurface';
|
|
28
|
-
export type { PressableSurfaceProps } from './components/atoms/PressableSurface';
|
|
29
|
-
export { ProgressBar } from './components/atoms/ProgressBar';
|
|
30
|
-
export type { ProgressBarProps } from './components/atoms/ProgressBar';
|
|
31
|
-
export { RadioButton } from './components/atoms/RadioButton';
|
|
32
|
-
export type { RadioButtonProps } from './components/atoms/RadioButton';
|
|
33
|
-
export { Switch } from './components/atoms/Switch';
|
|
34
|
-
export type { SwitchProps } from './components/atoms/Switch';
|
|
35
|
-
export { Tag } from './components/atoms/Tag';
|
|
36
|
-
export type { TagProps } from './components/atoms/Tag';
|
|
37
|
-
export { Text } from './components/atoms/Text';
|
|
38
|
-
export type { TextProps } from './components/atoms/Text';
|
|
39
|
-
export { Calendar } from './components/molecules/Calendar';
|
|
40
|
-
export type { CalendarProps, DateRange, SelectionType, Value, } from './components/molecules/Calendar';
|
|
41
|
-
export { DatePicker } from './components/molecules/DatePicker';
|
|
42
|
-
export type { DatePickerProps } from './components/molecules/DatePicker';
|
|
43
|
-
export { DateTimePicker } from './components/molecules/DateTimePicker';
|
|
44
|
-
export type { DateTimePickerProps } from './components/molecules/DateTimePicker';
|
|
45
|
-
export { DateTimeSelector } from './components/molecules/DateTimeSelector';
|
|
46
|
-
export type { DateTimeSelectorMode, DateTimeSelectorProps, } from './components/molecules/DateTimeSelector';
|
|
47
|
-
export { getGridItemPadding, getGridItemColumSpan, } from './components/molecules/Grid';
|
|
48
|
-
export type { GridSpacing, IGridItem, IGrid, FlexAlignBase, FlexAlignType, FlexPositioning, FlexSpacing, PaddingPosition, } from './components/molecules/Grid';
|
|
49
|
-
export { HintInputContainer } from './components/molecules/HintInputContainer';
|
|
50
|
-
export type { HintInputContainerProps } from './components/molecules/HintInputContainer';
|
|
51
|
-
export { IconComponent } from './components/molecules/IconTextButton';
|
|
52
|
-
export type { IconPositionOptions, IconTextButtonProps, } from './components/molecules/IconTextButton';
|
|
53
|
-
export { InputPasswordIcon } from './components/molecules/InputPassword';
|
|
54
|
-
export type { LabeledSwitchProps, LabelPositionOptions, } from './components/molecules/LabeledSwitch';
|
|
55
|
-
export { Snackbar } from './components/molecules/Snackbar';
|
|
56
|
-
export type { SnackbarProps } from './components/molecules/Snackbar';
|
|
57
|
-
export { TextArea, TextAreaInputBase } from './components/molecules/TextArea';
|
|
58
|
-
export type { TextAreaProps } from './components/molecules/TextArea';
|
|
59
|
-
export * from './hooks';
|
|
60
|
-
export * from './styles/definitions';
|
|
61
|
-
export * from './styles/light';
|
|
62
|
-
export { default as ThemeProvider } from './styles/ThemeProvider';
|
|
63
|
-
export * from './types/defaults';
|
|
64
|
-
export * from './utils';
|
package/esm/index.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export { default as Avatar } from './components/atoms/Avatar/Avatar.js';
|
|
2
|
-
export { default as Badge } from './components/atoms/Badge/Badge.js';
|
|
3
|
-
export { default as BoxContent } from './components/atoms/BoxContent/BoxContent.js';
|
|
4
|
-
export { default as Button } from './components/atoms/Button/Button.js';
|
|
5
|
-
export { default as Error } from './components/atoms/Button/States/Error.js';
|
|
6
|
-
export { default as Loading } from './components/atoms/Button/States/Loading.js';
|
|
7
|
-
export { default as Success } from './components/atoms/Button/States/Success.js';
|
|
8
|
-
export { default as Card } from './components/atoms/Card/Card.js';
|
|
9
|
-
export { default as Footer } from './components/atoms/Card/Footer/Footer.js';
|
|
10
|
-
export { default as Header } from './components/atoms/Card/Header/Header.js';
|
|
11
|
-
export { default as Checkbox } from './components/atoms/Checkbox/Checkbox.js';
|
|
12
|
-
export { default as Divider } from './components/atoms/Divider/Divider.js';
|
|
13
|
-
export { default as GroupButton } from './components/atoms/GroupButton/GroupButton.js';
|
|
14
|
-
export { default as GroupButtonOption } from './components/atoms/GroupButton/GroupButtonOption.js';
|
|
15
|
-
export { default as Icon } from './components/atoms/Icon/Icon.js';
|
|
16
|
-
export { default as Hint } from './components/atoms/Input/Hint.js';
|
|
17
|
-
export { useInputFocus } from './components/atoms/Input/hooks/useInputFocus.js';
|
|
18
|
-
export { useNumberMask } from './components/atoms/Input/hooks/useNumberMask.js';
|
|
19
|
-
export { useStringMask } from './components/atoms/Input/hooks/useStringMask.js';
|
|
20
|
-
export { default as InputContainer } from './components/atoms/Input/InputContainer/InputContainer.js';
|
|
21
|
-
export { default as InputElement } from './components/atoms/Input/InputElement/InputElement.js';
|
|
22
|
-
export { default as InputMaskElement } from './components/atoms/Input/InputMaskElement/InputMaskElement.js';
|
|
23
|
-
export { default as PressableInputContainer } from './components/atoms/Input/PressableInputContainer/PressableInputContainer.js';
|
|
24
|
-
export { StyledBorderKeeper, disabledInputStyles } from './components/atoms/Input/styled.js';
|
|
25
|
-
export { default as Paper } from './components/atoms/Paper/Paper.js';
|
|
26
|
-
export { default as PressableSurface } from './components/atoms/PressableSurface/PressableSurface.js';
|
|
27
|
-
export { default as ProgressBar } from './components/atoms/ProgressBar/ProgressBar.js';
|
|
28
|
-
export { default as RadioButton } from './components/atoms/RadioButton/RadioButton.js';
|
|
29
|
-
export { default as Switch } from './components/atoms/Switch/Switch.js';
|
|
30
|
-
export { default as Tag } from './components/atoms/Tag/Tag.js';
|
|
31
|
-
export { default as Text } from './components/atoms/Text/Text.js';
|
|
32
|
-
export { default as Calendar } from './components/molecules/Calendar/Calendar.js';
|
|
33
|
-
export { default as DatePicker } from './components/molecules/DatePicker/DatePicker.js';
|
|
34
|
-
export { default as DateTimePicker } from './components/molecules/DateTimePicker/DateTimePicker.js';
|
|
35
|
-
export { default as DateTimeSelector } from './components/molecules/DateTimeSelector/DateTimeSelector.js';
|
|
36
|
-
export { getGridItemColumSpan, getGridItemPadding } from './components/molecules/Grid/functions.js';
|
|
37
|
-
export { default as HintInputContainer } from './components/molecules/HintInputContainer/HintInputContainer.js';
|
|
38
|
-
export { default as IconComponent } from './components/molecules/IconTextButton/IconComponent.js';
|
|
39
|
-
export { default as InputPasswordIcon } from './components/molecules/InputPassword/InputPasswordIcon.js';
|
|
40
|
-
export { default as Snackbar } from './components/molecules/Snackbar/Snackbar.js';
|
|
41
|
-
export { default as TextArea } from './components/molecules/TextArea/TextArea.js';
|
|
42
|
-
export { TextAreaInputBase } from './components/molecules/TextArea/styled.js';
|
|
43
|
-
export { useDebouncedState } from './hooks/useDebouncedState.js';
|
|
44
|
-
export { useTheme } from './hooks/useTheme.js';
|
|
45
|
-
export { borderRadius, borderWidth, breakpoints, fontColor, fontFiles, fontStack, fontWeight, hex2rgba, iconSize, miscellaneous, spacing, statusColor, typography, zIndex } from './styles/definitions.js';
|
|
46
|
-
export { lightTheme } from './styles/light.js';
|
|
47
|
-
export { default as ThemeProvider } from './styles/ThemeProvider.js';
|
|
48
|
-
export { extractDigitsFromString, extractNumbersFromString } from './utils/extractNumbersFromString.js';
|
|
49
|
-
export { formatWithMask } from './utils/formatWithMask.js';
|
|
50
|
-
export { getBottomSpace, getStatusBarHeight, ifIphoneX, isIphoneX } from './utils/IPhoneXHelper.js';
|
|
51
|
-
export { lightenDarkenColor } from './utils/lightenDarkenColor.js';
|
|
52
|
-
export { Masks } from './utils/masks.js';
|
|
53
|
-
export { RFPercentage, RFValue, RFValueStr } from './utils/ResponsiveFontSize.js';
|
|
54
|
-
export { borderColorGradationVC, borderColorVC, colorGradationVC, colorVC, fontColorVC } from './utils/variantComplement.js';
|
|
55
|
-
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { ThemeProvider as ThemeProvider$1 } from '@emotion/react';
|
|
3
|
-
|
|
4
|
-
const ThemeProvider = ({
|
|
5
|
-
theme,
|
|
6
|
-
children
|
|
7
|
-
}) => {
|
|
8
|
-
return /* @__PURE__ */ React__default.createElement(ThemeProvider$1, {
|
|
9
|
-
theme
|
|
10
|
-
}, children);
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export { ThemeProvider as default };
|
|
14
|
-
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.js","sources":["../../src/styles/ThemeProvider.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { ThemeProvider as EmotionProvider } from '@emotion/react';\nimport { ThemeProviderProps } from '../types/defaults';\n\nconst ThemeProvider: FC<ThemeProviderProps> = ({\n theme,\n children,\n}): JSX.Element => {\n return <EmotionProvider theme={theme}>{children}</EmotionProvider>;\n};\n\nexport default ThemeProvider;\n"],"names":["React","EmotionProvider"],"mappings":";;;AAIA,MAAM,gBAAwC,CAAC;AAAA,EAC7C,KAAA;AAAA,EACA,QAAA;AACF,CAAmB,KAAA;AACjB,EAAA,uBAAQA,cAAA,CAAA,aAAA,CAAAC,eAAA,EAAA;AAAA,IAAgB,KAAA;AAAA,GAAA,EAAe,QAAS,CAAA,CAAA;AAClD;;;;"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { BorderRadius, BorderWidth, Breakpoints, FontColor, FontStack, FontWeight, IconSize, Miscellaneous, Spacing, TypographyVariation, ZIndex } from '../types/defaults';
|
|
2
|
-
export declare const statusColor: {
|
|
3
|
-
error: {
|
|
4
|
-
xlight: string;
|
|
5
|
-
light: string;
|
|
6
|
-
medium: string;
|
|
7
|
-
dark: string;
|
|
8
|
-
xdark: string;
|
|
9
|
-
};
|
|
10
|
-
warning: {
|
|
11
|
-
xlight: string;
|
|
12
|
-
light: string;
|
|
13
|
-
medium: string;
|
|
14
|
-
dark: string;
|
|
15
|
-
xdark: string;
|
|
16
|
-
};
|
|
17
|
-
success: {
|
|
18
|
-
xlight: string;
|
|
19
|
-
light: string;
|
|
20
|
-
medium: string;
|
|
21
|
-
dark: string;
|
|
22
|
-
xdark: string;
|
|
23
|
-
};
|
|
24
|
-
info: {
|
|
25
|
-
xlight: string;
|
|
26
|
-
light: string;
|
|
27
|
-
medium: string;
|
|
28
|
-
dark: string;
|
|
29
|
-
xdark: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export declare const hex2rgba: (hex: any, alpha?: number) => string;
|
|
33
|
-
export declare const miscellaneous: Miscellaneous;
|
|
34
|
-
export declare const spacing: Spacing;
|
|
35
|
-
export declare const iconSize: IconSize;
|
|
36
|
-
export declare const borderRadius: BorderRadius;
|
|
37
|
-
export declare const borderWidth: BorderWidth;
|
|
38
|
-
export declare const typography: TypographyVariation;
|
|
39
|
-
export declare const fontStack: FontStack;
|
|
40
|
-
export declare const fontWeight: FontWeight;
|
|
41
|
-
export declare const fontFiles: FontWeight;
|
|
42
|
-
export declare const fontColor: FontColor;
|
|
43
|
-
export declare const zIndex: ZIndex;
|
|
44
|
-
export declare type IconType = 'material' | 'material-community' | 'simple-line-icon' | 'zocial' | 'font-awesome' | 'octicon' | 'ionicon' | 'foundation' | 'evilicon' | 'entypo' | 'antdesign' | 'font-awesome-5' | string;
|
|
45
|
-
export declare const breakpoints: Breakpoints;
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import 'react';
|
|
2
|
-
import '../components/atoms/Text/styled.js';
|
|
3
|
-
import '../components/atoms/Input/styled.js';
|
|
4
|
-
import 'currency.js';
|
|
5
|
-
import '../components/atoms/Input/InputElement/InputElement.js';
|
|
6
|
-
import '../components/atoms/Input/InputMaskElement/InputMaskElement.js';
|
|
7
|
-
import '../components/atoms/Input/PressableInputContainer/styled.js';
|
|
8
|
-
import 'react-native';
|
|
9
|
-
import { RFValueStr } from '../utils/ResponsiveFontSize.js';
|
|
10
|
-
|
|
11
|
-
const statusColor = {
|
|
12
|
-
error: {
|
|
13
|
-
xlight: "#fdf3f2",
|
|
14
|
-
light: "#ee9891",
|
|
15
|
-
medium: "#e04638",
|
|
16
|
-
dark: "#9b2318",
|
|
17
|
-
xdark: "#58240e"
|
|
18
|
-
},
|
|
19
|
-
warning: {
|
|
20
|
-
xlight: "#fffcf0",
|
|
21
|
-
light: "#ffe380",
|
|
22
|
-
medium: "#ffc700",
|
|
23
|
-
dark: "#cc9f00",
|
|
24
|
-
xdark: "#665000"
|
|
25
|
-
},
|
|
26
|
-
success: {
|
|
27
|
-
xlight: "#f3fcf8",
|
|
28
|
-
light: "#99e6c9",
|
|
29
|
-
medium: "#2db783",
|
|
30
|
-
dark: "#238f67",
|
|
31
|
-
xdark: "#14523b"
|
|
32
|
-
},
|
|
33
|
-
info: {
|
|
34
|
-
xlight: "#f0f8fe",
|
|
35
|
-
light: "#85c7fa",
|
|
36
|
-
medium: "#239bf6",
|
|
37
|
-
dark: "#0873c4",
|
|
38
|
-
xdark: "#043962"
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
const hex2rgba = (hex, alpha = 1) => {
|
|
42
|
-
const [r, g, b] = hex.match(/\w\w/g).map((x) => parseInt(x, 16));
|
|
43
|
-
return `rgba(${r},${g},${b},${alpha})`;
|
|
44
|
-
};
|
|
45
|
-
const miscellaneous = {
|
|
46
|
-
shadow: "#000000",
|
|
47
|
-
overlay: "#282625",
|
|
48
|
-
bodyColor: "#f8f7f7",
|
|
49
|
-
surfaceColor: "#ffffff"
|
|
50
|
-
};
|
|
51
|
-
const spacing = {
|
|
52
|
-
nano: RFValueStr("2px"),
|
|
53
|
-
micro: RFValueStr("4px"),
|
|
54
|
-
mili: RFValueStr("8px"),
|
|
55
|
-
centi: RFValueStr("12px"),
|
|
56
|
-
deca: RFValueStr("16px"),
|
|
57
|
-
kilo: RFValueStr("24px"),
|
|
58
|
-
mega: RFValueStr("32px"),
|
|
59
|
-
giga: RFValueStr("40px"),
|
|
60
|
-
tera: RFValueStr("48px"),
|
|
61
|
-
peta: RFValueStr("56px"),
|
|
62
|
-
hexa: RFValueStr("64px")
|
|
63
|
-
};
|
|
64
|
-
const iconSize = {
|
|
65
|
-
micro: RFValueStr("12px"),
|
|
66
|
-
mili: RFValueStr("14px"),
|
|
67
|
-
centi: RFValueStr("16px"),
|
|
68
|
-
deca: RFValueStr("18px"),
|
|
69
|
-
kilo: RFValueStr("24px"),
|
|
70
|
-
mega: RFValueStr("32px")
|
|
71
|
-
};
|
|
72
|
-
const borderRadius = {
|
|
73
|
-
nano: RFValueStr("2px"),
|
|
74
|
-
micro: RFValueStr("4px"),
|
|
75
|
-
mili: RFValueStr("8px"),
|
|
76
|
-
centi: RFValueStr("16px"),
|
|
77
|
-
deca: RFValueStr("24px"),
|
|
78
|
-
pill: RFValueStr("999999px")
|
|
79
|
-
};
|
|
80
|
-
const borderWidth = {
|
|
81
|
-
pico: RFValueStr("1px"),
|
|
82
|
-
nano: RFValueStr("2px")
|
|
83
|
-
};
|
|
84
|
-
const typography = {
|
|
85
|
-
h5: {
|
|
86
|
-
fontSize: RFValueStr("16px"),
|
|
87
|
-
lineHeight: RFValueStr("24px")
|
|
88
|
-
},
|
|
89
|
-
h4: {
|
|
90
|
-
fontSize: RFValueStr("18px"),
|
|
91
|
-
lineHeight: RFValueStr("27px")
|
|
92
|
-
},
|
|
93
|
-
h3: {
|
|
94
|
-
fontSize: RFValueStr("20px"),
|
|
95
|
-
lineHeight: RFValueStr("32px")
|
|
96
|
-
},
|
|
97
|
-
h2: {
|
|
98
|
-
fontSize: RFValueStr("26px"),
|
|
99
|
-
lineHeight: RFValueStr("38px")
|
|
100
|
-
},
|
|
101
|
-
h1: {
|
|
102
|
-
fontSize: RFValueStr("32px"),
|
|
103
|
-
lineHeight: RFValueStr("42px")
|
|
104
|
-
},
|
|
105
|
-
base: {
|
|
106
|
-
fontSize: RFValueStr("14px"),
|
|
107
|
-
lineHeight: RFValueStr("21px")
|
|
108
|
-
},
|
|
109
|
-
sub: {
|
|
110
|
-
fontSize: RFValueStr("12px"),
|
|
111
|
-
lineHeight: RFValueStr("18px")
|
|
112
|
-
},
|
|
113
|
-
label: {
|
|
114
|
-
fontSize: RFValueStr("10px"),
|
|
115
|
-
lineHeight: RFValueStr("12px")
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
const fontStack = {
|
|
119
|
-
default: "Lato",
|
|
120
|
-
mono: "Consolas, monaco, monospace"
|
|
121
|
-
};
|
|
122
|
-
const fontWeight = {
|
|
123
|
-
regular: "400",
|
|
124
|
-
bold: "700",
|
|
125
|
-
black: "900"
|
|
126
|
-
};
|
|
127
|
-
const fontFiles = {
|
|
128
|
-
black: "{0}-Black",
|
|
129
|
-
bold: "{0}-Bold",
|
|
130
|
-
regular: "{0}-Regular"
|
|
131
|
-
};
|
|
132
|
-
const fontColor = {
|
|
133
|
-
light: "#fff",
|
|
134
|
-
medium: "#85807a",
|
|
135
|
-
dark: "#353231",
|
|
136
|
-
orange: "#f89907"
|
|
137
|
-
};
|
|
138
|
-
const zIndex = {
|
|
139
|
-
default: 0,
|
|
140
|
-
absolute: 1,
|
|
141
|
-
select: 20,
|
|
142
|
-
input: 20,
|
|
143
|
-
popover: 30,
|
|
144
|
-
tooltip: 40,
|
|
145
|
-
header: 600,
|
|
146
|
-
backdrop: 700,
|
|
147
|
-
drawer: 700,
|
|
148
|
-
sidebar: 800,
|
|
149
|
-
modal: 1e3
|
|
150
|
-
};
|
|
151
|
-
const breakpoints = {
|
|
152
|
-
sm: 480,
|
|
153
|
-
md: 768,
|
|
154
|
-
lg: 1366
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
export { borderRadius, borderWidth, breakpoints, fontColor, fontFiles, fontStack, fontWeight, hex2rgba, iconSize, miscellaneous, spacing, statusColor, typography, zIndex };
|
|
158
|
-
//# sourceMappingURL=definitions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.js","sources":["../../src/styles/definitions.ts"],"sourcesContent":["import {\n BorderRadius,\n BorderWidth,\n Breakpoints,\n FontColor,\n FontStack,\n FontWeight,\n IconSize,\n Miscellaneous,\n Spacing,\n TypographyVariation,\n ZIndex,\n} from '../types/defaults';\nimport { RFValueStr } from '../utils';\n\nexport const statusColor = {\n error: {\n xlight: '#fdf3f2',\n light: '#ee9891',\n medium: '#e04638',\n dark: '#9b2318',\n xdark: '#58240e',\n },\n warning: {\n xlight: '#fffcf0',\n light: '#ffe380',\n medium: '#ffc700',\n dark: '#cc9f00',\n xdark: '#665000',\n },\n success: {\n xlight: '#f3fcf8',\n light: '#99e6c9',\n medium: '#2db783',\n dark: '#238f67',\n xdark: '#14523b',\n },\n info: {\n xlight: '#f0f8fe',\n light: '#85c7fa',\n medium: '#239bf6',\n dark: '#0873c4',\n xdark: '#043962',\n },\n};\n\nexport const hex2rgba: (hex, alpha?: number) => string = (hex, alpha = 1) => {\n const [r, g, b] = hex.match(/\\w\\w/g).map(x => parseInt(x, 16));\n return `rgba(${r},${g},${b},${alpha})`;\n};\n\nexport const miscellaneous: Miscellaneous = {\n shadow: '#000000', // black\n overlay: '#282625', // rgba(40, 38, 37, 0.5)\n bodyColor: '#f8f7f7',\n surfaceColor: '#ffffff', //input, group button, cards\n};\n\nexport const spacing: Spacing = {\n nano: RFValueStr('2px'),\n micro: RFValueStr('4px'),\n mili: RFValueStr('8px'),\n centi: RFValueStr('12px'),\n deca: RFValueStr('16px'),\n kilo: RFValueStr('24px'),\n mega: RFValueStr('32px'),\n giga: RFValueStr('40px'),\n tera: RFValueStr('48px'),\n peta: RFValueStr('56px'),\n hexa: RFValueStr('64px'),\n};\n\nexport const iconSize: IconSize = {\n micro: RFValueStr('12px'),\n mili: RFValueStr('14px'),\n centi: RFValueStr('16px'), // '1rem'\n deca: RFValueStr('18px'), // '1.5rem'\n kilo: RFValueStr('24px'), // '1.6rem'\n mega: RFValueStr('32px'), // '2rem'\n};\n\nexport const borderRadius: BorderRadius = {\n nano: RFValueStr('2px'),\n micro: RFValueStr('4px'),\n mili: RFValueStr('8px'),\n centi: RFValueStr('16px'),\n deca: RFValueStr('24px'),\n pill: RFValueStr('999999px'), // also circle\n};\n\nexport const borderWidth: BorderWidth = {\n pico: RFValueStr('1px'),\n nano: RFValueStr('2px'),\n};\n\nexport const typography: TypographyVariation = {\n h5: {\n fontSize: RFValueStr('16px'), // '1rem'\n lineHeight: RFValueStr('24px'), // '1.5rem'\n },\n h4: {\n fontSize: RFValueStr('18px'), // '1.125rem'\n lineHeight: RFValueStr('27px'), // '1.688rem'\n },\n h3: {\n fontSize: RFValueStr('20px'), // '1.25rem'\n lineHeight: RFValueStr('32px'), // '2rem'\n },\n h2: {\n fontSize: RFValueStr('26px'), // '1.625rem'\n lineHeight: RFValueStr('38px'), // '2.375rem'\n },\n h1: {\n fontSize: RFValueStr('32px'), // '2rem'\n lineHeight: RFValueStr('42px'), // '2.625rem'\n },\n base: {\n fontSize: RFValueStr('14px'), // '0.875rem'\n lineHeight: RFValueStr('21px'), // '1.313rem'\n },\n sub: {\n fontSize: RFValueStr('12px'), // '0.75rem'\n lineHeight: RFValueStr('18px'), // '1.125rem'\n },\n label: {\n fontSize: RFValueStr('10px'),\n lineHeight: RFValueStr('12px'),\n },\n};\n\nexport const fontStack: FontStack = {\n default: 'Lato',\n mono: 'Consolas, monaco, monospace',\n};\n\nexport const fontWeight: FontWeight = {\n regular: '400',\n bold: '700',\n black: '900',\n};\n\nexport const fontFiles: FontWeight = {\n black: '{0}-Black',\n bold: '{0}-Bold',\n regular: '{0}-Regular',\n};\n\nexport const fontColor: FontColor = {\n light: '#fff',\n medium: '#85807a',\n dark: '#353231', // default\n orange: '#f89907',\n};\n\nexport const zIndex: ZIndex = {\n default: 0,\n absolute: 1,\n select: 20,\n input: 20,\n popover: 30,\n tooltip: 40,\n header: 600,\n backdrop: 700,\n drawer: 700,\n sidebar: 800,\n modal: 1000,\n};\n\nexport type IconType =\n | 'material'\n | 'material-community'\n | 'simple-line-icon'\n | 'zocial'\n | 'font-awesome'\n | 'octicon'\n | 'ionicon'\n | 'foundation'\n | 'evilicon'\n | 'entypo'\n | 'antdesign'\n | 'font-awesome-5'\n | string;\n\nexport const breakpoints: Breakpoints = {\n sm: 480,\n md: 768,\n lg: 1366,\n};\n"],"names":[],"mappings":";;;;;;;;;;AAeO,MAAM,WAAc,GAAA;AAAA,EACzB,KAAO,EAAA;AAAA,IACL,MAAQ,EAAA,SAAA;AAAA,IACR,KAAO,EAAA,SAAA;AAAA,IACP,MAAQ,EAAA,SAAA;AAAA,IACR,IAAM,EAAA,SAAA;AAAA,IACN,KAAO,EAAA,SAAA;AAAA,GACT;AAAA,EACA,OAAS,EAAA;AAAA,IACP,MAAQ,EAAA,SAAA;AAAA,IACR,KAAO,EAAA,SAAA;AAAA,IACP,MAAQ,EAAA,SAAA;AAAA,IACR,IAAM,EAAA,SAAA;AAAA,IACN,KAAO,EAAA,SAAA;AAAA,GACT;AAAA,EACA,OAAS,EAAA;AAAA,IACP,MAAQ,EAAA,SAAA;AAAA,IACR,KAAO,EAAA,SAAA;AAAA,IACP,MAAQ,EAAA,SAAA;AAAA,IACR,IAAM,EAAA,SAAA;AAAA,IACN,KAAO,EAAA,SAAA;AAAA,GACT;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,MAAQ,EAAA,SAAA;AAAA,IACR,KAAO,EAAA,SAAA;AAAA,IACP,MAAQ,EAAA,SAAA;AAAA,IACR,IAAM,EAAA,SAAA;AAAA,IACN,KAAO,EAAA,SAAA;AAAA,GACT;AACF,EAAA;AAEO,MAAM,QAA4C,GAAA,CAAC,GAAK,EAAA,KAAA,GAAQ,CAAM,KAAA;AAC3E,EAAA,MAAM,CAAC,CAAA,EAAG,CAAG,EAAA,CAAC,IAAI,GAAI,CAAA,KAAA,CAAM,OAAO,CAAA,CAAE,GAAI,CAAA,CAAA,CAAA,KAAK,QAAS,CAAA,CAAA,EAAG,EAAE,CAAC,CAAA,CAAA;AAC7D,EAAO,OAAA,CAAA,KAAA,EAAQ,CAAK,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,EAAK,CAAK,CAAA,CAAA,EAAA,KAAA,CAAA,CAAA,CAAA,CAAA;AAChC,EAAA;AAEO,MAAM,aAA+B,GAAA;AAAA,EAC1C,MAAQ,EAAA,SAAA;AAAA,EACR,OAAS,EAAA,SAAA;AAAA,EACT,SAAW,EAAA,SAAA;AAAA,EACX,YAAc,EAAA,SAAA;AAChB,EAAA;AAEO,MAAM,OAAmB,GAAA;AAAA,EAC9B,IAAA,EAAM,WAAW,KAAK,CAAA;AAAA,EACtB,KAAA,EAAO,WAAW,KAAK,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,KAAK,CAAA;AAAA,EACtB,KAAA,EAAO,WAAW,MAAM,CAAA;AAAA,EACxB,IAAA,EAAM,WAAW,MAAM,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,MAAM,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,MAAM,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,MAAM,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,MAAM,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,MAAM,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,MAAM,CAAA;AACzB,EAAA;AAEO,MAAM,QAAqB,GAAA;AAAA,EAChC,KAAA,EAAO,WAAW,MAAM,CAAA;AAAA,EACxB,IAAA,EAAM,WAAW,MAAM,CAAA;AAAA,EACvB,KAAA,EAAO,WAAW,MAAM,CAAA;AAAA,EACxB,IAAA,EAAM,WAAW,MAAM,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,MAAM,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,MAAM,CAAA;AACzB,EAAA;AAEO,MAAM,YAA6B,GAAA;AAAA,EACxC,IAAA,EAAM,WAAW,KAAK,CAAA;AAAA,EACtB,KAAA,EAAO,WAAW,KAAK,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,KAAK,CAAA;AAAA,EACtB,KAAA,EAAO,WAAW,MAAM,CAAA;AAAA,EACxB,IAAA,EAAM,WAAW,MAAM,CAAA;AAAA,EACvB,IAAA,EAAM,WAAW,UAAU,CAAA;AAC7B,EAAA;AAEO,MAAM,WAA2B,GAAA;AAAA,EACtC,IAAA,EAAM,WAAW,KAAK,CAAA;AAAA,EACtB,IAAA,EAAM,WAAW,KAAK,CAAA;AACxB,EAAA;AAEO,MAAM,UAAkC,GAAA;AAAA,EAC7C,EAAI,EAAA;AAAA,IACF,QAAA,EAAU,WAAW,MAAM,CAAA;AAAA,IAC3B,UAAA,EAAY,WAAW,MAAM,CAAA;AAAA,GAC/B;AAAA,EACA,EAAI,EAAA;AAAA,IACF,QAAA,EAAU,WAAW,MAAM,CAAA;AAAA,IAC3B,UAAA,EAAY,WAAW,MAAM,CAAA;AAAA,GAC/B;AAAA,EACA,EAAI,EAAA;AAAA,IACF,QAAA,EAAU,WAAW,MAAM,CAAA;AAAA,IAC3B,UAAA,EAAY,WAAW,MAAM,CAAA;AAAA,GAC/B;AAAA,EACA,EAAI,EAAA;AAAA,IACF,QAAA,EAAU,WAAW,MAAM,CAAA;AAAA,IAC3B,UAAA,EAAY,WAAW,MAAM,CAAA;AAAA,GAC/B;AAAA,EACA,EAAI,EAAA;AAAA,IACF,QAAA,EAAU,WAAW,MAAM,CAAA;AAAA,IAC3B,UAAA,EAAY,WAAW,MAAM,CAAA;AAAA,GAC/B;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,QAAA,EAAU,WAAW,MAAM,CAAA;AAAA,IAC3B,UAAA,EAAY,WAAW,MAAM,CAAA;AAAA,GAC/B;AAAA,EACA,GAAK,EAAA;AAAA,IACH,QAAA,EAAU,WAAW,MAAM,CAAA;AAAA,IAC3B,UAAA,EAAY,WAAW,MAAM,CAAA;AAAA,GAC/B;AAAA,EACA,KAAO,EAAA;AAAA,IACL,QAAA,EAAU,WAAW,MAAM,CAAA;AAAA,IAC3B,UAAA,EAAY,WAAW,MAAM,CAAA;AAAA,GAC/B;AACF,EAAA;AAEO,MAAM,SAAuB,GAAA;AAAA,EAClC,OAAS,EAAA,MAAA;AAAA,EACT,IAAM,EAAA,6BAAA;AACR,EAAA;AAEO,MAAM,UAAyB,GAAA;AAAA,EACpC,OAAS,EAAA,KAAA;AAAA,EACT,IAAM,EAAA,KAAA;AAAA,EACN,KAAO,EAAA,KAAA;AACT,EAAA;AAEO,MAAM,SAAwB,GAAA;AAAA,EACnC,KAAO,EAAA,WAAA;AAAA,EACP,IAAM,EAAA,UAAA;AAAA,EACN,OAAS,EAAA,aAAA;AACX,EAAA;AAEO,MAAM,SAAuB,GAAA;AAAA,EAClC,KAAO,EAAA,MAAA;AAAA,EACP,MAAQ,EAAA,SAAA;AAAA,EACR,IAAM,EAAA,SAAA;AAAA,EACN,MAAQ,EAAA,SAAA;AACV,EAAA;AAEO,MAAM,MAAiB,GAAA;AAAA,EAC5B,OAAS,EAAA,CAAA;AAAA,EACT,QAAU,EAAA,CAAA;AAAA,EACV,MAAQ,EAAA,EAAA;AAAA,EACR,KAAO,EAAA,EAAA;AAAA,EACP,OAAS,EAAA,EAAA;AAAA,EACT,OAAS,EAAA,EAAA;AAAA,EACT,MAAQ,EAAA,GAAA;AAAA,EACR,QAAU,EAAA,GAAA;AAAA,EACV,MAAQ,EAAA,GAAA;AAAA,EACR,OAAS,EAAA,GAAA;AAAA,EACT,KAAO,EAAA,GAAA;AACT,EAAA;AAiBO,MAAM,WAA2B,GAAA;AAAA,EACtC,EAAI,EAAA,GAAA;AAAA,EACJ,EAAI,EAAA,GAAA;AAAA,EACJ,EAAI,EAAA,IAAA;AACN;;;;"}
|
package/esm/styles/light.d.ts
DELETED
package/esm/styles/light.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { miscellaneous, spacing, iconSize, borderRadius, borderWidth, typography, fontColor, fontStack, fontWeight, fontFiles, zIndex, breakpoints, statusColor } from './definitions.js';
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
const primaryGradation = {
|
|
20
|
-
xlight: "#fef9f0",
|
|
21
|
-
light: "#fccb83",
|
|
22
|
-
medium: "#f89907",
|
|
23
|
-
dark: "#ae6b05",
|
|
24
|
-
xdark: "#633d03"
|
|
25
|
-
};
|
|
26
|
-
const secondaryGradation = {
|
|
27
|
-
xlight: "#f8f7f7",
|
|
28
|
-
light: "#c2bfbc",
|
|
29
|
-
medium: "#85807a",
|
|
30
|
-
dark: "#5d5955",
|
|
31
|
-
xdark: "#353231"
|
|
32
|
-
};
|
|
33
|
-
const lightTheme = {
|
|
34
|
-
color: __spreadValues({
|
|
35
|
-
primary: __spreadValues({}, primaryGradation),
|
|
36
|
-
secondary: __spreadValues({}, secondaryGradation)
|
|
37
|
-
}, statusColor),
|
|
38
|
-
miscellaneous,
|
|
39
|
-
spacing,
|
|
40
|
-
iconSize,
|
|
41
|
-
borderRadius,
|
|
42
|
-
borderWidth,
|
|
43
|
-
typography,
|
|
44
|
-
font: {
|
|
45
|
-
color: fontColor,
|
|
46
|
-
stack: fontStack,
|
|
47
|
-
weight: fontWeight,
|
|
48
|
-
files: fontFiles
|
|
49
|
-
},
|
|
50
|
-
zIndex,
|
|
51
|
-
breakpoints
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export { lightTheme };
|
|
55
|
-
//# sourceMappingURL=light.js.map
|
package/esm/styles/light.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"light.js","sources":["../../src/styles/light.ts"],"sourcesContent":["import { ThemeProp } from '../types/defaults';\nimport {\n borderRadius,\n borderWidth,\n breakpoints,\n fontColor,\n fontFiles,\n fontStack,\n fontWeight,\n iconSize,\n miscellaneous,\n spacing,\n statusColor,\n typography,\n zIndex,\n} from './definitions';\n\nconst primaryGradation = {\n xlight: '#fef9f0',\n light: '#fccb83',\n medium: '#f89907',\n dark: '#ae6b05',\n xdark: '#633d03',\n};\n\nconst secondaryGradation = {\n xlight: '#f8f7f7',\n light: '#c2bfbc',\n medium: '#85807a',\n dark: '#5d5955',\n xdark: '#353231',\n};\n\nexport const lightTheme: ThemeProp = {\n color: {\n primary: {\n ...primaryGradation,\n },\n secondary: { ...secondaryGradation },\n ...statusColor,\n },\n miscellaneous,\n spacing,\n iconSize,\n borderRadius,\n borderWidth,\n typography,\n font: {\n color: fontColor,\n stack: fontStack,\n weight: fontWeight,\n files: fontFiles,\n },\n zIndex,\n breakpoints,\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAiBA,MAAM,gBAAmB,GAAA;AAAA,EACvB,MAAQ,EAAA,SAAA;AAAA,EACR,KAAO,EAAA,SAAA;AAAA,EACP,MAAQ,EAAA,SAAA;AAAA,EACR,IAAM,EAAA,SAAA;AAAA,EACN,KAAO,EAAA,SAAA;AACT,CAAA,CAAA;AAEA,MAAM,kBAAqB,GAAA;AAAA,EACzB,MAAQ,EAAA,SAAA;AAAA,EACR,KAAO,EAAA,SAAA;AAAA,EACP,MAAQ,EAAA,SAAA;AAAA,EACR,IAAM,EAAA,SAAA;AAAA,EACN,KAAO,EAAA,SAAA;AACT,CAAA,CAAA;AAEO,MAAM,UAAwB,GAAA;AAAA,EACnC,KAAO,EAAA,cAAA,CAAA;AAAA,IACL,SAAS,cACJ,CAAA,EAAA,EAAA,gBAAA,CAAA;AAAA,IAEL,WAAW,cAAK,CAAA,EAAA,EAAA,kBAAA,CAAA;AAAA,GACb,EAAA,WAAA,CAAA;AAAA,EAEL,aAAA;AAAA,EACA,OAAA;AAAA,EACA,QAAA;AAAA,EACA,YAAA;AAAA,EACA,WAAA;AAAA,EACA,UAAA;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,KAAO,EAAA,SAAA;AAAA,IACP,KAAO,EAAA,SAAA;AAAA,IACP,MAAQ,EAAA,UAAA;AAAA,IACR,KAAO,EAAA,SAAA;AAAA,GACT;AAAA,EACA,MAAA;AAAA,EACA,WAAA;AACF;;;;"}
|