@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,414 @@
|
|
|
1
|
+
// this is the right import but the package does not like it
|
|
2
|
+
// we can use it to extends our CalendarThemeProps
|
|
3
|
+
// import { Theme } from 'react-native-calendars/src/types';
|
|
4
|
+
|
|
5
|
+
import { ficButtonLightTheme } from '../components/buttons/FicButton/themes';
|
|
6
|
+
import ficButtonDarkTheme from '../components/buttons/FicButton/themes/dark';
|
|
7
|
+
import { bannerDarkTheme, bannerLightTheme } from '../components/notifications/Banner/themes';
|
|
8
|
+
import { Colors } from './colors';
|
|
9
|
+
export const ficTheme = {
|
|
10
|
+
banner: bannerLightTheme,
|
|
11
|
+
generic: {
|
|
12
|
+
backgroundLevel0: Colors.WHITE,
|
|
13
|
+
backgroundLevel1: Colors.GREY_1,
|
|
14
|
+
backgroundLevel2: Colors.GREY_2,
|
|
15
|
+
backgroundLevel3: Colors.GREY_3,
|
|
16
|
+
backgroundLevel4: Colors.GREY_4,
|
|
17
|
+
title: Colors.BLACK_80,
|
|
18
|
+
description: Colors.BLACK_64,
|
|
19
|
+
disabledTitle: Colors.BLACK_40,
|
|
20
|
+
disabledDescription: Colors.BLACK_24,
|
|
21
|
+
divider: Colors.GREY_2,
|
|
22
|
+
cardBackground: Colors.WHITE
|
|
23
|
+
},
|
|
24
|
+
primaries: {
|
|
25
|
+
azure: Colors.AZURE,
|
|
26
|
+
red: Colors.RED,
|
|
27
|
+
green: Colors.GREEN,
|
|
28
|
+
yellow: Colors.YELLOW,
|
|
29
|
+
purple: Colors.PURPLE,
|
|
30
|
+
blue: Colors.BLUE
|
|
31
|
+
},
|
|
32
|
+
primariesContrast: {
|
|
33
|
+
azure: Colors.WHITE,
|
|
34
|
+
red: Colors.WHITE,
|
|
35
|
+
green: Colors.WHITE,
|
|
36
|
+
yellow: Colors.BLACK_80,
|
|
37
|
+
purple: Colors.WHITE,
|
|
38
|
+
blue: Colors.WHITE
|
|
39
|
+
},
|
|
40
|
+
primariesLight: {
|
|
41
|
+
azure: Colors.AZURE_L1,
|
|
42
|
+
red: Colors.RED_L1,
|
|
43
|
+
green: Colors.GREEN_L1,
|
|
44
|
+
yellow: Colors.YELLOW_L1,
|
|
45
|
+
purple: Colors.PURPLE_L1,
|
|
46
|
+
blue: Colors.BLUE_L1
|
|
47
|
+
},
|
|
48
|
+
primariesDark: {
|
|
49
|
+
azure: Colors.AZURE_D1,
|
|
50
|
+
red: Colors.RED_D2,
|
|
51
|
+
green: Colors.GREEN_D2,
|
|
52
|
+
yellow: Colors.YELLOW_D2,
|
|
53
|
+
purple: Colors.PURPLE_D1,
|
|
54
|
+
blue: Colors.BLUE_D1
|
|
55
|
+
},
|
|
56
|
+
ficButton: ficButtonLightTheme,
|
|
57
|
+
flatButton: {
|
|
58
|
+
color: Colors.BLACK_80,
|
|
59
|
+
disabledColor: Colors.GREY_2,
|
|
60
|
+
backgroundColor: Colors.WHITE,
|
|
61
|
+
hasShadow: true,
|
|
62
|
+
shadowColor: Colors.BLACK,
|
|
63
|
+
borderRadius: 4,
|
|
64
|
+
disabledStyle: {
|
|
65
|
+
backgroundColor: Colors.GREY_2,
|
|
66
|
+
elevation: 0,
|
|
67
|
+
shadowOffset: {
|
|
68
|
+
width: 0,
|
|
69
|
+
height: 0
|
|
70
|
+
},
|
|
71
|
+
shadowOpacity: 0
|
|
72
|
+
},
|
|
73
|
+
containerStyle: undefined
|
|
74
|
+
},
|
|
75
|
+
gradientButton: {
|
|
76
|
+
isHorizontalGradient: false,
|
|
77
|
+
color: Colors.WHITE,
|
|
78
|
+
disabledColor: Colors.GREY_2,
|
|
79
|
+
backgroundColors: [Colors.AZURE_L2, Colors.AZURE],
|
|
80
|
+
disabledBackgroundColors: [Colors.WHITE, Colors.WHITE],
|
|
81
|
+
hasShadow: true,
|
|
82
|
+
shadowColor: Colors.BLACK,
|
|
83
|
+
borderRadius: 4,
|
|
84
|
+
disabledStyle: undefined,
|
|
85
|
+
containerStyle: undefined
|
|
86
|
+
},
|
|
87
|
+
outlineButton: {
|
|
88
|
+
color: Colors.AZURE,
|
|
89
|
+
disabledColor: Colors.GREY_2,
|
|
90
|
+
backgroundColor: Colors.WHITE,
|
|
91
|
+
disabledBackgroundColor: Colors.WHITE,
|
|
92
|
+
borderColor: Colors.AZURE_L2,
|
|
93
|
+
disabledBorderColor: Colors.WHITE,
|
|
94
|
+
hasShadow: true,
|
|
95
|
+
shadowColor: Colors.BLACK,
|
|
96
|
+
borderRadius: 4,
|
|
97
|
+
disabledStyle: {
|
|
98
|
+
backgroundColor: Colors.GREY_2,
|
|
99
|
+
elevation: 0,
|
|
100
|
+
shadowOffset: {
|
|
101
|
+
width: 0,
|
|
102
|
+
height: 0
|
|
103
|
+
},
|
|
104
|
+
shadowOpacity: 0
|
|
105
|
+
},
|
|
106
|
+
containerStyle: {
|
|
107
|
+
justifyContent: 'center',
|
|
108
|
+
alignItems: 'center',
|
|
109
|
+
alignSelf: 'center',
|
|
110
|
+
height: 40,
|
|
111
|
+
backgroundColor: Colors.WHITE,
|
|
112
|
+
borderRadius: 4
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
textInput: {
|
|
116
|
+
color: Colors.BLACK_64,
|
|
117
|
+
labelColor: Colors.BLACK_40,
|
|
118
|
+
mandatoryIndicatorColor: Colors.RED,
|
|
119
|
+
placeholderColor: Colors.BLACK_40,
|
|
120
|
+
inlineLeadingColor: Colors.BLACK_40,
|
|
121
|
+
fieldIconColor: Colors.BLACK_40,
|
|
122
|
+
borderColor: Colors.GREY_3,
|
|
123
|
+
focusedBorderColor: Colors.AZURE,
|
|
124
|
+
erroredBorderColor: Colors.RED,
|
|
125
|
+
warningBorderColor: Colors.YELLOW_D1,
|
|
126
|
+
disabledBorderColor: 'transparent',
|
|
127
|
+
backgroundColor: Colors.WHITE,
|
|
128
|
+
disabledBackgroundColor: Colors.GREY_1
|
|
129
|
+
},
|
|
130
|
+
typographies: {
|
|
131
|
+
bodyColor: Colors.BLACK_80,
|
|
132
|
+
buttonTitleColor: Colors.BLACK_80,
|
|
133
|
+
calloutColor: Colors.BLACK_64,
|
|
134
|
+
captionOneColor: Colors.BLACK_64,
|
|
135
|
+
captionTwoColor: Colors.BLACK_64,
|
|
136
|
+
footnoteColor: Colors.BLACK_64,
|
|
137
|
+
headlineColor: Colors.BLACK,
|
|
138
|
+
largeTitleColor: Colors.BLACK,
|
|
139
|
+
subheadColor: Colors.BLACK_64,
|
|
140
|
+
titleOneColor: Colors.BLACK,
|
|
141
|
+
titleTwoColor: Colors.BLACK,
|
|
142
|
+
titleThreeColor: Colors.BLACK
|
|
143
|
+
},
|
|
144
|
+
touchables: {
|
|
145
|
+
rippleColors: Colors.GREY_2,
|
|
146
|
+
highlightColor: Colors.GREY_3
|
|
147
|
+
},
|
|
148
|
+
searchBar: {
|
|
149
|
+
color: Colors.BLACK,
|
|
150
|
+
backgroundColor: Colors.GREY_1,
|
|
151
|
+
iconColor: Colors.GREY_4,
|
|
152
|
+
selectionColor: Colors.AZURE,
|
|
153
|
+
useTextColor: Colors.GREY_4,
|
|
154
|
+
errorColor: Colors.RED
|
|
155
|
+
},
|
|
156
|
+
datePickers: {
|
|
157
|
+
calendarBackground: Colors.WHITE,
|
|
158
|
+
backgroundColor: Colors.WHITE,
|
|
159
|
+
arrowColor: Colors.AZURE,
|
|
160
|
+
selectedDayBackgroundColor: Colors.AZURE,
|
|
161
|
+
selectedDayTextColor: Colors.WHITE,
|
|
162
|
+
selectedDotColor: Colors.WHITE,
|
|
163
|
+
dayTextColor: Colors.BLACK,
|
|
164
|
+
monthTextColor: Colors.AZURE,
|
|
165
|
+
todayTextColor: Colors.AZURE,
|
|
166
|
+
todayBackgroundColor: Colors.AZURE_L1,
|
|
167
|
+
textMonthFontWeight: '500',
|
|
168
|
+
textMonthFontSize: 17,
|
|
169
|
+
textDayFontSize: 17,
|
|
170
|
+
textSectionTitleColor: Colors.GREY_3,
|
|
171
|
+
textDisabledColor: Colors.GREY_2,
|
|
172
|
+
indicatorColor: Colors.AZURE,
|
|
173
|
+
dotColor: Colors.AZURE
|
|
174
|
+
},
|
|
175
|
+
pickers: {
|
|
176
|
+
activeColor: Colors.BLACK,
|
|
177
|
+
inactiveColor: Colors.BLACK_40,
|
|
178
|
+
labelColor: Colors.BLACK_64,
|
|
179
|
+
guidesColor: Colors.GREY_2
|
|
180
|
+
},
|
|
181
|
+
bottomSheet: {
|
|
182
|
+
backgroundColor: Colors.WHITE,
|
|
183
|
+
backdropColor: Colors.BLACK,
|
|
184
|
+
cancelButtonBackgroundColor: Colors.WHITE,
|
|
185
|
+
handleIndicator: {
|
|
186
|
+
backgroundColor: Colors.GREY_3
|
|
187
|
+
},
|
|
188
|
+
header: {
|
|
189
|
+
backgroundColor: Colors.AZURE,
|
|
190
|
+
emptyHeaderBackgroundColor: Colors.WHITE,
|
|
191
|
+
buttonsColor: Colors.WHITE,
|
|
192
|
+
titleColor: Colors.WHITE,
|
|
193
|
+
captionColor: Colors.WHITE_80,
|
|
194
|
+
descriptionColor: Colors.WHITE_80,
|
|
195
|
+
handleColor: Colors.AZURE_L3,
|
|
196
|
+
darkHandleColor: Colors.GREY_3,
|
|
197
|
+
loaderColor: Colors.AZURE
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
yearMonthPickers: {
|
|
201
|
+
backgroundColor: Colors.WHITE,
|
|
202
|
+
arrowsColor: Colors.AZURE,
|
|
203
|
+
yearColor: Colors.AZURE,
|
|
204
|
+
monthsTextColor: Colors.GREY_4,
|
|
205
|
+
selectedMonthTextColor: Colors.WHITE,
|
|
206
|
+
selectedMonthBackgroundColor: Colors.AZURE,
|
|
207
|
+
currentMonthTextColor: Colors.AZURE,
|
|
208
|
+
currentMonthBackgroundColor: Colors.AZURE_L1
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
export const ficDarkTheme = {
|
|
212
|
+
banner: bannerDarkTheme,
|
|
213
|
+
generic: {
|
|
214
|
+
backgroundLevel0: Colors.ELEVATION_1,
|
|
215
|
+
backgroundLevel1: Colors.ELEVATION_2,
|
|
216
|
+
backgroundLevel2: Colors.ELEVATION_3,
|
|
217
|
+
backgroundLevel3: Colors.ELEVATION_4,
|
|
218
|
+
backgroundLevel4: Colors.ELEVATION_5,
|
|
219
|
+
title: Colors.WHITE,
|
|
220
|
+
description: Colors.WHITE_80,
|
|
221
|
+
disabledTitle: Colors.WHITE_64,
|
|
222
|
+
disabledDescription: Colors.WHITE_40,
|
|
223
|
+
divider: Colors.WHITE_8,
|
|
224
|
+
cardBackground: Colors.ELEVATION_3
|
|
225
|
+
},
|
|
226
|
+
primaries: {
|
|
227
|
+
azure: Colors.AZURE_K,
|
|
228
|
+
red: Colors.RED_K_D1,
|
|
229
|
+
green: Colors.GREEN_K,
|
|
230
|
+
yellow: Colors.YELLOW,
|
|
231
|
+
purple: Colors.PURPLE_K,
|
|
232
|
+
blue: Colors.BLUE_K
|
|
233
|
+
},
|
|
234
|
+
primariesContrast: {
|
|
235
|
+
azure: Colors.WHITE,
|
|
236
|
+
red: Colors.WHITE,
|
|
237
|
+
green: Colors.BLACK_80,
|
|
238
|
+
yellow: Colors.BLACK_80,
|
|
239
|
+
purple: Colors.WHITE,
|
|
240
|
+
blue: Colors.WHITE
|
|
241
|
+
},
|
|
242
|
+
primariesLight: {
|
|
243
|
+
azure: Colors.AZURE_K_L1,
|
|
244
|
+
red: Colors.RED_K_L1,
|
|
245
|
+
green: Colors.GREEN_K_L1,
|
|
246
|
+
yellow: Colors.YELLOW_L1,
|
|
247
|
+
purple: Colors.PURPLE_L1,
|
|
248
|
+
blue: Colors.BLUE_K_L1
|
|
249
|
+
},
|
|
250
|
+
primariesDark: {
|
|
251
|
+
azure: Colors.AZURE_K_D1,
|
|
252
|
+
red: Colors.RED_K_D2,
|
|
253
|
+
green: Colors.GREEN_K_D2,
|
|
254
|
+
yellow: Colors.YELLOW_D2,
|
|
255
|
+
purple: Colors.PURPLE_D1,
|
|
256
|
+
blue: Colors.BLUE_K_D1
|
|
257
|
+
},
|
|
258
|
+
ficButton: ficButtonDarkTheme,
|
|
259
|
+
flatButton: {
|
|
260
|
+
color: Colors.WHITE,
|
|
261
|
+
disabledColor: Colors.WHITE_40,
|
|
262
|
+
backgroundColor: Colors.ELEVATION_1,
|
|
263
|
+
hasShadow: true,
|
|
264
|
+
shadowColor: Colors.BLACK,
|
|
265
|
+
borderRadius: 4,
|
|
266
|
+
disabledStyle: {
|
|
267
|
+
backgroundColor: Colors.ELEVATION_2,
|
|
268
|
+
elevation: 0,
|
|
269
|
+
shadowOffset: {
|
|
270
|
+
width: 0,
|
|
271
|
+
height: 0
|
|
272
|
+
},
|
|
273
|
+
shadowOpacity: 0
|
|
274
|
+
},
|
|
275
|
+
containerStyle: undefined
|
|
276
|
+
},
|
|
277
|
+
gradientButton: {
|
|
278
|
+
isHorizontalGradient: false,
|
|
279
|
+
color: Colors.WHITE,
|
|
280
|
+
disabledColor: Colors.WHITE_40,
|
|
281
|
+
backgroundColors: [Colors.AZURE_K_L2, Colors.AZURE_K],
|
|
282
|
+
disabledBackgroundColors: [Colors.ELEVATION_2, Colors.ELEVATION_2],
|
|
283
|
+
hasShadow: true,
|
|
284
|
+
shadowColor: Colors.BLACK,
|
|
285
|
+
borderRadius: 4,
|
|
286
|
+
disabledStyle: undefined,
|
|
287
|
+
containerStyle: undefined
|
|
288
|
+
},
|
|
289
|
+
outlineButton: {
|
|
290
|
+
color: Colors.AZURE_K,
|
|
291
|
+
disabledColor: Colors.WHITE_40,
|
|
292
|
+
backgroundColor: Colors.ELEVATION_1,
|
|
293
|
+
disabledBackgroundColor: Colors.WHITE_24,
|
|
294
|
+
borderColor: Colors.AZURE_K,
|
|
295
|
+
disabledBorderColor: Colors.WHITE_24,
|
|
296
|
+
hasShadow: true,
|
|
297
|
+
shadowColor: Colors.BLACK,
|
|
298
|
+
borderRadius: 4,
|
|
299
|
+
disabledStyle: {
|
|
300
|
+
backgroundColor: Colors.ELEVATION_2,
|
|
301
|
+
elevation: 0,
|
|
302
|
+
shadowOffset: {
|
|
303
|
+
width: 0,
|
|
304
|
+
height: 0
|
|
305
|
+
},
|
|
306
|
+
shadowOpacity: 0
|
|
307
|
+
},
|
|
308
|
+
containerStyle: {
|
|
309
|
+
justifyContent: 'center',
|
|
310
|
+
alignItems: 'center',
|
|
311
|
+
alignSelf: 'center',
|
|
312
|
+
height: 40,
|
|
313
|
+
backgroundColor: Colors.ELEVATION_1,
|
|
314
|
+
borderRadius: 4
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
textInput: {
|
|
318
|
+
color: Colors.WHITE,
|
|
319
|
+
labelColor: Colors.WHITE_64,
|
|
320
|
+
mandatoryIndicatorColor: Colors.RED_K,
|
|
321
|
+
placeholderColor: Colors.WHITE_64,
|
|
322
|
+
inlineLeadingColor: Colors.WHITE_80,
|
|
323
|
+
fieldIconColor: Colors.WHITE_64,
|
|
324
|
+
borderColor: Colors.ELEVATION_5,
|
|
325
|
+
focusedBorderColor: Colors.AZURE_K_L3,
|
|
326
|
+
erroredBorderColor: Colors.RED_K,
|
|
327
|
+
warningBorderColor: Colors.YELLOW,
|
|
328
|
+
disabledBorderColor: 'transparent',
|
|
329
|
+
backgroundColor: Colors.ELEVATION_2,
|
|
330
|
+
disabledBackgroundColor: Colors.WHITE_8
|
|
331
|
+
},
|
|
332
|
+
typographies: {
|
|
333
|
+
bodyColor: Colors.WHITE_80,
|
|
334
|
+
buttonTitleColor: Colors.WHITE,
|
|
335
|
+
calloutColor: Colors.WHITE_64,
|
|
336
|
+
captionOneColor: Colors.WHITE_64,
|
|
337
|
+
captionTwoColor: Colors.WHITE_64,
|
|
338
|
+
footnoteColor: Colors.WHITE_64,
|
|
339
|
+
headlineColor: Colors.WHITE,
|
|
340
|
+
largeTitleColor: Colors.WHITE,
|
|
341
|
+
subheadColor: Colors.WHITE_64,
|
|
342
|
+
titleOneColor: Colors.WHITE,
|
|
343
|
+
titleTwoColor: Colors.WHITE,
|
|
344
|
+
titleThreeColor: Colors.WHITE
|
|
345
|
+
},
|
|
346
|
+
touchables: {
|
|
347
|
+
rippleColors: Colors.ELEVATION_3,
|
|
348
|
+
highlightColor: Colors.ELEVATION_4
|
|
349
|
+
},
|
|
350
|
+
searchBar: {
|
|
351
|
+
color: Colors.WHITE_64,
|
|
352
|
+
backgroundColor: Colors.ELEVATION_4,
|
|
353
|
+
iconColor: Colors.WHITE_80,
|
|
354
|
+
selectionColor: Colors.AZURE_K,
|
|
355
|
+
useTextColor: Colors.WHITE_40,
|
|
356
|
+
errorColor: Colors.RED_K
|
|
357
|
+
},
|
|
358
|
+
datePickers: {
|
|
359
|
+
calendarBackground: Colors.ELEVATION_1,
|
|
360
|
+
backgroundColor: Colors.ELEVATION_1,
|
|
361
|
+
arrowColor: Colors.AZURE_K,
|
|
362
|
+
selectedDayBackgroundColor: Colors.AZURE_K,
|
|
363
|
+
selectedDayTextColor: Colors.WHITE,
|
|
364
|
+
selectedDotColor: Colors.WHITE,
|
|
365
|
+
dayTextColor: Colors.WHITE,
|
|
366
|
+
monthTextColor: Colors.AZURE_K,
|
|
367
|
+
todayTextColor: Colors.AZURE_K,
|
|
368
|
+
todayBackgroundColor: Colors.AZURE_K_L1,
|
|
369
|
+
textMonthFontWeight: '500',
|
|
370
|
+
textMonthFontSize: 17,
|
|
371
|
+
textDayFontSize: 17,
|
|
372
|
+
textSectionTitleColor: Colors.ELEVATION_3,
|
|
373
|
+
textDisabledColor: Colors.ELEVATION_2,
|
|
374
|
+
indicatorColor: Colors.AZURE_K,
|
|
375
|
+
dotColor: Colors.AZURE_K
|
|
376
|
+
},
|
|
377
|
+
pickers: {
|
|
378
|
+
activeColor: Colors.WHITE,
|
|
379
|
+
inactiveColor: Colors.WHITE_64,
|
|
380
|
+
labelColor: Colors.WHITE_80,
|
|
381
|
+
guidesColor: Colors.WHITE_8
|
|
382
|
+
},
|
|
383
|
+
bottomSheet: {
|
|
384
|
+
backgroundColor: Colors.ELEVATION_1,
|
|
385
|
+
backdropColor: Colors.BACKDROP,
|
|
386
|
+
cancelButtonBackgroundColor: Colors.ELEVATION_1,
|
|
387
|
+
handleIndicator: {
|
|
388
|
+
backgroundColor: Colors.ELEVATION_5
|
|
389
|
+
},
|
|
390
|
+
header: {
|
|
391
|
+
backgroundColor: Colors.AZURE_K,
|
|
392
|
+
emptyHeaderBackgroundColor: Colors.ELEVATION_1,
|
|
393
|
+
buttonsColor: Colors.WHITE,
|
|
394
|
+
titleColor: Colors.WHITE,
|
|
395
|
+
captionColor: Colors.WHITE_80,
|
|
396
|
+
descriptionColor: Colors.WHITE_80,
|
|
397
|
+
handleColor: Colors.AZURE_K,
|
|
398
|
+
darkHandleColor: Colors.ELEVATION_4,
|
|
399
|
+
loaderColor: Colors.AZURE_K
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
yearMonthPickers: {
|
|
403
|
+
backgroundColor: Colors.ELEVATION_1,
|
|
404
|
+
arrowsColor: Colors.AZURE_K,
|
|
405
|
+
yearColor: Colors.AZURE_K,
|
|
406
|
+
monthsTextColor: Colors.ELEVATION_2,
|
|
407
|
+
selectedMonthTextColor: Colors.WHITE,
|
|
408
|
+
selectedMonthBackgroundColor: Colors.AZURE_K,
|
|
409
|
+
currentMonthTextColor: Colors.AZURE_K,
|
|
410
|
+
currentMonthBackgroundColor: Colors.AZURE_K_L1
|
|
411
|
+
}
|
|
412
|
+
};
|
|
413
|
+
export const defaultTheme = ficTheme;
|
|
414
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ficButtonLightTheme","ficButtonDarkTheme","bannerDarkTheme","bannerLightTheme","Colors","ficTheme","banner","generic","backgroundLevel0","WHITE","backgroundLevel1","GREY_1","backgroundLevel2","GREY_2","backgroundLevel3","GREY_3","backgroundLevel4","GREY_4","title","BLACK_80","description","BLACK_64","disabledTitle","BLACK_40","disabledDescription","BLACK_24","divider","cardBackground","primaries","azure","AZURE","red","RED","green","GREEN","yellow","YELLOW","purple","PURPLE","blue","BLUE","primariesContrast","primariesLight","AZURE_L1","RED_L1","GREEN_L1","YELLOW_L1","PURPLE_L1","BLUE_L1","primariesDark","AZURE_D1","RED_D2","GREEN_D2","YELLOW_D2","PURPLE_D1","BLUE_D1","ficButton","flatButton","color","disabledColor","backgroundColor","hasShadow","shadowColor","BLACK","borderRadius","disabledStyle","elevation","shadowOffset","width","height","shadowOpacity","containerStyle","undefined","gradientButton","isHorizontalGradient","backgroundColors","AZURE_L2","disabledBackgroundColors","outlineButton","disabledBackgroundColor","borderColor","disabledBorderColor","justifyContent","alignItems","alignSelf","textInput","labelColor","mandatoryIndicatorColor","placeholderColor","inlineLeadingColor","fieldIconColor","focusedBorderColor","erroredBorderColor","warningBorderColor","YELLOW_D1","typographies","bodyColor","buttonTitleColor","calloutColor","captionOneColor","captionTwoColor","footnoteColor","headlineColor","largeTitleColor","subheadColor","titleOneColor","titleTwoColor","titleThreeColor","touchables","rippleColors","highlightColor","searchBar","iconColor","selectionColor","useTextColor","errorColor","datePickers","calendarBackground","arrowColor","selectedDayBackgroundColor","selectedDayTextColor","selectedDotColor","dayTextColor","monthTextColor","todayTextColor","todayBackgroundColor","textMonthFontWeight","textMonthFontSize","textDayFontSize","textSectionTitleColor","textDisabledColor","indicatorColor","dotColor","pickers","activeColor","inactiveColor","guidesColor","bottomSheet","backdropColor","cancelButtonBackgroundColor","handleIndicator","header","emptyHeaderBackgroundColor","buttonsColor","titleColor","captionColor","WHITE_80","descriptionColor","handleColor","AZURE_L3","darkHandleColor","loaderColor","yearMonthPickers","arrowsColor","yearColor","monthsTextColor","selectedMonthTextColor","selectedMonthBackgroundColor","currentMonthTextColor","currentMonthBackgroundColor","ficDarkTheme","ELEVATION_1","ELEVATION_2","ELEVATION_3","ELEVATION_4","ELEVATION_5","WHITE_64","WHITE_40","WHITE_8","AZURE_K","RED_K_D1","GREEN_K","PURPLE_K","BLUE_K","AZURE_K_L1","RED_K_L1","GREEN_K_L1","BLUE_K_L1","AZURE_K_D1","RED_K_D2","GREEN_K_D2","BLUE_K_D1","AZURE_K_L2","WHITE_24","RED_K","AZURE_K_L3","BACKDROP","defaultTheme"],"sourceRoot":"../../../src","sources":["styles/theme.ts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AAe,EAAEvJ,MAAM,CAAC8J,WAAW;IACnCN,sBAAsB,EAAExJ,MAAM,CAACK,KAAK;IACpCoJ,4BAA4B,EAAEzJ,MAAM,CAACqK,OAAO;IAC5CX,qBAAqB,EAAE1J,MAAM,CAACqK,OAAO;IACrCV,2BAA2B,EAAE3J,MAAM,CAAC0K;EACtC;AACF,CAAC;AAED,OAAO,MAAMa,YAAmB,GAAGtL,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { capitalize, map } from 'lodash';
|
|
2
|
+
import moment from 'moment';
|
|
3
|
+
import 'moment/min/locales';
|
|
4
|
+
import { NativeModules, Platform } from 'react-native';
|
|
5
|
+
import { LocaleConfig } from 'react-native-calendars';
|
|
6
|
+
const calendarLocaleConfig = localeCode => {
|
|
7
|
+
const momentLocale = moment.localeData(localeCode);
|
|
8
|
+
return {
|
|
9
|
+
monthNames: capitalizeStringArray(momentLocale.months()),
|
|
10
|
+
monthNamesShort: capitalizeStringArray(momentLocale.monthsShort()),
|
|
11
|
+
dayNames: capitalizeStringArray(momentLocale.weekdays()),
|
|
12
|
+
dayNamesShort: capitalizeStringArray(momentLocale.weekdaysShort()),
|
|
13
|
+
today: 'Today'
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
const capitalizeStringArray = arr => {
|
|
17
|
+
return map(arr, element => capitalize(element));
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves the language and optionally the region settings of the device.
|
|
22
|
+
*
|
|
23
|
+
* @param {boolean} [withNoRegion] - If `true`, only the language is returned without the region.
|
|
24
|
+
* @returns {string} The language and region settings of the device.
|
|
25
|
+
* @example
|
|
26
|
+
* // Returns "it_IT" or "it" if `withNoRegion` is `true`
|
|
27
|
+
* const languageRegion = getDeviceLanguageAndRegion(true);
|
|
28
|
+
*/
|
|
29
|
+
export const getDeviceLanguageAndRegion = withNoRegion => {
|
|
30
|
+
const language_region = Platform.OS === 'ios' ? NativeModules.SettingsManager.settings.AppleLocale || NativeModules.SettingsManager.settings.AppleLanguages[0] : NativeModules.I18nManager.localeIdentifier;
|
|
31
|
+
const language = language_region.split('_')[0];
|
|
32
|
+
return withNoRegion ? language : language_region;
|
|
33
|
+
};
|
|
34
|
+
export let desiredLocale = undefined;
|
|
35
|
+
const setLocale = localeCode => {
|
|
36
|
+
moment.locale(localeCode);
|
|
37
|
+
LocaleConfig.locales[localeCode] = calendarLocaleConfig(localeCode);
|
|
38
|
+
LocaleConfig.defaultLocale = localeCode;
|
|
39
|
+
desiredLocale = localeCode;
|
|
40
|
+
};
|
|
41
|
+
export default setLocale;
|
|
42
|
+
//# sourceMappingURL=locale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["capitalize","map","moment","NativeModules","Platform","LocaleConfig","calendarLocaleConfig","localeCode","momentLocale","localeData","monthNames","capitalizeStringArray","months","monthNamesShort","monthsShort","dayNames","weekdays","dayNamesShort","weekdaysShort","today","arr","element","getDeviceLanguageAndRegion","withNoRegion","language_region","OS","SettingsManager","settings","AppleLocale","AppleLanguages","I18nManager","localeIdentifier","language","split","desiredLocale","undefined","setLocale","locale","locales","defaultLocale"],"sourceRoot":"../../../src","sources":["utils/locale.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,GAAG,QAAQ,QAAQ;AACxC,OAAOC,MAAM,MAAM,QAAQ;AAC3B,OAAO,oBAAoB;AAC3B,SAASC,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AACtD,SAASC,YAAY,QAAQ,wBAAwB;AAErD,MAAMC,oBAAoB,GAAIC,UAAkB,IAAK;EACnD,MAAMC,YAAY,GAAGN,MAAM,CAACO,UAAU,CAACF,UAAU,CAAC;EAElD,OAAO;IACLG,UAAU,EAAEC,qBAAqB,CAACH,YAAY,CAACI,MAAM,CAAC,CAAC,CAAC;IACxDC,eAAe,EAAEF,qBAAqB,CAACH,YAAY,CAACM,WAAW,CAAC,CAAC,CAAC;IAClEC,Q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
|
4
|
+
"description": "Official Design System for Fatture in Cloud Mobile",
|
|
5
|
+
"main": "./lib/commonjs/index.js",
|
|
6
|
+
"module": "./lib/module/index.js",
|
|
7
|
+
"types": "./lib/typescript/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"src",
|
|
10
|
+
"lib",
|
|
11
|
+
"android",
|
|
12
|
+
"ios",
|
|
13
|
+
"cpp",
|
|
14
|
+
"*.podspec",
|
|
15
|
+
"react-native.config.js",
|
|
16
|
+
"!ios/build",
|
|
17
|
+
"!android/build",
|
|
18
|
+
"!android/gradle",
|
|
19
|
+
"!android/gradlew",
|
|
20
|
+
"!android/gradlew.bat",
|
|
21
|
+
"!android/local.properties",
|
|
22
|
+
"!**/__tests__",
|
|
23
|
+
"!**/__fixtures__",
|
|
24
|
+
"!**/__mocks__",
|
|
25
|
+
"!**/.*"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"test": "jest",
|
|
29
|
+
"typecheck": "tsc",
|
|
30
|
+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
31
|
+
"clean": "del-cli lib",
|
|
32
|
+
"build": "bob build && cp package.json lib/",
|
|
33
|
+
"build:clean": "rm -rf lib && yarn build",
|
|
34
|
+
"release": "dotenv release-it",
|
|
35
|
+
"release:ci": "dotenv release-it --ci",
|
|
36
|
+
"release:ni": "dotenv release-it --no-increment",
|
|
37
|
+
"release:rv": "dotenv release-it --release-version"
|
|
38
|
+
},
|
|
39
|
+
"keywords": [
|
|
40
|
+
"react-native",
|
|
41
|
+
"ios",
|
|
42
|
+
"android"
|
|
43
|
+
],
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "https://biosphere.teamsystem.com/madbit/services/fic/fic-mobile-ds"
|
|
47
|
+
},
|
|
48
|
+
"author": "Fatture in Cloud (https://fattureincloud.it)",
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"homepage": "https://fattureincloud.it",
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"registry": "https://registry.npmjs.org/",
|
|
53
|
+
"access": "public"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@babel/core": "^7.20.0",
|
|
57
|
+
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
|
58
|
+
"@babel/preset-env": "^7.20.0",
|
|
59
|
+
"@babel/runtime": "^7.20.0",
|
|
60
|
+
"@commitlint/config-conventional": "^17.0.0",
|
|
61
|
+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
62
|
+
"@fortawesome/react-native-fontawesome": "^0.3.2",
|
|
63
|
+
"@react-native/babel-preset": "0.74.89",
|
|
64
|
+
"@react-native/eslint-config": "0.74.89",
|
|
65
|
+
"@react-native/metro-config": "0.74.89",
|
|
66
|
+
"@react-native/typescript-config": "0.74.89",
|
|
67
|
+
"@release-it/conventional-changelog": "^5.0.0",
|
|
68
|
+
"@types/jest": "^29.2.0",
|
|
69
|
+
"@types/lodash": "^4.17.20",
|
|
70
|
+
"@types/react": "^18.2.6",
|
|
71
|
+
"@types/react-native-calendars": "^1.1264.3",
|
|
72
|
+
"@types/react-test-renderer": "^18.0.0",
|
|
73
|
+
"auto-changelog": "^2.5.0",
|
|
74
|
+
"babel-jest": "^29.6.3",
|
|
75
|
+
"commitlint": "^17.0.0",
|
|
76
|
+
"del-cli": "^5.0.0",
|
|
77
|
+
"dotenv-cli": "^10.0.0",
|
|
78
|
+
"eslint": "^8.19.0",
|
|
79
|
+
"eslint-config-prettier": "^8.5.0",
|
|
80
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
81
|
+
"jest": "^29.6.3",
|
|
82
|
+
"lodash": "^4.17.21",
|
|
83
|
+
"moment": ">=2.29.1",
|
|
84
|
+
"prettier": "2.8.8",
|
|
85
|
+
"react": "18.2.0",
|
|
86
|
+
"react-native": "0.74.7",
|
|
87
|
+
"react-native-builder-bob": "^0.20.0",
|
|
88
|
+
"react-native-gesture-handler": "2.9.0",
|
|
89
|
+
"react-test-renderer": "18.2.0",
|
|
90
|
+
"release-it": "^15.0.0",
|
|
91
|
+
"typescript": "5.0.4"
|
|
92
|
+
},
|
|
93
|
+
"dependencies": {
|
|
94
|
+
"react-native-calendars": "^1.1312.0",
|
|
95
|
+
"react-native-typography": "^1.4.1"
|
|
96
|
+
},
|
|
97
|
+
"peerDependencies": {
|
|
98
|
+
"moment": ">=2",
|
|
99
|
+
"react": "18.2.0",
|
|
100
|
+
"react-native": "0.74.7"
|
|
101
|
+
},
|
|
102
|
+
"packageManager": "yarn@4.9.3",
|
|
103
|
+
"commitlint": {
|
|
104
|
+
"extends": [
|
|
105
|
+
"@commitlint/config-conventional"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"prettier": {
|
|
109
|
+
"quoteProps": "consistent",
|
|
110
|
+
"singleQuote": true,
|
|
111
|
+
"tabWidth": 2,
|
|
112
|
+
"trailingComma": "es5",
|
|
113
|
+
"useTabs": false
|
|
114
|
+
},
|
|
115
|
+
"react-native-builder-bob": {
|
|
116
|
+
"source": "src",
|
|
117
|
+
"output": "lib",
|
|
118
|
+
"targets": [
|
|
119
|
+
"commonjs",
|
|
120
|
+
"module",
|
|
121
|
+
[
|
|
122
|
+
"typescript",
|
|
123
|
+
{
|
|
124
|
+
"project": "tsconfig.build.json"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
],
|
|
128
|
+
"files": [
|
|
129
|
+
"package.json"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"resolutions": {
|
|
133
|
+
"@types/react": "^18.2.0"
|
|
134
|
+
},
|
|
135
|
+
"engines": {
|
|
136
|
+
"node": ">=18"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
interface ITagProps extends ViewProps {
|
|
4
|
+
text?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
backgroundColor?: string;
|
|
7
|
+
rounded?: boolean;
|
|
8
|
+
avoidUpperCase?: boolean;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
declare const Tag: React.FC<ITagProps>;
|
|
12
|
+
export default Tag;
|
|
13
|
+
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAI3D,UAAU,SAAU,SAAQ,SAAS;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiC5B,CAAC;AAWF,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
import { GestureResponderEvent, StyleProp, TouchableWithoutFeedbackProps, ViewStyle } from 'react-native';
|
|
3
|
+
import { TouchablesThemeProps } from '../../styles/theme';
|
|
4
|
+
export interface ITouchableProps extends TouchableWithoutFeedbackProps {
|
|
5
|
+
onPress?: (event: GestureResponderEvent) => void;
|
|
6
|
+
style?: StyleProp<ViewStyle>;
|
|
7
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
highlight?: boolean;
|
|
10
|
+
borderless?: boolean;
|
|
11
|
+
gestureHandler?: boolean;
|
|
12
|
+
theme?: TouchablesThemeProps;
|
|
13
|
+
}
|
|
14
|
+
declare const Touchable: FunctionComponent<ITouchableProps>;
|
|
15
|
+
export default Touchable;
|
|
16
|
+
//# sourceMappingURL=Touchable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Touchable.d.ts","sourceRoot":"","sources":["../../../../src/components/Touchable/Touchable.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACL,qBAAqB,EAErB,SAAS,EAIT,6BAA6B,EAE7B,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,WAAW,eAAgB,SAAQ,6BAA6B;IACpE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B;AAED,QAAA,MAAM,SAAS,EAAE,iBAAiB,CAAC,eAAe,CA+EjD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|