@20minutes/hela 0.1.3 → 0.1.4
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/dist/css/style.css +2 -0
- package/dist/fonts/Oswald-Bold.woff +0 -0
- package/dist/fonts/Oswald-Bold.woff2 +0 -0
- package/dist/fonts/SourceSerifPro-Bold.woff +0 -0
- package/dist/fonts/SourceSerifPro-Bold.woff2 +0 -0
- package/dist/fonts/SourceSerifPro-Italic.woff +0 -0
- package/dist/fonts/SourceSerifPro-Italic.woff2 +0 -0
- package/dist/fonts/SourceSerifPro-Regular.woff +0 -0
- package/dist/fonts/SourceSerifPro-Regular.woff2 +0 -0
- package/dist/index.d.ts +672 -0
- package/dist/index.es.js +42119 -0
- package/dist/index.umd.js +326 -0
- package/dist/js/main.min.js +1 -0
- package/package.json +1 -1
- package/dist/dts/src/assets/scripts/breadcrumb.d.ts +0 -2
- package/dist/dts/src/assets/scripts/collapse.d.ts +0 -1
- package/dist/dts/src/assets/scripts/expander.d.ts +0 -1
- package/dist/dts/src/assets/scripts/main.d.ts +0 -1
- package/dist/dts/src/assets/scripts/scroll.d.ts +0 -1
- package/dist/dts/src/assets/scripts/tabs.d.ts +0 -1
- package/dist/dts/src/assets/scripts/theming.d.ts +0 -2
- package/dist/dts/src/components/atoms/Ad/Ad.d.ts +0 -12
- package/dist/dts/src/components/atoms/Ad/Ad.stories.d.ts +0 -12
- package/dist/dts/src/components/atoms/Ad/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Alert/Alert.d.ts +0 -7
- package/dist/dts/src/components/atoms/Alert/Alert.stories.d.ts +0 -13
- package/dist/dts/src/components/atoms/Alert/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Avatar/Avatar.d.ts +0 -7
- package/dist/dts/src/components/atoms/Avatar/Avatar.stories.d.ts +0 -13
- package/dist/dts/src/components/atoms/Avatar/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Button/Button.d.ts +0 -10
- package/dist/dts/src/components/atoms/Button/Button.stories.d.ts +0 -15
- package/dist/dts/src/components/atoms/Button/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Divider/Divider.d.ts +0 -3
- package/dist/dts/src/components/atoms/Divider/Divider.stories.d.ts +0 -10
- package/dist/dts/src/components/atoms/Divider/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/DividerSection/DividerSection.d.ts +0 -8
- package/dist/dts/src/components/atoms/DividerSection/DividerSection.stories.d.ts +0 -12
- package/dist/dts/src/components/atoms/DividerSection/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Icon/Icon.d.ts +0 -11
- package/dist/dts/src/components/atoms/Icon/Icon.stories.d.ts +0 -14
- package/dist/dts/src/components/atoms/Icon/SvgSprite.d.ts +0 -3
- package/dist/dts/src/components/atoms/Icon/index.d.ts +0 -2
- package/dist/dts/src/components/atoms/Img/Img.d.ts +0 -9
- package/dist/dts/src/components/atoms/Img/Img.stories.d.ts +0 -10
- package/dist/dts/src/components/atoms/Img/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Input/Input.d.ts +0 -6
- package/dist/dts/src/components/atoms/Input/Input.stories.d.ts +0 -10
- package/dist/dts/src/components/atoms/Input/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Label/Label.d.ts +0 -11
- package/dist/dts/src/components/atoms/Label/Label.stories.d.ts +0 -13
- package/dist/dts/src/components/atoms/Label/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/LabelSection/LabelSection.d.ts +0 -5
- package/dist/dts/src/components/atoms/LabelSection/LabelSection.stories.d.ts +0 -11
- package/dist/dts/src/components/atoms/LabelSection/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Link/Link.d.ts +0 -9
- package/dist/dts/src/components/atoms/Link/Link.stories.d.ts +0 -18
- package/dist/dts/src/components/atoms/Link/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Meta/Meta.d.ts +0 -9
- package/dist/dts/src/components/atoms/Meta/Meta.stories.d.ts +0 -8
- package/dist/dts/src/components/atoms/Meta/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Modal/Modal.d.ts +0 -7
- package/dist/dts/src/components/atoms/Modal/Modal.stories.d.ts +0 -11
- package/dist/dts/src/components/atoms/Modal/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Pipe/Pipe.d.ts +0 -2
- package/dist/dts/src/components/atoms/Pipe/Pipe.stories.d.ts +0 -8
- package/dist/dts/src/components/atoms/Pipe/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/ReadAlso/ReadAlso.d.ts +0 -10
- package/dist/dts/src/components/atoms/ReadAlso/ReadAlso.stories.d.ts +0 -8
- package/dist/dts/src/components/atoms/ReadAlso/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/ScrollProgressBar/ScrollProgressBar.d.ts +0 -8
- package/dist/dts/src/components/atoms/ScrollProgressBar/ScrollProgressBar.stories.d.ts +0 -24
- package/dist/dts/src/components/atoms/ScrollProgressBar/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Section/Section.d.ts +0 -6
- package/dist/dts/src/components/atoms/Section/Section.stories.d.ts +0 -11
- package/dist/dts/src/components/atoms/Section/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Switch/Switch.d.ts +0 -8
- package/dist/dts/src/components/atoms/Switch/Switch.stories.d.ts +0 -8
- package/dist/dts/src/components/atoms/Switch/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/SwitchDarkMode/SwitchDarkMode.d.ts +0 -7
- package/dist/dts/src/components/atoms/SwitchDarkMode/SwitchDarkMode.stories.d.ts +0 -8
- package/dist/dts/src/components/atoms/SwitchDarkMode/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Tab/Tab.d.ts +0 -10
- package/dist/dts/src/components/atoms/Tab/Tab.stories.d.ts +0 -16
- package/dist/dts/src/components/atoms/Tab/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/TabPanel/TabPanel.d.ts +0 -7
- package/dist/dts/src/components/atoms/TabPanel/TabPanel.stories.d.ts +0 -8
- package/dist/dts/src/components/atoms/TabPanel/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Tag/Tag.d.ts +0 -10
- package/dist/dts/src/components/atoms/Tag/Tag.stories.d.ts +0 -15
- package/dist/dts/src/components/atoms/Tag/index.d.ts +0 -1
- package/dist/dts/src/components/atoms/Typography/Heading.d.ts +0 -8
- package/dist/dts/src/components/atoms/Typography/Heading.stories.d.ts +0 -13
- package/dist/dts/src/components/atoms/Typography/Text.d.ts +0 -6
- package/dist/dts/src/components/atoms/Typography/Text.stories.d.ts +0 -11
- package/dist/dts/src/components/atoms/Typography/Typography.d.ts +0 -8
- package/dist/dts/src/components/atoms/Typography/index.d.ts +0 -2
- package/dist/dts/src/components/atoms/index.d.ts +0 -24
- package/dist/dts/src/components/index.d.ts +0 -3
- package/dist/dts/src/components/molecules/Article/ArticleContent/ArticleContent.d.ts +0 -8
- package/dist/dts/src/components/molecules/Article/ArticleContent/ArticleContent.stories.d.ts +0 -8
- package/dist/dts/src/components/molecules/Article/ArticleContent/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Article/ArticleHeader/ArticleHeader.d.ts +0 -10
- package/dist/dts/src/components/molecules/Article/ArticleHeader/ArticleHeader.stories.d.ts +0 -10
- package/dist/dts/src/components/molecules/Article/ArticleHeader/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Article/ArticleImageCover/ArticleImageCover.d.ts +0 -9
- package/dist/dts/src/components/molecules/Article/ArticleImageCover/ArticleImageCover.stories.d.ts +0 -15
- package/dist/dts/src/components/molecules/Article/ArticleImageCover/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Article/ArticleSummary/ArticleSummary.d.ts +0 -8
- package/dist/dts/src/components/molecules/Article/ArticleSummary/ArticleSummary.stories.d.ts +0 -11
- package/dist/dts/src/components/molecules/Article/ArticleSummary/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Article/ArticleVideoCover/ArticleVideoCover.d.ts +0 -6
- package/dist/dts/src/components/molecules/Article/ArticleVideoCover/ArticleVideoCover.stories.d.ts +0 -8
- package/dist/dts/src/components/molecules/Article/ArticleVideoCover/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Article/index.d.ts +0 -5
- package/dist/dts/src/components/molecules/Breadcrumb/Breadcrumb.d.ts +0 -19
- package/dist/dts/src/components/molecules/Breadcrumb/Breadcrumb.stories.d.ts +0 -16
- package/dist/dts/src/components/molecules/Breadcrumb/BreadcrumbRubric.d.ts +0 -8
- package/dist/dts/src/components/molecules/Breadcrumb/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/CategoryCard/CategoryCard.d.ts +0 -10
- package/dist/dts/src/components/molecules/Card/CategoryCard/CategoryCard.stories.d.ts +0 -6
- package/dist/dts/src/components/molecules/Card/CategoryCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/GameCard/GameCard.d.ts +0 -11
- package/dist/dts/src/components/molecules/Card/GameCard/GameCard.stories.d.ts +0 -9
- package/dist/dts/src/components/molecules/Card/GameCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/HomeLiveCard/HomeLiveCard.d.ts +0 -11
- package/dist/dts/src/components/molecules/Card/HomeLiveCard/HomeLiveCard.stories.d.ts +0 -9
- package/dist/dts/src/components/molecules/Card/HomeLiveCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/LargeCard/LargeCard.d.ts +0 -15
- package/dist/dts/src/components/molecules/Card/LargeCard/LargeCard.stories.d.ts +0 -9
- package/dist/dts/src/components/molecules/Card/LargeCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/LiveCard/LiveCard.d.ts +0 -13
- package/dist/dts/src/components/molecules/Card/LiveCard/LiveCard.stories.d.ts +0 -6
- package/dist/dts/src/components/molecules/Card/LiveCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/MediumCard/MediumCard.d.ts +0 -10
- package/dist/dts/src/components/molecules/Card/MediumCard/MediumCard.stories.d.ts +0 -6
- package/dist/dts/src/components/molecules/Card/MediumCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/MenuCard/MenuCard.d.ts +0 -8
- package/dist/dts/src/components/molecules/Card/MenuCard/MenuCard.stories.d.ts +0 -8
- package/dist/dts/src/components/molecules/Card/MenuCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/MostReadCard/MostReadCard.d.ts +0 -16
- package/dist/dts/src/components/molecules/Card/MostReadCard/MostReadCard.stories.d.ts +0 -9
- package/dist/dts/src/components/molecules/Card/MostReadCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/NewsCard/NewsCard.d.ts +0 -10
- package/dist/dts/src/components/molecules/Card/NewsCard/NewsCard.stories.d.ts +0 -9
- package/dist/dts/src/components/molecules/Card/NewsCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/OverviewCard/OverviewCard.d.ts +0 -10
- package/dist/dts/src/components/molecules/Card/OverviewCard/OverviewCard.stories.d.ts +0 -10
- package/dist/dts/src/components/molecules/Card/OverviewCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/PodcastCard/PodcastCard.d.ts +0 -13
- package/dist/dts/src/components/molecules/Card/PodcastCard/PodcastCard.stories.d.ts +0 -9
- package/dist/dts/src/components/molecules/Card/PodcastCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/RegionalCard/RegionalCard.d.ts +0 -12
- package/dist/dts/src/components/molecules/Card/RegionalCard/RegionalCard.stories.d.ts +0 -9
- package/dist/dts/src/components/molecules/Card/RegionalCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/RubricCard/RubricCard.d.ts +0 -15
- package/dist/dts/src/components/molecules/Card/RubricCard/RubricCard.stories.d.ts +0 -9
- package/dist/dts/src/components/molecules/Card/RubricCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/SmallCard/SmallCard.d.ts +0 -8
- package/dist/dts/src/components/molecules/Card/SmallCard/SmallCard.stories.d.ts +0 -8
- package/dist/dts/src/components/molecules/Card/SmallCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/SmallGameCard/SmallGameCard.d.ts +0 -10
- package/dist/dts/src/components/molecules/Card/SmallGameCard/SmallGameCard.stories.d.ts +0 -9
- package/dist/dts/src/components/molecules/Card/SmallGameCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/SmallLiveCard/SmallLiveCard.d.ts +0 -10
- package/dist/dts/src/components/molecules/Card/SmallLiveCard/SmallLiveCard.stories.d.ts +0 -9
- package/dist/dts/src/components/molecules/Card/SmallLiveCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Card/index.d.ts +0 -16
- package/dist/dts/src/components/molecules/CategoryCards/CategoryCards.d.ts +0 -9
- package/dist/dts/src/components/molecules/CategoryCards/CategoryCards.stories.d.ts +0 -6
- package/dist/dts/src/components/molecules/CategoryCards/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Collapse/Collapse.d.ts +0 -11
- package/dist/dts/src/components/molecules/Collapse/Collapse.stories.d.ts +0 -8
- package/dist/dts/src/components/molecules/Collapse/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/ErrorResponsesContent/ErrorResponsesContent.d.ts +0 -5
- package/dist/dts/src/components/molecules/ErrorResponsesContent/ErrorResponsesContent.stories.d.ts +0 -13
- package/dist/dts/src/components/molecules/ErrorResponsesContent/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/FooterCategories/FooterCategories.d.ts +0 -13
- package/dist/dts/src/components/molecules/FooterCategories/FooterCategories.stories.d.ts +0 -18
- package/dist/dts/src/components/molecules/FooterCategories/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/FooterLinks/FooterLinks.d.ts +0 -12
- package/dist/dts/src/components/molecules/FooterLinks/FooterLinks.stories.d.ts +0 -16
- package/dist/dts/src/components/molecules/FooterLinks/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/HeaderBanner/HeaderBanner.d.ts +0 -10
- package/dist/dts/src/components/molecules/HeaderBanner/HeaderBanner.stories.d.ts +0 -13
- package/dist/dts/src/components/molecules/HeaderBanner/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/HeaderPage/HeaderPage.d.ts +0 -9
- package/dist/dts/src/components/molecules/HeaderPage/HeaderPage.stories.d.ts +0 -24
- package/dist/dts/src/components/molecules/HeaderPage/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/HeaderSideModal/HeaderSideModal.d.ts +0 -6
- package/dist/dts/src/components/molecules/HeaderSideModal/HeaderSideModal.stories.d.ts +0 -8
- package/dist/dts/src/components/molecules/HeaderSideModal/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeContent/HoroscopeContent.d.ts +0 -8
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeContent/HoroscopeContent.stories.d.ts +0 -5
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeContent/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeHomepageContent/HoroscopeHomepageContent.d.ts +0 -11
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeHomepageContent/HoroscopeHomepageContent.stories.d.ts +0 -5
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeHomepageContent/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeTiles/HoroscopeTiles.d.ts +0 -9
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeTiles/HoroscopeTiles.stories.d.ts +0 -8
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeTiles/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeTopicCard/HoroscopeTopicCard.d.ts +0 -10
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeTopicCard/HoroscopeTopicCard.stories.d.ts +0 -8
- package/dist/dts/src/components/molecules/Horoscope/HoroscopeTopicCard/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Horoscope/index.d.ts +0 -4
- package/dist/dts/src/components/molecules/InfoBanner/InfoBanner.d.ts +0 -6
- package/dist/dts/src/components/molecules/InfoBanner/InfoBanner.stories.d.ts +0 -12
- package/dist/dts/src/components/molecules/InfoBanner/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/LiveCards/LiveCards.d.ts +0 -8
- package/dist/dts/src/components/molecules/LiveCards/LiveCards.stories.d.ts +0 -6
- package/dist/dts/src/components/molecules/LiveCards/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Menu/Menu.d.ts +0 -15
- package/dist/dts/src/components/molecules/Menu/Menu.stories.d.ts +0 -6
- package/dist/dts/src/components/molecules/Menu/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/MostReadArticles/MostReadArticles.d.ts +0 -15
- package/dist/dts/src/components/molecules/MostReadArticles/MostReadArticles.stories.d.ts +0 -5
- package/dist/dts/src/components/molecules/MostReadArticles/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/NewsCards/NewsCards.d.ts +0 -9
- package/dist/dts/src/components/molecules/NewsCards/NewsCards.stories.d.ts +0 -5
- package/dist/dts/src/components/molecules/NewsCards/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Newsletter/Newsletter.d.ts +0 -9
- package/dist/dts/src/components/molecules/Newsletter/Newsletter.stories.d.ts +0 -5
- package/dist/dts/src/components/molecules/Newsletter/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/OverviewBar/OverviewBar.d.ts +0 -8
- package/dist/dts/src/components/molecules/OverviewBar/OverviewBar.stories.d.ts +0 -6
- package/dist/dts/src/components/molecules/OverviewBar/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/PartnerCards/PartnerCards.d.ts +0 -9
- package/dist/dts/src/components/molecules/PartnerCards/PartnerCards.stories.d.ts +0 -5
- package/dist/dts/src/components/molecules/PartnerCards/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Signature/Signature.d.ts +0 -10
- package/dist/dts/src/components/molecules/Signature/Signature.stories.d.ts +0 -8
- package/dist/dts/src/components/molecules/Signature/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/SocialBar/SocialBar.d.ts +0 -10
- package/dist/dts/src/components/molecules/SocialBar/SocialBar.stories.d.ts +0 -14
- package/dist/dts/src/components/molecules/SocialBar/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/SocialIcons/SocialIcons.d.ts +0 -11
- package/dist/dts/src/components/molecules/SocialIcons/SocialIcons.stories.d.ts +0 -16
- package/dist/dts/src/components/molecules/SocialIcons/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Tabs/Tabs.d.ts +0 -12
- package/dist/dts/src/components/molecules/Tabs/Tabs.stories.d.ts +0 -12
- package/dist/dts/src/components/molecules/Tabs/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/TagBar/TagBar.d.ts +0 -6
- package/dist/dts/src/components/molecules/TagBar/TagBar.stories.d.ts +0 -5
- package/dist/dts/src/components/molecules/TagBar/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/Tiles/Tiles.d.ts +0 -9
- package/dist/dts/src/components/molecules/Tiles/Tiles.stories.d.ts +0 -8
- package/dist/dts/src/components/molecules/Tiles/index.d.ts +0 -1
- package/dist/dts/src/components/molecules/index.d.ts +0 -25
- package/dist/dts/src/components/organisms/Footer/Footer.d.ts +0 -7
- package/dist/dts/src/components/organisms/Footer/Footer.stories.d.ts +0 -30
- package/dist/dts/src/components/organisms/Footer/FooterDesktop.d.ts +0 -5
- package/dist/dts/src/components/organisms/Footer/FooterMobile.d.ts +0 -5
- package/dist/dts/src/components/organisms/Footer/Links.d.ts +0 -12
- package/dist/dts/src/components/organisms/Footer/index.d.ts +0 -1
- package/dist/dts/src/components/organisms/Header/Header.d.ts +0 -7
- package/dist/dts/src/components/organisms/Header/Header.stories.d.ts +0 -16
- package/dist/dts/src/components/organisms/Header/HeaderDesktop.d.ts +0 -11
- package/dist/dts/src/components/organisms/Header/HeaderMobile.d.ts +0 -2
- package/dist/dts/src/components/organisms/Header/index.d.ts +0 -1
- package/dist/dts/src/components/organisms/index.d.ts +0 -2
- package/dist/dts/src/hooks/index.d.ts +0 -1
- package/dist/dts/src/hooks/useLayoutEffect.d.ts +0 -2
- package/dist/dts/src/index.d.ts +0 -3
- package/dist/dts/src/types/Color.d.ts +0 -4
- package/dist/dts/src/types/LayoutType.d.ts +0 -4
- package/dist/dts/src/types/TabType.d.ts +0 -1
- package/dist/dts/src/types/ThemeType.d.ts +0 -1
- package/dist/dts/src/types/index.d.ts +0 -4
- package/dist/dts/src/utils/Draftjs.d.ts +0 -2
- package/dist/dts/src/utils/index.d.ts +0 -1
- package/dist/dts/src/utils/string.d.ts +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(){"use strict";const c=(e,t)=>{const r=e==="dark";t.setAttribute("aria-checked",String(r));const n=t.querySelector("span[aria-hidden]");n&&(n.setAttribute("aria-hidden",String(r)),n.innerHTML=r?"on":"off")},u=(e=document.querySelector(".js-switch-dark-mode"))=>{const t=localStorage.getItem("theme")||"light";t&&e&&(document.documentElement.dataset.theme=t,c(t,e))},m=(e=document.querySelector(".js-switch-dark-mode"))=>{e&&e.addEventListener("click",()=>{const t=document.documentElement.dataset.theme,r=!t||t==="light"?"dark":"light";document.documentElement.dataset.theme=r,localStorage.setItem("theme",r),c(r,e)})},b=e=>{var t;const r=e.querySelector(".js-expandButton__label");e.setAttribute("aria-expanded","true"),r.innerHTML="Voir moins",(t=e.previousElementSibling)==null||t.setAttribute("aria-hidden","false")},h=e=>{var t;const r=e.querySelector(".js-expandButton__label");e.setAttribute("aria-expanded","false"),r.innerHTML="Voir plus",(t=e.previousElementSibling)==null||t.setAttribute("aria-hidden","true")},g=e=>{const t=e.currentTarget;return t.getAttribute("aria-expanded")==="true"?h(t):b(t)},p=(e=document.querySelector(".js-expandButton"))=>{e&&e.addEventListener("click",g)},f=(e,t)=>{t.stopImmediatePropagation(),t.preventDefault();const r=t.currentTarget,n=document.querySelectorAll(".js-collapse__button"),o=document.querySelectorAll('[role="tabpanel"]'),a=r.getAttribute("aria-controls"),i=Object.values(o).find(l=>l.id===a);if(r.getAttribute("aria-expanded")==="true"){r.setAttribute("aria-expanded","false"),i?.setAttribute("aria-hidden","true");return}n.forEach(l=>{l.setAttribute("aria-expanded","false")}),o.forEach(l=>{l.setAttribute("aria-hidden","true")}),r.setAttribute("aria-expanded","true"),i&&i.removeAttribute("aria-hidden")},A=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(t=>{t.addEventListener("click",f.bind(!1,e))})},S=(e,t)=>{t.preventDefault();const r=t.target,n=e.querySelectorAll('[role="tab"]'),o=e.querySelectorAll('[role="tabpanel"]'),a=r.getAttribute("aria-controls"),i=Object.values(o).find(l=>l.id===a);n.forEach(l=>{l.setAttribute("aria-selected","false")}),o.forEach(l=>{l.setAttribute("aria-hidden","true")}),r.setAttribute("aria-selected","true"),i&&i.removeAttribute("aria-hidden")},s=e=>e.code==="ArrowLeft"||e.keyCode===39,d=e=>e.code==="ArrowRight"||e.keyCode===37,E=(e=document.querySelector(".js-tabs"))=>{if(e){const t=e.querySelectorAll('[role="tab"]');t.forEach(n=>{n.addEventListener("click",S.bind(!1,e))});const r=e.querySelector('[role="tablist"]');if(r&&t.length>0){let n=0;r.addEventListener("keydown",o=>{o instanceof KeyboardEvent&&(s(o)||d(o))&&(t[n].setAttribute("tabindex","-1"),s(o)?(n+=1,n>=t.length&&(n=0)):d(o)&&(n-=1,n<0&&(n=t.length-1)),t[n].setAttribute("tabindex","0"),t[n].focus())})}}},y=e=>{const t=document.documentElement.scrollTop;let r=document.documentElement.scrollHeight-document.documentElement.clientHeight;const n=e&&document.querySelector(".js-limit-scroll-progress-bar");n&&(r=n.scrollHeight-document.documentElement.clientHeight+(window.pageYOffset+n.getBoundingClientRect().top));const o=Math.round(t/r*100),a=document.querySelector(".c-progress__bar");a&&(a.style.width=`${o}%`,o>=100&&(a.style.width="100%"))},q=(e=document.querySelector(".c-progress"),t=!1)=>{e&&window.addEventListener("scroll",y.bind(!1,t))};(()=>{u(),m(),p(),E(),A(),q()})()})();
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const collapseListener: (collapse?: null | HTMLButtonElement) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const listenerOfExpander: (expandBtn?: null | HTMLButtonElement) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const listenerOfScroll: (scrollProgressBarElement?: null | HTMLDivElement, hasLimit?: boolean) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const listenerOfTabsElement: (tabsContainerElement?: null | HTMLDivElement) => void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface AdProps {
|
|
3
|
-
adUnitCompletePath: string;
|
|
4
|
-
classes?: string;
|
|
5
|
-
lazyload?: {
|
|
6
|
-
delayed: boolean;
|
|
7
|
-
distanceVisible?: number;
|
|
8
|
-
};
|
|
9
|
-
variant?: 'ATF' | 'BAN' | 'PAVE' | 'HEADER' | 'ARTICLE';
|
|
10
|
-
adMention?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const Ad: React.FC<AdProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Ad").AdProps>;
|
|
6
|
-
args: {
|
|
7
|
-
variant: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const BasicPaveATF: ComponentStory<React.FC<import("./Ad").AdProps>>;
|
|
12
|
-
export declare const WithPlaceholder: ComponentStory<React.FC<import("./Ad").AdProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Ad';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Alert").AlertProps>;
|
|
6
|
-
args: {
|
|
7
|
-
description: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Success: ComponentStory<React.FC<import("./Alert").AlertProps>>;
|
|
12
|
-
export declare const Warning: ComponentStory<React.FC<import("./Alert").AlertProps>>;
|
|
13
|
-
export declare const Error: ComponentStory<React.FC<import("./Alert").AlertProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Alert';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Avatar").AvatarProps>;
|
|
6
|
-
args: {
|
|
7
|
-
img: string;
|
|
8
|
-
imgHD: string;
|
|
9
|
-
alt: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const Overview: ComponentStory<React.FC<import("./Avatar").AvatarProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Avatar';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IconName } from '../Icon';
|
|
3
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
-
variant?: 'primary' | 'secondary' | 'simple' | 'navigation';
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
icon?: IconName;
|
|
7
|
-
iconClassNames?: string;
|
|
8
|
-
iconSize?: number | number[];
|
|
9
|
-
}
|
|
10
|
-
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("./Button").ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
args: {
|
|
7
|
-
variant: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Primary: ComponentStory<React.ForwardRefExoticComponent<import("./Button").ButtonProps & React.RefAttributes<HTMLButtonElement>>>;
|
|
12
|
-
export declare const Secondary: ComponentStory<React.ForwardRefExoticComponent<import("./Button").ButtonProps & React.RefAttributes<HTMLButtonElement>>>;
|
|
13
|
-
export declare const WithIcon: ComponentStory<React.ForwardRefExoticComponent<import("./Button").ButtonProps & React.RefAttributes<HTMLButtonElement>>>;
|
|
14
|
-
export declare const Simple: ComponentStory<React.ForwardRefExoticComponent<import("./Button").ButtonProps & React.RefAttributes<HTMLButtonElement>>>;
|
|
15
|
-
export declare const Navigation: ComponentStory<React.ForwardRefExoticComponent<import("./Button").ButtonProps & React.RefAttributes<HTMLButtonElement>>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Button';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Divider").DividerProps>;
|
|
6
|
-
args: {};
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const Overview: ComponentStory<React.FC<import("./Divider").DividerProps>>;
|
|
10
|
-
export declare const WithUtilities: ComponentStory<React.FC<import("./Divider").DividerProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Divider';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ColorSchemeTheme } from '../../../types';
|
|
3
|
-
export interface DividerSectionProps {
|
|
4
|
-
withIcon?: boolean;
|
|
5
|
-
classnames?: string;
|
|
6
|
-
colorScheme?: ColorSchemeTheme;
|
|
7
|
-
}
|
|
8
|
-
export declare const DividerSection: React.FC<DividerSectionProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./DividerSection").DividerSectionProps>;
|
|
6
|
-
args: {
|
|
7
|
-
colorScheme: string;
|
|
8
|
-
withIcon: boolean;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Overview: ComponentStory<React.FC<import("./DividerSection").DividerSectionProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DividerSection';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type IconName = '20mn-pub' | 'apple' | 'arrow' | 'bookmark' | 'chevron' | 'close' | 'clover' | 'comment' | 'connect' | 'dailymotion' | 'darkmode' | 'diode-leaning' | 'diode' | 'facebook' | 'flipboard' | 'googleplay' | 'health' | 'heart' | 'horoscope' | 'home' | 'instagram' | 'jeux' | 'journal' | 'local' | 'logo' | 'menu' | 'mood' | 'newsletters' | 'not-found' | 'notification' | 'podcast' | 'report' | 'search' | 'server-error' | 'share' | 'snapchat' | 'tiktok' | 'twitter' | 'view' | 'youtube' | 'work';
|
|
3
|
-
export declare type IconHoroscopeName = 'horoscope-belier' | 'horoscope-taureau' | 'horoscope-gemeaux' | 'horoscope-cancer' | 'horoscope-lion' | 'horoscope-vierge' | 'horoscope-balance' | 'horoscope-scorpion' | 'horoscope-sagittaire' | 'horoscope-capricorne' | 'horoscope-verseau' | 'horoscope-poissons' | 'horoscope-buffle' | 'horoscope-cheval' | 'horoscope-chevre' | 'horoscope-chien' | 'horoscope-cochon' | 'horoscope-coq' | 'horoscope-dragon' | 'horoscope-lapin' | 'horoscope-rat' | 'horoscope-serpent' | 'horoscope-singe' | 'horoscope-tigre';
|
|
4
|
-
export interface IconProps extends Omit<React.SVGAttributes<SVGElement>, 'width' | 'height'> {
|
|
5
|
-
className?: string;
|
|
6
|
-
name: IconName | IconHoroscopeName;
|
|
7
|
-
size?: number | number[];
|
|
8
|
-
withBorder?: boolean;
|
|
9
|
-
isRounded?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const Icon: React.FC<IconProps>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Icon").IconProps>;
|
|
6
|
-
args: {
|
|
7
|
-
name: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Overview: ComponentStory<React.FC<import("./Icon").IconProps>>;
|
|
12
|
-
export declare const withBorder: ComponentStory<React.FC<import("./Icon").IconProps>>;
|
|
13
|
-
export declare const withBgColor: ComponentStory<React.FC<import("./Icon").IconProps>>;
|
|
14
|
-
export declare const rounded: ComponentStory<React.FC<import("./Icon").IconProps>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Img").ImgProps>;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Overview: ComponentStory<React.FC<import("./Img").ImgProps>>;
|
|
9
|
-
export declare const ResponsiveImage: ComponentStory<React.FC<import("./Img").ImgProps>>;
|
|
10
|
-
export declare const Placeholder: ComponentStory<React.FC<import("./Img").ImgProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Img';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Input").InputProps>;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Primary: ComponentStory<React.FC<import("./Input").InputProps>>;
|
|
9
|
-
export declare const WithIcon: ComponentStory<React.FC<import("./Input").InputProps>>;
|
|
10
|
-
export declare const NewsletterInput: ComponentStory<React.FC<import("./Input").InputProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Input';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Color } from '../../../types';
|
|
3
|
-
export interface LabelProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
variant?: 'subtle' | 'solid';
|
|
6
|
-
withLeftDivider?: boolean;
|
|
7
|
-
withRightDivider?: boolean;
|
|
8
|
-
colorScheme?: Color;
|
|
9
|
-
isUppercase?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const Label: React.FC<LabelProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Label").LabelProps>;
|
|
6
|
-
args: {
|
|
7
|
-
children: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Overview: ComponentStory<React.FC<import("./Label").LabelProps>>;
|
|
12
|
-
export declare const SolidWithRightDivider: ComponentStory<React.FC<import("./Label").LabelProps>>;
|
|
13
|
-
export declare const withLeftDivider: ComponentStory<React.FC<import("./Label").LabelProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Label';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./LabelSection").LabelSectionProps>;
|
|
6
|
-
args: {
|
|
7
|
-
children: JSX.Element;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Overview: ComponentStory<React.FC<import("./LabelSection").LabelSectionProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LabelSection';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
variant?: 'default' | 'primary-button' | 'secondary-button';
|
|
5
|
-
isTargetBlank?: boolean;
|
|
6
|
-
isNofollow?: boolean;
|
|
7
|
-
isSponsored?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const Link: React.FC<LinkProps>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Link").LinkProps>;
|
|
6
|
-
args: {
|
|
7
|
-
children: string;
|
|
8
|
-
href: string;
|
|
9
|
-
variant: string;
|
|
10
|
-
isTargetBlank: boolean;
|
|
11
|
-
isNofollow: boolean;
|
|
12
|
-
isSponsored: boolean;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
16
|
-
export declare const Default: ComponentStory<React.FC<import("./Link").LinkProps>>;
|
|
17
|
-
export declare const PrimaryButtonLink: ComponentStory<React.FC<import("./Link").LinkProps>>;
|
|
18
|
-
export declare const SecondaryButtonLink: ComponentStory<React.FC<import("./Link").LinkProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Link';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Meta").MetaProps>;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const DefaultMeta: ComponentStory<React.FC<import("./Meta").MetaProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Meta';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Modal").ModalProps>;
|
|
6
|
-
args: {
|
|
7
|
-
children: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: ComponentStory<React.FC<import("./Modal").ModalProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Modal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Pipe';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./ReadAlso").ReadAlsoProps>;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Overview: ComponentStory<React.FC<import("./ReadAlso").ReadAlsoProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ReadAlso';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ColorSchemeTheme } from '../../../types';
|
|
3
|
-
export interface ScrollProgressBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
colorScheme?: ColorSchemeTheme;
|
|
5
|
-
hasLimit?: boolean;
|
|
6
|
-
variant?: 'article-mobile';
|
|
7
|
-
}
|
|
8
|
-
export declare const ScrollProgressBar: React.FC<ScrollProgressBarProps>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./ScrollProgressBar").ScrollProgressBarProps>;
|
|
6
|
-
args: {
|
|
7
|
-
colorScheme: string;
|
|
8
|
-
hasLimit: boolean;
|
|
9
|
-
};
|
|
10
|
-
parameters: {
|
|
11
|
-
viewport: {
|
|
12
|
-
defaultViewport: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
argTypes: {
|
|
16
|
-
variant: {
|
|
17
|
-
control: boolean;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export default _default;
|
|
22
|
-
export declare const ProgressEndsAtTags: ComponentStory<React.FC<import("./ScrollProgressBar").ScrollProgressBarProps>>;
|
|
23
|
-
export declare const ProgressEndsAtArticleBottom: ComponentStory<React.FC<import("./ScrollProgressBar").ScrollProgressBarProps>>;
|
|
24
|
-
export declare const ProgressFullWindow: ComponentStory<React.FC<import("./ScrollProgressBar").ScrollProgressBarProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ScrollProgressBar';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Section").SectionProps>;
|
|
6
|
-
args: {
|
|
7
|
-
children: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Overview: ComponentStory<React.FC<import("./Section").SectionProps>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Section';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("./Switch").SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Primary: ComponentStory<React.ForwardRefExoticComponent<import("./Switch").SwitchProps & React.RefAttributes<HTMLButtonElement>>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Switch';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentStory } from '@storybook/react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: ({ id, label, isChecked }: import("./SwitchDarkMode").SwitchDarkModeProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Primary: ComponentStory<({ id, label, isChecked }: import("./SwitchDarkMode").SwitchDarkModeProps) => JSX.Element>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './SwitchDarkMode';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
import { ColorSchemeTheme, TabType } from '../../../types';
|
|
3
|
-
export interface TabProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
-
variant?: TabType;
|
|
5
|
-
name: string;
|
|
6
|
-
colorScheme?: ColorSchemeTheme;
|
|
7
|
-
isSelected?: boolean;
|
|
8
|
-
index?: 0 | -1;
|
|
9
|
-
}
|
|
10
|
-
export declare const Tab: React.FC<TabProps>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Tab").TabProps>;
|
|
6
|
-
args: {
|
|
7
|
-
variant: string;
|
|
8
|
-
isSelected: boolean;
|
|
9
|
-
index: number;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const Default: ComponentStory<React.FC<import("./Tab").TabProps>>;
|
|
14
|
-
export declare const DefaultIsSelected: ComponentStory<React.FC<import("./Tab").TabProps>>;
|
|
15
|
-
export declare const Secondary: ComponentStory<React.FC<import("./Tab").TabProps>>;
|
|
16
|
-
export declare const SecondaryIsSelected: ComponentStory<React.FC<import("./Tab").TabProps>>;
|