@fattureincloud-mobile/fic-mobile-ds 1.2.0 → 1.2.2
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/lib/commonjs/components/Tag/Tag.js +12 -9
- package/lib/commonjs/components/Tag/Tag.js.map +1 -1
- package/lib/commonjs/components/Tag/index.js +1 -1
- package/lib/commonjs/components/Tag/index.js.map +1 -1
- package/lib/commonjs/components/Touchable/Touchable.js +24 -15
- package/lib/commonjs/components/Touchable/Touchable.js.map +1 -1
- package/lib/commonjs/components/Touchable/index.js +1 -1
- package/lib/commonjs/components/Touchable/index.js.map +1 -1
- package/lib/commonjs/components/base/DatePicker/DatePicker.js +22 -19
- package/lib/commonjs/components/base/DatePicker/DatePicker.js.map +1 -1
- package/lib/commonjs/components/base/DatePicker/index.js +1 -1
- package/lib/commonjs/components/base/DatePicker/index.js.map +1 -1
- package/lib/commonjs/components/base/HeaderArrows/HeaderArrows.js +20 -21
- package/lib/commonjs/components/base/HeaderArrows/HeaderArrows.js.map +1 -1
- package/lib/commonjs/components/base/HeaderArrows/index.js +1 -1
- package/lib/commonjs/components/base/HeaderArrows/index.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/FicButton.js +20 -27
- package/lib/commonjs/components/buttons/FicButton/FicButton.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/FicButton.types.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/FicButtonIcon.js +50 -42
- package/lib/commonjs/components/buttons/FicButton/FicButtonIcon.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/FicButtonPrimary.js +45 -48
- package/lib/commonjs/components/buttons/FicButton/FicButtonPrimary.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/FicButtonSecondary.js +54 -60
- package/lib/commonjs/components/buttons/FicButton/FicButtonSecondary.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/FicButtonTertiary.js +75 -90
- package/lib/commonjs/components/buttons/FicButton/FicButtonTertiary.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/constants.js +2 -2
- package/lib/commonjs/components/buttons/FicButton/constants.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/index.js +1 -1
- package/lib/commonjs/components/buttons/FicButton/index.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/themes/dark.js +5 -4
- package/lib/commonjs/components/buttons/FicButton/themes/dark.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/themes/index.js +8 -1
- package/lib/commonjs/components/buttons/FicButton/themes/index.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButton/themes/light.js +5 -4
- package/lib/commonjs/components/buttons/FicButton/themes/light.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.js +19 -18
- package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.types.js.map +1 -1
- package/lib/commonjs/components/buttons/FicButtonGroup/index.js +1 -1
- package/lib/commonjs/components/buttons/FicButtonGroup/index.js.map +1 -1
- package/lib/commonjs/components/notifications/Banner/Banner.js +49 -44
- package/lib/commonjs/components/notifications/Banner/Banner.js.map +1 -1
- package/lib/commonjs/components/notifications/Banner/Banner.types.js.map +1 -1
- package/lib/commonjs/components/notifications/Banner/index.js +1 -1
- package/lib/commonjs/components/notifications/Banner/index.js.map +1 -1
- package/lib/commonjs/components/notifications/Banner/themes/dark.js +1 -1
- package/lib/commonjs/components/notifications/Banner/themes/dark.js.map +1 -1
- package/lib/commonjs/components/notifications/Banner/themes/index.js +2 -2
- package/lib/commonjs/components/notifications/Banner/themes/index.js.map +1 -1
- package/lib/commonjs/components/notifications/Banner/themes/light.js +1 -1
- package/lib/commonjs/components/notifications/Banner/themes/light.js.map +1 -1
- package/lib/commonjs/components/typographies/Body/Body.js +10 -6
- package/lib/commonjs/components/typographies/Body/Body.js.map +1 -1
- package/lib/commonjs/components/typographies/Body/index.js +1 -1
- package/lib/commonjs/components/typographies/Body/index.js.map +1 -1
- package/lib/commonjs/components/typographies/ButtonTitle/ButtonTitle.js +12 -8
- package/lib/commonjs/components/typographies/ButtonTitle/ButtonTitle.js.map +1 -1
- package/lib/commonjs/components/typographies/ButtonTitle/index.js +1 -1
- package/lib/commonjs/components/typographies/ButtonTitle/index.js.map +1 -1
- package/lib/commonjs/components/typographies/Callout/Callout.js +10 -6
- package/lib/commonjs/components/typographies/Callout/Callout.js.map +1 -1
- package/lib/commonjs/components/typographies/Callout/index.js +1 -1
- package/lib/commonjs/components/typographies/Callout/index.js.map +1 -1
- package/lib/commonjs/components/typographies/CaptionOne/CaptionOne.js +10 -6
- package/lib/commonjs/components/typographies/CaptionOne/CaptionOne.js.map +1 -1
- package/lib/commonjs/components/typographies/CaptionOne/index.js +1 -1
- package/lib/commonjs/components/typographies/CaptionOne/index.js.map +1 -1
- package/lib/commonjs/components/typographies/CaptionTwo/CaptionTwo.js +10 -6
- package/lib/commonjs/components/typographies/CaptionTwo/CaptionTwo.js.map +1 -1
- package/lib/commonjs/components/typographies/CaptionTwo/index.js +1 -1
- package/lib/commonjs/components/typographies/CaptionTwo/index.js.map +1 -1
- package/lib/commonjs/components/typographies/Footnote/Footnote.js +10 -6
- package/lib/commonjs/components/typographies/Footnote/Footnote.js.map +1 -1
- package/lib/commonjs/components/typographies/Footnote/index.js +1 -1
- package/lib/commonjs/components/typographies/Footnote/index.js.map +1 -1
- package/lib/commonjs/components/typographies/Headline/Headline.js +10 -6
- package/lib/commonjs/components/typographies/Headline/Headline.js.map +1 -1
- package/lib/commonjs/components/typographies/Headline/index.js +1 -1
- package/lib/commonjs/components/typographies/Headline/index.js.map +1 -1
- package/lib/commonjs/components/typographies/LargeTitle/LargeTitle.js +10 -6
- package/lib/commonjs/components/typographies/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/commonjs/components/typographies/LargeTitle/index.js +1 -1
- package/lib/commonjs/components/typographies/LargeTitle/index.js.map +1 -1
- package/lib/commonjs/components/typographies/Subhead/Subhead.js +10 -6
- package/lib/commonjs/components/typographies/Subhead/Subhead.js.map +1 -1
- package/lib/commonjs/components/typographies/Subhead/index.js +1 -1
- package/lib/commonjs/components/typographies/Subhead/index.js.map +1 -1
- package/lib/commonjs/components/typographies/TitleOne/TitleOne.js +10 -6
- package/lib/commonjs/components/typographies/TitleOne/TitleOne.js.map +1 -1
- package/lib/commonjs/components/typographies/TitleOne/index.js +1 -1
- package/lib/commonjs/components/typographies/TitleOne/index.js.map +1 -1
- package/lib/commonjs/components/typographies/TitleThree/TitleThree.js +10 -6
- package/lib/commonjs/components/typographies/TitleThree/TitleThree.js.map +1 -1
- package/lib/commonjs/components/typographies/TitleThree/index.js +1 -1
- package/lib/commonjs/components/typographies/TitleThree/index.js.map +1 -1
- package/lib/commonjs/components/typographies/TitleTwo/TitleTwo.js +10 -6
- package/lib/commonjs/components/typographies/TitleTwo/TitleTwo.js.map +1 -1
- package/lib/commonjs/components/typographies/TitleTwo/index.js +1 -1
- package/lib/commonjs/components/typographies/TitleTwo/index.js.map +1 -1
- package/lib/commonjs/components/typographies/font.js.map +1 -1
- package/lib/commonjs/hooks/useTheme.js +1 -1
- package/lib/commonjs/hooks/useTheme.js.map +1 -1
- package/lib/commonjs/index.js +46 -46
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/providers/DesignSystemProvider/DesignSystemProvider.js +12 -9
- package/lib/commonjs/providers/DesignSystemProvider/DesignSystemProvider.js.map +1 -1
- package/lib/commonjs/providers/DesignSystemProvider/index.js +1 -1
- package/lib/commonjs/providers/DesignSystemProvider/index.js.map +1 -1
- package/lib/commonjs/providers/IconProvider/IconProvider.js +11 -7
- package/lib/commonjs/providers/IconProvider/IconProvider.js.map +1 -1
- package/lib/commonjs/providers/IconProvider/index.js +1 -1
- package/lib/commonjs/providers/IconProvider/index.js.map +1 -1
- package/lib/commonjs/providers/ThemeProvider/ThemeProvider.js +6 -4
- package/lib/commonjs/providers/ThemeProvider/ThemeProvider.js.map +1 -1
- package/lib/commonjs/styles/calendarTheme.js.map +1 -1
- package/lib/commonjs/styles/colors.js.map +1 -1
- package/lib/commonjs/styles/globalStyles.js +1 -1
- package/lib/commonjs/styles/globalStyles.js.map +1 -1
- package/lib/commonjs/styles/space.js.map +1 -1
- package/lib/commonjs/styles/theme.js +11 -7
- package/lib/commonjs/styles/theme.js.map +1 -1
- package/lib/commonjs/utils/locale.js +2 -2
- package/lib/commonjs/utils/locale.js.map +1 -1
- package/lib/module/components/Tag/Tag.js +14 -9
- package/lib/module/components/Tag/Tag.js.map +1 -1
- package/lib/module/components/Tag/index.js +3 -1
- package/lib/module/components/Tag/index.js.map +1 -1
- package/lib/module/components/Touchable/Touchable.js +26 -15
- package/lib/module/components/Touchable/Touchable.js.map +1 -1
- package/lib/module/components/Touchable/index.js +3 -1
- package/lib/module/components/Touchable/index.js.map +1 -1
- package/lib/module/components/base/DatePicker/DatePicker.js +22 -19
- package/lib/module/components/base/DatePicker/DatePicker.js.map +1 -1
- package/lib/module/components/base/DatePicker/index.js +3 -1
- package/lib/module/components/base/DatePicker/index.js.map +1 -1
- package/lib/module/components/base/HeaderArrows/HeaderArrows.js +22 -21
- package/lib/module/components/base/HeaderArrows/HeaderArrows.js.map +1 -1
- package/lib/module/components/base/HeaderArrows/index.js +3 -1
- package/lib/module/components/base/HeaderArrows/index.js.map +1 -1
- package/lib/module/components/buttons/FicButton/FicButton.js +22 -28
- package/lib/module/components/buttons/FicButton/FicButton.js.map +1 -1
- package/lib/module/components/buttons/FicButton/FicButton.types.js +2 -0
- package/lib/module/components/buttons/FicButton/FicButton.types.js.map +1 -1
- package/lib/module/components/buttons/FicButton/FicButtonIcon.js +53 -42
- package/lib/module/components/buttons/FicButton/FicButtonIcon.js.map +1 -1
- package/lib/module/components/buttons/FicButton/FicButtonPrimary.js +47 -48
- package/lib/module/components/buttons/FicButton/FicButtonPrimary.js.map +1 -1
- package/lib/module/components/buttons/FicButton/FicButtonSecondary.js +56 -60
- package/lib/module/components/buttons/FicButton/FicButtonSecondary.js.map +1 -1
- package/lib/module/components/buttons/FicButton/FicButtonTertiary.js +78 -91
- package/lib/module/components/buttons/FicButton/FicButtonTertiary.js.map +1 -1
- package/lib/module/components/buttons/FicButton/constants.js +4 -2
- package/lib/module/components/buttons/FicButton/constants.js.map +1 -1
- package/lib/module/components/buttons/FicButton/index.js +3 -1
- package/lib/module/components/buttons/FicButton/index.js.map +1 -1
- package/lib/module/components/buttons/FicButton/themes/dark.js +7 -4
- package/lib/module/components/buttons/FicButton/themes/dark.js.map +1 -1
- package/lib/module/components/buttons/FicButton/themes/index.js +5 -2
- package/lib/module/components/buttons/FicButton/themes/index.js.map +1 -1
- package/lib/module/components/buttons/FicButton/themes/light.js +7 -4
- package/lib/module/components/buttons/FicButton/themes/light.js.map +1 -1
- package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.js +21 -18
- package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.js.map +1 -1
- package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.types.js +2 -0
- package/lib/module/components/buttons/FicButtonGroup/FicButtonGroup.types.js.map +1 -1
- package/lib/module/components/buttons/FicButtonGroup/index.js +3 -1
- package/lib/module/components/buttons/FicButtonGroup/index.js.map +1 -1
- package/lib/module/components/notifications/Banner/Banner.js +51 -44
- package/lib/module/components/notifications/Banner/Banner.js.map +1 -1
- package/lib/module/components/notifications/Banner/Banner.types.js +2 -0
- package/lib/module/components/notifications/Banner/Banner.types.js.map +1 -1
- package/lib/module/components/notifications/Banner/index.js +3 -1
- package/lib/module/components/notifications/Banner/index.js.map +1 -1
- package/lib/module/components/notifications/Banner/themes/dark.js +3 -1
- package/lib/module/components/notifications/Banner/themes/dark.js.map +1 -1
- package/lib/module/components/notifications/Banner/themes/index.js +4 -2
- package/lib/module/components/notifications/Banner/themes/index.js.map +1 -1
- package/lib/module/components/notifications/Banner/themes/light.js +3 -1
- package/lib/module/components/notifications/Banner/themes/light.js.map +1 -1
- package/lib/module/components/typographies/Body/Body.js +10 -6
- package/lib/module/components/typographies/Body/Body.js.map +1 -1
- package/lib/module/components/typographies/Body/index.js +3 -1
- package/lib/module/components/typographies/Body/index.js.map +1 -1
- package/lib/module/components/typographies/ButtonTitle/ButtonTitle.js +12 -8
- package/lib/module/components/typographies/ButtonTitle/ButtonTitle.js.map +1 -1
- package/lib/module/components/typographies/ButtonTitle/index.js +3 -1
- package/lib/module/components/typographies/ButtonTitle/index.js.map +1 -1
- package/lib/module/components/typographies/Callout/Callout.js +10 -6
- package/lib/module/components/typographies/Callout/Callout.js.map +1 -1
- package/lib/module/components/typographies/Callout/index.js +3 -1
- package/lib/module/components/typographies/Callout/index.js.map +1 -1
- package/lib/module/components/typographies/CaptionOne/CaptionOne.js +10 -6
- package/lib/module/components/typographies/CaptionOne/CaptionOne.js.map +1 -1
- package/lib/module/components/typographies/CaptionOne/index.js +3 -1
- package/lib/module/components/typographies/CaptionOne/index.js.map +1 -1
- package/lib/module/components/typographies/CaptionTwo/CaptionTwo.js +10 -6
- package/lib/module/components/typographies/CaptionTwo/CaptionTwo.js.map +1 -1
- package/lib/module/components/typographies/CaptionTwo/index.js +3 -1
- package/lib/module/components/typographies/CaptionTwo/index.js.map +1 -1
- package/lib/module/components/typographies/Footnote/Footnote.js +10 -6
- package/lib/module/components/typographies/Footnote/Footnote.js.map +1 -1
- package/lib/module/components/typographies/Footnote/index.js +3 -1
- package/lib/module/components/typographies/Footnote/index.js.map +1 -1
- package/lib/module/components/typographies/Headline/Headline.js +10 -6
- package/lib/module/components/typographies/Headline/Headline.js.map +1 -1
- package/lib/module/components/typographies/Headline/index.js +3 -1
- package/lib/module/components/typographies/Headline/index.js.map +1 -1
- package/lib/module/components/typographies/LargeTitle/LargeTitle.js +10 -6
- package/lib/module/components/typographies/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/module/components/typographies/LargeTitle/index.js +3 -1
- package/lib/module/components/typographies/LargeTitle/index.js.map +1 -1
- package/lib/module/components/typographies/Subhead/Subhead.js +10 -6
- package/lib/module/components/typographies/Subhead/Subhead.js.map +1 -1
- package/lib/module/components/typographies/Subhead/index.js +3 -1
- package/lib/module/components/typographies/Subhead/index.js.map +1 -1
- package/lib/module/components/typographies/TitleOne/TitleOne.js +10 -6
- package/lib/module/components/typographies/TitleOne/TitleOne.js.map +1 -1
- package/lib/module/components/typographies/TitleOne/index.js +3 -1
- package/lib/module/components/typographies/TitleOne/index.js.map +1 -1
- package/lib/module/components/typographies/TitleThree/TitleThree.js +10 -6
- package/lib/module/components/typographies/TitleThree/TitleThree.js.map +1 -1
- package/lib/module/components/typographies/TitleThree/index.js +3 -1
- package/lib/module/components/typographies/TitleThree/index.js.map +1 -1
- package/lib/module/components/typographies/TitleTwo/TitleTwo.js +10 -6
- package/lib/module/components/typographies/TitleTwo/TitleTwo.js.map +1 -1
- package/lib/module/components/typographies/TitleTwo/index.js +3 -1
- package/lib/module/components/typographies/TitleTwo/index.js.map +1 -1
- package/lib/module/components/typographies/font.js +2 -0
- package/lib/module/components/typographies/font.js.map +1 -1
- package/lib/module/hooks/useTheme.js +3 -1
- package/lib/module/hooks/useTheme.js.map +1 -1
- package/lib/module/index.js +27 -25
- package/lib/module/index.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/providers/DesignSystemProvider/DesignSystemProvider.js +14 -9
- package/lib/module/providers/DesignSystemProvider/DesignSystemProvider.js.map +1 -1
- package/lib/module/providers/DesignSystemProvider/index.js +3 -1
- package/lib/module/providers/DesignSystemProvider/index.js.map +1 -1
- package/lib/module/providers/IconProvider/IconProvider.js +13 -7
- package/lib/module/providers/IconProvider/IconProvider.js.map +1 -1
- package/lib/module/providers/IconProvider/index.js +3 -1
- package/lib/module/providers/IconProvider/index.js.map +1 -1
- package/lib/module/providers/ThemeProvider/ThemeProvider.js +8 -4
- package/lib/module/providers/ThemeProvider/ThemeProvider.js.map +1 -1
- package/lib/module/styles/calendarTheme.js +2 -0
- package/lib/module/styles/calendarTheme.js.map +1 -1
- package/lib/module/styles/colors.js +2 -0
- package/lib/module/styles/colors.js.map +1 -1
- package/lib/module/styles/globalStyles.js +3 -1
- package/lib/module/styles/globalStyles.js.map +1 -1
- package/lib/module/styles/space.js +2 -0
- package/lib/module/styles/space.js.map +1 -1
- package/lib/module/styles/theme.js +10 -4
- package/lib/module/styles/theme.js.map +1 -1
- package/lib/module/utils/locale.js +4 -2
- package/lib/module/utils/locale.js.map +1 -1
- package/lib/package.json +4 -2
- package/lib/typescript/commonjs/components/Tag/Tag.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tag/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Touchable/Touchable.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Touchable/index.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/components}/base/DatePicker/DatePicker.d.ts +1 -1
- package/lib/typescript/commonjs/components/base/DatePicker/DatePicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/base/DatePicker/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/base/HeaderArrows/HeaderArrows.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/base/HeaderArrows/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/FicButton.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButton.types.d.ts +4 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/FicButton.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/FicButtonIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/FicButtonPrimary.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/FicButtonSecondary.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/FicButtonTertiary.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/Icon.stories.d.ts +22 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/Icon.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/Primary.stories.d.ts +33 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/Primary.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/Secondary.stories.d.ts +20 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/Secondary.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/Tertiary.stories.d.ts +21 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/Tertiary.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/themes/dark.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/themes/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/themes/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButton/themes/light.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButtonGroup/ButtonGroup.stories.d.ts +37 -0
- package/lib/typescript/commonjs/components/buttons/FicButtonGroup/ButtonGroup.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/buttons/FicButtonGroup/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/notifications/Banner/Banner.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/components}/notifications/Banner/Banner.types.d.ts +9 -15
- package/lib/typescript/commonjs/components/notifications/Banner/Banner.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/notifications/Banner/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/notifications/Banner/themes/dark.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/notifications/Banner/themes/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/notifications/Banner/themes/light.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/Body/Body.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/Body/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/ButtonTitle/ButtonTitle.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/ButtonTitle/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/Callout/Callout.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/Callout/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/CaptionOne/CaptionOne.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/CaptionOne/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/CaptionTwo/CaptionTwo.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/CaptionTwo/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/Footnote/Footnote.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/Footnote/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/Headline/Headline.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/Headline/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/LargeTitle/LargeTitle.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/LargeTitle/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/Subhead/Subhead.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/Subhead/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/TitleOne/TitleOne.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/TitleOne/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/TitleThree/TitleThree.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/TitleThree/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/TitleTwo/TitleTwo.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/typographies/TitleTwo/index.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/components}/typographies/font.d.ts +1 -1
- package/lib/typescript/commonjs/components/typographies/font.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useTheme.d.ts.map +1 -0
- package/lib/typescript/{index.d.ts → commonjs/index.d.ts} +1 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/providers/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/providers/DesignSystemProvider/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/providers/IconProvider/IconProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/providers/IconProvider/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/providers/ThemeProvider/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles/calendarTheme.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles/colors.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles/globalStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles/space.d.ts.map +1 -0
- package/lib/typescript/{styles → commonjs/styles}/theme.d.ts +2 -0
- package/lib/typescript/commonjs/styles/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/locale.d.ts.map +1 -0
- package/lib/typescript/module/components/Tag/Tag.d.ts +13 -0
- package/lib/typescript/module/components/Tag/Tag.d.ts.map +1 -0
- package/lib/typescript/module/components/Tag/index.d.ts +3 -0
- package/lib/typescript/module/components/Tag/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Touchable/Touchable.d.ts +16 -0
- package/lib/typescript/module/components/Touchable/Touchable.d.ts.map +1 -0
- package/lib/typescript/module/components/Touchable/index.d.ts +3 -0
- package/lib/typescript/module/components/Touchable/index.d.ts.map +1 -0
- package/lib/typescript/module/components/base/DatePicker/DatePicker.d.ts +60 -0
- package/lib/typescript/module/components/base/DatePicker/DatePicker.d.ts.map +1 -0
- package/lib/typescript/module/components/base/DatePicker/index.d.ts +4 -0
- package/lib/typescript/module/components/base/DatePicker/index.d.ts.map +1 -0
- package/lib/typescript/module/components/base/HeaderArrows/HeaderArrows.d.ts +16 -0
- package/lib/typescript/module/components/base/HeaderArrows/HeaderArrows.d.ts.map +1 -0
- package/lib/typescript/module/components/base/HeaderArrows/index.d.ts +3 -0
- package/lib/typescript/module/components/base/HeaderArrows/index.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButton.d.ts +5 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButton.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButton.types.d.ts +91 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButton.types.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButtonIcon.d.ts +5 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButtonIcon.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButtonPrimary.d.ts +5 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButtonPrimary.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButtonSecondary.d.ts +5 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButtonSecondary.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButtonTertiary.d.ts +5 -0
- package/lib/typescript/module/components/buttons/FicButton/FicButtonTertiary.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/Icon.stories.d.ts +22 -0
- package/lib/typescript/module/components/buttons/FicButton/Icon.stories.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/Primary.stories.d.ts +33 -0
- package/lib/typescript/module/components/buttons/FicButton/Primary.stories.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/Secondary.stories.d.ts +20 -0
- package/lib/typescript/module/components/buttons/FicButton/Secondary.stories.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/Tertiary.stories.d.ts +21 -0
- package/lib/typescript/module/components/buttons/FicButton/Tertiary.stories.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/constants.d.ts +13 -0
- package/lib/typescript/module/components/buttons/FicButton/constants.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/index.d.ts +5 -0
- package/lib/typescript/module/components/buttons/FicButton/index.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/themes/dark.d.ts +4 -0
- package/lib/typescript/module/components/buttons/FicButton/themes/dark.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/themes/index.d.ts +4 -0
- package/lib/typescript/module/components/buttons/FicButton/themes/index.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButton/themes/light.d.ts +4 -0
- package/lib/typescript/module/components/buttons/FicButton/themes/light.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButtonGroup/ButtonGroup.stories.d.ts +37 -0
- package/lib/typescript/module/components/buttons/FicButtonGroup/ButtonGroup.stories.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButtonGroup/FicButtonGroup.d.ts +5 -0
- package/lib/typescript/module/components/buttons/FicButtonGroup/FicButtonGroup.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts +10 -0
- package/lib/typescript/module/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts.map +1 -0
- package/lib/typescript/module/components/buttons/FicButtonGroup/index.d.ts +3 -0
- package/lib/typescript/module/components/buttons/FicButtonGroup/index.d.ts.map +1 -0
- package/lib/typescript/module/components/notifications/Banner/Banner.d.ts +5 -0
- package/lib/typescript/module/components/notifications/Banner/Banner.d.ts.map +1 -0
- package/lib/typescript/module/components/notifications/Banner/Banner.types.d.ts +44 -0
- package/lib/typescript/module/components/notifications/Banner/Banner.types.d.ts.map +1 -0
- package/lib/typescript/module/components/notifications/Banner/index.d.ts +3 -0
- package/lib/typescript/module/components/notifications/Banner/index.d.ts.map +1 -0
- package/lib/typescript/module/components/notifications/Banner/themes/dark.d.ts +4 -0
- package/lib/typescript/module/components/notifications/Banner/themes/dark.d.ts.map +1 -0
- package/lib/typescript/module/components/notifications/Banner/themes/index.d.ts +4 -0
- package/lib/typescript/module/components/notifications/Banner/themes/index.d.ts.map +1 -0
- package/lib/typescript/module/components/notifications/Banner/themes/light.d.ts +4 -0
- package/lib/typescript/module/components/notifications/Banner/themes/light.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/Body/Body.d.ts +12 -0
- package/lib/typescript/module/components/typographies/Body/Body.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/Body/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/Body/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/ButtonTitle/ButtonTitle.d.ts +10 -0
- package/lib/typescript/module/components/typographies/ButtonTitle/ButtonTitle.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/ButtonTitle/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/ButtonTitle/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/Callout/Callout.d.ts +12 -0
- package/lib/typescript/module/components/typographies/Callout/Callout.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/Callout/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/Callout/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/CaptionOne/CaptionOne.d.ts +12 -0
- package/lib/typescript/module/components/typographies/CaptionOne/CaptionOne.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/CaptionOne/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/CaptionOne/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/CaptionTwo/CaptionTwo.d.ts +12 -0
- package/lib/typescript/module/components/typographies/CaptionTwo/CaptionTwo.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/CaptionTwo/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/CaptionTwo/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/Footnote/Footnote.d.ts +12 -0
- package/lib/typescript/module/components/typographies/Footnote/Footnote.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/Footnote/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/Footnote/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/Headline/Headline.d.ts +12 -0
- package/lib/typescript/module/components/typographies/Headline/Headline.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/Headline/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/Headline/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/LargeTitle/LargeTitle.d.ts +12 -0
- package/lib/typescript/module/components/typographies/LargeTitle/LargeTitle.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/LargeTitle/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/LargeTitle/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/Subhead/Subhead.d.ts +12 -0
- package/lib/typescript/module/components/typographies/Subhead/Subhead.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/Subhead/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/Subhead/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/TitleOne/TitleOne.d.ts +12 -0
- package/lib/typescript/module/components/typographies/TitleOne/TitleOne.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/TitleOne/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/TitleOne/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/TitleThree/TitleThree.d.ts +12 -0
- package/lib/typescript/module/components/typographies/TitleThree/TitleThree.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/TitleThree/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/TitleThree/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/TitleTwo/TitleTwo.d.ts +12 -0
- package/lib/typescript/module/components/typographies/TitleTwo/TitleTwo.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/TitleTwo/index.d.ts +3 -0
- package/lib/typescript/module/components/typographies/TitleTwo/index.d.ts.map +1 -0
- package/lib/typescript/module/components/typographies/font.d.ts +9 -0
- package/lib/typescript/module/components/typographies/font.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useTheme.d.ts +3 -0
- package/lib/typescript/module/hooks/useTheme.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +32 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/providers/DesignSystemProvider/DesignSystemProvider.d.ts +10 -0
- package/lib/typescript/module/providers/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -0
- package/lib/typescript/module/providers/DesignSystemProvider/index.d.ts +3 -0
- package/lib/typescript/module/providers/DesignSystemProvider/index.d.ts.map +1 -0
- package/lib/typescript/module/providers/IconProvider/IconProvider.d.ts +21 -0
- package/lib/typescript/module/providers/IconProvider/IconProvider.d.ts.map +1 -0
- package/lib/typescript/module/providers/IconProvider/index.d.ts +4 -0
- package/lib/typescript/module/providers/IconProvider/index.d.ts.map +1 -0
- package/lib/typescript/module/providers/ThemeProvider/ThemeProvider.d.ts +9 -0
- package/lib/typescript/module/providers/ThemeProvider/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/module/styles/calendarTheme.d.ts +24 -0
- package/lib/typescript/module/styles/calendarTheme.d.ts.map +1 -0
- package/lib/typescript/module/styles/colors.d.ts +100 -0
- package/lib/typescript/module/styles/colors.d.ts.map +1 -0
- package/lib/typescript/module/styles/globalStyles.d.ts +33 -0
- package/lib/typescript/module/styles/globalStyles.d.ts.map +1 -0
- package/lib/typescript/module/styles/space.d.ts +19 -0
- package/lib/typescript/module/styles/space.d.ts.map +1 -0
- package/lib/typescript/module/styles/theme.d.ts +185 -0
- package/lib/typescript/module/styles/theme.d.ts.map +1 -0
- package/lib/typescript/module/utils/locale.d.ts +15 -0
- package/lib/typescript/module/utils/locale.d.ts.map +1 -0
- package/package.json +4 -2
- package/src/components/buttons/FicButton/FicButton.tsx +17 -25
- package/src/components/buttons/FicButton/FicButton.types.ts +35 -7
- package/src/components/buttons/FicButton/FicButtonIcon.tsx +50 -45
- package/src/components/buttons/FicButton/FicButtonPrimary.tsx +13 -1
- package/src/components/buttons/FicButton/FicButtonTertiary.tsx +76 -66
- package/src/components/buttons/FicButton/themes/dark.ts +77 -77
- package/src/components/buttons/FicButton/themes/index.ts +2 -1
- package/src/components/buttons/FicButton/themes/light.ts +77 -77
- package/src/components/buttons/FicButtonGroup/FicButtonGroup.tsx +32 -11
- package/src/components/notifications/Banner/Banner.tsx +22 -16
- package/src/components/notifications/Banner/Banner.types.ts +9 -21
- package/src/index.tsx +2 -0
- package/src/styles/colors.ts +1 -1
- package/src/styles/theme.ts +6 -0
- package/lib/typescript/components/Tag/Tag.d.ts.map +0 -1
- package/lib/typescript/components/Tag/index.d.ts.map +0 -1
- package/lib/typescript/components/Touchable/Touchable.d.ts.map +0 -1
- package/lib/typescript/components/Touchable/index.d.ts.map +0 -1
- package/lib/typescript/components/base/DatePicker/DatePicker.d.ts.map +0 -1
- package/lib/typescript/components/base/DatePicker/index.d.ts.map +0 -1
- package/lib/typescript/components/base/HeaderArrows/HeaderArrows.d.ts.map +0 -1
- package/lib/typescript/components/base/HeaderArrows/index.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/FicButton.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/FicButton.types.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/FicButtonIcon.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/FicButtonPrimary.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/FicButtonSecondary.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/FicButtonTertiary.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/constants.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/index.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/themes/dark.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/themes/index.d.ts +0 -3
- package/lib/typescript/components/buttons/FicButton/themes/index.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButton/themes/light.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButtonGroup/FicButtonGroup.types.d.ts.map +0 -1
- package/lib/typescript/components/buttons/FicButtonGroup/index.d.ts.map +0 -1
- package/lib/typescript/components/notifications/Banner/Banner.d.ts.map +0 -1
- package/lib/typescript/components/notifications/Banner/Banner.types.d.ts.map +0 -1
- package/lib/typescript/components/notifications/Banner/index.d.ts.map +0 -1
- package/lib/typescript/components/notifications/Banner/themes/dark.d.ts.map +0 -1
- package/lib/typescript/components/notifications/Banner/themes/index.d.ts.map +0 -1
- package/lib/typescript/components/notifications/Banner/themes/light.d.ts.map +0 -1
- package/lib/typescript/components/typographies/Body/Body.d.ts.map +0 -1
- package/lib/typescript/components/typographies/Body/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/ButtonTitle/ButtonTitle.d.ts.map +0 -1
- package/lib/typescript/components/typographies/ButtonTitle/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/Callout/Callout.d.ts.map +0 -1
- package/lib/typescript/components/typographies/Callout/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/CaptionOne/CaptionOne.d.ts.map +0 -1
- package/lib/typescript/components/typographies/CaptionOne/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/CaptionTwo/CaptionTwo.d.ts.map +0 -1
- package/lib/typescript/components/typographies/CaptionTwo/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/Footnote/Footnote.d.ts.map +0 -1
- package/lib/typescript/components/typographies/Footnote/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/Headline/Headline.d.ts.map +0 -1
- package/lib/typescript/components/typographies/Headline/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/LargeTitle/LargeTitle.d.ts.map +0 -1
- package/lib/typescript/components/typographies/LargeTitle/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/Subhead/Subhead.d.ts.map +0 -1
- package/lib/typescript/components/typographies/Subhead/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/TitleOne/TitleOne.d.ts.map +0 -1
- package/lib/typescript/components/typographies/TitleOne/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/TitleThree/TitleThree.d.ts.map +0 -1
- package/lib/typescript/components/typographies/TitleThree/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/TitleTwo/TitleTwo.d.ts.map +0 -1
- package/lib/typescript/components/typographies/TitleTwo/index.d.ts.map +0 -1
- package/lib/typescript/components/typographies/font.d.ts.map +0 -1
- package/lib/typescript/hooks/useTheme.d.ts.map +0 -1
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/providers/DesignSystemProvider/DesignSystemProvider.d.ts.map +0 -1
- package/lib/typescript/providers/DesignSystemProvider/index.d.ts.map +0 -1
- package/lib/typescript/providers/IconProvider/IconProvider.d.ts.map +0 -1
- package/lib/typescript/providers/IconProvider/index.d.ts.map +0 -1
- package/lib/typescript/providers/ThemeProvider/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/styles/calendarTheme.d.ts.map +0 -1
- package/lib/typescript/styles/colors.d.ts.map +0 -1
- package/lib/typescript/styles/globalStyles.d.ts.map +0 -1
- package/lib/typescript/styles/space.d.ts.map +0 -1
- package/lib/typescript/styles/theme.d.ts.map +0 -1
- package/lib/typescript/utils/locale.d.ts.map +0 -1
- /package/lib/typescript/{components → commonjs/components}/Tag/Tag.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/Tag/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/Touchable/Touchable.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/Touchable/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/base/DatePicker/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/base/HeaderArrows/HeaderArrows.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/base/HeaderArrows/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButton.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButtonIcon.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButtonPrimary.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButtonSecondary.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/FicButtonTertiary.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/constants.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/themes/dark.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButton/themes/light.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButtonGroup/FicButtonGroup.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButtonGroup/FicButtonGroup.types.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/buttons/FicButtonGroup/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/notifications/Banner/Banner.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/notifications/Banner/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/notifications/Banner/themes/dark.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/notifications/Banner/themes/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/notifications/Banner/themes/light.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/Body/Body.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/Body/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/ButtonTitle/ButtonTitle.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/ButtonTitle/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/Callout/Callout.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/Callout/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/CaptionOne/CaptionOne.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/CaptionOne/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/CaptionTwo/CaptionTwo.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/CaptionTwo/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/Footnote/Footnote.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/Footnote/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/Headline/Headline.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/Headline/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/LargeTitle/LargeTitle.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/LargeTitle/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/Subhead/Subhead.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/Subhead/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/TitleOne/TitleOne.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/TitleOne/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/TitleThree/TitleThree.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/TitleThree/index.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/TitleTwo/TitleTwo.d.ts +0 -0
- /package/lib/typescript/{components → commonjs/components}/typographies/TitleTwo/index.d.ts +0 -0
- /package/lib/typescript/{hooks → commonjs/hooks}/useTheme.d.ts +0 -0
- /package/lib/typescript/{providers → commonjs/providers}/DesignSystemProvider/DesignSystemProvider.d.ts +0 -0
- /package/lib/typescript/{providers → commonjs/providers}/DesignSystemProvider/index.d.ts +0 -0
- /package/lib/typescript/{providers → commonjs/providers}/IconProvider/IconProvider.d.ts +0 -0
- /package/lib/typescript/{providers → commonjs/providers}/IconProvider/index.d.ts +0 -0
- /package/lib/typescript/{providers → commonjs/providers}/ThemeProvider/ThemeProvider.d.ts +0 -0
- /package/lib/typescript/{styles → commonjs/styles}/calendarTheme.d.ts +0 -0
- /package/lib/typescript/{styles → commonjs/styles}/colors.d.ts +0 -0
- /package/lib/typescript/{styles → commonjs/styles}/globalStyles.d.ts +0 -0
- /package/lib/typescript/{styles → commonjs/styles}/space.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/locale.d.ts +0 -0
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _colors = require("../../styles/colors");
|
|
10
|
-
var
|
|
9
|
+
var _colors = require("../../styles/colors.js");
|
|
10
|
+
var _index = require("../typographies/CaptionOne/index.js");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
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); }
|
|
13
13
|
const Tag = ({
|
|
14
14
|
text,
|
|
15
15
|
color = _colors.Colors.WHITE,
|
|
@@ -25,12 +25,15 @@ const Tag = ({
|
|
|
25
25
|
backgroundColor,
|
|
26
26
|
borderRadius: rounded ? 100 : 4
|
|
27
27
|
}, style];
|
|
28
|
-
return /*#__PURE__*/
|
|
29
|
-
style: containerStyle
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
29
|
+
style: containerStyle,
|
|
30
|
+
...rest,
|
|
31
|
+
children: finalText ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.CaptionOne, {
|
|
32
|
+
color: color,
|
|
33
|
+
numberOfLines: 1,
|
|
34
|
+
children: avoidUpperCase ? finalText : finalText.toUpperCase()
|
|
35
|
+
}) : children
|
|
36
|
+
});
|
|
34
37
|
};
|
|
35
38
|
const styles = _reactNative.StyleSheet.create({
|
|
36
39
|
container: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_colors","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_colors","_index","_jsxRuntime","e","__esModule","default","Tag","text","color","Colors","WHITE","backgroundColor","GREY_4","rounded","children","avoidUpperCase","style","rest","finalText","undefined","containerStyle","styles","container","borderRadius","jsx","View","CaptionOne","numberOfLines","toUpperCase","StyleSheet","create","alignItems","justifyContent","paddingVertical","paddingHorizontal","_default","exports"],"sourceRoot":"../../../../src","sources":["components/Tag/Tag.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAAwD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAWxD,MAAMG,GAAwB,GAAGA,CAAC;EAChCC,IAAI;EACJC,KAAK,GAAGC,cAAM,CAACC,KAAK;EACpBC,eAAe,GAAGF,cAAM,CAACG,MAAM;EAC/BC,OAAO,GAAG,KAAK;EACfC,QAAQ;EACRC,cAAc,GAAG,KAAK;EACtBC,KAAK;EACL,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,SAAS,GACbX,IAAI,KAAK,CAAC,CAACO,QAAQ,IAAI,OAAOA,QAAQ,KAAK,QAAQ,GAAGA,QAAQ,GAAGK,SAAS,CAAC;EAE7E,MAAMC,cAAc,GAAG,CACrBC,MAAM,CAACC,SAAS,EAChB;IACEX,eAAe;IACfY,YAAY,EAAEV,OAAO,GAAG,GAAG,GAAG;EAChC,CAAC,EACDG,KAAK,CACN;EAED,oBACE,IAAAd,WAAA,CAAAsB,GAAA,EAACzB,YAAA,CAAA0B,IAAI;IAACT,KAAK,EAAEI,cAAe;IAAA,GAAKH,IAAI;IAAAH,QAAA,EAClCI,SAAS,gBACR,IAAAhB,WAAA,CAAAsB,GAAA,EAACvB,MAAA,CAAAyB,UAAU;MAAClB,KAAK,EAAEA,KAAM;MAACmB,aAAa,EAAE,CAAE;MAAAb,QAAA,EACxCC,cAAc,GAAGG,SAAS,GAAGA,SAAS,CAACU,WAAW,CAAC;IAAC,CAC3C,CAAC,GAEbd;EACD,CACG,CAAC;AAEX,CAAC;AAED,MAAMO,MAAM,GAAGQ,uBAAU,CAACC,MAAM,CAAC;EAC/BR,SAAS,EAAE;IACTS,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,eAAe,EAAE,CAAC;IAClBC,iBAAiB,EAAE;EACrB;AACF,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA/B,OAAA,GAEYC,GAAG","ignoreList":[]}
|
|
@@ -9,6 +9,6 @@ Object.defineProperty(exports, "Tag", {
|
|
|
9
9
|
return _Tag.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var _Tag = _interopRequireDefault(require("./Tag"));
|
|
12
|
+
var _Tag = _interopRequireDefault(require("./Tag.js"));
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_Tag","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../src","sources":["components/Tag/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,IAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwB,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_Tag","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../src","sources":["components/Tag/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,IAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwB,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -8,9 +8,9 @@ var _lodash = require("lodash");
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _reactNativeGestureHandler = require("react-native-gesture-handler");
|
|
11
|
-
var _useTheme = require("../../hooks/useTheme");
|
|
11
|
+
var _useTheme = require("../../hooks/useTheme.js");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
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); }
|
|
14
14
|
const Touchable = ({
|
|
15
15
|
onPress,
|
|
16
16
|
children,
|
|
@@ -37,16 +37,20 @@ const Touchable = ({
|
|
|
37
37
|
// All Android Buttons should have the ripple effect
|
|
38
38
|
if (_reactNative.Platform.OS === 'android') {
|
|
39
39
|
if (!gestureHandler || disabled) {
|
|
40
|
-
return /*#__PURE__*/
|
|
40
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableNativeFeedback, {
|
|
41
|
+
...rest,
|
|
41
42
|
onPress: onPressHandler,
|
|
42
43
|
background: _reactNative.TouchableNativeFeedback.Ripple(rippleColors, borderless),
|
|
43
44
|
useForeground: _reactNative.TouchableNativeFeedback.canUseNativeForeground(),
|
|
44
|
-
disabled: disabled
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
disabled: disabled,
|
|
46
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
47
|
+
style: style,
|
|
48
|
+
children: children
|
|
49
|
+
})
|
|
50
|
+
});
|
|
48
51
|
} else {
|
|
49
|
-
return /*#__PURE__*/
|
|
52
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeGestureHandler.TouchableNativeFeedback, {
|
|
53
|
+
...rest,
|
|
50
54
|
onPress: onPressHandler
|
|
51
55
|
// @ts-ignore
|
|
52
56
|
,
|
|
@@ -58,22 +62,27 @@ const Touchable = ({
|
|
|
58
62
|
style: style
|
|
59
63
|
// @ts-ignore
|
|
60
64
|
,
|
|
61
|
-
containerStyle: containerStyle
|
|
62
|
-
|
|
65
|
+
containerStyle: containerStyle,
|
|
66
|
+
children: children
|
|
67
|
+
});
|
|
63
68
|
}
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
// Normal iOS buttons use TouchableOpacity
|
|
67
|
-
return highlight ? /*#__PURE__*/
|
|
72
|
+
return highlight ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableHighlight, {
|
|
73
|
+
...rest,
|
|
68
74
|
onPress: onPressHandler,
|
|
69
75
|
disabled: disabled,
|
|
70
76
|
style: style,
|
|
71
|
-
underlayColor: highlightColor
|
|
72
|
-
|
|
77
|
+
underlayColor: highlightColor,
|
|
78
|
+
children: children
|
|
79
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
80
|
+
...rest,
|
|
73
81
|
onPress: onPressHandler,
|
|
74
82
|
disabled: disabled,
|
|
75
|
-
style: style
|
|
76
|
-
|
|
83
|
+
style: style,
|
|
84
|
+
children: children
|
|
85
|
+
});
|
|
77
86
|
};
|
|
78
87
|
var _default = exports.default = Touchable;
|
|
79
88
|
//# sourceMappingURL=Touchable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_lodash","require","_react","_interopRequireDefault","_reactNative","_reactNativeGestureHandler","_useTheme","e","__esModule","default","
|
|
1
|
+
{"version":3,"names":["_lodash","require","_react","_interopRequireDefault","_reactNative","_reactNativeGestureHandler","_useTheme","_jsxRuntime","e","__esModule","default","Touchable","onPress","children","style","containerStyle","disabled","highlight","borderless","gestureHandler","theme","rest","touchables","touchablesTheme","useTheme","rippleColors","highlightColor","onPressHandler","throttle","trailing","Platform","OS","jsx","TouchableNativeFeedback","background","Ripple","useForeground","canUseNativeForeground","View","GHTouchableNativeFeedback","TouchableHighlight","underlayColor","TouchableOpacity","_default","exports"],"sourceRoot":"../../../../src","sources":["components/Touchable/Touchable.tsx"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAWA,IAAAI,0BAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AAAgD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAE,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAchD,MAAMG,SAA6C,GAAGA,CAAC;EACrDC,OAAO;EACPC,QAAQ;EACRC,KAAK;EACLC,cAAc;EACdC,QAAQ;EACRC,SAAS,GAAG,KAA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;QAClErB,QAAQ,EAAEA,QAAS;QACnBF,KAAK,EAAEA;QACP;QAAA;QACAC,cAAc,EAAEA,cAAe;QAAAF,QAAA,EAE9BA;MAAQ,CACgB,CAAC;IAEhC;EACF;;EAEA;EACA,OAAOI,SAAS,gBACd,IAAAV,WAAA,CAAAyB,GAAA,EAAC5B,YAAA,CAAAoC,kBAAkB;IAAA,GACbnB,IAAI;IACRT,OAAO,EAAEe,cAAe;IACxBX,QAAQ,EAAEA,QAAS;IACnBF,KAAK,EAAEA,KAAM;IACb2B,aAAa,EAAEf,cAAe;IAAAb,QAAA,EAE7BA;EAAQ,CACS,CAAC,gBAErB,IAAAN,WAAA,CAAAyB,GAAA,EAAC5B,YAAA,CAAAsC,gBAAgB;IAAA,GACXrB,IAAI;IACRT,OAAO,EAAEe,cAAe;IACxBX,QAAQ,EAAEA,QAAS;IACnBF,KAAK,EAAEA,KAAM;IAAAD,QAAA,EAEZA;EAAQ,CACO,CACnB;AACH,CAAC;AAAC,IAAA8B,QAAA,GAAAC,OAAA,CAAAlC,OAAA,GAEaC,SAAS","ignoreList":[]}
|
|
@@ -9,6 +9,6 @@ Object.defineProperty(exports, "Touchable", {
|
|
|
9
9
|
return _Touchable.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var _Touchable = _interopRequireDefault(require("./Touchable"));
|
|
12
|
+
var _Touchable = _interopRequireDefault(require("./Touchable.js"));
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_Touchable","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../src","sources":["components/Touchable/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAoC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_Touchable","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../src","sources":["components/Touchable/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAoC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -8,16 +8,18 @@ var _lodash = require("lodash");
|
|
|
8
8
|
var _moment = _interopRequireDefault(require("moment"));
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _reactNativeCalendars = require("react-native-calendars");
|
|
11
|
-
var _useTheme = require("../../../hooks/useTheme");
|
|
12
|
-
var
|
|
13
|
-
var _colors = require("../../../styles/colors");
|
|
14
|
-
var _constants = require("../../buttons/FicButton/constants");
|
|
15
|
-
var
|
|
16
|
-
var _font = require("../../typographies/font");
|
|
17
|
-
var
|
|
11
|
+
var _useTheme = require("../../../hooks/useTheme.js");
|
|
12
|
+
var _index = require("../../../providers/IconProvider/index.js");
|
|
13
|
+
var _colors = require("../../../styles/colors.js");
|
|
14
|
+
var _constants = require("../../buttons/FicButton/constants.js");
|
|
15
|
+
var _index2 = require("../../typographies/Body/index.js");
|
|
16
|
+
var _font = require("../../typographies/font.js");
|
|
17
|
+
var _index3 = require("../HeaderArrows/index.js");
|
|
18
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
19
20
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
20
|
-
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
|
|
21
23
|
const DatePicker = props => {
|
|
22
24
|
const {
|
|
23
25
|
datePickers
|
|
@@ -200,18 +202,19 @@ const DatePicker = props => {
|
|
|
200
202
|
direction
|
|
201
203
|
}) => {
|
|
202
204
|
const createIconComponent = (name, calendarUnit) => ({
|
|
203
|
-
component: /*#__PURE__*/
|
|
205
|
+
component: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Icon, {
|
|
204
206
|
name: name,
|
|
205
207
|
size: _constants.DEFAULT_ICON_SIZE,
|
|
206
|
-
color: arrowColor || _colors.Colors.BLUE
|
|
207
|
-
|
|
208
|
+
color: arrowColor || _colors.Colors.BLUE,
|
|
209
|
+
...headerIconProps
|
|
210
|
+
}),
|
|
208
211
|
calendarUnit
|
|
209
212
|
});
|
|
210
213
|
const _monthIconName = monthIconNames ? direction === 'left' ? monthIconNames.left : monthIconNames.right : `chevron-${direction}`;
|
|
211
214
|
const _yearIconName = yearIconNames ? direction === 'left' ? yearIconNames.left : yearIconNames.right : `chevron-double-${direction}`;
|
|
212
215
|
const monthIconComponent = createIconComponent(_monthIconName, 'month');
|
|
213
216
|
const yearIconComponent = createIconComponent(_yearIconName, 'year');
|
|
214
|
-
return /*#__PURE__*/
|
|
217
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.HeaderArrows, {
|
|
215
218
|
withYearSelector: withYearSelector,
|
|
216
219
|
monthIconComponent: monthIconComponent,
|
|
217
220
|
yearIconComponent: yearIconComponent,
|
|
@@ -224,18 +227,18 @@ const DatePicker = props => {
|
|
|
224
227
|
};
|
|
225
228
|
|
|
226
229
|
// Memoized Header
|
|
227
|
-
const Header = (0, _react.useMemo)(() => /*#__PURE__*/
|
|
230
|
+
const Header = (0, _react.useMemo)(() => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Body, {
|
|
228
231
|
color: monthTextColor || _colors.Colors.BLUE,
|
|
229
232
|
weight: _font.FontWeight.SEMIBOLD,
|
|
230
233
|
style: {
|
|
231
234
|
fontWeight: textMonthFontWeight
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
|
|
235
|
+
},
|
|
236
|
+
children: (0, _lodash.capitalize)((0, _moment.default)(`${currentMonth}-${currentYear}`, 'M-YYYY').format('MMMM YYYY'))
|
|
237
|
+
}), [currentMonth, currentYear]);
|
|
238
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeCalendars.Calendar, {
|
|
235
239
|
disableArrowLeft: true,
|
|
236
240
|
disableArrowRight: true,
|
|
237
|
-
|
|
238
|
-
renderArrow: direction => /*#__PURE__*/_react.default.createElement(Arrows, {
|
|
241
|
+
renderArrow: direction => /*#__PURE__*/(0, _jsxRuntime.jsx)(Arrows, {
|
|
239
242
|
direction: direction
|
|
240
243
|
}),
|
|
241
244
|
renderHeader: () => Header,
|
|
@@ -251,7 +254,7 @@ const DatePicker = props => {
|
|
|
251
254
|
maxDate: formattedMaxDate || formattedEndingDay,
|
|
252
255
|
firstDay: firstDay,
|
|
253
256
|
theme: isTodayInRange ? restTheme : theme
|
|
254
|
-
});
|
|
257
|
+
}, `${currentYear}-${currentMonth}`);
|
|
255
258
|
};
|
|
256
259
|
var _default = exports.default = DatePicker;
|
|
257
260
|
//# sourceMappingURL=DatePicker.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_lodash","require","_moment","_interopRequireDefault","_react","_interopRequireWildcard","_reactNativeCalendars","_useTheme","_IconProvider","_colors","_constants","_Body","_font","_HeaderArrows","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","DatePicker","props","datePickers","useTheme","onDatePicked","value","startingDate","endingDate","minDate","maxDate","showSixWeeks","hideExtraDays","format","moment","localeData","longDateFormat","firstDay","theme","withYearSelector","monthIconNames","yearIconNames","headerIconProps","periodMarkingStyle","useMemo","color","selectedDayBackgroundColor","textColor","selectedDayTextColor","formattedStartingDay","formattedEndingDay","selectedDate","isValid","undefined","currentYear","setCurrentYear","useState","year","currentMonth","setCurrentMonth","month","useEffect","newMonthFromValue","newYearFromValue","currentDate","createDatePeriod","useCallback","startDate","endDate","dateRange","startingDay","endingDay","start","startOf","add","end","isAfter","onDateSelected","date","dateString","markingType","formattedMinDate","formattedMaxDate","isTodayBetweenStartingDayAndSelected","isBetween","endOf","isTodayBetweenSelectedAndEndingDay","isSelectedDateToday","isSame","isTodayInRange","todayBackgroundColor","todayTextColor","arrowColor","monthTextColor","textMonthFontWeight","restTheme","markedDates","toReturn","selected","isAfterStartingDate","isBeforeEndingDate","isBefore","isSelectable","onPreviousYearPress","onPreviousMonthPress","onNextYearPress","onNextMonthPress","Arrows","direction","createIconComponent","name","calendarUnit","component","createElement","Icon","size","DEFAULT_ICON_SIZE","Colors","BLUE","_monthIconName","left","right","_yearIconName","monthIconComponent","yearIconComponent","HeaderArrows","Header","Body","weight","FontWeight","SEMIBOLD","style","fontWeight","capitalize","Calendar","disableArrowLeft","disableArrowRight","key","renderArrow","renderHeader","onDayPress","current","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/base/DatePicker/DatePicker.tsx"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,uBAAA,CAAAJ,OAAA;AAGA,IAAAK,qBAAA,GAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AAEA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,UAAA,GAAAT,OAAA;AACA,IAAAU,KAAA,GA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,SAAS,EAAEA;IAAU,CAAE,CAAE;IACxE+B,YAAY,EAAEA,CAAA,KAAMb,MAAO;IAC3Bc,UAAU,EAAE/D,cAAe;IAC3BgE,OAAO,EACL7E,WAAW,IACXb,YAAY,IACZF,oBAAoB,IACpBC,kBAAkB,IAClB+B,gBAAgB,IAChBC,gBACD;IACDlD,aAAa,EAAEA;IACf;IAAA;IACAD,YAAY,EAAEA,YAAoB;IAClCiD,WAAW,EAAEA,WAAwB;IACrCgB,WAAW,EAAEA,WAAY;IACzBnE,OAAO,EAAEoD,gBAAgB,IAAIhC,oBAAqB;IAClDnB,OAAO,EAAEoD,gBAAgB,IAAIhC,kBAAmB;IAChDb,QAAQ,EAAEA,QAAS;IACnBC,KAAK,EAAEmD,cAAc,GAAGM,SAAS,GAAGzD;EAAM,CAC3C,CAAC;AAEN,CAAC;AAAC,IAAAwG,QAAA,GAAAC,OAAA,CAAAzI,OAAA,GAEae,UAAU","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_lodash","require","_moment","_interopRequireDefault","_react","_interopRequireWildcard","_reactNativeCalendars","_useTheme","_index","_colors","_constants","_index2","_font","_index3","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","DatePicker","props","datePickers","useTheme","onDatePicked","value","startingDate","endingDate","minDate","maxDate","showSixWeeks","hideExtraDays","format","moment","localeData","longDateFormat","firstDay","theme","withYearSelector","monthIconNames","yearIconNames","headerIconProps","periodMarkingStyle","useMemo","color","selectedDayBackgroundColor","textColor","selectedDayTextColor","formattedStartingDay","formattedEndingDay","selectedDate","isValid","undefined","currentYear","setCurrentYear","useState","year","currentMonth","setCurrentMonth","month","useEffect","newMonthFromValue","newYearFromValue","currentDate","createDatePeriod","useCallback","startDate","endDate","dateRange","startingDay","endingDay","start","startOf","add","end","isAfter","assign","onDateSelected","date","dateString","markingType","formattedMinDate","formattedMaxDate","isTodayBetweenStartingDayAndSelected","isBetween","endOf","isTodayBetweenSelectedAndEndingDay","isSelectedDateToday","isSame","isTodayInRange","todayBackgroundColor","todayTextColor","arrowColor","monthTextColor","textMonthFontWeight","restTheme","markedDates","toReturn","selected","isAfterStartingDate","isBeforeEndingDate","isBefore","isSelectable","onPreviousYearPress","onPreviousMonthPress","onNextYearPress","onNextMonthPress","Arrows","direction","createIconComponent","name","calendarUnit","component","jsx","Icon","size","DEFAULT_ICON_SIZE","Colors","BLUE","_monthIconName","left","right","_yearIconName","monthIconComponent","yearIconComponent","HeaderArrows","Header","Body","weight","FontWeight","SEMIBOLD","style","fontWeight","children","capitalize","Calendar","disableArrowLeft","disableArrowRight","renderArrow","renderHeader","onDayPress","current","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/base/DatePicker/DatePicker.tsx"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,uBAAA,CAAAJ,OAAA;AAGA,IAAAK,qBAAA,GAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AAEA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,UAAA,GAAAT,OAAA;AACA,IAAAU,OAAA,GAAAV,OAAA;AACA,IAAAW,KAAA,GAAAX,OAAA;AACA,IAAAY,OAAA,GAAAZ,OAAA;AAA+C,IAAAa,WAAA,GAAAb,OAAA;AAAA,SAAAI,wBAAAU,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAZ,uBAAA,YAAAA,CAAAU,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA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BAAU,EACT,IAAArG,eAAM,EAAC,GAAGwB,YAAY,IAAIJ,WAAW,EAAE,EAAE,QAAQ,CAAC,CAACrB,MAAM,CAAC,WAAW,CACvE;EAAC,CACG,CACP,EACD,CAACyB,YAAY,EAAEJ,WAAW,CAC5B,CAAC;EAED,oBACE,IAAArD,WAAA,CAAAiH,GAAA,EAACzH,qBAAA,CAAA+I,QAAQ;IACPC,gBAAgB;IAChBC,iBAAiB;IAEjBC,WAAW,EAAG9B,SAAoB,iBAAK,IAAA5G,WAAA,CAAAiH,GAAA,EAACN,MAAM;MAACC,SAAS,EAAEA;IAAU,CAAE,CAAE;IACxE+B,YAAY,EAAEA,CAAA,KAAMb,MAAO;IAC3Bc,UAAU,EAAE/D,cAAe;IAC3BgE,OAAO,EACL9E,WAAW,IACXb,YAAY,IACZF,oBAAoB,IACpBC,kBAAkB,IAClBgC,gBAAgB,IAChBC,gBACD;IACDnD,aAAa,EAAEA;IACf;IAAA;IACAD,YAAY,EAAEA,YAAoB;IAClCkD,WAAW,EAAEA,WAAwB;IACrCgB,WAAW,EAAEA,WAAY;IACzBpE,OAAO,EAAEqD,gBAAgB,IAAIjC,oBAAqB;IAClDnB,OAAO,EAAEqD,gBAAgB,IAAIjC,kBAAmB;IAChDb,QAAQ,EAAEA,QAAS;IACnBC,KAAK,EAAEoD,cAAc,GAAGM,SAAS,GAAG1D;EAAM,GApBrC,GAAGgB,WAAW,IAAII,YAAY,EAqBpC,CAAC;AAEN,CAAC;AAAC,IAAAqF,QAAA,GAAAC,OAAA,CAAApI,OAAA,GAEaS,UAAU","ignoreList":[]}
|
|
@@ -9,6 +9,6 @@ Object.defineProperty(exports, "DatePicker", {
|
|
|
9
9
|
return _DatePicker.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var _DatePicker = _interopRequireDefault(require("./DatePicker"));
|
|
12
|
+
var _DatePicker = _interopRequireDefault(require("./DatePicker.js"));
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_DatePicker","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/base/DatePicker/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA4D,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_DatePicker","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/base/DatePicker/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA4D,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -6,7 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var
|
|
9
|
+
var _index = require("../../Touchable/index.js");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
12
|
const HeaderArrows = ({
|
|
12
13
|
withYearSelector,
|
|
@@ -30,26 +31,24 @@ const HeaderArrows = ({
|
|
|
30
31
|
year: onNextYearPress
|
|
31
32
|
}
|
|
32
33
|
};
|
|
33
|
-
const handleAction = calendarUnit =>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
onPress: () => handleAction(calendarUnit)
|
|
52
|
-
}, component)));
|
|
34
|
+
const handleAction = calendarUnit => actions?.[direction]?.[calendarUnit]?.();
|
|
35
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
36
|
+
style: styles.container,
|
|
37
|
+
children: iconsToBeRendered.map(({
|
|
38
|
+
calendarUnit,
|
|
39
|
+
component
|
|
40
|
+
}, idx) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Touchable, {
|
|
41
|
+
style: [styles.iconContainer, direction === 'left' && styles.iconContainerLeft, direction === 'right' && styles.iconContainerRight],
|
|
42
|
+
hitSlop: {
|
|
43
|
+
top: 8,
|
|
44
|
+
right: 8,
|
|
45
|
+
bottom: 8,
|
|
46
|
+
left: 8
|
|
47
|
+
},
|
|
48
|
+
onPress: () => handleAction(calendarUnit),
|
|
49
|
+
children: component
|
|
50
|
+
}, idx))
|
|
51
|
+
});
|
|
53
52
|
};
|
|
54
53
|
const styles = _reactNative.StyleSheet.create({
|
|
55
54
|
// For some reasons if we display custom arrows a horizontal padding of 10px is applied to the header container
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_index","_jsxRuntime","e","__esModule","default","HeaderArrows","withYearSelector","direction","monthIconComponent","yearIconComponent","onPreviousMonthPress","onPreviousYearPress","onNextMonthPress","onNextYearPress","iconSet","iconsToBeRendered","reverse","actions","left","month","year","right","handleAction","calendarUnit","jsx","View","style","styles","container","children","map","component","idx","Touchable","iconContainer","iconContainerLeft","iconContainerRight","hitSlop","top","bottom","onPress","StyleSheet","create","alignItems","flexDirection","marginLeft","marginRight","padding","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/base/HeaderArrows/HeaderArrows.tsx"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aAAa,EACpB3B,SAAS,KAAK,MAAM,IAAIoB,MAAM,CAACQ,iBAAiB,EAChD5B,SAAS,KAAK,OAAO,IAAIoB,MAAM,CAACS,kBAAkB,CAClD;MACFC,OAAO,EAAE;QAAEC,GAAG,EAAE,CAAC;QAAEjB,KAAK,EAAE,CAAC;QAAEkB,MAAM,EAAE,CAAC;QAAErB,IAAI,EAAE;MAAE,CAAE;MAClDsB,OAAO,EAAEA,CAAA,KAAMlB,YAAY,CAACC,YAAY,CAAE;MAAAM,QAAA,EAEzCE;IAAS,GATLC,GAUI,CACZ;EAAC,CACE,CAAC;AAEX,CAAC;AAED,MAAML,MAAM,GAAGc,uBAAU,CAACC,MAAM,CAAC;EAC/B;EACAd,SAAS,EAAE;IACTe,UAAU,EAAE,QAAQ;IACpBC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,CAAC,EAAE;IACfC,WAAW,EAAE,CAAC;EAChB,CAAC;EACDZ,aAAa,EAAE;IACbU,aAAa,EAAE,KAAK;IACpBD,UAAU,EAAE,QAAQ;IACpBI,OAAO,EAAE;EACX,CAAC;EACDZ,iBAAiB,EAAE;IACjBW,WAAW,EAAE,EAAE;IACfD,UAAU,EAAE;EACd,CAAC;EACDT,kBAAkB,EAAE;IAClBU,WAAW,EAAE,CAAC;IACdD,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAAC,IAAAG,QAAA,GAAAC,OAAA,CAAA7C,OAAA,GAEYC,YAAY","ignoreList":[]}
|
|
@@ -9,6 +9,6 @@ Object.defineProperty(exports, "HeaderArrows", {
|
|
|
9
9
|
return _HeaderArrows.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var _HeaderArrows = _interopRequireDefault(require("./HeaderArrows"));
|
|
12
|
+
var _HeaderArrows = _interopRequireDefault(require("./HeaderArrows.js"));
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_HeaderArrows","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/base/HeaderArrows/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_HeaderArrows","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["components/base/HeaderArrows/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -5,38 +5,31 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _FicButtonIcon = _interopRequireDefault(require("./FicButtonIcon"));
|
|
9
|
-
var _FicButtonPrimary = _interopRequireDefault(require("./FicButtonPrimary"));
|
|
10
|
-
var _FicButtonSecondary = _interopRequireDefault(require("./FicButtonSecondary"));
|
|
11
|
-
var _FicButtonTertiary = _interopRequireDefault(require("./FicButtonTertiary"));
|
|
8
|
+
var _FicButtonIcon = _interopRequireDefault(require("./FicButtonIcon.js"));
|
|
9
|
+
var _FicButtonPrimary = _interopRequireDefault(require("./FicButtonPrimary.js"));
|
|
10
|
+
var _FicButtonSecondary = _interopRequireDefault(require("./FicButtonSecondary.js"));
|
|
11
|
+
var _FicButtonTertiary = _interopRequireDefault(require("./FicButtonTertiary.js"));
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
|
|
14
|
+
const buttonMap = {
|
|
15
|
+
icon: _FicButtonIcon.default,
|
|
16
|
+
secondary: _FicButtonSecondary.default,
|
|
17
|
+
tertiary: _FicButtonTertiary.default,
|
|
18
|
+
primary: _FicButtonPrimary.default
|
|
19
|
+
};
|
|
14
20
|
const FicButton = ({
|
|
15
21
|
type = 'primary',
|
|
16
22
|
...commonProps
|
|
17
23
|
}) => {
|
|
18
|
-
const _iconPosition = commonProps.iconPosition
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
iconPosition: _iconPosition
|
|
28
|
-
}, commonProps));
|
|
29
|
-
case 'tertiary':
|
|
30
|
-
return /*#__PURE__*/_react.default.createElement(_FicButtonTertiary.default, _extends({
|
|
31
|
-
iconPosition: _iconPosition
|
|
32
|
-
}, commonProps));
|
|
33
|
-
default:
|
|
34
|
-
return /*#__PURE__*/_react.default.createElement(_FicButtonPrimary.default, _extends({
|
|
35
|
-
iconPosition: _iconPosition
|
|
36
|
-
}, commonProps));
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
return /*#__PURE__*/_react.default.createElement(FButton, null);
|
|
24
|
+
const _iconPosition = commonProps.iconPosition ?? (commonProps.iconName ? 'left' : undefined);
|
|
25
|
+
const ButtonComponent = buttonMap[type] || _FicButtonPrimary.default;
|
|
26
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(ButtonComponent, {
|
|
27
|
+
iconPosition: _iconPosition,
|
|
28
|
+
...(type === 'icon' ? {
|
|
29
|
+
isPressable: true
|
|
30
|
+
} : {}),
|
|
31
|
+
...commonProps
|
|
32
|
+
});
|
|
40
33
|
};
|
|
41
34
|
var _default = exports.default = FicButton;
|
|
42
35
|
//# sourceMappingURL=FicButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_FicButtonIcon","_FicButtonPrimary","_FicButtonSecondary","_FicButtonTertiary","e","__esModule","default","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_FicButtonIcon","_FicButtonPrimary","_FicButtonSecondary","_FicButtonTertiary","_jsxRuntime","e","__esModule","default","buttonMap","icon","FicButtonIcon","secondary","FicButtonSecondary","tertiary","FicButtonTertiary","primary","FicButtonPrimary","FicButton","type","commonProps","_iconPosition","iconPosition","iconName","undefined","ButtonComponent","jsx","isPressable","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButton/FicButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,iBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,mBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,kBAAA,GAAAL,sBAAA,CAAAC,OAAA;AAAoD,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEpD,MAAMG,SAAS,GAAG;EAChBC,IAAI,EAAEC,sBAAa;EACnBC,SAAS,EAAEC,2BAAkB;EAC7BC,QAAQ,EAAEC,0BAAiB;EAC3BC,OAAO,EAAEC;AACX,CAAC;AAED,MAAMC,SAAmC,GAAGA,CAAC;EAC3CC,IAAI,GAAG,SAAS;EAChB,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,aAAa,GACjBD,WAAW,CAACE,YAAY,KAAKF,WAAW,CAACG,QAAQ,GAAG,MAAM,GAAGC,SAAS,CAAC;EAEzE,MAAMC,eAAe,GAAGhB,SAAS,CAACU,IAAI,CAAC,IAAIF,yBAAgB;EAE3D,oBACE,IAAAZ,WAAA,CAAAqB,GAAA,EAACD,eAAe;IACdH,YAAY,EAAED,aAAc;IAAA,IACvBF,IAAI,KAAK,MAAM,GAAG;MAAEQ,WAAW,EAAE;IAAK,CAAC,GAAG,CAAC,CAAC;IAAA,GAC7CP;EAAW,CAChB,CAAC;AAEN,CAAC;AAAC,IAAAQ,QAAA,GAAAC,OAAA,CAAArB,OAAA,GAEaU,SAAS","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButton/FicButton.types.ts"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/buttons/FicButton/FicButton.types.ts"],"mappings":"","ignoreList":[]}
|