@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TextCursorAnimation/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
export declare enum ColorModesEnum {
|
|
3
|
+
LIGHT = "light",
|
|
4
|
+
DARK = "dark",
|
|
5
|
+
AUTO = "auto"
|
|
6
|
+
}
|
|
7
|
+
export type ColorMode = `${ColorModesEnum}`;
|
|
8
|
+
export type ThemeContextProps = {
|
|
9
|
+
colorMode: ColorMode;
|
|
10
|
+
availableColorModes: ColorModesEnum[];
|
|
11
|
+
};
|
|
12
|
+
export type ThemeProviderProps = {
|
|
13
|
+
colorMode?: ColorMode;
|
|
14
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
15
|
+
export declare const ThemeContext: React.Context<ThemeContextProps>;
|
|
16
|
+
/**
|
|
17
|
+
* ThemeProvider is used to provide theme-related context to its child components.
|
|
18
|
+
*/
|
|
19
|
+
export declare function ThemeProvider({ colorMode, children, ...rest }: PropsWithChildren<ThemeProviderProps>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/ThemeProvider/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA8C,cAAc,EAAE,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAE3G,oBAAY,cAAc;IACxB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,MAAM,SAAS,GAAG,GAAG,cAAc,EAAE,CAAA;AAE3C,MAAM,MAAM,iBAAiB,GAAG;IAI9B,SAAS,EAAE,SAAS,CAAA;IAKpB,mBAAmB,EAAE,cAAc,EAAE,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAA;AAIlC,eAAO,MAAM,YAAY,kCAGvB,CAAA;AAEF;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAC,SAAuB,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,2CAqBhH"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createContext as e, useEffect as t, useMemo as n, useState as r } from "react";
|
|
2
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
+
//#region src/ThemeProvider/ThemeProvider.tsx
|
|
4
|
+
var a = /* @__PURE__ */ function(e) {
|
|
5
|
+
return e.LIGHT = "light", e.DARK = "dark", e.AUTO = "auto", e;
|
|
6
|
+
}({}), o = a.LIGHT, s = e({
|
|
7
|
+
colorMode: o,
|
|
8
|
+
availableColorModes: Object.values(a)
|
|
9
|
+
});
|
|
10
|
+
function c({ colorMode: e = o, children: c, ...l }) {
|
|
11
|
+
let [f, p] = r(e), m = n(() => Object.values(a), []);
|
|
12
|
+
return t(() => (e === a.AUTO ? p(u()) : f !== e && p(e), d(p)), [
|
|
13
|
+
e,
|
|
14
|
+
f,
|
|
15
|
+
p
|
|
16
|
+
]), /* @__PURE__ */ i(s.Provider, {
|
|
17
|
+
value: {
|
|
18
|
+
colorMode: f,
|
|
19
|
+
availableColorModes: m
|
|
20
|
+
},
|
|
21
|
+
children: /* @__PURE__ */ i("div", {
|
|
22
|
+
"data-color-mode": f,
|
|
23
|
+
...l,
|
|
24
|
+
children: c
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
var l = () => window.matchMedia(`(prefers-color-scheme: ${a.DARK})`), u = () => l().matches ? a.DARK : a.LIGHT, d = (e) => {
|
|
29
|
+
let t = l(), n = (t) => e(t.matches ? a.DARK : a.LIGHT);
|
|
30
|
+
return t.addEventListener("change", n), () => t.removeEventListener("change", n);
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { a as ColorModesEnum, s as ThemeContext, c as ThemeProvider };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.js","names":[],"sources":["../../src/ThemeProvider/ThemeProvider.tsx"],"sourcesContent":["import React, {useState, useMemo, useEffect, createContext, HTMLAttributes, PropsWithChildren} from 'react'\n\nexport enum ColorModesEnum {\n LIGHT = 'light',\n DARK = 'dark',\n AUTO = 'auto',\n}\n\nexport type ColorMode = `${ColorModesEnum}`\n\nexport type ThemeContextProps = {\n /*\n * The active color mode of the parent ThemeProvider.\n */\n colorMode: ColorMode\n\n /*\n * List of available color modes.\n */\n availableColorModes: ColorModesEnum[]\n}\n\nexport type ThemeProviderProps = {\n colorMode?: ColorMode\n} & HTMLAttributes<HTMLDivElement>\n\nconst defaultMode = ColorModesEnum.LIGHT\n\nexport const ThemeContext = createContext<ThemeContextProps>({\n colorMode: defaultMode,\n availableColorModes: Object.values(ColorModesEnum),\n})\n\n/**\n * ThemeProvider is used to provide theme-related context to its child components.\n */\nexport function ThemeProvider({colorMode = defaultMode, children, ...rest}: PropsWithChildren<ThemeProviderProps>) {\n const [activeMode, setActiveMode] = useState(colorMode)\n const availableColorModes = useMemo(() => Object.values(ColorModesEnum), [])\n\n useEffect(() => {\n if (colorMode === ColorModesEnum.AUTO) {\n setActiveMode(getActiveAutoMode())\n } else if (activeMode !== colorMode) {\n setActiveMode(colorMode)\n }\n\n return handleSystemPreferenceChange(setActiveMode)\n }, [colorMode, activeMode, setActiveMode])\n\n return (\n <ThemeContext.Provider value={{colorMode: activeMode, availableColorModes}}>\n <div data-color-mode={activeMode} {...rest}>\n {children}\n </div>\n </ThemeContext.Provider>\n )\n}\n\nconst queryBrowserPreference = () => window.matchMedia(`(prefers-color-scheme: ${ColorModesEnum.DARK})`)\n\nconst getActiveAutoMode = () => {\n const mediaQueryList: MediaQueryList = queryBrowserPreference()\n return mediaQueryList.matches ? ColorModesEnum.DARK : ColorModesEnum.LIGHT\n}\n\nconst handleSystemPreferenceChange = callback => {\n const mediaQueryList = queryBrowserPreference()\n const changeHandler = event => callback(event.matches ? ColorModesEnum.DARK : ColorModesEnum.LIGHT)\n mediaQueryList.addEventListener('change', changeHandler)\n return () => mediaQueryList.removeEventListener('change', changeHandler)\n}\n"],"mappings":";;;AAEA,IAAY,IAAL,yBAAA,GAAA;QACL,EAAA,QAAQ,SACR,EAAA,OAAO,QACP,EAAA,OAAO;KACR,EAoBK,IAAc,EAAe,OAEtB,IAAe,EAAiC;CAC3D,WAAW;CACX,qBAAqB,OAAO,OAAO,EAAe;CACnD,CAAC;AAKF,SAAgB,EAAc,EAAC,eAAY,GAAa,aAAU,GAAG,KAA8C;CACjH,IAAM,CAAC,GAAY,KAAiB,EAAS,EAAU,EACjD,IAAsB,QAAc,OAAO,OAAO,EAAe,EAAE,EAAE,CAAC;AAY5E,QAVA,SACM,MAAc,EAAe,OAC/B,EAAc,GAAmB,CAAC,GACzB,MAAe,KACxB,EAAc,EAAU,EAGnB,EAA6B,EAAc,GACjD;EAAC;EAAW;EAAY;EAAc,CAAC,EAGxC,kBAAC,EAAa,UAAd;EAAuB,OAAO;GAAC,WAAW;GAAY;GAAoB;YACxE,kBAAC,OAAD;GAAK,mBAAiB;GAAY,GAAI;GACnC;GACG,CAAA;EACgB,CAAA;;AAI5B,IAAM,UAA+B,OAAO,WAAW,0BAA0B,EAAe,KAAK,GAAG,EAElG,UACmC,GAChC,CAAe,UAAU,EAAe,OAAO,EAAe,OAGjE,KAA+B,MAAY;CAC/C,IAAM,IAAiB,GAAwB,EACzC,KAAgB,MAAS,EAAS,EAAM,UAAU,EAAe,OAAO,EAAe,MAAM;AAEnG,QADA,EAAe,iBAAiB,UAAU,EAAc,QAC3C,EAAe,oBAAoB,UAAU,EAAc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ThemeProvider/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/ThemeProvider/useTheme.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,mDAAiC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.js","names":[],"sources":["../../src/ThemeProvider/useTheme.ts"],"sourcesContent":["import {useContext} from 'react'\nimport {ThemeContext} from './ThemeProvider'\n\nexport const useTheme = () => useContext(ThemeContext)\n"],"mappings":";;;AAGA,IAAa,UAAiB,EAAW,EAAa"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BaseProps } from '../component-helpers';
|
|
3
|
+
/** * Design Tokens */
|
|
4
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css';
|
|
5
|
+
type TilesVariant = 'default' | 'gridlines';
|
|
6
|
+
type TilesLayout = 'default' | 'compact';
|
|
7
|
+
export type TilesProps = {
|
|
8
|
+
/**
|
|
9
|
+
* The visual variant of the Tiles component.
|
|
10
|
+
*/
|
|
11
|
+
variant?: TilesVariant;
|
|
12
|
+
/**
|
|
13
|
+
* The layout density of the Tiles grid.
|
|
14
|
+
*/
|
|
15
|
+
layout?: TilesLayout;
|
|
16
|
+
/**
|
|
17
|
+
* Test id for the root Tiles element.
|
|
18
|
+
*/
|
|
19
|
+
'data-testid'?: string;
|
|
20
|
+
} & BaseProps<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>;
|
|
21
|
+
export type TilesItemProps = {
|
|
22
|
+
/**
|
|
23
|
+
* The accessible name for the tile item.
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* Optional URL to link the tile to.
|
|
28
|
+
*/
|
|
29
|
+
href?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Test id for the tile item element.
|
|
32
|
+
*/
|
|
33
|
+
'data-testid'?: string;
|
|
34
|
+
} & BaseProps<HTMLLIElement> & Omit<React.HTMLAttributes<HTMLLIElement>, 'children'> & {
|
|
35
|
+
children: React.ReactNode;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Use Tiles to display a grid of logos or icons with optional links.
|
|
39
|
+
* @see https://primer.style/brand/components/Tiles
|
|
40
|
+
*/
|
|
41
|
+
export declare const Tiles: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<TilesProps>, "ref"> & React.RefAttributes<HTMLDivElement>> & {
|
|
42
|
+
Item: React.ForwardRefExoticComponent<Omit<TilesItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
43
|
+
testIds: {
|
|
44
|
+
root: string;
|
|
45
|
+
readonly grid: string;
|
|
46
|
+
readonly item: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export {};
|
|
50
|
+
//# sourceMappingURL=Tiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tiles.d.ts","sourceRoot":"","sources":["../../src/Tiles/Tiles.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgF,MAAM,OAAO,CAAA;AAEpG,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAGnD,sBAAsB;AACtB,OAAO,yGAAyG,CAAA;AAehH,KAAK,YAAY,GAAG,SAAS,GAAG,WAAW,CAAA;AAE3C,KAAK,WAAW,GAAG,SAAS,GAAG,SAAS,CAAA;AAIxC,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,GAAG,SAAS,CAAC,cAAc,CAAC,GAC3B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAA;AAoCtC,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,GAAG,SAAS,CAAC,aAAa,CAAC,GAC1B,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,GAAG;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,CAAA;AAoCH;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;;;;CAGhB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tiles.fixtures.d.ts","sourceRoot":"","sources":["../../src/Tiles/Tiles.fixtures.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;CAAC,CAyCjF,CAAA"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import e from "../node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { Text as t } from "../Text/Text.js";
|
|
3
|
+
import { ArrowUpRightIcon as n } from "../node_modules/@primer/octicons-react/dist/index.esm.js";
|
|
4
|
+
import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes-DTTqGOfy.css';/* empty css */
|
|
5
|
+
import r from "./Tiles.module.js";
|
|
6
|
+
import { createContext as i, forwardRef as a, useContext as o } from "react";
|
|
7
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
|
+
//#region src/Tiles/Tiles.tsx
|
|
9
|
+
var l = {
|
|
10
|
+
root: "Tiles",
|
|
11
|
+
get grid() {
|
|
12
|
+
return `${this.root}-grid`;
|
|
13
|
+
},
|
|
14
|
+
get item() {
|
|
15
|
+
return `${this.root}-item`;
|
|
16
|
+
}
|
|
17
|
+
}, u = i("default"), d = a(({ variant: t = "default", layout: n = "default", children: i, className: a, "data-testid": o, ...c }, d) => /* @__PURE__ */ s(u.Provider, {
|
|
18
|
+
value: n,
|
|
19
|
+
children: /* @__PURE__ */ s("div", {
|
|
20
|
+
ref: d,
|
|
21
|
+
className: e(r.Tiles, r[`Tiles--variant-${t}`], r[`Tiles--layout-${n}`], a),
|
|
22
|
+
"data-testid": o || l.root,
|
|
23
|
+
...c,
|
|
24
|
+
children: /* @__PURE__ */ s("ul", {
|
|
25
|
+
className: r["Tiles-grid"],
|
|
26
|
+
"data-testid": l.grid,
|
|
27
|
+
children: i
|
|
28
|
+
})
|
|
29
|
+
})
|
|
30
|
+
})), f = a(({ name: i, href: a, children: d, className: f, "data-testid": p, ...m }, h) => {
|
|
31
|
+
let g = o(u), _ = !!a, v = g === "compact" && !_, y = /* @__PURE__ */ c("span", {
|
|
32
|
+
className: r["Tiles-item-content"],
|
|
33
|
+
children: [/* @__PURE__ */ s("span", {
|
|
34
|
+
className: r["Tiles-item-media"],
|
|
35
|
+
"aria-hidden": "true",
|
|
36
|
+
children: d
|
|
37
|
+
}), /* @__PURE__ */ c("span", {
|
|
38
|
+
className: e(r["Tiles-item-label"], v && "visually-hidden"),
|
|
39
|
+
children: [/* @__PURE__ */ s(t, {
|
|
40
|
+
as: "span",
|
|
41
|
+
size: "100",
|
|
42
|
+
className: r["Tiles-item-name"],
|
|
43
|
+
children: i
|
|
44
|
+
}), _ && /* @__PURE__ */ s(n, {
|
|
45
|
+
size: 16,
|
|
46
|
+
className: r["Tiles-item-icon"],
|
|
47
|
+
"aria-hidden": "true"
|
|
48
|
+
})]
|
|
49
|
+
})]
|
|
50
|
+
});
|
|
51
|
+
return /* @__PURE__ */ s("li", {
|
|
52
|
+
ref: h,
|
|
53
|
+
className: e(r["Tiles-item"], f),
|
|
54
|
+
"data-testid": p || l.item,
|
|
55
|
+
...m,
|
|
56
|
+
children: _ ? /* @__PURE__ */ s("a", {
|
|
57
|
+
href: a,
|
|
58
|
+
className: r["Tiles-item-link"],
|
|
59
|
+
children: y
|
|
60
|
+
}) : y
|
|
61
|
+
});
|
|
62
|
+
}), p = Object.assign(d, {
|
|
63
|
+
Item: f,
|
|
64
|
+
testIds: l
|
|
65
|
+
});
|
|
66
|
+
//#endregion
|
|
67
|
+
export { p as Tiles };
|
|
68
|
+
|
|
69
|
+
//# sourceMappingURL=Tiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tiles.js","names":[],"sources":["../../src/Tiles/Tiles.tsx"],"sourcesContent":["import {clsx} from 'clsx'\nimport React, {createContext, forwardRef, type PropsWithChildren, type Ref, useContext} from 'react'\nimport {ArrowUpRightIcon} from '@primer/octicons-react'\nimport type {BaseProps} from '../component-helpers'\nimport {Text} from '../Text'\n\n/** * Design Tokens */\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css'\n\n/** * Main Stylesheet (as a CSS Module) */\nimport styles from './Tiles.module.css'\n\nconst testIds = {\n root: 'Tiles',\n get grid() {\n return `${this.root}-grid`\n },\n get item() {\n return `${this.root}-item`\n },\n}\n\ntype TilesVariant = 'default' | 'gridlines'\n\ntype TilesLayout = 'default' | 'compact'\n\nconst TilesContext = createContext<TilesLayout>('default')\n\nexport type TilesProps = {\n /**\n * The visual variant of the Tiles component.\n */\n variant?: TilesVariant\n /**\n * The layout density of the Tiles grid.\n */\n layout?: TilesLayout\n /**\n * Test id for the root Tiles element.\n */\n 'data-testid'?: string\n} & BaseProps<HTMLDivElement> &\n React.HTMLAttributes<HTMLDivElement>\n\nconst TilesRoot = forwardRef(\n (\n {\n variant = 'default',\n layout = 'default',\n children,\n className,\n 'data-testid': testId,\n ...rest\n }: PropsWithChildren<TilesProps>,\n ref: Ref<HTMLDivElement>,\n ) => {\n return (\n <TilesContext.Provider value={layout}>\n <div\n ref={ref}\n className={clsx(\n styles.Tiles,\n styles[`Tiles--variant-${variant}`],\n styles[`Tiles--layout-${layout}`],\n className,\n )}\n data-testid={testId || testIds.root}\n {...rest}\n >\n <ul className={styles['Tiles-grid']} data-testid={testIds.grid}>\n {children}\n </ul>\n </div>\n </TilesContext.Provider>\n )\n },\n)\n\nexport type TilesItemProps = {\n /**\n * The accessible name for the tile item.\n */\n name: string\n /**\n * Optional URL to link the tile to.\n */\n href?: string\n /**\n * Test id for the tile item element.\n */\n 'data-testid'?: string\n} & BaseProps<HTMLLIElement> &\n Omit<React.HTMLAttributes<HTMLLIElement>, 'children'> & {\n children: React.ReactNode\n }\n\nconst _Item = forwardRef(\n ({name, href, children, className, 'data-testid': testId, ...rest}: TilesItemProps, ref: Ref<HTMLLIElement>) => {\n const layout = useContext(TilesContext)\n const hasLink = Boolean(href)\n const isLabelHidden = layout === 'compact' && !hasLink\n\n const content = (\n <span className={styles['Tiles-item-content']}>\n <span className={styles['Tiles-item-media']} aria-hidden=\"true\">\n {children}\n </span>\n <span className={clsx(styles['Tiles-item-label'], isLabelHidden && 'visually-hidden')}>\n <Text as=\"span\" size=\"100\" className={styles['Tiles-item-name']}>\n {name}\n </Text>\n {hasLink && <ArrowUpRightIcon size={16} className={styles['Tiles-item-icon']} aria-hidden=\"true\" />}\n </span>\n </span>\n )\n\n return (\n <li ref={ref} className={clsx(styles['Tiles-item'], className)} data-testid={testId || testIds.item} {...rest}>\n {hasLink ? (\n <a href={href} className={styles['Tiles-item-link']}>\n {content}\n </a>\n ) : (\n content\n )}\n </li>\n )\n },\n)\n\n/**\n * Use Tiles to display a grid of logos or icons with optional links.\n * @see https://primer.style/brand/components/Tiles\n */\nexport const Tiles = Object.assign(TilesRoot, {\n Item: _Item,\n testIds,\n})\n"],"mappings":";;;;;;;;AAYA,IAAM,IAAU;CACd,MAAM;CACN,IAAI,OAAO;AACT,SAAO,GAAG,KAAK,KAAK;;CAEtB,IAAI,OAAO;AACT,SAAO,GAAG,KAAK,KAAK;;CAEvB,EAMK,IAAe,EAA2B,UAAU,EAkBpD,IAAY,GAEd,EACE,aAAU,WACV,YAAS,WACT,aACA,cACA,eAAe,GACf,GAAG,KAEL,MAGE,kBAAC,EAAa,UAAd;CAAuB,OAAO;WAC5B,kBAAC,OAAD;EACO;EACL,WAAW,EACT,EAAO,OACP,EAAO,kBAAkB,MACzB,EAAO,iBAAiB,MACxB,EACD;EACD,eAAa,KAAU,EAAQ;EAC/B,GAAI;YAEJ,kBAAC,MAAD;GAAI,WAAW,EAAO;GAAe,eAAa,EAAQ;GACvD;GACE,CAAA;EACD,CAAA;CACgB,CAAA,CAG7B,EAoBK,IAAQ,GACX,EAAC,SAAM,SAAM,aAAU,cAAW,eAAe,GAAQ,GAAG,KAAuB,MAA4B;CAC9G,IAAM,IAAS,EAAW,EAAa,EACjC,IAAU,EAAQ,GAClB,IAAgB,MAAW,aAAa,CAAC,GAEzC,IACJ,kBAAC,QAAD;EAAM,WAAW,EAAO;YAAxB,CACE,kBAAC,QAAD;GAAM,WAAW,EAAO;GAAqB,eAAY;GACtD;GACI,CAAA,EACP,kBAAC,QAAD;GAAM,WAAW,EAAK,EAAO,qBAAqB,KAAiB,kBAAkB;aAArF,CACE,kBAAC,GAAD;IAAM,IAAG;IAAO,MAAK;IAAM,WAAW,EAAO;cAC1C;IACI,CAAA,EACN,KAAW,kBAAC,GAAD;IAAkB,MAAM;IAAI,WAAW,EAAO;IAAoB,eAAY;IAAS,CAAA,CAC9F;KACF;;AAGT,QACE,kBAAC,MAAD;EAAS;EAAK,WAAW,EAAK,EAAO,eAAe,EAAU;EAAE,eAAa,KAAU,EAAQ;EAAM,GAAI;YACtG,IACC,kBAAC,KAAD;GAAS;GAAM,WAAW,EAAO;aAC9B;GACC,CAAA,GAEJ;EAEC,CAAA;EAGV,EAMY,IAAQ,OAAO,OAAO,GAAW;CAC5C,MAAM;CACN;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Primer_Brand__Tiles-module__Tiles___RhWBm{width:100%;color:var(--brand-color-text-default)}.Primer_Brand__Tiles-module__Tiles-grid___lAoQw{--tiles-columns:2;flex-wrap:wrap;justify-content:center;margin:0;padding:0;list-style:none;display:flex}@media screen and (width>=48rem){.Primer_Brand__Tiles-module__Tiles--layout-default___szHFY .Primer_Brand__Tiles-module__Tiles-grid___lAoQw{--tiles-columns:4}}@media screen and (width>=63.25rem){.Primer_Brand__Tiles-module__Tiles--layout-default___szHFY .Primer_Brand__Tiles-module__Tiles-grid___lAoQw{--tiles-columns:6}}@media screen and (width>=48rem){.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-grid___lAoQw{--tiles-columns:4}}@media screen and (width>=63.25rem){.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-grid___lAoQw{--tiles-columns:8}}.Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP{position:relative}.Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP:before,.Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP:after{content:"";border-top:var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);width:100vw;height:0;position:absolute;left:50%;transform:translate(-50%)}.Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP:before{top:0}.Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP:after{bottom:0}.Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP .Primer_Brand__Tiles-module__Tiles-grid___lAoQw{padding-right:var(--brand-borderWidth-thin);padding-bottom:var(--brand-borderWidth-thin);position:relative}.Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP .Primer_Brand__Tiles-module__Tiles-grid___lAoQw:before,.Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP .Primer_Brand__Tiles-module__Tiles-grid___lAoQw:after{content:"";border-left:var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);z-index:1;pointer-events:none;width:0;position:absolute;top:0;bottom:0}.Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP .Primer_Brand__Tiles-module__Tiles-grid___lAoQw:before{left:0}.Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP .Primer_Brand__Tiles-module__Tiles-grid___lAoQw:after{right:0}.Primer_Brand__Tiles-module__Tiles-item___YlnUj{--tiles-inset-shadow:inset 0 0 0 transparent;width:calc(100% / var(--tiles-columns));box-sizing:border-box;background-color:var(--brand-tiles-bgColor-rest);border-top:var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);border-left:var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);box-shadow:var(--brand-borderWidth-thin) 0 0 0 var(--brand-color-border-muted), 0 var(--brand-borderWidth-thin) 0 0 var(--brand-color-border-muted), inset 0 0 0 transparent;box-shadow:var(--brand-borderWidth-thin) 0 0 0 var(--brand-color-border-muted), 0 var(--brand-borderWidth-thin) 0 0 var(--brand-color-border-muted), var(--tiles-inset-shadow);transition:background-color var(--brand-animation-duration-faster) var(--brand-animation-easing-default), box-shadow var(--brand-animation-duration-faster) var(--brand-animation-easing-default);flex-direction:column;display:flex;position:relative}:is(.Primer_Brand__Tiles-module__Tiles-item___YlnUj:has(.Primer_Brand__Tiles-module__Tiles-item-link___NcK69):hover,.Primer_Brand__Tiles-module__Tiles-item___YlnUj:has(.Primer_Brand__Tiles-module__Tiles-item-link___NcK69):focus-within){--tiles-inset-shadow:inset 0 var(--base-size-2) 0 var(--brand-tiles-highlightColor);background-color:var(--brand-tiles-bgColor-hover)}.Primer_Brand__Tiles-module__Tiles-item-link___NcK69{width:100%;color:inherit;flex:1;-webkit-text-decoration:none;text-decoration:none;display:flex}.Primer_Brand__Tiles-module__Tiles-item-link___NcK69:focus-visible{outline:var(--base-size-4) solid var(--brand-color-focus);outline-offset:calc(-1 * var(--base-size-4));border-radius:var(--brand-borderRadius-small)}.Primer_Brand__Tiles-module__Tiles-item-content___YIq8M{aspect-ratio:1;justify-content:center;align-items:center;width:100%;display:flex;position:relative}.Primer_Brand__Tiles-module__Tiles-item-media___QH9l2{justify-content:center;align-items:center;display:flex}.Primer_Brand__Tiles-module__Tiles-item-media___QH9l2 svg,.Primer_Brand__Tiles-module__Tiles-item-media___QH9l2 img{width:auto;height:var(--base-size-40);max-width:100%}.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-item-media___QH9l2 svg,.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-item-media___QH9l2 img{height:var(--base-size-32)}.Primer_Brand__Tiles-module__Tiles-item-label___L9BIA{justify-content:space-between;align-items:center;gap:var(--base-size-4);padding:var(--base-size-12) var(--base-size-16);display:flex;position:absolute;bottom:0;left:0;right:0}.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-item-media___QH9l2{transition:transform var(--brand-animation-duration-fast) var(--brand-animation-easing-default)}.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-item-link___NcK69:hover .Primer_Brand__Tiles-module__Tiles-item-media___QH9l2,.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-item-link___NcK69:focus-visible .Primer_Brand__Tiles-module__Tiles-item-media___QH9l2{transform:translateY(calc(-1 * var(--base-size-4)))}.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-item-label___L9BIA{opacity:0;transform:translateY(var(--base-size-4));transition:opacity var(--brand-animation-duration-fast) var(--brand-animation-easing-default), transform var(--brand-animation-duration-fast) var(--brand-animation-easing-default);pointer-events:none}.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-item-link___NcK69:hover .Primer_Brand__Tiles-module__Tiles-item-label___L9BIA,.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-item-link___NcK69:focus-visible .Primer_Brand__Tiles-module__Tiles-item-label___L9BIA{opacity:1;transform:translateY(0)}.Primer_Brand__Tiles-module__Tiles-item-name___47ZMU{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.Primer_Brand__Tiles-module__Tiles-item-icon___2Hu6M{color:var(--brand-color-text-default);flex-shrink:0}@media (prefers-reduced-motion:reduce){.Primer_Brand__Tiles-module__Tiles-item___YlnUj,.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-item-media___QH9l2,.Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD .Primer_Brand__Tiles-module__Tiles-item-label___L9BIA{transition:none}}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import './Tiles.module-D7UJKhKM.css';var e = {
|
|
2
|
+
Tiles: "Primer_Brand__Tiles-module__Tiles___RhWBm",
|
|
3
|
+
"Tiles-grid": "Primer_Brand__Tiles-module__Tiles-grid___lAoQw",
|
|
4
|
+
"Tiles--layout-default": "Primer_Brand__Tiles-module__Tiles--layout-default___szHFY",
|
|
5
|
+
"Tiles--layout-compact": "Primer_Brand__Tiles-module__Tiles--layout-compact___HBisD",
|
|
6
|
+
"Tiles--variant-gridlines": "Primer_Brand__Tiles-module__Tiles--variant-gridlines___6CsMP",
|
|
7
|
+
"Tiles-item": "Primer_Brand__Tiles-module__Tiles-item___YlnUj",
|
|
8
|
+
"Tiles-item-link": "Primer_Brand__Tiles-module__Tiles-item-link___NcK69",
|
|
9
|
+
"Tiles-item-content": "Primer_Brand__Tiles-module__Tiles-item-content___YIq8M",
|
|
10
|
+
"Tiles-item-media": "Primer_Brand__Tiles-module__Tiles-item-media___QH9l2",
|
|
11
|
+
"Tiles-item-label": "Primer_Brand__Tiles-module__Tiles-item-label___L9BIA",
|
|
12
|
+
"Tiles-item-name": "Primer_Brand__Tiles-module__Tiles-item-name___47ZMU",
|
|
13
|
+
"Tiles-item-icon": "Primer_Brand__Tiles-module__Tiles-item-icon___2Hu6M"
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { e as default };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=Tiles.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tiles.module.js","names":[],"sources":["../../src/Tiles/Tiles.module.css"],"sourcesContent":[".Tiles {\n width: 100%;\n color: var(--brand-color-text-default);\n}\n\n.Tiles-grid {\n --tiles-columns: 2;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n@media screen and (min-width: 48rem) {\n .Tiles--layout-default .Tiles-grid {\n --tiles-columns: 4;\n }\n}\n\n@media screen and (min-width: 63.25rem) {\n .Tiles--layout-default .Tiles-grid {\n --tiles-columns: 6;\n }\n}\n\n@media screen and (min-width: 48rem) {\n .Tiles--layout-compact .Tiles-grid {\n --tiles-columns: 4;\n }\n}\n\n@media screen and (min-width: 63.25rem) {\n .Tiles--layout-compact .Tiles-grid {\n --tiles-columns: 8;\n }\n}\n\n.Tiles--variant-gridlines {\n position: relative;\n}\n\n.Tiles--variant-gridlines::before,\n.Tiles--variant-gridlines::after {\n content: '';\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n width: 100vw;\n height: 0;\n border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n}\n\n.Tiles--variant-gridlines::before {\n top: 0;\n}\n\n.Tiles--variant-gridlines::after {\n bottom: 0;\n}\n\n.Tiles--variant-gridlines .Tiles-grid {\n position: relative;\n padding-right: var(--brand-borderWidth-thin);\n padding-bottom: var(--brand-borderWidth-thin);\n}\n\n.Tiles--variant-gridlines .Tiles-grid::before,\n.Tiles--variant-gridlines .Tiles-grid::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n width: 0;\n border-left: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n z-index: 1;\n pointer-events: none;\n}\n\n.Tiles--variant-gridlines .Tiles-grid::before {\n left: 0;\n}\n\n.Tiles--variant-gridlines .Tiles-grid::after {\n right: 0;\n}\n\n.Tiles-item {\n --tiles-inset-shadow: inset 0 0 0 transparent;\n position: relative;\n display: flex;\n flex-direction: column;\n width: calc(100% / var(--tiles-columns));\n box-sizing: border-box;\n background-color: var(--brand-tiles-bgColor-rest);\n border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n border-left: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n box-shadow: var(--brand-borderWidth-thin) 0 0 0 var(--brand-color-border-muted),\n 0 var(--brand-borderWidth-thin) 0 0 var(--brand-color-border-muted), var(--tiles-inset-shadow);\n transition: background-color var(--brand-animation-duration-faster) var(--brand-animation-easing-default),\n box-shadow var(--brand-animation-duration-faster) var(--brand-animation-easing-default);\n}\n\n.Tiles-item:has(.Tiles-item-link):hover,\n.Tiles-item:has(.Tiles-item-link):focus-within {\n --tiles-inset-shadow: inset 0 var(--base-size-2) 0 var(--brand-tiles-highlightColor);\n background-color: var(--brand-tiles-bgColor-hover);\n}\n\n.Tiles-item-link {\n display: flex;\n width: 100%;\n flex: 1;\n text-decoration: none;\n color: inherit;\n}\n\n.Tiles-item-link:focus-visible {\n outline: var(--base-size-4) solid var(--brand-color-focus);\n outline-offset: calc(-1 * var(--base-size-4));\n border-radius: var(--brand-borderRadius-small);\n}\n\n.Tiles-item-content {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n aspect-ratio: 1;\n}\n\n.Tiles-item-media {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.Tiles-item-media svg,\n.Tiles-item-media img {\n width: auto;\n height: var(--base-size-40);\n max-width: 100%;\n}\n\n.Tiles--layout-compact .Tiles-item-media svg,\n.Tiles--layout-compact .Tiles-item-media img {\n height: var(--base-size-32);\n}\n\n.Tiles-item-label {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--base-size-4);\n padding: var(--base-size-12) var(--base-size-16);\n}\n\n.Tiles--layout-compact .Tiles-item-media {\n transition: transform var(--brand-animation-duration-fast) var(--brand-animation-easing-default);\n}\n\n.Tiles--layout-compact .Tiles-item-link:hover .Tiles-item-media,\n.Tiles--layout-compact .Tiles-item-link:focus-visible .Tiles-item-media {\n transform: translateY(calc(-1 * var(--base-size-4)));\n}\n\n.Tiles--layout-compact .Tiles-item-label {\n opacity: 0;\n transform: translateY(var(--base-size-4));\n transition: opacity var(--brand-animation-duration-fast) var(--brand-animation-easing-default),\n transform var(--brand-animation-duration-fast) var(--brand-animation-easing-default);\n pointer-events: none;\n}\n\n.Tiles--layout-compact .Tiles-item-link:hover .Tiles-item-label,\n.Tiles--layout-compact .Tiles-item-link:focus-visible .Tiles-item-label {\n opacity: 1;\n transform: translateY(0);\n}\n\n.Tiles-item-name {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n}\n\n.Tiles-item-icon {\n flex-shrink: 0;\n color: var(--brand-color-text-default);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .Tiles-item {\n transition: none;\n }\n\n .Tiles--layout-compact .Tiles-item-media {\n transition: none;\n }\n\n .Tiles--layout-compact .Tiles-item-label {\n transition: none;\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Tiles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { BaseProps } from '../component-helpers';
|
|
3
|
+
/**
|
|
4
|
+
* Design tokens
|
|
5
|
+
*/
|
|
6
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css';
|
|
7
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/timeline/base.css';
|
|
8
|
+
export type TimelineProps = {
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
} & BaseProps<HTMLUListElement>;
|
|
11
|
+
export type TimelineItemProps = BaseProps<HTMLLIElement>;
|
|
12
|
+
/**
|
|
13
|
+
* Use Timeline to display a list of connected items as a vertical timeline.
|
|
14
|
+
* @see https://primer.style/brand/components/Timeline
|
|
15
|
+
*/
|
|
16
|
+
export declare const Timeline: (({ animate, className, children, fullWidth, ...rest }: PropsWithChildren<TimelineProps>) => import("react/jsx-runtime").JSX.Element) & {
|
|
17
|
+
Item: ({ className, children, ...rest }: PropsWithChildren<TimelineItemProps>) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=Timeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../src/Timeline/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAC,iBAAiB,EAAuB,MAAM,OAAO,CAAA;AAGpE,OAAO,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAI9C;;GAEG;AACH,OAAO,4GAA4G,CAAA;AACnH,OAAO,+FAA+F,CAAA;AAEtG,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,GAAG,SAAS,CAAC,gBAAgB,CAAC,CAAA;AAmB/B,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,aAAa,CAAC,CAAA;AAwBxD;;;GAGG;AACH,eAAO,MAAM,QAAQ,0DA7C6D,iBAAiB,CAAC,aAAa,CAAC;6CAmBpE,iBAAiB,CAAC,iBAAiB,CAAC;CA4BhF,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import e from "../node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { useAnimation as t } from "../animation/useAnimation.js";
|
|
3
|
+
import { Text as n } from "../Text/Text.js";
|
|
4
|
+
import r from "./Timeline.module.js";
|
|
5
|
+
import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes-DDIdeMJX.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/base-CXOJfjx4.css';/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
import i, { useCallback as a, useMemo as o } from "react";
|
|
8
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
9
|
+
var c = Object.assign(({ animate: n, className: i, children: a, fullWidth: o = !1, ...c }) => {
|
|
10
|
+
let { classes: l, styles: u } = t(n);
|
|
11
|
+
return /* @__PURE__ */ s("ul", {
|
|
12
|
+
className: e(l, r.Timeline, o && r["Timeline--full-width"], i),
|
|
13
|
+
style: { ...u },
|
|
14
|
+
...c,
|
|
15
|
+
children: a
|
|
16
|
+
});
|
|
17
|
+
}, { Item: ({ className: t, children: c, ...l }) => {
|
|
18
|
+
let u = e(r.Timeline__item, t), d = o(() => i.Children.toArray(c), [c]), f = a(() => d.some((e) => i.isValidElement(e) && (e.type === "b" || e.type === "em")) ? "muted" : "default", [d]), p = d.length === 1 ? "default" : f();
|
|
19
|
+
return /* @__PURE__ */ s("li", {
|
|
20
|
+
className: u,
|
|
21
|
+
...l,
|
|
22
|
+
children: /* @__PURE__ */ s(n, {
|
|
23
|
+
className: r["Timeline__item-text"],
|
|
24
|
+
size: "200",
|
|
25
|
+
variant: p,
|
|
26
|
+
children: c
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
} });
|
|
30
|
+
//#endregion
|
|
31
|
+
export { c as Timeline };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=Timeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.js","names":[],"sources":["../../src/Timeline/Timeline.tsx"],"sourcesContent":["import React, {PropsWithChildren, useMemo, useCallback} from 'react'\nimport {clsx} from 'clsx'\nimport styles from './Timeline.module.css'\nimport {BaseProps} from '../component-helpers'\nimport {useAnimation} from '../animation'\nimport {Text} from '../Text'\n\n/**\n * Design tokens\n */\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/timeline/base.css'\n\nexport type TimelineProps = {\n fullWidth?: boolean\n} & BaseProps<HTMLUListElement>\n\nconst TimelineBase = ({animate, className, children, fullWidth = false, ...rest}: PropsWithChildren<TimelineProps>) => {\n const {classes: animationClasses, styles: animationInlineStyles} = useAnimation(animate)\n\n const timelineClassName = clsx(\n animationClasses,\n styles.Timeline,\n fullWidth && styles['Timeline--full-width'],\n className,\n )\n\n return (\n <ul className={timelineClassName} style={{...animationInlineStyles}} {...rest}>\n {children}\n </ul>\n )\n}\n\nexport type TimelineItemProps = BaseProps<HTMLLIElement>\n\nconst Item = ({className, children, ...rest}: PropsWithChildren<TimelineItemProps>) => {\n const itemClassName = clsx(styles['Timeline__item'], className)\n const childrenArray = useMemo(() => React.Children.toArray(children), [children])\n\n const getConditionalVariant = useCallback(() => {\n if (childrenArray.some(child => React.isValidElement(child) && (child.type === 'b' || child.type === 'em'))) {\n return 'muted'\n }\n return 'default'\n }, [childrenArray])\n\n const defaultColor = childrenArray.length === 1 ? 'default' : getConditionalVariant()\n\n return (\n <li className={itemClassName} {...rest}>\n <Text className={styles['Timeline__item-text']} size=\"200\" variant={defaultColor}>\n {children}\n </Text>\n </li>\n )\n}\n\n/**\n * Use Timeline to display a list of connected items as a vertical timeline.\n * @see https://primer.style/brand/components/Timeline\n */\nexport const Timeline = Object.assign(TimelineBase, {\n Item,\n})\n"],"mappings":";;;;;;;;AA8DA,IAAa,IAAW,OAAO,QA7CT,EAAC,YAAS,cAAW,aAAU,eAAY,IAAO,GAAG,QAA4C;CACrH,IAAM,EAAC,SAAS,GAAkB,QAAQ,MAAyB,EAAa,EAAQ;AASxF,QACE,kBAAC,MAAD;EAAI,WARoB,EACxB,GACA,EAAO,UACP,KAAa,EAAO,yBACpB,EAIe;EAAmB,OAAO,EAAC,GAAG,GAAsB;EAAE,GAAI;EACtE;EACE,CAAA;GAgC2C,EAClD,OA3BY,EAAC,cAAW,aAAU,GAAG,QAAgD;CACrF,IAAM,IAAgB,EAAK,EAAO,gBAAmB,EAAU,EACzD,IAAgB,QAAc,EAAM,SAAS,QAAQ,EAAS,EAAE,CAAC,EAAS,CAAC,EAE3E,IAAwB,QACxB,EAAc,MAAK,MAAS,EAAM,eAAe,EAAM,KAAK,EAAM,SAAS,OAAO,EAAM,SAAS,MAAM,GAClG,UAEF,WACN,CAAC,EAAc,CAAC,EAEb,IAAe,EAAc,WAAW,IAAI,YAAY,GAAuB;AAErF,QACE,kBAAC,MAAD;EAAI,WAAW;EAAe,GAAI;YAChC,kBAAC,GAAD;GAAM,WAAW,EAAO;GAAwB,MAAK;GAAM,SAAS;GACjE;GACI,CAAA;EACJ,CAAA;GAUR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Primer_Brand__Timeline-module__Timeline___BK9r7{--bulletY:calc(var(--base-size-8) / 2 - var(--brand-Timeline-bullet-size) / 2 + var(--base-size-8));margin:0;padding:0;list-style:none}.Primer_Brand__Timeline-module__Timeline__item___1RcCO{max-width:var(--brand-Timeline-lineLength);color:var(--brand-color-text-default);line-height:var(--brand-Timeline-lineHeight);padding-inline-start:calc(var(--brand-Timeline-bullet-size) + var(--brand-Timeline-spacing));position:relative}.Primer_Brand__Timeline-module__Timeline--full-width___ezRqP .Primer_Brand__Timeline-module__Timeline__item___1RcCO{max-width:none}.Primer_Brand__Timeline-module__Timeline__item___1RcCO:not(:last-child){padding-bottom:var(--base-size-32)}.Primer_Brand__Timeline-module__Timeline__item___1RcCO:before,.Primer_Brand__Timeline-module__Timeline__item___1RcCO:after{content:"";position:absolute}.Primer_Brand__Timeline-module__Timeline__item___1RcCO:before{width:var(--brand-Timeline-bullet-size);height:var(--brand-Timeline-bullet-size);top:var(--bulletY);border-style:solid;border-width:var(--brand-Timeline-strokeWidth);border-color:var(--brand-Timeline-line-color);border-radius:var(--brand-borderRadius-full);left:0}.Primer_Brand__Timeline-module__Timeline__item___1RcCO:not(:last-child):after{top:calc(var(--bulletY) + var(--brand-Timeline-bullet-size) + var(--brand-Timeline-bullet-spacing));left:calc(var(--brand-Timeline-bullet-size) / 2 - var(--brand-Timeline-strokeWidth) / 2);width:var(--brand-Timeline-strokeWidth);height:calc(100% - var(--brand-Timeline-bullet-size) - var(--brand-Timeline-bullet-spacing) * 2);background-color:var(--brand-Timeline-line-color);border-radius:var(--brand-borderRadius-full)}.Primer_Brand__Timeline-module__Timeline__item-text___5BcIe em,.Primer_Brand__Timeline-module__Timeline__item-text___5BcIe b{color:var(--brand-color-text-default);font-style:normal;font-weight:var(--base-text-weight-medium)}.Primer_Brand__Timeline-module__Timeline__item___1RcCO a{color:var(--brand-InlineLink-color-rest);-webkit-text-decoration:underline;text-decoration:underline;-webkit-text-decoration-color:var(--brand-InlineLink-color-rest);text-decoration-color:var(--brand-InlineLink-color-rest);text-decoration-thickness:var(--brand-borderWidth-thin);text-underline-position:under;transition:var(--brand-InlineLink-transition-timing) text-decoration;position:relative}.Primer_Brand__Timeline-module__Timeline__item___1RcCO a:hover{text-decoration-thickness:var(--brand-borderWidth-thick)}.Primer_Brand__Timeline-module__Timeline__item___1RcCO a{font-weight:inherit;color:var(--brand-InlineLink-color-rest)}.Primer_Brand__Timeline-module__Timeline__item___1RcCO a:active{color:var(--brand-InlineLink-color-pressed)}.Primer_Brand__Timeline-module__Timeline__item___1RcCO a:focus-visible{outline:var(--brand-borderWidth-thick) solid var(--brand-color-focus);outline-offset:var(--base-size-2)}@media (prefers-reduced-motion:reduce){.Primer_Brand__Timeline-module__Timeline__item___1RcCO,.Primer_Brand__Timeline-module__Timeline__item___1RcCO:before,.Primer_Brand__Timeline-module__Timeline__item___1RcCO:after,.Primer_Brand__Timeline-module__Timeline__item___1RcCO *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './Timeline.module-CQrQaD-z.css';var e = {
|
|
2
|
+
Timeline: "Primer_Brand__Timeline-module__Timeline___BK9r7",
|
|
3
|
+
Timeline__item: "Primer_Brand__Timeline-module__Timeline__item___1RcCO",
|
|
4
|
+
"Timeline--full-width": "Primer_Brand__Timeline-module__Timeline--full-width___ezRqP",
|
|
5
|
+
"Timeline__item-text": "Primer_Brand__Timeline-module__Timeline__item-text___5BcIe"
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { e as default };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=Timeline.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.module.js","names":[],"sources":["../../src/Timeline/Timeline.module.css"],"sourcesContent":[".Timeline {\n --bulletY: calc(var(--base-size-8) / 2 - var(--brand-Timeline-bullet-size) / 2 + var(--base-size-8));\n\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.Timeline__item {\n position: relative;\n max-width: var(--brand-Timeline-lineLength);\n padding-inline-start: calc(var(--brand-Timeline-bullet-size) + var(--brand-Timeline-spacing));\n color: var(--brand-color-text-default);\n line-height: var(--brand-Timeline-lineHeight);\n}\n\n.Timeline--full-width .Timeline__item {\n max-width: none;\n}\n\n.Timeline__item:not(:last-child) {\n padding-bottom: var(--base-size-32);\n}\n\n.Timeline__item::before,\n.Timeline__item::after {\n content: '';\n position: absolute;\n}\n\n.Timeline__item::before {\n width: var(--brand-Timeline-bullet-size);\n height: var(--brand-Timeline-bullet-size);\n top: var(--bulletY);\n left: 0;\n border-style: solid;\n border-width: var(--brand-Timeline-strokeWidth);\n border-color: var(--brand-Timeline-line-color);\n border-radius: var(--brand-borderRadius-full);\n}\n\n.Timeline__item:not(:last-child)::after {\n top: calc(var(--bulletY) + var(--brand-Timeline-bullet-size) + var(--brand-Timeline-bullet-spacing));\n left: calc(var(--brand-Timeline-bullet-size) / 2 - var(--brand-Timeline-strokeWidth) / 2);\n width: var(--brand-Timeline-strokeWidth);\n height: calc(100% - var(--brand-Timeline-bullet-size) - var(--brand-Timeline-bullet-spacing) * 2);\n background-color: var(--brand-Timeline-line-color);\n border-radius: var(--brand-borderRadius-full);\n}\n\n.Timeline__item-text em,\n.Timeline__item-text b {\n color: var(--brand-color-text-default);\n font-style: normal;\n font-weight: var(--base-text-weight-medium);\n}\n\n.Timeline__item a {\n color: var(--brand-InlineLink-color-rest);\n position: relative;\n text-decoration: underline;\n text-decoration-color: var(--brand-InlineLink-color-rest);\n text-decoration-thickness: var(--brand-borderWidth-thin);\n text-underline-position: under;\n transition: var(--brand-InlineLink-transition-timing) text-decoration;\n}\n\n.Timeline__item a:hover {\n text-decoration-thickness: var(--brand-borderWidth-thick);\n}\n\n.Timeline__item a {\n font-weight: inherit;\n color: var(--brand-InlineLink-color-rest);\n}\n\n.Timeline__item a:active {\n color: var(--brand-InlineLink-color-pressed);\n}\n\n.Timeline__item a:focus-visible {\n outline: var(--brand-borderWidth-thick) solid var(--brand-color-focus);\n outline-offset: var(--base-size-2);\n}\n\n/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n@media (prefers-reduced-motion: reduce) {\n .Timeline__item,\n .Timeline__item::before,\n .Timeline__item::after,\n .Timeline__item * {\n animation: none !important;\n transition: none !important;\n scroll-behavior: auto !important;\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Timeline/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BaseProps } from '../component-helpers';
|
|
3
|
+
/**
|
|
4
|
+
* Design tokens
|
|
5
|
+
*/
|
|
6
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css';
|
|
7
|
+
export declare const TokenVariants: readonly ["default", "accent", "outline", "invisible"];
|
|
8
|
+
export declare const defaultTokenVariant: "default";
|
|
9
|
+
type TokenLeadingVisual = React.ReactElement | React.ComponentType<{
|
|
10
|
+
className?: string;
|
|
11
|
+
}>;
|
|
12
|
+
type TokenSharedProps = {
|
|
13
|
+
/**
|
|
14
|
+
* The leading visual appears before the Token content.
|
|
15
|
+
* Pass an element to supply custom props, or a component type that accepts an optional className.
|
|
16
|
+
*/
|
|
17
|
+
leadingVisual?: TokenLeadingVisual;
|
|
18
|
+
/**
|
|
19
|
+
* The variant variations available in Token.
|
|
20
|
+
*/
|
|
21
|
+
variant?: (typeof TokenVariants)[number];
|
|
22
|
+
/**
|
|
23
|
+
* The HTML element rendered by Token.
|
|
24
|
+
*/
|
|
25
|
+
as?: 'span' | 'a';
|
|
26
|
+
['data-testid']?: string;
|
|
27
|
+
};
|
|
28
|
+
type TokenSpanProps = BaseProps<HTMLSpanElement> & TokenSharedProps & {
|
|
29
|
+
as?: 'span';
|
|
30
|
+
} & React.ComponentPropsWithoutRef<'span'>;
|
|
31
|
+
type TokenAnchorProps = BaseProps<HTMLAnchorElement> & TokenSharedProps & {
|
|
32
|
+
as: 'a';
|
|
33
|
+
href: string;
|
|
34
|
+
} & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>;
|
|
35
|
+
export type TokenProps = TokenSpanProps | TokenAnchorProps;
|
|
36
|
+
/**
|
|
37
|
+
* Use a Token to group short metadata or categories, with optional leading visuals.
|
|
38
|
+
* @see https://primer.style/brand
|
|
39
|
+
*/
|
|
40
|
+
export declare const Token: React.ForwardRefExoticComponent<(Omit<TokenSpanProps, "ref"> | Omit<TokenAnchorProps, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLSpanElement>> & {
|
|
41
|
+
testIds: {
|
|
42
|
+
root: string;
|
|
43
|
+
readonly leadingVisual: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=Token.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Token.d.ts","sourceRoot":"","sources":["../../src/Token/Token.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAA;AAIjD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAEnD;;GAEG;AACH,OAAO,yGAAyG,CAAA;AAIhH,eAAO,MAAM,aAAa,wDAAyD,CAAA;AAEnF,eAAO,MAAM,mBAAmB,WAAmB,CAAA;AAEnD,KAAK,kBAAkB,GAAG,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC,CAAA;AAExF,KAAK,gBAAgB,GAAG;IACtB;;;OAGG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAA;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAA;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;IACjB,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,KAAK,cAAc,GAAG,SAAS,CAAC,eAAe,CAAC,GAC9C,gBAAgB,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,GAAG,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAA;AAE5C,KAAK,gBAAgB,GAAG,SAAS,CAAC,iBAAiB,CAAC,GAClD,gBAAgB,GAAG;IACjB,EAAE,EAAE,GAAG,CAAA;IACP,IAAI,EAAE,MAAM,CAAA;CACb,GAAG,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,CAAA;AAEjE,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,gBAAgB,CAAA;AAmF1D;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;;CAAmC,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import e from "../node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { useAnimation as t } from "../animation/useAnimation.js";
|
|
3
|
+
import { Text as n } from "../Text/Text.js";
|
|
4
|
+
import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes-5VT1x9eF.css';/* empty css */
|
|
5
|
+
import r from "./Token.module.js";
|
|
6
|
+
import i, { forwardRef as a } from "react";
|
|
7
|
+
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
|
+
//#region src/Token/Token.tsx
|
|
9
|
+
var l = [
|
|
10
|
+
"default",
|
|
11
|
+
"accent",
|
|
12
|
+
"outline",
|
|
13
|
+
"invisible"
|
|
14
|
+
], u = l[0], d = {
|
|
15
|
+
root: "Token",
|
|
16
|
+
get leadingVisual() {
|
|
17
|
+
return `${this.root}-leading-visual`;
|
|
18
|
+
}
|
|
19
|
+
}, f = a(({ animate: a, variant: l = u, as: f = "span", children: p, className: m, "data-testid": h, leadingVisual: g, style: _, ...v }, y) => {
|
|
20
|
+
let { classes: b, styles: x } = t(a), S = e(b, r.Token, g && r["Token--hasLeadingVisual"], f === "a" && r["Token--interactive"], r[`Token--variant-${l}`], m), C = /* @__PURE__ */ c(o, { children: [g && /* @__PURE__ */ s("span", {
|
|
21
|
+
className: r["Token__leading-visual"],
|
|
22
|
+
"data-testid": d.leadingVisual,
|
|
23
|
+
"aria-hidden": "true",
|
|
24
|
+
children: typeof g == "function" ? /* @__PURE__ */ s(g, { className: r.Token__visual }) : i.isValidElement(g) && i.cloneElement(g, { className: e(r.Token__visual, g.props.className) })
|
|
25
|
+
}), /* @__PURE__ */ s(n, {
|
|
26
|
+
as: "span",
|
|
27
|
+
size: "100",
|
|
28
|
+
font: "monospace",
|
|
29
|
+
className: r.Token__label,
|
|
30
|
+
children: p
|
|
31
|
+
})] });
|
|
32
|
+
return s(f === "a" ? "a" : "span", {
|
|
33
|
+
ref: y,
|
|
34
|
+
className: S,
|
|
35
|
+
"data-testid": h || d.root,
|
|
36
|
+
style: {
|
|
37
|
+
...x,
|
|
38
|
+
..._
|
|
39
|
+
},
|
|
40
|
+
...v,
|
|
41
|
+
children: C
|
|
42
|
+
});
|
|
43
|
+
}), p = Object.assign(f, { testIds: d });
|
|
44
|
+
//#endregion
|
|
45
|
+
export { p as Token, l as TokenVariants, u as defaultTokenVariant };
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=Token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Token.js","names":[],"sources":["../../src/Token/Token.tsx"],"sourcesContent":["import {clsx} from 'clsx'\nimport React, {forwardRef, type Ref} from 'react'\n\nimport {Text} from '../Text'\nimport {useAnimation} from '../animation'\nimport type {BaseProps} from '../component-helpers'\n\n/**\n * Design tokens\n */\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css'\n\nimport styles from './Token.module.css'\n\nexport const TokenVariants = ['default', 'accent', 'outline', 'invisible'] as const\n\nexport const defaultTokenVariant = TokenVariants[0]\n\ntype TokenLeadingVisual = React.ReactElement | React.ComponentType<{className?: string}>\n\ntype TokenSharedProps = {\n /**\n * The leading visual appears before the Token content.\n * Pass an element to supply custom props, or a component type that accepts an optional className.\n */\n leadingVisual?: TokenLeadingVisual\n /**\n * The variant variations available in Token.\n */\n variant?: (typeof TokenVariants)[number]\n /**\n * The HTML element rendered by Token.\n */\n as?: 'span' | 'a'\n ['data-testid']?: string\n}\n\ntype TokenSpanProps = BaseProps<HTMLSpanElement> &\n TokenSharedProps & {\n as?: 'span'\n } & React.ComponentPropsWithoutRef<'span'>\n\ntype TokenAnchorProps = BaseProps<HTMLAnchorElement> &\n TokenSharedProps & {\n as: 'a'\n href: string\n } & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>\n\nexport type TokenProps = TokenSpanProps | TokenAnchorProps\n\nconst testIds = {\n root: 'Token',\n get leadingVisual() {\n return `${this.root}-leading-visual`\n },\n}\n\nconst _Token = forwardRef<HTMLSpanElement | HTMLAnchorElement, TokenProps>(\n (\n {\n animate,\n variant = defaultTokenVariant,\n as = 'span',\n children,\n className,\n 'data-testid': testId,\n leadingVisual: LeadingVisual,\n style,\n ...props\n },\n ref: Ref<HTMLSpanElement | HTMLAnchorElement>,\n ) => {\n const {classes: animationClasses, styles: animationInlineStyles} = useAnimation(animate)\n\n const tokenClassName = clsx(\n animationClasses,\n styles.Token,\n LeadingVisual && styles['Token--hasLeadingVisual'],\n as === 'a' && styles['Token--interactive'],\n styles[`Token--variant-${variant}`],\n className,\n )\n\n const tokenChildren = (\n <>\n {LeadingVisual && (\n <span className={styles['Token__leading-visual']} data-testid={testIds.leadingVisual} aria-hidden=\"true\">\n {typeof LeadingVisual === 'function' ? (\n <LeadingVisual className={styles['Token__visual']} />\n ) : (\n React.isValidElement<{className?: string}>(LeadingVisual) &&\n React.cloneElement(LeadingVisual, {\n className: clsx(styles['Token__visual'], LeadingVisual.props.className),\n })\n )}\n </span>\n )}\n <Text as=\"span\" size=\"100\" font=\"monospace\" className={styles['Token__label']}>\n {children}\n </Text>\n </>\n )\n\n if (as === 'a') {\n return (\n <a\n ref={ref as Ref<HTMLAnchorElement>}\n className={tokenClassName}\n data-testid={testId || testIds.root}\n style={{...animationInlineStyles, ...style}}\n {...props}\n >\n {tokenChildren}\n </a>\n )\n }\n\n return (\n <span\n ref={ref as Ref<HTMLSpanElement>}\n className={tokenClassName}\n data-testid={testId || testIds.root}\n style={{...animationInlineStyles, ...style}}\n {...props}\n >\n {tokenChildren}\n </span>\n )\n },\n)\n\n/**\n * Use a Token to group short metadata or categories, with optional leading visuals.\n * @see https://primer.style/brand\n */\nexport const Token = Object.assign(_Token, {testIds})\n"],"mappings":";;;;;;;;AAcA,IAAa,IAAgB;CAAC;CAAW;CAAU;CAAW;CAAY,EAE7D,IAAsB,EAAc,IAkC3C,IAAU;CACd,MAAM;CACN,IAAI,gBAAgB;AAClB,SAAO,GAAG,KAAK,KAAK;;CAEvB,EAEK,IAAS,GAEX,EACE,YACA,aAAU,GACV,QAAK,QACL,aACA,cACA,eAAe,GACf,eAAe,GACf,UACA,GAAG,KAEL,MACG;CACH,IAAM,EAAC,SAAS,GAAkB,QAAQ,MAAyB,EAAa,EAAQ,EAElF,IAAiB,EACrB,GACA,EAAO,OACP,KAAiB,EAAO,4BACxB,MAAO,OAAO,EAAO,uBACrB,EAAO,kBAAkB,MACzB,EACD,EAEK,IACJ,kBAAA,GAAA,EAAA,UAAA,CACG,KACC,kBAAC,QAAD;EAAM,WAAW,EAAO;EAA0B,eAAa,EAAQ;EAAe,eAAY;YAC/F,OAAO,KAAkB,aACxB,kBAAC,GAAD,EAAe,WAAW,EAAO,eAAoB,CAAA,GAErD,EAAM,eAAqC,EAAc,IACzD,EAAM,aAAa,GAAe,EAChC,WAAW,EAAK,EAAO,eAAkB,EAAc,MAAM,UAAU,EACxE,CAAC;EAEC,CAAA,EAET,kBAAC,GAAD;EAAM,IAAG;EAAO,MAAK;EAAM,MAAK;EAAY,WAAW,EAAO;EAC3D;EACI,CAAA,CACN,EAAA,CAAA;AAiBL,QAZI,EAFA,MAAO,MAEN,MAaF,QAbC;EACO;EACL,WAAW;EACX,eAAa,KAAU,EAAQ;EAC/B,OAAO;GAAC,GAAG;GAAuB,GAAG;GAAM;EAC3C,GAAI;YAEH;EACC,CAAA;EAgBX,EAMY,IAAQ,OAAO,OAAO,GAAQ,EAAC,YAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Primer_Brand__Token-module__Token___nJxhW{border:var(--brand-borderWidth-thin) solid transparent;border-radius:var(--brand-borderRadius-small);align-items:center;gap:var(--base-size-8);min-width:0;max-width:100%;padding-inline:var(--base-size-8);padding-block:var(--base-size-6);vertical-align:middle;padding-block-end:var(--base-size-6);display:inline-flex}.Primer_Brand__Token-module__Token--hasLeadingVisual___Erv8L{padding-inline:calc((var(--base-size-4) + var(--base-size-8)) / 2);padding-block:calc((var(--base-size-4) + var(--base-size-8)) / 2)}.Primer_Brand__Token-module__Token--interactive___ZpgTX{cursor:pointer;-webkit-text-decoration:none;text-decoration:none}.Primer_Brand__Token-module__Token--interactive___ZpgTX:focus-visible{outline:var(--base-size-4) solid var(--brand-color-focus);outline-offset:var(--base-size-2)}[data-color-mode=dark] .Primer_Brand__Token-module__Token___nJxhW{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:auto}.Primer_Brand__Token-module__Token--variant-default___eMkcM{background-color:var(--brand-Token-bgColor-default);color:var(--brand-Token-fgColor-default)}.Primer_Brand__Token-module__Token--interactive___ZpgTX.Primer_Brand__Token-module__Token--variant-default___eMkcM:hover{background-color:var(--brand-Token-bgColor-hover-default)}.Primer_Brand__Token-module__Token--variant-accent___fSxf7{background-color:var(--brand-Token-bgColor-accent);color:var(--brand-Token-fgColor-accent)}.Primer_Brand__Token-module__Token--interactive___ZpgTX.Primer_Brand__Token-module__Token--variant-accent___fSxf7:hover{background-color:var(--brand-Token-bgColor-hover-accent)}.Primer_Brand__Token-module__Token--variant-outline___GTmIy{background-color:var(--brand-Token-bgColor-outline);border-color:var(--brand-Token-border-outline);color:var(--brand-Token-fgColor-outline)}.Primer_Brand__Token-module__Token--interactive___ZpgTX.Primer_Brand__Token-module__Token--variant-outline___GTmIy:hover{background-color:var(--brand-Token-bgColor-hover-outline)}.Primer_Brand__Token-module__Token--variant-invisible___IR7Ki{color:var(--brand-Token-fgColor-invisible);background-color:#0000}.Primer_Brand__Token-module__Token--interactive___ZpgTX.Primer_Brand__Token-module__Token--variant-invisible___IR7Ki:hover{background-color:var(--brand-Token-bgColor-hover-invisible)}.Primer_Brand__Token-module__Token__label___e3Cx3{text-overflow:ellipsis;text-transform:uppercase;min-width:0;font-weight:var(--base-text-weight-normal);white-space:nowrap;letter-spacing:var(--brand-text-letterSpacing-100);flex:auto;line-height:.85;display:block;overflow:hidden}.Primer_Brand__Token-module__Token___nJxhW>.Primer_Brand__Token-module__Token__label___e3Cx3{color:inherit}.Primer_Brand__Token-module__Token__leading-visual____uvYs{width:calc((var(--base-size-16) + var(--base-size-20)) / 2);height:calc((var(--base-size-16) + var(--base-size-20)) / 2);flex-shrink:0;justify-content:center;align-items:center;display:flex}.Primer_Brand__Token-module__Token__visual___Nlxfv{display:block}.Primer_Brand__Token-module__Token__leading-visual____uvYs>.Primer_Brand__Token-module__Token__visual___Nlxfv{width:calc((var(--base-size-16) + var(--base-size-20)) / 2);height:calc((var(--base-size-16) + var(--base-size-20)) / 2);max-width:calc((var(--base-size-16) + var(--base-size-20)) / 2);max-height:calc((var(--base-size-16) + var(--base-size-20)) / 2);border-radius:2px}.Primer_Brand__Token-module__Token__leading-visual____uvYs>.Primer_Brand__Token-module__Token__visual___Nlxfv svg,.Primer_Brand__Token-module__Token__leading-visual____uvYs>.Primer_Brand__Token-module__Token__visual___Nlxfv img{width:100%;height:100%}@media (forced-colors:active){.Primer_Brand__Token-module__Token___nJxhW{outline:var(--brand-borderWidth-thin) solid transparent}.Primer_Brand__Token-module__Token--interactive___ZpgTX:focus-visible{outline-color:highlight}}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './Token.module-BcKU1KwK.css';var e = {
|
|
2
|
+
Token: "Primer_Brand__Token-module__Token___nJxhW",
|
|
3
|
+
"Token--hasLeadingVisual": "Primer_Brand__Token-module__Token--hasLeadingVisual___Erv8L",
|
|
4
|
+
"Token--interactive": "Primer_Brand__Token-module__Token--interactive___ZpgTX",
|
|
5
|
+
"Token--variant-default": "Primer_Brand__Token-module__Token--variant-default___eMkcM",
|
|
6
|
+
"Token--variant-accent": "Primer_Brand__Token-module__Token--variant-accent___fSxf7",
|
|
7
|
+
"Token--variant-outline": "Primer_Brand__Token-module__Token--variant-outline___GTmIy",
|
|
8
|
+
"Token--variant-invisible": "Primer_Brand__Token-module__Token--variant-invisible___IR7Ki",
|
|
9
|
+
Token__label: "Primer_Brand__Token-module__Token__label___e3Cx3",
|
|
10
|
+
"Token__leading-visual": "Primer_Brand__Token-module__Token__leading-visual____uvYs",
|
|
11
|
+
Token__visual: "Primer_Brand__Token-module__Token__visual___Nlxfv"
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { e as default };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=Token.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Token.module.js","names":[],"sources":["../../src/Token/Token.module.css"],"sourcesContent":[".Token {\n align-items: center;\n border: var(--brand-borderWidth-thin) solid transparent;\n border-radius: var(--brand-borderRadius-small);\n display: inline-flex;\n gap: var(--base-size-8);\n min-width: 0;\n max-width: 100%;\n padding-inline: var(--base-size-8);\n padding-block: var(--base-size-6);\n padding-block-end: var(--base-size-6);\n vertical-align: middle;\n}\n\n.Token--hasLeadingVisual {\n padding-inline: calc((var(--base-size-4) + var(--base-size-8)) / 2);\n padding-block: calc((var(--base-size-4) + var(--base-size-8)) / 2);\n}\n\n.Token--interactive {\n cursor: pointer;\n text-decoration: none;\n}\n\n.Token--interactive:focus-visible {\n outline: var(--base-size-4) solid var(--brand-color-focus);\n outline-offset: var(--base-size-2);\n}\n\n[data-color-mode='dark'] .Token {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: auto;\n}\n\n.Token--variant-default {\n background-color: var(--brand-Token-bgColor-default);\n color: var(--brand-Token-fgColor-default);\n}\n\n.Token--interactive.Token--variant-default:hover {\n background-color: var(--brand-Token-bgColor-hover-default);\n}\n\n.Token--variant-accent {\n background-color: var(--brand-Token-bgColor-accent);\n color: var(--brand-Token-fgColor-accent);\n}\n\n.Token--interactive.Token--variant-accent:hover {\n background-color: var(--brand-Token-bgColor-hover-accent);\n}\n\n.Token--variant-outline {\n background-color: var(--brand-Token-bgColor-outline);\n border-color: var(--brand-Token-border-outline);\n color: var(--brand-Token-fgColor-outline);\n}\n\n.Token--interactive.Token--variant-outline:hover {\n background-color: var(--brand-Token-bgColor-hover-outline);\n}\n\n.Token--variant-invisible {\n background-color: transparent;\n color: var(--brand-Token-fgColor-invisible);\n}\n\n.Token--interactive.Token--variant-invisible:hover {\n background-color: var(--brand-Token-bgColor-hover-invisible);\n}\n\n.Token__label {\n display: block;\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-transform: uppercase;\n font-weight: var(--base-text-weight-normal);\n line-height: 0.85;\n white-space: nowrap;\n letter-spacing: var(--brand-text-letterSpacing-100);\n}\n\n.Token > .Token__label {\n color: inherit;\n}\n\n.Token__leading-visual {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n height: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n}\n\n.Token__visual {\n display: block;\n}\n\n/* Keep leading visuals inside a fixed 18x18 slot so larger children like Avatar dont increase Token height. */\n.Token__leading-visual > .Token__visual {\n width: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n height: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n max-width: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n max-height: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n border-radius: 2px;\n}\n\n.Token__leading-visual > .Token__visual svg,\n.Token__leading-visual > .Token__visual img {\n width: 100%;\n height: 100%;\n}\n\n@media (forced-colors: active) {\n .Token {\n outline: var(--brand-borderWidth-thin) solid transparent;\n }\n\n .Token--interactive:focus-visible {\n outline-color: Highlight;\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Token/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css';
|
|
3
|
+
import { BaseProps } from '../component-helpers';
|
|
4
|
+
type TooltipDirection = 'n' | 'e' | 's' | 'w';
|
|
5
|
+
export type TooltipProps = {
|
|
6
|
+
direction?: TooltipDirection;
|
|
7
|
+
text: string;
|
|
8
|
+
type?: 'label' | 'description';
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
} & BaseProps<HTMLDivElement>;
|
|
11
|
+
export type TriggerPropsType = {
|
|
12
|
+
'aria-describedby'?: string;
|
|
13
|
+
'aria-labelledby'?: string;
|
|
14
|
+
'aria-label'?: string;
|
|
15
|
+
onBlur?: React.FocusEventHandler;
|
|
16
|
+
onFocus?: React.FocusEventHandler;
|
|
17
|
+
onMouseEnter?: React.MouseEventHandler;
|
|
18
|
+
onMouseLeave?: React.MouseEventHandler;
|
|
19
|
+
ref?: React.RefObject<HTMLElement | null>;
|
|
20
|
+
};
|
|
21
|
+
export declare const TooltipContext: React.Context<{
|
|
22
|
+
tooltipId?: string;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const Tooltip: React.ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & React.RefAttributes<unknown>>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|