@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,6 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export type VisibilityMap = {
|
|
3
|
+
[key: string]: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare function useVisibilityObserver(navigationRef: RefObject<HTMLUListElement | null>, children: any): VisibilityMap[];
|
|
6
|
+
//# sourceMappingURL=useVisibilityObserver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVisibilityObserver.d.ts","sourceRoot":"","sources":["../../src/SubdomainNavBar/useVisibilityObserver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,MAAM,OAAO,CAAA;AAEpD,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,CAAA;AAED,wBAAgB,qBAAqB,CAAC,aAAa,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,EAAE,QAAQ,KAAA,mBA0ChG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useEffect as e, useState as t } from "react";
|
|
2
|
+
//#region src/SubdomainNavBar/useVisibilityObserver.ts
|
|
3
|
+
function n(n, r) {
|
|
4
|
+
let [i, a] = t({}), o = (e) => {
|
|
5
|
+
let t = {};
|
|
6
|
+
for (let n of e) {
|
|
7
|
+
let e = n.target.getAttribute("data-navitemid");
|
|
8
|
+
e && (n.isIntersecting ? t[e] = !0 : t[e] = !1);
|
|
9
|
+
}
|
|
10
|
+
a((e) => ({
|
|
11
|
+
...e,
|
|
12
|
+
...t
|
|
13
|
+
}));
|
|
14
|
+
};
|
|
15
|
+
return e(() => {
|
|
16
|
+
let e = new IntersectionObserver(o, {
|
|
17
|
+
root: n.current,
|
|
18
|
+
threshold: 1
|
|
19
|
+
});
|
|
20
|
+
if (n.current) {
|
|
21
|
+
let t = Array.from(n.current.children);
|
|
22
|
+
for (let n of t) n.getAttribute("data-navitemid") && e.observe(n);
|
|
23
|
+
}
|
|
24
|
+
return () => e.disconnect();
|
|
25
|
+
}, [n, r]), [i];
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { n as useVisibilityObserver };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=useVisibilityObserver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVisibilityObserver.js","names":[],"sources":["../../src/SubdomainNavBar/useVisibilityObserver.ts"],"sourcesContent":["import {RefObject, useState, useEffect} from 'react'\n\nexport type VisibilityMap = {\n [key: string]: boolean\n}\n\nexport function useVisibilityObserver(navigationRef: RefObject<HTMLUListElement | null>, children) {\n const [visibilityMap, setVisibilityMap] = useState<VisibilityMap>({})\n const handleIntersection = (entries: IntersectionObserverEntry[]) => {\n const updatedEntries = {}\n\n for (const entry of entries) {\n const navitemid = entry.target.getAttribute('data-navitemid')\n if (navitemid) {\n if (entry.isIntersecting) {\n updatedEntries[navitemid] = true\n } else {\n updatedEntries[navitemid] = false\n }\n }\n }\n\n setVisibilityMap(prev => ({\n ...prev,\n ...updatedEntries,\n }))\n }\n\n useEffect(() => {\n const observer = new IntersectionObserver(handleIntersection, {\n root: navigationRef.current,\n threshold: 1,\n })\n\n if (navigationRef.current) {\n const navItems = Array.from(navigationRef.current.children)\n\n for (const item of navItems) {\n if (item.getAttribute('data-navitemid')) {\n observer.observe(item)\n }\n }\n }\n\n return () => observer.disconnect()\n }, [navigationRef, children])\n\n return [visibilityMap]\n}\n"],"mappings":";;AAMA,SAAgB,EAAsB,GAAmD,GAAU;CACjG,IAAM,CAAC,GAAe,KAAoB,EAAwB,EAAE,CAAC,EAC/D,KAAsB,MAAyC;EACnE,IAAM,IAAiB,EAAE;AAEzB,OAAK,IAAM,KAAS,GAAS;GAC3B,IAAM,IAAY,EAAM,OAAO,aAAa,iBAAiB;AAC7D,GAAI,MACE,EAAM,iBACR,EAAe,KAAa,KAE5B,EAAe,KAAa;;AAKlC,KAAiB,OAAS;GACxB,GAAG;GACH,GAAG;GACJ,EAAE;;AAsBL,QAnBA,QAAgB;EACd,IAAM,IAAW,IAAI,qBAAqB,GAAoB;GAC5D,MAAM,EAAc;GACpB,WAAW;GACZ,CAAC;AAEF,MAAI,EAAc,SAAS;GACzB,IAAM,IAAW,MAAM,KAAK,EAAc,QAAQ,SAAS;AAE3D,QAAK,IAAM,KAAQ,EACjB,CAAI,EAAK,aAAa,iBAAiB,IACrC,EAAS,QAAQ,EAAK;;AAK5B,eAAa,EAAS,YAAY;IACjC,CAAC,GAAe,EAAS,CAAC,EAEtB,CAAC,EAAc"}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import React, { ReactNode, HTMLAttributes } from 'react';
|
|
2
|
+
import { BaseProps } from '../component-helpers';
|
|
3
|
+
import { AnimationVariants } from '../animation';
|
|
4
|
+
/**
|
|
5
|
+
* Design tokens
|
|
6
|
+
*/
|
|
7
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/tabs/base.css';
|
|
8
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css';
|
|
9
|
+
/**
|
|
10
|
+
* Accessible label for the entire tabs component, used by screen readers to describe the tab group.
|
|
11
|
+
* Note: Only use one of `aria-label` or `aria-labelled` by. Not both or neither.
|
|
12
|
+
*/
|
|
13
|
+
type LabelOrLabelledBy = {
|
|
14
|
+
'aria-label': string;
|
|
15
|
+
'aria-labelledby'?: never;
|
|
16
|
+
} | {
|
|
17
|
+
'aria-labelledby': string;
|
|
18
|
+
'aria-label'?: never;
|
|
19
|
+
};
|
|
20
|
+
export type TabsProps = {
|
|
21
|
+
/**
|
|
22
|
+
* Visual style variant of the tabs. Affects the appearance and styling theme.
|
|
23
|
+
*/
|
|
24
|
+
variant?: 'default' | 'accent' | 'underline';
|
|
25
|
+
/**
|
|
26
|
+
* Horizontal alignment of the tab navigation. Defaults to 'start'.
|
|
27
|
+
*/
|
|
28
|
+
align?: 'start' | 'center';
|
|
29
|
+
/**
|
|
30
|
+
* Named children to be rendered as tab items and panels.
|
|
31
|
+
*/
|
|
32
|
+
children: ReactNode;
|
|
33
|
+
/**
|
|
34
|
+
* Sets the default active tab. "0" (first tab) by default.
|
|
35
|
+
*/
|
|
36
|
+
defaultActiveTab?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Callback function triggered when the active tab changes. Receives the new active tab identifier.
|
|
39
|
+
*/
|
|
40
|
+
onChange?: (activeTab: string) => void;
|
|
41
|
+
/**
|
|
42
|
+
* Additional CSS class names to apply to the tabs container for custom styling.
|
|
43
|
+
*/
|
|
44
|
+
className?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @param internalAccessibleLabels - Customizable labels for screen readers to improve accessibility. These are applied internally using the aria-label attribute.
|
|
47
|
+
* @param internalAccessibleLabels.controlsNext - Label for the "next tab" control button, used by screen readers. Default is "Next tab".
|
|
48
|
+
* @param internalAccessibleLabels.controlsPrev - Label for the "previous tab" control button, used by screen readers. Default is "Previous tab".
|
|
49
|
+
*/
|
|
50
|
+
internalAccessibleLabels?: {
|
|
51
|
+
controlsNext: string;
|
|
52
|
+
controlsPrev: string;
|
|
53
|
+
};
|
|
54
|
+
} & LabelOrLabelledBy & BaseProps<HTMLDivElement> & Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'aria-label' | 'aria-labelledby'>;
|
|
55
|
+
export type TabsItemProps = {
|
|
56
|
+
children: ReactNode;
|
|
57
|
+
className?: string;
|
|
58
|
+
isActive?: boolean;
|
|
59
|
+
variant?: 'default' | 'accent' | 'underline';
|
|
60
|
+
/**
|
|
61
|
+
* ⚠️ WARNING: Setting a custom id will override the automatically generated ARIA attributes
|
|
62
|
+
* (aria-controls, aria-labelledby). You will need to manually implement proper accessibility
|
|
63
|
+
* relationships between tabs and panels.
|
|
64
|
+
* @see https://primer.style/brand/components/Tabs/#custom-panels
|
|
65
|
+
*/
|
|
66
|
+
id?: string;
|
|
67
|
+
} & Omit<React.ComponentPropsWithoutRef<'button'>, 'id'>;
|
|
68
|
+
export type TabsPanelProps = {
|
|
69
|
+
children: ReactNode;
|
|
70
|
+
className?: string;
|
|
71
|
+
animation?: (typeof AnimationVariants)[number] | false;
|
|
72
|
+
hidden?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* ⚠️ WARNING: Setting a custom id will override the automatically generated ARIA attributes
|
|
75
|
+
* (aria-controls, aria-labelledby). You will need to manually implement proper accessibility
|
|
76
|
+
* relationships between tabs and panels.
|
|
77
|
+
* @see https://primer.style/brand/components/Tabs/#custom-panels
|
|
78
|
+
*/
|
|
79
|
+
id?: string;
|
|
80
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, 'id'>;
|
|
81
|
+
/**
|
|
82
|
+
* Use Tabs to display a list of tabs with associated content panels.
|
|
83
|
+
* @see https://primer.style/brand/components/Tabs
|
|
84
|
+
*/
|
|
85
|
+
export declare const Tabs: React.ForwardRefExoticComponent<(Omit<{
|
|
86
|
+
/**
|
|
87
|
+
* Visual style variant of the tabs. Affects the appearance and styling theme.
|
|
88
|
+
*/
|
|
89
|
+
variant?: "default" | "accent" | "underline";
|
|
90
|
+
/**
|
|
91
|
+
* Horizontal alignment of the tab navigation. Defaults to 'start'.
|
|
92
|
+
*/
|
|
93
|
+
align?: "start" | "center";
|
|
94
|
+
/**
|
|
95
|
+
* Named children to be rendered as tab items and panels.
|
|
96
|
+
*/
|
|
97
|
+
children: ReactNode;
|
|
98
|
+
/**
|
|
99
|
+
* Sets the default active tab. "0" (first tab) by default.
|
|
100
|
+
*/
|
|
101
|
+
defaultActiveTab?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Callback function triggered when the active tab changes. Receives the new active tab identifier.
|
|
104
|
+
*/
|
|
105
|
+
onChange?: (activeTab: string) => void;
|
|
106
|
+
/**
|
|
107
|
+
* Additional CSS class names to apply to the tabs container for custom styling.
|
|
108
|
+
*/
|
|
109
|
+
className?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @param internalAccessibleLabels - Customizable labels for screen readers to improve accessibility. These are applied internally using the aria-label attribute.
|
|
112
|
+
* @param internalAccessibleLabels.controlsNext - Label for the "next tab" control button, used by screen readers. Default is "Next tab".
|
|
113
|
+
* @param internalAccessibleLabels.controlsPrev - Label for the "previous tab" control button, used by screen readers. Default is "Previous tab".
|
|
114
|
+
*/
|
|
115
|
+
internalAccessibleLabels?: {
|
|
116
|
+
controlsNext: string;
|
|
117
|
+
controlsPrev: string;
|
|
118
|
+
};
|
|
119
|
+
} & {
|
|
120
|
+
'aria-label': string;
|
|
121
|
+
'aria-labelledby'?: never;
|
|
122
|
+
} & BaseProps<HTMLDivElement> & Omit<React.HTMLAttributes<HTMLDivElement>, "aria-label" | "aria-labelledby" | "onChange">, "ref"> | Omit<{
|
|
123
|
+
/**
|
|
124
|
+
* Visual style variant of the tabs. Affects the appearance and styling theme.
|
|
125
|
+
*/
|
|
126
|
+
variant?: "default" | "accent" | "underline";
|
|
127
|
+
/**
|
|
128
|
+
* Horizontal alignment of the tab navigation. Defaults to 'start'.
|
|
129
|
+
*/
|
|
130
|
+
align?: "start" | "center";
|
|
131
|
+
/**
|
|
132
|
+
* Named children to be rendered as tab items and panels.
|
|
133
|
+
*/
|
|
134
|
+
children: ReactNode;
|
|
135
|
+
/**
|
|
136
|
+
* Sets the default active tab. "0" (first tab) by default.
|
|
137
|
+
*/
|
|
138
|
+
defaultActiveTab?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Callback function triggered when the active tab changes. Receives the new active tab identifier.
|
|
141
|
+
*/
|
|
142
|
+
onChange?: (activeTab: string) => void;
|
|
143
|
+
/**
|
|
144
|
+
* Additional CSS class names to apply to the tabs container for custom styling.
|
|
145
|
+
*/
|
|
146
|
+
className?: string;
|
|
147
|
+
/**
|
|
148
|
+
* @param internalAccessibleLabels - Customizable labels for screen readers to improve accessibility. These are applied internally using the aria-label attribute.
|
|
149
|
+
* @param internalAccessibleLabels.controlsNext - Label for the "next tab" control button, used by screen readers. Default is "Next tab".
|
|
150
|
+
* @param internalAccessibleLabels.controlsPrev - Label for the "previous tab" control button, used by screen readers. Default is "Previous tab".
|
|
151
|
+
*/
|
|
152
|
+
internalAccessibleLabels?: {
|
|
153
|
+
controlsNext: string;
|
|
154
|
+
controlsPrev: string;
|
|
155
|
+
};
|
|
156
|
+
} & {
|
|
157
|
+
'aria-labelledby': string;
|
|
158
|
+
'aria-label'?: never;
|
|
159
|
+
} & BaseProps<HTMLDivElement> & Omit<React.HTMLAttributes<HTMLDivElement>, "aria-label" | "aria-labelledby" | "onChange">, "ref">) & React.RefAttributes<HTMLDivElement>> & {
|
|
160
|
+
Item: React.ForwardRefExoticComponent<{
|
|
161
|
+
children: ReactNode;
|
|
162
|
+
className?: string;
|
|
163
|
+
isActive?: boolean;
|
|
164
|
+
variant?: "default" | "accent" | "underline";
|
|
165
|
+
/**
|
|
166
|
+
* ⚠️ WARNING: Setting a custom id will override the automatically generated ARIA attributes
|
|
167
|
+
* (aria-controls, aria-labelledby). You will need to manually implement proper accessibility
|
|
168
|
+
* relationships between tabs and panels.
|
|
169
|
+
* @see https://primer.style/brand/components/Tabs/#custom-panels
|
|
170
|
+
*/
|
|
171
|
+
id?: string;
|
|
172
|
+
} & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "id"> & React.RefAttributes<HTMLButtonElement>>;
|
|
173
|
+
Panel: React.NamedExoticComponent<TabsPanelProps>;
|
|
174
|
+
testIds: {
|
|
175
|
+
root: string;
|
|
176
|
+
readonly tab: string;
|
|
177
|
+
readonly panel: string;
|
|
178
|
+
readonly indicators: string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
export {};
|
|
182
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/Tabs/Tabs.tsx"],"names":[],"mappings":"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"}
|
package/esm/Tabs/Tabs.js
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import e from "../node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { AnimationProvider as t } from "../animation/AnimationProvider/AnimationProvider.js";
|
|
3
|
+
import { Animate as n } from "../animation/Animate/Animate.js";
|
|
4
|
+
import { useProvidedRefOrCreate as r } from "../hooks/useRef.js";
|
|
5
|
+
import { Stack as i } from "../Stack/Stack.js";
|
|
6
|
+
import { Text as a } from "../Text/Text.js";
|
|
7
|
+
import { ChevronLeftIcon as o, ChevronRightIcon as s } from "../node_modules/@primer/octicons-react/dist/index.esm.js";
|
|
8
|
+
import { useTabs as c } from "../hooks/useTabs.js";
|
|
9
|
+
import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes-DCEDN6wM.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/base-T7ABwZVf.css';/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import l from "./Tabs.module.js";
|
|
12
|
+
import { Children as u, cloneElement as d, forwardRef as f, isValidElement as p, memo as m, useCallback as h, useEffect as g, useRef as _ } from "react";
|
|
13
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
14
|
+
//#region src/Tabs/Tabs.tsx
|
|
15
|
+
var b = {
|
|
16
|
+
root: "Tabs",
|
|
17
|
+
get tab() {
|
|
18
|
+
return `${this.root}-tab`;
|
|
19
|
+
},
|
|
20
|
+
get panel() {
|
|
21
|
+
return `${this.root}-panel`;
|
|
22
|
+
},
|
|
23
|
+
get indicators() {
|
|
24
|
+
return `${this.root}-indicators`;
|
|
25
|
+
}
|
|
26
|
+
}, x = {
|
|
27
|
+
controlsNext: "Next tab",
|
|
28
|
+
controlsPrev: "Previous tab"
|
|
29
|
+
}, S = f(({ align: t = "center", children: n, defaultActiveTab: r, onChange: f, variant: m = "default", className: S, "aria-label": T, "aria-labelledby": E, internalAccessibleLabels: D = x, ...O }, k) => {
|
|
30
|
+
let { activeTab: A, activateTab: j, getTabListProps: M, getTabProps: N, getTabPanelProps: P } = c({
|
|
31
|
+
defaultTab: r,
|
|
32
|
+
onTabActivate: f
|
|
33
|
+
}), F = _(null), I = _(null), L = _(null), R = u.toArray(n), z = R.filter((e) => p(e) && e.type === C).map((e, t) => {
|
|
34
|
+
let n = String(t), r = e.ref, i = N(n, r);
|
|
35
|
+
return d(e, {
|
|
36
|
+
...i,
|
|
37
|
+
id: e.props.id ?? i.id,
|
|
38
|
+
"aria-controls": e.props["aria-controls"] ?? i["aria-controls"],
|
|
39
|
+
value: n,
|
|
40
|
+
key: i.id,
|
|
41
|
+
isActive: A === n,
|
|
42
|
+
variant: m
|
|
43
|
+
});
|
|
44
|
+
}), B = R.filter((e) => p(e) && e.type === w).map((e, t) => {
|
|
45
|
+
let n = P(String(t));
|
|
46
|
+
return d(e, {
|
|
47
|
+
...n,
|
|
48
|
+
id: e.props.id ?? n.id,
|
|
49
|
+
key: String(t)
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
g(() => {
|
|
53
|
+
/* istanbul ignore next */
|
|
54
|
+
if (!F.current || !L.current) return;
|
|
55
|
+
let e = F.current.querySelector("[aria-selected=\"true\"]");
|
|
56
|
+
if (!A) return;
|
|
57
|
+
let t = () => {
|
|
58
|
+
let t = L.current, n = F.current;
|
|
59
|
+
/* istanbul ignore next */
|
|
60
|
+
if (!t || !n) return;
|
|
61
|
+
let r = window.getComputedStyle(n).getPropertyValue("--brand-Tabs-container-padding"), i = parseFloat(r) * 16, a = e.offsetLeft - i, o = e.offsetWidth;
|
|
62
|
+
t.style.setProperty("--brand-Tabs-slider-x", `${a}px`), t.style.setProperty("--brand-Tabs-slider-width", `${o}px`);
|
|
63
|
+
};
|
|
64
|
+
t();
|
|
65
|
+
let n = new ResizeObserver(t);
|
|
66
|
+
n.observe(F.current);
|
|
67
|
+
let r = F.current, i = r.clientWidth, a = window.getComputedStyle(r).getPropertyValue("--brand-Tabs-container-padding"), o = parseFloat(a) * 16, s = e.offsetLeft - o + e.offsetWidth / 2 - i / 2, c = r.scrollWidth - i, l = Math.max(0, Math.min(s, c));
|
|
68
|
+
return r.scrollTo({
|
|
69
|
+
left: l,
|
|
70
|
+
behavior: "smooth"
|
|
71
|
+
}), () => {
|
|
72
|
+
n.disconnect();
|
|
73
|
+
};
|
|
74
|
+
}, [A]), g(() => {
|
|
75
|
+
let e = F.current, t = I.current;
|
|
76
|
+
/* istanbul ignore next */
|
|
77
|
+
if (!e || !t) return;
|
|
78
|
+
/* istanbul ignore next */
|
|
79
|
+
let n = () => {
|
|
80
|
+
let { scrollLeft: n, scrollWidth: r, clientWidth: i } = e, a = r > i, o = a && n < r - i - 1;
|
|
81
|
+
t.style.setProperty("--scroll-offset", `${n}px`), t.style.setProperty("--has-overflow", a ? "1" : "0"), t.style.setProperty("--can-scroll-right", o ? "1" : "0");
|
|
82
|
+
};
|
|
83
|
+
n();
|
|
84
|
+
let r = new ResizeObserver(n);
|
|
85
|
+
return r.observe(e), e.addEventListener("scroll", n), () => {
|
|
86
|
+
e.removeEventListener("scroll", n), r.disconnect();
|
|
87
|
+
};
|
|
88
|
+
}, [z]);
|
|
89
|
+
let V = M(typeof T == "string" ? { label: T } : { labelledBy: E }), H = h(() => {
|
|
90
|
+
A && A !== String(z.length - 1) && j(String(Number(A) + 1));
|
|
91
|
+
}, [
|
|
92
|
+
A,
|
|
93
|
+
j,
|
|
94
|
+
z
|
|
95
|
+
]), U = h(() => {
|
|
96
|
+
A && A !== "0" && j(String(Number(A) - 1));
|
|
97
|
+
}, [A, j]), W = z.length >= 3, G = String(z.length - 1) === A;
|
|
98
|
+
return /* @__PURE__ */ y("div", {
|
|
99
|
+
className: e(l["Tabs-container"], l[`Tabs-container--align-${t}`], G && l["Tabs-container--lastTabIsActive"], S),
|
|
100
|
+
ref: k,
|
|
101
|
+
"data-testid": b.root,
|
|
102
|
+
...O,
|
|
103
|
+
children: [
|
|
104
|
+
z.length >= 3 && /* @__PURE__ */ v("div", {
|
|
105
|
+
className: l.Tabs__controls,
|
|
106
|
+
"data-testid": b.indicators,
|
|
107
|
+
children: /* @__PURE__ */ y(i, {
|
|
108
|
+
direction: "horizontal",
|
|
109
|
+
padding: "none",
|
|
110
|
+
justifyContent: "space-between",
|
|
111
|
+
children: [
|
|
112
|
+
/* @__PURE__ */ v("button", {
|
|
113
|
+
onClick: U,
|
|
114
|
+
className: l.Tabs__control,
|
|
115
|
+
"aria-label": D.controlsPrev,
|
|
116
|
+
children: /* @__PURE__ */ v(a, {
|
|
117
|
+
size: "100",
|
|
118
|
+
children: /* @__PURE__ */ v(o, {
|
|
119
|
+
size: 16,
|
|
120
|
+
className: l["Tabs__control-icon"]
|
|
121
|
+
})
|
|
122
|
+
})
|
|
123
|
+
}),
|
|
124
|
+
/* @__PURE__ */ v(i, {
|
|
125
|
+
direction: "horizontal",
|
|
126
|
+
gap: 4,
|
|
127
|
+
padding: "none",
|
|
128
|
+
justifyContent: "space-between",
|
|
129
|
+
alignItems: "center",
|
|
130
|
+
children: z.map((t, n) => /* @__PURE__ */ v("div", { className: e(l.Tabs__indicator, A && Number(A) === n && l["Tabs__indicator--active"]) }, n))
|
|
131
|
+
}),
|
|
132
|
+
/* @__PURE__ */ v("button", {
|
|
133
|
+
onClick: H,
|
|
134
|
+
className: l.Tabs__control,
|
|
135
|
+
"aria-label": D.controlsNext,
|
|
136
|
+
children: /* @__PURE__ */ v(a, {
|
|
137
|
+
size: "100",
|
|
138
|
+
children: /* @__PURE__ */ v(s, {
|
|
139
|
+
size: 16,
|
|
140
|
+
className: l["Tabs__control-icon"]
|
|
141
|
+
})
|
|
142
|
+
})
|
|
143
|
+
})
|
|
144
|
+
]
|
|
145
|
+
})
|
|
146
|
+
}),
|
|
147
|
+
/* @__PURE__ */ v("div", {
|
|
148
|
+
ref: I,
|
|
149
|
+
className: e(l.Tablist__wrapper, l[`Tablist__wrapper--${m}`], G && l["Tablist__wrapper--lastTabIsActive"]),
|
|
150
|
+
children: /* @__PURE__ */ y("div", {
|
|
151
|
+
ref: F,
|
|
152
|
+
...V,
|
|
153
|
+
className: e(l.Tabs, l[`Tabs--${m}`], W && l["Tabs--hasMoreThanTwoTabs"]),
|
|
154
|
+
children: [/* @__PURE__ */ v("div", {
|
|
155
|
+
ref: L,
|
|
156
|
+
className: l.Tabs__slider,
|
|
157
|
+
"aria-hidden": !0
|
|
158
|
+
}), z]
|
|
159
|
+
})
|
|
160
|
+
}),
|
|
161
|
+
B.length > 0 && /* @__PURE__ */ v("div", {
|
|
162
|
+
className: l.Tabs__panelContainer,
|
|
163
|
+
children: B
|
|
164
|
+
})
|
|
165
|
+
]
|
|
166
|
+
});
|
|
167
|
+
}), C = f(({ children: t, className: n, isActive: i, variant: a, ...o }, s) => /* @__PURE__ */ v("button", {
|
|
168
|
+
ref: r(s),
|
|
169
|
+
className: e(l.Tabs__item, i && l["Tabs__item--active"], a && l[`Tabs__item--${a}`], n),
|
|
170
|
+
"data-testid": b.tab,
|
|
171
|
+
...o,
|
|
172
|
+
children: t
|
|
173
|
+
})), w = m(function({ children: r, animation: i = !1, className: a, hidden: o, ...s }) {
|
|
174
|
+
let c = i ? /* @__PURE__ */ v(t, {
|
|
175
|
+
autoStaggerChildren: !1,
|
|
176
|
+
children: /* @__PURE__ */ v(n, {
|
|
177
|
+
animate: i,
|
|
178
|
+
children: r
|
|
179
|
+
})
|
|
180
|
+
}) : r;
|
|
181
|
+
return /* @__PURE__ */ v("div", {
|
|
182
|
+
className: e(l.Tabs__panel, a),
|
|
183
|
+
"data-testid": b.panel,
|
|
184
|
+
hidden: o,
|
|
185
|
+
...s,
|
|
186
|
+
children: c
|
|
187
|
+
});
|
|
188
|
+
}), T = Object.assign(S, {
|
|
189
|
+
Item: C,
|
|
190
|
+
Panel: w,
|
|
191
|
+
testIds: b
|
|
192
|
+
});
|
|
193
|
+
//#endregion
|
|
194
|
+
export { T as Tabs };
|
|
195
|
+
|
|
196
|
+
//# sourceMappingURL=Tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.js","names":[],"sources":["../../src/Tabs/Tabs.tsx"],"sourcesContent":["import React, {\n memo,\n ReactNode,\n forwardRef,\n Children,\n isValidElement,\n cloneElement,\n useRef,\n useEffect,\n HTMLAttributes,\n useCallback,\n} from 'react'\nimport {clsx} from 'clsx'\nimport {ChevronLeftIcon, ChevronRightIcon} from '@primer/octicons-react'\nimport {useTabs} from '../hooks/useTabs'\nimport {useProvidedRefOrCreate} from '../hooks/useRef'\nimport {BaseProps} from '../component-helpers'\nimport {Animate, AnimationProvider, AnimationVariants} from '../animation'\nimport {Text} from '../Text'\nimport {Stack} from '../Stack'\n\n/**\n * Design tokens\n */\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/tabs/base.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css'\n\n/** * Main Stylesheet (as a CSS Module) */\nimport styles from './Tabs.module.css'\n\nconst testIds = {\n root: 'Tabs',\n get tab() {\n return `${this.root}-tab`\n },\n get panel() {\n return `${this.root}-panel`\n },\n get indicators() {\n return `${this.root}-indicators`\n },\n}\n\n/**\n * Accessible label for the entire tabs component, used by screen readers to describe the tab group.\n * Note: Only use one of `aria-label` or `aria-labelled` by. Not both or neither.\n */\ntype LabelOrLabelledBy =\n | {'aria-label': string; 'aria-labelledby'?: never}\n | {'aria-labelledby': string; 'aria-label'?: never}\n\nexport type TabsProps = {\n /**\n * Visual style variant of the tabs. Affects the appearance and styling theme.\n */\n variant?: 'default' | 'accent' | 'underline'\n /**\n * Horizontal alignment of the tab navigation. Defaults to 'start'.\n */\n align?: 'start' | 'center'\n /**\n * Named children to be rendered as tab items and panels.\n */\n children: ReactNode\n /**\n * Sets the default active tab. \"0\" (first tab) by default.\n */\n defaultActiveTab?: string\n /**\n * Callback function triggered when the active tab changes. Receives the new active tab identifier.\n */\n onChange?: (activeTab: string) => void\n\n /**\n * Additional CSS class names to apply to the tabs container for custom styling.\n */\n className?: string\n /**\n * @param internalAccessibleLabels - Customizable labels for screen readers to improve accessibility. These are applied internally using the aria-label attribute.\n * @param internalAccessibleLabels.controlsNext - Label for the \"next tab\" control button, used by screen readers. Default is \"Next tab\".\n * @param internalAccessibleLabels.controlsPrev - Label for the \"previous tab\" control button, used by screen readers. Default is \"Previous tab\".\n */\n internalAccessibleLabels?: {\n controlsNext: string\n controlsPrev: string\n }\n} & LabelOrLabelledBy &\n BaseProps<HTMLDivElement> &\n Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'aria-label' | 'aria-labelledby'>\n\nconst defaultInternalAccessibleLabels = {\n controlsNext: 'Next tab',\n controlsPrev: 'Previous tab',\n}\n\nconst _TabsRoot = forwardRef<HTMLDivElement, TabsProps>(\n (\n {\n align = 'center',\n children,\n defaultActiveTab,\n onChange,\n variant = 'default',\n className,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n internalAccessibleLabels = defaultInternalAccessibleLabels,\n ...props\n },\n ref,\n ) => {\n const {activeTab, activateTab, getTabListProps, getTabProps, getTabPanelProps} = useTabs({\n defaultTab: defaultActiveTab,\n onTabActivate: onChange,\n })\n const tabsContainerRef = useRef<HTMLDivElement>(null)\n const tabsWrapperRef = useRef<HTMLDivElement>(null)\n const sliderRef = useRef<HTMLDivElement>(null)\n\n const childrenArray = Children.toArray(children)\n\n type TabsItemElement = React.ReactElement<TabsItemProps> & {ref?: React.Ref<HTMLButtonElement>}\n\n const tabs = childrenArray\n .filter((child): child is TabsItemElement => isValidElement<TabsItemProps>(child) && child.type === TabsItem)\n .map((tab, index) => {\n const tabId = String(index)\n const originalRef = tab.ref\n const tabProps = getTabProps<HTMLButtonElement>(tabId, originalRef)\n\n return cloneElement(tab, {\n ...tabProps,\n id: tab.props.id ?? tabProps.id,\n 'aria-controls': tab.props['aria-controls'] ?? tabProps['aria-controls'],\n value: tabId,\n key: tabProps.id,\n isActive: activeTab === tabId,\n variant,\n })\n })\n\n const panels = childrenArray\n .filter(\n (child): child is React.ReactElement<TabsPanelProps> =>\n isValidElement<TabsPanelProps>(child) && child.type === TabsPanel,\n )\n .map((child, index) => {\n const panelId = String(index)\n const tabPanelProps = getTabPanelProps(panelId)\n\n return cloneElement(child, {\n ...tabPanelProps,\n id: child.props.id ?? tabPanelProps.id,\n key: String(index),\n })\n })\n\n useEffect(() => {\n /* istanbul ignore next */\n if (!tabsContainerRef.current || !sliderRef.current) return\n\n const activeTabButton = tabsContainerRef.current.querySelector(`[aria-selected=\"true\"]`) as HTMLButtonElement\n\n if (!activeTab) return\n\n const updateSliderPosition = () => {\n const sliderElement = sliderRef.current\n const tabsContainer = tabsContainerRef.current\n /* istanbul ignore next */\n if (!sliderElement || !tabsContainer) return\n\n const containerPaddingRem = window\n .getComputedStyle(tabsContainer)\n .getPropertyValue('--brand-Tabs-container-padding')\n\n const containerPadding = parseFloat(containerPaddingRem) * 16 // base size\n\n const offsetX = activeTabButton.offsetLeft - containerPadding\n const width = activeTabButton.offsetWidth\n\n sliderElement.style.setProperty('--brand-Tabs-slider-x', `${offsetX}px`)\n sliderElement.style.setProperty('--brand-Tabs-slider-width', `${width}px`)\n }\n\n updateSliderPosition()\n\n const resizeObserver = new ResizeObserver(updateSliderPosition)\n resizeObserver.observe(tabsContainerRef.current)\n\n // On narrow viewports this will scroll the active tab into the center.\n // Important because we show a gradient in dark mode.\n const tabsContainer = tabsContainerRef.current\n const containerWidth = tabsContainer.clientWidth\n const containerPaddingRem = window\n .getComputedStyle(tabsContainer)\n .getPropertyValue('--brand-Tabs-container-padding')\n const containerPadding = parseFloat(containerPaddingRem) * 16\n const tabLeft = activeTabButton.offsetLeft - containerPadding\n const tabWidth = activeTabButton.offsetWidth\n const tabCenter = tabLeft + tabWidth / 2\n\n const targetScrollLeft = tabCenter - containerWidth / 2\n\n const maxScrollLeft = tabsContainer.scrollWidth - containerWidth // defines boudnary\n const finalScrollLeft = Math.max(0, Math.min(targetScrollLeft, maxScrollLeft))\n\n tabsContainer.scrollTo({\n left: finalScrollLeft,\n behavior: 'smooth',\n })\n\n return () => {\n resizeObserver.disconnect()\n }\n }, [activeTab])\n\n // Tracks the overflow state for mobile gradient visibility\n // Should only appear when enough items trigger an overflow\n // Related to gradient functionality\n useEffect(() => {\n const tabsContainer = tabsContainerRef.current\n const wrapperElement = tabsWrapperRef.current\n /* istanbul ignore next */\n if (!tabsContainer || !wrapperElement) return\n\n // This relies heavily on layout and measurement and, as such, isn't practical to test\n /* istanbul ignore next */\n const updateScrollState = () => {\n const {scrollLeft, scrollWidth, clientWidth} = tabsContainer\n const hasOverflow = scrollWidth > clientWidth\n\n const canScrollRight = hasOverflow && scrollLeft < scrollWidth - clientWidth - 1\n\n // Set CSS variables on the wrapper element for the gradient\n wrapperElement.style.setProperty('--scroll-offset', `${scrollLeft}px`)\n wrapperElement.style.setProperty('--has-overflow', hasOverflow ? '1' : '0')\n wrapperElement.style.setProperty('--can-scroll-right', canScrollRight ? '1' : '0')\n }\n\n updateScrollState()\n const resizeObserver = new ResizeObserver(updateScrollState)\n resizeObserver.observe(tabsContainer)\n\n // eslint-disable-next-line github/prefer-observers\n tabsContainer.addEventListener('scroll', updateScrollState)\n\n return () => {\n tabsContainer.removeEventListener('scroll', updateScrollState)\n resizeObserver.disconnect()\n }\n }, [tabs])\n\n /**\n * The LabelOrLabelledBy type guarantees that, if ariaLabel isn't a string,\n * then ariaLabelledBy is guaranteed to be a string, and vice versa.\n */\n const accessibleLabel = typeof ariaLabel === 'string' ? {label: ariaLabel} : {labelledBy: ariaLabelledBy}\n const tabListProps = getTabListProps(accessibleLabel)\n\n const handleNextTabControl = useCallback(() => {\n if (activeTab && activeTab !== String(tabs.length - 1)) {\n activateTab(String(Number(activeTab) + 1))\n }\n }, [activeTab, activateTab, tabs])\n\n const handlePrevTabControl = useCallback(() => {\n if (activeTab && activeTab !== '0') {\n activateTab(String(Number(activeTab) - 1))\n }\n }, [activeTab, activateTab])\n\n const hasMoreThanTwoTabs = tabs.length >= 3\n const isLastTabActive = String(tabs.length - 1) === activeTab\n\n return (\n <div\n className={clsx(\n styles['Tabs-container'],\n styles[`Tabs-container--align-${align}`],\n isLastTabActive && styles['Tabs-container--lastTabIsActive'],\n className,\n )}\n ref={ref}\n data-testid={testIds.root}\n {...props}\n >\n {/* Narrow only indicators and controls */}\n {tabs.length >= 3 && (\n <div className={styles.Tabs__controls} data-testid={testIds.indicators}>\n <Stack direction=\"horizontal\" padding=\"none\" justifyContent=\"space-between\">\n <button\n onClick={handlePrevTabControl}\n className={styles.Tabs__control}\n aria-label={internalAccessibleLabels.controlsPrev}\n >\n <Text size=\"100\">\n <ChevronLeftIcon size={16} className={styles['Tabs__control-icon']} />\n </Text>\n </button>\n <Stack direction=\"horizontal\" gap={4} padding=\"none\" justifyContent=\"space-between\" alignItems=\"center\">\n {tabs.map((_, index) => {\n return (\n <div\n key={index}\n className={clsx(\n styles.Tabs__indicator,\n activeTab && Number(activeTab) === index && styles['Tabs__indicator--active'],\n )}\n />\n )\n })}\n </Stack>\n <button\n onClick={handleNextTabControl}\n className={styles.Tabs__control}\n aria-label={internalAccessibleLabels.controlsNext}\n >\n <Text size=\"100\">\n <ChevronRightIcon size={16} className={styles['Tabs__control-icon']} />\n </Text>\n </button>\n </Stack>\n </div>\n )}\n\n <div\n ref={tabsWrapperRef}\n className={clsx(\n styles['Tablist__wrapper'],\n styles[`Tablist__wrapper--${variant}`],\n isLastTabActive && styles['Tablist__wrapper--lastTabIsActive'],\n )}\n >\n <div\n ref={tabsContainerRef}\n {...tabListProps}\n className={clsx(\n styles.Tabs,\n styles[`Tabs--${variant}`],\n hasMoreThanTwoTabs && styles['Tabs--hasMoreThanTwoTabs'],\n )}\n >\n <div ref={sliderRef} className={styles.Tabs__slider} aria-hidden />\n {tabs}\n </div>\n </div>\n\n {panels.length > 0 && <div className={styles['Tabs__panelContainer']}>{panels}</div>}\n </div>\n )\n },\n)\n\nexport type TabsItemProps = {\n children: ReactNode\n className?: string\n isActive?: boolean\n variant?: 'default' | 'accent' | 'underline'\n /**\n * ⚠️ WARNING: Setting a custom id will override the automatically generated ARIA attributes\n * (aria-controls, aria-labelledby). You will need to manually implement proper accessibility\n * relationships between tabs and panels.\n * @see https://primer.style/brand/components/Tabs/#custom-panels\n */\n id?: string\n} & Omit<React.ComponentPropsWithoutRef<'button'>, 'id'>\n\nconst TabsItem = forwardRef<HTMLButtonElement, TabsItemProps>(\n ({children, className, isActive, variant, ...props}, ref) => {\n const tabRef = useProvidedRefOrCreate(ref)\n\n return (\n <button\n ref={tabRef}\n className={clsx(\n styles.Tabs__item,\n isActive && styles['Tabs__item--active'],\n variant && styles[`Tabs__item--${variant}`],\n className,\n )}\n data-testid={testIds.tab}\n {...props}\n >\n {children}\n </button>\n )\n },\n)\n\nexport type TabsPanelProps = {\n children: ReactNode\n className?: string\n animation?: (typeof AnimationVariants)[number] | false\n hidden?: boolean\n /**\n * ⚠️ WARNING: Setting a custom id will override the automatically generated ARIA attributes\n * (aria-controls, aria-labelledby). You will need to manually implement proper accessibility\n * relationships between tabs and panels.\n * @see https://primer.style/brand/components/Tabs/#custom-panels\n */\n id?: string\n} & Omit<React.HTMLAttributes<HTMLDivElement>, 'id'>\n\nconst TabsPanel = memo(function TabsPanel({\n children,\n animation = false,\n className,\n\n hidden,\n ...rest\n}: TabsPanelProps) {\n const conditionalRender = animation ? (\n <AnimationProvider autoStaggerChildren={false}>\n <Animate animate={animation}>{children}</Animate>\n </AnimationProvider>\n ) : (\n children\n )\n\n return (\n <div className={clsx(styles['Tabs__panel'], className)} data-testid={testIds.panel} hidden={hidden} {...rest}>\n {conditionalRender}\n </div>\n )\n})\n\n/**\n * Use Tabs to display a list of tabs with associated content panels.\n * @see https://primer.style/brand/components/Tabs\n */\nexport const Tabs = Object.assign(_TabsRoot, {\n Item: TabsItem,\n Panel: TabsPanel,\n testIds,\n})\n"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Primer_Brand__Tabs-module__Tabs___zia5x{gap:var(--base-size-4);background-color:var(--brand-color-canvas-backdrop);border-radius:var(--brand-borderRadius-large);padding:var(--brand-Tabs-container-padding);width:fit-content;min-height:var(--base-size-48);display:flex;position:relative}.Primer_Brand__Tabs-module__Tabs-container___wuq7I{display:grid}@media screen and (width<=48rem){.Primer_Brand__Tabs-module__Tabs-container___wuq7I{flex-direction:column;align-items:center;width:100%;display:flex;position:relative}.Primer_Brand__Tabs-module__Tabs-container--align-start___n0cXk{align-items:flex-start}.Primer_Brand__Tabs-module__Tabs-container--align-center___LjUrd{align-items:center}.Primer_Brand__Tabs-module__Tablist__wrapper___MDIB8{width:fit-content;max-width:100%;position:relative;overflow:hidden}.Primer_Brand__Tabs-module__Tablist__wrapper___MDIB8:after{content:"";right:var(--brand-Tabs-list-borderWidth-active);top:var(--base-size-2);bottom:var(--base-size-2);background:linear-gradient(to left, var(--brand-color-canvas-default) 30%, transparent);width:var(--base-size-48);z-index:2;pointer-events:none;transition:opacity var(--brand-animation-duration-default) var(--brand-animation-easing-default), visibility var(--brand-animation-duration-default) var(--brand-animation-easing-default);opacity:0;opacity:calc(var(--has-overflow,0) * var(--can-scroll-right,0));border-radius:inherit;position:absolute}.Primer_Brand__Tabs-module__Tablist__wrapper--default___Wdb55:after,.Primer_Brand__Tabs-module__Tablist__wrapper--accent___QV6Jx:after{border-radius:var(--brand-borderRadius-full)}.Primer_Brand__Tabs-module__Tablist__wrapper--underline___IZ_zV:after{border-radius:var(--brand-borderRadius-large)}.Primer_Brand__Tabs-module__Tablist__wrapper--lastTabIsActive___jCePF:after{opacity:0;visibility:hidden}.Primer_Brand__Tabs-module__Tabs___zia5x{scrollbar-width:none;-ms-overflow-style:none;max-width:100%;overflow:auto hidden}.Primer_Brand__Tabs-module__Tabs___zia5x::-webkit-scrollbar{display:none}}.Primer_Brand__Tabs-module__Tabs-container--align-start___n0cXk{justify-items:flex-start}.Primer_Brand__Tabs-module__Tabs-container--align-center___LjUrd{justify-items:center}.Primer_Brand__Tabs-module__Tabs--default___MUcm6,.Primer_Brand__Tabs-module__Tabs--accent___p1SQc{border:var(--brand-Tabs-list-borderWidth-active) solid var(--brand-color-border-default);border-radius:var(--brand-borderRadius-full)}.Primer_Brand__Tabs-module__Tabs--underline___CAXqd{gap:var(--base-size-24)}.Primer_Brand__Tabs-module__Tabs__item___4V44f{z-index:1;cursor:pointer;padding:var(--base-size-8) var(--base-size-16);border-radius:var(--brand-borderRadius-full);transition:color var(--brand-animation-duration-fast) ease-in-out;white-space:nowrap;font-family:var(--brand-fontStack-sansSerif);font-weight:var(--brand-text-weight-600);font-size:var(--brand-text-size-100);line-height:var(--brand-text-lineHeight-100);letter-spacing:var(--brand-text-letterSpacing-100);color:var(--brand-color-text-default);background:0 0;border:0;position:relative}.Primer_Brand__Tabs-module__Tabs__slider___tkaHu{top:var(--base-size-4);bottom:var(--base-size-4);transition:all var(--brand-animation-duration-fast) var(--brand-animation-easing-glide);z-index:0;transform:translate(0);transform:translateX(var(--brand-Tabs-slider-x,0px));width:var(--brand-Tabs-slider-width);position:absolute}.Primer_Brand__Tabs-module__Tabs--default___MUcm6 .Primer_Brand__Tabs-module__Tabs__slider___tkaHu{border-radius:var(--brand-borderRadius-full);border:var(--brand-borderWidth-thin) solid var(--brand-Tabs-item-default-borderColor-active);background:var(--brand-Tabs-item-default-bgColor-active)}.Primer_Brand__Tabs-module__Tabs--accent___p1SQc .Primer_Brand__Tabs-module__Tabs__slider___tkaHu{border-radius:var(--brand-borderRadius-full);border:var(--brand-borderWidth-thin) solid transparent;background:var(--brand-Tabs-item-accent-bgColor-rest)}.Primer_Brand__Tabs-module__Tabs--underline___CAXqd .Primer_Brand__Tabs-module__Tabs__slider___tkaHu{border-bottom:var(--brand-borderWidth-thick) solid var(--brand-Tabs-item-underline-rest)}.Primer_Brand__Tabs-module__Tabs__item___4V44f:focus-visible{outline:var(--base-size-2) solid var(--brand-color-focus);outline-offset:var(--base-size-2)}.Primer_Brand__Tabs-module__Tabs__item--active___Guj0b{color:var(--brand-color-text-default)}.Primer_Brand__Tabs-module__Tabs--underline___CAXqd .Primer_Brand__Tabs-module__Tabs__item___4V44f{padding:var(--base-size-8);border-radius:var(--brand-borderRadius-medium)}.Primer_Brand__Tabs-module__Tabs--accent___p1SQc .Primer_Brand__Tabs-module__Tabs__item___4V44f{transition:color var(--brand-animation-duration-faster) ease}.Primer_Brand__Tabs-module__Tabs--accent___p1SQc .Primer_Brand__Tabs-module__Tabs__item--active___Guj0b{color:var(--brand-Tabs-item-accent-fgColor-rest)}.Primer_Brand__Tabs-module__Tabs__panelContainer___WhkhR{margin-top:var(--base-size-16)}.Primer_Brand__Tabs-module__Tabs__panel___UdoZQ{color:var(--brand-color-text-default)}.Primer_Brand__Tabs-module__Tabs__controls___Cg7GX{margin-block-end:var(--base-size-12)}.Primer_Brand__Tabs-module__Tabs__indicator___Tmwuv{width:var(--base-size-6);border-radius:var(--brand-borderRadius-full);background-color:var(--brand-color-text-muted);height:var(--base-size-6);transition:width var(--brand-animation-duration-default) var(--brand-animation-easing-default)}.Primer_Brand__Tabs-module__Tabs__indicator--active___h_TV1{background-color:var(--brand-color-text-default);width:var(--base-size-24)}.Primer_Brand__Tabs-module__Tabs__control___xG_4C{cursor:pointer;height:var(--base-size-24);width:var(--base-size-24);background-color:#0000;border:none;align-content:center;display:flex}.Primer_Brand__Tabs-module__Tabs__control-icon___V9mNe{top:calc(var(--base-size-2) / -2);position:relative;vertical-align:middle!important}@media screen and (width>=48rem){.Primer_Brand__Tabs-module__Tabs__controls___Cg7GX{display:none}.Primer_Brand__Tabs-module__Tabs__item___4V44f{padding-inline:var(--base-size-24)}}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import './Tabs.module-D8VFUDRe.css';var e = {
|
|
2
|
+
Tabs: "Primer_Brand__Tabs-module__Tabs___zia5x",
|
|
3
|
+
"Tabs-container": "Primer_Brand__Tabs-module__Tabs-container___wuq7I",
|
|
4
|
+
"Tabs-container--align-start": "Primer_Brand__Tabs-module__Tabs-container--align-start___n0cXk",
|
|
5
|
+
"Tabs-container--align-center": "Primer_Brand__Tabs-module__Tabs-container--align-center___LjUrd",
|
|
6
|
+
Tablist__wrapper: "Primer_Brand__Tabs-module__Tablist__wrapper___MDIB8",
|
|
7
|
+
"Tablist__wrapper--default": "Primer_Brand__Tabs-module__Tablist__wrapper--default___Wdb55",
|
|
8
|
+
"Tablist__wrapper--accent": "Primer_Brand__Tabs-module__Tablist__wrapper--accent___QV6Jx",
|
|
9
|
+
"Tablist__wrapper--underline": "Primer_Brand__Tabs-module__Tablist__wrapper--underline___IZ_zV",
|
|
10
|
+
"Tablist__wrapper--lastTabIsActive": "Primer_Brand__Tabs-module__Tablist__wrapper--lastTabIsActive___jCePF",
|
|
11
|
+
"Tabs--default": "Primer_Brand__Tabs-module__Tabs--default___MUcm6",
|
|
12
|
+
"Tabs--accent": "Primer_Brand__Tabs-module__Tabs--accent___p1SQc",
|
|
13
|
+
"Tabs--underline": "Primer_Brand__Tabs-module__Tabs--underline___CAXqd",
|
|
14
|
+
Tabs__item: "Primer_Brand__Tabs-module__Tabs__item___4V44f",
|
|
15
|
+
Tabs__slider: "Primer_Brand__Tabs-module__Tabs__slider___tkaHu",
|
|
16
|
+
"Tabs__item--active": "Primer_Brand__Tabs-module__Tabs__item--active___Guj0b",
|
|
17
|
+
Tabs__panelContainer: "Primer_Brand__Tabs-module__Tabs__panelContainer___WhkhR",
|
|
18
|
+
Tabs__panel: "Primer_Brand__Tabs-module__Tabs__panel___UdoZQ",
|
|
19
|
+
Tabs__controls: "Primer_Brand__Tabs-module__Tabs__controls___Cg7GX",
|
|
20
|
+
Tabs__indicator: "Primer_Brand__Tabs-module__Tabs__indicator___Tmwuv",
|
|
21
|
+
"Tabs__indicator--active": "Primer_Brand__Tabs-module__Tabs__indicator--active___h_TV1",
|
|
22
|
+
Tabs__control: "Primer_Brand__Tabs-module__Tabs__control___xG_4C",
|
|
23
|
+
"Tabs__control-icon": "Primer_Brand__Tabs-module__Tabs__control-icon___V9mNe"
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { e as default };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=Tabs.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.module.js","names":[],"sources":["../../src/Tabs/Tabs.module.css"],"sourcesContent":[".Tabs {\n position: relative;\n display: flex;\n gap: var(--base-size-4);\n background-color: var(--brand-color-canvas-backdrop);\n border-radius: var(--brand-borderRadius-large);\n padding: var(--brand-Tabs-container-padding);\n width: fit-content;\n min-height: var(--base-size-48);\n}\n\n.Tabs-container {\n display: grid;\n}\n\n@media screen and (max-width: 48rem) {\n .Tabs-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n position: relative;\n }\n\n .Tabs-container--align-start {\n align-items: flex-start;\n }\n\n .Tabs-container--align-center {\n align-items: center;\n }\n\n .Tablist__wrapper {\n position: relative;\n width: fit-content;\n max-width: 100%;\n overflow: hidden;\n }\n\n .Tablist__wrapper::after {\n content: '';\n position: absolute;\n right: var(--brand-Tabs-list-borderWidth-active);\n top: var(--base-size-2);\n bottom: var(--base-size-2);\n background: linear-gradient(to left, var(--brand-color-canvas-default) 30%, transparent);\n width: var(--base-size-48);\n z-index: 2;\n pointer-events: none;\n transition: opacity var(--brand-animation-duration-default) var(--brand-animation-easing-default),\n visibility var(--brand-animation-duration-default) var(--brand-animation-easing-default);\n opacity: calc(var(--has-overflow, 0) * var(--can-scroll-right, 0));\n border-radius: inherit;\n }\n\n .Tablist__wrapper--default::after,\n .Tablist__wrapper--accent::after {\n border-radius: var(--brand-borderRadius-full);\n }\n\n .Tablist__wrapper--underline::after {\n border-radius: var(--brand-borderRadius-large);\n }\n\n .Tablist__wrapper--lastTabIsActive::after {\n opacity: 0;\n visibility: hidden;\n }\n\n .Tabs {\n max-width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n scrollbar-width: none;\n -ms-overflow-style: none;\n }\n\n .Tabs::-webkit-scrollbar {\n display: none;\n }\n}\n\n.Tabs-container--align-start {\n justify-items: flex-start;\n}\n\n.Tabs-container--align-center {\n justify-items: center;\n}\n\n.Tabs--default,\n.Tabs--accent {\n border: var(--brand-Tabs-list-borderWidth-active) solid var(--brand-color-border-default);\n border-radius: var(--brand-borderRadius-full);\n}\n\n.Tabs--underline {\n gap: var(--base-size-24);\n}\n\n.Tabs__item {\n position: relative;\n z-index: 1;\n border: 0;\n background: transparent;\n cursor: pointer;\n padding: var(--base-size-8) var(--base-size-16);\n border-radius: var(--brand-borderRadius-full);\n transition: color var(--brand-animation-duration-fast) ease-in-out;\n white-space: nowrap;\n font-family: var(--brand-fontStack-sansSerif);\n font-weight: var(--brand-text-weight-600);\n font-size: var(--brand-text-size-100);\n line-height: var(--brand-text-lineHeight-100);\n letter-spacing: var(--brand-text-letterSpacing-100);\n color: var(--brand-color-text-default);\n}\n\n.Tabs__slider {\n position: absolute;\n top: var(--base-size-4);\n bottom: var(--base-size-4);\n transition: all var(--brand-animation-duration-fast) var(--brand-animation-easing-glide);\n z-index: 0;\n transform: translateX(var(--brand-Tabs-slider-x, 0px));\n width: var(--brand-Tabs-slider-width);\n}\n\n.Tabs--default .Tabs__slider {\n border-radius: var(--brand-borderRadius-full);\n border: var(--brand-borderWidth-thin) solid var(--brand-Tabs-item-default-borderColor-active);\n background: var(--brand-Tabs-item-default-bgColor-active);\n}\n\n.Tabs--accent .Tabs__slider {\n border-radius: var(--brand-borderRadius-full);\n border: var(--brand-borderWidth-thin) solid transparent;\n background: var(--brand-Tabs-item-accent-bgColor-rest);\n}\n\n.Tabs--underline .Tabs__slider {\n border-bottom: var(--brand-borderWidth-thick) solid var(--brand-Tabs-item-underline-rest);\n}\n\n.Tabs__item:focus-visible {\n outline: var(--base-size-2) solid var(--brand-color-focus);\n outline-offset: var(--base-size-2);\n}\n\n.Tabs__item--active {\n color: var(--brand-color-text-default);\n}\n\n.Tabs--underline .Tabs__item {\n padding: var(--base-size-8);\n\n border-radius: var(--brand-borderRadius-medium);\n}\n\n.Tabs--accent .Tabs__item {\n transition: color var(--brand-animation-duration-faster) ease;\n}\n\n.Tabs--accent .Tabs__item--active {\n color: var(--brand-Tabs-item-accent-fgColor-rest);\n}\n\n.Tabs__panelContainer {\n margin-top: var(--base-size-16);\n}\n\n.Tabs__panel {\n color: var(--brand-color-text-default);\n}\n\n.Tabs__controls {\n margin-block-end: var(--base-size-12);\n}\n\n.Tabs__indicator {\n width: var(--base-size-6);\n border-radius: var(--brand-borderRadius-full);\n background-color: var(--brand-color-text-muted);\n height: var(--base-size-6);\n transition: width var(--brand-animation-duration-default) var(--brand-animation-easing-default);\n}\n\n.Tabs__indicator--active {\n background-color: var(--brand-color-text-default);\n width: var(--base-size-24);\n}\n\n.Tabs__control {\n background-color: transparent;\n border: none;\n cursor: pointer;\n height: var(--base-size-24);\n width: var(--base-size-24);\n display: flex;\n align-content: center;\n}\n\n.Tabs__control-icon {\n vertical-align: middle !important; /* Required to override dotcom styles */\n position: relative;\n top: calc(var(--base-size-2) / -2);\n}\n\n@media screen and (min-width: 48rem) {\n .Tabs__controls {\n display: none;\n }\n\n .Tabs__item {\n padding-inline: var(--base-size-24);\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Tabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import React, { HTMLAttributes, SVGProps } from 'react';
|
|
2
|
+
import { BaseProps } from '../component-helpers';
|
|
3
|
+
import type { AvatarProps } from '../';
|
|
4
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/testimonial/base.css';
|
|
5
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css';
|
|
6
|
+
type TestimonialSize = 'small' | 'large';
|
|
7
|
+
export declare const TestimonialQuoteMarkColors: readonly ["default", "blue", "coral", "green", "gray", "indigo", "lemon", "lime", "orange", "pink", "purple", "red", "teal", "yellow", "blue-purple", "green-blue", "pink-blue", "purple-red", "red-orange"];
|
|
8
|
+
export declare const defaultQuoteMarkColor: "default";
|
|
9
|
+
export declare const TestimonialVariants: readonly ["subtle", "default", "minimal", "expressive"];
|
|
10
|
+
type TestimonialVariant = (typeof TestimonialVariants)[number];
|
|
11
|
+
export declare const defaultTestimonialVariant: TestimonialVariant;
|
|
12
|
+
export type TestimonialProps = {
|
|
13
|
+
/**
|
|
14
|
+
* Sets alternative appearance for the testimonial
|
|
15
|
+
*/
|
|
16
|
+
variant?: TestimonialVariant;
|
|
17
|
+
/**
|
|
18
|
+
* Applies an optional border where a variant supports it
|
|
19
|
+
*/
|
|
20
|
+
hasBorder?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Valid children include Testimonial.Name, Testimonial.Avatar, and Testimonial.Name
|
|
23
|
+
*/
|
|
24
|
+
children: React.ReactNode | React.ReactElement<QuoteProps> | React.ReactElement<NameProps> | React.ReactElement<AvatarProps> | React.ReactElement<LogoProps>[];
|
|
25
|
+
/**
|
|
26
|
+
* Sets the testimonial text size
|
|
27
|
+
*/
|
|
28
|
+
size?: TestimonialSize;
|
|
29
|
+
/** Sets the color of the quote mark */
|
|
30
|
+
quoteMarkColor?: (typeof TestimonialQuoteMarkColors)[number];
|
|
31
|
+
} & BaseProps<HTMLElement> & React.HTMLAttributes<HTMLElement>;
|
|
32
|
+
/**
|
|
33
|
+
* Testimonial quote child element
|
|
34
|
+
* <Testimonial.Quote>
|
|
35
|
+
*/
|
|
36
|
+
type QuoteProps = React.HTMLAttributes<HTMLElement> & BaseProps<HTMLElement>;
|
|
37
|
+
/**
|
|
38
|
+
* Testimonial name child element
|
|
39
|
+
* <Testimonial.Name>
|
|
40
|
+
*/
|
|
41
|
+
type NameProps = {
|
|
42
|
+
position?: string;
|
|
43
|
+
} & React.HTMLAttributes<HTMLElement> & BaseProps<HTMLElement>;
|
|
44
|
+
/**
|
|
45
|
+
* Testimonial logo child element
|
|
46
|
+
* <Testimonial.Logo>
|
|
47
|
+
*/
|
|
48
|
+
type LogoProps = {
|
|
49
|
+
children: React.ReactElement<SVGProps<SVGSVGElement>> | React.ReactElement<HTMLAttributes<HTMLImageElement>>;
|
|
50
|
+
} & React.HTMLAttributes<HTMLImageElement> & BaseProps<HTMLImageElement>;
|
|
51
|
+
/**
|
|
52
|
+
* Testimonial avatar child element
|
|
53
|
+
* <Testimonial.Avatar>
|
|
54
|
+
*/
|
|
55
|
+
declare function _Avatar({ size, ...rest }: AvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
/**
|
|
57
|
+
* Use Testimonial to display a quote from a customer or user.
|
|
58
|
+
* @see https://primer.style/brand/components/Testimonial
|
|
59
|
+
*/
|
|
60
|
+
export declare const Testimonial: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<TestimonialProps>, "ref"> & React.RefAttributes<unknown>> & {
|
|
61
|
+
Quote: React.ForwardRefExoticComponent<Omit<QuoteProps, "ref"> & React.RefAttributes<unknown>>;
|
|
62
|
+
Name: React.ForwardRefExoticComponent<Omit<NameProps, "ref"> & React.RefAttributes<unknown>>;
|
|
63
|
+
Avatar: typeof _Avatar;
|
|
64
|
+
Logo: React.ForwardRefExoticComponent<Omit<LogoProps, "ref"> & React.RefAttributes<unknown>>;
|
|
65
|
+
Link: React.ForwardRefExoticComponent<{
|
|
66
|
+
size?: typeof import("../Link").LinkSizes[number];
|
|
67
|
+
arrowDirection?: typeof import("../Link").LinkArrowDirections[number];
|
|
68
|
+
isExternal?: boolean;
|
|
69
|
+
variant?: typeof import("../Link").LinkVariants[number];
|
|
70
|
+
} & Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
71
|
+
};
|
|
72
|
+
export {};
|
|
73
|
+
//# sourceMappingURL=Testimonial.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Testimonial.d.ts","sourceRoot":"","sources":["../../src/Testimonial/Testimonial.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,cAAc,EAGd,QAAQ,EAGT,MAAM,OAAO,CAAA;AAEd,OAAO,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAE9C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,KAAK,CAAA;AAGpC,OAAO,kGAAkG,CAAA;AACzG,OAAO,+GAA+G,CAAA;AAKtH,KAAK,eAAe,GAAG,OAAO,GAAG,OAAO,CAAA;AAExC,eAAO,MAAM,0BAA0B,8MAA4C,CAAA;AACnF,eAAO,MAAM,qBAAqB,WAAgC,CAAA;AAElE,eAAO,MAAM,mBAAmB,yDAA0D,CAAA;AAC1F,KAAK,kBAAkB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAA;AAC9D,eAAO,MAAM,yBAAyB,EAAE,kBAA8B,CAAA;AAEtE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAA;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,QAAQ,EACJ,KAAK,CAAC,SAAS,GACf,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAC9B,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,GAC7B,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,GAC/B,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE,CAAA;IACnC;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,uCAAuC;IACvC,cAAc,CAAC,EAAE,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAA;CAC7D,GAAG,SAAS,CAAC,WAAW,CAAC,GACxB,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;AAiFnC;;;GAGG;AACH,KAAK,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,WAAW,CAAC,CAAA;AAY5E;;;GAGG;AACH,KAAK,SAAS,GAAG;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GACnC,SAAS,CAAC,WAAW,CAAC,CAAA;AAmBxB;;;GAGG;AACH,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAA;CAC7G,GAAG,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,GACxC,SAAS,CAAC,gBAAgB,CAAC,CAAA;AAwB7B;;;GAGG;AAEH,iBAAS,OAAO,CAAC,EAAC,IAAI,EAAE,GAAG,IAAI,EAAC,EAAE,WAAW,2CAE5C;AAcD;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;CAMtB,CAAA"}
|