@fattureincloud-mobile/fic-mobile-ds 1.0.0 → 1.2.0
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/LICENSE +20 -0
- package/README.md +31 -0
- package/lib/commonjs/components/Tag/Tag.js +44 -0
- package/lib/commonjs/components/Tag/Tag.js.map +1 -0
- package/lib/commonjs/components/Tag/index.js +14 -0
- package/lib/commonjs/components/Tag/index.js.map +1 -0
- package/lib/commonjs/components/Touchable/Touchable.js +79 -0
- package/lib/commonjs/components/Touchable/Touchable.js.map +1 -0
- package/lib/commonjs/components/Touchable/index.js +14 -0
- package/lib/commonjs/components/Touchable/index.js.map +1 -0
- package/lib/commonjs/components/base/DatePicker/DatePicker.js +257 -0
- package/lib/commonjs/components/base/DatePicker/DatePicker.js.map +1 -0
- package/lib/commonjs/components/base/DatePicker/index.js +14 -0
- package/lib/commonjs/components/base/DatePicker/index.js.map +1 -0
- package/lib/commonjs/components/base/HeaderArrows/HeaderArrows.js +77 -0
- package/lib/commonjs/components/base/HeaderArrows/HeaderArrows.js.map +1 -0
- package/lib/commonjs/components/base/HeaderArrows/index.js +14 -0
- package/lib/commonjs/components/base/HeaderArrows/index.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/FicButton.js +42 -0
- package/lib/commonjs/components/buttons/FicButton/FicButton.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/FicButton.types.js +6 -0
- package/lib/commonjs/components/buttons/FicButton/FicButton.types.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/FicButtonIcon.js +104 -0
- package/lib/commonjs/components/buttons/FicButton/FicButtonIcon.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/FicButtonPrimary.js +121 -0
- package/lib/commonjs/components/buttons/FicButton/FicButtonPrimary.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/FicButtonSecondary.js +123 -0
- package/lib/commonjs/components/buttons/FicButton/FicButtonSecondary.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/FicButtonTertiary.js +144 -0
- package/lib/commonjs/components/buttons/FicButton/FicButtonTertiary.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/constants.js +23 -0
- package/lib/commonjs/components/buttons/FicButton/constants.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/index.js +14 -0
- package/lib/commonjs/components/buttons/FicButton/index.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/themes/dark.js +291 -0
- package/lib/commonjs/components/buttons/FicButton/themes/dark.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/themes/index.js +14 -0
- package/lib/commonjs/components/buttons/FicButton/themes/index.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButton/themes/light.js +311 -0
- package/lib/commonjs/components/buttons/FicButton/themes/light.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.js +54 -0
- package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.types.js +6 -0
- package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.types.js.map +1 -0
- package/lib/commonjs/components/buttons/FicButtonGroup/index.js +14 -0
- package/lib/commonjs/components/buttons/FicButtonGroup/index.js.map +1 -0
- package/lib/commonjs/components/notifications/Banner/Banner.js +96 -0
- package/lib/commonjs/components/notifications/Banner/Banner.js.map +1 -0
- package/lib/commonjs/components/notifications/Banner/Banner.types.js +6 -0
- package/lib/commonjs/components/notifications/Banner/Banner.types.js.map +1 -0
- package/lib/commonjs/components/notifications/Banner/index.js +14 -0
- package/lib/commonjs/components/notifications/Banner/index.js.map +1 -0
- package/lib/commonjs/components/notifications/Banner/themes/dark.js +47 -0
- package/lib/commonjs/components/notifications/Banner/themes/dark.js.map +1 -0
- package/lib/commonjs/components/notifications/Banner/themes/index.js +21 -0
- package/lib/commonjs/components/notifications/Banner/themes/index.js.map +1 -0
- package/lib/commonjs/components/notifications/Banner/themes/light.js +47 -0
- package/lib/commonjs/components/notifications/Banner/themes/light.js.map +1 -0
- package/lib/commonjs/components/typographies/Body/Body.js +35 -0
- package/lib/commonjs/components/typographies/Body/Body.js.map +1 -0
- package/lib/commonjs/components/typographies/Body/index.js +14 -0
- package/lib/commonjs/components/typographies/Body/index.js.map +1 -0
- package/lib/commonjs/components/typographies/ButtonTitle/ButtonTitle.js +45 -0
- package/lib/commonjs/components/typographies/ButtonTitle/ButtonTitle.js.map +1 -0
- package/lib/commonjs/components/typographies/ButtonTitle/index.js +14 -0
- package/lib/commonjs/components/typographies/ButtonTitle/index.js.map +1 -0
- package/lib/commonjs/components/typographies/Callout/Callout.js +35 -0
- package/lib/commonjs/components/typographies/Callout/Callout.js.map +1 -0
- package/lib/commonjs/components/typographies/Callout/index.js +14 -0
- package/lib/commonjs/components/typographies/Callout/index.js.map +1 -0
- package/lib/commonjs/components/typographies/CaptionOne/CaptionOne.js +35 -0
- package/lib/commonjs/components/typographies/CaptionOne/CaptionOne.js.map +1 -0
- package/lib/commonjs/components/typographies/CaptionOne/index.js +14 -0
- package/lib/commonjs/components/typographies/CaptionOne/index.js.map +1 -0
- package/lib/commonjs/components/typographies/CaptionTwo/CaptionTwo.js +35 -0
- package/lib/commonjs/components/typographies/CaptionTwo/CaptionTwo.js.map +1 -0
- package/lib/commonjs/components/typographies/CaptionTwo/index.js +14 -0
- package/lib/commonjs/components/typographies/CaptionTwo/index.js.map +1 -0
- package/lib/commonjs/components/typographies/Footnote/Footnote.js +35 -0
- package/lib/commonjs/components/typographies/Footnote/Footnote.js.map +1 -0
- package/lib/commonjs/components/typographies/Footnote/index.js +14 -0
- package/lib/commonjs/components/typographies/Footnote/index.js.map +1 -0
- package/lib/commonjs/components/typographies/Headline/Headline.js +35 -0
- package/lib/commonjs/components/typographies/Headline/Headline.js.map +1 -0
- package/lib/commonjs/components/typographies/Headline/index.js +14 -0
- package/lib/commonjs/components/typographies/Headline/index.js.map +1 -0
- package/lib/commonjs/components/typographies/LargeTitle/LargeTitle.js +35 -0
- package/lib/commonjs/components/typographies/LargeTitle/LargeTitle.js.map +1 -0
- package/lib/commonjs/components/typographies/LargeTitle/index.js +14 -0
- package/lib/commonjs/components/typographies/LargeTitle/index.js.map +1 -0
- package/lib/commonjs/components/typographies/README.md +22 -0
- package/lib/commonjs/components/typographies/Subhead/Subhead.js +35 -0
- package/lib/commonjs/components/typographies/Subhead/Subhead.js.map +1 -0
- package/lib/commonjs/components/typographies/Subhead/index.js +14 -0
- package/lib/commonjs/components/typographies/Subhead/index.js.map +1 -0
- package/lib/commonjs/components/typographies/TitleOne/TitleOne.js +35 -0
- package/lib/commonjs/components/typographies/TitleOne/TitleOne.js.map +1 -0
- package/lib/commonjs/components/typographies/TitleOne/index.js +14 -0
- package/lib/commonjs/components/typographies/TitleOne/index.js.map +1 -0
- package/lib/commonjs/components/typographies/TitleThree/TitleThree.js +35 -0
- package/lib/commonjs/components/typographies/TitleThree/TitleThree.js.map +1 -0
- package/lib/commonjs/components/typographies/TitleThree/index.js +14 -0
- package/lib/commonjs/components/typographies/TitleThree/index.js.map +1 -0
- package/lib/commonjs/components/typographies/TitleTwo/TitleTwo.js +35 -0
- package/lib/commonjs/components/typographies/TitleTwo/TitleTwo.js.map +1 -0
- package/lib/commonjs/components/typographies/TitleTwo/index.js +14 -0
- package/lib/commonjs/components/typographies/TitleTwo/index.js.map +1 -0
- package/lib/commonjs/components/typographies/font.js +33 -0
- package/lib/commonjs/components/typographies/font.js.map +1 -0
- package/lib/commonjs/hooks/useTheme.js +24 -0
- package/lib/commonjs/hooks/useTheme.js.map +1 -0
- package/lib/commonjs/index.js +206 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/providers/DesignSystemProvider/DesignSystemProvider.js +30 -0
- package/lib/commonjs/providers/DesignSystemProvider/DesignSystemProvider.js.map +1 -0
- package/lib/commonjs/providers/DesignSystemProvider/index.js +14 -0
- package/lib/commonjs/providers/DesignSystemProvider/index.js.map +1 -0
- package/lib/commonjs/providers/IconProvider/IconProvider.js +35 -0
- package/lib/commonjs/providers/IconProvider/IconProvider.js.map +1 -0
- package/lib/commonjs/providers/IconProvider/index.js +20 -0
- package/lib/commonjs/providers/IconProvider/index.js.map +1 -0
- package/lib/commonjs/providers/ThemeProvider/ThemeProvider.js +20 -0
- package/lib/commonjs/providers/ThemeProvider/ThemeProvider.js.map +1 -0
- package/lib/commonjs/styles/calendarTheme.js +6 -0
- package/lib/commonjs/styles/calendarTheme.js.map +1 -0
- package/lib/commonjs/styles/colors.js +109 -0
- package/lib/commonjs/styles/colors.js.map +1 -0
- package/lib/commonjs/styles/globalStyles.js +41 -0
- package/lib/commonjs/styles/globalStyles.js.map +1 -0
- package/lib/commonjs/styles/space.js +34 -0
- package/lib/commonjs/styles/space.js.map +1 -0
- package/lib/commonjs/styles/theme.js +421 -0
- package/lib/commonjs/styles/theme.js.map +1 -0
- package/lib/commonjs/utils/locale.js +50 -0
- package/lib/commonjs/utils/locale.js.map +1 -0
- package/lib/module/components/Tag/Tag.js +37 -0
- package/lib/module/components/Tag/Tag.js.map +1 -0
- package/lib/module/components/Tag/index.js +3 -0
- package/lib/module/components/Tag/index.js.map +1 -0
- package/lib/module/components/Touchable/Touchable.js +72 -0
- package/lib/module/components/Touchable/Touchable.js.map +1 -0
- package/lib/module/components/Touchable/index.js +3 -0
- package/lib/module/components/Touchable/index.js.map +1 -0
- package/lib/module/components/base/DatePicker/DatePicker.js +251 -0
- package/lib/module/components/base/DatePicker/DatePicker.js.map +1 -0
- package/lib/module/components/base/DatePicker/index.js +3 -0
- package/lib/module/components/base/DatePicker/index.js.map +1 -0
- package/lib/module/components/base/HeaderArrows/HeaderArrows.js +70 -0
- package/lib/module/components/base/HeaderArrows/HeaderArrows.js.map +1 -0
- package/lib/module/components/base/HeaderArrows/index.js +3 -0
- package/lib/module/components/base/HeaderArrows/index.js.map +1 -0
- package/lib/module/components/buttons/FicButton/FicButton.js +36 -0
- package/lib/module/components/buttons/FicButton/FicButton.js.map +1 -0
- package/lib/module/components/buttons/FicButton/FicButton.types.js +2 -0
- package/lib/module/components/buttons/FicButton/FicButton.types.js.map +1 -0
- package/lib/module/components/buttons/FicButton/FicButtonIcon.js +96 -0
- package/lib/module/components/buttons/FicButton/FicButtonIcon.js.map +1 -0
- package/lib/module/components/buttons/FicButton/FicButtonPrimary.js +114 -0
- package/lib/module/components/buttons/FicButton/FicButtonPrimary.js.map +1 -0
- package/lib/module/components/buttons/FicButton/FicButtonSecondary.js +116 -0
- package/lib/module/components/buttons/FicButton/FicButtonSecondary.js.map +1 -0
- package/lib/module/components/buttons/FicButton/FicButtonTertiary.js +137 -0
- package/lib/module/components/buttons/FicButton/FicButtonTertiary.js.map +1 -0
- package/lib/module/components/buttons/FicButton/constants.js +17 -0
- package/lib/module/components/buttons/FicButton/constants.js.map +1 -0
- package/lib/module/components/buttons/FicButton/index.js +3 -0
- package/lib/module/components/buttons/FicButton/index.js.map +1 -0
- package/lib/module/components/buttons/FicButton/themes/dark.js +285 -0
- package/lib/module/components/buttons/FicButton/themes/dark.js.map +1 -0
- package/lib/module/components/buttons/FicButton/themes/index.js +3 -0
- package/lib/module/components/buttons/FicButton/themes/index.js.map +1 -0
- package/lib/module/components/buttons/FicButton/themes/light.js +305 -0
- package/lib/module/components/buttons/FicButton/themes/light.js.map +1 -0
- package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.js +47 -0
- package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.js.map +1 -0
- package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.types.js +2 -0
- package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.types.js.map +1 -0
- package/lib/module/components/buttons/FicButtonGroup/index.js +3 -0
- package/lib/module/components/buttons/FicButtonGroup/index.js.map +1 -0
- package/lib/module/components/notifications/Banner/Banner.js +89 -0
- package/lib/module/components/notifications/Banner/Banner.js.map +1 -0
- package/lib/module/components/notifications/Banner/Banner.types.js +2 -0
- package/lib/module/components/notifications/Banner/Banner.types.js.map +1 -0
- package/lib/module/components/notifications/Banner/index.js +3 -0
- package/lib/module/components/notifications/Banner/index.js.map +1 -0
- package/lib/module/components/notifications/Banner/themes/dark.js +41 -0
- package/lib/module/components/notifications/Banner/themes/dark.js.map +1 -0
- package/lib/module/components/notifications/Banner/themes/index.js +4 -0
- package/lib/module/components/notifications/Banner/themes/index.js.map +1 -0
- package/lib/module/components/notifications/Banner/themes/light.js +41 -0
- package/lib/module/components/notifications/Banner/themes/light.js.map +1 -0
- package/lib/module/components/typographies/Body/Body.js +29 -0
- package/lib/module/components/typographies/Body/Body.js.map +1 -0
- package/lib/module/components/typographies/Body/index.js +3 -0
- package/lib/module/components/typographies/Body/index.js.map +1 -0
- package/lib/module/components/typographies/ButtonTitle/ButtonTitle.js +39 -0
- package/lib/module/components/typographies/ButtonTitle/ButtonTitle.js.map +1 -0
- package/lib/module/components/typographies/ButtonTitle/index.js +3 -0
- package/lib/module/components/typographies/ButtonTitle/index.js.map +1 -0
- package/lib/module/components/typographies/Callout/Callout.js +29 -0
- package/lib/module/components/typographies/Callout/Callout.js.map +1 -0
- package/lib/module/components/typographies/Callout/index.js +3 -0
- package/lib/module/components/typographies/Callout/index.js.map +1 -0
- package/lib/module/components/typographies/CaptionOne/CaptionOne.js +29 -0
- package/lib/module/components/typographies/CaptionOne/CaptionOne.js.map +1 -0
- package/lib/module/components/typographies/CaptionOne/index.js +3 -0
- package/lib/module/components/typographies/CaptionOne/index.js.map +1 -0
- package/lib/module/components/typographies/CaptionTwo/CaptionTwo.js +29 -0
- package/lib/module/components/typographies/CaptionTwo/CaptionTwo.js.map +1 -0
- package/lib/module/components/typographies/CaptionTwo/index.js +3 -0
- package/lib/module/components/typographies/CaptionTwo/index.js.map +1 -0
- package/lib/module/components/typographies/Footnote/Footnote.js +29 -0
- package/lib/module/components/typographies/Footnote/Footnote.js.map +1 -0
- package/lib/module/components/typographies/Footnote/index.js +3 -0
- package/lib/module/components/typographies/Footnote/index.js.map +1 -0
- package/lib/module/components/typographies/Headline/Headline.js +29 -0
- package/lib/module/components/typographies/Headline/Headline.js.map +1 -0
- package/lib/module/components/typographies/Headline/index.js +3 -0
- package/lib/module/components/typographies/Headline/index.js.map +1 -0
- package/lib/module/components/typographies/LargeTitle/LargeTitle.js +29 -0
- package/lib/module/components/typographies/LargeTitle/LargeTitle.js.map +1 -0
- package/lib/module/components/typographies/LargeTitle/index.js +3 -0
- package/lib/module/components/typographies/LargeTitle/index.js.map +1 -0
- package/lib/module/components/typographies/README.md +22 -0
- package/lib/module/components/typographies/Subhead/Subhead.js +29 -0
- package/lib/module/components/typographies/Subhead/Subhead.js.map +1 -0
- package/lib/module/components/typographies/Subhead/index.js +3 -0
- package/lib/module/components/typographies/Subhead/index.js.map +1 -0
- package/lib/module/components/typographies/TitleOne/TitleOne.js +29 -0
- package/lib/module/components/typographies/TitleOne/TitleOne.js.map +1 -0
- package/lib/module/components/typographies/TitleOne/index.js +3 -0
- package/lib/module/components/typographies/TitleOne/index.js.map +1 -0
- package/lib/module/components/typographies/TitleThree/TitleThree.js +29 -0
- package/lib/module/components/typographies/TitleThree/TitleThree.js.map +1 -0
- package/lib/module/components/typographies/TitleThree/index.js +3 -0
- package/lib/module/components/typographies/TitleThree/index.js.map +1 -0
- package/lib/module/components/typographies/TitleTwo/TitleTwo.js +29 -0
- package/lib/module/components/typographies/TitleTwo/TitleTwo.js.map +1 -0
- package/lib/module/components/typographies/TitleTwo/index.js +3 -0
- package/lib/module/components/typographies/TitleTwo/index.js.map +1 -0
- package/lib/module/components/typographies/font.js +26 -0
- package/lib/module/components/typographies/font.js.map +1 -0
- package/lib/module/hooks/useTheme.js +16 -0
- package/lib/module/hooks/useTheme.js.map +1 -0
- package/lib/module/index.js +26 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/providers/DesignSystemProvider/DesignSystemProvider.js +22 -0
- package/lib/module/providers/DesignSystemProvider/DesignSystemProvider.js.map +1 -0
- package/lib/module/providers/DesignSystemProvider/index.js +3 -0
- package/lib/module/providers/DesignSystemProvider/index.js.map +1 -0
- package/lib/module/providers/IconProvider/IconProvider.js +27 -0
- package/lib/module/providers/IconProvider/IconProvider.js.map +1 -0
- package/lib/module/providers/IconProvider/index.js +3 -0
- package/lib/module/providers/IconProvider/index.js.map +1 -0
- package/lib/module/providers/ThemeProvider/ThemeProvider.js +13 -0
- package/lib/module/providers/ThemeProvider/ThemeProvider.js.map +1 -0
- package/lib/module/styles/calendarTheme.js +2 -0
- package/lib/module/styles/calendarTheme.js.map +1 -0
- package/lib/module/styles/colors.js +103 -0
- package/lib/module/styles/colors.js.map +1 -0
- package/lib/module/styles/globalStyles.js +35 -0
- package/lib/module/styles/globalStyles.js.map +1 -0
- package/lib/module/styles/space.js +28 -0
- package/lib/module/styles/space.js.map +1 -0
- package/lib/module/styles/theme.js +414 -0
- package/lib/module/styles/theme.js.map +1 -0
- package/lib/module/utils/locale.js +42 -0
- package/lib/module/utils/locale.js.map +1 -0
- package/lib/package.json +138 -0
- package/lib/typescript/components/Tag/Tag.d.ts +13 -0
- package/lib/typescript/components/Tag/Tag.d.ts.map +1 -0
- package/lib/typescript/components/Tag/index.d.ts +3 -0
- package/lib/typescript/components/Tag/index.d.ts.map +1 -0
- package/lib/typescript/components/Touchable/Touchable.d.ts +16 -0
- package/lib/typescript/components/Touchable/Touchable.d.ts.map +1 -0
- package/lib/typescript/components/Touchable/index.d.ts +3 -0
- package/lib/typescript/components/Touchable/index.d.ts.map +1 -0
- package/lib/typescript/components/base/DatePicker/DatePicker.d.ts +60 -0
- package/lib/typescript/components/base/DatePicker/DatePicker.d.ts.map +1 -0
- package/lib/typescript/components/base/DatePicker/index.d.ts +4 -0
- package/lib/typescript/components/base/DatePicker/index.d.ts.map +1 -0
- package/lib/typescript/components/base/HeaderArrows/HeaderArrows.d.ts +16 -0
- package/lib/typescript/components/base/HeaderArrows/HeaderArrows.d.ts.map +1 -0
- package/lib/typescript/components/base/HeaderArrows/index.d.ts +3 -0
- package/lib/typescript/components/base/HeaderArrows/index.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/FicButton.d.ts +5 -0
- package/lib/typescript/components/buttons/FicButton/FicButton.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/FicButton.types.d.ts +87 -0
- package/lib/typescript/components/buttons/FicButton/FicButton.types.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/FicButtonIcon.d.ts +5 -0
- package/lib/typescript/components/buttons/FicButton/FicButtonIcon.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/FicButtonPrimary.d.ts +5 -0
- package/lib/typescript/components/buttons/FicButton/FicButtonPrimary.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/FicButtonSecondary.d.ts +5 -0
- package/lib/typescript/components/buttons/FicButton/FicButtonSecondary.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/FicButtonTertiary.d.ts +5 -0
- package/lib/typescript/components/buttons/FicButton/FicButtonTertiary.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/constants.d.ts +13 -0
- package/lib/typescript/components/buttons/FicButton/constants.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/index.d.ts +5 -0
- package/lib/typescript/components/buttons/FicButton/index.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/themes/dark.d.ts +4 -0
- package/lib/typescript/components/buttons/FicButton/themes/dark.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/themes/index.d.ts +3 -0
- package/lib/typescript/components/buttons/FicButton/themes/index.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButton/themes/light.d.ts +4 -0
- package/lib/typescript/components/buttons/FicButton/themes/light.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.d.ts +5 -0
- package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts +10 -0
- package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts.map +1 -0
- package/lib/typescript/components/buttons/FicButtonGroup/index.d.ts +3 -0
- package/lib/typescript/components/buttons/FicButtonGroup/index.d.ts.map +1 -0
- package/lib/typescript/components/notifications/Banner/Banner.d.ts +5 -0
- package/lib/typescript/components/notifications/Banner/Banner.d.ts.map +1 -0
- package/lib/typescript/components/notifications/Banner/Banner.types.d.ts +50 -0
- package/lib/typescript/components/notifications/Banner/Banner.types.d.ts.map +1 -0
- package/lib/typescript/components/notifications/Banner/index.d.ts +3 -0
- package/lib/typescript/components/notifications/Banner/index.d.ts.map +1 -0
- package/lib/typescript/components/notifications/Banner/themes/dark.d.ts +4 -0
- package/lib/typescript/components/notifications/Banner/themes/dark.d.ts.map +1 -0
- package/lib/typescript/components/notifications/Banner/themes/index.d.ts +4 -0
- package/lib/typescript/components/notifications/Banner/themes/index.d.ts.map +1 -0
- package/lib/typescript/components/notifications/Banner/themes/light.d.ts +4 -0
- package/lib/typescript/components/notifications/Banner/themes/light.d.ts.map +1 -0
- package/lib/typescript/components/typographies/Body/Body.d.ts +12 -0
- package/lib/typescript/components/typographies/Body/Body.d.ts.map +1 -0
- package/lib/typescript/components/typographies/Body/index.d.ts +3 -0
- package/lib/typescript/components/typographies/Body/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/ButtonTitle/ButtonTitle.d.ts +10 -0
- package/lib/typescript/components/typographies/ButtonTitle/ButtonTitle.d.ts.map +1 -0
- package/lib/typescript/components/typographies/ButtonTitle/index.d.ts +3 -0
- package/lib/typescript/components/typographies/ButtonTitle/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/Callout/Callout.d.ts +12 -0
- package/lib/typescript/components/typographies/Callout/Callout.d.ts.map +1 -0
- package/lib/typescript/components/typographies/Callout/index.d.ts +3 -0
- package/lib/typescript/components/typographies/Callout/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/CaptionOne/CaptionOne.d.ts +12 -0
- package/lib/typescript/components/typographies/CaptionOne/CaptionOne.d.ts.map +1 -0
- package/lib/typescript/components/typographies/CaptionOne/index.d.ts +3 -0
- package/lib/typescript/components/typographies/CaptionOne/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/CaptionTwo/CaptionTwo.d.ts +12 -0
- package/lib/typescript/components/typographies/CaptionTwo/CaptionTwo.d.ts.map +1 -0
- package/lib/typescript/components/typographies/CaptionTwo/index.d.ts +3 -0
- package/lib/typescript/components/typographies/CaptionTwo/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/Footnote/Footnote.d.ts +12 -0
- package/lib/typescript/components/typographies/Footnote/Footnote.d.ts.map +1 -0
- package/lib/typescript/components/typographies/Footnote/index.d.ts +3 -0
- package/lib/typescript/components/typographies/Footnote/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/Headline/Headline.d.ts +12 -0
- package/lib/typescript/components/typographies/Headline/Headline.d.ts.map +1 -0
- package/lib/typescript/components/typographies/Headline/index.d.ts +3 -0
- package/lib/typescript/components/typographies/Headline/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/LargeTitle/LargeTitle.d.ts +12 -0
- package/lib/typescript/components/typographies/LargeTitle/LargeTitle.d.ts.map +1 -0
- package/lib/typescript/components/typographies/LargeTitle/index.d.ts +3 -0
- package/lib/typescript/components/typographies/LargeTitle/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/Subhead/Subhead.d.ts +12 -0
- package/lib/typescript/components/typographies/Subhead/Subhead.d.ts.map +1 -0
- package/lib/typescript/components/typographies/Subhead/index.d.ts +3 -0
- package/lib/typescript/components/typographies/Subhead/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/TitleOne/TitleOne.d.ts +12 -0
- package/lib/typescript/components/typographies/TitleOne/TitleOne.d.ts.map +1 -0
- package/lib/typescript/components/typographies/TitleOne/index.d.ts +3 -0
- package/lib/typescript/components/typographies/TitleOne/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/TitleThree/TitleThree.d.ts +12 -0
- package/lib/typescript/components/typographies/TitleThree/TitleThree.d.ts.map +1 -0
- package/lib/typescript/components/typographies/TitleThree/index.d.ts +3 -0
- package/lib/typescript/components/typographies/TitleThree/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/TitleTwo/TitleTwo.d.ts +12 -0
- package/lib/typescript/components/typographies/TitleTwo/TitleTwo.d.ts.map +1 -0
- package/lib/typescript/components/typographies/TitleTwo/index.d.ts +3 -0
- package/lib/typescript/components/typographies/TitleTwo/index.d.ts.map +1 -0
- package/lib/typescript/components/typographies/font.d.ts +9 -0
- package/lib/typescript/components/typographies/font.d.ts.map +1 -0
- package/lib/typescript/hooks/useTheme.d.ts +3 -0
- package/lib/typescript/hooks/useTheme.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +31 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/providers/DesignSystemProvider/DesignSystemProvider.d.ts +10 -0
- package/lib/typescript/providers/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -0
- package/lib/typescript/providers/DesignSystemProvider/index.d.ts +3 -0
- package/lib/typescript/providers/DesignSystemProvider/index.d.ts.map +1 -0
- package/lib/typescript/providers/IconProvider/IconProvider.d.ts +21 -0
- package/lib/typescript/providers/IconProvider/IconProvider.d.ts.map +1 -0
- package/lib/typescript/providers/IconProvider/index.d.ts +4 -0
- package/lib/typescript/providers/IconProvider/index.d.ts.map +1 -0
- package/lib/typescript/providers/ThemeProvider/ThemeProvider.d.ts +9 -0
- package/lib/typescript/providers/ThemeProvider/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/styles/calendarTheme.d.ts +24 -0
- package/lib/typescript/styles/calendarTheme.d.ts.map +1 -0
- package/lib/typescript/styles/colors.d.ts +100 -0
- package/lib/typescript/styles/colors.d.ts.map +1 -0
- package/lib/typescript/styles/globalStyles.d.ts +33 -0
- package/lib/typescript/styles/globalStyles.d.ts.map +1 -0
- package/lib/typescript/styles/space.d.ts +19 -0
- package/lib/typescript/styles/space.d.ts.map +1 -0
- package/lib/typescript/styles/theme.d.ts +183 -0
- package/lib/typescript/styles/theme.d.ts.map +1 -0
- package/lib/typescript/utils/locale.d.ts +15 -0
- package/lib/typescript/utils/locale.d.ts.map +1 -0
- package/package.json +30 -43
- package/src/components/Tag/Tag.tsx +59 -0
- package/src/components/Tag/index.ts +3 -0
- package/src/components/Touchable/Touchable.tsx +110 -0
- package/src/components/Touchable/index.ts +3 -0
- package/src/components/base/DatePicker/DatePicker.tsx +427 -0
- package/src/components/base/DatePicker/index.ts +4 -0
- package/src/components/base/HeaderArrows/HeaderArrows.tsx +93 -0
- package/src/components/base/HeaderArrows/index.ts +3 -0
- package/src/components/buttons/FicButton/FicButton.tsx +41 -0
- package/src/components/buttons/FicButton/FicButton.types.ts +114 -0
- package/src/components/buttons/FicButton/FicButtonIcon.tsx +161 -0
- package/src/components/buttons/FicButton/FicButtonPrimary.tsx +167 -0
- package/src/components/buttons/FicButton/FicButtonSecondary.tsx +168 -0
- package/src/components/buttons/FicButton/FicButtonTertiary.tsx +188 -0
- package/src/components/buttons/FicButton/constants.ts +23 -0
- package/src/components/buttons/FicButton/index.ts +5 -0
- package/src/components/buttons/FicButton/themes/dark.ts +273 -0
- package/src/components/buttons/FicButton/themes/index.ts +3 -0
- package/src/components/buttons/FicButton/themes/light.ts +293 -0
- package/src/components/buttons/FicButtonGroup/FicButtonGroup.tsx +40 -0
- package/src/components/buttons/FicButtonGroup/FicButtonGroup.types.ts +11 -0
- package/src/components/buttons/FicButtonGroup/index.ts +2 -0
- package/src/components/notifications/Banner/Banner.tsx +105 -0
- package/src/components/notifications/Banner/Banner.types.ts +69 -0
- package/src/components/notifications/Banner/index.ts +3 -0
- package/src/components/notifications/Banner/themes/dark.ts +43 -0
- package/src/components/notifications/Banner/themes/index.ts +4 -0
- package/src/components/notifications/Banner/themes/light.ts +43 -0
- package/src/components/typographies/Body/Body.tsx +38 -0
- package/src/components/typographies/Body/index.ts +3 -0
- package/src/components/typographies/ButtonTitle/ButtonTitle.tsx +51 -0
- package/src/components/typographies/ButtonTitle/index.ts +3 -0
- package/src/components/typographies/Callout/Callout.tsx +38 -0
- package/src/components/typographies/Callout/index.ts +3 -0
- package/src/components/typographies/CaptionOne/CaptionOne.tsx +38 -0
- package/src/components/typographies/CaptionOne/index.ts +4 -0
- package/src/components/typographies/CaptionTwo/CaptionTwo.tsx +38 -0
- package/src/components/typographies/CaptionTwo/index.ts +4 -0
- package/src/components/typographies/Footnote/Footnote.tsx +38 -0
- package/src/components/typographies/Footnote/index.ts +4 -0
- package/src/components/typographies/Headline/Headline.tsx +38 -0
- package/src/components/typographies/Headline/index.ts +4 -0
- package/src/components/typographies/LargeTitle/LargeTitle.tsx +38 -0
- package/src/components/typographies/LargeTitle/index.ts +3 -0
- package/src/components/typographies/README.md +22 -0
- package/src/components/typographies/Subhead/Subhead.tsx +38 -0
- package/src/components/typographies/Subhead/index.ts +4 -0
- package/src/components/typographies/TitleOne/TitleOne.tsx +38 -0
- package/src/components/typographies/TitleOne/index.ts +4 -0
- package/src/components/typographies/TitleThree/TitleThree.tsx +38 -0
- package/src/components/typographies/TitleThree/index.ts +4 -0
- package/src/components/typographies/TitleTwo/TitleTwo.tsx +38 -0
- package/src/components/typographies/TitleTwo/index.ts +4 -0
- package/src/components/typographies/font.ts +25 -0
- package/src/hooks/useTheme.ts +17 -0
- package/src/index.tsx +47 -0
- package/src/providers/DesignSystemProvider/DesignSystemProvider.tsx +31 -0
- package/src/providers/DesignSystemProvider/index.ts +3 -0
- package/src/providers/IconProvider/IconProvider.tsx +46 -0
- package/src/providers/IconProvider/index.ts +4 -0
- package/src/providers/ThemeProvider/ThemeProvider.tsx +17 -0
- package/src/styles/calendarTheme.ts +24 -0
- package/src/styles/colors.ts +119 -0
- package/src/styles/globalStyles.ts +36 -0
- package/src/styles/space.ts +27 -0
- package/src/styles/theme.ts +609 -0
- package/src/utils/locale.ts +50 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ICON_SIZE_BIG = exports.ICON_HORIZONTAL_MARGIN = exports.HIT_SLOP = exports.FONT_SIZE = exports.DEFAULT_TITLE = exports.DEFAULT_PRESSED_BG_COLOR = exports.DEFAULT_ICON_SIZE = exports.DEFAULT_ICON = exports.BUTTON_INTERNAL_PADDING_HORIZONTAL = void 0;
|
|
7
|
+
var _colors = require("../../../styles/colors");
|
|
8
|
+
var _space = require("../../../styles/space");
|
|
9
|
+
const FONT_SIZE = exports.FONT_SIZE = 17;
|
|
10
|
+
const ICON_HORIZONTAL_MARGIN = exports.ICON_HORIZONTAL_MARGIN = 8;
|
|
11
|
+
const ICON_SIZE_BIG = exports.ICON_SIZE_BIG = 24;
|
|
12
|
+
const DEFAULT_ICON_SIZE = exports.DEFAULT_ICON_SIZE = 16;
|
|
13
|
+
const DEFAULT_PRESSED_BG_COLOR = exports.DEFAULT_PRESSED_BG_COLOR = _colors.Colors.GREY_2;
|
|
14
|
+
const DEFAULT_TITLE = exports.DEFAULT_TITLE = 'Button';
|
|
15
|
+
const DEFAULT_ICON = exports.DEFAULT_ICON = 'heart';
|
|
16
|
+
const BUTTON_INTERNAL_PADDING_HORIZONTAL = exports.BUTTON_INTERNAL_PADDING_HORIZONTAL = _space.PADDING.LG;
|
|
17
|
+
const HIT_SLOP = exports.HIT_SLOP = {
|
|
18
|
+
top: 16,
|
|
19
|
+
left: 16,
|
|
20
|
+
right: 16,
|
|
21
|
+
bottom: 16
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_colors","require","_space","FONT_SIZE","exports","ICON_HORIZONTAL_MARGIN","ICON_SIZE_BIG","DEFAULT_ICON_SIZE","DEFAULT_PRESSED_BG_COLOR","Colors","GREY_2","DEFAULT_TITLE","DEFAULT_ICON","BUTTON_INTERNAL_PADDING_HORIZONTAL","PADDING","LG","HIT_SLOP","top","left","right","bottom"],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButton/constants.ts"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAG,EAAE;AAEpB,MAAME,sBAAsB,GAAAD,OAAA,CAAAC,sBAAA,GAAG,CAAC;AAChC,MAAMC,aAAa,GAAAF,OAAA,CAAAE,aAAA,GAAG,EAAE;AAExB,MAAMC,iBAAiB,GAAAH,OAAA,CAAAG,iBAAA,GAAG,EAAE;AAC5B,MAAMC,wBAAwB,GAAAJ,OAAA,CAAAI,wBAAA,GAAGC,cAAM,CAACC,MAAM;AAE9C,MAAMC,aAAa,GAAAP,OAAA,CAAAO,aAAA,GAAG,QAAQ;AAC9B,MAAMC,YAAY,GAAAR,OAAA,CAAAQ,YAAA,GAAG,OAAO;AAE5B,MAAMC,kCAAkC,GAAAT,OAAA,CAAAS,kCAAA,GAAGC,cAAO,CAACC,EAAE;AAErD,MAAMC,QAAgB,GAAAZ,OAAA,CAAAY,QAAA,GAAG;EAC9BC,GAAG,EAAE,EAAE;EACPC,IAAI,EAAE,EAAE;EACRC,KAAK,EAAE,EAAE;EACTC,MAAM,EAAE;AACV,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "FicButton", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _FicButton.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _FicButton = _interopRequireDefault(require("./FicButton"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_FicButton","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButton/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAoC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _colors = require("../../../../styles/colors");
|
|
8
|
+
var _space = require("../../../../styles/space");
|
|
9
|
+
var _constants = require("../constants");
|
|
10
|
+
const defaultContainerProps = {
|
|
11
|
+
flexDirection: 'row',
|
|
12
|
+
alignSelf: 'flex-start',
|
|
13
|
+
justifyContent: 'center',
|
|
14
|
+
alignContent: 'center',
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
borderRadius: _space.BORDER_RADIUS.SM
|
|
17
|
+
};
|
|
18
|
+
const {
|
|
19
|
+
alignContent,
|
|
20
|
+
...defaultIconContainerProps
|
|
21
|
+
} = defaultContainerProps;
|
|
22
|
+
const iconContainerProps = {
|
|
23
|
+
...defaultIconContainerProps,
|
|
24
|
+
borderRadius: 1000,
|
|
25
|
+
alignSelf: 'center'
|
|
26
|
+
};
|
|
27
|
+
const ficButtonDarkTheme = {
|
|
28
|
+
primary: {
|
|
29
|
+
default: {
|
|
30
|
+
container: {
|
|
31
|
+
...defaultContainerProps,
|
|
32
|
+
backgroundColor: _colors.Colors.AZURE_K
|
|
33
|
+
},
|
|
34
|
+
text: {
|
|
35
|
+
color: _colors.Colors.ELEVATION_1
|
|
36
|
+
},
|
|
37
|
+
icon: {
|
|
38
|
+
color: _colors.Colors.ELEVATION_1
|
|
39
|
+
},
|
|
40
|
+
pressedStyle: {
|
|
41
|
+
container: {
|
|
42
|
+
...defaultContainerProps,
|
|
43
|
+
backgroundColor: _colors.Colors.AZURE_K_D1
|
|
44
|
+
},
|
|
45
|
+
text: {
|
|
46
|
+
color: _colors.Colors.ELEVATION_1
|
|
47
|
+
},
|
|
48
|
+
icon: {
|
|
49
|
+
color: _colors.Colors.ELEVATION_1
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
disabled: {
|
|
54
|
+
container: {
|
|
55
|
+
...defaultContainerProps,
|
|
56
|
+
backgroundColor: _colors.Colors.ELEVATION_4
|
|
57
|
+
},
|
|
58
|
+
text: {
|
|
59
|
+
color: _colors.Colors.ELEVATION_2
|
|
60
|
+
},
|
|
61
|
+
icon: {
|
|
62
|
+
color: _colors.Colors.ELEVATION_2
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
error: {
|
|
66
|
+
container: {
|
|
67
|
+
...defaultContainerProps,
|
|
68
|
+
backgroundColor: _colors.Colors.RED
|
|
69
|
+
},
|
|
70
|
+
text: {
|
|
71
|
+
color: _colors.Colors.WHITE
|
|
72
|
+
},
|
|
73
|
+
icon: {
|
|
74
|
+
color: _colors.Colors.WHITE
|
|
75
|
+
},
|
|
76
|
+
pressedStyle: {
|
|
77
|
+
container: {
|
|
78
|
+
...defaultContainerProps,
|
|
79
|
+
backgroundColor: _colors.Colors.RED_D1
|
|
80
|
+
},
|
|
81
|
+
text: {
|
|
82
|
+
color: _colors.Colors.WHITE
|
|
83
|
+
},
|
|
84
|
+
icon: {
|
|
85
|
+
color: _colors.Colors.WHITE
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
secondary: {
|
|
91
|
+
default: {
|
|
92
|
+
container: {
|
|
93
|
+
...defaultContainerProps,
|
|
94
|
+
backgroundColor: _colors.Colors.ELEVATION_1,
|
|
95
|
+
borderWidth: 1,
|
|
96
|
+
borderColor: _colors.Colors.AZURE_K
|
|
97
|
+
},
|
|
98
|
+
text: {
|
|
99
|
+
color: _colors.Colors.AZURE_K
|
|
100
|
+
},
|
|
101
|
+
icon: {
|
|
102
|
+
color: _colors.Colors.AZURE_K
|
|
103
|
+
},
|
|
104
|
+
pressedStyle: {
|
|
105
|
+
container: {
|
|
106
|
+
...defaultContainerProps,
|
|
107
|
+
backgroundColor: _colors.Colors.ELEVATION_2,
|
|
108
|
+
borderWidth: 1,
|
|
109
|
+
borderColor: _colors.Colors.AZURE_K
|
|
110
|
+
},
|
|
111
|
+
text: {
|
|
112
|
+
color: _colors.Colors.AZURE_K
|
|
113
|
+
},
|
|
114
|
+
icon: {
|
|
115
|
+
color: _colors.Colors.AZURE_K
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
disabled: {
|
|
120
|
+
container: {
|
|
121
|
+
...defaultContainerProps,
|
|
122
|
+
backgroundColor: _colors.Colors.ELEVATION_1,
|
|
123
|
+
borderWidth: 1,
|
|
124
|
+
borderColor: _colors.Colors.ELEVATION_4
|
|
125
|
+
},
|
|
126
|
+
text: {
|
|
127
|
+
color: _colors.Colors.ELEVATION_4
|
|
128
|
+
},
|
|
129
|
+
icon: {
|
|
130
|
+
color: _colors.Colors.ELEVATION_4
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
error: {
|
|
134
|
+
container: {
|
|
135
|
+
...defaultContainerProps,
|
|
136
|
+
backgroundColor: _colors.Colors.ELEVATION_1,
|
|
137
|
+
borderWidth: 1,
|
|
138
|
+
borderColor: _colors.Colors.RED_K_D1
|
|
139
|
+
},
|
|
140
|
+
text: {
|
|
141
|
+
color: _colors.Colors.RED_K_D1
|
|
142
|
+
},
|
|
143
|
+
icon: {
|
|
144
|
+
color: _colors.Colors.RED_K_D1
|
|
145
|
+
},
|
|
146
|
+
pressedStyle: {
|
|
147
|
+
container: {
|
|
148
|
+
...defaultContainerProps,
|
|
149
|
+
backgroundColor: _colors.Colors.ELEVATION_2,
|
|
150
|
+
borderWidth: 1,
|
|
151
|
+
borderColor: _colors.Colors.RED_K_D1
|
|
152
|
+
},
|
|
153
|
+
text: {
|
|
154
|
+
color: _colors.Colors.RED_K_D1
|
|
155
|
+
},
|
|
156
|
+
icon: {
|
|
157
|
+
color: _colors.Colors.RED_K_D1
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
tertiary: {
|
|
163
|
+
default: {
|
|
164
|
+
container: {
|
|
165
|
+
...defaultContainerProps,
|
|
166
|
+
alignSelf: 'center'
|
|
167
|
+
},
|
|
168
|
+
text: {
|
|
169
|
+
textDecorationLine: 'underline',
|
|
170
|
+
fontSize: _constants.FONT_SIZE,
|
|
171
|
+
color: _colors.Colors.AZURE_K
|
|
172
|
+
},
|
|
173
|
+
icon: {
|
|
174
|
+
color: _colors.Colors.AZURE_K
|
|
175
|
+
},
|
|
176
|
+
pressedStyle: {
|
|
177
|
+
container: {
|
|
178
|
+
...defaultContainerProps,
|
|
179
|
+
alignSelf: 'center',
|
|
180
|
+
backgroundColor: _colors.Colors.ELEVATION_4
|
|
181
|
+
},
|
|
182
|
+
text: {
|
|
183
|
+
textDecorationLine: 'underline',
|
|
184
|
+
fontSize: _constants.FONT_SIZE,
|
|
185
|
+
color: _colors.Colors.AZURE_K
|
|
186
|
+
},
|
|
187
|
+
icon: {
|
|
188
|
+
color: _colors.Colors.AZURE_K
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
disabled: {
|
|
193
|
+
container: {
|
|
194
|
+
...defaultContainerProps
|
|
195
|
+
},
|
|
196
|
+
text: {
|
|
197
|
+
textDecorationLine: 'underline',
|
|
198
|
+
fontSize: _constants.FONT_SIZE,
|
|
199
|
+
color: _colors.Colors.ELEVATION_4
|
|
200
|
+
},
|
|
201
|
+
icon: {
|
|
202
|
+
color: _colors.Colors.ELEVATION_4
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
error: {
|
|
206
|
+
container: {
|
|
207
|
+
...defaultContainerProps,
|
|
208
|
+
alignSelf: 'center'
|
|
209
|
+
},
|
|
210
|
+
text: {
|
|
211
|
+
textDecorationLine: 'underline',
|
|
212
|
+
fontSize: _constants.FONT_SIZE,
|
|
213
|
+
color: _colors.Colors.RED_K_D1
|
|
214
|
+
},
|
|
215
|
+
icon: {
|
|
216
|
+
color: _colors.Colors.RED_K_D1
|
|
217
|
+
},
|
|
218
|
+
pressedStyle: {
|
|
219
|
+
container: {
|
|
220
|
+
...defaultContainerProps,
|
|
221
|
+
alignSelf: 'center',
|
|
222
|
+
backgroundColor: _colors.Colors.ELEVATION_4
|
|
223
|
+
},
|
|
224
|
+
text: {
|
|
225
|
+
textDecorationLine: 'underline',
|
|
226
|
+
fontSize: _constants.FONT_SIZE,
|
|
227
|
+
color: _colors.Colors.RED_K_D1
|
|
228
|
+
},
|
|
229
|
+
icon: {
|
|
230
|
+
color: _colors.Colors.RED_K_D1
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
icon: {
|
|
236
|
+
default: {
|
|
237
|
+
container: {
|
|
238
|
+
...iconContainerProps,
|
|
239
|
+
alignSelf: 'flex-start'
|
|
240
|
+
},
|
|
241
|
+
text: {},
|
|
242
|
+
icon: {
|
|
243
|
+
color: _colors.Colors.WHITE_80
|
|
244
|
+
},
|
|
245
|
+
pressedStyle: {
|
|
246
|
+
container: {
|
|
247
|
+
backgroundColor: _colors.Colors.ELEVATION_4,
|
|
248
|
+
justifyContent: 'center',
|
|
249
|
+
alignItems: 'center'
|
|
250
|
+
},
|
|
251
|
+
text: {},
|
|
252
|
+
icon: {
|
|
253
|
+
color: _colors.Colors.WHITE_80
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
disabled: {
|
|
258
|
+
container: {
|
|
259
|
+
...iconContainerProps
|
|
260
|
+
},
|
|
261
|
+
text: {},
|
|
262
|
+
icon: {
|
|
263
|
+
color: _colors.Colors.ELEVATION_4
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
error: {
|
|
267
|
+
container: {
|
|
268
|
+
...iconContainerProps
|
|
269
|
+
},
|
|
270
|
+
text: {},
|
|
271
|
+
icon: {
|
|
272
|
+
color: _colors.Colors.RED_K_D1
|
|
273
|
+
},
|
|
274
|
+
pressedStyle: {
|
|
275
|
+
container: {
|
|
276
|
+
position: 'absolute',
|
|
277
|
+
justifyContent: 'center',
|
|
278
|
+
alignItems: 'center',
|
|
279
|
+
borderRadius: 1000,
|
|
280
|
+
backgroundColor: _colors.Colors.ELEVATION_4
|
|
281
|
+
},
|
|
282
|
+
text: {},
|
|
283
|
+
icon: {
|
|
284
|
+
color: _colors.Colors.RED_K_D1
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
var _default = exports.default = ficButtonDarkTheme;
|
|
291
|
+
//# sourceMappingURL=dark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_colors","require","_space","_constants","defaultContainerProps","flexDirection","alignSelf","justifyContent","alignContent","alignItems","borderRadius","BORDER_RADIUS","SM","defaultIconContainerProps","iconContainerProps","ficButtonDarkTheme","primary","default","container","backgroundColor","Colors","AZURE_K","text","color","ELEVATION_1","icon","pressedStyle","AZURE_K_D1","disabled","ELEVATION_4","ELEVATION_2","error","RED","WHITE","RED_D1","secondary","borderWidth","borderColor","RED_K_D1","tertiary","textDecorationLine","fontSize","FONT_SIZE","WHITE_80","position","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/buttons/FicButton/themes/dark.ts"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,UAAA,GAAAF,OAAA;AAEA,MAAMG,qBAAuC,GAAG;EAC9CC,aAAa,EAAE,KAAK;EACpB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F;IACF,CAAC;IACDf,QAAQ,EAAE;MACRV,SAAS,EAAE;QAAE,GAAGJ;MAAmB,CAAC;MACpCQ,IAAI,EAAE,CAAC,CAAC;MACRG,IAAI,EAAE;QACJF,KAAK,EAAEH,cAAM,CAACS;MAChB;IACF,CAAC;IACDE,KAAK,EAAE;MACLb,SAAS,EAAE;QAAE,GAAGJ;MAAmB,CAAC;MACpCQ,IAAI,EAAE,CAAC,CAAC;MACRG,IAAI,EAAE;QACJF,KAAK,EAAEH,cAAM,CAACkB;MAChB,CAAC;MACDZ,YAAY,EAAE;QACZR,SAAS,EAAE;UACT0B,QAAQ,EAAE,UAAU;UACpBrC,cAAc,EAAE,QAAQ;UACxBE,UAAU,EAAE,QAAQ;UACpBC,YAAY,EAAE,IAAI;UAClBS,eAAe,EAAEC,cAAM,CAACS;QAC1B,CAAC;QACDP,IAAI,EAAE,CAAC,CAAC;QACRG,IAAI,EAAE;UACJF,KAAK,EAAEH,cAAM,CAACkB;QAChB;MACF;IACF;EACF;AACF,CAAC;AAAC,IAAAO,QAAA,GAAAC,OAAA,CAAA7B,OAAA,GAEaF,kBAAkB","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "ficButtonLightTheme", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _light.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _light = _interopRequireDefault(require("./light"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_light","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../../src","sources":["components/buttons/FicButton/themes/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _colors = require("../../../../styles/colors");
|
|
8
|
+
var _space = require("../../../../styles/space");
|
|
9
|
+
var _constants = require("../constants");
|
|
10
|
+
const defaultContainerProps = {
|
|
11
|
+
flexDirection: 'row',
|
|
12
|
+
alignSelf: 'flex-start',
|
|
13
|
+
justifyContent: 'center',
|
|
14
|
+
alignContent: 'center',
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
borderRadius: _space.BORDER_RADIUS.SM
|
|
17
|
+
};
|
|
18
|
+
const {
|
|
19
|
+
alignContent,
|
|
20
|
+
...defaultIconContainerProps
|
|
21
|
+
} = defaultContainerProps;
|
|
22
|
+
const iconContainerProps = {
|
|
23
|
+
...defaultIconContainerProps,
|
|
24
|
+
borderRadius: 1000,
|
|
25
|
+
alignSelf: 'center'
|
|
26
|
+
};
|
|
27
|
+
const ficButtonLightTheme = {
|
|
28
|
+
primary: {
|
|
29
|
+
default: {
|
|
30
|
+
container: {
|
|
31
|
+
...defaultContainerProps,
|
|
32
|
+
backgroundColor: _colors.Colors.AZURE
|
|
33
|
+
},
|
|
34
|
+
text: {
|
|
35
|
+
fontSize: _constants.FONT_SIZE,
|
|
36
|
+
color: _colors.Colors.WHITE
|
|
37
|
+
},
|
|
38
|
+
icon: {
|
|
39
|
+
color: _colors.Colors.WHITE
|
|
40
|
+
},
|
|
41
|
+
pressedStyle: {
|
|
42
|
+
container: {
|
|
43
|
+
...defaultContainerProps,
|
|
44
|
+
backgroundColor: _colors.Colors.AZURE_D1
|
|
45
|
+
},
|
|
46
|
+
text: {
|
|
47
|
+
fontSize: _constants.FONT_SIZE,
|
|
48
|
+
color: _colors.Colors.WHITE
|
|
49
|
+
},
|
|
50
|
+
icon: {
|
|
51
|
+
color: _colors.Colors.WHITE
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
disabled: {
|
|
56
|
+
container: {
|
|
57
|
+
...defaultContainerProps,
|
|
58
|
+
backgroundColor: _colors.Colors.GREY_2
|
|
59
|
+
},
|
|
60
|
+
text: {
|
|
61
|
+
fontSize: _constants.FONT_SIZE,
|
|
62
|
+
color: _colors.Colors.GREY_3
|
|
63
|
+
},
|
|
64
|
+
icon: {
|
|
65
|
+
color: _colors.Colors.GREY_3
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
error: {
|
|
69
|
+
container: {
|
|
70
|
+
...defaultContainerProps,
|
|
71
|
+
backgroundColor: _colors.Colors.RED
|
|
72
|
+
},
|
|
73
|
+
text: {
|
|
74
|
+
fontSize: _constants.FONT_SIZE,
|
|
75
|
+
color: _colors.Colors.WHITE
|
|
76
|
+
},
|
|
77
|
+
icon: {
|
|
78
|
+
color: _colors.Colors.WHITE
|
|
79
|
+
},
|
|
80
|
+
pressedStyle: {
|
|
81
|
+
container: {
|
|
82
|
+
...defaultContainerProps,
|
|
83
|
+
backgroundColor: _colors.Colors.RED_D2
|
|
84
|
+
},
|
|
85
|
+
text: {
|
|
86
|
+
fontSize: _constants.FONT_SIZE,
|
|
87
|
+
color: _colors.Colors.WHITE
|
|
88
|
+
},
|
|
89
|
+
icon: {
|
|
90
|
+
color: _colors.Colors.WHITE
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
secondary: {
|
|
96
|
+
default: {
|
|
97
|
+
container: {
|
|
98
|
+
...defaultContainerProps,
|
|
99
|
+
backgroundColor: _colors.Colors.WHITE,
|
|
100
|
+
borderWidth: 1,
|
|
101
|
+
borderColor: _colors.Colors.AZURE
|
|
102
|
+
},
|
|
103
|
+
text: {
|
|
104
|
+
fontSize: _constants.FONT_SIZE,
|
|
105
|
+
color: _colors.Colors.AZURE
|
|
106
|
+
},
|
|
107
|
+
icon: {
|
|
108
|
+
color: _colors.Colors.AZURE
|
|
109
|
+
},
|
|
110
|
+
pressedStyle: {
|
|
111
|
+
container: {
|
|
112
|
+
...defaultContainerProps,
|
|
113
|
+
backgroundColor: _colors.Colors.GREY_2,
|
|
114
|
+
borderWidth: 1,
|
|
115
|
+
borderColor: _colors.Colors.AZURE
|
|
116
|
+
},
|
|
117
|
+
text: {
|
|
118
|
+
fontSize: _constants.FONT_SIZE,
|
|
119
|
+
color: _colors.Colors.AZURE
|
|
120
|
+
},
|
|
121
|
+
icon: {
|
|
122
|
+
color: _colors.Colors.AZURE
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
disabled: {
|
|
127
|
+
container: {
|
|
128
|
+
...defaultContainerProps,
|
|
129
|
+
backgroundColor: _colors.Colors.WHITE,
|
|
130
|
+
borderWidth: 1,
|
|
131
|
+
borderColor: _colors.Colors.GREY_3
|
|
132
|
+
},
|
|
133
|
+
text: {
|
|
134
|
+
fontSize: _constants.FONT_SIZE,
|
|
135
|
+
color: _colors.Colors.GREY_3
|
|
136
|
+
},
|
|
137
|
+
icon: {
|
|
138
|
+
color: _colors.Colors.GREY_3
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
error: {
|
|
142
|
+
container: {
|
|
143
|
+
...defaultContainerProps,
|
|
144
|
+
backgroundColor: _colors.Colors.WHITE,
|
|
145
|
+
borderWidth: 1,
|
|
146
|
+
borderColor: _colors.Colors.RED
|
|
147
|
+
},
|
|
148
|
+
text: {
|
|
149
|
+
fontSize: _constants.FONT_SIZE,
|
|
150
|
+
color: _colors.Colors.RED
|
|
151
|
+
},
|
|
152
|
+
icon: {
|
|
153
|
+
color: _colors.Colors.RED
|
|
154
|
+
},
|
|
155
|
+
pressedStyle: {
|
|
156
|
+
container: {
|
|
157
|
+
...defaultContainerProps,
|
|
158
|
+
backgroundColor: _colors.Colors.RED_L1,
|
|
159
|
+
borderWidth: 1,
|
|
160
|
+
borderColor: _colors.Colors.RED
|
|
161
|
+
},
|
|
162
|
+
text: {
|
|
163
|
+
fontSize: _constants.FONT_SIZE,
|
|
164
|
+
color: _colors.Colors.RED
|
|
165
|
+
},
|
|
166
|
+
icon: {
|
|
167
|
+
color: _colors.Colors.RED
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
tertiary: {
|
|
173
|
+
default: {
|
|
174
|
+
container: {
|
|
175
|
+
...defaultContainerProps,
|
|
176
|
+
alignSelf: 'center'
|
|
177
|
+
},
|
|
178
|
+
text: {
|
|
179
|
+
textDecorationLine: 'underline',
|
|
180
|
+
fontSize: _constants.FONT_SIZE,
|
|
181
|
+
color: _colors.Colors.AZURE,
|
|
182
|
+
colorContrastForLightTheme: _colors.Colors.WHITE
|
|
183
|
+
},
|
|
184
|
+
icon: {
|
|
185
|
+
color: _colors.Colors.AZURE,
|
|
186
|
+
colorContrastForLightTheme: _colors.Colors.WHITE
|
|
187
|
+
},
|
|
188
|
+
pressedStyle: {
|
|
189
|
+
container: {
|
|
190
|
+
...defaultContainerProps,
|
|
191
|
+
alignSelf: 'center',
|
|
192
|
+
backgroundColor: _colors.Colors.BLACK_08
|
|
193
|
+
},
|
|
194
|
+
text: {
|
|
195
|
+
textDecorationLine: 'underline',
|
|
196
|
+
fontSize: _constants.FONT_SIZE,
|
|
197
|
+
color: _colors.Colors.AZURE,
|
|
198
|
+
colorContrastForLightTheme: _colors.Colors.WHITE
|
|
199
|
+
},
|
|
200
|
+
icon: {
|
|
201
|
+
color: _colors.Colors.AZURE,
|
|
202
|
+
colorContrastForLightTheme: _colors.Colors.WHITE
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
disabled: {
|
|
207
|
+
container: {
|
|
208
|
+
...defaultContainerProps
|
|
209
|
+
},
|
|
210
|
+
text: {
|
|
211
|
+
textDecorationLine: 'underline',
|
|
212
|
+
fontSize: _constants.FONT_SIZE,
|
|
213
|
+
color: _colors.Colors.GREY_3
|
|
214
|
+
},
|
|
215
|
+
icon: {
|
|
216
|
+
color: _colors.Colors.GREY_3,
|
|
217
|
+
colorContrastForLightTheme: _colors.Colors.WHITE_80
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
error: {
|
|
221
|
+
container: {
|
|
222
|
+
...defaultContainerProps,
|
|
223
|
+
alignSelf: 'center'
|
|
224
|
+
},
|
|
225
|
+
text: {
|
|
226
|
+
textDecorationLine: 'underline',
|
|
227
|
+
fontSize: _constants.FONT_SIZE,
|
|
228
|
+
color: _colors.Colors.RED,
|
|
229
|
+
colorContrastForLightTheme: _colors.Colors.RED_L2
|
|
230
|
+
},
|
|
231
|
+
icon: {
|
|
232
|
+
color: _colors.Colors.RED
|
|
233
|
+
},
|
|
234
|
+
pressedStyle: {
|
|
235
|
+
container: {
|
|
236
|
+
...defaultContainerProps,
|
|
237
|
+
alignSelf: 'center',
|
|
238
|
+
backgroundColor: _colors.Colors.RED_L1
|
|
239
|
+
},
|
|
240
|
+
text: {
|
|
241
|
+
textDecorationLine: 'underline',
|
|
242
|
+
fontSize: _constants.FONT_SIZE,
|
|
243
|
+
color: _colors.Colors.RED,
|
|
244
|
+
colorContrastForLightTheme: _colors.Colors.RED_L2
|
|
245
|
+
},
|
|
246
|
+
icon: {
|
|
247
|
+
color: _colors.Colors.RED,
|
|
248
|
+
colorContrastForLightTheme: _colors.Colors.RED_L2
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
icon: {
|
|
254
|
+
default: {
|
|
255
|
+
container: {
|
|
256
|
+
...iconContainerProps,
|
|
257
|
+
alignSelf: 'flex-start'
|
|
258
|
+
},
|
|
259
|
+
text: {},
|
|
260
|
+
icon: {
|
|
261
|
+
color: _colors.Colors.AZURE,
|
|
262
|
+
colorContrastForLightTheme: _colors.Colors.WHITE
|
|
263
|
+
},
|
|
264
|
+
pressedStyle: {
|
|
265
|
+
container: {
|
|
266
|
+
backgroundColor: _colors.Colors.BLACK_08,
|
|
267
|
+
justifyContent: 'center',
|
|
268
|
+
alignItems: 'center'
|
|
269
|
+
},
|
|
270
|
+
text: {},
|
|
271
|
+
icon: {
|
|
272
|
+
color: _colors.Colors.AZURE,
|
|
273
|
+
colorContrastForLightTheme: _colors.Colors.WHITE
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
disabled: {
|
|
278
|
+
container: {
|
|
279
|
+
...iconContainerProps
|
|
280
|
+
},
|
|
281
|
+
text: {},
|
|
282
|
+
icon: {
|
|
283
|
+
color: _colors.Colors.GREY_3,
|
|
284
|
+
colorContrastForLightTheme: _colors.Colors.WHITE_80
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
error: {
|
|
288
|
+
container: {
|
|
289
|
+
...iconContainerProps
|
|
290
|
+
},
|
|
291
|
+
text: {},
|
|
292
|
+
icon: {
|
|
293
|
+
color: _colors.Colors.RED
|
|
294
|
+
},
|
|
295
|
+
pressedStyle: {
|
|
296
|
+
container: {
|
|
297
|
+
justifyContent: 'center',
|
|
298
|
+
alignItems: 'center',
|
|
299
|
+
backgroundColor: _colors.Colors.RED_L1
|
|
300
|
+
},
|
|
301
|
+
text: {},
|
|
302
|
+
icon: {
|
|
303
|
+
color: _colors.Colors.RED,
|
|
304
|
+
colorContrastForLightTheme: _colors.Colors.RED_L2
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
var _default = exports.default = ficButtonLightTheme;
|
|
311
|
+
//# sourceMappingURL=light.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_colors","require","_space","_constants","defaultContainerProps","flexDirection","alignSelf","justifyContent","alignContent","alignItems","borderRadius","BORDER_RADIUS","SM","defaultIconContainerProps","iconContainerProps","ficButtonLightTheme","primary","default","container","backgroundColor","Colors","AZURE","text","fontSize","FONT_SIZE","color","WHITE","icon","pressedStyle","AZURE_D1","disabled","GREY_2","GREY_3","error","RED","RED_D2","secondary","borderWidth","borderColor","RED_L1","tertiary","textDecorationLine","colorContrastForLightTheme","BLACK_08","WHITE_80","RED_L2","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/buttons/FicButton/themes/light.ts"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,UAAA,GAAAF,OAAA;AAEA,MAAMG,qBAAuC,GAAG;EAC9CC,aAAa,EAAE,KAAK;EACpBC,SAAS,EAAE,YAAY;EACvBC,cAAc,EAAE,QAAQ;EACxBC,YAAY,EAAE,QAAQ;EACtBC,UAAU,EAAE,QAAQ;EACpBC,YAAY,EAAEC,oBAAa,CAACC;AAC9B,CAAC;AAED,MAAM;EAAEJ,YAAY;EAAE,GAAGK;AAA0B,CAAC,GAAGT,qBAAqB;AAE5E,MAAMU,kBAAkB,GAAG;EACzB,GAAGD,yBAAyB;EAC5BH,YAAY,EAAE,IAAI;EAClBJ,SAAS,EAAE;AACb,CAAC;AAED,MAAMS,mBAAmC,GAAG;EAC1CC,OAAO,EAAE;IACPC,OAAO,EAAE;MACPC,SAAS,EAAE;QACT,GAAGd,qBAAqB;QACxBe,eAAe,EAAEC,cAAM,CAACC;MAC1B,CAAC;MACDC,IAAI,EAAE;QACJC,QAAQ,EAAEC,oBAAS;QACnBC,KAAK,EAAEL,cAAM,CAACM;MAChB,CAAC;MACDC,IAAI,EAAE;QACJF,KAAK,EAAEL,cAAM,CAACM;MAChB,CAAC;MACDE,YAAY,EAAE;QACZV,SAAS,EAAE;UACT,GAAGd,qBAAqB;UACxBe,eAAe,EAAEC,cAAM,CAACS;QAC1B,CAAC;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