@primer/react-brand 0.68.0-rc.59bbed40 → 0.68.0-rc.5bd56cbb
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/esm/Accordion/Accordion.d.ts +50 -0
- package/esm/Accordion/Accordion.d.ts.map +1 -0
- package/esm/Accordion/Accordion.js +79 -0
- package/esm/Accordion/Accordion.js.map +1 -0
- package/esm/Accordion/Accordion.module-D4diKFGj.css +1 -0
- package/esm/Accordion/Accordion.module.js +36 -0
- package/esm/Accordion/Accordion.module.js.map +1 -0
- package/esm/Accordion/index.d.ts +2 -0
- package/esm/Accordion/index.d.ts.map +1 -0
- package/esm/ActionMenu/ActionMenu.d.ts +159 -0
- package/esm/ActionMenu/ActionMenu.d.ts.map +1 -0
- package/esm/ActionMenu/ActionMenu.js +292 -0
- package/esm/ActionMenu/ActionMenu.js.map +1 -0
- package/esm/ActionMenu/ActionMenu.module-Km0HNn_2.css +1 -0
- package/esm/ActionMenu/ActionMenu.module.js +36 -0
- package/esm/ActionMenu/ActionMenu.module.js.map +1 -0
- package/esm/ActionMenu/index.d.ts +2 -0
- package/esm/ActionMenu/index.d.ts.map +1 -0
- package/esm/AnchorNav/AnchorNav.d.ts +75 -0
- package/esm/AnchorNav/AnchorNav.d.ts.map +1 -0
- package/esm/AnchorNav/AnchorNav.js +225 -0
- package/esm/AnchorNav/AnchorNav.js.map +1 -0
- package/esm/AnchorNav/AnchorNav.module-33_8-9r9.css +1 -0
- package/esm/AnchorNav/AnchorNav.module.js +29 -0
- package/esm/AnchorNav/AnchorNav.module.js.map +1 -0
- package/esm/AnchorNav/index.d.ts +2 -0
- package/esm/AnchorNav/index.d.ts.map +1 -0
- package/esm/AnchorNav/useExpandedMenu.d.ts +3 -0
- package/esm/AnchorNav/useExpandedMenu.d.ts.map +1 -0
- package/esm/AnchorNav/useExpandedMenu.js +33 -0
- package/esm/AnchorNav/useExpandedMenu.js.map +1 -0
- package/esm/Avatar/Avatar.d.ts +25 -0
- package/esm/Avatar/Avatar.d.ts.map +1 -0
- package/esm/Avatar/Avatar.js +35 -0
- package/esm/Avatar/Avatar.js.map +1 -0
- package/esm/Avatar/Avatar.module-DzfWmLu4.css +1 -0
- package/esm/Avatar/Avatar.module.js +28 -0
- package/esm/Avatar/Avatar.module.js.map +1 -0
- package/esm/Avatar/index.d.ts +2 -0
- package/esm/Avatar/index.d.ts.map +1 -0
- package/esm/Bento/Bento.d.ts +60 -0
- package/esm/Bento/Bento.d.ts.map +1 -0
- package/esm/Bento/Bento.js +109 -0
- package/esm/Bento/Bento.js.map +1 -0
- package/esm/Bento/Bento.module-4fhgWKyL.css +1 -0
- package/esm/Bento/Bento.module.js +456 -0
- package/esm/Bento/Bento.module.js.map +1 -0
- package/esm/Bento/index.d.ts +2 -0
- package/esm/Bento/index.d.ts.map +1 -0
- package/esm/Box/Box.d.ts +87 -0
- package/esm/Box/Box.d.ts.map +1 -0
- package/esm/Box/Box.js +51 -0
- package/esm/Box/Box.js.map +1 -0
- package/esm/Box/Box.module-BgKMrzcY.css +1 -0
- package/esm/Box/Box.module.js +928 -0
- package/esm/Box/Box.module.js.map +1 -0
- package/esm/Box/index.d.ts +2 -0
- package/esm/Box/index.d.ts.map +1 -0
- package/esm/Breadcrumbs/Breadcrumbs.d.ts +23 -0
- package/esm/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/esm/Breadcrumbs/Breadcrumbs.js +38 -0
- package/esm/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/esm/Breadcrumbs/Breadcrumbs.module-C-xmitEo.css +1 -0
- package/esm/Breadcrumbs/Breadcrumbs.module.js +12 -0
- package/esm/Breadcrumbs/Breadcrumbs.module.js.map +1 -0
- package/esm/Breadcrumbs/index.d.ts +2 -0
- package/esm/Breadcrumbs/index.d.ts.map +1 -0
- package/esm/BreakoutBanner/BreakoutBanner.d.ts +59 -0
- package/esm/BreakoutBanner/BreakoutBanner.d.ts.map +1 -0
- package/esm/BreakoutBanner/BreakoutBanner.js +96 -0
- package/esm/BreakoutBanner/BreakoutBanner.js.map +1 -0
- package/esm/BreakoutBanner/BreakoutBanner.module-DGBSJFNJ.css +1 -0
- package/esm/BreakoutBanner/BreakoutBanner.module.js +15 -0
- package/esm/BreakoutBanner/BreakoutBanner.module.js.map +1 -0
- package/esm/BreakoutBanner/index.d.ts +2 -0
- package/esm/BreakoutBanner/index.d.ts.map +1 -0
- package/esm/Button/Button.d.ts +49 -0
- package/esm/Button/Button.d.ts.map +1 -0
- package/esm/Button/Button.js +101 -0
- package/esm/Button/Button.js.map +1 -0
- package/esm/Button/Button.module-ryfDlr26.css +1 -0
- package/esm/Button/Button.module.js +31 -0
- package/esm/Button/Button.module.js.map +1 -0
- package/esm/Button/index.d.ts +2 -0
- package/esm/Button/index.d.ts.map +1 -0
- package/esm/ButtonGroup/ButtonGroup.d.ts +11 -0
- package/esm/ButtonGroup/ButtonGroup.d.ts.map +1 -0
- package/esm/ButtonGroup/ButtonGroup.js +24 -0
- package/esm/ButtonGroup/ButtonGroup.js.map +1 -0
- package/esm/ButtonGroup/ButtonGroup.module-wZYyupar.css +1 -0
- package/esm/ButtonGroup/ButtonGroup.module.js +5 -0
- package/esm/ButtonGroup/ButtonGroup.module.js.map +1 -0
- package/esm/ButtonGroup/index.d.ts +2 -0
- package/esm/ButtonGroup/index.d.ts.map +1 -0
- package/esm/CTABanner/CTABanner.d.ts +100 -0
- package/esm/CTABanner/CTABanner.d.ts.map +1 -0
- package/esm/CTABanner/CTABanner.js +139 -0
- package/esm/CTABanner/CTABanner.js.map +1 -0
- package/esm/CTABanner/CTABanner.module-BTMGYz51.css +1 -0
- package/esm/CTABanner/CTABanner.module.js +27 -0
- package/esm/CTABanner/CTABanner.module.js.map +1 -0
- package/esm/CTABanner/index.d.ts +2 -0
- package/esm/CTABanner/index.d.ts.map +1 -0
- package/esm/CTAForm/CTAForm.d.ts +7 -0
- package/esm/CTAForm/CTAForm.d.ts.map +1 -0
- package/esm/CTAForm/CTAForm.js +51 -0
- package/esm/CTAForm/CTAForm.js.map +1 -0
- package/esm/CTAForm/CTAForm.module-Nf5sHaJq.css +1 -0
- package/esm/CTAForm/CTAForm.module.js +10 -0
- package/esm/CTAForm/CTAForm.module.js.map +1 -0
- package/esm/CTAForm/index.d.ts +2 -0
- package/esm/CTAForm/index.d.ts.map +1 -0
- package/esm/Card/Card.d.ts +107 -0
- package/esm/Card/Card.d.ts.map +1 -0
- package/esm/Card/Card.js +150 -0
- package/esm/Card/Card.js.map +1 -0
- package/esm/Card/Card.module-OxFQdnTA.css +1 -0
- package/esm/Card/Card.module.js +41 -0
- package/esm/Card/Card.module.js.map +1 -0
- package/esm/Card/CardSkewEffect.d.ts +9 -0
- package/esm/Card/CardSkewEffect.d.ts.map +1 -0
- package/esm/Card/CardSkewEffect.js +42 -0
- package/esm/Card/CardSkewEffect.js.map +1 -0
- package/esm/Card/index.d.ts +3 -0
- package/esm/Card/index.d.ts.map +1 -0
- package/esm/ComparisonTable/ComparisonTable.d.ts +34 -0
- package/esm/ComparisonTable/ComparisonTable.d.ts.map +1 -0
- package/esm/ComparisonTable/ComparisonTable.js +102 -0
- package/esm/ComparisonTable/ComparisonTable.js.map +1 -0
- package/esm/ComparisonTable/ComparisonTable.module-CUq68rV0.css +1 -0
- package/esm/ComparisonTable/ComparisonTable.module.js +20 -0
- package/esm/ComparisonTable/ComparisonTable.module.js.map +1 -0
- package/esm/ComparisonTable/index.d.ts +2 -0
- package/esm/ComparisonTable/index.d.ts.map +1 -0
- package/esm/ExpandableArrow/ExpandableArrow.d.ts +10 -0
- package/esm/ExpandableArrow/ExpandableArrow.d.ts.map +1 -0
- package/esm/ExpandableArrow/ExpandableArrow.js +31 -0
- package/esm/ExpandableArrow/ExpandableArrow.js.map +1 -0
- package/esm/ExpandableArrow/ExpandableArrow.module-hRhRe88K.css +1 -0
- package/esm/ExpandableArrow/ExpandableArrow.module.js +11 -0
- package/esm/ExpandableArrow/ExpandableArrow.module.js.map +1 -0
- package/esm/ExpandableArrow/index.d.ts +2 -0
- package/esm/ExpandableArrow/index.d.ts.map +1 -0
- package/esm/EyebrowBanner/EyebrowBanner.d.ts +50 -0
- package/esm/EyebrowBanner/EyebrowBanner.d.ts.map +1 -0
- package/esm/EyebrowBanner/EyebrowBanner.js +120 -0
- package/esm/EyebrowBanner/EyebrowBanner.js.map +1 -0
- package/esm/EyebrowBanner/EyebrowBanner.module-C8hfGfYx.css +1 -0
- package/esm/EyebrowBanner/EyebrowBanner.module.js +49 -0
- package/esm/EyebrowBanner/EyebrowBanner.module.js.map +1 -0
- package/esm/EyebrowBanner/index.d.ts +2 -0
- package/esm/EyebrowBanner/index.d.ts.map +1 -0
- package/esm/EyebrowText/EyebrowText.d.ts +18 -0
- package/esm/EyebrowText/EyebrowText.d.ts.map +1 -0
- package/esm/EyebrowText/EyebrowText.js +27 -0
- package/esm/EyebrowText/EyebrowText.js.map +1 -0
- package/esm/EyebrowText/EyebrowText.module-DRReWOj8.css +1 -0
- package/esm/EyebrowText/EyebrowText.module.js +8 -0
- package/esm/EyebrowText/EyebrowText.module.js.map +1 -0
- package/esm/EyebrowText/index.d.ts +2 -0
- package/esm/EyebrowText/index.d.ts.map +1 -0
- package/esm/FAQ/FAQ.d.ts +45 -0
- package/esm/FAQ/FAQ.d.ts.map +1 -0
- package/esm/FAQ/FAQ.js +71 -0
- package/esm/FAQ/FAQ.js.map +1 -0
- package/esm/FAQ/FAQ.module-C8rxdU0Z.css +1 -0
- package/esm/FAQ/FAQ.module.js +16 -0
- package/esm/FAQ/FAQ.module.js.map +1 -0
- package/esm/FAQ/FAQGroup.d.ts +25 -0
- package/esm/FAQ/FAQGroup.d.ts.map +1 -0
- package/esm/FAQ/FAQGroup.js +146 -0
- package/esm/FAQ/FAQGroup.js.map +1 -0
- package/esm/FAQ/FAQGroup.module-qm5jP0zF.css +1 -0
- package/esm/FAQ/FAQGroup.module.js +20 -0
- package/esm/FAQ/FAQGroup.module.js.map +1 -0
- package/esm/FAQ/index.d.ts +3 -0
- package/esm/FAQ/index.d.ts.map +1 -0
- package/esm/Footnotes/Footnotes.d.ts +32 -0
- package/esm/Footnotes/Footnotes.d.ts.map +1 -0
- package/esm/Footnotes/Footnotes.js +70 -0
- package/esm/Footnotes/Footnotes.js.map +1 -0
- package/esm/Footnotes/Footnotes.module-Du0yaz7E.css +1 -0
- package/esm/Footnotes/Footnotes.module.js +11 -0
- package/esm/Footnotes/Footnotes.module.js.map +1 -0
- package/esm/Footnotes/index.d.ts +2 -0
- package/esm/Footnotes/index.d.ts.map +1 -0
- package/esm/FrostedGlassVFX/FrostedGlassVFX.d.ts +26 -0
- package/esm/FrostedGlassVFX/FrostedGlassVFX.d.ts.map +1 -0
- package/esm/FrostedGlassVFX/FrostedGlassVFX.js +23 -0
- package/esm/FrostedGlassVFX/FrostedGlassVFX.js.map +1 -0
- package/esm/FrostedGlassVFX/FrostedGlassVFX.module-CBwswPOI.css +1 -0
- package/esm/FrostedGlassVFX/FrostedGlassVFX.module.js +11 -0
- package/esm/FrostedGlassVFX/FrostedGlassVFX.module.js.map +1 -0
- package/esm/FrostedGlassVFX/index.d.ts +2 -0
- package/esm/FrostedGlassVFX/index.d.ts.map +1 -0
- package/esm/Grid/Grid.d.ts +103 -0
- package/esm/Grid/Grid.d.ts.map +1 -0
- package/esm/Grid/Grid.js +43 -0
- package/esm/Grid/Grid.js.map +1 -0
- package/esm/Grid/Grid.module-wbqYcimR.css +1 -0
- package/esm/Grid/Grid.module.js +183 -0
- package/esm/Grid/Grid.module.js.map +1 -0
- package/esm/Grid/index.d.ts +2 -0
- package/esm/Grid/index.d.ts.map +1 -0
- package/esm/Heading/Heading.d.ts +50 -0
- package/esm/Heading/Heading.d.ts.map +1 -0
- package/esm/Heading/Heading.js +68 -0
- package/esm/Heading/Heading.js.map +1 -0
- package/esm/Heading/Heading.module-YfiTxQkR.css +1 -0
- package/esm/Heading/Heading.module.js +78 -0
- package/esm/Heading/Heading.module.js.map +1 -0
- package/esm/Heading/index.d.ts +2 -0
- package/esm/Heading/index.d.ts.map +1 -0
- package/esm/Hero/Hero.d.ts +199 -0
- package/esm/Hero/Hero.d.ts.map +1 -0
- package/esm/Hero/Hero.figma.d.ts +2 -0
- package/esm/Hero/Hero.figma.d.ts.map +1 -0
- package/esm/Hero/Hero.js +174 -0
- package/esm/Hero/Hero.js.map +1 -0
- package/esm/Hero/Hero.module-b8OFm8Ci.css +1 -0
- package/esm/Hero/Hero.module.js +57 -0
- package/esm/Hero/Hero.module.js.map +1 -0
- package/esm/Hero/HeroContext.d.ts +35 -0
- package/esm/Hero/HeroContext.d.ts.map +1 -0
- package/esm/Hero/HeroContext.js +17 -0
- package/esm/Hero/HeroContext.js.map +1 -0
- package/esm/Hero/index.d.ts +2 -0
- package/esm/Hero/index.d.ts.map +1 -0
- package/esm/Hero/sub-components/HeroDescription.d.ts +88 -0
- package/esm/Hero/sub-components/HeroDescription.d.ts.map +1 -0
- package/esm/Hero/sub-components/HeroDescription.js +28 -0
- package/esm/Hero/sub-components/HeroDescription.js.map +1 -0
- package/esm/Hero/sub-components/HeroEyebrow.d.ts +5 -0
- package/esm/Hero/sub-components/HeroEyebrow.d.ts.map +1 -0
- package/esm/Hero/sub-components/HeroEyebrow.js +15 -0
- package/esm/Hero/sub-components/HeroEyebrow.js.map +1 -0
- package/esm/Hero/sub-components/HeroHeading.d.ts +6 -0
- package/esm/Hero/sub-components/HeroHeading.d.ts.map +1 -0
- package/esm/Hero/sub-components/HeroHeading.js +28 -0
- package/esm/Hero/sub-components/HeroHeading.js.map +1 -0
- package/esm/Hero/sub-components/HeroImage.d.ts +39 -0
- package/esm/Hero/sub-components/HeroImage.d.ts.map +1 -0
- package/esm/Hero/sub-components/HeroImage.js +24 -0
- package/esm/Hero/sub-components/HeroImage.js.map +1 -0
- package/esm/Hero/sub-components/HeroLabel.d.ts +8 -0
- package/esm/Hero/sub-components/HeroLabel.d.ts.map +1 -0
- package/esm/Hero/sub-components/HeroLabel.js +25 -0
- package/esm/Hero/sub-components/HeroLabel.js.map +1 -0
- package/esm/Hero/sub-components/HeroPrimaryAction.d.ts +29 -0
- package/esm/Hero/sub-components/HeroPrimaryAction.d.ts.map +1 -0
- package/esm/Hero/sub-components/HeroPrimaryAction.js +29 -0
- package/esm/Hero/sub-components/HeroPrimaryAction.js.map +1 -0
- package/esm/Hero/sub-components/HeroSecondaryAction.d.ts +29 -0
- package/esm/Hero/sub-components/HeroSecondaryAction.d.ts.map +1 -0
- package/esm/Hero/sub-components/HeroSecondaryAction.js +29 -0
- package/esm/Hero/sub-components/HeroSecondaryAction.js.map +1 -0
- package/esm/Hero/sub-components/HeroVideo.d.ts +41 -0
- package/esm/Hero/sub-components/HeroVideo.d.ts.map +1 -0
- package/esm/Hero/sub-components/HeroVideo.js +60 -0
- package/esm/Hero/sub-components/HeroVideo.js.map +1 -0
- package/esm/Hero/sub-components/index.d.ts +17 -0
- package/esm/Hero/sub-components/index.d.ts.map +1 -0
- package/esm/IDE/IDE.d.ts +164 -0
- package/esm/IDE/IDE.d.ts.map +1 -0
- package/esm/IDE/IDE.js +395 -0
- package/esm/IDE/IDE.js.map +1 -0
- package/esm/IDE/IDE.module-CFxIRObF.css +1 -0
- package/esm/IDE/IDE.module.js +44 -0
- package/esm/IDE/IDE.module.js.map +1 -0
- package/esm/IDE/fixtures/content.d.ts +7 -0
- package/esm/IDE/fixtures/content.d.ts.map +1 -0
- package/esm/IDE/index.d.ts +2 -0
- package/esm/IDE/index.d.ts.map +1 -0
- package/esm/Icon/Icon.d.ts +23 -0
- package/esm/Icon/Icon.d.ts.map +1 -0
- package/esm/Icon/Icon.js +41 -0
- package/esm/Icon/Icon.js.map +1 -0
- package/esm/Icon/Icon.module-C1_lP1JO.css +1 -0
- package/esm/Icon/Icon.module.js +43 -0
- package/esm/Icon/Icon.module.js.map +1 -0
- package/esm/Icon/index.d.ts +2 -0
- package/esm/Icon/index.d.ts.map +1 -0
- package/esm/Image/Image.d.ts +25 -0
- package/esm/Image/Image.d.ts.map +1 -0
- package/esm/Image/Image.js +80 -0
- package/esm/Image/Image.js.map +1 -0
- package/esm/Image/Image.module-BPflj1a0.css +1 -0
- package/esm/Image/Image.module.js +18 -0
- package/esm/Image/Image.module.js.map +1 -0
- package/esm/Image/index.d.ts +2 -0
- package/esm/Image/index.d.ts.map +1 -0
- package/esm/InlineLink/InlineLink.d.ts +18 -0
- package/esm/InlineLink/InlineLink.d.ts.map +1 -0
- package/esm/InlineLink/InlineLink.js +18 -0
- package/esm/InlineLink/InlineLink.js.map +1 -0
- package/esm/InlineLink/InlineLink.module-6R63us8B.css +1 -0
- package/esm/InlineLink/InlineLink.module.js +5 -0
- package/esm/InlineLink/InlineLink.module.js.map +1 -0
- package/esm/InlineLink/index.d.ts +2 -0
- package/esm/InlineLink/index.d.ts.map +1 -0
- package/esm/LICENSE +21 -0
- package/esm/Label/Label.d.ts +37 -0
- package/esm/Label/Label.d.ts.map +1 -0
- package/esm/Label/Label.js +49 -0
- package/esm/Label/Label.js.map +1 -0
- package/esm/Label/Label.module-DDkalJAE.css +1 -0
- package/esm/Label/Label.module.js +35 -0
- package/esm/Label/Label.module.js.map +1 -0
- package/esm/Label/index.d.ts +2 -0
- package/esm/Label/index.d.ts.map +1 -0
- package/esm/Link/Link.d.ts +29 -0
- package/esm/Link/Link.d.ts.map +1 -0
- package/esm/Link/Link.js +63 -0
- package/esm/Link/Link.js.map +1 -0
- package/esm/Link/Link.module-CiGiy5gk.css +1 -0
- package/esm/Link/Link.module.js +15 -0
- package/esm/Link/Link.module.js.map +1 -0
- package/esm/Link/index.d.ts +2 -0
- package/esm/Link/index.d.ts.map +1 -0
- package/esm/LogoSuite/LogoSuite.d.ts +139 -0
- package/esm/LogoSuite/LogoSuite.d.ts.map +1 -0
- package/esm/LogoSuite/LogoSuite.figma.d.ts +2 -0
- package/esm/LogoSuite/LogoSuite.figma.d.ts.map +1 -0
- package/esm/LogoSuite/LogoSuite.fixtures.d.ts +2 -0
- package/esm/LogoSuite/LogoSuite.fixtures.d.ts.map +1 -0
- package/esm/LogoSuite/LogoSuite.js +146 -0
- package/esm/LogoSuite/LogoSuite.js.map +1 -0
- package/esm/LogoSuite/LogoSuite.module-CWV4mJoG.css +1 -0
- package/esm/LogoSuite/LogoSuite.module.js +35 -0
- package/esm/LogoSuite/LogoSuite.module.js.map +1 -0
- package/esm/LogoSuite/index.d.ts +2 -0
- package/esm/LogoSuite/index.d.ts.map +1 -0
- package/esm/MinimalFooter/MinimalFooter.d.ts +96 -0
- package/esm/MinimalFooter/MinimalFooter.d.ts.map +1 -0
- package/esm/MinimalFooter/MinimalFooter.js +211 -0
- package/esm/MinimalFooter/MinimalFooter.js.map +1 -0
- package/esm/MinimalFooter/MinimalFooter.module-DPMYigso.css +1 -0
- package/esm/MinimalFooter/MinimalFooter.module.js +18 -0
- package/esm/MinimalFooter/MinimalFooter.module.js.map +1 -0
- package/esm/MinimalFooter/index.d.ts +2 -0
- package/esm/MinimalFooter/index.d.ts.map +1 -0
- package/esm/MonaSans/MonaSans.d.ts +11 -0
- package/esm/MonaSans/MonaSans.d.ts.map +1 -0
- package/esm/MonaSans/index.d.ts +2 -0
- package/esm/MonaSans/index.d.ts.map +1 -0
- package/esm/Pagination/Pagination.d.ts +24 -0
- package/esm/Pagination/Pagination.d.ts.map +1 -0
- package/esm/Pagination/Pagination.js +95 -0
- package/esm/Pagination/Pagination.js.map +1 -0
- package/esm/Pagination/Pagination.module-C7Z_pTFq.css +1 -0
- package/esm/Pagination/Pagination.module.js +10 -0
- package/esm/Pagination/Pagination.module.js.map +1 -0
- package/esm/Pagination/index.d.ts +2 -0
- package/esm/Pagination/index.d.ts.map +1 -0
- package/esm/Pagination/model.d.ts +9 -0
- package/esm/Pagination/model.d.ts.map +1 -0
- package/esm/Pagination/model.js +66 -0
- package/esm/Pagination/model.js.map +1 -0
- package/esm/Pillar/Pillar.d.ts +52 -0
- package/esm/Pillar/Pillar.d.ts.map +1 -0
- package/esm/Pillar/Pillar.js +86 -0
- package/esm/Pillar/Pillar.js.map +1 -0
- package/esm/Pillar/Pillar.module-Cpx4mbRH.css +1 -0
- package/esm/Pillar/Pillar.module.js +16 -0
- package/esm/Pillar/Pillar.module.js.map +1 -0
- package/esm/Pillar/index.d.ts +2 -0
- package/esm/Pillar/index.d.ts.map +1 -0
- package/esm/PricingOptions/PricingOptions.d.ts +126 -0
- package/esm/PricingOptions/PricingOptions.d.ts.map +1 -0
- package/esm/PricingOptions/PricingOptions.figma.d.ts +2 -0
- package/esm/PricingOptions/PricingOptions.figma.d.ts.map +1 -0
- package/esm/PricingOptions/PricingOptions.js +362 -0
- package/esm/PricingOptions/PricingOptions.js.map +1 -0
- package/esm/PricingOptions/PricingOptions.module-Cm3Oq9u6.css +1 -0
- package/esm/PricingOptions/PricingOptions.module.js +53 -0
- package/esm/PricingOptions/PricingOptions.module.js.map +1 -0
- package/esm/PricingOptions/index.d.ts +2 -0
- package/esm/PricingOptions/index.d.ts.map +1 -0
- package/esm/Prose/Prose.d.ts +21 -0
- package/esm/Prose/Prose.d.ts.map +1 -0
- package/esm/Prose/Prose.js +18 -0
- package/esm/Prose/Prose.js.map +1 -0
- package/esm/Prose/Prose.module-CL7KawRN.css +1 -0
- package/esm/Prose/Prose.module.js +10 -0
- package/esm/Prose/Prose.module.js.map +1 -0
- package/esm/Prose/index.d.ts +2 -0
- package/esm/Prose/index.d.ts.map +1 -0
- package/esm/Section/Section.d.ts +66 -0
- package/esm/Section/Section.d.ts.map +1 -0
- package/esm/Section/Section.js +51 -0
- package/esm/Section/Section.js.map +1 -0
- package/esm/Section/Section.module-B8zA8qj8.css +1 -0
- package/esm/Section/Section.module.js +42 -0
- package/esm/Section/Section.module.js.map +1 -0
- package/esm/Section/index.d.ts +2 -0
- package/esm/Section/index.d.ts.map +1 -0
- package/esm/SectionIntro/SectionIntro.d.ts +33 -0
- package/esm/SectionIntro/SectionIntro.d.ts.map +1 -0
- package/esm/SectionIntro/SectionIntro.js +66 -0
- package/esm/SectionIntro/SectionIntro.js.map +1 -0
- package/esm/SectionIntro/SectionIntro.module-CiRymbla.css +1 -0
- package/esm/SectionIntro/SectionIntro.module.js +15 -0
- package/esm/SectionIntro/SectionIntro.module.js.map +1 -0
- package/esm/SectionIntro/index.d.ts +2 -0
- package/esm/SectionIntro/index.d.ts.map +1 -0
- package/esm/SectionIntroStacked/SectionIntroStacked.d.ts +36 -0
- package/esm/SectionIntroStacked/SectionIntroStacked.d.ts.map +1 -0
- package/esm/SectionIntroStacked/SectionIntroStacked.js +125 -0
- package/esm/SectionIntroStacked/SectionIntroStacked.js.map +1 -0
- package/esm/SectionIntroStacked/SectionIntroStacked.module-DvJXKMKX.css +1 -0
- package/esm/SectionIntroStacked/SectionIntroStacked.module.js +20 -0
- package/esm/SectionIntroStacked/SectionIntroStacked.module.js.map +1 -0
- package/esm/SectionIntroStacked/index.d.ts +2 -0
- package/esm/SectionIntroStacked/index.d.ts.map +1 -0
- package/esm/Stack/Stack.d.ts +88 -0
- package/esm/Stack/Stack.d.ts.map +1 -0
- package/esm/Stack/Stack.js +40 -0
- package/esm/Stack/Stack.js.map +1 -0
- package/esm/Stack/Stack.module-ZIKnqNP_.css +1 -0
- package/esm/Stack/Stack.module.js +227 -0
- package/esm/Stack/Stack.module.js.map +1 -0
- package/esm/Stack/index.d.ts +2 -0
- package/esm/Stack/index.d.ts.map +1 -0
- package/esm/Statistic/Statistic.d.ts +119 -0
- package/esm/Statistic/Statistic.d.ts.map +1 -0
- package/esm/Statistic/Statistic.js +74 -0
- package/esm/Statistic/Statistic.js.map +1 -0
- package/esm/Statistic/Statistic.module-Dqb6n1GX.css +1 -0
- package/esm/Statistic/Statistic.module.js +26 -0
- package/esm/Statistic/Statistic.module.js.map +1 -0
- package/esm/Statistic/index.d.ts +2 -0
- package/esm/Statistic/index.d.ts.map +1 -0
- package/esm/SubNav/SubNav.d.ts +81 -0
- package/esm/SubNav/SubNav.d.ts.map +1 -0
- package/esm/SubNav/SubNav.js +343 -0
- package/esm/SubNav/SubNav.js.map +1 -0
- package/esm/SubNav/SubNav.module-CFXuWNmS.css +1 -0
- package/esm/SubNav/SubNav.module.js +52 -0
- package/esm/SubNav/SubNav.module.js.map +1 -0
- package/esm/SubNav/index.d.ts +2 -0
- package/esm/SubNav/index.d.ts.map +1 -0
- package/esm/SubNav/useContainsFocus.d.ts +10 -0
- package/esm/SubNav/useContainsFocus.d.ts.map +1 -0
- package/esm/SubNav/useContainsFocus.js +22 -0
- package/esm/SubNav/useContainsFocus.js.map +1 -0
- package/esm/SubdomainNavBar/NavigationVisbilityObserver.d.ts +6 -0
- package/esm/SubdomainNavBar/NavigationVisbilityObserver.d.ts.map +1 -0
- package/esm/SubdomainNavBar/NavigationVisbilityObserver.js +73 -0
- package/esm/SubdomainNavBar/NavigationVisbilityObserver.js.map +1 -0
- package/esm/SubdomainNavBar/SubdomainNavBar.d.ts +86 -0
- package/esm/SubdomainNavBar/SubdomainNavBar.d.ts.map +1 -0
- package/esm/SubdomainNavBar/SubdomainNavBar.js +397 -0
- package/esm/SubdomainNavBar/SubdomainNavBar.js.map +1 -0
- package/esm/SubdomainNavBar/SubdomainNavBar.module-Rf4qEDka.css +1 -0
- package/esm/SubdomainNavBar/SubdomainNavBar.module.js +62 -0
- package/esm/SubdomainNavBar/SubdomainNavBar.module.js.map +1 -0
- package/esm/SubdomainNavBar/index.d.ts +2 -0
- package/esm/SubdomainNavBar/index.d.ts.map +1 -0
- package/esm/SubdomainNavBar/useVisibilityObserver.d.ts +6 -0
- package/esm/SubdomainNavBar/useVisibilityObserver.d.ts.map +1 -0
- package/esm/SubdomainNavBar/useVisibilityObserver.js +30 -0
- package/esm/SubdomainNavBar/useVisibilityObserver.js.map +1 -0
- package/esm/Tabs/Tabs.d.ts +182 -0
- package/esm/Tabs/Tabs.d.ts.map +1 -0
- package/esm/Tabs/Tabs.js +196 -0
- package/esm/Tabs/Tabs.js.map +1 -0
- package/esm/Tabs/Tabs.module-D8VFUDRe.css +1 -0
- package/esm/Tabs/Tabs.module.js +28 -0
- package/esm/Tabs/Tabs.module.js.map +1 -0
- package/esm/Tabs/index.d.ts +2 -0
- package/esm/Tabs/index.d.ts.map +1 -0
- package/esm/Testimonial/Testimonial.d.ts +73 -0
- package/esm/Testimonial/Testimonial.d.ts.map +1 -0
- package/esm/Testimonial/Testimonial.js +125 -0
- package/esm/Testimonial/Testimonial.js.map +1 -0
- package/esm/Testimonial/Testimonial.module-DRCosU_J.css +1 -0
- package/esm/Testimonial/Testimonial.module.js +41 -0
- package/esm/Testimonial/Testimonial.module.js.map +1 -0
- package/esm/Testimonial/index.d.ts +2 -0
- package/esm/Testimonial/index.d.ts.map +1 -0
- package/esm/Text/Text.d.ts +63 -0
- package/esm/Text/Text.d.ts.map +1 -0
- package/esm/Text/Text.js +54 -0
- package/esm/Text/Text.js.map +1 -0
- package/esm/Text/Text.module-D0UHZ0pq.css +1 -0
- package/esm/Text/Text.module.js +59 -0
- package/esm/Text/Text.module.js.map +1 -0
- package/esm/Text/index.d.ts +2 -0
- package/esm/Text/index.d.ts.map +1 -0
- package/esm/TextCursorAnimation/TextCursorAnimation.d.ts +18 -0
- package/esm/TextCursorAnimation/TextCursorAnimation.d.ts.map +1 -0
- package/esm/TextCursorAnimation/TextCursorAnimation.js +51 -0
- package/esm/TextCursorAnimation/TextCursorAnimation.js.map +1 -0
- package/esm/TextCursorAnimation/TextCursorAnimation.module-CkVDXNW5.css +1 -0
- package/esm/TextCursorAnimation/TextCursorAnimation.module.js +10 -0
- package/esm/TextCursorAnimation/TextCursorAnimation.module.js.map +1 -0
- package/esm/TextCursorAnimation/index.d.ts +2 -0
- package/esm/TextCursorAnimation/index.d.ts.map +1 -0
- package/esm/ThemeProvider/ThemeProvider.d.ts +20 -0
- package/esm/ThemeProvider/ThemeProvider.d.ts.map +1 -0
- package/esm/ThemeProvider/ThemeProvider.js +35 -0
- package/esm/ThemeProvider/ThemeProvider.js.map +1 -0
- package/esm/ThemeProvider/index.d.ts +3 -0
- package/esm/ThemeProvider/index.d.ts.map +1 -0
- package/esm/ThemeProvider/useTheme.d.ts +2 -0
- package/esm/ThemeProvider/useTheme.d.ts.map +1 -0
- package/esm/ThemeProvider/useTheme.js +8 -0
- package/esm/ThemeProvider/useTheme.js.map +1 -0
- package/esm/Tiles/Tiles.d.ts +50 -0
- package/esm/Tiles/Tiles.d.ts.map +1 -0
- package/esm/Tiles/Tiles.fixtures.d.ts +7 -0
- package/esm/Tiles/Tiles.fixtures.d.ts.map +1 -0
- package/esm/Tiles/Tiles.js +69 -0
- package/esm/Tiles/Tiles.js.map +1 -0
- package/esm/Tiles/Tiles.module-D7UJKhKM.css +1 -0
- package/esm/Tiles/Tiles.module.js +18 -0
- package/esm/Tiles/Tiles.module.js.map +1 -0
- package/esm/Tiles/index.d.ts +2 -0
- package/esm/Tiles/index.d.ts.map +1 -0
- package/esm/Timeline/Timeline.d.ts +19 -0
- package/esm/Timeline/Timeline.d.ts.map +1 -0
- package/esm/Timeline/Timeline.js +33 -0
- package/esm/Timeline/Timeline.js.map +1 -0
- package/esm/Timeline/Timeline.module-CQrQaD-z.css +1 -0
- package/esm/Timeline/Timeline.module.js +10 -0
- package/esm/Timeline/Timeline.module.js.map +1 -0
- package/esm/Timeline/index.d.ts +2 -0
- package/esm/Timeline/index.d.ts.map +1 -0
- package/esm/Token/Token.d.ts +47 -0
- package/esm/Token/Token.d.ts.map +1 -0
- package/esm/Token/Token.js +47 -0
- package/esm/Token/Token.js.map +1 -0
- package/esm/Token/Token.module-BcKU1KwK.css +1 -0
- package/esm/Token/Token.module.js +16 -0
- package/esm/Token/Token.module.js.map +1 -0
- package/esm/Token/index.d.ts +2 -0
- package/esm/Token/index.d.ts.map +1 -0
- package/esm/Tooltip/Tooltip.d.ts +26 -0
- package/esm/Tooltip/Tooltip.d.ts.map +1 -0
- package/esm/Tooltip/Tooltip.js +113 -0
- package/esm/Tooltip/Tooltip.js.map +1 -0
- package/esm/Tooltip/Tooltip.module-5Km7qGR5.css +1 -0
- package/esm/Tooltip/Tooltip.module.js +9 -0
- package/esm/Tooltip/Tooltip.module.js.map +1 -0
- package/esm/Tooltip/index.d.ts +2 -0
- package/esm/Tooltip/index.d.ts.map +1 -0
- package/esm/VideoPlayer/VideoPlayer.d.ts +29 -0
- package/esm/VideoPlayer/VideoPlayer.d.ts.map +1 -0
- package/esm/VideoPlayer/VideoPlayer.js +109 -0
- package/esm/VideoPlayer/VideoPlayer.js.map +1 -0
- package/esm/VideoPlayer/VideoPlayer.module-BpVcE2WB.css +1 -0
- package/esm/VideoPlayer/VideoPlayer.module.js +37 -0
- package/esm/VideoPlayer/VideoPlayer.module.js.map +1 -0
- package/esm/VideoPlayer/components/CCButton/CCButton.d.ts +3 -0
- package/esm/VideoPlayer/components/CCButton/CCButton.d.ts.map +1 -0
- package/esm/VideoPlayer/components/CCButton/CCButton.js +25 -0
- package/esm/VideoPlayer/components/CCButton/CCButton.js.map +1 -0
- package/esm/VideoPlayer/components/CCButton/index.d.ts +2 -0
- package/esm/VideoPlayer/components/CCButton/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/Captions/Captions.d.ts +3 -0
- package/esm/VideoPlayer/components/Captions/Captions.d.ts.map +1 -0
- package/esm/VideoPlayer/components/Captions/Captions.js +37 -0
- package/esm/VideoPlayer/components/Captions/Captions.js.map +1 -0
- package/esm/VideoPlayer/components/Captions/Captions.module-CvaHeR3V.css +1 -0
- package/esm/VideoPlayer/components/Captions/Captions.module.js +8 -0
- package/esm/VideoPlayer/components/Captions/Captions.module.js.map +1 -0
- package/esm/VideoPlayer/components/Captions/index.d.ts +2 -0
- package/esm/VideoPlayer/components/Captions/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/ControlsBar/ControlsBar.d.ts +4 -0
- package/esm/VideoPlayer/components/ControlsBar/ControlsBar.d.ts.map +1 -0
- package/esm/VideoPlayer/components/ControlsBar/ControlsBar.js +13 -0
- package/esm/VideoPlayer/components/ControlsBar/ControlsBar.js.map +1 -0
- package/esm/VideoPlayer/components/ControlsBar/index.d.ts +2 -0
- package/esm/VideoPlayer/components/ControlsBar/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/FullScreenButton/FullScreenButton.d.ts +3 -0
- package/esm/VideoPlayer/components/FullScreenButton/FullScreenButton.d.ts.map +1 -0
- package/esm/VideoPlayer/components/FullScreenButton/FullScreenButton.js +19 -0
- package/esm/VideoPlayer/components/FullScreenButton/FullScreenButton.js.map +1 -0
- package/esm/VideoPlayer/components/FullScreenButton/index.d.ts +2 -0
- package/esm/VideoPlayer/components/FullScreenButton/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/IconControl/IconControl.d.ts +7 -0
- package/esm/VideoPlayer/components/IconControl/IconControl.d.ts.map +1 -0
- package/esm/VideoPlayer/components/IconControl/IconControl.js +15 -0
- package/esm/VideoPlayer/components/IconControl/IconControl.js.map +1 -0
- package/esm/VideoPlayer/components/IconControl/index.d.ts +2 -0
- package/esm/VideoPlayer/components/IconControl/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/MuteButton/MuteButton.d.ts +3 -0
- package/esm/VideoPlayer/components/MuteButton/MuteButton.d.ts.map +1 -0
- package/esm/VideoPlayer/components/MuteButton/MuteButton.js +19 -0
- package/esm/VideoPlayer/components/MuteButton/MuteButton.js.map +1 -0
- package/esm/VideoPlayer/components/MuteButton/index.d.ts +2 -0
- package/esm/VideoPlayer/components/MuteButton/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/PauseIcon/PauseIcon.d.ts +3 -0
- package/esm/VideoPlayer/components/PauseIcon/PauseIcon.d.ts.map +1 -0
- package/esm/VideoPlayer/components/PauseIcon/PauseIcon.js +27 -0
- package/esm/VideoPlayer/components/PauseIcon/PauseIcon.js.map +1 -0
- package/esm/VideoPlayer/components/PauseIcon/index.d.ts +2 -0
- package/esm/VideoPlayer/components/PauseIcon/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/PlayIcon/PlayIcon.d.ts +3 -0
- package/esm/VideoPlayer/components/PlayIcon/PlayIcon.d.ts.map +1 -0
- package/esm/VideoPlayer/components/PlayIcon/PlayIcon.js +19 -0
- package/esm/VideoPlayer/components/PlayIcon/PlayIcon.js.map +1 -0
- package/esm/VideoPlayer/components/PlayIcon/index.d.ts +2 -0
- package/esm/VideoPlayer/components/PlayIcon/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/PlayPauseButton/PlayPauseButton.d.ts +3 -0
- package/esm/VideoPlayer/components/PlayPauseButton/PlayPauseButton.d.ts.map +1 -0
- package/esm/VideoPlayer/components/PlayPauseButton/PlayPauseButton.js +20 -0
- package/esm/VideoPlayer/components/PlayPauseButton/PlayPauseButton.js.map +1 -0
- package/esm/VideoPlayer/components/PlayPauseButton/index.d.ts +2 -0
- package/esm/VideoPlayer/components/PlayPauseButton/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/Range/Range.d.ts +10 -0
- package/esm/VideoPlayer/components/Range/Range.d.ts.map +1 -0
- package/esm/VideoPlayer/components/Range/Range.js +75 -0
- package/esm/VideoPlayer/components/Range/Range.js.map +1 -0
- package/esm/VideoPlayer/components/Range/index.d.ts +2 -0
- package/esm/VideoPlayer/components/Range/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/SeekControl/SeekControl.d.ts +5 -0
- package/esm/VideoPlayer/components/SeekControl/SeekControl.d.ts.map +1 -0
- package/esm/VideoPlayer/components/SeekControl/SeekControl.js +59 -0
- package/esm/VideoPlayer/components/SeekControl/SeekControl.js.map +1 -0
- package/esm/VideoPlayer/components/SeekControl/index.d.ts +2 -0
- package/esm/VideoPlayer/components/SeekControl/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/VideoTooltip/VideoTooltip.d.ts +5 -0
- package/esm/VideoPlayer/components/VideoTooltip/VideoTooltip.d.ts.map +1 -0
- package/esm/VideoPlayer/components/VideoTooltip/VideoTooltip.js +50 -0
- package/esm/VideoPlayer/components/VideoTooltip/VideoTooltip.js.map +1 -0
- package/esm/VideoPlayer/components/VideoTooltip/index.d.ts +2 -0
- package/esm/VideoPlayer/components/VideoTooltip/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/VolumeControl/VolumeControl.d.ts +3 -0
- package/esm/VideoPlayer/components/VolumeControl/VolumeControl.d.ts.map +1 -0
- package/esm/VideoPlayer/components/VolumeControl/VolumeControl.js +25 -0
- package/esm/VideoPlayer/components/VolumeControl/VolumeControl.js.map +1 -0
- package/esm/VideoPlayer/components/VolumeControl/VolumeControl.module-DRSCPBbP.css +1 -0
- package/esm/VideoPlayer/components/VolumeControl/VolumeControl.module.js +5 -0
- package/esm/VideoPlayer/components/VolumeControl/VolumeControl.module.js.map +1 -0
- package/esm/VideoPlayer/components/VolumeControl/index.d.ts +2 -0
- package/esm/VideoPlayer/components/VolumeControl/index.d.ts.map +1 -0
- package/esm/VideoPlayer/components/index.d.ts +14 -0
- package/esm/VideoPlayer/components/index.d.ts.map +1 -0
- package/esm/VideoPlayer/hooks/index.d.ts +5 -0
- package/esm/VideoPlayer/hooks/index.d.ts.map +1 -0
- package/esm/VideoPlayer/hooks/useIsElementFullScreen.d.ts +3 -0
- package/esm/VideoPlayer/hooks/useIsElementFullScreen.d.ts.map +1 -0
- package/esm/VideoPlayer/hooks/useIsElementFullScreen.js +23 -0
- package/esm/VideoPlayer/hooks/useIsElementFullScreen.js.map +1 -0
- package/esm/VideoPlayer/hooks/useVideo.d.ts +37 -0
- package/esm/VideoPlayer/hooks/useVideo.d.ts.map +1 -0
- package/esm/VideoPlayer/hooks/useVideo.js +147 -0
- package/esm/VideoPlayer/hooks/useVideo.js.map +1 -0
- package/esm/VideoPlayer/hooks/useVideoKeypressHandlers.d.ts +4 -0
- package/esm/VideoPlayer/hooks/useVideoKeypressHandlers.d.ts.map +1 -0
- package/esm/VideoPlayer/hooks/useVideoResizeObserver.d.ts +6 -0
- package/esm/VideoPlayer/hooks/useVideoResizeObserver.d.ts.map +1 -0
- package/esm/VideoPlayer/hooks/useVideoResizeObserver.js +25 -0
- package/esm/VideoPlayer/hooks/useVideoResizeObserver.js.map +1 -0
- package/esm/VideoPlayer/index.d.ts +3 -0
- package/esm/VideoPlayer/index.d.ts.map +1 -0
- package/esm/animation/Animate/Animate.d.ts +11 -0
- package/esm/animation/Animate/Animate.d.ts.map +1 -0
- package/esm/animation/Animate/Animate.js +25 -0
- package/esm/animation/Animate/Animate.js.map +1 -0
- package/esm/animation/Animate/index.d.ts +2 -0
- package/esm/animation/Animate/index.d.ts.map +1 -0
- package/esm/animation/Animation.module-Bz_IX_fh.css +1 -0
- package/esm/animation/Animation.module.js +22 -0
- package/esm/animation/Animation.module.js.map +1 -0
- package/esm/animation/AnimationProvider/AnimationProvider.d.ts +47 -0
- package/esm/animation/AnimationProvider/AnimationProvider.d.ts.map +1 -0
- package/esm/animation/AnimationProvider/AnimationProvider.js +125 -0
- package/esm/animation/AnimationProvider/AnimationProvider.js.map +1 -0
- package/esm/animation/AnimationProvider/index.d.ts +2 -0
- package/esm/animation/AnimationProvider/index.d.ts.map +1 -0
- package/esm/animation/TextRevealAnimation/TextRevealAnimation.d.ts +7 -0
- package/esm/animation/TextRevealAnimation/TextRevealAnimation.d.ts.map +1 -0
- package/esm/animation/TextRevealAnimation/TextRevealAnimation.js +36 -0
- package/esm/animation/TextRevealAnimation/TextRevealAnimation.js.map +1 -0
- package/esm/animation/TextRevealAnimation/TextRevealAnimation.module-BzK16DXS.css +1 -0
- package/esm/animation/TextRevealAnimation/TextRevealAnimation.module.js +10 -0
- package/esm/animation/TextRevealAnimation/TextRevealAnimation.module.js.map +1 -0
- package/esm/animation/TextRevealAnimation/index.d.ts +2 -0
- package/esm/animation/TextRevealAnimation/index.d.ts.map +1 -0
- package/esm/animation/TextRevealAnimation/useTextRevealAnimationLines.d.ts +6 -0
- package/esm/animation/TextRevealAnimation/useTextRevealAnimationLines.d.ts.map +1 -0
- package/esm/animation/TextRevealAnimation/useTextRevealAnimationLines.js +31 -0
- package/esm/animation/TextRevealAnimation/useTextRevealAnimationLines.js.map +1 -0
- package/esm/animation/index.d.ts +5 -0
- package/esm/animation/index.d.ts.map +1 -0
- package/esm/animation/useAnimation.d.ts +12 -0
- package/esm/animation/useAnimation.d.ts.map +1 -0
- package/esm/animation/useAnimation.js +27 -0
- package/esm/animation/useAnimation.js.map +1 -0
- package/esm/component-helpers.d.ts +36 -0
- package/esm/component-helpers.d.ts.map +1 -0
- package/esm/constants.d.ts +5 -0
- package/esm/constants.d.ts.map +1 -0
- package/esm/constants.js +45 -0
- package/esm/constants.js.map +1 -0
- package/esm/css/reset-PKNIUbst.css +1 -0
- package/esm/css/stylesheets.d.ts +14 -0
- package/esm/css/stylesheets.d.ts.map +1 -0
- package/esm/css/stylesheets.js +15 -0
- package/esm/css/stylesheets.js.map +1 -0
- package/esm/css/utilities-BivJncWo.css +1 -0
- package/esm/findElementInChildren.d.ts +4 -0
- package/esm/findElementInChildren.d.ts.map +1 -0
- package/esm/findElementInChildren.js +13 -0
- package/esm/findElementInChildren.js.map +1 -0
- package/esm/fixtures/third-party-logos/AzureLogo.d.ts +5 -0
- package/esm/fixtures/third-party-logos/AzureLogo.d.ts.map +1 -0
- package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts +5 -0
- package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts.map +1 -0
- package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +5 -0
- package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts.map +1 -0
- package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts +5 -0
- package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts.map +1 -0
- package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts +5 -0
- package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts.map +1 -0
- package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +5 -0
- package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts.map +1 -0
- package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts +5 -0
- package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts.map +1 -0
- package/esm/forms/Checkbox/Checkbox.d.ts +28 -0
- package/esm/forms/Checkbox/Checkbox.d.ts.map +1 -0
- package/esm/forms/Checkbox/Checkbox.js +74 -0
- package/esm/forms/Checkbox/Checkbox.js.map +1 -0
- package/esm/forms/Checkbox/Checkbox.module-DTWn-eCl.css +1 -0
- package/esm/forms/Checkbox/Checkbox.module.js +12 -0
- package/esm/forms/Checkbox/Checkbox.module.js.map +1 -0
- package/esm/forms/Checkbox/index.d.ts +2 -0
- package/esm/forms/Checkbox/index.d.ts.map +1 -0
- package/esm/forms/CheckboxGroup/CheckboxGroup.d.ts +15 -0
- package/esm/forms/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/esm/forms/CheckboxGroup/CheckboxGroup.js +7 -0
- package/esm/forms/CheckboxGroup/CheckboxGroup.js.map +1 -0
- package/esm/forms/CheckboxGroup/index.d.ts +2 -0
- package/esm/forms/CheckboxGroup/index.d.ts.map +1 -0
- package/esm/forms/ControlGroup/ControlGroup.d.ts +20 -0
- package/esm/forms/ControlGroup/ControlGroup.d.ts.map +1 -0
- package/esm/forms/ControlGroup/ControlGroup.js +74 -0
- package/esm/forms/ControlGroup/ControlGroup.js.map +1 -0
- package/esm/forms/ControlGroup/ControlGroup.module-B7ITrHM_.css +1 -0
- package/esm/forms/ControlGroup/ControlGroup.module.js +15 -0
- package/esm/forms/ControlGroup/ControlGroup.module.js.map +1 -0
- package/esm/forms/ControlGroup/index.d.ts +2 -0
- package/esm/forms/ControlGroup/index.d.ts.map +1 -0
- package/esm/forms/FormControl/FormControl.d.ts +55 -0
- package/esm/forms/FormControl/FormControl.d.ts.map +1 -0
- package/esm/forms/FormControl/FormControl.js +149 -0
- package/esm/forms/FormControl/FormControl.js.map +1 -0
- package/esm/forms/FormControl/FormControl.module-UQqb_zPR.css +1 -0
- package/esm/forms/FormControl/FormControl.module.js +25 -0
- package/esm/forms/FormControl/FormControl.module.js.map +1 -0
- package/esm/forms/FormControl/index.d.ts +2 -0
- package/esm/forms/FormControl/index.d.ts.map +1 -0
- package/esm/forms/Radio/Radio.d.ts +19 -0
- package/esm/forms/Radio/Radio.d.ts.map +1 -0
- package/esm/forms/Radio/Radio.js +38 -0
- package/esm/forms/Radio/Radio.js.map +1 -0
- package/esm/forms/Radio/Radio.module-C_NUEyme.css +1 -0
- package/esm/forms/Radio/Radio.module.js +10 -0
- package/esm/forms/Radio/Radio.module.js.map +1 -0
- package/esm/forms/Radio/index.d.ts +2 -0
- package/esm/forms/Radio/index.d.ts.map +1 -0
- package/esm/forms/RadioGroup/RadioGroup.d.ts +15 -0
- package/esm/forms/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/esm/forms/RadioGroup/RadioGroup.js +7 -0
- package/esm/forms/RadioGroup/RadioGroup.js.map +1 -0
- package/esm/forms/RadioGroup/index.d.ts +2 -0
- package/esm/forms/RadioGroup/index.d.ts.map +1 -0
- package/esm/forms/Select/Select.d.ts +46 -0
- package/esm/forms/Select/Select.d.ts.map +1 -0
- package/esm/forms/Select/Select.js +34 -0
- package/esm/forms/Select/Select.js.map +1 -0
- package/esm/forms/Select/Select.module-q1LyPHa8.css +1 -0
- package/esm/forms/Select/Select.module.js +16 -0
- package/esm/forms/Select/Select.module.js.map +1 -0
- package/esm/forms/Select/index.d.ts +2 -0
- package/esm/forms/Select/index.d.ts.map +1 -0
- package/esm/forms/TextInput/TextInput.d.ts +54 -0
- package/esm/forms/TextInput/TextInput.d.ts.map +1 -0
- package/esm/forms/TextInput/TextInput.js +93 -0
- package/esm/forms/TextInput/TextInput.js.map +1 -0
- package/esm/forms/TextInput/TextInput.module-zPnaJdhX.css +1 -0
- package/esm/forms/TextInput/TextInput.module.js +48 -0
- package/esm/forms/TextInput/TextInput.module.js.map +1 -0
- package/esm/forms/TextInput/index.d.ts +2 -0
- package/esm/forms/TextInput/index.d.ts.map +1 -0
- package/esm/forms/Textarea/Textarea.d.ts +38 -0
- package/esm/forms/Textarea/Textarea.d.ts.map +1 -0
- package/esm/forms/Textarea/Textarea.js +31 -0
- package/esm/forms/Textarea/Textarea.js.map +1 -0
- package/esm/forms/Textarea/Textarea.module-CdUlSjWq.css +1 -0
- package/esm/forms/Textarea/Textarea.module.js +21 -0
- package/esm/forms/Textarea/Textarea.module.js.map +1 -0
- package/esm/forms/Textarea/index.d.ts +2 -0
- package/esm/forms/Textarea/index.d.ts.map +1 -0
- package/esm/forms/form-types.d.ts +3 -0
- package/esm/forms/form-types.d.ts.map +1 -0
- package/esm/forms/index.d.ts +14 -0
- package/esm/forms/index.d.ts.map +1 -0
- package/esm/hooks/useAnchoredPosition.d.ts +21 -0
- package/esm/hooks/useAnchoredPosition.d.ts.map +1 -0
- package/esm/hooks/useAnchoredPosition.js +25 -0
- package/esm/hooks/useAnchoredPosition.js.map +1 -0
- package/esm/hooks/useCursorAnimation.d.ts +38 -0
- package/esm/hooks/useCursorAnimation.d.ts.map +1 -0
- package/esm/hooks/useCursorAnimation.js +52 -0
- package/esm/hooks/useCursorAnimation.js.map +1 -0
- package/esm/hooks/useFocusTrap.d.ts +31 -0
- package/esm/hooks/useFocusTrap.d.ts.map +1 -0
- package/esm/hooks/useFocusTrap.js +28 -0
- package/esm/hooks/useFocusTrap.js.map +1 -0
- package/esm/hooks/useId.d.ts +3 -0
- package/esm/hooks/useId.d.ts.map +1 -0
- package/esm/hooks/useId.js +10 -0
- package/esm/hooks/useId.js.map +1 -0
- package/esm/hooks/useIsomorphicLayoutEffect.d.ts +4 -0
- package/esm/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/esm/hooks/useIsomorphicLayoutEffect.js +7 -0
- package/esm/hooks/useIsomorphicLayoutEffect.js.map +1 -0
- package/esm/hooks/useKeyboardEscape.d.ts +2 -0
- package/esm/hooks/useKeyboardEscape.d.ts.map +1 -0
- package/esm/hooks/useKeyboardEscape.js +14 -0
- package/esm/hooks/useKeyboardEscape.js.map +1 -0
- package/esm/hooks/useOnClickOutside.d.ts +3 -0
- package/esm/hooks/useOnClickOutside.d.ts.map +1 -0
- package/esm/hooks/useOnClickOutside.js +20 -0
- package/esm/hooks/useOnClickOutside.js.map +1 -0
- package/esm/hooks/useReducedMotion.d.ts +6 -0
- package/esm/hooks/useReducedMotion.d.ts.map +1 -0
- package/esm/hooks/useReducedMotion.js +17 -0
- package/esm/hooks/useReducedMotion.js.map +1 -0
- package/esm/hooks/useRef.d.ts +12 -0
- package/esm/hooks/useRef.d.ts.map +1 -0
- package/esm/hooks/useRef.js +26 -0
- package/esm/hooks/useRef.js.map +1 -0
- package/esm/hooks/useResizeObserver.d.ts +7 -0
- package/esm/hooks/useResizeObserver.d.ts.map +1 -0
- package/esm/hooks/useResizeObserver.js +21 -0
- package/esm/hooks/useResizeObserver.js.map +1 -0
- package/esm/hooks/useTabs.d.ts +57 -0
- package/esm/hooks/useTabs.d.ts.map +1 -0
- package/esm/hooks/useTabs.js +129 -0
- package/esm/hooks/useTabs.js.map +1 -0
- package/esm/hooks/useWindowSize.d.ts +22 -0
- package/esm/hooks/useWindowSize.d.ts.map +1 -0
- package/esm/hooks/useWindowSize.js +60 -0
- package/esm/hooks/useWindowSize.js.map +1 -0
- package/esm/index.d.ts +58 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.esm.d.ts +8 -0
- package/esm/index.esm.d.ts.map +1 -0
- package/esm/index.esm.js +77 -0
- package/esm/list/ListItem/ListItem.d.ts +19 -0
- package/esm/list/ListItem/ListItem.d.ts.map +1 -0
- package/esm/list/ListItem/ListItem.js +51 -0
- package/esm/list/ListItem/ListItem.js.map +1 -0
- package/esm/list/ListItem/ListItem.module-CtD-ZiWp.css +1 -0
- package/esm/list/ListItem/ListItem.module.js +12 -0
- package/esm/list/ListItem/ListItem.module.js.map +1 -0
- package/esm/list/ListItem/index.d.ts +2 -0
- package/esm/list/ListItem/index.d.ts.map +1 -0
- package/esm/list/OrderedList/OrderedList.d.ts +9 -0
- package/esm/list/OrderedList/OrderedList.d.ts.map +1 -0
- package/esm/list/OrderedList/OrderedList.js +23 -0
- package/esm/list/OrderedList/OrderedList.js.map +1 -0
- package/esm/list/OrderedList/OrderedList.module-DBJeYW8p.css +1 -0
- package/esm/list/OrderedList/OrderedList.module.js +5 -0
- package/esm/list/OrderedList/OrderedList.module.js.map +1 -0
- package/esm/list/OrderedList/index.d.ts +2 -0
- package/esm/list/OrderedList/index.d.ts.map +1 -0
- package/esm/list/UnorderedList/UnorderedList.d.ts +14 -0
- package/esm/list/UnorderedList/UnorderedList.d.ts.map +1 -0
- package/esm/list/UnorderedList/UnorderedList.js +22 -0
- package/esm/list/UnorderedList/UnorderedList.js.map +1 -0
- package/esm/list/UnorderedList/index.d.ts +2 -0
- package/esm/list/UnorderedList/index.d.ts.map +1 -0
- package/esm/list/index.d.ts +3 -0
- package/esm/list/index.d.ts.map +1 -0
- package/esm/list/list-shared.module-CXsvDQ7x.css +1 -0
- package/esm/list/list-shared.module.js +5 -0
- package/esm/list/list-shared.module.js.map +1 -0
- package/esm/list/listContext.d.ts +4 -0
- package/esm/list/listContext.d.ts.map +1 -0
- package/esm/list/listContext.js +7 -0
- package/esm/list/listContext.js.map +1 -0
- package/esm/node_modules/@primer/octicons-react/dist/index.esm.js +440 -0
- package/esm/node_modules/@primer/octicons-react/dist/index.esm.js.map +1 -0
- package/esm/node_modules/clsx/dist/clsx.js +18 -0
- package/esm/node_modules/clsx/dist/clsx.js.map +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes-BVk7bh0Y.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/base/size/size-DBypfR6O.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/base/typography/typography-CAC6sGQ3.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/animation/base-BIr7u5g8.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/colors/global-with-modes-tpdcmiok.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes-PcQKqJQI.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes-B69RzUbe.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes-98imfMkq.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/bento/base-BRft1s9J.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes-DYugDcQy.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes-Wg6T_h7K.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/card/base-BRKNIzyd.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes-C43pQ5wc.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes-D2oNfyDt.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table-L50b0Mii.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes-B9zRp3WA.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes-BzV3LYhH.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner-CPW2Ri4S.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/faq/base-BIIAD0RC.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes-Dc8Ya1HV.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/faq/faq-s_zeJJpd.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes-DhME9i-y.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base-BlFewKzM.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes-CMw13Yda.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes-6QocK2fy.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/grid/grid-Cjk6fsH8.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/hero/base-BDi-g8vJ.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon/colors-CctMSz17.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes-Bjhpbkke.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/ide/base-Cg4X8uay.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes-DSf1PV6b.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/inline-link/base-BJeYaOpB.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes-DujakhtG.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes-BB1L_8rS.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes-Dh1w7a05.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/logosuite/base-DTi5Rx4y.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes-n4fDsxWz.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/pagination/colors-with-modes-C2GLM06X.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes-DBi2l0Re.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options-B9TarQsR.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/prose/base-ZeVUZmHp.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes-Y3yB1rAU.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/river/base-Ue-p74RC.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/river/river-QteO10lt.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes-omPmv64b.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/section/section-GXjcxN8l.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/statistic/base-DWOQrMC8.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/base-DIkvLW-s.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes-5gfdihUt.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes-ehJCoExh.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/base-T7ABwZVf.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes-DCEDN6wM.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/base-CAG7koNB.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes-8ryG-BX6.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes-DTTqGOfy.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/base-CXOJfjx4.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes-DDIdeMJX.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes-5VT1x9eF.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes-BrRCxJ2E.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/video-player/base-Bs0Tq22P.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes-CTkp-z-l.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/size/border-B0NqqX5b.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/size/breakpoints-DV9ZFHGu.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/size/size-Dr6y-7jl.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/typography/typography-responsive-D6GwCHec.css +1 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +13 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts.map +1 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +14 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts.map +1 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +8 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts.map +1 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +2 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts.map +1 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +49 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts.map +1 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +2 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts.map +1 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +17 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts.map +1 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +2 -0
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts.map +1 -0
- package/esm/recipes/FeaturePreviewLPs/helpers.d.ts +30 -0
- package/esm/recipes/FeaturePreviewLPs/helpers.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +8 -0
- package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +2 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +8 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +2 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +8 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +8 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts +6 -0
- package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexSection/index.d.ts +2 -0
- package/esm/recipes/FlexTemplate/FlexSection/index.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexTemplate.d.ts +7 -0
- package/esm/recipes/FlexTemplate/FlexTemplate.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts +318 -0
- package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +6 -0
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +3 -0
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/fixtures/content.d.ts +2 -0
- package/esm/recipes/FlexTemplate/fixtures/content.d.ts.map +1 -0
- package/esm/recipes/FlexTemplate/index.d.ts +4 -0
- package/esm/recipes/FlexTemplate/index.d.ts.map +1 -0
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +59 -0
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts.map +1 -0
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +7 -0
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts.map +1 -0
- package/esm/recipes/Flexsuite/Category/index.d.ts +2 -0
- package/esm/recipes/Flexsuite/Category/index.d.ts.map +1 -0
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +101 -0
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts.map +1 -0
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +7 -0
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts.map +1 -0
- package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +5 -0
- package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts.map +1 -0
- package/esm/recipes/Flexsuite/Overview/index.d.ts +4 -0
- package/esm/recipes/Flexsuite/Overview/index.d.ts.map +1 -0
- package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +16 -0
- package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts.map +1 -0
- package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +33 -0
- package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts.map +1 -0
- package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts +2 -0
- package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts.map +1 -0
- package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +17 -0
- package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts.map +1 -0
- package/esm/recipes/SolutionTemplates/helpers.d.ts +127 -0
- package/esm/recipes/SolutionTemplates/helpers.d.ts.map +1 -0
- package/esm/recipes/SolutionTemplates/index.d.ts +1 -0
- package/esm/recipes/SolutionTemplates/index.d.ts.map +1 -0
- package/esm/recipes/seo/Article/Article.d.ts +14 -0
- package/esm/recipes/seo/Article/Article.d.ts.map +1 -0
- package/esm/recipes/seo/Article/ArticleToC.d.ts +4 -0
- package/esm/recipes/seo/Article/ArticleToC.d.ts.map +1 -0
- package/esm/recipes/seo/Article/article-shared.d.ts +5 -0
- package/esm/recipes/seo/Article/article-shared.d.ts.map +1 -0
- package/esm/recipes/seo/Article/index.d.ts +2 -0
- package/esm/recipes/seo/Article/index.d.ts.map +1 -0
- package/esm/recipes/seo/Category/CategoryPage.d.ts +9 -0
- package/esm/recipes/seo/Category/CategoryPage.d.ts.map +1 -0
- package/esm/recipes/seo/Category/index.d.ts +2 -0
- package/esm/recipes/seo/Category/index.d.ts.map +1 -0
- package/esm/recipes/seo/helpers.d.ts +16 -0
- package/esm/recipes/seo/helpers.d.ts.map +1 -0
- package/esm/recipes/seo/index.d.ts +1 -0
- package/esm/recipes/seo/index.d.ts.map +1 -0
- package/esm/river/River/River.d.ts +105 -0
- package/esm/river/River/River.d.ts.map +1 -0
- package/esm/river/River/River.js +91 -0
- package/esm/river/River/River.js.map +1 -0
- package/esm/river/River/index.d.ts +3 -0
- package/esm/river/River/index.d.ts.map +1 -0
- package/esm/river/River.figma.d.ts +2 -0
- package/esm/river/River.figma.d.ts.map +1 -0
- package/esm/river/RiverAccordion/RiverAccordion.d.ts +35 -0
- package/esm/river/RiverAccordion/RiverAccordion.d.ts.map +1 -0
- package/esm/river/RiverAccordion/RiverAccordion.js +142 -0
- package/esm/river/RiverAccordion/RiverAccordion.js.map +1 -0
- package/esm/river/RiverAccordion/RiverAccordion.module-DrtqdEOQ.css +1 -0
- package/esm/river/RiverAccordion/RiverAccordion.module.js +21 -0
- package/esm/river/RiverAccordion/RiverAccordion.module.js.map +1 -0
- package/esm/river/RiverAccordion/index.d.ts +2 -0
- package/esm/river/RiverAccordion/index.d.ts.map +1 -0
- package/esm/river/RiverBreakout/RiverBreakout.d.ts +20 -0
- package/esm/river/RiverBreakout/RiverBreakout.d.ts.map +1 -0
- package/esm/river/RiverBreakout/RiverBreakout.js +34 -0
- package/esm/river/RiverBreakout/RiverBreakout.js.map +1 -0
- package/esm/river/RiverBreakout/index.d.ts +2 -0
- package/esm/river/RiverBreakout/index.d.ts.map +1 -0
- package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.d.ts +42 -0
- package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.d.ts.map +1 -0
- package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.js +192 -0
- package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.js.map +1 -0
- package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module-CyFjQIyU.css +1 -0
- package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module.js +34 -0
- package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module.js.map +1 -0
- package/esm/river/RiverBreakoutTabs/index.d.ts +2 -0
- package/esm/river/RiverBreakoutTabs/index.d.ts.map +1 -0
- package/esm/river/RiverStoryScroll/RiverStoryScroll.d.ts +23 -0
- package/esm/river/RiverStoryScroll/RiverStoryScroll.d.ts.map +1 -0
- package/esm/river/RiverStoryScroll/RiverStoryScroll.js +83 -0
- package/esm/river/RiverStoryScroll/RiverStoryScroll.js.map +1 -0
- package/esm/river/RiverStoryScroll/RiverStoryScroll.module-D8dFaLHq.css +1 -0
- package/esm/river/RiverStoryScroll/RiverStoryScroll.module.js +27 -0
- package/esm/river/RiverStoryScroll/RiverStoryScroll.module.js.map +1 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollProvider.d.ts +13 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollProvider.d.ts.map +1 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollProvider.js +33 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollProvider.js.map +1 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollResponder.d.ts +11 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollResponder.d.ts.map +1 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollResponder.js +24 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollResponder.js.map +1 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollTracker.d.ts +10 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollTracker.d.ts.map +1 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollTracker.js +41 -0
- package/esm/river/RiverStoryScroll/RiverStoryScrollTracker.js.map +1 -0
- package/esm/river/RiverStoryScroll/index.d.ts +2 -0
- package/esm/river/RiverStoryScroll/index.d.ts.map +1 -0
- package/esm/river/index.d.ts +6 -0
- package/esm/river/index.d.ts.map +1 -0
- package/esm/river/river-shared.module-Cc5R8-Kl.css +1 -0
- package/esm/river/river-shared.module.js +32 -0
- package/esm/river/river-shared.module.js.map +1 -0
- package/esm/utils/isFragmentElement.d.ts +5 -0
- package/esm/utils/isFragmentElement.d.ts.map +1 -0
- package/esm/utils/isFragmentElement.js +7 -0
- package/esm/utils/isFragmentElement.js.map +1 -0
- package/lib/Pillar/Pillar.d.ts +2 -4
- package/lib/css/main.css +3297 -3297
- package/lib/css/stylesheets.d.ts +1 -0
- package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
- package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pagination/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
- package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
- package/lib/index.esm.d.ts +7 -0
- package/lib/index.js +1 -1
- package/lib/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -2
- package/lib/recipes/Flexsuite/{Overview/FlexSuiteSecurityOverview.content.d.ts → Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts} +10 -10
- package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +6 -0
- package/lib/recipes/Flexsuite/Category/index.d.ts +1 -0
- package/lib/recipes/Flexsuite/Overview/index.d.ts +1 -2
- package/package.json +32 -4
- package/lib/recipes/Flexsuite/Overview/FlexSuiteSecurityOverview.d.ts +0 -6
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BaseProps } from '../component-helpers';
|
|
3
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/prose/base.css';
|
|
4
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css';
|
|
5
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/inline-link/base.css';
|
|
6
|
+
export type ProseProps = {
|
|
7
|
+
/**
|
|
8
|
+
* Valid children include string encapsulated HTML elements such as `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<p>`, `<strong>`, `<em>`, `<a>`, `<ul>`, `<ol>`, `<li>`, `<img>`, and `<div>`.
|
|
9
|
+
*/
|
|
10
|
+
html: string;
|
|
11
|
+
/**
|
|
12
|
+
* The presentational variant of the prose.
|
|
13
|
+
*/
|
|
14
|
+
variant?: 'default' | 'editorial';
|
|
15
|
+
/**
|
|
16
|
+
* Whether to enable full width prose or not.
|
|
17
|
+
*/
|
|
18
|
+
enableFullWidth?: boolean;
|
|
19
|
+
} & Omit<BaseProps<HTMLDivElement>, 'animate' | 'children'> & Omit<React.ComponentPropsWithoutRef<'div'>, 'children'>;
|
|
20
|
+
export declare const Prose: React.ForwardRefExoticComponent<Omit<ProseProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
//# sourceMappingURL=Prose.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Prose.d.ts","sourceRoot":"","sources":["../../src/Prose/Prose.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAEvC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAEnD,OAAO,4FAA4F,CAAA;AACnG,OAAO,yGAAyG,CAAA;AAChH,OAAO,kGAAkG,CAAA;AAEzG,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IACjC;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC,GACzD,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAA;AAEzD,eAAO,MAAM,KAAK,gGAgBjB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import e from "../node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes-Y3yB1rAU.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/prose/base-ZeVUZmHp.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/inline-link/base-BJeYaOpB.css';/* empty css */
|
|
3
|
+
import t from "./Prose.module.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { forwardRef as n } from "react";
|
|
7
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
8
|
+
//#region src/Prose/Prose.tsx
|
|
9
|
+
var i = n(({ html: n, enableFullWidth: i = !1, className: a, variant: o = "default", ...s }, c) => /* @__PURE__ */ r("div", {
|
|
10
|
+
className: e(t.Prose, !i && t["Prose--lineLength"], t[`Prose--${o}`], a),
|
|
11
|
+
ref: c,
|
|
12
|
+
...s,
|
|
13
|
+
dangerouslySetInnerHTML: { __html: n }
|
|
14
|
+
}));
|
|
15
|
+
//#endregion
|
|
16
|
+
export { i as Prose };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=Prose.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Prose.js","names":[],"sources":["../../src/Prose/Prose.tsx"],"sourcesContent":["import React, {forwardRef} from 'react'\nimport {clsx} from 'clsx'\nimport type {BaseProps} from '../component-helpers'\nimport styles from './Prose.module.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/prose/base.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/inline-link/base.css'\n\nexport type ProseProps = {\n /**\n * Valid children include string encapsulated HTML elements such as `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<p>`, `<strong>`, `<em>`, `<a>`, `<ul>`, `<ol>`, `<li>`, `<img>`, and `<div>`.\n */\n html: string\n /**\n * The presentational variant of the prose.\n */\n variant?: 'default' | 'editorial'\n /**\n * Whether to enable full width prose or not.\n */\n enableFullWidth?: boolean\n} & Omit<BaseProps<HTMLDivElement>, 'animate' | 'children'> &\n Omit<React.ComponentPropsWithoutRef<'div'>, 'children'>\n\nexport const Prose = forwardRef<HTMLDivElement, ProseProps>(\n ({html, enableFullWidth = false, className, variant = 'default', ...props}, ref) => {\n return (\n <div\n className={clsx(\n styles.Prose,\n !enableFullWidth && styles['Prose--lineLength'],\n styles[`Prose--${variant}`],\n className,\n )}\n ref={ref}\n {...props}\n dangerouslySetInnerHTML={{__html: html}}\n />\n )\n },\n)\n"],"mappings":";;;;;;;;AAwBA,IAAa,IAAQ,GAClB,EAAC,SAAM,qBAAkB,IAAO,cAAW,aAAU,WAAW,GAAG,KAAQ,MAExE,kBAAC,OAAD;CACE,WAAW,EACT,EAAO,OACP,CAAC,KAAmB,EAAO,sBAC3B,EAAO,UAAU,MACjB,EACD;CACI;CACL,GAAI;CACJ,yBAAyB,EAAC,QAAQ,GAAK;CACvC,CAAA,CAGP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Primer_Brand__Prose-module__Prose___8WnSE{font-family:var(--brand-body-fontFamily);font-size:var(--brand-text-size-200);line-height:var(--brand-text-lineHeight-200);color:var(--brand-color-text-default)}.Primer_Brand__Prose-module__Prose--editorial___z40XG{font-size:var(--brand-text-size-300);line-height:1.7}.Primer_Brand__Prose-module__Prose___8WnSE *+*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:auto;margin-block-start:1em;margin-block-start:var(--spacing,1em)}.Primer_Brand__Prose-module__Prose--editorial___z40XG *+*{--spacing:var(--base-size-40)}.Primer_Brand__Prose-module__Prose--lineLength___V5nMv{max-width:var(--brand-Prose-lineLength)}.Primer_Brand__Prose-module__Prose___8WnSE h1{font-weight:var(--brand-heading-weight-700);font-size:var(--brand-text-size-700);line-height:var(--brand-text-lineHeight-700);font-family:var(--brand-heading-fontFamily);letter-spacing:var(--brand-text-letterSpacing-700)}.Primer_Brand__Prose-module__Prose___8WnSE h2{font-weight:var(--brand-heading-weight-600);font-size:var(--brand-text-size-600);line-height:var(--brand-text-lineHeight-600);font-family:var(--brand-heading-fontFamily);letter-spacing:var(--brand-text-letterSpacing-600)}.Primer_Brand__Prose-module__Prose--lineLength___V5nMv h2{max-width:26ch}.Primer_Brand__Prose-module__Prose___8WnSE h3{font-weight:var(--brand-heading-weight-400);font-size:var(--brand-text-size-400);line-height:var(--brand-heading-lineHeight-400);font-family:var(--brand-heading-fontFamily);letter-spacing:var(--brand-heading-letterSpacing-400)}.Primer_Brand__Prose-module__Prose--lineLength___V5nMv h1{max-width:32ch}.Primer_Brand__Prose-module__Prose___8WnSE h4{--spacing:var(--base-size-48);font-weight:var(--brand-heading-weight-400);font-size:var(--brand-text-size-300);line-height:var(--brand-text-lineHeight-300);font-family:var(--brand-heading-fontFamily);letter-spacing:var(--brand-heading-letterSpacing-300)}.Primer_Brand__Prose-module__Prose___8WnSE h5,.Primer_Brand__Prose-module__Prose___8WnSE h6{--spacing:var(--base-size-48);font-weight:var(--brand-text-subhead-weight-medium);font-size:var(--brand-text-subhead-size-medium);line-height:var(--brand-text-subhead-lineHeight-medium);font-family:var(--brand-heading-fontFamily);letter-spacing:var(--brand-heading-letterSpacing-200)}.Primer_Brand__Prose-module__Prose___8WnSE h1,.Primer_Brand__Prose-module__Prose___8WnSE h2,.Primer_Brand__Prose-module__Prose___8WnSE h3{--spacing:var(--base-size-64)}.Primer_Brand__Prose-module__Prose___8WnSE h1+*,.Primer_Brand__Prose-module__Prose___8WnSE h2+*,.Primer_Brand__Prose-module__Prose___8WnSE h3+*,.Primer_Brand__Prose-module__Prose___8WnSE p{--spacing:var(--base-size-24)}.Primer_Brand__Prose-module__Prose--editorial___z40XG p{--spacing:var(--base-size-40)}.Primer_Brand__Prose-module__Prose___8WnSE ul,.Primer_Brand__Prose-module__Prose___8WnSE ol{--spacing:var(--base-size-16);gap:var(--base-size-8);line-height:var(--brand-text-lineHeight-300);flex-direction:column;margin-inline-start:var(--base-size-24);padding:0;display:flex}.Primer_Brand__Prose-module__Prose--editorial___z40XG ul,.Primer_Brand__Prose-module__Prose--editorial___z40XG ol{--spacing:var(--base-size-48);gap:var(--base-size-16);line-height:1.7}.Primer_Brand__Prose-module__Prose___8WnSE ul{list-style-type:image;list-style-image:var(--brand-Prose-unorderedList-imageUrl)}.Primer_Brand__Prose-module__Prose___8WnSE li{--spacing:0}.Primer_Brand__Prose-module__Prose___8WnSE strong,.Primer_Brand__Prose-module__Prose___8WnSE b{font-weight:var(--brand-text-weight-heavy)!important}.Primer_Brand__Prose-module__Prose___8WnSE em{font-variation-settings:"ital" 10;font-synthesis:none}.Primer_Brand__Prose-module__Prose___8WnSE a{color:var(--brand-InlineLink-color-rest);-webkit-text-decoration:underline;text-decoration:underline;-webkit-text-decoration-color:var(--brand-InlineLink-color-rest);text-decoration-color:var(--brand-InlineLink-color-rest);text-decoration-thickness:var(--brand-borderWidth-thin);text-underline-position:under;transition:var(--brand-InlineLink-transition-timing) text-decoration;position:relative}.Primer_Brand__Prose-module__Prose___8WnSE a:hover{text-decoration-thickness:var(--brand-borderWidth-thick)}.Primer_Brand__Prose-module__Prose___8WnSE a:active:after{border-color:var(--brand-InlineLink-color-pressed)}.Primer_Brand__Prose-module__Prose___8WnSE code{font-family:var(--brand-fontStack-monospace);font-size:var(--brand-text-size-100);white-space:break-spaces;padding:var(--base-size-4) var(--base-size-8);border-radius:var(--brand-borderRadius-small);background-color:var(--brand-Prose-code-bgColor)}.Primer_Brand__Prose-module__Prose___8WnSE pre{padding:var(--base-size-16);border-radius:var(--brand-borderRadius-medium);background-color:var(--brand-Prose-code-bgColor)}.Primer_Brand__Prose-module__Prose___8WnSE pre code{padding:0}.Primer_Brand__Prose-module__Prose___8WnSE img{--spacing:var(--brand-Prose-img-spacing);max-width:100%;height:auto;margin-left:auto;margin-right:auto;margin-block-end:var(--spacing);display:block}.Primer_Brand__Prose-module__Prose--editorial___z40XG figure img{border-radius:var(--brand-borderRadius-medium);margin-block-end:0;display:block}.Primer_Brand__Prose-module__Prose___8WnSE blockquote{--spacing:var(--brand-Prose-blockquote-spacing);font-size:var(--brand-text-size-400);line-height:var(--brand-text-lineHeight-400);padding-top:var(--base-size-48);padding-bottom:var(--base-size-8);margin-bottom:var(--spacing);position:relative}.Primer_Brand__Prose-module__Prose--default___G7iCy blockquote{padding-left:var(--base-size-40)}.Primer_Brand__Prose-module__Prose--editorial___z40XG blockquote{font-size:var(--brand-text-size-500);line-height:var(--brand-text-lineHeight-500);font-weight:var(--brand-text-weight-500);padding-top:var(--base-size-64)}@media screen and (width>=87.5rem){.Primer_Brand__Prose-module__Prose--editorial___z40XG blockquote{margin-block:var(--base-size-40)}}.Primer_Brand__Prose-module__Prose___8WnSE blockquote:before{content:"“";font-size:var(--base-size-48);line-height:var(--base-size-64);font-weight:var(--base-text-weight-extrabold);position:absolute;top:0}.Primer_Brand__Prose-module__Prose--editorial___z40XG blockquote:before{color:var(--brand-color-accent-primary);font-size:var(--base-size-64);line-height:var(--base-size-64)}.Primer_Brand__Prose-module__Prose--default___G7iCy blockquote:after{content:"";width:var(--brand-borderWidth-thick);background-color:var(--base-color-scale-indigo-5);background-image:linear-gradient(180deg, var(--base-color-scale-blue-5), var(--base-color-scale-purple-5));height:100%;display:block;position:absolute;top:0;left:0}.Primer_Brand__Prose-module__Prose___8WnSE figure figcaption{--spacing:var(--base-size-24);font-family:var(--brand-fontStack-monospace);font-size:var(--brand-text-size-100);line-height:var(--brand-text-lineHeight-100);color:var(--brand-color-text-muted)}.Primer_Brand__Prose-module__Prose--editorial___z40XG figcaption{font-size:var(--brand-text-size-100);line-height:var(--brand-text-lineHeight-100);font-weight:var(--brand-text-weight-100)}.Primer_Brand__Prose-module__Prose--editorial___z40XG hr{--spacing:var(--base-size-64);border:1px solid var(--brand-color-border-muted);margin-block-start:var(--spacing);margin-block-end:var(--spacing)}.Primer_Brand__Prose-module__Prose___8WnSE video,.Primer_Brand__Prose-module__Prose___8WnSE iframe[src*=youtube\.com],.Primer_Brand__Prose-module__Prose___8WnSE iframe[src*=youtu\.be],.Primer_Brand__Prose-module__Prose___8WnSE iframe[src*=youtube-nocookie\.com]{--spacing:var(--brand-Prose-img-spacing);border-radius:var(--brand-borderRadius-medium);height:auto;margin-left:auto;margin-right:auto;margin-block-end:var(--spacing);display:block}.Primer_Brand__Prose-module__Prose___8WnSE video{max-width:100%}.Primer_Brand__Prose-module__Prose___8WnSE iframe[src*=youtube\.com],.Primer_Brand__Prose-module__Prose___8WnSE iframe[src*=youtu\.be],.Primer_Brand__Prose-module__Prose___8WnSE iframe[src*=youtube-nocookie\.com]{aspect-ratio:16/9;width:100%}@media (prefers-reduced-motion:reduce){.Primer_Brand__Prose-module__Prose___8WnSE a,.Primer_Brand__Prose-module__Prose___8WnSE a:before,.Primer_Brand__Prose-module__Prose___8WnSE a:after,.Primer_Brand__Prose-module__Prose___8WnSE a *{transition:none!important}}.Primer_Brand__Prose-module__Prose___8WnSE table{--spacing:var(--base-size-32);border-collapse:collapse;border-spacing:0;width:100%;font-size:var(--brand-text-size-200);line-height:var(--brand-text-lineHeight-200)}.Primer_Brand__Prose-module__Prose___8WnSE table caption{text-align:left;font-size:var(--brand-text-size-100);font-weight:var(--brand-text-weight-100);line-height:var(--brand-text-lineHeight-100);color:var(--brand-color-text-muted);padding-block-end:var(--base-size-24)}.Primer_Brand__Prose-module__Prose___8WnSE table th,.Primer_Brand__Prose-module__Prose___8WnSE table td{padding-block:var(--base-size-16);padding-inline:var(--base-size-12);text-align:left;vertical-align:top;border-bottom:var(--brand-borderWidth-thin) solid var(--brand-color-border-muted)}.Primer_Brand__Prose-module__Prose___8WnSE table th:first-child,.Primer_Brand__Prose-module__Prose___8WnSE table td:first-child,.Primer_Brand__Prose-module__Prose___8WnSE table th:last-child,.Primer_Brand__Prose-module__Prose___8WnSE table td:last-child{padding-inline:0}.Primer_Brand__Prose-module__Prose___8WnSE table th{font-size:var(--brand-text-size-100);font-weight:var(--brand-text-weight-400);line-height:var(--brand-text-lineHeight-100);color:var(--brand-color-text-muted)}.Primer_Brand__Prose-module__Prose___8WnSE table thead th{border-bottom:var(--brand-borderWidth-thick) solid var(--brand-color-border-default)}.Primer_Brand__Prose-module__Prose___8WnSE table tbody tr:last-child td{border-bottom:none}.Primer_Brand__Prose-module__Prose--editorial___z40XG table{--spacing:var(--base-size-48)}.Primer_Brand__Prose-module__Prose___8WnSE td>ul:first-child,.Primer_Brand__Prose-module__Prose___8WnSE td>ol:first-child{margin-block-start:0}@media screen and (width>=48rem){.Primer_Brand__Prose-module__Prose___8WnSE table th,.Primer_Brand__Prose-module__Prose___8WnSE table td{padding:var(--base-size-16) var(--base-size-8)}.Primer_Brand__Prose-module__Prose___8WnSE table th:not(:first-child):not(:last-child),.Primer_Brand__Prose-module__Prose___8WnSE table td:not(:first-child):not(:last-child){padding-inline:var(--base-size-16)}.Primer_Brand__Prose-module__Prose___8WnSE table th:first-child,.Primer_Brand__Prose-module__Prose___8WnSE table td:first-child{padding-inline-start:0}.Primer_Brand__Prose-module__Prose___8WnSE table th:last-child,.Primer_Brand__Prose-module__Prose___8WnSE table td:last-child{padding-inline-end:0}.Primer_Brand__Prose-module__Prose___8WnSE table tbody tr:hover{background-color:var(--brand-color-canvas-subtle)}}@media screen and (width<=47.99rem){.Primer_Brand__Prose-module__Prose___8WnSE table:has(td[data-label]){border-collapse:separate;border-spacing:0;width:100%;box-shadow:none;font-size:var(--brand-text-size-200);background:0 0}.Primer_Brand__Prose-module__Prose___8WnSE table:has(td[data-label]) thead{width:1px;height:1px;position:absolute;left:-9999px;overflow:hidden}:is(.Primer_Brand__Prose-module__Prose___8WnSE table:has(td[data-label]) tbody,.Primer_Brand__Prose-module__Prose___8WnSE table:has(td[data-label]) tr){width:100%;display:block}:is(.Primer_Brand__Prose-module__Prose___8WnSE table:has(td[data-label]) th:not(:first-child):not(:last-child),.Primer_Brand__Prose-module__Prose___8WnSE table:has(td[data-label]) td:not(:first-child):not(:last-child)){padding-inline:0}.Primer_Brand__Prose-module__Prose___8WnSE table:has(td[data-label]) tr{border-block-start:var(--brand-borderWidth-thicker) solid var(--brand-color-border-muted);margin-block-end:var(--spacing);padding-block-start:var(--base-size-20)}.Primer_Brand__Prose-module__Prose___8WnSE td[data-label]{width:100%;margin:0 0 16px;margin:0 0 var(--base-size-16,16px) 0;border:none;flex-direction:column;align-items:flex-start;padding:0;display:flex}.Primer_Brand__Prose-module__Prose___8WnSE td[data-label]:not(:last-child){border-block-end:var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);padding-block-end:var(--base-size-20)}.Primer_Brand__Prose-module__Prose___8WnSE td[data-label]:before{content:attr(data-label);color:var(--brand-color-text-muted);text-align:left;font-weight:var(--brand-text-weight-400);margin-block-end:var(--base-size-4)}.Primer_Brand__Prose-module__Prose___8WnSE table:has(td[data-label]) td:not([data-label]){width:100%;border:none;margin-block-end:var(--base-size-16);padding:0;display:block}.Primer_Brand__Prose-module__Prose___8WnSE table:has(td[data-label]) td:not([data-label]):not(:last-child){border-block-end:var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);padding-block-end:var(--base-size-20)}.Primer_Brand__Prose-module__Prose___8WnSE td[data-label]:last-child{margin-block-end:0}}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './Prose.module-CL7KawRN.css';var e = {
|
|
2
|
+
Prose: "Primer_Brand__Prose-module__Prose___8WnSE",
|
|
3
|
+
"Prose--editorial": "Primer_Brand__Prose-module__Prose--editorial___z40XG",
|
|
4
|
+
"Prose--lineLength": "Primer_Brand__Prose-module__Prose--lineLength___V5nMv",
|
|
5
|
+
"Prose--default": "Primer_Brand__Prose-module__Prose--default___G7iCy"
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { e as default };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=Prose.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Prose.module.js","names":[],"sources":["../../src/Prose/Prose.module.css"],"sourcesContent":["/* ---------------------------------------------------------- */\n/* Prose component */\n/* ---------------------------------------------------------- */\n/* Table of contents: */\n/* 1. Container */\n/* 2. Element spacing */\n/* 3. Line-length control */\n/* 4. Headings */\n/* 5. Paragraphs */\n/* 6. Lists */\n/* 7. Inline elements */\n/* 8. Images */\n/* 9. Block elements */\n/* ---------------------------------------------------------- */\n\n/* ---------------------------------------------------------- */\n/* 1. Container */\n/* ---------------------------------------------------------- */\n\n.Prose {\n font-family: var(--brand-body-fontFamily);\n font-size: var(--brand-text-size-200);\n line-height: var(--brand-text-lineHeight-200);\n color: var(--brand-color-text-default);\n}\n\n.Prose--editorial {\n font-size: var(--brand-text-size-300);\n line-height: 1.7;\n}\n\n/* ---------------------------------------------------------- */\n/* 2. Element spacing */\n/* ---------------------------------------------------------- */\n\n.Prose * + * {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: auto;\n margin-block-start: var(--spacing, 1em);\n}\n\n.Prose--editorial * + * {\n --spacing: var(--base-size-40);\n}\n\n/* ---------------------------------------------------------- */\n/* 3. Line-length control */\n/* ---------------------------------------------------------- */\n\n.Prose--lineLength {\n max-width: var(--brand-Prose-lineLength);\n}\n\n/* ---------------------------------------------------------- */\n/* 4. Headings */\n/* ---------------------------------------------------------- */\n\n.Prose h1 {\n font-weight: var(--brand-heading-weight-700);\n font-size: var(--brand-text-size-700);\n line-height: var(--brand-text-lineHeight-700);\n font-family: var(--brand-heading-fontFamily);\n letter-spacing: var(--brand-text-letterSpacing-700);\n}\n\n.Prose--lineLength h1 {\n max-width: 22ch;\n}\n\n.Prose h2 {\n font-weight: var(--brand-heading-weight-600);\n font-size: var(--brand-text-size-600);\n line-height: var(--brand-text-lineHeight-600);\n font-family: var(--brand-heading-fontFamily);\n letter-spacing: var(--brand-text-letterSpacing-600);\n}\n\n.Prose--lineLength h2 {\n max-width: 26ch;\n}\n\n.Prose h3 {\n font-weight: var(--brand-heading-weight-400);\n font-size: var(--brand-text-size-400);\n line-height: var(--brand-heading-lineHeight-400);\n font-family: var(--brand-heading-fontFamily);\n letter-spacing: var(--brand-heading-letterSpacing-400);\n}\n\n.Prose--lineLength h1 {\n max-width: 32ch;\n}\n\n.Prose h4 {\n --spacing: var(--base-size-48);\n font-weight: var(--brand-heading-weight-400);\n font-size: var(--brand-text-size-300);\n line-height: var(--brand-text-lineHeight-300);\n font-family: var(--brand-heading-fontFamily);\n letter-spacing: var(--brand-heading-letterSpacing-300);\n}\n\n.Prose h5 {\n --spacing: var(--base-size-48);\n font-weight: var(--brand-text-subhead-weight-medium);\n font-size: var(--brand-text-subhead-size-medium);\n line-height: var(--brand-text-subhead-lineHeight-medium);\n font-family: var(--brand-heading-fontFamily);\n letter-spacing: var(--brand-heading-letterSpacing-200);\n}\n\n.Prose h6 {\n --spacing: var(--base-size-48);\n font-weight: var(--brand-text-subhead-weight-medium);\n font-size: var(--brand-text-subhead-size-medium);\n line-height: var(--brand-text-subhead-lineHeight-medium);\n font-family: var(--brand-heading-fontFamily);\n letter-spacing: var(--brand-heading-letterSpacing-200);\n}\n\n.Prose :is(h1, h2, h3) {\n --spacing: var(--base-size-64);\n}\n\n.Prose :is(h1, h2, h3) + * {\n --spacing: var(--base-size-24);\n}\n\n/* ---------------------------------------------------------- */\n/* 5. Paragraphs */\n/* ---------------------------------------------------------- */\n\n.Prose p {\n --spacing: var(--base-size-24);\n}\n\n.Prose--editorial p {\n --spacing: var(--base-size-40);\n}\n\n/* ---------------------------------------------------------- */\n/* 6. Lists */\n/* ---------------------------------------------------------- */\n\n.Prose ul,\n.Prose ol {\n --spacing: var(--base-size-16);\n display: flex;\n flex-direction: column;\n gap: var(--base-size-8);\n padding: 0;\n margin-inline-start: var(--base-size-24);\n line-height: var(--brand-text-lineHeight-300);\n}\n\n.Prose--editorial ul,\n.Prose--editorial ol {\n --spacing: var(--base-size-48);\n gap: var(--base-size-16);\n line-height: 1.7;\n}\n\n.Prose ul {\n list-style-type: image;\n list-style-image: var(--brand-Prose-unorderedList-imageUrl);\n}\n\n.Prose li {\n --spacing: 0;\n}\n\n/* ---------------------------------------------------------- */\n/* 7. Inline elements */\n/* ---------------------------------------------------------- */\n\n.Prose strong,\n.Prose b {\n font-weight: var(\n --brand-text-weight-heavy\n ) !important; /* Overrides Primer product styles in dotcom. Should compute to 550 */\n}\n\n.Prose em {\n font-variation-settings: 'ital' 10;\n font-synthesis: none;\n}\n\n.Prose a {\n color: var(--brand-InlineLink-color-rest);\n text-decoration: underline;\n text-decoration-color: var(--brand-InlineLink-color-rest);\n text-decoration-thickness: var(--brand-borderWidth-thin);\n text-underline-position: under;\n transition: var(--brand-InlineLink-transition-timing) text-decoration;\n position: relative;\n}\n\n.Prose a:hover {\n text-decoration-thickness: var(--brand-borderWidth-thick);\n}\n\n.Prose a:active::after {\n border-color: var(--brand-InlineLink-color-pressed);\n}\n\n.Prose code {\n font-family: var(--brand-fontStack-monospace);\n font-size: var(--brand-text-size-100);\n white-space: break-spaces;\n padding: var(--base-size-4) var(--base-size-8);\n border-radius: var(--brand-borderRadius-small);\n background-color: var(--brand-Prose-code-bgColor);\n}\n\n.Prose pre {\n padding: var(--base-size-16);\n border-radius: var(--brand-borderRadius-medium);\n background-color: var(--brand-Prose-code-bgColor);\n}\n\n.Prose pre code {\n padding: 0;\n}\n\n/* ---------------------------------------------------------- */\n/* 8. Images */\n/* ---------------------------------------------------------- */\n\n.Prose img {\n --spacing: var(--brand-Prose-img-spacing);\n display: block;\n max-width: 100%;\n height: auto;\n margin-left: auto;\n margin-right: auto;\n margin-block-end: var(--spacing);\n}\n\n.Prose--editorial figure img {\n margin-block-end: 0;\n border-radius: var(--brand-borderRadius-medium);\n display: block;\n}\n\n/* ---------------------------------------------------------- */\n/* 9. Block elements */\n/* ---------------------------------------------------------- */\n\n.Prose blockquote {\n --spacing: var(--brand-Prose-blockquote-spacing);\n position: relative;\n font-size: var(--brand-text-size-400);\n line-height: var(--brand-text-lineHeight-400);\n padding-top: var(--base-size-48);\n padding-bottom: var(--base-size-8);\n margin-bottom: var(--spacing);\n}\n\n.Prose--default blockquote {\n padding-left: var(--base-size-40);\n}\n\n.Prose--editorial blockquote {\n font-size: var(--brand-text-size-500);\n line-height: var(--brand-text-lineHeight-500);\n font-weight: var(--brand-text-weight-500);\n padding-top: var(--base-size-64);\n}\n\n@media screen and (min-width: 87.5rem) {\n .Prose--editorial blockquote {\n margin-block: var(--base-size-40);\n }\n}\n\n.Prose blockquote::before {\n content: '“';\n font-size: var(--base-size-48);\n line-height: var(--base-size-64);\n font-weight: var(--base-text-weight-extrabold);\n position: absolute;\n top: 0;\n}\n\n.Prose--editorial blockquote::before {\n color: var(--brand-color-accent-primary);\n font-size: var(--base-size-64);\n line-height: var(--base-size-64);\n}\n\n.Prose--default blockquote::after {\n content: '';\n display: block;\n position: absolute;\n width: var(--brand-borderWidth-thick);\n height: 100%;\n top: 0;\n left: 0;\n background-color: var(--base-color-scale-indigo-5);\n background-image: linear-gradient(180deg, var(--base-color-scale-blue-5), var(--base-color-scale-purple-5));\n}\n\n.Prose figure figcaption {\n --spacing: var(--base-size-24);\n font-family: var(--brand-fontStack-monospace);\n font-size: var(--brand-text-size-100);\n line-height: var(--brand-text-lineHeight-100);\n color: var(--brand-color-text-muted);\n}\n\n.Prose--editorial figcaption {\n font-size: var(--brand-text-size-100);\n line-height: var(--brand-text-lineHeight-100);\n font-weight: var(--brand-text-weight-100);\n}\n\n.Prose--editorial hr {\n --spacing: var(--base-size-64);\n margin-block-start: var(--spacing);\n margin-block-end: var(--spacing);\n border: 1px solid var(--brand-color-border-muted);\n}\n\n.Prose video,\n.Prose iframe[src*='youtube.com'],\n.Prose iframe[src*='youtu.be'],\n.Prose iframe[src*='youtube-nocookie.com'] {\n --spacing: var(--brand-Prose-img-spacing);\n\n border-radius: var(--brand-borderRadius-medium);\n display: block;\n height: auto;\n margin-left: auto;\n margin-right: auto;\n margin-block-end: var(--spacing);\n}\n\n.Prose video {\n max-width: 100%;\n}\n\n.Prose iframe[src*='youtube.com'],\n.Prose iframe[src*='youtu.be'],\n.Prose iframe[src*='youtube-nocookie.com'] {\n width: 100%;\n aspect-ratio: 16 / 9;\n}\n\n/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n@media (prefers-reduced-motion: reduce) {\n .Prose a,\n .Prose a::before,\n .Prose a::after,\n .Prose a * {\n transition: none !important;\n }\n}\n\n/* Tables */\n\n.Prose table {\n --spacing: var(--base-size-32);\n width: 100%;\n border-collapse: collapse;\n border-spacing: 0;\n font-size: var(--brand-text-size-200);\n line-height: var(--brand-text-lineHeight-200);\n}\n\n.Prose table caption {\n text-align: left;\n padding-block-end: var(--base-size-24);\n font-size: var(--brand-text-size-100);\n font-weight: var(--brand-text-weight-100);\n line-height: var(--brand-text-lineHeight-100);\n color: var(--brand-color-text-muted);\n}\n\n.Prose table th,\n.Prose table td {\n padding-block: var(--base-size-16);\n padding-inline: var(--base-size-12);\n text-align: left;\n vertical-align: top;\n border-bottom: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n}\n\n.Prose table th:first-child,\n.Prose table td:first-child,\n.Prose table th:last-child,\n.Prose table td:last-child {\n padding-inline: 0;\n}\n\n.Prose table th {\n font-size: var(--brand-text-size-100);\n font-weight: var(--brand-text-weight-400);\n line-height: var(--brand-text-lineHeight-100);\n color: var(--brand-color-text-muted);\n}\n\n.Prose table thead th {\n border-bottom: var(--brand-borderWidth-thick) solid var(--brand-color-border-default);\n}\n\n.Prose table tbody tr:last-child td {\n border-bottom: none;\n}\n\n.Prose--editorial table {\n --spacing: var(--base-size-48);\n}\n\n.Prose td > ul:first-child,\n.Prose td > ol:first-child {\n margin-block-start: 0;\n}\n\n@media screen and (min-width: 48rem) {\n .Prose table th,\n .Prose table td {\n padding: var(--base-size-16) var(--base-size-8);\n }\n\n .Prose table th:not(:first-child):not(:last-child),\n .Prose table td:not(:first-child):not(:last-child) {\n padding-inline: var(--base-size-16);\n }\n\n .Prose table th:first-child,\n .Prose table td:first-child {\n padding-inline-start: 0;\n }\n\n .Prose table th:last-child,\n .Prose table td:last-child {\n padding-inline-end: 0;\n }\n\n .Prose table tbody tr:hover {\n background-color: var(--brand-color-canvas-subtle);\n }\n}\n\n@media screen and (max-width: 47.99rem) {\n .Prose table:has(td[data-label]) {\n border-collapse: separate;\n border-spacing: 0;\n width: 100%;\n background: none;\n box-shadow: none;\n font-size: var(--brand-text-size-200); /* inherit from Prose */\n }\n\n /* Visually hidden only */\n .Prose table:has(td[data-label]) thead {\n position: absolute;\n left: -9999px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n }\n\n .Prose table:has(td[data-label]) tbody,\n .Prose table:has(td[data-label]) tr {\n display: block;\n width: 100%;\n }\n\n .Prose table:has(td[data-label]) th:not(:first-child):not(:last-child),\n .Prose table:has(td[data-label]) td:not(:first-child):not(:last-child) {\n padding-inline: 0;\n }\n\n .Prose table:has(td[data-label]) tr {\n border-block-start: var(--brand-borderWidth-thicker) solid var(--brand-color-border-muted);\n padding-block-start: var(--base-size-20);\n margin-block-end: var(--spacing);\n }\n\n .Prose td[data-label] {\n display: flex;\n flex-direction: column;\n width: 100%;\n padding: 0;\n margin: 0 0 var(--base-size-16, 16px) 0;\n border: none;\n align-items: flex-start;\n }\n\n .Prose td[data-label]:not(:last-child) {\n border-block-end: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n padding-block-end: var(--base-size-20);\n }\n\n .Prose td[data-label]::before {\n content: attr(data-label);\n color: var(--brand-color-text-muted);\n margin-block-end: var(--base-size-4);\n text-align: left;\n font-weight: var(--brand-text-weight-400);\n }\n\n .Prose table:has(td[data-label]) td:not([data-label]) {\n display: block;\n width: 100%;\n padding: 0;\n margin-block-end: var(--base-size-16);\n border: none;\n }\n\n .Prose table:has(td[data-label]) td:not([data-label]):not(:last-child) {\n border-block-end: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n padding-block-end: var(--base-size-20);\n }\n\n .Prose td[data-label]:last-child {\n margin-block-end: 0;\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Prose/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import type { BaseProps } from '../component-helpers';
|
|
3
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/section/section.css';
|
|
4
|
+
export declare const SectionPaddingVariants: readonly ["none", "condensed", "normal", "spacious"];
|
|
5
|
+
export declare const SectionBackgroundColors: readonly ["default", "subtle"];
|
|
6
|
+
type ResponsiveMap<T> = {
|
|
7
|
+
narrow?: T;
|
|
8
|
+
regular?: T;
|
|
9
|
+
wide?: T;
|
|
10
|
+
};
|
|
11
|
+
type BackgroundColors = (typeof SectionBackgroundColors)[number] | AnyString;
|
|
12
|
+
type PaddingVariants = (typeof SectionPaddingVariants)[number];
|
|
13
|
+
type ResponsiveBackgroundColorMap = ResponsiveMap<BackgroundColors>;
|
|
14
|
+
type ResponsiveBackgroundImagePositionMap = ResponsiveMap<string | string[]>;
|
|
15
|
+
type ResponsiveBackgroundImageSizeMap = ResponsiveMap<string | string[]>;
|
|
16
|
+
type ResponsiveBackgroundImageSrcMap = ResponsiveMap<string | string[]>;
|
|
17
|
+
type ResponsivePaddingVariantsMap = ResponsiveMap<PaddingVariants>;
|
|
18
|
+
type SectionProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The HTML element used to render the section.
|
|
21
|
+
*/
|
|
22
|
+
as?: 'section' | 'div';
|
|
23
|
+
/**
|
|
24
|
+
* The padding applied to the start of the section.
|
|
25
|
+
*/
|
|
26
|
+
paddingBlockStart?: PaddingVariants | ResponsivePaddingVariantsMap;
|
|
27
|
+
/**
|
|
28
|
+
* The padding applied to the end of the section.
|
|
29
|
+
*/
|
|
30
|
+
paddingBlockEnd?: PaddingVariants | ResponsivePaddingVariantsMap;
|
|
31
|
+
/**
|
|
32
|
+
* The system-level or custom background color of the section.
|
|
33
|
+
*/
|
|
34
|
+
backgroundColor?: BackgroundColors | ResponsiveBackgroundColorMap;
|
|
35
|
+
/**
|
|
36
|
+
* The background image of the section.
|
|
37
|
+
*/
|
|
38
|
+
backgroundImageSrc?: string | string[] | ResponsiveBackgroundImageSrcMap;
|
|
39
|
+
/**
|
|
40
|
+
* The position of the background image.
|
|
41
|
+
*/
|
|
42
|
+
backgroundImagePosition?: string | string[] | ResponsiveBackgroundImagePositionMap;
|
|
43
|
+
/**
|
|
44
|
+
* The size of the background image.
|
|
45
|
+
*/
|
|
46
|
+
backgroundImageSize?: string | string[] | ResponsiveBackgroundImageSizeMap;
|
|
47
|
+
/**
|
|
48
|
+
* Makes the content of the section span the full width of its parent container.
|
|
49
|
+
*/
|
|
50
|
+
fullWidth?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Adds rounded corners to the top of the section.
|
|
53
|
+
*/
|
|
54
|
+
rounded?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Forward inline styles
|
|
57
|
+
*/
|
|
58
|
+
style?: React.CSSProperties;
|
|
59
|
+
/**
|
|
60
|
+
* Optional attirbute for testing
|
|
61
|
+
*/
|
|
62
|
+
['data-testid']?: string;
|
|
63
|
+
} & PropsWithChildren<BaseProps<HTMLDivElement>>;
|
|
64
|
+
export declare const Section: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<SectionProps>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=Section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../src/Section/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,iBAAiB,EAAuB,MAAM,OAAO,CAAA;AAEhF,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAEnD,OAAO,iGAAiG,CAAA;AAGxG,eAAO,MAAM,sBAAsB,sDAAuD,CAAA;AAC1F,eAAO,MAAM,uBAAuB,gCAAiC,CAAA;AAIrE,KAAK,aAAa,CAAC,CAAC,IAAI;IACtB,MAAM,CAAC,EAAE,CAAC,CAAA;IACV,OAAO,CAAC,EAAE,CAAC,CAAA;IACX,IAAI,CAAC,EAAE,CAAC,CAAA;CACT,CAAA;AAED,KAAK,gBAAgB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,GAAG,SAAS,CAAA;AAC5E,KAAK,eAAe,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;AAC9D,KAAK,4BAA4B,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAA;AACnE,KAAK,oCAAoC,GAAG,aAAa,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;AAC5E,KAAK,gCAAgC,GAAG,aAAa,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;AACxE,KAAK,+BAA+B,GAAG,aAAa,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;AACvE,KAAK,4BAA4B,GAAG,aAAa,CAAC,eAAe,CAAC,CAAA;AAElE,KAAK,YAAY,GAAG;IAClB;;OAEG;IACH,EAAE,CAAC,EAAE,SAAS,GAAG,KAAK,CAAA;IACtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,eAAe,GAAG,4BAA4B,CAAA;IAClE;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,GAAG,4BAA4B,CAAA;IAChE;;OAEG;IACH,eAAe,CAAC,EAAE,gBAAgB,GAAG,4BAA4B,CAAA;IACjE;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,+BAA+B,CAAA;IACxE;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,oCAAoC,CAAA;IAClF;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,gCAAgC,CAAA;IAC1E;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC3B;;OAEG;IACH,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAA;CACzB,GAAG,iBAAiB,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAA;AAOhD,eAAO,MAAM,OAAO,2HA4GnB,CAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import e from "../node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/section/section-GXjcxN8l.css';/* empty css */
|
|
3
|
+
import t from "./Section.module.js";
|
|
4
|
+
import { forwardRef as n, useCallback as r, useMemo as i } from "react";
|
|
5
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
6
|
+
//#region src/Section/Section.tsx
|
|
7
|
+
var o = [
|
|
8
|
+
"none",
|
|
9
|
+
"condensed",
|
|
10
|
+
"normal",
|
|
11
|
+
"spacious"
|
|
12
|
+
], s = ["default", "subtle"], c = o[2], l = {
|
|
13
|
+
root: "Section",
|
|
14
|
+
container: "Section__container"
|
|
15
|
+
}, u = n(({ as: n = "section", paddingBlockStart: o = c, paddingBlockEnd: u = c, backgroundColor: d, backgroundImageSrc: f, backgroundImagePosition: p = "50%", backgroundImageSize: m = "cover", className: h, children: g, "data-testid": _, fullWidth: v = !1, rounded: y = !1, style: b, ...x }, S) => {
|
|
16
|
+
let C = r((e, n) => typeof e == "string" ? t[`Section--${n}-${e}`] : Object.keys(e).map((r) => t[`Section-${r}--${n}-${e[r]}`]).join(" "), []), w = r((e, t) => t === "background-image-src" ? Array.isArray(e) ? e.map((e) => `url(${e})`).join() : `url(${e})` : t === "background-color" && typeof e == "string" ? s.includes(e) ? `var(--brand-color-canvas-${e})` : e : Array.isArray(e) ? e.join() : e, []), T = r((e, t) => typeof t == "string" || Array.isArray(t) ? { [`--brand-Section-${e}`]: w(t, e) } : {
|
|
17
|
+
[`--brand-Section-narrow-${e}`]: w(t?.narrow, e),
|
|
18
|
+
[`--brand-Section-regular-${e}`]: w(t?.regular, e),
|
|
19
|
+
[`--brand-Section-wide-${e}`]: w(t?.wide, e)
|
|
20
|
+
}, [w]), E = r((e, t, n) => {
|
|
21
|
+
n && Object.assign(e, T(t, n));
|
|
22
|
+
}, [T]), D = i(() => C(o, "paddingBlockStart"), [o, C]), O = i(() => C(u, "paddingBlockEnd"), [u, C]), k = i(() => {
|
|
23
|
+
let e = {};
|
|
24
|
+
return E(e, "background-color", d), E(e, "background-image-src", f), E(e, "background-image-position", p), E(e, "background-image-size", m), e;
|
|
25
|
+
}, [
|
|
26
|
+
E,
|
|
27
|
+
d,
|
|
28
|
+
f,
|
|
29
|
+
p,
|
|
30
|
+
m
|
|
31
|
+
]);
|
|
32
|
+
return /* @__PURE__ */ a(n, {
|
|
33
|
+
ref: S,
|
|
34
|
+
className: e(t.Section, D, O, y && t["Section--rounded"], h),
|
|
35
|
+
"data-testid": _ || l.root,
|
|
36
|
+
style: {
|
|
37
|
+
...k,
|
|
38
|
+
...b
|
|
39
|
+
},
|
|
40
|
+
...x,
|
|
41
|
+
children: /* @__PURE__ */ a("div", {
|
|
42
|
+
className: e(t.Section__container, v && t["Section__container--fullWidth"]),
|
|
43
|
+
"data-testid": l.container,
|
|
44
|
+
children: g
|
|
45
|
+
})
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
export { u as Section, s as SectionBackgroundColors, o as SectionPaddingVariants };
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=Section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.js","names":[],"sources":["../../src/Section/Section.tsx"],"sourcesContent":["import React, {forwardRef, PropsWithChildren, useCallback, useMemo} from 'react'\nimport {clsx} from 'clsx'\nimport type {BaseProps} from '../component-helpers'\n\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/section/section.css'\nimport styles from './Section.module.css'\n\nexport const SectionPaddingVariants = ['none', 'condensed', 'normal', 'spacious'] as const\nexport const SectionBackgroundColors = ['default', 'subtle'] as const\n\nconst defaultSectionPadding = SectionPaddingVariants[2]\n\ntype ResponsiveMap<T> = {\n narrow?: T\n regular?: T\n wide?: T\n}\n\ntype BackgroundColors = (typeof SectionBackgroundColors)[number] | AnyString // The AnyString union type is a workaround to provide autocompletion for the SectionBackgroundColors values\ntype PaddingVariants = (typeof SectionPaddingVariants)[number]\ntype ResponsiveBackgroundColorMap = ResponsiveMap<BackgroundColors>\ntype ResponsiveBackgroundImagePositionMap = ResponsiveMap<string | string[]>\ntype ResponsiveBackgroundImageSizeMap = ResponsiveMap<string | string[]>\ntype ResponsiveBackgroundImageSrcMap = ResponsiveMap<string | string[]>\ntype ResponsivePaddingVariantsMap = ResponsiveMap<PaddingVariants>\n\ntype SectionProps = {\n /**\n * The HTML element used to render the section.\n */\n as?: 'section' | 'div'\n /**\n * The padding applied to the start of the section.\n */\n paddingBlockStart?: PaddingVariants | ResponsivePaddingVariantsMap\n /**\n * The padding applied to the end of the section.\n */\n paddingBlockEnd?: PaddingVariants | ResponsivePaddingVariantsMap\n /**\n * The system-level or custom background color of the section.\n */\n backgroundColor?: BackgroundColors | ResponsiveBackgroundColorMap\n /**\n * The background image of the section.\n */\n backgroundImageSrc?: string | string[] | ResponsiveBackgroundImageSrcMap\n /**\n * The position of the background image.\n */\n backgroundImagePosition?: string | string[] | ResponsiveBackgroundImagePositionMap\n /**\n * The size of the background image.\n */\n backgroundImageSize?: string | string[] | ResponsiveBackgroundImageSizeMap\n /**\n * Makes the content of the section span the full width of its parent container.\n */\n fullWidth?: boolean\n /**\n * Adds rounded corners to the top of the section.\n */\n rounded?: boolean\n /**\n * Forward inline styles\n */\n style?: React.CSSProperties\n /**\n * Optional attirbute for testing\n */\n ['data-testid']?: string\n} & PropsWithChildren<BaseProps<HTMLDivElement>>\n\nconst testIds = {\n root: 'Section',\n container: 'Section__container',\n}\n\nexport const Section = forwardRef<HTMLDivElement, PropsWithChildren<SectionProps>>(\n (\n {\n as: Component = 'section',\n paddingBlockStart = defaultSectionPadding,\n paddingBlockEnd = defaultSectionPadding,\n backgroundColor,\n backgroundImageSrc,\n backgroundImagePosition = '50%',\n backgroundImageSize = 'cover',\n className,\n children,\n 'data-testid': testId,\n fullWidth = false,\n rounded = false,\n style,\n ...props\n },\n ref,\n ) => {\n const createPaddingClasses = useCallback(\n (paddingBlock, blockType) =>\n typeof paddingBlock === 'string'\n ? styles[`Section--${blockType}-${paddingBlock}`]\n : Object.keys(paddingBlock)\n .map(viewport => styles[`Section-${viewport}--${blockType}-${paddingBlock[viewport]}`])\n .join(' '),\n [],\n )\n\n const processBackgroundValue = useCallback((value: string | string[], property) => {\n if (property === 'background-image-src') {\n return Array.isArray(value) ? value.map(img => `url(${img})`).join() : `url(${value})`\n }\n\n if (property === 'background-color' && typeof value === 'string') {\n return SectionBackgroundColors.includes(value as (typeof SectionBackgroundColors)[number])\n ? `var(--brand-color-canvas-${value})`\n : value\n }\n\n return Array.isArray(value) ? value.join() : value\n }, [])\n\n const createStyles = useCallback(\n (property, value) =>\n typeof value === 'string' || Array.isArray(value)\n ? {[`--brand-Section-${property}`]: processBackgroundValue(value, property)}\n : {\n [`--brand-Section-narrow-${property}`]: processBackgroundValue(value?.narrow, property),\n [`--brand-Section-regular-${property}`]: processBackgroundValue(value?.regular, property),\n [`--brand-Section-wide-${property}`]: processBackgroundValue(value?.wide, property),\n },\n [processBackgroundValue],\n )\n\n const addStyle = useCallback(\n (obj, property, value) => {\n if (value) {\n Object.assign(obj, createStyles(property, value))\n }\n },\n [createStyles],\n )\n\n const paddingBlockStartClass = useMemo(\n () => createPaddingClasses(paddingBlockStart, 'paddingBlockStart'),\n [paddingBlockStart, createPaddingClasses],\n )\n const paddingBlockEndClass = useMemo(\n () => createPaddingClasses(paddingBlockEnd, 'paddingBlockEnd'),\n [paddingBlockEnd, createPaddingClasses],\n )\n\n const backgroundStyles = useMemo(() => {\n const allStyles = {}\n\n addStyle(allStyles, 'background-color', backgroundColor)\n addStyle(allStyles, 'background-image-src', backgroundImageSrc)\n addStyle(allStyles, 'background-image-position', backgroundImagePosition)\n addStyle(allStyles, 'background-image-size', backgroundImageSize)\n\n return allStyles\n }, [addStyle, backgroundColor, backgroundImageSrc, backgroundImagePosition, backgroundImageSize])\n\n return (\n <Component\n ref={ref}\n className={clsx(\n styles.Section,\n paddingBlockStartClass,\n paddingBlockEndClass,\n rounded && styles['Section--rounded'],\n className,\n )}\n data-testid={testId || testIds.root}\n style={{...backgroundStyles, ...style}}\n {...props}\n >\n <div\n className={clsx(styles[`Section__container`], fullWidth && styles['Section__container--fullWidth'])}\n data-testid={testIds.container}\n >\n {children}\n </div>\n </Component>\n )\n },\n)\n"],"mappings":";;;;;;AAOA,IAAa,IAAyB;CAAC;CAAQ;CAAa;CAAU;CAAW,EACpE,IAA0B,CAAC,WAAW,SAAS,EAEtD,IAAwB,EAAuB,IA+D/C,IAAU;CACd,MAAM;CACN,WAAW;CACZ,EAEY,IAAU,GAEnB,EACE,IAAI,IAAY,WAChB,uBAAoB,GACpB,qBAAkB,GAClB,oBACA,uBACA,6BAA0B,OAC1B,yBAAsB,SACtB,cACA,aACA,eAAe,GACf,eAAY,IACZ,aAAU,IACV,UACA,GAAG,KAEL,MACG;CACH,IAAM,IAAuB,GAC1B,GAAc,MACb,OAAO,KAAiB,WACpB,EAAO,YAAY,EAAU,GAAG,OAChC,OAAO,KAAK,EAAa,CACtB,KAAI,MAAY,EAAO,WAAW,EAAS,IAAI,EAAU,GAAG,EAAa,MAAa,CACtF,KAAK,IAAI,EAClB,EAAE,CACH,EAEK,IAAyB,GAAa,GAA0B,MAChE,MAAa,yBACR,MAAM,QAAQ,EAAM,GAAG,EAAM,KAAI,MAAO,OAAO,EAAI,GAAG,CAAC,MAAM,GAAG,OAAO,EAAM,KAGlF,MAAa,sBAAsB,OAAO,KAAU,WAC/C,EAAwB,SAAS,EAAkD,GACtF,4BAA4B,EAAM,KAClC,IAGC,MAAM,QAAQ,EAAM,GAAG,EAAM,MAAM,GAAG,GAC5C,EAAE,CAAC,EAEA,IAAe,GAClB,GAAU,MACT,OAAO,KAAU,YAAY,MAAM,QAAQ,EAAM,GAC7C,GAAE,mBAAmB,MAAa,EAAuB,GAAO,EAAS,EAAC,GAC1E;GACG,0BAA0B,MAAa,EAAuB,GAAO,QAAQ,EAAS;GACtF,2BAA2B,MAAa,EAAuB,GAAO,SAAS,EAAS;GACxF,wBAAwB,MAAa,EAAuB,GAAO,MAAM,EAAS;EACpF,EACP,CAAC,EAAuB,CACzB,EAEK,IAAW,GACd,GAAK,GAAU,MAAU;AACxB,EAAI,KACF,OAAO,OAAO,GAAK,EAAa,GAAU,EAAM,CAAC;IAGrD,CAAC,EAAa,CACf,EAEK,IAAyB,QACvB,EAAqB,GAAmB,oBAAoB,EAClE,CAAC,GAAmB,EAAqB,CAC1C,EACK,IAAuB,QACrB,EAAqB,GAAiB,kBAAkB,EAC9D,CAAC,GAAiB,EAAqB,CACxC,EAEK,IAAmB,QAAc;EACrC,IAAM,IAAY,EAAE;AAOpB,SALA,EAAS,GAAW,oBAAoB,EAAgB,EACxD,EAAS,GAAW,wBAAwB,EAAmB,EAC/D,EAAS,GAAW,6BAA6B,EAAwB,EACzE,EAAS,GAAW,yBAAyB,EAAoB,EAE1D;IACN;EAAC;EAAU;EAAiB;EAAoB;EAAyB;EAAoB,CAAC;AAEjG,QACE,kBAAC,GAAD;EACO;EACL,WAAW,EACT,EAAO,SACP,GACA,GACA,KAAW,EAAO,qBAClB,EACD;EACD,eAAa,KAAU,EAAQ;EAC/B,OAAO;GAAC,GAAG;GAAkB,GAAG;GAAM;EACtC,GAAI;YAEJ,kBAAC,OAAD;GACE,WAAW,EAAK,EAAO,oBAAuB,KAAa,EAAO,iCAAiC;GACnG,eAAa,EAAQ;GAEpB;GACG,CAAA;EACI,CAAA;EAGjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Primer_Brand__Section-module__Section___O2zvq{--rounded-padding-overlap-adjustment:0px;--rounded-radius:var(--brand-borderRadius-xlarge);--padding-block-end:var(--brand-Section-padding-normal);--adjusted-padding-block-end:calc(var(--padding-block-end) + var(--rounded-padding-overlap-adjustment));background-repeat:no-repeat;background-color:var(--brand-Section-narrow-background-color,var(--brand-Section-background-color));background-image:var(--brand-Section-narrow-background-image-src,var(--brand-Section-background-image-src));background-size:var(--brand-Section-narrow-background-image-size,var(--brand-Section-background-image-size));background-position:50%;background-position:var(--brand-Section-narrow-background-image-position,var(--brand-Section-background-image-position,center));padding-block-start:var(--padding-block-start);padding-block-end:var(--adjusted-padding-block-end)}.Primer_Brand__Section-module__Section__container___xy9DV{width:100%;max-width:var(--brand-Section-container-maxWidth);margin-inline:auto}.Primer_Brand__Section-module__Section__container--fullWidth___5sU9n{max-width:none}.Primer_Brand__Section-module__Section--rounded___9qxrG{border-radius:var(--rounded-radius) var(--rounded-radius) 0 0;margin-top:calc(-1 * var(--rounded-radius))}.Primer_Brand__Section-module__Section___O2zvq:has(+.Primer_Brand__Section-module__Section--rounded___9qxrG){--rounded-padding-overlap-adjustment:var(--rounded-radius)}.Primer_Brand__Section-module__Section--paddingBlockStart-none___4vMFc,.Primer_Brand__Section-module__Section-narrow--paddingBlockStart-none___7jsdQ{padding-block-start:0}.Primer_Brand__Section-module__Section--paddingBlockStart-condensed___B4uoH,.Primer_Brand__Section-module__Section-narrow--paddingBlockStart-condensed___xbTDA{padding-block-start:var(--brand-Section-padding-condensed)}.Primer_Brand__Section-module__Section--paddingBlockStart-normal___MRda_,.Primer_Brand__Section-module__Section-narrow--paddingBlockStart-normal___f0OXP{padding-block-start:var(--brand-Section-padding-normal)}.Primer_Brand__Section-module__Section--paddingBlockStart-spacious___UzvtN,.Primer_Brand__Section-module__Section-narrow--paddingBlockStart-spacious___402r9{padding-block-start:var(--brand-Section-padding-spacious)}.Primer_Brand__Section-module__Section--paddingBlockEnd-none___bRHMx,.Primer_Brand__Section-module__Section-narrow--paddingBlockEnd-none___r7NV_{--padding-block-end:0px}.Primer_Brand__Section-module__Section--paddingBlockEnd-condensed___Y1rxz,.Primer_Brand__Section-module__Section-narrow--paddingBlockEnd-condensed___0v98Y{--padding-block-end:var(--brand-Section-padding-condensed)}.Primer_Brand__Section-module__Section--paddingBlockEnd-normal___p2GiM,.Primer_Brand__Section-module__Section-narrow--paddingBlockEnd-normal___Cfp0Y{--padding-block-end:var(--brand-Section-padding-normal)}.Primer_Brand__Section-module__Section--paddingBlockEnd-spacious___TybX8,.Primer_Brand__Section-module__Section-narrow--paddingBlockEnd-spacious___ysjWh{--padding-block-end:var(--brand-Section-padding-spacious)}@media screen and (width>=48rem){.Primer_Brand__Section-module__Section___O2zvq{background-color:var(--brand-Section-regular-background-color,var(--brand-Section-background-color));background-image:var(--brand-Section-regular-background-image-src,var(--brand-Section-background-image-src));background-size:var(--brand-Section-regular-background-image-size,var(--brand-Section-background-image-size));background-position:var(--brand-Section-regular-background-image-position,var(--brand-Section-background-image-position))}.Primer_Brand__Section-module__Section-regular--paddingBlockStart-none___Nj9j3{padding-block-start:0}.Primer_Brand__Section-module__Section-regular--paddingBlockStart-condensed___qaXW1{padding-block-start:var(--brand-Section-padding-condensed)}.Primer_Brand__Section-module__Section-regular--paddingBlockStart-normal___vB8Ri{padding-block-start:var(--brand-Section-padding-normal)}.Primer_Brand__Section-module__Section-regular--paddingBlockStart-spacious___ldEla{padding-block-start:var(--brand-Section-padding-spacious)}.Primer_Brand__Section-module__Section-regular--paddingBlockEnd-none___fz5rB{--padding-block-end:0px}.Primer_Brand__Section-module__Section-regular--paddingBlockEnd-condensed___D1eGT{--padding-block-end:var(--brand-Section-padding-condensed)}.Primer_Brand__Section-module__Section-regular--paddingBlockEnd-normal___6tfPx{--padding-block-end:var(--brand-Section-padding-normal)}.Primer_Brand__Section-module__Section-regular--paddingBlockEnd-spacious___ffrwb{--padding-block-end:var(--brand-Section-padding-spacious)}}@media screen and (width>=80rem){.Primer_Brand__Section-module__Section___O2zvq{background-color:var(--brand-Section-wide-background-color,var(--brand-Section-background-color));background-image:var(--brand-Section-wide-background-image-src,var(--brand-Section-background-image-src));background-size:var(--brand-Section-wide-background-image-size,var(--brand-Section-background-image-size));background-position:var(--brand-Section-wide-background-image-position,var(--brand-Section-background-image-position))}.Primer_Brand__Section-module__Section-wide--paddingBlockStart-none___cYTu3{padding-block-start:0}.Primer_Brand__Section-module__Section-wide--paddingBlockStart-condensed___Y3WFj{padding-block-start:var(--brand-Section-padding-condensed)}.Primer_Brand__Section-module__Section-wide--paddingBlockStart-normal___0lhjy{padding-block-start:var(--brand-Section-padding-normal)}.Primer_Brand__Section-module__Section-wide--paddingBlockStart-spacious___kEVXd{padding-block-start:var(--brand-Section-padding-spacious)}.Primer_Brand__Section-module__Section-wide--paddingBlockEnd-none___3NyQ9{--padding-block-end:0px}.Primer_Brand__Section-module__Section-wide--paddingBlockEnd-condensed___bF0Sz{--padding-block-end:var(--brand-Section-padding-condensed)}.Primer_Brand__Section-module__Section-wide--paddingBlockEnd-normal___kisJx{--padding-block-end:var(--brand-Section-padding-normal)}.Primer_Brand__Section-module__Section-wide--paddingBlockEnd-spacious___xovw1{--padding-block-end:var(--brand-Section-padding-spacious)}}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import './Section.module-B8zA8qj8.css';var e = {
|
|
2
|
+
Section: "Primer_Brand__Section-module__Section___O2zvq",
|
|
3
|
+
Section__container: "Primer_Brand__Section-module__Section__container___xy9DV",
|
|
4
|
+
"Section__container--fullWidth": "Primer_Brand__Section-module__Section__container--fullWidth___5sU9n",
|
|
5
|
+
"Section--rounded": "Primer_Brand__Section-module__Section--rounded___9qxrG",
|
|
6
|
+
"Section--paddingBlockStart-none": "Primer_Brand__Section-module__Section--paddingBlockStart-none___4vMFc",
|
|
7
|
+
"Section-narrow--paddingBlockStart-none": "Primer_Brand__Section-module__Section-narrow--paddingBlockStart-none___7jsdQ",
|
|
8
|
+
"Section--paddingBlockStart-condensed": "Primer_Brand__Section-module__Section--paddingBlockStart-condensed___B4uoH",
|
|
9
|
+
"Section-narrow--paddingBlockStart-condensed": "Primer_Brand__Section-module__Section-narrow--paddingBlockStart-condensed___xbTDA",
|
|
10
|
+
"Section--paddingBlockStart-normal": "Primer_Brand__Section-module__Section--paddingBlockStart-normal___MRda_",
|
|
11
|
+
"Section-narrow--paddingBlockStart-normal": "Primer_Brand__Section-module__Section-narrow--paddingBlockStart-normal___f0OXP",
|
|
12
|
+
"Section--paddingBlockStart-spacious": "Primer_Brand__Section-module__Section--paddingBlockStart-spacious___UzvtN",
|
|
13
|
+
"Section-narrow--paddingBlockStart-spacious": "Primer_Brand__Section-module__Section-narrow--paddingBlockStart-spacious___402r9",
|
|
14
|
+
"Section--paddingBlockEnd-none": "Primer_Brand__Section-module__Section--paddingBlockEnd-none___bRHMx",
|
|
15
|
+
"Section-narrow--paddingBlockEnd-none": "Primer_Brand__Section-module__Section-narrow--paddingBlockEnd-none___r7NV_",
|
|
16
|
+
"Section--paddingBlockEnd-condensed": "Primer_Brand__Section-module__Section--paddingBlockEnd-condensed___Y1rxz",
|
|
17
|
+
"Section-narrow--paddingBlockEnd-condensed": "Primer_Brand__Section-module__Section-narrow--paddingBlockEnd-condensed___0v98Y",
|
|
18
|
+
"Section--paddingBlockEnd-normal": "Primer_Brand__Section-module__Section--paddingBlockEnd-normal___p2GiM",
|
|
19
|
+
"Section-narrow--paddingBlockEnd-normal": "Primer_Brand__Section-module__Section-narrow--paddingBlockEnd-normal___Cfp0Y",
|
|
20
|
+
"Section--paddingBlockEnd-spacious": "Primer_Brand__Section-module__Section--paddingBlockEnd-spacious___TybX8",
|
|
21
|
+
"Section-narrow--paddingBlockEnd-spacious": "Primer_Brand__Section-module__Section-narrow--paddingBlockEnd-spacious___ysjWh",
|
|
22
|
+
"Section-regular--paddingBlockStart-none": "Primer_Brand__Section-module__Section-regular--paddingBlockStart-none___Nj9j3",
|
|
23
|
+
"Section-regular--paddingBlockStart-condensed": "Primer_Brand__Section-module__Section-regular--paddingBlockStart-condensed___qaXW1",
|
|
24
|
+
"Section-regular--paddingBlockStart-normal": "Primer_Brand__Section-module__Section-regular--paddingBlockStart-normal___vB8Ri",
|
|
25
|
+
"Section-regular--paddingBlockStart-spacious": "Primer_Brand__Section-module__Section-regular--paddingBlockStart-spacious___ldEla",
|
|
26
|
+
"Section-regular--paddingBlockEnd-none": "Primer_Brand__Section-module__Section-regular--paddingBlockEnd-none___fz5rB",
|
|
27
|
+
"Section-regular--paddingBlockEnd-condensed": "Primer_Brand__Section-module__Section-regular--paddingBlockEnd-condensed___D1eGT",
|
|
28
|
+
"Section-regular--paddingBlockEnd-normal": "Primer_Brand__Section-module__Section-regular--paddingBlockEnd-normal___6tfPx",
|
|
29
|
+
"Section-regular--paddingBlockEnd-spacious": "Primer_Brand__Section-module__Section-regular--paddingBlockEnd-spacious___ffrwb",
|
|
30
|
+
"Section-wide--paddingBlockStart-none": "Primer_Brand__Section-module__Section-wide--paddingBlockStart-none___cYTu3",
|
|
31
|
+
"Section-wide--paddingBlockStart-condensed": "Primer_Brand__Section-module__Section-wide--paddingBlockStart-condensed___Y3WFj",
|
|
32
|
+
"Section-wide--paddingBlockStart-normal": "Primer_Brand__Section-module__Section-wide--paddingBlockStart-normal___0lhjy",
|
|
33
|
+
"Section-wide--paddingBlockStart-spacious": "Primer_Brand__Section-module__Section-wide--paddingBlockStart-spacious___kEVXd",
|
|
34
|
+
"Section-wide--paddingBlockEnd-none": "Primer_Brand__Section-module__Section-wide--paddingBlockEnd-none___3NyQ9",
|
|
35
|
+
"Section-wide--paddingBlockEnd-condensed": "Primer_Brand__Section-module__Section-wide--paddingBlockEnd-condensed___bF0Sz",
|
|
36
|
+
"Section-wide--paddingBlockEnd-normal": "Primer_Brand__Section-module__Section-wide--paddingBlockEnd-normal___kisJx",
|
|
37
|
+
"Section-wide--paddingBlockEnd-spacious": "Primer_Brand__Section-module__Section-wide--paddingBlockEnd-spacious___xovw1"
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
export { e as default };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=Section.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.module.js","names":[],"sources":["../../src/Section/Section.module.css"],"sourcesContent":[".Section {\n --rounded-padding-overlap-adjustment: 0px;\n --rounded-radius: var(--brand-borderRadius-xlarge);\n --padding-block-end: var(--brand-Section-padding-normal);\n --adjusted-padding-block-end: calc(var(--padding-block-end) + var(--rounded-padding-overlap-adjustment));\n\n background-repeat: no-repeat;\n background-color: var(--brand-Section-narrow-background-color, var(--brand-Section-background-color));\n background-image: var(--brand-Section-narrow-background-image-src, var(--brand-Section-background-image-src));\n background-size: var(--brand-Section-narrow-background-image-size, var(--brand-Section-background-image-size));\n\n background-position: var(\n --brand-Section-narrow-background-image-position,\n var(--brand-Section-background-image-position, center)\n );\n\n padding-block-start: var(--padding-block-start);\n padding-block-end: var(--adjusted-padding-block-end);\n}\n\n.Section__container {\n width: 100%;\n max-width: var(--brand-Section-container-maxWidth);\n margin-inline: auto;\n}\n\n.Section__container--fullWidth {\n max-width: none;\n}\n\n.Section--rounded {\n border-radius: var(--rounded-radius) var(--rounded-radius) 0 0;\n margin-top: calc(-1 * var(--rounded-radius));\n}\n\n/* A progressive enhancment to adjust block-end padding to account for adjacent section rounded corners overlap. */\n.Section:has(+ .Section--rounded) {\n --rounded-padding-overlap-adjustment: var(--rounded-radius);\n}\n\n.Section--paddingBlockStart-none,\n.Section-narrow--paddingBlockStart-none {\n padding-block-start: 0;\n}\n\n.Section--paddingBlockStart-condensed,\n.Section-narrow--paddingBlockStart-condensed {\n padding-block-start: var(--brand-Section-padding-condensed);\n}\n.Section--paddingBlockStart-normal,\n.Section-narrow--paddingBlockStart-normal {\n padding-block-start: var(--brand-Section-padding-normal);\n}\n.Section--paddingBlockStart-spacious,\n.Section-narrow--paddingBlockStart-spacious {\n padding-block-start: var(--brand-Section-padding-spacious);\n}\n\n.Section--paddingBlockEnd-none,\n.Section-narrow--paddingBlockEnd-none {\n --padding-block-end: 0px;\n}\n\n.Section--paddingBlockEnd-condensed,\n.Section-narrow--paddingBlockEnd-condensed {\n --padding-block-end: var(--brand-Section-padding-condensed);\n}\n.Section--paddingBlockEnd-normal,\n.Section-narrow--paddingBlockEnd-normal {\n --padding-block-end: var(--brand-Section-padding-normal);\n}\n.Section--paddingBlockEnd-spacious,\n.Section-narrow--paddingBlockEnd-spacious {\n --padding-block-end: var(--brand-Section-padding-spacious);\n}\n\n@media screen and (min-width: 48rem) {\n .Section {\n background-color: var(--brand-Section-regular-background-color, var(--brand-Section-background-color));\n background-image: var(--brand-Section-regular-background-image-src, var(--brand-Section-background-image-src));\n background-size: var(--brand-Section-regular-background-image-size, var(--brand-Section-background-image-size));\n background-position: var(\n --brand-Section-regular-background-image-position,\n var(--brand-Section-background-image-position)\n );\n }\n\n .Section-regular--paddingBlockStart-none {\n padding-block-start: 0;\n }\n\n .Section-regular--paddingBlockStart-condensed {\n padding-block-start: var(--brand-Section-padding-condensed);\n }\n .Section-regular--paddingBlockStart-normal {\n padding-block-start: var(--brand-Section-padding-normal);\n }\n .Section-regular--paddingBlockStart-spacious {\n padding-block-start: var(--brand-Section-padding-spacious);\n }\n\n .Section-regular--paddingBlockEnd-none {\n --padding-block-end: 0px;\n }\n\n .Section-regular--paddingBlockEnd-condensed {\n --padding-block-end: var(--brand-Section-padding-condensed);\n }\n .Section-regular--paddingBlockEnd-normal {\n --padding-block-end: var(--brand-Section-padding-normal);\n }\n .Section-regular--paddingBlockEnd-spacious {\n --padding-block-end: var(--brand-Section-padding-spacious);\n }\n}\n\n@media screen and (min-width: 80rem) {\n .Section {\n background-color: var(--brand-Section-wide-background-color, var(--brand-Section-background-color));\n background-image: var(--brand-Section-wide-background-image-src, var(--brand-Section-background-image-src));\n background-size: var(--brand-Section-wide-background-image-size, var(--brand-Section-background-image-size));\n\n background-position: var(\n --brand-Section-wide-background-image-position,\n var(--brand-Section-background-image-position)\n );\n }\n\n .Section-wide--paddingBlockStart-none {\n padding-block-start: 0;\n }\n\n .Section-wide--paddingBlockStart-condensed {\n padding-block-start: var(--brand-Section-padding-condensed);\n }\n .Section-wide--paddingBlockStart-normal {\n padding-block-start: var(--brand-Section-padding-normal);\n }\n .Section-wide--paddingBlockStart-spacious {\n padding-block-start: var(--brand-Section-padding-spacious);\n }\n\n .Section-wide--paddingBlockEnd-none {\n --padding-block-end: 0px;\n }\n\n .Section-wide--paddingBlockEnd-condensed {\n --padding-block-end: var(--brand-Section-padding-condensed);\n }\n .Section-wide--paddingBlockEnd-normal {\n --padding-block-end: var(--brand-Section-padding-normal);\n }\n .Section-wide--paddingBlockEnd-spacious {\n --padding-block-end: var(--brand-Section-padding-spacious);\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Section/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LinkProps } from '../Link';
|
|
3
|
+
import { HeadingProps } from '../Heading';
|
|
4
|
+
import { TextProps } from '../Text';
|
|
5
|
+
import type { BaseProps } from '../component-helpers';
|
|
6
|
+
export type SectionIntroProps = {
|
|
7
|
+
align?: 'start' | 'center';
|
|
8
|
+
fullWidth?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Escape-hatch for inserting custom React components.
|
|
11
|
+
* Warning:
|
|
12
|
+
* This prop isn't advertised in our docs but remains part of the public API for edge-cases.
|
|
13
|
+
* Need to use this prop? Please check in with #primer-brand first to confirm correct usage.
|
|
14
|
+
*/
|
|
15
|
+
leadingComponent?: React.FunctionComponent;
|
|
16
|
+
} & React.HTMLAttributes<HTMLHeadingElement> & BaseProps<HTMLHeadingElement>;
|
|
17
|
+
type SectionIntroHeadingProps = BaseProps<HTMLHeadingElement> & HeadingProps;
|
|
18
|
+
type SectionIntroDescriptionProps = BaseProps<HTMLParagraphElement> & {
|
|
19
|
+
children: React.ReactNode | React.ReactNode[];
|
|
20
|
+
};
|
|
21
|
+
export type SectionIntroLabelProps = Omit<TextProps, 'as' | 'ref' | 'animate'> & Omit<BaseProps<HTMLSpanElement>, 'animate'> & {
|
|
22
|
+
animate?: boolean;
|
|
23
|
+
animationDelay?: number;
|
|
24
|
+
};
|
|
25
|
+
type SectionIntroLinkProps = Omit<LinkProps, 'size'> & BaseProps<HTMLAnchorElement>;
|
|
26
|
+
export declare const SectionIntro: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<SectionIntroProps>, "ref"> & React.RefAttributes<HTMLHeadingElement>> & {
|
|
27
|
+
Heading: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<SectionIntroHeadingProps>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
28
|
+
Description: React.ForwardRefExoticComponent<Omit<SectionIntroDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
29
|
+
Link: React.ForwardRefExoticComponent<Omit<SectionIntroLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
30
|
+
Label: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<SectionIntroLabelProps>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
31
|
+
};
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=SectionIntro.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionIntro.d.ts","sourceRoot":"","sources":["../../src/SectionIntro/SectionIntro.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsE,MAAM,OAAO,CAAA;AAE1F,OAAO,EAAO,SAAS,EAAC,MAAM,SAAS,CAAA;AACvC,OAAO,EAAU,YAAY,EAAoB,MAAM,YAAY,CAAA;AACnE,OAAO,EAAO,SAAS,EAAC,MAAM,SAAS,CAAA;AAMvC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAEnD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAA;CAC3C,GAAG,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,GAC1C,SAAS,CAAC,kBAAkB,CAAC,CAAA;AAsC/B,KAAK,wBAAwB,GAAG,SAAS,CAAC,kBAAkB,CAAC,GAAG,YAAY,CAAA;AA4C5E,KAAK,4BAA4B,GAAG,SAAS,CAAC,oBAAoB,CAAC,GAAG;IACpE,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;CAC9C,CAAA;AAYD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,KAAK,GAAG,SAAS,CAAC,GAC5E,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,EAAE,SAAS,CAAC,GAAG;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAwBH,KAAK,qBAAqB,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC,iBAAiB,CAAC,CAAA;AAkBnF,eAAO,MAAM,YAAY;;;;;CAKvB,CAAA"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import e from "../node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { useAnimation as t } from "../animation/useAnimation.js";
|
|
3
|
+
import { Text as n } from "../Text/Text.js";
|
|
4
|
+
import { TextCursorAnimation as r } from "../TextCursorAnimation/TextCursorAnimation.js";
|
|
5
|
+
import { Heading as i, defaultHeadingTag as a } from "../Heading/Heading.js";
|
|
6
|
+
import { Link as o } from "../Link/Link.js";
|
|
7
|
+
import s from "./SectionIntro.module.js";
|
|
8
|
+
import c, { forwardRef as l, useCallback as u, useMemo as d } from "react";
|
|
9
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
10
|
+
//#region src/SectionIntro/SectionIntro.tsx
|
|
11
|
+
var m = l(({ align: n = "start", animate: r, className: i, children: a, fullWidth: o = !1, leadingComponent: c, style: l, ...u }, d) => {
|
|
12
|
+
let { classes: m, styles: h } = t(r);
|
|
13
|
+
return /* @__PURE__ */ p("header", {
|
|
14
|
+
ref: d,
|
|
15
|
+
className: e(s.SectionIntro, s[`SectionIntro--align-${n}`], o && s["SectionIntro--full-width"], m, i),
|
|
16
|
+
...u,
|
|
17
|
+
style: {
|
|
18
|
+
...h,
|
|
19
|
+
...l
|
|
20
|
+
},
|
|
21
|
+
children: [c && /* @__PURE__ */ f(c, {}), a]
|
|
22
|
+
});
|
|
23
|
+
}), h = "4", g = l(({ as: t = a, size: n = h, className: r, children: o, ...l }, p) => {
|
|
24
|
+
let m = d(() => c.Children.toArray(o), [o]), g = u(() => m.some((e) => c.isValidElement(e) && (e.type === "b" || e.type === "em")) ? "muted" : "default", [m]), _ = m.length === 1 ? "default" : g();
|
|
25
|
+
return /* @__PURE__ */ f(i, {
|
|
26
|
+
ref: p,
|
|
27
|
+
className: e(s["SectionIntro-heading"], _ === "muted" && s["SectionIntro-heading--muted"], r),
|
|
28
|
+
size: n,
|
|
29
|
+
as: t,
|
|
30
|
+
...l,
|
|
31
|
+
children: o
|
|
32
|
+
});
|
|
33
|
+
}), _ = l(({ className: t, children: r, ...i }, a) => /* @__PURE__ */ f(n, {
|
|
34
|
+
as: "p",
|
|
35
|
+
className: e(s["SectionIntro-description"], t),
|
|
36
|
+
ref: a,
|
|
37
|
+
variant: "muted",
|
|
38
|
+
...i,
|
|
39
|
+
children: r
|
|
40
|
+
})), v = l(({ children: t, className: n, variant: i = "muted", animate: a = !1, animationDelay: o = 1e3, ...c }, l) => /* @__PURE__ */ f("span", {
|
|
41
|
+
ref: l,
|
|
42
|
+
className: e(s["SectionIntro-label"], n),
|
|
43
|
+
...c,
|
|
44
|
+
children: /* @__PURE__ */ f(r, {
|
|
45
|
+
variant: i,
|
|
46
|
+
animate: a,
|
|
47
|
+
delay: o,
|
|
48
|
+
children: t
|
|
49
|
+
})
|
|
50
|
+
})), y = l(({ className: t, children: n, variant: r = "accent", ...i }, a) => /* @__PURE__ */ f(o, {
|
|
51
|
+
ref: a,
|
|
52
|
+
className: e(s["SectionIntro-link"], t),
|
|
53
|
+
size: "medium",
|
|
54
|
+
variant: r,
|
|
55
|
+
...i,
|
|
56
|
+
children: n
|
|
57
|
+
})), b = Object.assign(m, {
|
|
58
|
+
Heading: g,
|
|
59
|
+
Description: _,
|
|
60
|
+
Link: y,
|
|
61
|
+
Label: v
|
|
62
|
+
});
|
|
63
|
+
//#endregion
|
|
64
|
+
export { b as SectionIntro };
|
|
65
|
+
|
|
66
|
+
//# sourceMappingURL=SectionIntro.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionIntro.js","names":[],"sources":["../../src/SectionIntro/SectionIntro.tsx"],"sourcesContent":["import React, {forwardRef, PropsWithChildren, useMemo, type Ref, useCallback} from 'react'\nimport {clsx} from 'clsx'\nimport {Link, LinkProps} from '../Link'\nimport {Heading, HeadingProps, defaultHeadingTag} from '../Heading'\nimport {Text, TextProps} from '../Text'\nimport {TextCursorAnimation} from '../TextCursorAnimation'\nimport {useAnimation} from '../animation'\n\nimport styles from './SectionIntro.module.css'\n\nimport type {BaseProps} from '../component-helpers'\n\nexport type SectionIntroProps = {\n align?: 'start' | 'center'\n fullWidth?: boolean\n /**\n * Escape-hatch for inserting custom React components.\n * Warning:\n * This prop isn't advertised in our docs but remains part of the public API for edge-cases.\n * Need to use this prop? Please check in with #primer-brand first to confirm correct usage.\n */\n leadingComponent?: React.FunctionComponent\n} & React.HTMLAttributes<HTMLHeadingElement> &\n BaseProps<HTMLHeadingElement>\n\nconst Root = forwardRef<HTMLHeadingElement, PropsWithChildren<SectionIntroProps>>(\n (\n {\n align = 'start',\n animate,\n className,\n children,\n fullWidth = false,\n leadingComponent: LeadingComponent,\n style,\n ...props\n },\n ref,\n ) => {\n const {classes: animationClasses, styles: animationInlineStyles} = useAnimation(animate)\n\n return (\n <header\n ref={ref}\n className={clsx(\n styles.SectionIntro,\n styles[`SectionIntro--align-${align}`],\n fullWidth && styles['SectionIntro--full-width'],\n animationClasses,\n className,\n )}\n {...props}\n style={{...animationInlineStyles, ...style}}\n >\n {LeadingComponent && <LeadingComponent />}\n {children}\n </header>\n )\n },\n)\n\ntype SectionIntroHeadingProps = BaseProps<HTMLHeadingElement> & HeadingProps\n\nconst defaultHeadingSize = '4'\n\nconst _Heading = forwardRef(\n (\n {\n as = defaultHeadingTag,\n size = defaultHeadingSize,\n className,\n children,\n ...props\n }: PropsWithChildren<SectionIntroHeadingProps>,\n ref: Ref<HTMLHeadingElement>,\n ) => {\n const childrenArray = useMemo(() => React.Children.toArray(children), [children])\n\n const getConditionalVariant = useCallback(() => {\n if (childrenArray.some(child => React.isValidElement(child) && (child.type === 'b' || child.type === 'em'))) {\n return 'muted'\n }\n return 'default'\n }, [childrenArray])\n\n const defaultColor = childrenArray.length === 1 ? 'default' : getConditionalVariant()\n\n return (\n <Heading\n ref={ref}\n className={clsx(\n styles[`SectionIntro-heading`],\n defaultColor === 'muted' && styles[`SectionIntro-heading--muted`],\n className,\n )}\n size={size}\n as={as}\n {...props}\n >\n {children}\n </Heading>\n )\n },\n)\n\ntype SectionIntroDescriptionProps = BaseProps<HTMLParagraphElement> & {\n children: React.ReactNode | React.ReactNode[]\n}\n\nconst _Description = forwardRef(\n ({className, children, ...props}: SectionIntroDescriptionProps, ref: Ref<HTMLParagraphElement>) => {\n return (\n <Text as=\"p\" className={clsx(styles['SectionIntro-description'], className)} ref={ref} variant=\"muted\" {...props}>\n {children}\n </Text>\n )\n },\n)\n\nexport type SectionIntroLabelProps = Omit<TextProps, 'as' | 'ref' | 'animate'> &\n Omit<BaseProps<HTMLSpanElement>, 'animate'> & {\n animate?: boolean\n animationDelay?: number\n }\n\nconst _Label = forwardRef<HTMLSpanElement, PropsWithChildren<SectionIntroLabelProps>>(\n (\n {\n children,\n className,\n variant = 'muted',\n animate = false,\n animationDelay = 1000,\n ...rest\n }: PropsWithChildren<SectionIntroLabelProps>,\n ref,\n ) => {\n return (\n <span ref={ref} className={clsx(styles['SectionIntro-label'], className)} {...rest}>\n <TextCursorAnimation variant={variant} animate={animate} delay={animationDelay}>\n {children}\n </TextCursorAnimation>\n </span>\n )\n },\n)\n\ntype SectionIntroLinkProps = Omit<LinkProps, 'size'> & BaseProps<HTMLAnchorElement>\n\nconst _Link = forwardRef(\n ({className, children, variant = 'accent', ...props}: SectionIntroLinkProps, ref: Ref<HTMLAnchorElement>) => {\n return (\n <Link\n ref={ref}\n className={clsx(styles['SectionIntro-link'], className)}\n size=\"medium\"\n variant={variant}\n {...props}\n >\n {children}\n </Link>\n )\n },\n)\n\nexport const SectionIntro = Object.assign(Root, {\n Heading: _Heading,\n Description: _Description,\n Link: _Link,\n Label: _Label,\n})\n"],"mappings":";;;;;;;;;;AAyBA,IAAM,IAAO,GAET,EACE,WAAQ,SACR,YACA,cACA,aACA,eAAY,IACZ,kBAAkB,GAClB,UACA,GAAG,KAEL,MACG;CACH,IAAM,EAAC,SAAS,GAAkB,QAAQ,MAAyB,EAAa,EAAQ;AAExF,QACE,kBAAC,UAAD;EACO;EACL,WAAW,EACT,EAAO,cACP,EAAO,uBAAuB,MAC9B,KAAa,EAAO,6BACpB,GACA,EACD;EACD,GAAI;EACJ,OAAO;GAAC,GAAG;GAAuB,GAAG;GAAM;YAV7C,CAYG,KAAoB,kBAAC,GAAD,EAAoB,CAAA,EACxC,EACM;;EAGd,EAIK,IAAqB,KAErB,IAAW,GAEb,EACE,QAAK,GACL,UAAO,GACP,cACA,aACA,GAAG,KAEL,MACG;CACH,IAAM,IAAgB,QAAc,EAAM,SAAS,QAAQ,EAAS,EAAE,CAAC,EAAS,CAAC,EAE3E,IAAwB,QACxB,EAAc,MAAK,MAAS,EAAM,eAAe,EAAM,KAAK,EAAM,SAAS,OAAO,EAAM,SAAS,MAAM,GAClG,UAEF,WACN,CAAC,EAAc,CAAC,EAEb,IAAe,EAAc,WAAW,IAAI,YAAY,GAAuB;AAErF,QACE,kBAAC,GAAD;EACO;EACL,WAAW,EACT,EAAO,yBACP,MAAiB,WAAW,EAAO,gCACnC,EACD;EACK;EACF;EACJ,GAAI;EAEH;EACO,CAAA;EAGf,EAMK,IAAe,GAClB,EAAC,cAAW,aAAU,GAAG,KAAsC,MAE5D,kBAAC,GAAD;CAAM,IAAG;CAAI,WAAW,EAAK,EAAO,6BAA6B,EAAU;CAAO;CAAK,SAAQ;CAAQ,GAAI;CACxG;CACI,CAAA,CAGZ,EAQK,IAAS,GAEX,EACE,aACA,cACA,aAAU,SACV,aAAU,IACV,oBAAiB,KACjB,GAAG,KAEL,MAGE,kBAAC,QAAD;CAAW;CAAK,WAAW,EAAK,EAAO,uBAAuB,EAAU;CAAE,GAAI;WAC5E,kBAAC,GAAD;EAA8B;EAAkB;EAAS,OAAO;EAC7D;EACmB,CAAA;CACjB,CAAA,CAGZ,EAIK,IAAQ,GACX,EAAC,cAAW,aAAU,aAAU,UAAU,GAAG,KAA+B,MAEzE,kBAAC,GAAD;CACO;CACL,WAAW,EAAK,EAAO,sBAAsB,EAAU;CACvD,MAAK;CACI;CACT,GAAI;CAEH;CACI,CAAA,CAGZ,EAEY,IAAe,OAAO,OAAO,GAAM;CAC9C,SAAS;CACT,aAAa;CACb,MAAM;CACN,OAAO;CACR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Primer_Brand__SectionIntro-module__SectionIntro___lKLtX{gap:var(--base-size-16);padding-block:var(--base-size-24);flex-direction:column;align-items:flex-start;display:flex}.Primer_Brand__SectionIntro-module__SectionIntro-heading--muted___KwvDG{color:var(--brand-color-text-muted)}.Primer_Brand__SectionIntro-module__SectionIntro-heading--muted___KwvDG em,.Primer_Brand__SectionIntro-module__SectionIntro-heading--muted___KwvDG b{color:var(--brand-color-text-default);font-style:normal;font-weight:inherit}.Primer_Brand__SectionIntro-module__SectionIntro--align-start___2iH9X{text-align:start}.Primer_Brand__SectionIntro-module__SectionIntro--align-center___gp5o5{text-align:center;padding-inline:var(--base-size-24);align-items:center}.Primer_Brand__SectionIntro-module__SectionIntro-heading___gqaMX{max-width:24ch}.Primer_Brand__SectionIntro-module__SectionIntro--full-width___oN_XO .Primer_Brand__SectionIntro-module__SectionIntro-heading___gqaMX{max-width:none}.Primer_Brand__SectionIntro-module__SectionIntro-label___qQQ95{margin-block-end:var(--base-size-2)}.Primer_Brand__SectionIntro-module__SectionIntro-description___3x7fL{max-width:50ch;padding-block-start:var(--base-size-2)}.Primer_Brand__SectionIntro-module__SectionIntro-link___fgioV{margin-top:var(--base-size-16)}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import './SectionIntro.module-CiRymbla.css';var e = {
|
|
2
|
+
SectionIntro: "Primer_Brand__SectionIntro-module__SectionIntro___lKLtX",
|
|
3
|
+
"SectionIntro-heading--muted": "Primer_Brand__SectionIntro-module__SectionIntro-heading--muted___KwvDG",
|
|
4
|
+
"SectionIntro--align-start": "Primer_Brand__SectionIntro-module__SectionIntro--align-start___2iH9X",
|
|
5
|
+
"SectionIntro--align-center": "Primer_Brand__SectionIntro-module__SectionIntro--align-center___gp5o5",
|
|
6
|
+
"SectionIntro-heading": "Primer_Brand__SectionIntro-module__SectionIntro-heading___gqaMX",
|
|
7
|
+
"SectionIntro--full-width": "Primer_Brand__SectionIntro-module__SectionIntro--full-width___oN_XO",
|
|
8
|
+
"SectionIntro-label": "Primer_Brand__SectionIntro-module__SectionIntro-label___qQQ95",
|
|
9
|
+
"SectionIntro-description": "Primer_Brand__SectionIntro-module__SectionIntro-description___3x7fL",
|
|
10
|
+
"SectionIntro-link": "Primer_Brand__SectionIntro-module__SectionIntro-link___fgioV"
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { e as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=SectionIntro.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionIntro.module.js","names":[],"sources":["../../src/SectionIntro/SectionIntro.module.css"],"sourcesContent":[".SectionIntro {\n display: flex;\n flex-direction: column;\n gap: var(--base-size-16);\n align-items: flex-start;\n padding-block: var(--base-size-24);\n}\n\n.SectionIntro-heading--muted {\n color: var(--brand-color-text-muted);\n}\n\n.SectionIntro-heading--muted em,\n.SectionIntro-heading--muted b {\n color: var(--brand-color-text-default);\n font-style: normal;\n font-weight: inherit;\n}\n\n.SectionIntro--align-start {\n text-align: start;\n}\n\n.SectionIntro--align-center {\n align-items: center;\n text-align: center;\n padding-inline: var(--base-size-24);\n}\n\n.SectionIntro-heading {\n max-width: 24ch;\n}\n\n.SectionIntro--full-width .SectionIntro-heading {\n max-width: none;\n}\n\n.SectionIntro-label {\n margin-block-end: var(--base-size-2);\n}\n\n.SectionIntro-description {\n padding-block-start: var(--base-size-2);\n max-width: 50ch;\n}\n\n.SectionIntro-link {\n margin-top: var(--base-size-16);\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/SectionIntro/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import { LinkProps } from '../Link';
|
|
3
|
+
import { HeadingProps } from '../Heading';
|
|
4
|
+
import { TextProps } from '../Text';
|
|
5
|
+
import { IconProps } from '../Icon';
|
|
6
|
+
import type { BaseProps } from '../component-helpers';
|
|
7
|
+
export declare const SectionIntroStackedVariants: readonly ["default", "gridline"];
|
|
8
|
+
export type SectionIntroStackedVariant = (typeof SectionIntroStackedVariants)[number];
|
|
9
|
+
export type SectionIntroStackedProps = React.HTMLAttributes<HTMLElement> & BaseProps<HTMLElement> & PropsWithChildren & {
|
|
10
|
+
variant?: SectionIntroStackedVariant;
|
|
11
|
+
};
|
|
12
|
+
type SectionIntroStackedHeadingProps = BaseProps<HTMLHeadingElement> & HeadingProps;
|
|
13
|
+
type SectionIntroStackedDescriptionProps = Omit<TextProps, 'as' | 'variant'> & BaseProps<HTMLParagraphElement> & {
|
|
14
|
+
as?: 'p';
|
|
15
|
+
children: React.ReactNode | React.ReactNode[];
|
|
16
|
+
};
|
|
17
|
+
type SectionIntroStackedLinkProps = LinkProps & BaseProps<HTMLAnchorElement>;
|
|
18
|
+
type SectionIntroStackedItemsProps = BaseProps<HTMLUListElement>;
|
|
19
|
+
type SectionIntroStackedItemIconProps = IconProps;
|
|
20
|
+
type SectionIntroStackedItemDescriptionProps = Omit<TextProps, 'as' | 'variant' | 'size'> & BaseProps<HTMLParagraphElement> & {
|
|
21
|
+
as?: 'p';
|
|
22
|
+
children: React.ReactNode | React.ReactNode[];
|
|
23
|
+
};
|
|
24
|
+
export type SectionIntroStackedItemProps = BaseProps<HTMLLIElement>;
|
|
25
|
+
export declare const SectionIntroStacked: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<SectionIntroStackedProps>, "ref"> & React.RefAttributes<HTMLElement>> & {
|
|
26
|
+
Heading: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<SectionIntroStackedHeadingProps>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
27
|
+
Description: React.ForwardRefExoticComponent<Omit<SectionIntroStackedDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
28
|
+
Link: React.ForwardRefExoticComponent<Omit<SectionIntroStackedLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
29
|
+
Items: ({ animate, className, children, ...rest }: PropsWithChildren<SectionIntroStackedItemsProps>) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
Item: ({ className, children, ...rest }: PropsWithChildren<SectionIntroStackedItemProps>) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
ItemIcon: ({ className, color, ...props }: SectionIntroStackedItemIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
ItemHeading: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<HeadingProps>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
33
|
+
ItemDescription: React.ForwardRefExoticComponent<Omit<SectionIntroStackedItemDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=SectionIntroStacked.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionIntroStacked.d.ts","sourceRoot":"","sources":["../../src/SectionIntroStacked/SectionIntroStacked.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,iBAAiB,EAAiC,MAAM,OAAO,CAAA;AAG1F,OAAO,EAAO,SAAS,EAAC,MAAM,SAAS,CAAA;AACvC,OAAO,EAAU,YAAY,EAAoB,MAAM,YAAY,CAAA;AACnE,OAAO,EAAO,SAAS,EAAC,MAAM,SAAS,CAAA;AACvC,OAAO,EAAO,SAAS,EAAC,MAAM,SAAS,CAAA;AAKvC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAEnD,eAAO,MAAM,2BAA2B,kCAAmC,CAAA;AAC3E,MAAM,MAAM,0BAA0B,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAA;AAErF,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GACtE,SAAS,CAAC,WAAW,CAAC,GACtB,iBAAiB,GAAG;IAClB,OAAO,CAAC,EAAE,0BAA0B,CAAA;CACrC,CAAA;AAuCH,KAAK,+BAA+B,GAAG,SAAS,CAAC,kBAAkB,CAAC,GAAG,YAAY,CAAA;AA4CnF,KAAK,mCAAmC,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,SAAS,CAAC,GAC1E,SAAS,CAAC,oBAAoB,CAAC,GAAG;IAChC,EAAE,CAAC,EAAE,GAAG,CAAA;IACR,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;CAC9C,CAAA;AAkBH,KAAK,4BAA4B,GAAG,SAAS,GAAG,SAAS,CAAC,iBAAiB,CAAC,CAAA;AAqB5E,KAAK,6BAA6B,GAAG,SAAS,CAAC,gBAAgB,CAAC,CAAA;AAchE,KAAK,gCAAgC,GAAG,SAAS,CAAA;AAyCjD,KAAK,uCAAuC,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,SAAS,GAAG,MAAM,CAAC,GACvF,SAAS,CAAC,oBAAoB,CAAC,GAAG;IAChC,EAAE,CAAC,EAAE,GAAG,CAAA;IACR,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;CAC9C,CAAA;AAmBH,MAAM,MAAM,4BAA4B,GAAG,SAAS,CAAC,aAAa,CAAC,CAAA;AAiDnE,eAAO,MAAM,mBAAmB;;;;uDA7H4B,iBAAiB,CAAC,6BAA6B,CAAC;6CA8E1D,iBAAiB,CAAC,4BAA4B,CAAC;+CAhEvC,gCAAgC;;;CAwHxF,CAAA"}
|