@pareto-engineering/design-system 0.0.1-alpha.9 → 2.0.0-alpha.11
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/.eslintrc.js +1 -1
- package/.github/workflows/{push-development.yaml → push-main-branches.yaml} +3 -1
- package/.github/workflows/{pr.yaml → push-pr.yaml} +23 -4
- package/.github/{workflows → workflows.old}/push-production.yaml +0 -0
- package/.github/{workflows → workflows.old}/push-staging.yaml +0 -0
- package/.github/{workflows → workflows.old}/test-publish.no +0 -0
- package/.github/{workflows → workflows.old}/test-publish.yaml +0 -0
- package/babel.config.js +4 -0
- package/config/global-setup.js +3 -0
- package/dist/cjs/a/AnimatedCounter/AnimatedCounter.js +121 -0
- package/dist/cjs/a/AnimatedCounter/index.js +15 -0
- package/dist/cjs/a/AnimatedCounter/styles.scss +16 -0
- package/dist/cjs/a/ContentCard/ContentCard.js +79 -0
- package/dist/cjs/a/ContentCard/common/Section/Section.js +80 -0
- package/dist/cjs/a/ContentCard/common/Section/index.js +15 -0
- package/dist/cjs/a/ContentCard/common/index.js +13 -0
- package/dist/cjs/a/ContentCard/index.js +15 -0
- package/dist/cjs/a/ContentCard/styles.scss +78 -0
- package/dist/cjs/a/Conversation/Context.js +16 -0
- package/dist/cjs/a/Conversation/Conversation.js +100 -0
- package/dist/cjs/a/Conversation/common/Message/Message.js +90 -0
- package/dist/cjs/a/Conversation/common/Message/index.js +15 -0
- package/dist/cjs/a/Conversation/common/index.js +13 -0
- package/dist/cjs/a/Conversation/index.js +31 -0
- package/dist/cjs/a/Conversation/styles.scss +54 -0
- package/dist/cjs/a/Conversation/useConversation.js +16 -0
- package/dist/cjs/a/CustomerLogos/CustomerLogos.js +86 -0
- package/dist/cjs/a/CustomerLogos/index.js +15 -0
- package/dist/cjs/a/CustomerLogos/styles.scss +41 -0
- package/dist/cjs/a/CustomerStat/CustomerStat.js +87 -0
- package/dist/cjs/a/CustomerStat/index.js +15 -0
- package/dist/cjs/a/CustomerStat/styles.scss +16 -0
- package/dist/cjs/a/DashboardNavbar/DashboardNavbar.js +3 -3
- package/dist/cjs/a/DashboardNavbar/common/NavItem/NavItem.js +3 -3
- package/dist/cjs/a/DashboardNavbar/common/NavProfile/NavProfile.js +3 -3
- package/dist/cjs/a/DotInfo/DotInfo.js +106 -0
- package/dist/cjs/a/DotInfo/index.js +15 -0
- package/dist/cjs/a/DotInfo/styles.scss +20 -0
- package/dist/cjs/a/FeaturedOn/FeaturedOn.js +88 -0
- package/dist/cjs/a/FeaturedOn/index.js +15 -0
- package/dist/cjs/a/FeaturedOn/styles.scss +41 -0
- package/dist/cjs/a/Figure/Figure.js +84 -0
- package/dist/cjs/a/Figure/index.js +15 -0
- package/dist/cjs/a/Figure/styles.scss +19 -0
- package/dist/cjs/a/GradientBackground/GradientBackground.js +140 -0
- package/dist/cjs/a/GradientBackground/index.js +15 -0
- package/dist/cjs/a/GradientBackground/styles.scss +191 -0
- package/dist/cjs/a/HamburgerButton/HamburgerButton.js +107 -0
- package/dist/cjs/a/HamburgerButton/index.js +15 -0
- package/dist/cjs/a/HamburgerButton/styles.scss +41 -0
- package/dist/cjs/a/IconList/IconList.js +102 -0
- package/dist/cjs/a/IconList/common/Item/Item.js +98 -0
- package/dist/cjs/a/IconList/common/Item/index.js +15 -0
- package/dist/cjs/a/IconList/common/index.js +13 -0
- package/dist/cjs/a/IconList/index.js +15 -0
- package/dist/cjs/a/IconList/styles.scss +37 -0
- package/dist/cjs/a/LoadingCircle/LoadingCircle.js +121 -0
- package/dist/cjs/a/LoadingCircle/index.js +15 -0
- package/dist/cjs/a/LoadingCircle/styles.scss +49 -0
- package/dist/cjs/a/OvalIllustration/OvalIllustration.js +133 -0
- package/dist/cjs/a/OvalIllustration/index.js +15 -0
- package/dist/cjs/a/OvalIllustration/styles.scss +102 -0
- package/dist/cjs/a/People/People.js +95 -0
- package/dist/cjs/a/People/common/Person/Person.js +96 -0
- package/dist/cjs/a/People/common/Person/index.js +15 -0
- package/dist/cjs/a/People/common/index.js +13 -0
- package/dist/cjs/a/People/index.js +15 -0
- package/dist/cjs/a/People/styles.scss +52 -0
- package/dist/cjs/a/ProgressBar/ProgressBar.js +99 -0
- package/dist/cjs/a/ProgressBar/index.js +15 -0
- package/dist/cjs/a/ProgressBar/styles.scss +37 -0
- package/dist/cjs/a/Quote/Quote.js +96 -0
- package/dist/cjs/a/Quote/index.js +15 -0
- package/dist/cjs/a/Quote/styles.scss +53 -0
- package/dist/cjs/a/SVG/SVG.js +165 -0
- package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +88 -0
- package/dist/cjs/a/SVG/common/UseSVG/index.js +15 -0
- package/dist/cjs/a/SVG/common/index.js +13 -0
- package/dist/cjs/a/SVG/index.js +15 -0
- package/dist/cjs/a/SVG/styles.scss +57 -0
- package/dist/cjs/a/Shapes/Shapes.js +163 -0
- package/dist/cjs/a/Shapes/index.js +15 -0
- package/dist/cjs/a/Shapes/styles.scss +221 -0
- package/dist/cjs/a/SiteContext/Context.js +2 -2
- package/dist/cjs/a/SiteContext/ContextProvider.js +41 -11
- package/dist/cjs/a/SiteContext/useTheme.js +3 -1
- package/dist/cjs/a/SnapScroller/SnapScroller.js +77 -0
- package/dist/cjs/a/SnapScroller/index.js +15 -0
- package/dist/cjs/a/SnapScroller/styles.scss +38 -0
- package/dist/cjs/a/Spinner/Spinner.js +73 -0
- package/dist/cjs/a/Spinner/index.js +15 -0
- package/dist/cjs/a/Spinner/styles.scss +23 -0
- package/dist/cjs/a/TeamInfo/TeamInfo.js +102 -0
- package/dist/cjs/a/TeamInfo/index.js +15 -0
- package/dist/cjs/a/TeamInfo/styles.scss +58 -0
- package/dist/cjs/a/Timestamp/Timestamp.js +139 -0
- package/dist/cjs/a/Timestamp/index.js +15 -0
- package/dist/cjs/a/Timestamp/styles.scss +7 -0
- package/dist/cjs/a/index.js +161 -1
- package/dist/cjs/b/Button/Button.js +49 -9
- package/dist/cjs/b/Button/styles.scss +78 -7
- package/dist/cjs/b/Card/Card.js +3 -3
- package/dist/cjs/b/Card/common/Group/Group.js +3 -3
- package/dist/cjs/b/Logo/Logo.js +139 -0
- package/dist/cjs/b/Logo/index.js +15 -0
- package/dist/cjs/b/Logo/styles.scss +147 -0
- package/dist/cjs/b/Metrics/Metrics.js +89 -0
- package/dist/cjs/b/Metrics/index.js +15 -0
- package/dist/cjs/b/Metrics/styles.scss +91 -0
- package/dist/cjs/b/Page/Context.js +2 -2
- package/dist/cjs/b/Page/Page.js +6 -4
- package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +37 -24
- package/dist/cjs/b/Page/common/Section/Section.js +47 -8
- package/dist/cjs/b/Page/styles.scss +8 -2
- package/dist/cjs/b/QuestionDropdown/QuestionDropdown.js +25 -17
- package/dist/cjs/b/QuestionDropdown/styles.scss +3 -3
- package/dist/cjs/b/Segment/Segment.js +3 -3
- package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +140 -0
- package/dist/cjs/b/SocialMediaButton/index.js +15 -0
- package/dist/cjs/b/SocialMediaButton/styles.scss +49 -0
- package/dist/cjs/b/ThemeSelector/ThemeSelector.js +101 -0
- package/dist/cjs/b/ThemeSelector/index.js +15 -0
- package/dist/cjs/b/ThemeSelector/styles.scss +14 -0
- package/dist/cjs/b/Title/Title.js +3 -3
- package/dist/cjs/b/index.js +33 -1
- package/dist/cjs/c/AcceptCookies/AcceptCookies.js +134 -0
- package/dist/cjs/c/AcceptCookies/index.js +15 -0
- package/dist/cjs/c/AcceptCookies/styles.scss +49 -0
- package/dist/cjs/c/BlogCategoryButton/BlogCategoryButton.js +95 -0
- package/dist/cjs/c/BlogCategoryButton/index.js +15 -0
- package/dist/cjs/c/BlogContext/BlogContextProvider.js +63 -0
- package/dist/cjs/c/BlogContext/Context.js +16 -0
- package/dist/cjs/c/BlogContext/ContextProvider.js +63 -0
- package/dist/cjs/c/BlogContext/index.js +31 -0
- package/dist/cjs/c/BlogContext/useBlog.js +16 -0
- package/dist/cjs/c/BlogPost/BlogPost.js +147 -0
- package/dist/cjs/c/BlogPost/index.js +15 -0
- package/dist/cjs/c/BlogPost/styles.scss +33 -0
- package/dist/cjs/c/BlogPostsList/BlogPostsList.js +73 -0
- package/dist/cjs/c/BlogPostsList/common/Card/Card.js +170 -0
- package/dist/cjs/c/BlogPostsList/common/Card/index.js +15 -0
- package/dist/cjs/c/BlogPostsList/common/index.js +13 -0
- package/dist/cjs/c/BlogPostsList/index.js +15 -0
- package/dist/cjs/c/BlogPostsList/styles.scss +72 -0
- package/dist/cjs/c/ContentSlides/ContentSlides.js +200 -0
- package/dist/cjs/c/ContentSlides/Context.js +16 -0
- package/dist/cjs/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +135 -0
- package/dist/cjs/c/ContentSlides/common/HorizontalMenu/index.js +15 -0
- package/dist/cjs/c/ContentSlides/common/Navigator/Navigator.js +145 -0
- package/dist/cjs/c/ContentSlides/common/Navigator/index.js +15 -0
- package/dist/cjs/c/ContentSlides/common/Sidebar/Sidebar.js +106 -0
- package/dist/cjs/c/ContentSlides/common/Sidebar/index.js +15 -0
- package/dist/cjs/c/ContentSlides/common/Slide/Slide.js +84 -0
- package/dist/cjs/c/ContentSlides/common/Slide/index.js +15 -0
- package/dist/cjs/c/ContentSlides/common/index.js +37 -0
- package/dist/cjs/c/ContentSlides/index.js +31 -0
- package/dist/cjs/c/ContentSlides/styles.scss +308 -0
- package/dist/cjs/c/ContentSlides/useContentSlides.js +16 -0
- package/dist/cjs/c/Hero/Hero.js +88 -0
- package/dist/cjs/c/Hero/index.js +15 -0
- package/dist/cjs/c/Hero/styles.scss +41 -0
- package/dist/cjs/c/Shortener/Shortener.js +114 -0
- package/dist/cjs/c/Shortener/index.js +15 -0
- package/dist/cjs/c/Shortener/styles.scss +7 -0
- package/dist/cjs/c/SiteFooter/SiteFooter.js +73 -0
- package/dist/cjs/c/SiteFooter/common/Section/Section.js +95 -0
- package/dist/cjs/c/SiteFooter/common/Section/index.js +15 -0
- package/dist/cjs/c/SiteFooter/common/index.js +13 -0
- package/dist/cjs/c/SiteFooter/index.js +15 -0
- package/dist/cjs/c/SiteFooter/styles.scss +34 -0
- package/dist/cjs/c/SiteHeaderCTA/SiteHeaderCTA.js +108 -0
- package/dist/cjs/c/SiteHeaderCTA/index.js +15 -0
- package/dist/cjs/c/SiteHeaderCTA/styles.scss +44 -0
- package/dist/cjs/c/SiteMission/SiteMission.js +113 -0
- package/dist/cjs/c/SiteMission/index.js +15 -0
- package/dist/cjs/c/SiteMission/styles.scss +30 -0
- package/dist/cjs/c/SiteNavigation/SiteNavigation.js +130 -0
- package/dist/cjs/c/SiteNavigation/index.js +15 -0
- package/dist/cjs/c/SiteNavigation/styles.scss +118 -0
- package/dist/cjs/c/SiteOnboardingStep/SiteOnboardingStep.js +98 -0
- package/dist/cjs/c/SiteOnboardingStep/index.js +15 -0
- package/dist/cjs/c/SiteOnboardingStep/styles.scss +51 -0
- package/dist/cjs/c/SitePricing/SitePricing.js +108 -0
- package/dist/cjs/c/SitePricing/index.js +15 -0
- package/dist/cjs/c/SitePricing/styles.scss +73 -0
- package/dist/cjs/c/SiteServices/SiteServices.js +211 -0
- package/dist/cjs/c/SiteServices/index.js +15 -0
- package/dist/cjs/c/SiteServices/styles.scss +138 -0
- package/dist/cjs/c/TeamGallery/TeamGallery.js +3 -3
- package/dist/cjs/c/TeamGallery/common/PersonCard/PersonCard.js +3 -3
- package/dist/cjs/c/TeamGallery/styles.scss +2 -2
- package/dist/cjs/c/Testimonials/Testimonials.js +119 -0
- package/dist/cjs/c/Testimonials/index.js +15 -0
- package/dist/cjs/c/Testimonials/styles.scss +112 -0
- package/dist/cjs/c/index.js +25 -3
- package/dist/cjs/d/index.js +1 -0
- package/dist/cjs/experimental/GradientBackground/GradientBackground.js +98 -0
- package/dist/cjs/experimental/GradientBackground/index.js +15 -0
- package/dist/cjs/experimental/GradientBackground/styles.scss +64 -0
- package/dist/cjs/experimental/index.js +13 -0
- package/dist/cjs/f/FormInput/FormInput.js +110 -0
- package/dist/cjs/f/FormInput/index.js +15 -0
- package/dist/cjs/f/common/Debugger/Debugger.js +81 -0
- package/dist/cjs/f/common/Debugger/index.js +15 -0
- package/dist/cjs/f/common/Debugger/styles.scss +12 -0
- package/dist/cjs/f/common/Description/Description.js +84 -0
- package/dist/cjs/f/common/Description/index.js +15 -0
- package/dist/cjs/f/common/Description/styles.scss +10 -0
- package/dist/cjs/f/common/Label/Label.js +92 -0
- package/dist/cjs/f/common/Label/index.js +15 -0
- package/dist/cjs/f/common/Label/styles.scss +11 -0
- package/dist/cjs/f/common/index.js +29 -0
- package/dist/cjs/f/fields/CheckboxInput/CheckboxInput.js +105 -0
- package/dist/cjs/f/fields/CheckboxInput/index.js +15 -0
- package/dist/cjs/f/fields/CheckboxInput/styles.scss +28 -0
- package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +159 -0
- package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +122 -0
- package/dist/cjs/f/fields/ChoicesInput/common/Choice/index.js +15 -0
- package/dist/cjs/f/fields/ChoicesInput/common/index.js +13 -0
- package/dist/cjs/f/fields/ChoicesInput/index.js +15 -0
- package/dist/cjs/f/fields/ChoicesInput/styles.scss +52 -0
- package/dist/cjs/f/fields/RadioInput/RadioInput.js +110 -0
- package/dist/cjs/f/fields/RadioInput/index.js +15 -0
- package/dist/cjs/f/fields/RadioInput/styles.scss +26 -0
- package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +121 -0
- package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +129 -0
- package/dist/cjs/f/fields/RatingsInput/common/Rating/index.js +15 -0
- package/dist/cjs/f/fields/RatingsInput/common/index.js +13 -0
- package/dist/cjs/f/fields/RatingsInput/index.js +15 -0
- package/dist/cjs/f/fields/RatingsInput/styles.scss +43 -0
- package/dist/cjs/f/fields/SelectInput/SelectInput.js +121 -0
- package/dist/cjs/f/fields/SelectInput/index.js +15 -0
- package/dist/cjs/f/fields/SelectInput/styles.scss +30 -0
- package/dist/cjs/f/fields/TaskRecommendation/TaskRecommendation.js +129 -0
- package/dist/cjs/f/fields/TaskRecommendation/index.js +15 -0
- package/dist/cjs/f/fields/TaskRecommendation/styles.scss +37 -0
- package/dist/cjs/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +131 -0
- package/dist/cjs/f/fields/TaskRecommendationInput/index.js +15 -0
- package/dist/cjs/f/fields/TaskRecommendationInput/styles.scss +41 -0
- package/dist/cjs/f/fields/TextArea/TextArea.js +141 -0
- package/dist/cjs/f/fields/TextArea/index.js +15 -0
- package/dist/cjs/f/fields/TextArea/styles.scss +19 -0
- package/dist/cjs/f/fields/TextInput/TextInput.js +131 -0
- package/dist/cjs/f/fields/TextInput/index.js +15 -0
- package/dist/cjs/f/fields/TextInput/styles.scss +26 -0
- package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +151 -0
- package/dist/cjs/f/fields/TextareaInput/index.js +15 -0
- package/dist/cjs/f/fields/TextareaInput/styles.scss +19 -0
- package/dist/cjs/f/fields/index.js +69 -0
- package/dist/cjs/f/index.js +44 -0
- package/dist/cjs/form-reset.scss +86 -0
- package/dist/cjs/form.scss +34 -0
- package/dist/cjs/index.js +26 -0
- package/dist/cjs/r/SwitchRouteMap/SwitchRouteMap.js +7 -5
- package/dist/cjs/r/common/PrivateRoute/PrivateRoute.js +6 -4
- package/dist/es/a/AnimatedCounter/AnimatedCounter.js +100 -0
- package/dist/es/a/AnimatedCounter/index.js +2 -0
- package/dist/es/a/AnimatedCounter/styles.scss +16 -0
- package/dist/es/a/ContentCard/ContentCard.js +63 -0
- package/dist/es/a/ContentCard/common/Section/Section.js +60 -0
- package/dist/es/a/ContentCard/common/Section/index.js +2 -0
- package/dist/es/a/ContentCard/common/index.js +1 -0
- package/dist/es/a/ContentCard/index.js +2 -0
- package/dist/es/a/ContentCard/styles.scss +78 -0
- package/dist/es/a/Conversation/Context.js +2 -0
- package/dist/es/a/Conversation/Conversation.js +83 -0
- package/dist/es/a/Conversation/common/Message/Message.js +71 -0
- package/dist/es/a/Conversation/common/Message/index.js +2 -0
- package/dist/es/a/Conversation/common/index.js +1 -0
- package/dist/es/a/Conversation/index.js +4 -0
- package/dist/es/a/Conversation/styles.scss +54 -0
- package/dist/es/a/Conversation/useConversation.js +3 -0
- package/dist/es/a/CustomerLogos/CustomerLogos.js +70 -0
- package/dist/es/a/CustomerLogos/index.js +2 -0
- package/dist/es/a/CustomerLogos/styles.scss +41 -0
- package/dist/es/a/CustomerStat/CustomerStat.js +71 -0
- package/dist/es/a/CustomerStat/index.js +2 -0
- package/dist/es/a/CustomerStat/styles.scss +16 -0
- package/dist/es/a/DotInfo/DotInfo.js +85 -0
- package/dist/es/a/DotInfo/index.js +2 -0
- package/dist/es/a/DotInfo/styles.scss +20 -0
- package/dist/es/a/FeaturedOn/FeaturedOn.js +72 -0
- package/dist/es/a/FeaturedOn/index.js +2 -0
- package/dist/es/a/FeaturedOn/styles.scss +41 -0
- package/dist/es/a/Figure/Figure.js +68 -0
- package/dist/es/a/Figure/index.js +2 -0
- package/dist/es/a/Figure/styles.scss +19 -0
- package/dist/es/a/GradientBackground/GradientBackground.js +118 -0
- package/dist/es/a/GradientBackground/index.js +2 -0
- package/dist/es/a/GradientBackground/styles.scss +191 -0
- package/dist/es/a/HamburgerButton/HamburgerButton.js +84 -0
- package/dist/es/a/HamburgerButton/index.js +2 -0
- package/dist/es/a/HamburgerButton/styles.scss +41 -0
- package/dist/es/a/IconList/IconList.js +72 -0
- package/dist/es/a/IconList/common/Item/Item.js +66 -0
- package/dist/es/a/IconList/common/Item/index.js +2 -0
- package/dist/es/a/IconList/common/index.js +1 -0
- package/dist/es/a/IconList/index.js +2 -0
- package/dist/es/a/IconList/styles.scss +37 -0
- package/dist/es/a/LoadingCircle/LoadingCircle.js +100 -0
- package/dist/es/a/LoadingCircle/index.js +2 -0
- package/dist/es/a/LoadingCircle/styles.scss +49 -0
- package/dist/es/a/OvalIllustration/OvalIllustration.js +111 -0
- package/dist/es/a/OvalIllustration/index.js +2 -0
- package/dist/es/a/OvalIllustration/styles.scss +102 -0
- package/dist/es/a/People/People.js +73 -0
- package/dist/es/a/People/common/Person/Person.js +76 -0
- package/dist/es/a/People/common/Person/index.js +2 -0
- package/dist/es/a/People/common/index.js +1 -0
- package/dist/es/a/People/index.js +2 -0
- package/dist/es/a/People/styles.scss +52 -0
- package/dist/es/a/ProgressBar/ProgressBar.js +78 -0
- package/dist/es/a/ProgressBar/index.js +2 -0
- package/dist/es/a/ProgressBar/styles.scss +37 -0
- package/dist/es/a/Quote/Quote.js +80 -0
- package/dist/es/a/Quote/index.js +2 -0
- package/dist/es/a/Quote/styles.scss +53 -0
- package/dist/es/a/SVG/SVG.js +141 -0
- package/dist/es/a/SVG/common/UseSVG/UseSVG.js +65 -0
- package/dist/es/a/SVG/common/UseSVG/index.js +2 -0
- package/dist/es/a/SVG/common/index.js +1 -0
- package/dist/es/a/SVG/index.js +2 -0
- package/dist/es/a/SVG/styles.scss +57 -0
- package/dist/es/a/Shapes/Shapes.js +141 -0
- package/dist/es/a/Shapes/index.js +2 -0
- package/dist/es/a/Shapes/styles.scss +221 -0
- package/dist/es/a/SiteContext/ContextProvider.js +40 -7
- package/dist/es/a/SiteContext/useTheme.js +4 -2
- package/dist/es/a/SnapScroller/SnapScroller.js +61 -0
- package/dist/es/a/SnapScroller/index.js +2 -0
- package/dist/es/a/SnapScroller/styles.scss +38 -0
- package/dist/es/a/Spinner/Spinner.js +57 -0
- package/dist/es/a/Spinner/index.js +2 -0
- package/dist/es/a/Spinner/styles.scss +23 -0
- package/dist/es/a/TeamInfo/TeamInfo.js +86 -0
- package/dist/es/a/TeamInfo/index.js +2 -0
- package/dist/es/a/TeamInfo/styles.scss +58 -0
- package/dist/es/a/Timestamp/Timestamp.js +122 -0
- package/dist/es/a/Timestamp/index.js +2 -0
- package/dist/es/a/Timestamp/styles.scss +7 -0
- package/dist/es/a/index.js +21 -1
- package/dist/es/b/Button/Button.js +42 -5
- package/dist/es/b/Button/styles.scss +78 -7
- package/dist/es/b/Logo/Logo.js +122 -0
- package/dist/es/b/Logo/index.js +2 -0
- package/dist/es/b/Logo/styles.scss +147 -0
- package/dist/es/b/Metrics/Metrics.js +72 -0
- package/dist/es/b/Metrics/index.js +2 -0
- package/dist/es/b/Metrics/styles.scss +91 -0
- package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +37 -21
- package/dist/es/b/Page/common/Section/Section.js +41 -4
- package/dist/es/b/Page/styles.scss +8 -2
- package/dist/es/b/QuestionDropdown/QuestionDropdown.js +17 -9
- package/dist/es/b/QuestionDropdown/styles.scss +3 -3
- package/dist/es/b/SocialMediaButton/SocialMediaButton.js +116 -0
- package/dist/es/b/SocialMediaButton/index.js +2 -0
- package/dist/es/b/SocialMediaButton/styles.scss +49 -0
- package/dist/es/b/ThemeSelector/ThemeSelector.js +84 -0
- package/dist/es/b/ThemeSelector/index.js +2 -0
- package/dist/es/b/ThemeSelector/styles.scss +14 -0
- package/dist/es/b/index.js +5 -1
- package/dist/es/c/AcceptCookies/AcceptCookies.js +117 -0
- package/dist/es/c/AcceptCookies/index.js +2 -0
- package/dist/es/c/AcceptCookies/styles.scss +49 -0
- package/dist/es/c/BlogCategoryButton/BlogCategoryButton.js +68 -0
- package/dist/es/c/BlogCategoryButton/index.js +2 -0
- package/dist/es/c/BlogContext/BlogContextProvider.js +45 -0
- package/dist/es/c/BlogContext/Context.js +2 -0
- package/dist/es/c/BlogContext/ContextProvider.js +45 -0
- package/dist/es/c/BlogContext/index.js +4 -0
- package/dist/es/c/BlogContext/useBlog.js +3 -0
- package/dist/es/c/BlogPost/BlogPost.js +128 -0
- package/dist/es/c/BlogPost/index.js +2 -0
- package/dist/es/c/BlogPost/styles.scss +33 -0
- package/dist/es/c/BlogPostsList/BlogPostsList.js +56 -0
- package/dist/es/c/BlogPostsList/common/Card/Card.js +143 -0
- package/dist/es/c/BlogPostsList/common/Card/index.js +2 -0
- package/dist/es/c/BlogPostsList/common/index.js +1 -0
- package/dist/es/c/BlogPostsList/index.js +2 -0
- package/dist/es/c/BlogPostsList/styles.scss +72 -0
- package/dist/es/c/ContentSlides/ContentSlides.js +176 -0
- package/dist/es/c/ContentSlides/Context.js +2 -0
- package/dist/es/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +114 -0
- package/dist/es/c/ContentSlides/common/HorizontalMenu/index.js +2 -0
- package/dist/es/c/ContentSlides/common/Navigator/Navigator.js +126 -0
- package/dist/es/c/ContentSlides/common/Navigator/index.js +2 -0
- package/dist/es/c/ContentSlides/common/Sidebar/Sidebar.js +85 -0
- package/dist/es/c/ContentSlides/common/Sidebar/index.js +2 -0
- package/dist/es/c/ContentSlides/common/Slide/Slide.js +65 -0
- package/dist/es/c/ContentSlides/common/Slide/index.js +2 -0
- package/dist/es/c/ContentSlides/common/index.js +4 -0
- package/dist/es/c/ContentSlides/index.js +4 -0
- package/dist/es/c/ContentSlides/styles.scss +308 -0
- package/dist/es/c/ContentSlides/useContentSlides.js +3 -0
- package/dist/es/c/Hero/Hero.js +72 -0
- package/dist/es/c/Hero/index.js +2 -0
- package/dist/es/c/Hero/styles.scss +41 -0
- package/dist/es/c/Shortener/Shortener.js +98 -0
- package/dist/es/c/Shortener/index.js +2 -0
- package/dist/es/c/Shortener/styles.scss +7 -0
- package/dist/es/c/SiteFooter/SiteFooter.js +56 -0
- package/dist/es/c/SiteFooter/common/Section/Section.js +73 -0
- package/dist/es/c/SiteFooter/common/Section/index.js +2 -0
- package/dist/es/c/SiteFooter/common/index.js +1 -0
- package/dist/es/c/SiteFooter/index.js +2 -0
- package/dist/es/c/SiteFooter/styles.scss +34 -0
- package/dist/es/c/SiteHeaderCTA/SiteHeaderCTA.js +92 -0
- package/dist/es/c/SiteHeaderCTA/index.js +2 -0
- package/dist/es/c/SiteHeaderCTA/styles.scss +44 -0
- package/dist/es/c/SiteMission/SiteMission.js +96 -0
- package/dist/es/c/SiteMission/index.js +2 -0
- package/dist/es/c/SiteMission/styles.scss +30 -0
- package/dist/es/c/SiteNavigation/SiteNavigation.js +111 -0
- package/dist/es/c/SiteNavigation/index.js +2 -0
- package/dist/es/c/SiteNavigation/styles.scss +118 -0
- package/dist/es/c/SiteOnboardingStep/SiteOnboardingStep.js +81 -0
- package/dist/es/c/SiteOnboardingStep/index.js +2 -0
- package/dist/es/c/SiteOnboardingStep/styles.scss +51 -0
- package/dist/es/c/SitePricing/SitePricing.js +91 -0
- package/dist/es/c/SitePricing/index.js +2 -0
- package/dist/es/c/SitePricing/styles.scss +73 -0
- package/dist/es/c/SiteServices/SiteServices.js +195 -0
- package/dist/es/c/SiteServices/index.js +2 -0
- package/dist/es/c/SiteServices/styles.scss +138 -0
- package/dist/es/c/TeamGallery/styles.scss +2 -2
- package/dist/es/c/Testimonials/Testimonials.js +99 -0
- package/dist/es/c/Testimonials/index.js +2 -0
- package/dist/es/c/Testimonials/styles.scss +112 -0
- package/dist/es/c/index.js +3 -1
- package/dist/es/d/index.js +0 -0
- package/dist/es/experimental/GradientBackground/GradientBackground.js +76 -0
- package/dist/es/experimental/GradientBackground/index.js +2 -0
- package/dist/es/experimental/GradientBackground/styles.scss +64 -0
- package/dist/es/experimental/index.js +1 -0
- package/dist/es/f/FormInput/FormInput.js +85 -0
- package/dist/es/f/FormInput/index.js +2 -0
- package/dist/es/f/common/Debugger/Debugger.js +64 -0
- package/dist/es/f/common/Debugger/index.js +2 -0
- package/dist/es/f/common/Debugger/styles.scss +12 -0
- package/dist/es/f/common/Description/Description.js +68 -0
- package/dist/es/f/common/Description/index.js +2 -0
- package/dist/es/f/common/Description/styles.scss +10 -0
- package/dist/es/f/common/Label/Label.js +76 -0
- package/dist/es/f/common/Label/index.js +2 -0
- package/dist/es/f/common/Label/styles.scss +11 -0
- package/dist/es/f/common/index.js +3 -0
- package/dist/es/f/fields/CheckboxInput/CheckboxInput.js +85 -0
- package/dist/es/f/fields/CheckboxInput/index.js +2 -0
- package/dist/es/f/fields/CheckboxInput/styles.scss +28 -0
- package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +135 -0
- package/dist/es/f/fields/ChoicesInput/common/Choice/Choice.js +105 -0
- package/dist/es/f/fields/ChoicesInput/common/Choice/index.js +2 -0
- package/dist/es/f/fields/ChoicesInput/common/index.js +1 -0
- package/dist/es/f/fields/ChoicesInput/index.js +2 -0
- package/dist/es/f/fields/ChoicesInput/styles.scss +52 -0
- package/dist/es/f/fields/RadioInput/RadioInput.js +90 -0
- package/dist/es/f/fields/RadioInput/index.js +2 -0
- package/dist/es/f/fields/RadioInput/styles.scss +26 -0
- package/dist/es/f/fields/RatingsInput/RatingsInput.js +103 -0
- package/dist/es/f/fields/RatingsInput/common/Rating/Rating.js +111 -0
- package/dist/es/f/fields/RatingsInput/common/Rating/index.js +2 -0
- package/dist/es/f/fields/RatingsInput/common/index.js +1 -0
- package/dist/es/f/fields/RatingsInput/index.js +2 -0
- package/dist/es/f/fields/RatingsInput/styles.scss +43 -0
- package/dist/es/f/fields/SelectInput/SelectInput.js +101 -0
- package/dist/es/f/fields/SelectInput/index.js +2 -0
- package/dist/es/f/fields/SelectInput/styles.scss +30 -0
- package/dist/es/f/fields/TaskRecommendation/TaskRecommendation.js +111 -0
- package/dist/es/f/fields/TaskRecommendation/index.js +2 -0
- package/dist/es/f/fields/TaskRecommendation/styles.scss +37 -0
- package/dist/es/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +111 -0
- package/dist/es/f/fields/TaskRecommendationInput/index.js +2 -0
- package/dist/es/f/fields/TaskRecommendationInput/styles.scss +41 -0
- package/dist/es/f/fields/TextArea/TextArea.js +124 -0
- package/dist/es/f/fields/TextArea/index.js +2 -0
- package/dist/es/f/fields/TextArea/styles.scss +19 -0
- package/dist/es/f/fields/TextInput/TextInput.js +111 -0
- package/dist/es/f/fields/TextInput/index.js +2 -0
- package/dist/es/f/fields/TextInput/styles.scss +26 -0
- package/dist/es/f/fields/TextareaInput/TextareaInput.js +132 -0
- package/dist/es/f/fields/TextareaInput/index.js +2 -0
- package/dist/es/f/fields/TextareaInput/styles.scss +19 -0
- package/dist/es/f/fields/index.js +8 -0
- package/dist/es/f/index.js +3 -0
- package/dist/es/form-reset.scss +86 -0
- package/dist/es/form.scss +34 -0
- package/dist/es/index.js +3 -1
- package/jest.config.js +3 -1
- package/package.json +44 -35
- package/src/__snapshots__/Storyshots.test.js.snap +11007 -628
- package/src/assets/images/Fundraising.svg +40 -0
- package/src/assets/images/ParetoSupport.svg +190 -0
- package/src/assets/images/ParetoWorld.svg +207 -0
- package/src/assets/images/email-attach.svg +1 -0
- package/src/assets/images/email-delete.svg +1 -0
- package/src/assets/images/onboarding/focus-on-strategic-work.webp +0 -0
- package/src/assets/images/onboarding/launch-project.webp +0 -0
- package/src/assets/images/onboarding/meet-pareto-partner.webp +0 -0
- package/src/assets/images/quality.png +0 -0
- package/src/assets/images/sprite.svg +253 -0
- package/src/local.scss +3 -4
- package/src/stories/StyleGuide/colors.stories.mdx +0 -10
- package/src/stories/StyleGuide/cssClasses.stories.mdx +16 -0
- package/src/stories/StyleGuide/helpers.js +11 -3
- package/src/stories/StyleGuide/icons.stories.mdx +29 -0
- package/src/stories/a/AnimatedCounter.stories.jsx +34 -0
- package/src/stories/a/ContentCard.stories.jsx +158 -0
- package/src/stories/a/Conversation.stories.jsx +46 -0
- package/src/stories/a/CustomerLogos.stories.jsx +35 -0
- package/src/stories/a/CustomerStat.stories.jsx +22 -0
- package/src/stories/a/DotInfo.stories.jsx +32 -0
- package/src/stories/a/FeaturedOn.stories.jsx +33 -0
- package/src/stories/a/Figure.stories.jsx +26 -0
- package/src/stories/a/HamburgerButton.stories.jsx +27 -0
- package/src/stories/a/IconList.stories.jsx +51 -0
- package/src/stories/a/LoadingCircle.stories.jsx +28 -0
- package/src/stories/a/OvalIllustration.stories.jsx +59 -0
- package/src/stories/a/People.stories.jsx +72 -0
- package/src/stories/a/ProgressBar.stories.jsx +75 -0
- package/src/stories/a/Quote.stories.jsx +29 -0
- package/src/stories/a/SVG.stories.jsx +97 -0
- package/src/stories/a/Shapes.stories.jsx +125 -0
- package/src/stories/a/SiteContext.stories.jsx +15 -2
- package/src/stories/a/Spinner.stories.jsx +25 -0
- package/src/stories/a/TeamInfo.stories.jsx +31 -0
- package/src/stories/a/Timestamp.stories.jsx +102 -0
- package/src/stories/b/Button.stories.jsx +85 -27
- package/src/stories/b/Logo.stories.jsx +37 -0
- package/src/stories/b/Metrics.stories.jsx +62 -0
- package/src/stories/b/Page.stories.jsx +27 -1
- package/src/stories/b/QuestionDropdown.stories.jsx +15 -0
- package/src/stories/b/SocialMediaButton.stories.jsx +73 -0
- package/src/stories/b/ThemeSelector.stories.jsx +53 -0
- package/src/stories/b/Title.stories.jsx +1 -1
- package/src/stories/c/ContentSlides.stories.jsx +348 -0
- package/src/stories/c/Hero.stories.jsx +46 -0
- package/src/stories/c/Shortener.stories.jsx +28 -0
- package/src/stories/colors.js +14 -9
- package/src/stories/f/CheckboxInput.stories.jsx +37 -0
- package/src/stories/f/ChoicesInput.stories.jsx +168 -0
- package/src/stories/f/Description.stories.jsx +22 -0
- package/src/stories/f/FormInput.stories.jsx +187 -0
- package/src/stories/f/Label.stories.jsx +22 -0
- package/src/stories/f/RadioInput.stories.jsx +37 -0
- package/src/stories/f/RatingsInput.stories.jsx +56 -0
- package/src/stories/f/SelectInput.stories.jsx +81 -0
- package/src/stories/f/TaskRecommendationInput.stories.jsx +38 -0
- package/src/stories/f/TextInput.stories.jsx +79 -0
- package/src/stories/f/TextareaInput.stories.jsx +49 -0
- package/src/stories/utils/Router.jsx +20 -0
- package/src/ui/a/AnimatedCounter/AnimatedCounter.jsx +118 -0
- package/src/ui/a/AnimatedCounter/index.js +2 -0
- package/src/ui/a/AnimatedCounter/styles.scss +16 -0
- package/src/ui/a/ContentCard/ContentCard.jsx +84 -0
- package/src/ui/{c/TeamGallery/common/PersonCard/PersonCard.jsx → a/ContentCard/common/Section/Section.jsx} +25 -32
- package/src/ui/a/ContentCard/common/Section/index.js +2 -0
- package/src/ui/a/ContentCard/common/index.js +1 -0
- package/src/ui/a/ContentCard/index.js +2 -0
- package/src/ui/a/ContentCard/styles.scss +78 -0
- package/src/ui/a/Conversation/Context.js +3 -0
- package/src/ui/a/Conversation/Conversation.jsx +107 -0
- package/src/ui/a/Conversation/common/Message/Message.jsx +90 -0
- package/src/ui/a/Conversation/common/Message/index.js +2 -0
- package/src/ui/a/Conversation/common/index.js +1 -0
- package/src/ui/a/Conversation/index.js +4 -0
- package/src/ui/a/Conversation/styles.scss +54 -0
- package/src/ui/a/Conversation/useConversation.js +4 -0
- package/src/ui/a/CustomerLogos/CustomerLogos.jsx +92 -0
- package/src/ui/a/CustomerLogos/index.js +2 -0
- package/src/ui/a/CustomerLogos/styles.scss +41 -0
- package/src/ui/a/CustomerStat/CustomerStat.jsx +88 -0
- package/src/ui/a/CustomerStat/index.js +2 -0
- package/src/ui/a/CustomerStat/styles.scss +16 -0
- package/src/ui/a/DotInfo/DotInfo.jsx +107 -0
- package/src/ui/a/DotInfo/index.js +2 -0
- package/src/ui/a/DotInfo/styles.scss +20 -0
- package/src/ui/a/FeaturedOn/FeaturedOn.jsx +95 -0
- package/src/ui/a/FeaturedOn/index.js +2 -0
- package/src/ui/a/FeaturedOn/styles.scss +41 -0
- package/src/ui/a/Figure/Figure.jsx +88 -0
- package/src/ui/a/Figure/index.js +2 -0
- package/src/ui/a/Figure/styles.scss +19 -0
- package/src/ui/a/HamburgerButton/HamburgerButton.jsx +103 -0
- package/src/ui/a/HamburgerButton/index.js +2 -0
- package/src/ui/a/HamburgerButton/styles.scss +41 -0
- package/src/ui/a/IconList/IconList.jsx +95 -0
- package/src/ui/a/IconList/common/Item/Item.jsx +81 -0
- package/src/ui/a/IconList/common/Item/index.js +2 -0
- package/src/ui/a/IconList/common/index.js +1 -0
- package/src/ui/a/IconList/index.js +2 -0
- package/src/ui/a/IconList/styles.scss +37 -0
- package/src/ui/a/LoadingCircle/LoadingCircle.jsx +124 -0
- package/src/ui/a/LoadingCircle/index.js +2 -0
- package/src/ui/a/LoadingCircle/styles.scss +49 -0
- package/src/ui/a/OvalIllustration/OvalIllustration.jsx +134 -0
- package/src/ui/a/OvalIllustration/index.js +2 -0
- package/src/ui/a/OvalIllustration/styles.scss +102 -0
- package/src/ui/a/People/People.jsx +98 -0
- package/src/ui/a/People/common/Person/Person.jsx +87 -0
- package/src/ui/a/People/common/Person/index.js +2 -0
- package/src/ui/a/People/common/index.js +1 -0
- package/src/ui/a/People/index.js +2 -0
- package/src/ui/a/People/styles.scss +52 -0
- package/src/ui/a/ProgressBar/ProgressBar.jsx +99 -0
- package/src/ui/a/ProgressBar/index.js +2 -0
- package/src/ui/a/ProgressBar/styles.scss +37 -0
- package/src/ui/a/Quote/Quote.jsx +96 -0
- package/src/ui/a/Quote/index.js +2 -0
- package/src/ui/a/Quote/styles.scss +53 -0
- package/src/ui/a/SVG/SVG.jsx +185 -0
- package/src/ui/a/SVG/common/UseSVG/UseSVG.jsx +74 -0
- package/src/ui/a/SVG/common/UseSVG/index.js +2 -0
- package/src/ui/a/SVG/common/index.js +1 -0
- package/src/ui/a/SVG/index.js +2 -0
- package/src/ui/a/SVG/styles.scss +57 -0
- package/src/ui/a/Shapes/Shapes.jsx +181 -0
- package/src/ui/a/Shapes/index.js +2 -0
- package/src/ui/a/Shapes/styles.scss +221 -0
- package/src/ui/a/SiteContext/ContextProvider.jsx +37 -4
- package/src/ui/a/SiteContext/useTheme.js +4 -1
- package/src/ui/a/Spinner/Spinner.jsx +75 -0
- package/src/ui/a/Spinner/index.js +2 -0
- package/src/ui/a/Spinner/styles.scss +23 -0
- package/src/ui/a/TeamInfo/TeamInfo.jsx +99 -0
- package/src/ui/a/TeamInfo/index.js +2 -0
- package/src/ui/a/TeamInfo/styles.scss +58 -0
- package/src/ui/a/Timestamp/Timestamp.jsx +168 -0
- package/src/ui/a/Timestamp/index.js +2 -0
- package/src/ui/a/Timestamp/styles.scss +7 -0
- package/src/ui/a/index.js +20 -0
- package/src/ui/b/Button/Button.jsx +43 -4
- package/src/ui/b/Button/styles.scss +78 -7
- package/src/ui/b/Logo/Logo.jsx +152 -0
- package/src/ui/b/Logo/index.js +2 -0
- package/src/ui/b/Logo/styles.scss +147 -0
- package/src/ui/b/Metrics/Metrics.jsx +93 -0
- package/src/ui/b/Metrics/index.js +2 -0
- package/src/ui/b/Metrics/styles.scss +91 -0
- package/src/ui/b/Page/common/PageHelmet/PageHelmet.jsx +16 -5
- package/src/ui/b/Page/common/Section/Section.jsx +51 -2
- package/src/ui/b/Page/styles.scss +8 -2
- package/src/ui/b/QuestionDropdown/QuestionDropdown.jsx +12 -7
- package/src/ui/b/QuestionDropdown/styles.scss +3 -3
- package/src/ui/b/SocialMediaButton/SocialMediaButton.jsx +137 -0
- package/src/ui/b/SocialMediaButton/index.js +2 -0
- package/src/ui/b/SocialMediaButton/styles.scss +49 -0
- package/src/ui/b/ThemeSelector/ThemeSelector.jsx +107 -0
- package/src/ui/b/ThemeSelector/index.js +2 -0
- package/src/ui/b/ThemeSelector/styles.scss +14 -0
- package/src/ui/b/index.js +4 -0
- package/src/ui/c/ContentSlides/ContentSlides.jsx +216 -0
- package/src/ui/c/ContentSlides/Context.js +3 -0
- package/src/ui/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.jsx +138 -0
- package/src/ui/c/ContentSlides/common/HorizontalMenu/index.js +2 -0
- package/src/ui/c/ContentSlides/common/Navigator/Navigator.jsx +149 -0
- package/src/ui/c/ContentSlides/common/Navigator/index.js +2 -0
- package/src/ui/c/ContentSlides/common/Sidebar/Sidebar.jsx +135 -0
- package/src/ui/c/ContentSlides/common/Sidebar/index.js +2 -0
- package/src/ui/c/ContentSlides/common/Slide/Slide.jsx +87 -0
- package/src/ui/c/ContentSlides/common/Slide/index.js +2 -0
- package/src/ui/c/ContentSlides/common/index.js +4 -0
- package/src/ui/c/ContentSlides/index.js +4 -0
- package/src/ui/c/ContentSlides/styles.scss +308 -0
- package/src/ui/c/ContentSlides/useContentSlides.js +4 -0
- package/src/ui/c/{TeamGallery/TeamGallery.jsx → Hero/Hero.jsx} +32 -23
- package/src/ui/c/Hero/index.js +2 -0
- package/src/ui/c/Hero/styles.scss +41 -0
- package/src/ui/c/Shortener/Shortener.jsx +142 -0
- package/src/ui/c/Shortener/index.js +2 -0
- package/src/ui/c/Shortener/styles.scss +7 -0
- package/src/ui/c/index.js +3 -1
- package/src/ui/d/index.js +0 -0
- package/src/ui/f/FormInput/FormInput.jsx +122 -0
- package/src/ui/f/FormInput/index.js +2 -0
- package/src/ui/f/common/Debugger/Debugger.jsx +85 -0
- package/src/ui/f/common/Debugger/index.js +2 -0
- package/src/ui/f/common/Debugger/styles.scss +12 -0
- package/src/ui/f/common/Description/Description.jsx +88 -0
- package/src/ui/f/common/Description/index.js +2 -0
- package/src/ui/f/common/Description/styles.scss +10 -0
- package/src/ui/f/common/Label/Label.jsx +96 -0
- package/src/ui/f/common/Label/index.js +2 -0
- package/src/ui/f/common/Label/styles.scss +11 -0
- package/src/ui/f/common/index.js +3 -0
- package/src/ui/f/fields/CheckboxInput/CheckboxInput.jsx +107 -0
- package/src/ui/f/fields/CheckboxInput/index.js +2 -0
- package/src/ui/f/fields/CheckboxInput/styles.scss +28 -0
- package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +155 -0
- package/src/ui/f/fields/ChoicesInput/common/Choice/Choice.jsx +110 -0
- package/src/ui/f/fields/ChoicesInput/common/Choice/index.js +2 -0
- package/src/ui/f/fields/ChoicesInput/common/index.js +1 -0
- package/src/ui/f/fields/ChoicesInput/index.js +2 -0
- package/src/ui/f/fields/ChoicesInput/styles.scss +52 -0
- package/src/ui/f/fields/RadioInput/RadioInput.jsx +112 -0
- package/src/ui/f/fields/RadioInput/index.js +2 -0
- package/src/ui/f/fields/RadioInput/styles.scss +26 -0
- package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +119 -0
- package/src/ui/f/fields/RatingsInput/common/Rating/Rating.jsx +136 -0
- package/src/ui/f/fields/RatingsInput/common/Rating/index.js +2 -0
- package/src/ui/f/fields/RatingsInput/common/index.js +1 -0
- package/src/ui/f/fields/RatingsInput/index.js +2 -0
- package/src/ui/f/fields/RatingsInput/styles.scss +43 -0
- package/src/ui/f/fields/SelectInput/SelectInput.jsx +114 -0
- package/src/ui/f/fields/SelectInput/index.js +2 -0
- package/src/ui/f/fields/SelectInput/styles.scss +30 -0
- package/src/ui/f/fields/TaskRecommendationInput/TaskRecommendationInput.jsx +130 -0
- package/src/ui/f/fields/TaskRecommendationInput/index.js +2 -0
- package/src/ui/f/fields/TaskRecommendationInput/styles.scss +41 -0
- package/src/ui/f/fields/TextInput/TextInput.jsx +146 -0
- package/src/ui/f/fields/TextInput/index.js +2 -0
- package/src/ui/f/fields/TextInput/styles.scss +26 -0
- package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +159 -0
- package/src/ui/f/fields/TextareaInput/index.js +2 -0
- package/src/ui/f/fields/TextareaInput/styles.scss +19 -0
- package/src/ui/f/fields/index.js +8 -0
- package/src/ui/f/index.js +3 -0
- package/src/ui/form-reset.scss +86 -0
- package/src/ui/form.scss +34 -0
- package/src/ui/index.js +2 -0
- package/src/stories/c/TeamGallery.stories.jsx +0 -52
- package/src/ui/c/TeamGallery/common/PersonCard/index.js +0 -2
- package/src/ui/c/TeamGallery/common/index.js +0 -1
- package/src/ui/c/TeamGallery/index.js +0 -2
- package/src/ui/c/TeamGallery/styles.scss +0 -100
package/dist/cjs/c/index.js
CHANGED
|
@@ -3,11 +3,33 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
Object.defineProperty(exports, "
|
|
6
|
+
Object.defineProperty(exports, "Hero", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function get() {
|
|
9
|
-
return
|
|
9
|
+
return _Hero.Hero;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
+
Object.defineProperty(exports, "ContentSlides", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _ContentSlides.ContentSlides;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "useContentSlides", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _ContentSlides.useContentSlides;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "Shortener", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _Shortener.Shortener;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
var _Hero = require("./Hero");
|
|
32
|
+
|
|
33
|
+
var _ContentSlides = require("./ContentSlides");
|
|
12
34
|
|
|
13
|
-
var
|
|
35
|
+
var _Shortener = require("./Shortener");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var React = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _bem = _interopRequireDefault(require("@pareto-engineering/bem"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
17
|
+
|
|
18
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19
|
+
|
|
20
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21
|
+
|
|
22
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
|
+
|
|
24
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
+
|
|
26
|
+
// Local Definitions
|
|
27
|
+
var baseClassName = _bem.default.base;
|
|
28
|
+
var componentClassName = 'gradient-background';
|
|
29
|
+
/**
|
|
30
|
+
* This is the component description.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
var GradientBackground = _ref => {
|
|
34
|
+
var {
|
|
35
|
+
id,
|
|
36
|
+
className: userClassName,
|
|
37
|
+
style,
|
|
38
|
+
pin,
|
|
39
|
+
shape // ...otherProps
|
|
40
|
+
|
|
41
|
+
} = _ref;
|
|
42
|
+
(0, React.useLayoutEffect)(() => {
|
|
43
|
+
Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
|
|
44
|
+
}, []);
|
|
45
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
46
|
+
id: id,
|
|
47
|
+
className: [baseClassName, componentClassName, userClassName].filter(e => e).join(' '),
|
|
48
|
+
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
49
|
+
'--pin': pin
|
|
50
|
+
}) // {...otherProps}
|
|
51
|
+
|
|
52
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
53
|
+
className: "shapes"
|
|
54
|
+
}, shape === 'triangle' && /*#__PURE__*/React.createElement("div", {
|
|
55
|
+
className: "triangle"
|
|
56
|
+
}), shape === 'ellipses' && /*#__PURE__*/React.createElement("div", {
|
|
57
|
+
className: "ellipses"
|
|
58
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59
|
+
className: "up"
|
|
60
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
61
|
+
className: "down"
|
|
62
|
+
})), shape === 'ellipse' && /*#__PURE__*/React.createElement("div", {
|
|
63
|
+
className: "ellipse"
|
|
64
|
+
})));
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
GradientBackground.propTypes = {
|
|
68
|
+
/**
|
|
69
|
+
* The HTML id for this element
|
|
70
|
+
*/
|
|
71
|
+
id: _propTypes.default.string,
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* The HTML class names for this element
|
|
75
|
+
*/
|
|
76
|
+
className: _propTypes.default.string,
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The React-written, css properties for this element.
|
|
80
|
+
*/
|
|
81
|
+
style: _propTypes.default.objectOf(_propTypes.default.string),
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Where to pin the shapes
|
|
85
|
+
*/
|
|
86
|
+
pin: _propTypes.default.oneOf(['flex-start', 'center', 'flex-end']),
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
shape: _propTypes.default.oneOf(['triangle', 'ellipse', 'spiral', 'diamonds', 'circles', 'ellipses'])
|
|
92
|
+
};
|
|
93
|
+
GradientBackground.defaultProps = {
|
|
94
|
+
pin: 'center',
|
|
95
|
+
shape: 'triangle'
|
|
96
|
+
};
|
|
97
|
+
var _default = GradientBackground;
|
|
98
|
+
exports.default = _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "GradientBackground", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _GradientBackground.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
var _GradientBackground = _interopRequireDefault(require("./GradientBackground"));
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* @pareto-engineering/generator-front 1.0.12 */
|
|
2
|
+
|
|
3
|
+
@use "@pareto-engineering/bem";
|
|
4
|
+
|
|
5
|
+
$default-triangle-dimension:30em;
|
|
6
|
+
$default-ellipses-dimension:50em;
|
|
7
|
+
$default-ellipse-dimension:80em;
|
|
8
|
+
$default-shapes-opacity:.8;
|
|
9
|
+
|
|
10
|
+
.#{bem.$base}.gradient-background {
|
|
11
|
+
align-items: center;
|
|
12
|
+
background: var(--light-y);
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
height: 100%;
|
|
16
|
+
justify-content: var(--pin);
|
|
17
|
+
position: absolute;
|
|
18
|
+
width: 100%;
|
|
19
|
+
|
|
20
|
+
.shapes {
|
|
21
|
+
display: flex;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
|
|
24
|
+
.triangle {
|
|
25
|
+
background-image: linear-gradient(var(--light-y), var(--dark-y));
|
|
26
|
+
clip-path: polygon(0 0, 50% 100%, 100% 0);
|
|
27
|
+
height: $default-triangle-dimension * .86;
|
|
28
|
+
opacity: $default-shapes-opacity;
|
|
29
|
+
width: $default-triangle-dimension;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ellipses {
|
|
33
|
+
|
|
34
|
+
height: $default-ellipses-dimension / 2;
|
|
35
|
+
width: $default-ellipses-dimension;
|
|
36
|
+
opacity: $default-shapes-opacity;
|
|
37
|
+
|
|
38
|
+
.up {
|
|
39
|
+
background-image: linear-gradient(var(--light-y), var(--y));
|
|
40
|
+
clip-path: ellipse(40% 100% at 50% 0%);
|
|
41
|
+
height:50%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.down {
|
|
45
|
+
background-image: linear-gradient(to top, var(--light-y), var(--y));
|
|
46
|
+
clip-path: ellipse(40% 100% at 50% 100%);
|
|
47
|
+
height:50%;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ellipse {
|
|
53
|
+
height: $default-ellipse-dimension / 1.5;
|
|
54
|
+
width: $default-ellipse-dimension;
|
|
55
|
+
background-image: linear-gradient( to top left, var(--dark-y), var(--light-y),var(--dark-y));
|
|
56
|
+
clip-path: ellipse(50% 25% at 50% 50%);
|
|
57
|
+
opacity: $default-shapes-opacity;
|
|
58
|
+
transform: rotate3d(0, 0, -1, 10deg);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "GradientBackground", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _GradientBackground.GradientBackground;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
var _GradientBackground = require("./GradientBackground");
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var React = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _fields = require("../fields");
|
|
13
|
+
|
|
14
|
+
var _excluded = ["className", "type", "extraTypes", "disabled"];
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
|
+
|
|
20
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
|
+
|
|
22
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
23
|
+
|
|
24
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
25
|
+
|
|
26
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
27
|
+
|
|
28
|
+
// Local Definitions
|
|
29
|
+
// const baseClassName = styleNames.base
|
|
30
|
+
var componentClassName = 'form-input';
|
|
31
|
+
/**
|
|
32
|
+
* This is the component description.
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
var FormInput = _ref => {
|
|
36
|
+
var {
|
|
37
|
+
className,
|
|
38
|
+
type,
|
|
39
|
+
extraTypes,
|
|
40
|
+
disabled
|
|
41
|
+
} = _ref,
|
|
42
|
+
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
43
|
+
|
|
44
|
+
var newClassName = [className, componentClassName].filter(Boolean).join(' ');
|
|
45
|
+
|
|
46
|
+
if (type === 'textarea') {
|
|
47
|
+
return /*#__PURE__*/React.createElement(_fields.TextareaInput, _extends({
|
|
48
|
+
className: newClassName,
|
|
49
|
+
disabled: disabled
|
|
50
|
+
}, otherProps));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
if (type === 'choices') {
|
|
54
|
+
return /*#__PURE__*/React.createElement(_fields.ChoicesInput, _extends({
|
|
55
|
+
className: newClassName,
|
|
56
|
+
disabled: disabled
|
|
57
|
+
}, otherProps));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (type === 'select') {
|
|
61
|
+
return /*#__PURE__*/React.createElement(_fields.SelectInput, _extends({
|
|
62
|
+
className: newClassName,
|
|
63
|
+
disabled: disabled
|
|
64
|
+
}, otherProps));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
if (extraTypes !== null && extraTypes !== void 0 && extraTypes[type]) {
|
|
68
|
+
var Component = extraTypes[type];
|
|
69
|
+
return /*#__PURE__*/React.createElement(Component, _extends({
|
|
70
|
+
className: newClassName,
|
|
71
|
+
disabled: disabled
|
|
72
|
+
}, otherProps));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return /*#__PURE__*/React.createElement(_fields.TextInput, _extends({
|
|
76
|
+
className: newClassName,
|
|
77
|
+
disabled: disabled,
|
|
78
|
+
type: type
|
|
79
|
+
}, otherProps));
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
FormInput.propTypes = {
|
|
83
|
+
/**
|
|
84
|
+
* The HTML class names for this element
|
|
85
|
+
*/
|
|
86
|
+
className: _propTypes.default.string,
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The HTML class names for this element
|
|
90
|
+
*/
|
|
91
|
+
type: _propTypes.default.oneOf(['text', 'email', 'password', 'number', 'date', 'datetime', 'month', 'tel', 'hidden', 'select', 'choices', 'textarea', // to be removed
|
|
92
|
+
'extendedTypeInput']),
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* The object with external Input types that would make the form input extensible
|
|
96
|
+
*/
|
|
97
|
+
extraTypes: _propTypes.default.objectOf(_propTypes.default.func),
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Whether the Form input input should be disabled
|
|
101
|
+
*/
|
|
102
|
+
disabled: _propTypes.default.bool
|
|
103
|
+
};
|
|
104
|
+
FormInput.defaultProps = {
|
|
105
|
+
disabled: false
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
var _default = /*#__PURE__*/(0, React.memo)(FormInput);
|
|
109
|
+
|
|
110
|
+
exports.default = _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "FormInput", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _FormInput.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
var _FormInput = _interopRequireDefault(require("./FormInput"));
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var React = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _b = require("../../../b");
|
|
13
|
+
|
|
14
|
+
var _formik = require("formik");
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
|
+
|
|
20
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
|
+
|
|
22
|
+
// Local Definitions
|
|
23
|
+
var componentClassName = 'debugger';
|
|
24
|
+
/**
|
|
25
|
+
* This is the component description.
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
var Debugger = _ref => {
|
|
29
|
+
var {
|
|
30
|
+
id,
|
|
31
|
+
className: userClassName,
|
|
32
|
+
style,
|
|
33
|
+
initialIsOpen // ...otherProps
|
|
34
|
+
|
|
35
|
+
} = _ref;
|
|
36
|
+
(0, React.useLayoutEffect)(() => {
|
|
37
|
+
Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
|
|
38
|
+
}, []);
|
|
39
|
+
var [isOpen, setIsOpen] = (0, React.useState)(initialIsOpen);
|
|
40
|
+
|
|
41
|
+
var toggleDebugger = () => setIsOpen(!isOpen);
|
|
42
|
+
|
|
43
|
+
var formikContext = (0, React.useContext)(_formik.FormikContext);
|
|
44
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
45
|
+
id: id,
|
|
46
|
+
className: [componentClassName, userClassName].filter(e => e).join(' '),
|
|
47
|
+
style: style
|
|
48
|
+
}, /*#__PURE__*/React.createElement(_b.Button, {
|
|
49
|
+
onClick: toggleDebugger,
|
|
50
|
+
color: "main1"
|
|
51
|
+
}, isOpen ? 'Close FormDebugger' : 'Open FormDebugger'), isOpen && /*#__PURE__*/React.createElement("pre", {
|
|
52
|
+
className: "debuger-content"
|
|
53
|
+
}, JSON.stringify(formikContext, null, 2)));
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
Debugger.propTypes = {
|
|
57
|
+
/**
|
|
58
|
+
* The HTML id for this element
|
|
59
|
+
*/
|
|
60
|
+
id: _propTypes.default.string,
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* The HTML class names for this element
|
|
64
|
+
*/
|
|
65
|
+
className: _propTypes.default.string,
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* The React-written, css properties for this element.
|
|
69
|
+
*/
|
|
70
|
+
style: _propTypes.default.objectOf(_propTypes.default.string),
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* state to control the opening and closing of the debugger
|
|
74
|
+
*/
|
|
75
|
+
initialIsOpen: _propTypes.default.bool
|
|
76
|
+
};
|
|
77
|
+
Debugger.defaultProps = {
|
|
78
|
+
initialIsOpen: false
|
|
79
|
+
};
|
|
80
|
+
var _default = Debugger;
|
|
81
|
+
exports.default = _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Debugger", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _Debugger.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
var _Debugger = _interopRequireDefault(require("./Debugger"));
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var React = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _bem = _interopRequireDefault(require("@pareto-engineering/bem"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
+
|
|
20
|
+
// Local Definitions
|
|
21
|
+
var baseClassName = _bem.default.base;
|
|
22
|
+
var componentClassName = 'description';
|
|
23
|
+
/**
|
|
24
|
+
* This is the component description.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
var Description = _ref => {
|
|
28
|
+
var {
|
|
29
|
+
id,
|
|
30
|
+
className: userClassName,
|
|
31
|
+
style,
|
|
32
|
+
children,
|
|
33
|
+
isError,
|
|
34
|
+
color // ...otherProps
|
|
35
|
+
|
|
36
|
+
} = _ref;
|
|
37
|
+
(0, React.useLayoutEffect)(() => {
|
|
38
|
+
Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
|
|
39
|
+
}, []);
|
|
40
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
id: id,
|
|
42
|
+
className: [baseClassName, componentClassName, userClassName, isError ? 'x-error' : "x-".concat(color)].filter(e => e).join(' '),
|
|
43
|
+
style: style // {...otherProps}
|
|
44
|
+
|
|
45
|
+
}, children);
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
Description.propTypes = {
|
|
49
|
+
/**
|
|
50
|
+
* The HTML id for this element
|
|
51
|
+
*/
|
|
52
|
+
id: _propTypes.default.string,
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* The HTML class names for this element
|
|
56
|
+
*/
|
|
57
|
+
className: _propTypes.default.string,
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The React-written, css properties for this element.
|
|
61
|
+
*/
|
|
62
|
+
style: _propTypes.default.objectOf(_propTypes.default.string),
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The children JSX
|
|
66
|
+
*/
|
|
67
|
+
children: _propTypes.default.node,
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The base color for the description
|
|
71
|
+
*/
|
|
72
|
+
color: _propTypes.default.string,
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* isError
|
|
76
|
+
*/
|
|
77
|
+
isError: _propTypes.default.bool
|
|
78
|
+
};
|
|
79
|
+
Description.defaultProps = {
|
|
80
|
+
isError: false,
|
|
81
|
+
color: 'metadata'
|
|
82
|
+
};
|
|
83
|
+
var _default = Description;
|
|
84
|
+
exports.default = _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Description", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _Description.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
var _Description = _interopRequireDefault(require("./Description"));
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var React = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _bem = _interopRequireDefault(require("@pareto-engineering/bem"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
+
|
|
20
|
+
// Local Definitions
|
|
21
|
+
var baseClassName = _bem.default.base;
|
|
22
|
+
var componentClassName = 'label';
|
|
23
|
+
/**
|
|
24
|
+
* This is the component description.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
var Label = _ref => {
|
|
28
|
+
var {
|
|
29
|
+
id,
|
|
30
|
+
className: userClassName,
|
|
31
|
+
style,
|
|
32
|
+
children,
|
|
33
|
+
name,
|
|
34
|
+
color,
|
|
35
|
+
as: Wrapper // ...otherProps
|
|
36
|
+
|
|
37
|
+
} = _ref;
|
|
38
|
+
(0, React.useLayoutEffect)(() => {
|
|
39
|
+
Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
|
|
40
|
+
}, []);
|
|
41
|
+
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
42
|
+
htmlFor: Wrapper === 'label' ? name : undefined,
|
|
43
|
+
id: id,
|
|
44
|
+
className: [baseClassName, componentClassName, userClassName, "x-".concat(color)].filter(e => e).join(' '),
|
|
45
|
+
style: style // {...otherProps}
|
|
46
|
+
|
|
47
|
+
}, children);
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
Label.propTypes = {
|
|
51
|
+
/**
|
|
52
|
+
* The HTML id for this element
|
|
53
|
+
*/
|
|
54
|
+
id: _propTypes.default.string,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The HTML class names for this element
|
|
58
|
+
*/
|
|
59
|
+
className: _propTypes.default.string,
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The React-written, css properties for this element.
|
|
63
|
+
*/
|
|
64
|
+
style: _propTypes.default.objectOf(_propTypes.default.string),
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* The children JSX
|
|
68
|
+
*/
|
|
69
|
+
children: _propTypes.default.node,
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The name of the input label
|
|
73
|
+
*/
|
|
74
|
+
name: _propTypes.default.string,
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The html tag that acts as an input label
|
|
78
|
+
*/
|
|
79
|
+
as: _propTypes.default.node,
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The default color of the label
|
|
83
|
+
*/
|
|
84
|
+
color: _propTypes.default.string
|
|
85
|
+
};
|
|
86
|
+
Label.defaultProps = {
|
|
87
|
+
// someProp:false
|
|
88
|
+
as: 'label',
|
|
89
|
+
color: 'main1'
|
|
90
|
+
};
|
|
91
|
+
var _default = Label;
|
|
92
|
+
exports.default = _default;
|