@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,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _FicButton = _interopRequireDefault(require("../FicButton/FicButton"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
12
|
+
const FicButtonGroup = ({
|
|
13
|
+
primaryAction,
|
|
14
|
+
secondaryAction,
|
|
15
|
+
style,
|
|
16
|
+
horizontal
|
|
17
|
+
}) => {
|
|
18
|
+
const containerStyleObj = style ?? {};
|
|
19
|
+
const dynamicContainerStyle = {
|
|
20
|
+
flexDirection: horizontal ? 'row' : 'column'
|
|
21
|
+
};
|
|
22
|
+
const primaryActionStyle = [horizontal ? {
|
|
23
|
+
flex: 1
|
|
24
|
+
} : {}, horizontal && secondaryAction ? {
|
|
25
|
+
marginRight: 8
|
|
26
|
+
} : {}, {
|
|
27
|
+
alignSelf: 'center'
|
|
28
|
+
}];
|
|
29
|
+
const secondaryActionStyle = [horizontal ? {
|
|
30
|
+
flex: 1
|
|
31
|
+
} : {}, !horizontal && primaryAction ? {
|
|
32
|
+
marginTop: 8
|
|
33
|
+
} : {}, horizontal && primaryAction ? {
|
|
34
|
+
marginLeft: 8
|
|
35
|
+
} : {}, {
|
|
36
|
+
alignSelf: 'center'
|
|
37
|
+
}];
|
|
38
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
39
|
+
style: [styles.container, dynamicContainerStyle, containerStyleObj]
|
|
40
|
+
}, primaryAction ? /*#__PURE__*/_react.default.createElement(_FicButton.default, _extends({
|
|
41
|
+
fullWidth: true,
|
|
42
|
+
containerStyle: primaryActionStyle
|
|
43
|
+
}, primaryAction)) : null, secondaryAction ? /*#__PURE__*/_react.default.createElement(_FicButton.default, _extends({
|
|
44
|
+
fullWidth: true,
|
|
45
|
+
containerStyle: secondaryActionStyle
|
|
46
|
+
}, secondaryAction)) : null);
|
|
47
|
+
};
|
|
48
|
+
var _default = exports.default = FicButtonGroup;
|
|
49
|
+
const styles = _reactNative.StyleSheet.create({
|
|
50
|
+
container: {
|
|
51
|
+
alignItems: 'center'
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
//# sourceMappingURL=FicButtonGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_FicButton","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","FicButtonGroup","primaryAction","secondaryAction","style","horizontal","containerStyleObj","dynamicContainerStyle","flexDirection","primaryActionStyle","flex","marginRight","alignSelf","secondaryActionStyle","marginTop","marginLeft","createElement","View","styles","container","fullWidth","containerStyle","_default","exports","StyleSheet","create","alignItems"],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButtonGroup/FicButtonGroup.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA+C,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAG/C,MAAMO,cAA6C,GAAGA,CAAC;EAAEC,aAAa;EAAEC,eAAe;EAAEC,KAAK;EAAEC;AAAW,CAAC,KAAK;EAC/G,MAAMC,iBAAiB,GAAGF,KAAK,IAAI,CAAC,CAAC;EAErC,MAAMG,qBAA2C,GAAG;IAClDC,aAAa,EAAEH,UAAU,GAAG,KAAK,GAAG;EACtC,CAAC;EAED,MAAMI,kBAA0C,GAAG,CACjDJ,UAAU,GAAG;IAAEK,IAAI,EAAE;EAAE,CAAC,GAAG,CAAC,CAAC,EAC7BL,UAAU,IAAIF,eAAe,GAAG;IAAEQ,WAAW,EAAE;EAAE,CAAC,GAAG,CAAC,CAAC,EACvD;IAAEC,SAAS,EAAE;EAAS,CAAC,CACxB;EAED,MAAMC,oBAA4C,GAAG,CACnDR,UAAU,GAAG;IAAEK,IAAI,EAAE;EAAE,CAAC,GAAG,CAAC,CAAC,EAC7B,CAACL,UAAU,IAAIH,aAAa,GAAG;IAAEY,SAAS,EAAE;EAAE,CAAC,GAAG,CAAC,CAAC,EACpDT,UAAU,IAAIH,aAAa,GAAG;IAAEa,UAAU,EAAE;EAAE,CAAC,GAAG,CAAC,CAAC,EACpD;IAAEH,SAAS,EAAE;EAAS,CAAC,CACxB;EAED,oBACE/B,MAAA,CAAAO,OAAA,CAAA4B,aAAA,CAAChC,YAAA,CAAAiC,IAAI;IAACb,KAAK,EAAE,CAACc,MAAM,CAACC,SAAS,EAAEZ,qBAAqB,EAAED,iBAAiB;EAAE,GACvEJ,aAAa,gBAAGrB,MAAA,CAAAO,OAAA,CAAA4B,aAAA,CAAC/B,UAAA,CAAAG,OAAS,EAAAC,QAAA;IAAC+B,SAAS;IAACC,cAAc,EAAEZ;EAAmB,GAAKP,aAAa,CAAG,CAAC,GAAG,IAAI,EACrGC,eAAe,gBAAGtB,MAAA,CAAAO,OAAA,CAAA4B,aAAA,CAAC/B,UAAA,CAAAG,OAAS,EAAAC,QAAA;IAAC+B,SAAS;IAACC,cAAc,EAAER;EAAqB,GAAKV,eAAe,CAAG,CAAC,GAAG,IACpG,CAAC;AAEX,CAAC;AAAC,IAAAmB,QAAA,GAAAC,OAAA,CAAAnC,OAAA,GAEaa,cAAc;AAE7B,MAAMiB,MAAM,GAAGM,uBAAU,CAACC,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButtonGroup/FicButtonGroup.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "FicButtonGroup", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _FicButtonGroup.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _FicButtonGroup = _interopRequireDefault(require("./FicButtonGroup"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_FicButtonGroup","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButtonGroup/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,eAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA8C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _useTheme = require("../../../hooks/useTheme");
|
|
10
|
+
var _IconProvider = require("../../../providers/IconProvider");
|
|
11
|
+
var _space = require("../../../styles/space");
|
|
12
|
+
var _FicButtonGroup = require("../../buttons/FicButtonGroup");
|
|
13
|
+
var _Headline = require("../../typographies/Headline");
|
|
14
|
+
var _Subhead = require("../../typographies/Subhead");
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
17
|
+
const iconNameByType = {
|
|
18
|
+
info: 'info-circle',
|
|
19
|
+
success: 'check-circle',
|
|
20
|
+
warning: 'exclamation-triangle',
|
|
21
|
+
danger: 'exclamation-circle'
|
|
22
|
+
};
|
|
23
|
+
const Banner = ({
|
|
24
|
+
title,
|
|
25
|
+
message,
|
|
26
|
+
iconName,
|
|
27
|
+
type = 'info',
|
|
28
|
+
highContrast = false,
|
|
29
|
+
primaryAction,
|
|
30
|
+
secondaryAction,
|
|
31
|
+
style,
|
|
32
|
+
...props
|
|
33
|
+
}) => {
|
|
34
|
+
var _theme$type, _theme$type2;
|
|
35
|
+
const {
|
|
36
|
+
banner: theme
|
|
37
|
+
} = (0, _useTheme.useTheme)();
|
|
38
|
+
const themeProps = highContrast && theme !== null && theme !== void 0 && (_theme$type = theme[type]) !== null && _theme$type !== void 0 && _theme$type.highContrast ? theme === null || theme === void 0 || (_theme$type2 = theme[type]) === null || _theme$type2 === void 0 ? void 0 : _theme$type2.highContrast : theme === null || theme === void 0 ? void 0 : theme[type];
|
|
39
|
+
const {
|
|
40
|
+
backgroundColor,
|
|
41
|
+
borderColor,
|
|
42
|
+
headlineColor,
|
|
43
|
+
messageColor
|
|
44
|
+
} = themeProps || {};
|
|
45
|
+
const containerStyle = [styles.bannerContainer, {
|
|
46
|
+
backgroundColor: backgroundColor || 'transparent',
|
|
47
|
+
borderColor: borderColor || 'transparent'
|
|
48
|
+
}, style];
|
|
49
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, _extends({
|
|
50
|
+
style: containerStyle
|
|
51
|
+
}, props), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
52
|
+
style: styles.bannerHeader
|
|
53
|
+
}, /*#__PURE__*/_react.default.createElement(_IconProvider.Icon, {
|
|
54
|
+
name: iconName || (iconNameByType === null || iconNameByType === void 0 ? void 0 : iconNameByType[type]) || 'question',
|
|
55
|
+
solid: true,
|
|
56
|
+
size: 20,
|
|
57
|
+
internalPadding: 2,
|
|
58
|
+
color: headlineColor
|
|
59
|
+
}), title ? /*#__PURE__*/_react.default.createElement(_Headline.Headline, {
|
|
60
|
+
text: title,
|
|
61
|
+
color: headlineColor,
|
|
62
|
+
style: styles.bannerTitle
|
|
63
|
+
}) : null), message ? /*#__PURE__*/_react.default.createElement(_Subhead.Subhead, {
|
|
64
|
+
text: message,
|
|
65
|
+
color: messageColor,
|
|
66
|
+
style: styles.bannerMessage
|
|
67
|
+
}) : null, primaryAction || secondaryAction ? /*#__PURE__*/_react.default.createElement(_FicButtonGroup.FicButtonGroup, {
|
|
68
|
+
primaryAction: primaryAction,
|
|
69
|
+
secondaryAction: secondaryAction,
|
|
70
|
+
horizontal: true,
|
|
71
|
+
style: {
|
|
72
|
+
marginTop: 16
|
|
73
|
+
}
|
|
74
|
+
}) : null);
|
|
75
|
+
};
|
|
76
|
+
const styles = _reactNative.StyleSheet.create({
|
|
77
|
+
bannerContainer: {
|
|
78
|
+
padding: _space.PADDING.LG,
|
|
79
|
+
borderRadius: 8,
|
|
80
|
+
borderWidth: 1
|
|
81
|
+
},
|
|
82
|
+
bannerHeader: {
|
|
83
|
+
flexDirection: 'row',
|
|
84
|
+
alignItems: 'center'
|
|
85
|
+
},
|
|
86
|
+
bannerTitle: {
|
|
87
|
+
marginLeft: _space.MARGIN.SM,
|
|
88
|
+
flexShrink: 1
|
|
89
|
+
},
|
|
90
|
+
bannerMessage: {
|
|
91
|
+
marginTop: _space.MARGIN.SM,
|
|
92
|
+
flexShrink: 1
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
var _default = exports.default = Banner;
|
|
96
|
+
//# sourceMappingURL=Banner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_useTheme","_IconProvider","_space","_FicButtonGroup","_Headline","_Subhead","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","iconNameByType","info","success","warning","danger","Banner","title","message","iconName","type","highContrast","primaryAction","secondaryAction","style","props","_theme$type","_theme$type2","banner","theme","useTheme","themeProps","backgroundColor","borderColor","headlineColor","messageColor","containerStyle","styles","bannerContainer","createElement","View","bannerHeader","Icon","name","solid","size","internalPadding","color","Headline","text","bannerTitle","Subhead","bannerMessage","FicButtonGroup","horizontal","marginTop","StyleSheet","create","padding","PADDING","LG","borderRadius","borderWidth","flexDirection","alignItems","marginLeft","MARGIN","SM","flexShrink","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/notifications/Banner/Banner.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,QAAA,GAAAP,OAAA;AAAqD,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAGrD,MAAMO,cAA0C,GAAG;EACjDC,IAAI,EAAE,aAAa;EACnBC,OAAO,EAAE,cAAc;EACvBC,OAAO,EAAE,sBAAsB;EAC/BC,MAAM,EAAE;AACV,CAAC;AAED,MAAMC,MAAsC,GAAGA,CAAC;EAC9CC,KAAK;EACLC,OAAO;EACPC,QAAQ;EACRC,IAAI,GAAG,MAAM;EACbC,YAAY,GAAG,KAAK;EACpBC,aAAa;EACbC,eAAe;EACfC,KAAK;EACL,GAAGC;AACL,CAAC,KAAK;EAAA,IAAAC,WAAA,EAAAC,YAAA;EACJ,MAAM;IAAEC,MAAM,EAAEC;EAAM,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EAEpC,MAAMC,UAAU,GACdV,YAAY,IAAIQ,KAAK,aAALA,KAAK,gBAAAH,WAAA,GAALG,KAAK,CAAGT,IAAI,CAAC,cAAAM,WAAA,eAAbA,WAAA,CAAeL,YAAY,GACvCQ,KAAK,aAALA,KAAK,gBAAAF,YAAA,GAALE,KAAK,CAAGT,IAAI,CAAC,cAAAO,YAAA,uBAAbA,YAAA,CAAeN,YAAY,GAC3BQ,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAGT,IAAI,CACQ;EAC1B,MAAM;IAAEY,eAAe;IAAEC,WAAW;IAAEC,aAAa;IAAEC;EAAa,CAAC,GACjEJ,UAAU,IAAI,CAAC,CAAC;EAElB,MAAMK,cAAc,GAAG,CACrBC,MAAM,CAACC,eAAe,EACtB;IACEN,eAAe,EAAEA,eAAe,IAAI,aAAa;IACjDC,WAAW,EAAEA,WAAW,IAAI;EAC9B,CAAC,EACDT,KAAK,CACN;EAED,oBACEtC,MAAA,CAAAY,OAAA,CAAAyC,aAAA,CAAClD,YAAA,CAAAmD,IAAI,EAAAzC,QAAA;IAACyB,KAAK,EAAEY;EAAe,GAAKX,KAAK,gBACpCvC,MAAA,CAAAY,OAAA,CAAAyC,aAAA,CAAClD,YAAA,CAAAmD,IAAI;IAAChB,KAAK,EAAEa,MAAM,CAACI;EAAa,gBAC/BvD,MAAA,CAAAY,OAAA,CAAAyC,aAAA,CAAChD,aAAA,CAAAmD,IAAI;IACHC,IAAI,EAAExB,QAAQ,KAAIR,cAAc,aAAdA,cAAc,uBAAdA,cAAc,CAAGS,IAAI,CAAC,KAAI,UAAW;IACvDwB,KAAK;IACLC,IAAI,EAAE,EAAG;IACTC,eAAe,EAAE,CAAE;IACnBC,KAAK,EAAEb;EAAc,CACtB,CAAC,EACDjB,KAAK,gBACJ/B,MAAA,CAAAY,OAAA,CAAAyC,aAAA,CAAC7C,SAAA,CAAAsD,QAAQ;IACPC,IAAI,EAAEhC,KAAM;IACZ8B,KAAK,EAAEb,aAAc;IACrBV,KAAK,EAAEa,MAAM,CAACa;EAAY,CAC3B,CAAC,GACA,IACA,CAAC,EACNhC,OAAO,gBACNhC,MAAA,CAAAY,OAAA,CAAAyC,aAAA,CAAC5C,QAAA,CAAAwD,OAAO;IACNF,IAAI,EAAE/B,OAAQ;IACd6B,KAAK,EAAEZ,YAAa;IACpBX,KAAK,EAAEa,MAAM,CAACe;EAAc,CAC7B,CAAC,GACA,IAAI,EACP9B,aAAa,IAAIC,eAAe,gBAC/BrC,MAAA,CAAAY,OAAA,CAAAyC,aAAA,CAAC9C,eAAA,CAAA4D,cAAc;IACb/B,aAAa,EAAEA,aAAc;IAC7BC,eAAe,EAAEA,eAAgB;IACjC+B,UAAU;IACV9B,KAAK,EAAE;MAAE+B,SAAS,EAAE;IAAG;EAAE,CAC1B,CAAC,GACA,IACA,CAAC;AAEX,CAAC;AAED,MAAMlB,MAAM,GAAGmB,uBAAU,CAACC,MAAM,CAAC;EAC/BnB,eAAe,EAAE;IACfoB,OAAO,EAAEC,cAAO,CAACC,EAAE;IACnBC,YAAY,EAAE,CAAC;IACfC,WAAW,EAAE;EACf,CAAC;EACDrB,YAAY,EAAE;IACZsB,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE;EACd,CAAC;EACDd,WAAW,EAAE;IACXe,UAAU,EAAEC,aAAM,CAACC,EAAE;IACrBC,UAAU,EAAE;EACd,CAAC;EACDhB,aAAa,EAAE;IACbG,SAAS,EAAEW,aAAM,CAACC,EAAE;IACpBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAxE,OAAA,GAEYkB,MAAM","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/notifications/Banner/Banner.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Banner", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _Banner.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Banner = _interopRequireDefault(require("./Banner"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_Banner","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/notifications/Banner/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA8B,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
const bannerDarkTheme = {
|
|
9
|
+
info: {
|
|
10
|
+
backgroundColor: _colors.Colors.AZURE_K_D2,
|
|
11
|
+
borderColor: _colors.Colors.AZURE_K_D1,
|
|
12
|
+
headlineColor: _colors.Colors.AZURE_K_L1,
|
|
13
|
+
messageColor: _colors.Colors.AZURE_K_L2
|
|
14
|
+
},
|
|
15
|
+
success: {
|
|
16
|
+
backgroundColor: _colors.Colors.GREEN_K_D2,
|
|
17
|
+
borderColor: _colors.Colors.GREEN_K_D1,
|
|
18
|
+
headlineColor: _colors.Colors.GREEN_K_L1,
|
|
19
|
+
messageColor: _colors.Colors.GREEN_K_L2
|
|
20
|
+
},
|
|
21
|
+
warning: {
|
|
22
|
+
backgroundColor: _colors.Colors.YELLOW_K_D2,
|
|
23
|
+
borderColor: _colors.Colors.YELLOW_K_D1,
|
|
24
|
+
headlineColor: _colors.Colors.ELEVATION_1,
|
|
25
|
+
messageColor: _colors.Colors.ELEVATION_2,
|
|
26
|
+
highContrast: {
|
|
27
|
+
backgroundColor: _colors.Colors.YELLOW_K_L3,
|
|
28
|
+
borderColor: _colors.Colors.YELLOW_K_L2,
|
|
29
|
+
headlineColor: _colors.Colors.ELEVATION_1,
|
|
30
|
+
messageColor: _colors.Colors.ELEVATION_2
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
danger: {
|
|
34
|
+
backgroundColor: _colors.Colors.RED_K_D2,
|
|
35
|
+
borderColor: _colors.Colors.RED_K_D1,
|
|
36
|
+
headlineColor: _colors.Colors.RED_K_L1,
|
|
37
|
+
messageColor: _colors.Colors.RED_K_L2,
|
|
38
|
+
highContrast: {
|
|
39
|
+
backgroundColor: _colors.Colors.RED_K_L3,
|
|
40
|
+
borderColor: _colors.Colors.RED_K_L2,
|
|
41
|
+
headlineColor: _colors.Colors.ELEVATION_1,
|
|
42
|
+
messageColor: _colors.Colors.ELEVATION_2
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
var _default = exports.default = bannerDarkTheme;
|
|
47
|
+
//# sourceMappingURL=dark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_colors","require","bannerDarkTheme","info","backgroundColor","Colors","AZURE_K_D2","borderColor","AZURE_K_D1","headlineColor","AZURE_K_L1","messageColor","AZURE_K_L2","success","GREEN_K_D2","GREEN_K_D1","GREEN_K_L1","GREEN_K_L2","warning","YELLOW_K_D2","YELLOW_K_D1","ELEVATION_1","ELEVATION_2","highContrast","YELLOW_K_L3","YELLOW_K_L2","danger","RED_K_D2","RED_K_D1","RED_K_L1","RED_K_L2","RED_K_L3","_default","exports","default"],"sourceRoot":"../../../../../../src","sources":["components/notifications/Banner/themes/dark.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAGA,MAAMC,eAAgC,GAAG;EACvCC,IAAI,EAAE;IACJC,eAAe,EAAEC,cAAM,CAACC,UAAU;IAClCC,WAAW,EAAEF,cAAM,CAACG,UAAU;IAC9BC,aAAa,EAAEJ,cAAM,CAACK,UAAU;IAChCC,YAAY,EAAEN,cAAM,CAACO;EACvB,CAAC;EACDC,OAAO,EAAE;IACPT,eAAe,EAAEC,cAAM,CAACS,UAAU;IAClCP,WAAW,EAAEF,cAAM,CAACU,UAAU;IAC9BN,aAAa,EAAEJ,cAAM,CAACW,UAAU;IAChCL,YAAY,EAAEN,cAAM,CAACY;EACvB,CAAC;EACDC,OAAO,EAAE;IACPd,eAAe,EAAEC,cAAM,CAACc,WAAW;IACnCZ,WAAW,EAAEF,cAAM,CAACe,WAAW;IAC/BX,aAAa,EAAEJ,cAAM,CAACgB,WAAW;IACjCV,YAAY,EAAEN,cAAM,CAACiB,WAAW;IAChCC,YAAY,EAAE;MACZnB,eAAe,EAAEC,cAAM,CAACmB,WAAW;MACnCjB,WAAW,EAAEF,cAAM,CAACoB,WAAW;MAC/BhB,aAAa,EAAEJ,cAAM,CAACgB,WAAW;MACjCV,YAAY,EAAEN,cAAM,CAACiB;IACvB;EACF,CAAC;EACDI,MAAM,EAAE;IACNtB,eAAe,EAAEC,cAAM,CAACsB,QAAQ;IAChCpB,WAAW,EAAEF,cAAM,CAACuB,QAAQ;IAC5BnB,aAAa,EAAEJ,cAAM,CAACwB,QAAQ;IAC9BlB,YAAY,EAAEN,cAAM,CAACyB,QAAQ;IAC7BP,YAAY,EAAE;MACZnB,eAAe,EAAEC,cAAM,CAAC0B,QAAQ;MAChCxB,WAAW,EAAEF,cAAM,CAACyB,QAAQ;MAC5BrB,aAAa,EAAEJ,cAAM,CAACgB,WAAW;MACjCV,YAAY,EAAEN,cAAM,CAACiB;IACvB;EACF;AACF,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEahC,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "bannerDarkTheme", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _dark.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "bannerLightTheme", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _light.default;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
var _light = _interopRequireDefault(require("./light"));
|
|
19
|
+
var _dark = _interopRequireDefault(require("./dark"));
|
|
20
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_light","_interopRequireDefault","require","_dark","e","__esModule","default"],"sourceRoot":"../../../../../../src","sources":["components/notifications/Banner/themes/index.ts"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAqC,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
const bannerLightTheme = {
|
|
9
|
+
info: {
|
|
10
|
+
backgroundColor: _colors.Colors.AZURE_L1,
|
|
11
|
+
borderColor: _colors.Colors.AZURE_L2,
|
|
12
|
+
headlineColor: _colors.Colors.AZURE_D2,
|
|
13
|
+
messageColor: _colors.Colors.AZURE_D1
|
|
14
|
+
},
|
|
15
|
+
success: {
|
|
16
|
+
backgroundColor: _colors.Colors.GREEN_L1,
|
|
17
|
+
borderColor: _colors.Colors.GREEN_L2,
|
|
18
|
+
headlineColor: _colors.Colors.GREEN_D2,
|
|
19
|
+
messageColor: _colors.Colors.GREEN_D1
|
|
20
|
+
},
|
|
21
|
+
warning: {
|
|
22
|
+
backgroundColor: _colors.Colors.YELLOW_L1,
|
|
23
|
+
borderColor: _colors.Colors.YELLOW_L2,
|
|
24
|
+
headlineColor: _colors.Colors.BLACK_80,
|
|
25
|
+
messageColor: _colors.Colors.BLACK_80,
|
|
26
|
+
highContrast: {
|
|
27
|
+
backgroundColor: _colors.Colors.YELLOW_D1,
|
|
28
|
+
borderColor: _colors.Colors.YELLOW_D2,
|
|
29
|
+
headlineColor: _colors.Colors.BLACK_80,
|
|
30
|
+
messageColor: _colors.Colors.BLACK_80
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
danger: {
|
|
34
|
+
backgroundColor: _colors.Colors.RED_L1,
|
|
35
|
+
borderColor: _colors.Colors.RED_L2,
|
|
36
|
+
headlineColor: _colors.Colors.RED_D2,
|
|
37
|
+
messageColor: _colors.Colors.RED_D1,
|
|
38
|
+
highContrast: {
|
|
39
|
+
backgroundColor: _colors.Colors.RED_D1,
|
|
40
|
+
borderColor: _colors.Colors.RED_D2,
|
|
41
|
+
headlineColor: _colors.Colors.RED_L1,
|
|
42
|
+
messageColor: _colors.Colors.RED_L1
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
var _default = exports.default = bannerLightTheme;
|
|
47
|
+
//# sourceMappingURL=light.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_colors","require","bannerLightTheme","info","backgroundColor","Colors","AZURE_L1","borderColor","AZURE_L2","headlineColor","AZURE_D2","messageColor","AZURE_D1","success","GREEN_L1","GREEN_L2","GREEN_D2","GREEN_D1","warning","YELLOW_L1","YELLOW_L2","BLACK_80","highContrast","YELLOW_D1","YELLOW_D2","danger","RED_L1","RED_L2","RED_D2","RED_D1","_default","exports","default"],"sourceRoot":"../../../../../../src","sources":["components/notifications/Banner/themes/light.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAGA,MAAMC,gBAAiC,GAAG;EACxCC,IAAI,EAAE;IACJC,eAAe,EAAEC,cAAM,CAACC,QAAQ;IAChCC,WAAW,EAAEF,cAAM,CAACG,QAAQ;IAC5BC,aAAa,EAAEJ,cAAM,CAACK,QAAQ;IAC9BC,YAAY,EAAEN,cAAM,CAACO;EACvB,CAAC;EACDC,OAAO,EAAE;IACPT,eAAe,EAAEC,cAAM,CAACS,QAAQ;IAChCP,WAAW,EAAEF,cAAM,CAACU,QAAQ;IAC5BN,aAAa,EAAEJ,cAAM,CAACW,QAAQ;IAC9BL,YAAY,EAAEN,cAAM,CAACY;EACvB,CAAC;EACDC,OAAO,EAAE;IACPd,eAAe,EAAEC,cAAM,CAACc,SAAS;IACjCZ,WAAW,EAAEF,cAAM,CAACe,SAAS;IAC7BX,aAAa,EAAEJ,cAAM,CAACgB,QAAQ;IAC9BV,YAAY,EAAEN,cAAM,CAACgB,QAAQ;IAC7BC,YAAY,EAAE;MACZlB,eAAe,EAAEC,cAAM,CAACkB,SAAS;MACjChB,WAAW,EAAEF,cAAM,CAACmB,SAAS;MAC7Bf,aAAa,EAAEJ,cAAM,CAACgB,QAAQ;MAC9BV,YAAY,EAAEN,cAAM,CAACgB;IACvB;EACF,CAAC;EACDI,MAAM,EAAE;IACNrB,eAAe,EAAEC,cAAM,CAACqB,MAAM;IAC9BnB,WAAW,EAAEF,cAAM,CAACsB,MAAM;IAC1BlB,aAAa,EAAEJ,cAAM,CAACuB,MAAM;IAC5BjB,YAAY,EAAEN,cAAM,CAACwB,MAAM;IAC3BP,YAAY,EAAE;MACZlB,eAAe,EAAEC,cAAM,CAACwB,MAAM;MAC9BtB,WAAW,EAAEF,cAAM,CAACuB,MAAM;MAC1BnB,aAAa,EAAEJ,cAAM,CAACqB,MAAM;MAC5Bf,YAAY,EAAEN,cAAM,CAACqB;IACvB;EACF;AACF,CAAC;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEa9B,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeTypography = require("react-native-typography");
|
|
10
|
+
var _useTheme = require("../../../hooks/useTheme");
|
|
11
|
+
var _font = require("../font");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } // @ts-ignore TS6133
|
|
14
|
+
const Body = ({
|
|
15
|
+
text,
|
|
16
|
+
weight,
|
|
17
|
+
color,
|
|
18
|
+
style,
|
|
19
|
+
children,
|
|
20
|
+
...rest
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
typographies: typographiesTheme
|
|
24
|
+
} = (0, _useTheme.useTheme)();
|
|
25
|
+
const composedStyle = {
|
|
26
|
+
..._reactNativeTypography.human.bodyObject,
|
|
27
|
+
...(0, _font.retrieveFontWeight)(weight || _font.FontWeight.REGULAR),
|
|
28
|
+
color: color || typographiesTheme.bodyColor
|
|
29
|
+
};
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Text, _extends({}, rest, {
|
|
31
|
+
style: [composedStyle, style]
|
|
32
|
+
}), text || children);
|
|
33
|
+
};
|
|
34
|
+
var _default = exports.default = Body;
|
|
35
|
+
//# sourceMappingURL=Body.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeTypography","_useTheme","_font","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","Body","text","weight","color","style","children","rest","typographies","typographiesTheme","useTheme","composedStyle","human","bodyObject","retrieveFontWeight","FontWeight","REGULAR","bodyColor","createElement","Text","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/typographies/Body/Body.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AAAyD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA,KALzD;AAcA,MAAMO,IAAmC,GAAGA,CAAC;EAC3CC,IAAI;EACJC,MAAM;EACNC,KAAK;EACLC,KAAK;EACLC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC,YAAY,EAAEC;EAAkB,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EAEtD,MAAMC,aAAmC,GAAG;IAC1C,GAAGC,4BAAK,CAACC,UAAU;IACnB,GAAG,IAAAC,wBAAkB,EAACX,MAAM,IAAIY,gBAAU,CAACC,OAAO,CAAC;IACnDZ,KAAK,EAAEA,KAAK,IAAIK,iBAAiB,CAACQ;EACpC,CAAC;EAED,oBACEtC,MAAA,CAAAS,OAAA,CAAA8B,aAAA,CAACpC,YAAA,CAAAqC,IAAI,EAAA9B,QAAA,KAAKkB,IAAI;IAAEF,KAAK,EAAE,CAACM,aAAa,EAAEN,KAAK;EAAE,IAC3CH,IAAI,IAAII,QACL,CAAC;AAEX,CAAC;AAAC,IAAAc,QAAA,GAAAC,OAAA,CAAAjC,OAAA,GAEaa,IAAI","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Body", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _Body.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Body = _interopRequireDefault(require("./Body"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_Body","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/typographies/Body/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0B,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeTypography = require("react-native-typography");
|
|
10
|
+
var _useTheme = require("../../../hooks/useTheme");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } // @ts-ignore TS6133
|
|
13
|
+
const ButtonTitle = ({
|
|
14
|
+
text,
|
|
15
|
+
color,
|
|
16
|
+
style,
|
|
17
|
+
children,
|
|
18
|
+
...rest
|
|
19
|
+
}) => {
|
|
20
|
+
const {
|
|
21
|
+
typographies: typographiesTheme
|
|
22
|
+
} = (0, _useTheme.useTheme)();
|
|
23
|
+
const composedStyle = {
|
|
24
|
+
..._reactNative.Platform.select({
|
|
25
|
+
ios: {
|
|
26
|
+
..._reactNativeTypography.human.calloutObject,
|
|
27
|
+
..._reactNativeTypography.sanFranciscoWeights.semibold
|
|
28
|
+
},
|
|
29
|
+
android: {
|
|
30
|
+
..._reactNativeTypography.material.buttonObject,
|
|
31
|
+
..._reactNativeTypography.robotoWeights.medium
|
|
32
|
+
}
|
|
33
|
+
}),
|
|
34
|
+
color: color || typographiesTheme.buttonTitleColor
|
|
35
|
+
};
|
|
36
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Text, _extends({}, rest, {
|
|
37
|
+
style: [composedStyle, style],
|
|
38
|
+
numberOfLines: 1
|
|
39
|
+
}), _reactNative.Platform.select({
|
|
40
|
+
android: (text === null || text === void 0 ? void 0 : text.toUpperCase()) || (children === null || children === void 0 ? void 0 : children.toString().toUpperCase()),
|
|
41
|
+
ios: text || children
|
|
42
|
+
}));
|
|
43
|
+
};
|
|
44
|
+
var _default = exports.default = ButtonTitle;
|
|
45
|
+
//# sourceMappingURL=ButtonTitle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeTypography","_useTheme","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","ButtonTitle","text","color","style","children","rest","typographies","typographiesTheme","useTheme","composedStyle","Platform","select","ios","human","calloutObject","sanFranciscoWeights","semibold","android","material","buttonObject","robotoWeights","medium","buttonTitleColor","createElement","Text","numberOfLines","toUpperCase","toString","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/typographies/ButtonTitle/ButtonTitle.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AAMA,IAAAG,SAAA,GAAAH,OAAA;AAAmD,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA,KATnD;AAiBA,MAAMO,WAAiD,GAAGA,CAAC;EACzDC,IAAI;EACJC,KAAK;EACLC,KAAK;EACLC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC,YAAY,EAAEC;EAAkB,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EAEtD,MAAMC,aAAmC,GAAG;IAC1C,GAAGC,qBAAQ,CAACC,MAAM,CAAC;MACjBC,GAAG,EAAE;QACH,GAAGC,4BAAK,CAACC,aAAa;QACtB,GAAGC,0CAAmB,CAACC;MACzB,CAAC;MACDC,OAAO,EAAE;QACP,GAAGC,+BAAQ,CAACC,YAAY;QACxB,GAAGC,oCAAa,CAACC;MACnB;IACF,CAAC,CAAC;IACFnB,KAAK,EAAEA,KAAK,IAAIK,iBAAiB,CAACe;EACpC,CAAC;EAED,oBACE3C,MAAA,CAAAQ,OAAA,CAAAoC,aAAA,CAACzC,YAAA,CAAA0C,IAAI,EAAApC,QAAA,KAAKiB,IAAI;IAAEF,KAAK,EAAE,CAACM,aAAa,EAAEN,KAAK,CAAE;IAACsB,aAAa,EAAE;EAAE,IAC7Df,qBAAQ,CAACC,MAAM,CAAC;IACfM,OAAO,EAAE,CAAAhB,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEyB,WAAW,CAAC,CAAC,MAAItB,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEuB,QAAQ,CAAC,CAAC,CAACD,WAAW,CAAC,CAAC;IAClEd,GAAG,EAAEX,IAAI,IAAIG;EACf,CAAC,CACG,CAAC;AAEX,CAAC;AAAC,IAAAwB,QAAA,GAAAC,OAAA,CAAA1C,OAAA,GAEaa,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "ButtonTitle", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _ButtonTitle.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _ButtonTitle = _interopRequireDefault(require("./ButtonTitle"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_ButtonTitle","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/typographies/ButtonTitle/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeTypography = require("react-native-typography");
|
|
10
|
+
var _useTheme = require("../../../hooks/useTheme");
|
|
11
|
+
var _font = require("../font");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } // @ts-ignore TS6133
|
|
14
|
+
const Callout = ({
|
|
15
|
+
text,
|
|
16
|
+
weight,
|
|
17
|
+
color,
|
|
18
|
+
style,
|
|
19
|
+
children,
|
|
20
|
+
...rest
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
typographies: typographiesTheme
|
|
24
|
+
} = (0, _useTheme.useTheme)();
|
|
25
|
+
const composedStyle = {
|
|
26
|
+
..._reactNativeTypography.human.calloutObject,
|
|
27
|
+
...(0, _font.retrieveFontWeight)(weight || _font.FontWeight.REGULAR),
|
|
28
|
+
color: color || typographiesTheme.calloutColor
|
|
29
|
+
};
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Text, _extends({}, rest, {
|
|
31
|
+
style: [composedStyle, style]
|
|
32
|
+
}), text || children);
|
|
33
|
+
};
|
|
34
|
+
var _default = exports.default = Callout;
|
|
35
|
+
//# sourceMappingURL=Callout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeTypography","_useTheme","_font","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","Callout","text","weight","color","style","children","rest","typographies","typographiesTheme","useTheme","composedStyle","human","calloutObject","retrieveFontWeight","FontWeight","REGULAR","calloutColor","createElement","Text","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/typographies/Callout/Callout.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AAAyD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA,KALzD;AAcA,MAAMO,OAAyC,GAAGA,CAAC;EACjDC,IAAI;EACJC,MAAM;EACNC,KAAK;EACLC,KAAK;EACLC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC,YAAY,EAAEC;EAAkB,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EAEtD,MAAMC,aAAmC,GAAG;IAC1C,GAAGC,4BAAK,CAACC,aAAa;IACtB,GAAG,IAAAC,wBAAkB,EAACX,MAAM,IAAIY,gBAAU,CAACC,OAAO,CAAC;IACnDZ,KAAK,EAAEA,KAAK,IAAIK,iBAAiB,CAACQ;EACpC,CAAC;EAED,oBACEtC,MAAA,CAAAS,OAAA,CAAA8B,aAAA,CAACpC,YAAA,CAAAqC,IAAI,EAAA9B,QAAA,KAAKkB,IAAI;IAAEF,KAAK,EAAE,CAACM,aAAa,EAAEN,KAAK;EAAE,IAC3CH,IAAI,IAAII,QACL,CAAC;AAEX,CAAC;AAAC,IAAAc,QAAA,GAAAC,OAAA,CAAAjC,OAAA,GAEaa,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Callout", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _Callout.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Callout = _interopRequireDefault(require("./Callout"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_Callout","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/typographies/Callout/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAgC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeTypography = require("react-native-typography");
|
|
10
|
+
var _useTheme = require("../../../hooks/useTheme");
|
|
11
|
+
var _font = require("../font");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } // @ts-ignore TS6133
|
|
14
|
+
const CaptionOne = ({
|
|
15
|
+
text,
|
|
16
|
+
weight,
|
|
17
|
+
color,
|
|
18
|
+
style,
|
|
19
|
+
children,
|
|
20
|
+
...rest
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
typographies: typographiesTheme
|
|
24
|
+
} = (0, _useTheme.useTheme)();
|
|
25
|
+
const composedStyle = {
|
|
26
|
+
..._reactNativeTypography.human.caption1Object,
|
|
27
|
+
...(0, _font.retrieveFontWeight)(weight || _font.FontWeight.REGULAR),
|
|
28
|
+
color: color || typographiesTheme.captionOneColor
|
|
29
|
+
};
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Text, _extends({}, rest, {
|
|
31
|
+
style: [composedStyle, style]
|
|
32
|
+
}), text || children);
|
|
33
|
+
};
|
|
34
|
+
var _default = exports.default = CaptionOne;
|
|
35
|
+
//# sourceMappingURL=CaptionOne.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeTypography","_useTheme","_font","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","CaptionOne","text","weight","color","style","children","rest","typographies","typographiesTheme","useTheme","composedStyle","human","caption1Object","retrieveFontWeight","FontWeight","REGULAR","captionOneColor","createElement","Text","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/typographies/CaptionOne/CaptionOne.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AAAyD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA,KALzD;AAcA,MAAMO,UAA+C,GAAGA,CAAC;EACvDC,IAAI;EACJC,MAAM;EACNC,KAAK;EACLC,KAAK;EACLC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC,YAAY,EAAEC;EAAkB,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EAEtD,MAAMC,aAAmC,GAAG;IAC1C,GAAGC,4BAAK,CAACC,cAAc;IACvB,GAAG,IAAAC,wBAAkB,EAACX,MAAM,IAAIY,gBAAU,CAACC,OAAO,CAAC;IACnDZ,KAAK,EAAEA,KAAK,IAAIK,iBAAiB,CAACQ;EACpC,CAAC;EAED,oBACEtC,MAAA,CAAAS,OAAA,CAAA8B,aAAA,CAACpC,YAAA,CAAAqC,IAAI,EAAA9B,QAAA,KAAKkB,IAAI;IAAEF,KAAK,EAAE,CAACM,aAAa,EAAEN,KAAK;EAAE,IAC3CH,IAAI,IAAII,QACL,CAAC;AAEX,CAAC;AAAC,IAAAc,QAAA,GAAAC,OAAA,CAAAjC,OAAA,GAEaa,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "CaptionOne", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _CaptionOne.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _CaptionOne = _interopRequireDefault(require("./CaptionOne"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_CaptionOne","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/typographies/CaptionOne/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAsC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|