@arc-ui/components 12.1.0 → 13.1.0
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/lib/Alert/styles.css +1 -1
- package/lib/Align/styles.css +1 -1
- package/lib/AppButton/styles.css +1 -1
- package/lib/Avatar/styles.css +1 -1
- package/lib/AvatarGroup/styles.css +1 -1
- package/lib/Badge/styles.css +1 -1
- package/lib/Banner/Banner.cjs +7 -3
- package/lib/Banner/Banner.mjs +7 -3
- package/lib/Box/styles.css +1 -1
- package/lib/BrandLogo/styles.css +1 -1
- package/lib/Breadcrumbs/Breadcrumbs.cjs +6 -6
- package/lib/Breadcrumbs/Breadcrumbs.mjs +6 -6
- package/lib/Breadcrumbs/styles.css +1 -1
- package/lib/Button/Button.cjs +1 -1
- package/lib/Button/Button.mjs +1 -1
- package/lib/Button/styles.css +1 -1
- package/lib/ButtonGroup/ButtonGroup.cjs +6 -3
- package/lib/ButtonGroup/ButtonGroup.mjs +6 -3
- package/lib/ButtonGroup/styles.css +1 -1
- package/lib/ButtonV2/ButtonV2.cjs +1 -1
- package/lib/ButtonV2/ButtonV2.mjs +1 -1
- package/lib/ButtonV2/styles.css +1 -1
- package/lib/Calendar/Calendar.cjs +5 -5
- package/lib/Calendar/Calendar.mjs +5 -5
- package/lib/Calendar/styles.css +1 -1
- package/lib/CardFooter/styles.css +1 -1
- package/lib/CardHeading/CardHeading.cjs +1 -1
- package/lib/CardHeading/CardHeading.mjs +1 -1
- package/lib/CardHeading/styles.css +1 -1
- package/lib/Carousel/Carousel.cjs +26 -14
- package/lib/Carousel/Carousel.mjs +26 -14
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/Checkbox.cjs +7 -7
- package/lib/Checkbox/Checkbox.mjs +8 -8
- package/lib/Checkbox/styles.css +1 -1
- package/lib/CheckboxIcon/CheckboxIcon.cjs +1 -1
- package/lib/CheckboxIcon/CheckboxIcon.mjs +1 -1
- package/lib/CheckboxIcon/styles.css +1 -1
- package/lib/ClientSideVisible/ClientSideVisible.cjs +1 -0
- package/lib/ClientSideVisible/ClientSideVisible.mjs +1 -0
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/ComboBox.cjs +537 -143
- package/lib/ComboBox/ComboBox.mjs +537 -143
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ConditionalWrapper/ConditionalWrapper.cjs +1 -0
- package/lib/ConditionalWrapper/ConditionalWrapper.mjs +1 -0
- package/lib/ContentSwitcher/ContentSwitcher.cjs +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.mjs +4 -4
- package/lib/ContentSwitcher/styles.css +1 -1
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +7 -7
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +7 -7
- package/lib/ContentSwitcherDropdown/styles.css +1 -1
- package/lib/DatePicker/DatePicker.cjs +16 -16
- package/lib/DatePicker/DatePicker.mjs +17 -17
- package/lib/DatePicker/styles.css +1 -1
- package/lib/Disclosure/styles.css +1 -1
- package/lib/DisclosureMini/styles.css +1 -1
- package/lib/Download/styles.css +1 -1
- package/lib/Drawer/Drawer.cjs +36 -28
- package/lib/Drawer/Drawer.mjs +36 -28
- package/lib/Drawer/styles.css +1 -1
- package/lib/Elevation/styles.css +1 -1
- package/lib/Filter/styles.css +1 -1
- package/lib/FormControl/styles.css +1 -1
- package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +2 -2
- package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +2 -2
- package/lib/GhostedHeroBanner/styles.css +1 -1
- package/lib/GradientPageBackground/GradientPageBackground.cjs +2 -2
- package/lib/GradientPageBackground/GradientPageBackground.mjs +2 -2
- package/lib/GradientPageBackground/styles.css +1 -1
- package/lib/Grid/Grid.cjs +1 -0
- package/lib/Grid/Grid.mjs +1 -0
- package/lib/Grid/styles.css +1 -1
- package/lib/Group/styles.css +1 -1
- package/lib/Heading/styles.css +1 -1
- package/lib/HeroBanner/HeroBanner.cjs +7 -3
- package/lib/HeroBanner/HeroBanner.mjs +7 -3
- package/lib/HeroBanner/styles.css +1 -1
- package/lib/HeroButton/HeroButton.cjs +3 -3
- package/lib/HeroButton/HeroButton.mjs +4 -4
- package/lib/HeroButton/styles.css +1 -1
- package/lib/Hidden/styles.css +1 -1
- package/lib/HorizontalCard/HorizontalCard.cjs +1 -1
- package/lib/HorizontalCard/HorizontalCard.mjs +1 -1
- package/lib/HorizontalCard/styles.css +1 -1
- package/lib/Icon/styles.css +1 -1
- package/lib/Image/styles.css +1 -1
- package/lib/ImpactCard/ImpactCard.cjs +30 -17
- package/lib/ImpactCard/ImpactCard.mjs +31 -18
- package/lib/ImpactCard/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +59 -35
- package/lib/InformationCard/InformationCard.mjs +61 -37
- package/lib/InformationCard/styles.css +1 -1
- package/lib/Link/styles.css +1 -1
- package/lib/Markup/styles.css +1 -1
- package/lib/MediaCard/MediaCard.cjs +43 -24
- package/lib/MediaCard/MediaCard.mjs +44 -25
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/Menu.cjs +17 -16
- package/lib/Menu/Menu.mjs +17 -16
- package/lib/Menu/styles.css +1 -1
- package/lib/Modal/Modal.cjs +7 -7
- package/lib/Modal/Modal.mjs +7 -7
- package/lib/Modal/styles.css +1 -1
- package/lib/NavigationHeader/NavigationHeader.cjs +18 -18
- package/lib/NavigationHeader/NavigationHeader.mjs +19 -19
- package/lib/NavigationHeader/styles.css +1 -1
- package/lib/Pagination/styles.css +1 -1
- package/lib/PaginationSimple/styles.css +1 -1
- package/lib/Popover/Popover.cjs +7 -7
- package/lib/Popover/Popover.mjs +7 -7
- package/lib/Popover/styles.css +1 -1
- package/lib/Poster/styles.css +1 -1
- package/lib/ProgressBar/ProgressBar.cjs +2 -2
- package/lib/ProgressBar/ProgressBar.mjs +2 -2
- package/lib/ProgressBar/styles.css +1 -1
- package/lib/ProgressStepper/ProgressStepper.cjs +1 -1
- package/lib/ProgressStepper/ProgressStepper.mjs +1 -1
- package/lib/ProgressStepper/styles.css +1 -1
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +4 -4
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +5 -5
- package/lib/ProgressStepperOverflow/styles.css +1 -1
- package/lib/RadioCardGroup/RadioCardGroup.cjs +6 -6
- package/lib/RadioCardGroup/RadioCardGroup.mjs +7 -7
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/RadioGroup.cjs +8 -7
- package/lib/RadioGroup/RadioGroup.mjs +9 -8
- package/lib/RadioGroup/styles.css +1 -1
- package/lib/Rule/Rule.cjs +1 -1
- package/lib/Rule/Rule.mjs +1 -1
- package/lib/Rule/styles.css +1 -1
- package/lib/ScrollToTop/ScrollToTop.cjs +1 -1
- package/lib/ScrollToTop/ScrollToTop.mjs +1 -1
- package/lib/ScrollToTop/styles.css +1 -1
- package/lib/Section/styles.css +1 -1
- package/lib/Select/Select.cjs +6 -6
- package/lib/Select/Select.mjs +6 -6
- package/lib/Select/styles.css +1 -1
- package/lib/SemanticHeading/styles.css +1 -1
- package/lib/SiteFooter/styles.css +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.cjs +4 -3
- package/lib/SiteFooterV2/SiteFooterV2.mjs +4 -3
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +9 -6
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +9 -6
- package/lib/SiteHeaderV2/styles.css +1 -1
- package/lib/Skeleton/styles.css +1 -1
- package/lib/SkipLink/SkipLink.cjs +3 -2
- package/lib/SkipLink/SkipLink.mjs +4 -3
- package/lib/SkipLink/styles.css +1 -1
- package/lib/Spacing/Spacing.cjs +38 -0
- package/lib/Spacing/Spacing.mjs +36 -0
- package/lib/Spacing/styles.css +1 -0
- package/lib/Spinner/styles.css +1 -1
- package/lib/Surface/styles.css +1 -1
- package/lib/Switch/Switch.mjs +1 -1
- package/lib/Switch/styles.css +1 -1
- package/lib/TabbedBanner/TabbedBanner.cjs +13 -11
- package/lib/TabbedBanner/TabbedBanner.mjs +16 -14
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/Tabs.cjs +57 -25
- package/lib/Tabs/Tabs.mjs +60 -28
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/styles.css +1 -1
- package/lib/TemplateBanner/TemplateBanner.cjs +5 -1
- package/lib/TemplateBanner/TemplateBanner.mjs +5 -1
- package/lib/TemplateBanner/styles.css +1 -1
- package/lib/Text/styles.css +1 -1
- package/lib/TextArea/TextArea.cjs +3 -3
- package/lib/TextArea/TextArea.mjs +4 -4
- package/lib/TextArea/styles.css +1 -1
- package/lib/TextInput/TextInput.cjs +4 -4
- package/lib/TextInput/TextInput.mjs +4 -4
- package/lib/TextInput/styles.css +1 -1
- package/lib/Theme/Theme.cjs +1 -1
- package/lib/Theme/Theme.mjs +1 -1
- package/lib/Theme/styles.css +1 -1
- package/lib/ThemeIcon/styles.css +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +1 -1
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/Toast/Toast.mjs +2 -2
- package/lib/Toast/styles.css +1 -1
- package/lib/Tooltip/Tooltip.cjs +3 -3
- package/lib/Tooltip/Tooltip.mjs +3 -3
- package/lib/Tooltip/styles.css +1 -1
- package/lib/Truncate/styles.css +1 -1
- package/lib/TypographyCard/TypographyCard.cjs +40 -16
- package/lib/TypographyCard/TypographyCard.mjs +41 -17
- package/lib/TypographyCard/styles.css +1 -1
- package/lib/UniversalHeader/styles.css +1 -1
- package/lib/VerticalSpace/styles.css +1 -1
- package/lib/VideoPlayer/VideoPlayer.cjs +3 -3
- package/lib/VideoPlayer/VideoPlayer.mjs +3 -3
- package/lib/VideoPlayer/styles.css +1 -1
- package/lib/Visible/styles.css +1 -1
- package/lib/VisuallyHidden/styles.css +1 -1
- package/lib/_shared/cjs/{Button-BN4jUsg5.cjs → Button-CrevzrTg.cjs} +3 -3
- package/lib/_shared/cjs/{ButtonV2-bUu36xW8.cjs → ButtonV2-CxyploaQ.cjs} +3 -3
- package/lib/_shared/cjs/{Calendar-D_jZ0cgf.cjs → Calendar-CLWtKvPh.cjs} +6 -6
- package/lib/_shared/cjs/{CardHeading-lGy1u6eD.cjs → CardHeading-C84m67_F.cjs} +2 -2
- package/lib/_shared/cjs/{CheckboxIcon-BTkdXfpp.cjs → CheckboxIcon-BzY1S_ud.cjs} +6 -5
- package/lib/_shared/cjs/{Combination-6m6aOXZq.cjs → Combination-Cm62lfyr.cjs} +1 -1
- package/lib/_shared/cjs/{ContentSwitcherDropdown-BLXyhXVS.cjs → ContentSwitcherDropdown-6IGRpV54.cjs} +2 -2
- package/lib/_shared/cjs/{ContentSwitcherList-DgychllS.cjs → ContentSwitcherList-Di7RS8ue.cjs} +20 -9
- package/lib/_shared/cjs/{Popover-CYcqjefw.cjs → Popover-BxuQPltF.cjs} +8 -5
- package/lib/_shared/cjs/{ProgressStepper-mTgKZYEl.cjs → ProgressStepper-Cs6vX7Th.cjs} +3 -3
- package/lib/_shared/cjs/{Rule-jmvOpci7.cjs → Rule-essaguo_.cjs} +2 -2
- package/lib/_shared/cjs/{TemplateBanner-CzDAL0lq.cjs → TemplateBanner-rdwgmFH_.cjs} +36 -6
- package/lib/_shared/cjs/{TextInput-BHzuoI7E.cjs → TextInput-CLkhL2KT.cjs} +45 -12
- package/lib/_shared/cjs/{Tooltip-CEb7YEP2.cjs → Tooltip-CdmWvrnr.cjs} +2 -2
- package/lib/_shared/cjs/{arc-breakpoints-DFPoWNR4.cjs → arc-breakpoints-JJMLGzht.cjs} +1 -1
- package/lib/_shared/cjs/{index-BGGFOAAx.cjs → index-BBDa9gnQ.cjs} +2 -2
- package/lib/_shared/cjs/{index-D9onmVh5.cjs → index-BDUrOKEW.cjs} +3 -3
- package/lib/_shared/cjs/{index-CklPiHsS.cjs → index-B_WZUATb.cjs} +2 -2
- package/lib/_shared/cjs/{index-B11wQrRa.cjs → index-BdJeAKfz.cjs} +1 -1
- package/lib/_shared/cjs/{index-CDVpHNP8.cjs → index-Dgn0408w.cjs} +4 -4
- package/lib/_shared/cjs/{index-DXNM3D1d.cjs → index-DlWZZNwu.cjs} +2 -2
- package/lib/_shared/cjs/{index-BWfgSvRQ.cjs → index-DsqYRMfM.cjs} +4 -4
- package/lib/_shared/cjs/{index-KrMgv4q_.cjs → index-WO7l1Mfx.cjs} +3 -3
- package/lib/_shared/cjs/{index.es-B2ZfX2D7.cjs → index.es-CCJ64o4N.cjs} +1 -1
- package/lib/_shared/esm/{Button-DTiOFT9M.mjs → Button-Benn9Qop.mjs} +4 -4
- package/lib/_shared/esm/{ButtonV2-ByW5P8Hq.mjs → ButtonV2-CgjYgfZA.mjs} +4 -4
- package/lib/_shared/esm/{Calendar-wG6UVDgO.mjs → Calendar-BcYEIJhA.mjs} +7 -7
- package/lib/_shared/esm/{CardHeading-CfPEEmBO.mjs → CardHeading-CV14vmox.mjs} +2 -2
- package/lib/_shared/esm/{CheckboxIcon-BcVQe6mC.mjs → CheckboxIcon-CzRn1j8X.mjs} +6 -5
- package/lib/_shared/esm/{Combination-BQ4XBtF-.mjs → Combination-BW0YAEZD.mjs} +1 -1
- package/lib/_shared/esm/{ContentSwitcherDropdown-ckPG4pry.mjs → ContentSwitcherDropdown-CwoMd63a.mjs} +2 -2
- package/lib/_shared/esm/{ContentSwitcherList-CWZcMblg.mjs → ContentSwitcherList-Bvp9Zl85.mjs} +22 -11
- package/lib/_shared/esm/{Popover-BHCEpLSa.mjs → Popover-Pjtmu_TN.mjs} +8 -5
- package/lib/_shared/esm/{ProgressStepper-DxZrJR0q.mjs → ProgressStepper-DTPHHVFe.mjs} +4 -4
- package/lib/_shared/esm/{Rule-I1w3EaZi.mjs → Rule-Bz3QPezk.mjs} +3 -3
- package/lib/_shared/esm/{TemplateBanner-CZSTdma0.mjs → TemplateBanner-DzU9Edky.mjs} +37 -7
- package/lib/_shared/esm/{TextInput-CZaNXVHl.mjs → TextInput-WczTCUvp.mjs} +47 -14
- package/lib/_shared/esm/{Tooltip-BpSzN3Tx.mjs → Tooltip-DY8nS1to.mjs} +2 -2
- package/lib/_shared/esm/{arc-breakpoints-TEKN0W5t.mjs → arc-breakpoints-CQOgeFK_.mjs} +1 -1
- package/lib/_shared/esm/{index-u47CK8Y0.mjs → index-B3ewsmrD.mjs} +2 -2
- package/lib/_shared/esm/{index-GCEHSsY8.mjs → index-BMmvMegf.mjs} +2 -2
- package/lib/_shared/esm/{index-DXHprNQ6.mjs → index-C_mwuZg6.mjs} +1 -1
- package/lib/_shared/esm/{index-BWkI4Dwz.mjs → index-CfXVJXLq.mjs} +3 -3
- package/lib/_shared/esm/{index-CWHcEz3_.mjs → index-Cgsjp3NL.mjs} +1 -1
- package/lib/_shared/esm/{index-CN4hP3Wu.mjs → index-CjeQnMcn.mjs} +3 -3
- package/lib/_shared/esm/{index-BFKdmv_g.mjs → index-DNvlT7G_.mjs} +3 -3
- package/lib/_shared/esm/{index-Do2wfP-X.mjs → index-Dd3yZ_Kk.mjs} +4 -4
- package/lib/_shared/esm/{index-vnVJe9rH.mjs → index-Dfz5UgHo.mjs} +4 -4
- package/lib/_shared/esm/{index-Bz2JQq34.mjs → index-DkAfUbDx.mjs} +2 -2
- package/lib/_shared/esm/{index-6HtUz28p.mjs → index-Drb5ngQr.mjs} +1 -1
- package/lib/_shared/esm/{index.es-Co1d96HB.mjs → index.es-BJl4zTyt.mjs} +1 -1
- package/lib/index.cjs +4993 -4362
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1221 -327
- package/lib/index.d.mts +1221 -327
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4992 -4362
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +6 -2
- package/package.json +12 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-
|
|
1
|
+
.arc-v13-1-0 .arc .arc-RadioCard-input{opacity:0;position:absolute}.arc-v13-1-0 .arc .arc-RadioCard{border:var(--card-border-weight-s) solid #c8c8c8;border-radius:16px;cursor:pointer;min-width:270px;outline:var(--focus-border-weight-s) solid transparent;outline-offset:4px;position:relative;width:100%}.arc-v13-1-0 .arc .arc-RadioCard::after{border-radius:16px;box-shadow:none;content:"";height:100%;opacity:0;position:absolute;top:0;transition:opacity 0.4s ease-in-out;width:100%;z-index:-1}.arc-v13-1-0 .arc .arc-RadioCard[\:not-has\(input\[disabled\]\)]:hover::after{box-shadow:var(--elevation-02);opacity:1}.arc-v13-1-0 .arc .arc-RadioCard:not(:has(input[disabled])):hover::after{box-shadow:var(--elevation-02);opacity:1}.arc-v13-1-0 .arc .arc-RadioCard[\:has\(\:focus-visible\)]{outline-color:var(--focus-colors-light-border-subtle)}.arc-v13-1-0 .arc .arc-RadioCard:has(:focus-visible){outline-color:var(--focus-colors-light-border-subtle)}.arc-v13-1-0 .arc .arc-RadioCard--isDisabled{background-color:#f7f7f7;border:var(--card-border-weight-s) solid #d9d9d9}.arc-v13-1-0 .arc .arc-RadioCard--constrained{max-width:500px}.arc-v13-1-0 .arc .arc-RadioCard-inner{cursor:pointer;display:flex;gap:16px;padding:31px}.arc-v13-1-0 .arc .arc-RadioCard--controlLeft{flex-direction:row-reverse}.arc-v13-1-0 .arc .arc-RadioCard--controlBottom{align-items:center;flex-direction:column;text-align:center}.arc-v13-1-0 .arc .arc-RadioCard-icon{padding-top:2px}.arc-v13-1-0 .arc .arc-RadioCard--isDisabled .arc-RadioCard-inner{cursor:not-allowed}.arc-v13-1-0 .arc .arc-RadioCard-content{display:flex;flex-direction:column;flex-grow:1}.arc-v13-1-0 .arc .arc-RadioCard-label{color:#2a2a2a;font-size:20px;font-weight:500;line-height:28px;margin:0}.arc-v13-1-0 .arc .arc-RadioCard-support{color:#6b6b6b;font-size:16px;font-weight:400;margin:0}.arc-v13-1-0 .arc .arc-RadioCard-radioIcon{display:flex;height:24px;position:relative;width:24px}.arc-v13-1-0 .arc .arc-RadioCard-customContent{padding:0 31px 31px}.arc-v13-1-0 .arc .arc-RadioCard--isSelected::before,.arc-v13-1-0 .arc .arc-RadioCard[\:has\(input\[type\%3D\%22radio\%22\]\:checked\)]::before{background:linear-gradient(225deg,#5615b4 0%,#4665cd 100%) border-box;border:2px solid transparent;border-radius:16px;content:"";height:100%;margin-left:-2px;margin-top:-2px;-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;position:absolute;width:100%}.arc-v13-1-0 .arc .arc-RadioCard--isSelected::before,.arc-v13-1-0 .arc .arc-RadioCard[\:has\(input\[type\%3D\%22radio\%22\]\:checked\)]::before{background:linear-gradient(225deg,#5615b4 0%,#4665cd 100%) border-box;border:2px solid transparent;border-radius:16px;content:"";height:100%;margin-left:-2px;margin-top:-2px;-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;position:absolute;width:100%}.arc-v13-1-0 .arc .arc-RadioCard--isSelected::before,.arc-v13-1-0 .arc .arc-RadioCard[\:has\(input\[type\%3D\%22radio\%22\]\:checked\)]::before{background:linear-gradient(225deg,#5615b4 0%,#4665cd 100%) border-box;border:2px solid transparent;border-radius:16px;content:"";height:100%;margin-left:-2px;margin-top:-2px;-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;position:absolute;width:100%}.arc-v13-1-0 .arc .arc-RadioCard--isSelected::before,.arc-v13-1-0 .arc .arc-RadioCard[\:has\(input\[type\%3D\%22radio\%22\]\:checked\)]::before{background:linear-gradient(225deg,#5615b4 0%,#4665cd 100%) border-box;border:2px solid transparent;border-radius:16px;content:"";height:100%;margin-left:-2px;margin-top:-2px;-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;position:absolute;width:100%}.arc-v13-1-0 .arc .arc-RadioCard--isSelected::before,.arc-v13-1-0 .arc .arc-RadioCard:has(input[type="radio"]:checked)::before{background:linear-gradient(225deg,#5615b4 0%,#4665cd 100%) border-box;border:2px solid transparent;border-radius:16px;content:"";height:100%;margin-left:-2px;margin-top:-2px;-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;position:absolute;width:100%}.arc-v13-1-0 .arc .arc-RadioCard-radioIcon::before{background:linear-gradient(225deg,#5615b4 0%,#4665cd 100%) border-box;border:1px solid transparent;border-radius:50px;content:"";height:22px;-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;position:absolute;width:22px}.arc-v13-1-0 .arc .arc-RadioCard-radioIcon--isSelected::after,.arc-v13-1-0 .arc .arc-RadioCard[\:has\(input\[type\%3D\%22radio\%22\]\:checked\)] .arc-RadioCard-radioIcon::after{background:var(--stepper-colors-light-fg-variant);border-radius:1000px;content:"";height:100%;position:absolute;transform:scale(0.55);width:100%}.arc-v13-1-0 .arc .arc-RadioCard-radioIcon--isSelected::after,.arc-v13-1-0 .arc .arc-RadioCard[\:has\(input\[type\%3D\%22radio\%22\]\:checked\)] .arc-RadioCard-radioIcon::after{background:var(--stepper-colors-light-fg-variant);border-radius:1000px;content:"";height:100%;position:absolute;transform:scale(0.55);width:100%}.arc-v13-1-0 .arc .arc-RadioCard-radioIcon--isSelected::after,.arc-v13-1-0 .arc .arc-RadioCard:has(input[type="radio"]:checked) .arc-RadioCard-radioIcon::after{background:var(--stepper-colors-light-fg-variant);border-radius:1000px;content:"";height:100%;position:absolute;transform:scale(0.55);width:100%}.arc-v13-1-0 .arc .arc-RadioCardGroup{display:flex;flex-direction:column;row-gap:16px;width:100%}.arc-v13-1-0 .arc .arc-RadioCardGroup--isConstrained{max-width:500px}.arc-v13-1-0 .arc .arc-RadioCardGroup--row{-moz-column-gap:16px;column-gap:16px;flex-direction:row}
|
|
@@ -26,6 +26,7 @@ var useRadioContext = function () {
|
|
|
26
26
|
*/
|
|
27
27
|
var RadioGroup = function (_a) {
|
|
28
28
|
var children = _a.children, checkedValue = _a.checkedValue, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, id = _a.id, errorMessage = _a.errorMessage, _c = _a.isRequired, isRequired = _c === void 0 ? true : _c, helper = _a.helper, label = _a.label, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _d = _a.size, size = _d === void 0 ? "l" : _d, props = tslib_es6.__rest(_a, ["children", "checkedValue", "isDisabled", "id", "errorMessage", "isRequired", "helper", "label", "name", "onBlur", "onChange", "size"]);
|
|
29
|
+
var hasNoSelection = checkedValue === null || checkedValue === undefined || checkedValue === "";
|
|
29
30
|
return (React.createElement(Provider, { value: {
|
|
30
31
|
blurEvent: onBlur,
|
|
31
32
|
changeEvent: onChange,
|
|
@@ -35,12 +36,12 @@ var RadioGroup = function (_a) {
|
|
|
35
36
|
size: size,
|
|
36
37
|
} },
|
|
37
38
|
React.createElement("div", tslib_es6.__assign({ className: "arc-RadioGroup" }, filterAttrs.filterAttrs(props)),
|
|
38
|
-
React.createElement(FormControl.FormControl, { elementType: "fieldset", label: label, labelSize: size, helper: helper, id: id, requirementStatus: isRequired ? "required" : "optional", helperUnderLabel: true, errorMessage: isRequired &&
|
|
39
|
+
React.createElement(FormControl.FormControl, { elementType: "fieldset", label: label, labelSize: size, helper: helper, id: id, requirementStatus: isRequired ? "required" : "optional", helperUnderLabel: true, errorMessage: isRequired && hasNoSelection ? errorMessage : "" },
|
|
39
40
|
React.createElement("span", { className: "arc-RadioGroup-radioButtonContainer" }, children)))));
|
|
40
41
|
};
|
|
41
42
|
|
|
42
|
-
var RadioGroupButton =
|
|
43
|
-
var id = _a.id, changeEvent = _a.changeEvent, isDisabled = _a.isDisabled, size = _a.size, labelSize = _a.labelSize, checked = _a.checked, defaultChecked = _a.defaultChecked, radioButtonAlignment = _a.radioButtonAlignment, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, label = _a.label, helper = _a.helper, hideLabel = _a.hideLabel, withMargin = _a.withMargin, isError = _a.isError;
|
|
43
|
+
var RadioGroupButton = function (_a) {
|
|
44
|
+
var ref = _a.ref, id = _a.id, changeEvent = _a.changeEvent, isDisabled = _a.isDisabled, size = _a.size, labelSize = _a.labelSize, checked = _a.checked, defaultChecked = _a.defaultChecked, radioButtonAlignment = _a.radioButtonAlignment, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, label = _a.label, helper = _a.helper, hideLabel = _a.hideLabel, withMargin = _a.withMargin, isError = _a.isError;
|
|
44
45
|
var surface = React.useContext(Surface.Context).surface;
|
|
45
46
|
var idLabel = "".concat(id, "-label");
|
|
46
47
|
return (React.createElement("div", { className: index.classNames({
|
|
@@ -62,19 +63,19 @@ var RadioGroupButton = React.forwardRef(function (_a, ref) {
|
|
|
62
63
|
}) },
|
|
63
64
|
hideLabel ? React.createElement(VisuallyHidden.VisuallyHidden, null, label) : label,
|
|
64
65
|
helper && (React.createElement("span", { className: "arc-RadioGroupButton-helper" }, helper))))));
|
|
65
|
-
}
|
|
66
|
+
};
|
|
66
67
|
|
|
67
68
|
/**
|
|
68
69
|
* Radio Button component.
|
|
69
70
|
*/
|
|
70
|
-
var RadioGroupInput =
|
|
71
|
-
var helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, _b = _a.radioButtonAlignment, radioButtonAlignment = _b === void 0 ? "center" : _b, value = _a.value, isError = _a.isError, props = tslib_es6.__rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value", "isError"]);
|
|
71
|
+
var RadioGroupInput = function (_a) {
|
|
72
|
+
var ref = _a.ref, helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, _b = _a.radioButtonAlignment, radioButtonAlignment = _b === void 0 ? "center" : _b, value = _a.value, isError = _a.isError, props = tslib_es6.__rest(_a, ["ref", "helper", "id", "isDisabled", "label", "radioButtonAlignment", "value", "isError"]);
|
|
72
73
|
var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue, name = _c.name, size = _c.size;
|
|
73
74
|
var isChecked = checkedValue === value ? true : false;
|
|
74
75
|
var checked = typeof changeEvent !== "function" ? undefined : isChecked;
|
|
75
76
|
var defaultChecked = typeof changeEvent !== "function" ? isChecked : undefined;
|
|
76
77
|
return (React.createElement(RadioGroupButton, tslib_es6.__assign({ withMargin: true, ref: ref, id: id, name: name, helper: helper, isDisabled: isDisabled || groupDisabled, size: size, radioButtonAlignment: radioButtonAlignment, label: label, defaultChecked: defaultChecked, checked: checked, changeEvent: changeEvent, blurEvent: blurEvent, value: value, isError: isError }, props)));
|
|
77
|
-
}
|
|
78
|
+
};
|
|
78
79
|
|
|
79
80
|
exports.RadioGroup = RadioGroup;
|
|
80
81
|
exports.RadioGroupButton = RadioGroupButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-w7hdJ3oZ.mjs';
|
|
3
|
-
import React__default, { createContext, useContext
|
|
3
|
+
import React__default, { createContext, useContext } from 'react';
|
|
4
4
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-v_SweZXP.mjs';
|
|
5
5
|
import { F as FormControl } from '../_shared/esm/FormControl-DopDD_nC.mjs';
|
|
6
6
|
import { c as classNames } from '../_shared/esm/index-5C0-U8cc.mjs';
|
|
@@ -24,6 +24,7 @@ var useRadioContext = function () {
|
|
|
24
24
|
*/
|
|
25
25
|
var RadioGroup = function (_a) {
|
|
26
26
|
var children = _a.children, checkedValue = _a.checkedValue, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, id = _a.id, errorMessage = _a.errorMessage, _c = _a.isRequired, isRequired = _c === void 0 ? true : _c, helper = _a.helper, label = _a.label, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _d = _a.size, size = _d === void 0 ? "l" : _d, props = __rest(_a, ["children", "checkedValue", "isDisabled", "id", "errorMessage", "isRequired", "helper", "label", "name", "onBlur", "onChange", "size"]);
|
|
27
|
+
var hasNoSelection = checkedValue === null || checkedValue === undefined || checkedValue === "";
|
|
27
28
|
return (React__default.createElement(Provider, { value: {
|
|
28
29
|
blurEvent: onBlur,
|
|
29
30
|
changeEvent: onChange,
|
|
@@ -33,12 +34,12 @@ var RadioGroup = function (_a) {
|
|
|
33
34
|
size: size,
|
|
34
35
|
} },
|
|
35
36
|
React__default.createElement("div", __assign({ className: "arc-RadioGroup" }, filterAttrs(props)),
|
|
36
|
-
React__default.createElement(FormControl, { elementType: "fieldset", label: label, labelSize: size, helper: helper, id: id, requirementStatus: isRequired ? "required" : "optional", helperUnderLabel: true, errorMessage: isRequired &&
|
|
37
|
+
React__default.createElement(FormControl, { elementType: "fieldset", label: label, labelSize: size, helper: helper, id: id, requirementStatus: isRequired ? "required" : "optional", helperUnderLabel: true, errorMessage: isRequired && hasNoSelection ? errorMessage : "" },
|
|
37
38
|
React__default.createElement("span", { className: "arc-RadioGroup-radioButtonContainer" }, children)))));
|
|
38
39
|
};
|
|
39
40
|
|
|
40
|
-
var RadioGroupButton =
|
|
41
|
-
var id = _a.id, changeEvent = _a.changeEvent, isDisabled = _a.isDisabled, size = _a.size, labelSize = _a.labelSize, checked = _a.checked, defaultChecked = _a.defaultChecked, radioButtonAlignment = _a.radioButtonAlignment, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, label = _a.label, helper = _a.helper, hideLabel = _a.hideLabel, withMargin = _a.withMargin, isError = _a.isError;
|
|
41
|
+
var RadioGroupButton = function (_a) {
|
|
42
|
+
var ref = _a.ref, id = _a.id, changeEvent = _a.changeEvent, isDisabled = _a.isDisabled, size = _a.size, labelSize = _a.labelSize, checked = _a.checked, defaultChecked = _a.defaultChecked, radioButtonAlignment = _a.radioButtonAlignment, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, label = _a.label, helper = _a.helper, hideLabel = _a.hideLabel, withMargin = _a.withMargin, isError = _a.isError;
|
|
42
43
|
var surface = useContext(Context).surface;
|
|
43
44
|
var idLabel = "".concat(id, "-label");
|
|
44
45
|
return (React__default.createElement("div", { className: classNames({
|
|
@@ -60,18 +61,18 @@ var RadioGroupButton = forwardRef(function (_a, ref) {
|
|
|
60
61
|
}) },
|
|
61
62
|
hideLabel ? React__default.createElement(VisuallyHidden, null, label) : label,
|
|
62
63
|
helper && (React__default.createElement("span", { className: "arc-RadioGroupButton-helper" }, helper))))));
|
|
63
|
-
}
|
|
64
|
+
};
|
|
64
65
|
|
|
65
66
|
/**
|
|
66
67
|
* Radio Button component.
|
|
67
68
|
*/
|
|
68
|
-
var RadioGroupInput =
|
|
69
|
-
var helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, _b = _a.radioButtonAlignment, radioButtonAlignment = _b === void 0 ? "center" : _b, value = _a.value, isError = _a.isError, props = __rest(_a, ["helper", "id", "isDisabled", "label", "radioButtonAlignment", "value", "isError"]);
|
|
69
|
+
var RadioGroupInput = function (_a) {
|
|
70
|
+
var ref = _a.ref, helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, _b = _a.radioButtonAlignment, radioButtonAlignment = _b === void 0 ? "center" : _b, value = _a.value, isError = _a.isError, props = __rest(_a, ["ref", "helper", "id", "isDisabled", "label", "radioButtonAlignment", "value", "isError"]);
|
|
70
71
|
var _c = useRadioContext(), blurEvent = _c.blurEvent, changeEvent = _c.changeEvent, groupDisabled = _c.groupDisabled, checkedValue = _c.checkedValue, name = _c.name, size = _c.size;
|
|
71
72
|
var isChecked = checkedValue === value ? true : false;
|
|
72
73
|
var checked = typeof changeEvent !== "function" ? undefined : isChecked;
|
|
73
74
|
var defaultChecked = typeof changeEvent !== "function" ? isChecked : undefined;
|
|
74
75
|
return (React__default.createElement(RadioGroupButton, __assign({ withMargin: true, ref: ref, id: id, name: name, helper: helper, isDisabled: isDisabled || groupDisabled, size: size, radioButtonAlignment: radioButtonAlignment, label: label, defaultChecked: defaultChecked, checked: checked, changeEvent: changeEvent, blurEvent: blurEvent, value: value, isError: isError }, props)));
|
|
75
|
-
}
|
|
76
|
+
};
|
|
76
77
|
|
|
77
78
|
export { RadioGroup, RadioGroupButton, RadioGroupInput };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-v12-1-0 .arc .arc-RadioGroupButton{line-height:0}.arc-v12-1-0 .arc .arc-RadioGroupButton--withMargin,.arc-v12-1-0 .arc .arc-RadioGroupButton--withMarginSmall{margin-top:var(--radio-gap-l)}.arc-v12-1-0 .arc .arc-RadioGroupButton-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--radio-colors-light-bg-default);border:var(--radio-border-weight) solid var(--radio-colors-light-border-default);border-radius:100%;cursor:pointer;display:block;margin-bottom:0;margin-left:0;margin-right:8px;margin-top:0;min-height:var(--radio-size-xl);min-width:var(--radio-size-xl)}.arc-v12-1-0 .arc .arc-RadioGroupButton-label{align-items:center;color:var(--radio-colors-light-text-default);cursor:pointer;display:inline-flex;font:var(--radio-type-input-default-m)}.arc-v12-1-0 .arc .arc-RadioGroupButton-label--alignTop{align-items:flex-start}.arc-v12-1-0 .arc .arc-RadioGroupButton-label--marginTop{margin-top:4px}.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-label--marginTop{margin-top:2px}.arc-v12-1-0 .arc .arc-RadioGroupButton-helper{color:var(--radio-colors-light-text-default);display:block;font:var(--radio-type-helper-default-m)}.arc-v12-1-0 .arc .arc-RadioGroupButton--disabled .arc-RadioGroupButton-input,.arc-v12-1-0 .arc .arc-RadioGroupButton--disabled .arc-RadioGroupButton-label,.arc-v12-1-0 .arc .arc-RadioGroupButton--disabled .arc-RadioGroupButton-helper{color:var(--radio-colors-light-text-disabled);cursor:not-allowed}.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-label{font:var(--radio-type-input-default-s)}.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-helper{font:var(--radio-type-helper-default-s)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input{background:var(--radio-colors-dark-bg-default);border-color:var(--radio-colors-dark-border-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input{min-height:var(--radio-size-l);min-width:var(--radio-size-l)}.arc-v12-1-0 .arc .arc-RadioGroupButton-input:checked{background:var(--radio-colors-light-fg-default);box-shadow:inset 0 0 0 5px var(--radio-colors-light-bg-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton-input:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 5px var(--radio-colors-light-bg-default);outline:var(--focus-border-weight-s) solid transparent}.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input:checked{background:var(--radio-colors-light-fg-default);box-shadow:inset 0 0 0 4px var(--radio-colors-light-bg-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 4px var(--radio-colors-light-bg-default);outline:var(--focus-border-weight-s) solid transparent}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-label,.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-helper{color:var(--radio-colors-dark-text-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--disabled .arc-RadioGroupButton-input,.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--disabled .arc-RadioGroupButton-label,.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--disabled .arc-RadioGroupButton-helper{color:var(--radio-colors-dark-text-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 5px var(--radio-colors-light-bg-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input:checked{background:var(--radio-colors-dark-fg-default);box-shadow:inset 0 0 0 5px var(--radio-colors-dark-bg-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 5px var(--radio-colors-dark-bg-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--invalid .arc-RadioGroupButton-input:not(:checked){background:var(--radio-colors-light-bg-error);border-color:var(--radio-colors-light-border-error);color:var(--radio-colors-light-bg-error)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--invalid .arc-RadioGroupButton-input:not(:checked){background:var(--radio-colors-dark-bg-error);border-color:var(--radio-colors-dark-border-error);color:var(--radio-colors-dark-bg-error)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input:checked{box-shadow:inset 0 0 0 4px var(--radio-colors-dark-bg-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 4px var(--radio-colors-light-bg-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--disabled{color:var(--radio-colors-light-text-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton-input[disabled]{background:var(--radio-colors-light-bg-disabled);border-color:var(--radio-colors-light-border-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton-input[disabled]:checked{background:var(--radio-colors-light-fg-disabled);box-shadow:inset 0 0 0 6px var(--radio-colors-light-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton-input[disabled]:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton-input[disabled]:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 6px var(--radio-colors-light-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 5px var(--radio-colors-dark-bg-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 4px var(--radio-colors-dark-bg-default)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--disabled{color:var(--radio-colors-dark-text-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]{background:var(--radio-colors-dark-bg-disabled);border-color:var(--radio-colors-dark-border-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked{box-shadow:inset 0 0 0 4px var(--radio-colors-light-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]:checked{background:var(--radio-colors-dark-fg-disabled);box-shadow:inset 0 0 0 6px var(--radio-colors-dark-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]:focus-visible{background:var(--radio-colors-dark-bg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:focus-visible{background:var(--radio-colors-light-bg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 4px var(--radio-colors-light-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked:focus-visible{background:var(--radio-colors-light-fg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 4px var(--radio-colors-light-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]:checked:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]:checked:focus-visible{background:var(--radio-colors-dark-fg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 6px var(--radio-colors-dark-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked{box-shadow:inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:focus-visible{background:var(--radio-colors-dark-bg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked:focus,.arc-v12-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked:focus-visible{background:var(--radio-colors-dark-fg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc-v12-1-0 .arc .arc-RadioGroup-radioButtonContainer .arc-RadioButton--withMargin:first-child{margin-top:0}.arc-v12-1-0 .arc .arc-RadioGroup-error{align-items:center;color:#da020f;display:flex;line-height:1.5;margin-top:12px}.arc-v12-1-0 .arc .arc-RadioGroup-error .arc-RadioGroup-error--icon{color:currentColor;flex-shrink:0;height:24px;margin-right:4px;width:24px}.arc-v12-1-0 .arc .arc-RadioGroup--onDarkSurface .arc-RadioGroup-error{color:#fa9590}
|
|
1
|
+
.arc-v13-1-0 .arc .arc-RadioGroupButton{line-height:0}.arc-v13-1-0 .arc .arc-RadioGroupButton--withMargin,.arc-v13-1-0 .arc .arc-RadioGroupButton--withMarginSmall{margin-top:var(--radio-gap-l)}.arc-v13-1-0 .arc .arc-RadioGroupButton-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--radio-colors-light-bg-default);border:var(--radio-border-weight) solid var(--radio-colors-light-border-default);border-radius:100%;cursor:pointer;display:block;margin-bottom:0;margin-left:0;margin-right:8px;margin-top:0;min-height:var(--radio-size-xl);min-width:var(--radio-size-xl)}.arc-v13-1-0 .arc .arc-RadioGroupButton-label{align-items:center;color:var(--radio-colors-light-text-default);cursor:pointer;display:inline-flex;font:var(--radio-type-input-default-m)}.arc-v13-1-0 .arc .arc-RadioGroupButton-label--alignTop{align-items:flex-start}.arc-v13-1-0 .arc .arc-RadioGroupButton-label--marginTop{margin-top:4px}.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-label--marginTop{margin-top:2px}.arc-v13-1-0 .arc .arc-RadioGroupButton-helper{color:var(--radio-colors-light-text-default);display:block;font:var(--radio-type-helper-default-m)}.arc-v13-1-0 .arc .arc-RadioGroupButton--disabled .arc-RadioGroupButton-input,.arc-v13-1-0 .arc .arc-RadioGroupButton--disabled .arc-RadioGroupButton-label,.arc-v13-1-0 .arc .arc-RadioGroupButton--disabled .arc-RadioGroupButton-helper{color:var(--radio-colors-light-text-disabled);cursor:not-allowed}.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-label{font:var(--radio-type-input-default-s)}.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-helper{font:var(--radio-type-helper-default-s)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input{background:var(--radio-colors-dark-bg-default);border-color:var(--radio-colors-dark-border-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input{min-height:var(--radio-size-l);min-width:var(--radio-size-l)}.arc-v13-1-0 .arc .arc-RadioGroupButton-input:checked{background:var(--radio-colors-light-fg-default);box-shadow:inset 0 0 0 5px var(--radio-colors-light-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton-input:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 5px var(--radio-colors-light-bg-default);outline:var(--focus-border-weight-s) solid transparent}.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input:checked{background:var(--radio-colors-light-fg-default);box-shadow:inset 0 0 0 4px var(--radio-colors-light-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 4px var(--radio-colors-light-bg-default);outline:var(--focus-border-weight-s) solid transparent}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-label,.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-helper{color:var(--radio-colors-dark-text-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--disabled .arc-RadioGroupButton-input,.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--disabled .arc-RadioGroupButton-label,.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--disabled .arc-RadioGroupButton-helper{color:var(--radio-colors-dark-text-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 5px var(--radio-colors-light-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input:checked{background:var(--radio-colors-dark-fg-default);box-shadow:inset 0 0 0 5px var(--radio-colors-dark-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 5px var(--radio-colors-dark-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--invalid .arc-RadioGroupButton-input:not(:checked){background:var(--radio-colors-light-bg-error);border-color:var(--radio-colors-light-border-error);color:var(--radio-colors-light-bg-error)}.arc-v13-1-0 .arc .arc-RadioGroupButton--invalid .arc-RadioGroupButton-input:not(:checked).arc-RadioGroupButton-input:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton--invalid .arc-RadioGroupButton-input:not(:checked).arc-RadioGroupButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 0 var(--radio-colors-light-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--invalid .arc-RadioGroupButton-input:not(:checked){background:var(--radio-colors-dark-bg-error);border-color:var(--radio-colors-dark-border-error);color:var(--radio-colors-dark-bg-error)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input:checked{box-shadow:inset 0 0 0 4px var(--radio-colors-dark-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 4px var(--radio-colors-light-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--disabled{color:var(--radio-colors-light-text-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton-input[disabled]{background:var(--radio-colors-light-bg-disabled);border-color:var(--radio-colors-light-border-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton-input[disabled]:checked{background:var(--radio-colors-light-fg-disabled);box-shadow:inset 0 0 0 6px var(--radio-colors-light-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton-input[disabled]:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton-input[disabled]:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 6px var(--radio-colors-light-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 5px var(--radio-colors-dark-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 4px var(--radio-colors-dark-bg-default)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--disabled{color:var(--radio-colors-dark-text-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]{background:var(--radio-colors-dark-bg-disabled);border-color:var(--radio-colors-dark-border-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked{box-shadow:inset 0 0 0 4px var(--radio-colors-light-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]:checked{background:var(--radio-colors-dark-fg-disabled);box-shadow:inset 0 0 0 6px var(--radio-colors-dark-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]:focus-visible{background:var(--radio-colors-dark-bg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:focus-visible{background:var(--radio-colors-light-bg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 4px var(--radio-colors-light-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked:focus-visible{background:var(--radio-colors-light-fg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 4px var(--radio-colors-light-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]:checked:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface .arc-RadioGroupButton-input[disabled]:checked:focus-visible{background:var(--radio-colors-dark-fg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 6px var(--radio-colors-dark-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked{box-shadow:inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:focus-visible{background:var(--radio-colors-dark-bg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked:focus,.arc-v13-1-0 .arc .arc-RadioGroupButton--onDarkSurface.arc-RadioGroupButton--small .arc-RadioGroupButton-input[disabled]:checked:focus-visible{background:var(--radio-colors-dark-fg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc-v13-1-0 .arc .arc-RadioGroup-radioButtonContainer .arc-RadioButton--withMargin:first-child{margin-top:0}.arc-v13-1-0 .arc .arc-RadioGroup-error{align-items:center;color:#da020f;display:flex;line-height:1.5;margin-top:12px}.arc-v13-1-0 .arc .arc-RadioGroup-error .arc-RadioGroup-error--icon{color:currentColor;flex-shrink:0;height:24px;margin-right:4px;width:24px}.arc-v13-1-0 .arc .arc-RadioGroup--onDarkSurface .arc-RadioGroup-error{color:#fa9590}
|
package/lib/Rule/Rule.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var Rule = require('../_shared/cjs/Rule-
|
|
4
|
+
var Rule = require('../_shared/cjs/Rule-essaguo_.cjs');
|
|
5
5
|
require('../_shared/cjs/tslib.es6-CCZ3TN_7.cjs');
|
|
6
6
|
require('react');
|
|
7
7
|
require('../_shared/cjs/index-CTlXMLug.cjs');
|
package/lib/Rule/Rule.mjs
CHANGED
package/lib/Rule/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-
|
|
1
|
+
.arc-v13-1-0 .arc .arc-Rule{background-color:var(--rule-colors-light-border-subtle);border:0;color:var(--rule-colors-light-border-subtle)}.arc-v13-1-0 .arc .arc-Rule--horizontal{height:var(--rule-border-weight-s);margin-bottom:0;margin-top:0}.arc-v13-1-0 .arc .arc-Rule--vertical{height:100%;margin-left:0;margin-right:0;width:var(--rule-border-weight-s)}.arc-v13-1-0 .arc .arc-Rule--onDarkSurface{background-color:var(--rule-colors-dark-border-subtle);color:var(--rule-colors-dark-border-subtle)}
|
|
@@ -16,7 +16,7 @@ require('../_shared/cjs/Surface-DIU5ciDT.cjs');
|
|
|
16
16
|
* Use `ScrollToTop` to allow the user to scroll to the top of the page by clicking a button.
|
|
17
17
|
*/
|
|
18
18
|
var ScrollToTop = function (_a) {
|
|
19
|
-
var _b = _a.appear, appear = _b === void 0 ? "always" : _b, _c = _a.isFixed, isFixed = _c === void 0 ? true : _c, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, _f = _a.focusColor, focusColor = _f === void 0 ? "
|
|
19
|
+
var _b = _a.appear, appear = _b === void 0 ? "always" : _b, _c = _a.isFixed, isFixed = _c === void 0 ? true : _c, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, _f = _a.focusColor, focusColor = _f === void 0 ? "primary" : _f, props = tslib_es6.__rest(_a, ["appear", "isFixed", "fill", "zIndex", "focusColor"]);
|
|
20
20
|
var _g = React.useState(false), hasScrolled = _g[0], setHasScrolled = _g[1];
|
|
21
21
|
React.useEffect(function () {
|
|
22
22
|
var handleScroll = debounce.debounce(function () {
|
|
@@ -14,7 +14,7 @@ import '../_shared/esm/Surface-C69KVzkY.mjs';
|
|
|
14
14
|
* Use `ScrollToTop` to allow the user to scroll to the top of the page by clicking a button.
|
|
15
15
|
*/
|
|
16
16
|
var ScrollToTop = function (_a) {
|
|
17
|
-
var _b = _a.appear, appear = _b === void 0 ? "always" : _b, _c = _a.isFixed, isFixed = _c === void 0 ? true : _c, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, _f = _a.focusColor, focusColor = _f === void 0 ? "
|
|
17
|
+
var _b = _a.appear, appear = _b === void 0 ? "always" : _b, _c = _a.isFixed, isFixed = _c === void 0 ? true : _c, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, _f = _a.focusColor, focusColor = _f === void 0 ? "primary" : _f, props = __rest(_a, ["appear", "isFixed", "fill", "zIndex", "focusColor"]);
|
|
18
18
|
var _g = useState(false), hasScrolled = _g[0], setHasScrolled = _g[1];
|
|
19
19
|
useEffect(function () {
|
|
20
20
|
var handleScroll = debounce(function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-
|
|
1
|
+
.arc-v13-1-0 .arc .arc-ScrollToTop{align-items:center;border-radius:var(--backtotop-border-radius-m);box-shadow:var(--elevation-02);cursor:pointer;display:flex;font-family:inherit;font-size:inherit;justify-content:center;margin:0;overflow:hidden;padding:0;visibility:hidden}.arc-v13-1-0 .arc .arc-ScrollToTop--visible{visibility:visible}.arc-v13-1-0 .arc .arc-ScrollToTop--fixed{bottom:20px;position:fixed;right:20px}.arc-v13-1-0 .arc .arc-ScrollToTop-textWrapper{width:0}.arc-v13-1-0 .arc .arc-ScrollToTop-text{display:block;line-height:1;padding-left:var(--backtotop-padding-m);text-align:left;white-space:nowrap}.arc-v13-1-0 .arc .arc-ScrollToTop-iconContainer{align-items:center;display:flex;height:var(--backtotop-size-m);justify-content:center;width:var(--backtotop-size-m)}.arc-v13-1-0 .arc .arc-ScrollToTop-icon{height:var(--backtotop-size-icon-m);width:var(--backtotop-size-icon-m)}@media (hover:hover){.arc-v13-1-0 .arc .arc-ScrollToTop:hover .arc-ScrollToTop-textWrapper{width:auto}}.arc-v13-1-0 .arc .arc-ScrollToTop:focus-visible .arc-ScrollToTop-textWrapper,.arc-v13-1-0 .arc .arc-ScrollToTop:active .arc-ScrollToTop-textWrapper{width:auto}.arc-v13-1-0 .arc .arc-ScrollToTop--solid{background-color:var(--backtotop-colors-light-bg-default);border:var(--backtotop-border-weight-m) solid var(--backtotop-colors-light-border-strong);color:var(--backtotop-colors-light-text-default-alt)}.arc-v13-1-0 .arc .arc-ScrollToTop--solid .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-default)}@media (hover:hover){.arc-v13-1-0 .arc .arc-ScrollToTop--solid:hover,.arc-v13-1-0 .arc .arc-ScrollToTop--solid:hover .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-hover)}}.arc-v13-1-0 .arc .arc-ScrollToTop:focus-visible{outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px}.arc-v13-1-0 .arc .arc-ScrollToTop--secondary:focus-visible{outline-color:var(--focus-colors-dark-border-subtle)}.arc-v13-1-0 .arc .arc-ScrollToTop--solid:focus-visible{background-color:var(--backtotop-colors-light-bg-selected)}.arc-v13-1-0 .arc .arc-ScrollToTop--solid:focus-visible .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-selected)}.arc-v13-1-0 .arc .arc-ScrollToTop--solid:active,.arc-v13-1-0 .arc .arc-ScrollToTop--solid:active .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-selected)}.arc-v13-1-0 .arc .arc-ScrollToTop--outlined{background-color:var(--backtotop-colors-light-bg-strong);border:var(--backtotop-border-weight-m) solid var(--backtotop-colors-light-border-default);color:var(--backtotop-colors-light-text-default)}.arc-v13-1-0 .arc .arc-ScrollToTop--outlined .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-strong)}.arc-v13-1-0 .arc .arc-ScrollToTop--outlined:active{background-color:var(--backtotop-colors-light-bg-subtle);border-color:var(--backtotop-colors-light-border-selected)}.arc-v13-1-0 .arc .arc-ScrollToTop--outlined:active .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-subtle)}
|
package/lib/Section/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-
|
|
1
|
+
.arc-v13-1-0 .arc .arc-Section--regular{--section-max-width:var(--arc-size-section-width-m);--section-margin-xs:var(--arc-size-section-margin-16);--section-margin-s:var(--arc-size-section-margin-24);--section-margin-m:var(--arc-size-section-margin-24);--section-margin-l:var(--arc-size-section-margin-32);--section-margin-xl:var(--arc-size-section-margin-32);--section-margin-xxl:var(--arc-size-section-margin-32);--section-margin-xxxl:var(--arc-size-section-margin-32)}.arc-v13-1-0 .arc .arc-Section--extended{--section-max-width:var(--arc-size-section-width-l);--section-margin-xs:var(--arc-size-section-margin-16);--section-margin-s:var(--arc-size-section-margin-24);--section-margin-m:var(--arc-size-section-margin-32);--section-margin-l:var(--arc-size-section-margin-48);--section-margin-xl:var(--arc-size-section-margin-64);--section-margin-xxl:var(--arc-size-section-margin-96);--section-margin-xxxl:var(--arc-size-section-margin-128)}.arc-v13-1-0 .arc .arc-Section{margin-left:auto;margin-right:auto;max-width:var(--section-max-width);padding-left:var(--section-margin-xs);padding-right:var(--section-margin-xs);position:relative;width:100%}@media (min-width:636px){.arc-v13-1-0 .arc .arc-Section{padding-left:var(--section-margin-s);padding-right:var(--section-margin-s)}}@media (min-width:768px){.arc-v13-1-0 .arc .arc-Section{padding-left:var(--section-margin-m);padding-right:var(--section-margin-m)}}@media (min-width:1024px){.arc-v13-1-0 .arc .arc-Section{padding-left:var(--section-margin-l);padding-right:var(--section-margin-l)}}@media (min-width:1280px){.arc-v13-1-0 .arc .arc-Section{padding-left:var(--section-margin-xl);padding-right:var(--section-margin-xl)}}@media (min-width:1440px){.arc-v13-1-0 .arc .arc-Section{padding-left:var(--section-margin-xxl);padding-right:var(--section-margin-xxl)}}@media (min-width:1920px){.arc-v13-1-0 .arc .arc-Section{padding-left:var(--section-margin-xxxl);padding-right:var(--section-margin-xxxl)}}.arc-v13-1-0 .arc .arc-Section--fullWidth{max-width:100%}.arc-v13-1-0 .arc .arc-Section--debugVisible::after{align-items:center;background:rgba(207,58,138,0.5);bottom:0;content:"Section";display:flex;justify-content:center;left:0;outline:1px dashed #cf3a8a;outline-offset:-1px;position:absolute;right:0;top:0}
|
package/lib/Select/Select.cjs
CHANGED
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-CCZ3TN_7.cjs');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var index$2 = require('../_shared/cjs/index-CTlXMLug.cjs');
|
|
7
|
-
var index$1 = require('../_shared/cjs/index-
|
|
7
|
+
var index$1 = require('../_shared/cjs/index-Dgn0408w.cjs');
|
|
8
8
|
var filterAttrs = require('../_shared/cjs/filter-attrs-D19P2s1V.cjs');
|
|
9
9
|
var FormControl = require('../_shared/cjs/FormControl-TtboqHRx.cjs');
|
|
10
|
-
var index = require('../_shared/cjs/index-
|
|
10
|
+
var index = require('../_shared/cjs/index-DlWZZNwu.cjs');
|
|
11
11
|
var Surface = require('../_shared/cjs/Surface-DIU5ciDT.cjs');
|
|
12
12
|
var ThemeIcon = require('../_shared/cjs/ThemeIcon-CwYN77IF.cjs');
|
|
13
13
|
require('react-dom');
|
|
14
|
-
require('../_shared/cjs/Combination-
|
|
14
|
+
require('../_shared/cjs/Combination-Cm62lfyr.cjs');
|
|
15
15
|
require('react/jsx-runtime');
|
|
16
|
-
require('../_shared/cjs/index-
|
|
17
|
-
require('../_shared/cjs/index-
|
|
18
|
-
require('../_shared/cjs/index-
|
|
16
|
+
require('../_shared/cjs/index-B_WZUATb.cjs');
|
|
17
|
+
require('../_shared/cjs/index-WO7l1Mfx.cjs');
|
|
18
|
+
require('../_shared/cjs/index-BdJeAKfz.cjs');
|
|
19
19
|
require('../_shared/cjs/DisclosureMini-Cy7hNc90.cjs');
|
|
20
20
|
require('../_shared/cjs/Text-jwsn80lQ.cjs');
|
|
21
21
|
require('../_shared/cjs/suffix-modifier-DLUGR-yG.cjs');
|
package/lib/Select/Select.mjs
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-w7hdJ3oZ.mjs';
|
|
3
3
|
import React__default, { useId, useContext, useState } from 'react';
|
|
4
4
|
import { c as classNames } from '../_shared/esm/index-5C0-U8cc.mjs';
|
|
5
|
-
import { R as Root2, T as Trigger, V as Value, I as Icon, P as Portal, C as Content2, a as Viewport, b as Item, c as ItemText, d as ItemIndicator } from '../_shared/esm/index-
|
|
5
|
+
import { R as Root2, T as Trigger, V as Value, I as Icon, P as Portal, C as Content2, a as Viewport, b as Item, c as ItemText, d as ItemIndicator } from '../_shared/esm/index-Dfz5UgHo.mjs';
|
|
6
6
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-v_SweZXP.mjs';
|
|
7
7
|
import { u as useAriaDescribedby, F as FormControl } from '../_shared/esm/FormControl-DopDD_nC.mjs';
|
|
8
|
-
import { e as useThemeElement } from '../_shared/esm/index-
|
|
8
|
+
import { e as useThemeElement } from '../_shared/esm/index-DkAfUbDx.mjs';
|
|
9
9
|
import { C as Context } from '../_shared/esm/Surface-C69KVzkY.mjs';
|
|
10
10
|
import { T as ThemeIcon } from '../_shared/esm/ThemeIcon-B0n6cKRb.mjs';
|
|
11
11
|
import 'react-dom';
|
|
12
|
-
import '../_shared/esm/Combination-
|
|
12
|
+
import '../_shared/esm/Combination-BW0YAEZD.mjs';
|
|
13
13
|
import 'react/jsx-runtime';
|
|
14
|
-
import '../_shared/esm/index-
|
|
15
|
-
import '../_shared/esm/index-
|
|
16
|
-
import '../_shared/esm/index-
|
|
14
|
+
import '../_shared/esm/index-B3ewsmrD.mjs';
|
|
15
|
+
import '../_shared/esm/index-DNvlT7G_.mjs';
|
|
16
|
+
import '../_shared/esm/index-Cgsjp3NL.mjs';
|
|
17
17
|
import '../_shared/esm/DisclosureMini-DeQZyvDN.mjs';
|
|
18
18
|
import '../_shared/esm/Text-BAzOkkzN.mjs';
|
|
19
19
|
import '../_shared/esm/suffix-modifier-B_pO0UkF.mjs';
|
package/lib/Select/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-
|
|
1
|
+
.arc-v13-1-0 .arc .arc-Select-trigger{align-items:center;background-color:var(--select-colors-light-bg-default);border:var(--select-border-weight-s) solid var(--select-colors-light-border-default);border-radius:var(--select-border-radius-m);color:var(--select-colors-light-text-default);display:flex;font:var(--sem-type-body-reg-m);height:var(--select-size-m);justify-content:space-between;padding:0 calc(var(--select-padding-m) - var(--select-border-weight-s));text-align:left;width:100%}.arc-v13-1-0 .arc .arc-Select-trigger--sizeS{border-radius:var(--select-border-radius-s);height:var(--select-size-s);padding:0 calc(var(--select-padding-s) - var(--select-border-weight-s))}.arc-v13-1-0 .arc .arc-Select-trigger--sizeL{border-radius:var(--select-border-radius-l);height:var(--select-size-l);padding:0 calc(var(--select-padding-l) - var(--select-border-weight-s))}.arc-v13-1-0 .arc .arc-Select-trigger--constrained{max-width:20rem}.arc-v13-1-0 .arc .arc-Select-trigger--onDarkSurface{background-color:var(--select-colors-dark-bg-default);border-color:var(--select-colors-dark-border-strong);color:var(--select-colors-dark-text-default)}.arc-v13-1-0 .arc .arc-Select-trigger:disabled{background-color:var(--select-colors-light-bg-disabled);border-color:var(--select-colors-light-border-disabled);color:var(--select-colors-light-text-disabled);cursor:not-allowed}.arc-v13-1-0 .arc .arc-Select-placeHolder{color:var(--select-colors-light-text-default);display:block;font:var(--sem-type-body-reg-m);max-width:calc(100% - 2rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.arc-v13-1-0 .arc .arc-Select-triggerIcon{margin-left:15px}.arc-v13-1-0 .arc .arc-Select-trigger[data-state="open"] .arc-Select-triggerIcon{transform:rotate(180deg)}.arc-v13-1-0 .arc .arc-Select-content{background:#ffffff;border-radius:12px;box-shadow:0 0 1px 0 rgba(0,0,0,0.2),0 4px 12px 0 rgba(0,0,0,0.1);display:flex;flex-direction:column;max-height:var(--radix-select-content-available-height);padding:0 12px;position:relative;width:var(--radix-select-trigger-width);z-index:101}.arc-v13-1-0 .arc .arc-Select-content--scrollable{margin-right:-12px;overflow-x:hidden;overflow-y:scroll;padding:0 12px 0 0;scrollbar-width:thin}.arc-v13-1-0 .arc .arc-Select-item{border-radius:var(--menu-card-border-radius-s);display:flex;flex-direction:row;gap:var(--menu-card-gap-m);margin-bottom:4px;outline:none;padding:var(--menu-card-padding-m);position:relative;width:100%}.arc-v13-1-0 .arc .arc-Select-item:first-child{margin-top:12px}.arc-v13-1-0 .arc .arc-Select-item:last-child{margin-bottom:12px}.arc-v13-1-0 .arc .arc-Select-itemText{flex-wrap:nowrap;gap:var(--menu-card-gap-xs)}.arc-v13-1-0 .arc .arc-Select-trigger .arc-Select-itemText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arc-v13-1-0 .arc .arc-Select-trigger>span:first-child{display:block;flex:1 1 auto;font:var(--sem-type-body-reg-m);max-width:calc(100% - 2rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arc-v13-1-0 .arc .arc-Select-trigger--sizeS>span:first-child,.arc-v13-1-0 .arc .arc-Select-content--sizeS .arc-Select-itemText{font:var(--sem-type-body-reg-s)}.arc-v13-1-0 .arc .arc-Select-trigger--sizeL>span:first-child,.arc-v13-1-0 .arc .arc-Select-content--sizeL .arc-Select-itemText{font:var(--sem-type-body-reg-l)}.arc-v13-1-0 .arc .arc-Select-trigger--invalid{background-color:var(--select-colors-light-bg-error);border-color:var(--select-colors-light-border-error)}.arc-v13-1-0 .arc .arc-Select-trigger:focus{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle);outline:none}.arc-v13-1-0 .arc .arc-Select-item[data-highlighted]{background-color:var(--menu-card-bg-hover);border-radius:var(--menu-card-border-radius-s);border-bottom-left-radius:4px;border-top-left-radius:4px;cursor:pointer;z-index:4}.arc-v13-1-0 .arc .arc-Select-item[data-highlighted]::before{background-color:var(--menu-card-foreground-hover);border-bottom-left-radius:var(--menu-card-border-radius-s);border-top-left-radius:var(--menu-card-border-radius-s);content:"";height:100%;left:0;position:absolute;top:0;transition:background-color 0.3s ease;width:3px}.arc-v13-1-0 .arc .arc-Select-item[data-state="checked"],.arc-v13-1-0 .arc .arc-Select-item[aria-expanded="true"]{background:var(--menu-card-bg-active)}.arc-v13-1-0 .arc .arc-Select-itemSelectIcon{align-self:center;display:flex;margin-left:auto}.arc-v13-1-0 .arc .arc-Select-trigger--onDarkSurface:disabled{background-color:var(--select-colors-dark-bg-disabled);border-color:var(--select-colors-dark-border-disabled);color:var(--select-colors-dark-text-disabled)}.arc-v13-1-0 .arc .arc-Select-trigger--onDarkSurface:focus{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle)}.arc-v13-1-0 .arc .arc-Select-trigger--onDarkSurface.arc-Select-trigger--invalid{background-color:var(--select-colors-dark-bg-error);border-color:var(--select-colors-dark-border-error)}@media (prefers-reduced-motion:no-preference){.arc-v13-1-0 .arc-bt .arc-Select-triggerIcon{transition:transform 0.23s ease-out}.arc-v13-1-0 .arc .arc-Select-item{transition:0.1s cubic-bezier(0.44,0,0.55,0.94) background-color,0.1s cubic-bezier(0.44,0,0.55,0.94) color}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-
|
|
1
|
+
.arc-v13-1-0 :where(.arc .arc-SemanticHeading){display:block;font-family:var(--sem-font-family-heading);font-size:1em;font-weight:var(--sem-font-weight-semi-bold);margin:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-
|
|
1
|
+
.arc-v13-1-0 .arc .arc-SiteFooter-link{color:inherit;text-decoration:none}.arc-v13-1-0 .arc .arc-SiteFooter-link:hover{color:inherit;text-decoration:underline}.arc-v13-1-0 .arc .arc-SiteFooter-link:active{color:var(--sem-color-fg-primary-dark-subtle);text-decoration:none}.arc-v13-1-0 .arc .arc-SiteFooter-name{margin-bottom:var(--vertical-space-size-16)}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-name{margin-bottom:var(--vertical-space-size-32);margin-top:var(--vertical-space-size-24)}}.arc-v13-1-0 .arc .arc-SiteFooter-main{margin-bottom:var(--vertical-space-size-12)}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-main{display:flex;justify-content:space-between;margin-bottom:var(--vertical-space-size-32);margin-left:var(--arc-size-section-margin-24);margin-top:var(--vertical-space-size-24)}@supports (display:grid){.arc-v13-1-0 .arc .arc-SiteFooter-main{display:grid;grid-gap:var(--sem-space-gap-110);grid-template-columns:repeat(4,1fr);margin-left:0}}}@media (min-width:1280px){.arc-v13-1-0 .arc .arc-SiteFooter-main{margin-left:var(--arc-size-section-margin-32)}@supports (display:grid){.arc-v13-1-0 .arc .arc-SiteFooter-main{grid-gap:var(--sem-space-gap-130);margin-left:0}}}.arc-v13-1-0 .arc .arc-SiteFooter-disclosure{margin-left:calc(0px - var(--arc-size-section-margin-16));margin-right:calc(0px - var(--arc-size-section-margin-16))}@media (min-width:636px){.arc-v13-1-0 .arc .arc-SiteFooter-disclosure{margin-left:calc(0px - var(--arc-size-section-margin-24));margin-right:calc(0px - var(--arc-size-section-margin-24))}}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-disclosure{margin-left:var(--arc-size-section-margin-24);margin-right:0}@supports (display:grid){.arc-v13-1-0 .arc .arc-SiteFooter-disclosure{margin-left:0}}}@media (min-width:1280px){.arc-v13-1-0 .arc .arc-SiteFooter-disclosure{margin-left:var(--arc-size-section-margin-32)}@supports (display:grid){.arc-v13-1-0 .arc .arc-SiteFooter-disclosure{margin-left:0}}}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-disclosure[open]{background-color:transparent !important}}.arc-v13-1-0 .arc .arc-SiteFooter-summary{cursor:pointer;display:block;list-style:none;padding-bottom:var(--vertical-space-size-12);padding-left:var(--arc-size-section-margin-16);padding-right:var(--arc-size-section-margin-16);padding-top:var(--vertical-space-size-12);position:relative}.arc-v13-1-0 .arc .arc-SiteFooter-summary:focus{outline:var(--focus-border-weight-s) solid transparent}@media (min-width:636px){.arc-v13-1-0 .arc .arc-SiteFooter-summary{padding-left:var(--arc-size-section-margin-24);padding-right:var(--arc-size-section-margin-24)}}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-summary{padding:0}.arc-v13-1-0 .arc .arc-SiteFooter-disclosure[open] .arc-SiteFooter-summary{cursor:default;pointer-events:none}}.arc-v13-1-0 .arc .arc-SiteFooter-summary::-webkit-details-marker{display:none}.arc-v13-1-0 .arc .arc-SiteFooter-title{color:var(--sitefooter-colors-light-text-default);display:inline-block;font:var(--sem-type-body-semi-m);margin-bottom:0;margin-top:0;white-space:nowrap}.arc-v13-1-0 .arc .arc-SiteFooter-disclosure .arc-SiteFooter-icon{color:var(--sem-color-fg-secondary-dark-default);content:"";height:1em;position:absolute;right:var(--arc-size-section-margin-16);top:50%;transform:translateY(-50%);width:1em}@media (min-width:636px){.arc-v13-1-0 .arc .arc-SiteFooter-disclosure .arc-SiteFooter-icon{right:var(--arc-size-section-margin-24)}}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-disclosure[open] .arc-SiteFooter-summary:not(:focus) .arc-SiteFooter-icon{display:none}.arc-v13-1-0 .arc .arc-SiteFooter-disclosure[open] .arc-SiteFooter-summary:not(:focus-visible) .arc-SiteFooter-icon{display:none}}.arc-v13-1-0 .arc .arc-SiteFooter-link:focus{outline-color:var(--focus-colors-dark-border-subtle)}.arc-v13-1-0 .arc .arc-SiteFooter-link:focus-visible{outline-color:var(--focus-colors-dark-border-subtle)}.arc-v13-1-0 .arc .arc-SiteFooter-mainItems{list-style:none;margin-bottom:0;margin-top:0;padding-left:0}.arc-v13-1-0 .arc .arc-SiteFooter-mainItems .arc-SiteFooter-link{align-items:center;display:flex;gap:8px;padding-bottom:var(--vertical-space-size-12);padding-left:var(--arc-size-section-margin-16);padding-right:var(--arc-size-section-margin-16);padding-top:var(--vertical-space-size-12)}.arc-v13-1-0 .arc .arc-SiteFooter-rule{background:var(--sitefooter-colors-light-border-subtle);border:0;color:var(--sitefooter-colors-light-border-subtle);height:var(--sitefooter-border-weight-s);margin-bottom:0;margin-top:0}@media (min-width:636px){.arc-v13-1-0 .arc .arc-SiteFooter-mainItems .arc-SiteFooter-link{padding-bottom:var(--vertical-space-size-12);padding-left:var(--arc-size-section-margin-24);padding-right:var(--arc-size-section-margin-24);padding-top:var(--vertical-space-size-12)}}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-mainItems .arc-SiteFooter-link{margin-top:var(--vertical-space-size-16);padding:0}.arc-v13-1-0 .arc .arc-SiteFooter-mainItems .arc-SiteFooter-link:hover{text-decoration:underline}.arc-v13-1-0 .arc .arc-SiteFooter-secondaryItems{margin-left:calc(0px - (var(--sem-space-gap-110) * 3))}}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-rule{margin-bottom:var(--vertical-space-size-24)}.arc-v13-1-0 .arc .arc-SiteFooter-secondary{align-items:flex-end;display:flex;justify-content:space-between}}.arc-v13-1-0 .arc .arc-SiteFooter-secondaryItems{align-items:center;display:flex;flex-wrap:wrap;list-style:none;margin-bottom:0;margin-left:calc(0px - var(--arc-size-section-margin-24));margin-top:var(--vertical-space-size-24);padding-left:0}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-secondaryItems{justify-content:flex-start;margin-bottom:calc(0px - var(--vertical-space-size-24));margin-left:calc(0px - (var(--arc-size-section-margin-16) * 2));margin-top:0;padding-bottom:calc(var(--vertical-space-size-12) / 2)}}.arc-v13-1-0 .arc .arc-SiteFooter-secondaryItems .arc-SiteFooter-item{font:var(--sem-type-body-reg-s);margin-bottom:var(--vertical-space-size-24);margin-left:var(--arc-size-section-margin-24)}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-secondaryItems .arc-SiteFooter-item{margin-left:calc(var(--arc-size-section-margin-16) * 3)}}@media (min-width:1024px){.arc-v13-1-0 .arc .arc-SiteFooter-secondaryItems .arc-SiteFooter-item{margin-left:calc(var(--arc-size-section-margin-16) * 2)}}.arc-v13-1-0 .arc .arc-SiteFooter-brand{align-items:center;display:flex;justify-content:flex-end;margin-left:auto}.arc-v13-1-0 .arc .arc-SiteFooter-brand:only-child{margin-top:var(--vertical-space-size-24)}@media (min-width:1024px){.arc-v13-1-0 .arc .arc-SiteFooter-brand:only-child{margin-top:0}}.arc-v13-1-0 .arc .arc-SiteFooter-copyright{font:var(--sem-type-body-reg-xs);margin-right:12px;white-space:nowrap}.arc-v13-1-0 .arc .arc-SiteFooter-copyrightSymbol::after{content:" BT"}.arc-v13-1-0 .arc .arc-SiteFooter-summary:focus::before{bottom:0;box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle);content:"";left:0;position:absolute;right:0;top:0}.arc-v13-1-0 .arc .arc-SiteFooter-summary:focus-visible::before{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle)}.arc-v13-1-0 .arc .arc-SiteFooter-summary:focus:not(:focus-visible)::before{box-shadow:none}@media (prefers-reduced-motion:no-preference){.arc-v13-1-0 .arc .arc-SiteFooter-disclosure .arc-SiteFooter-icon{transition:0.2s cubic-bezier(0.44,0,0.55,0.94)}}.arc-v13-1-0 .arc .arc-SiteFooter-disclosure[open] .arc-SiteFooter-icon{transform:rotate(180deg) translateY(50%)}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooter-mainItems .arc-SiteFooter-link:hover,.arc-v13-1-0 .arc .arc-SiteFooter-mainItems .arc-SiteFooter-link:active{background-color:transparent}}
|
|
@@ -7,7 +7,7 @@ var index = require('../_shared/cjs/index-CTlXMLug.cjs');
|
|
|
7
7
|
var filterAttrs = require('../_shared/cjs/filter-attrs-D19P2s1V.cjs');
|
|
8
8
|
var Surface = require('../_shared/cjs/Surface-DIU5ciDT.cjs');
|
|
9
9
|
var Section = require('../_shared/cjs/Section-BorWFfNe.cjs');
|
|
10
|
-
var Rule = require('../_shared/cjs/Rule-
|
|
10
|
+
var Rule = require('../_shared/cjs/Rule-essaguo_.cjs');
|
|
11
11
|
var VerticalSpace = require('../_shared/cjs/VerticalSpace-DLQUYsvc.cjs');
|
|
12
12
|
var handleLinkClick = require('../_shared/cjs/handle-link-click-C7BvOIYa.cjs');
|
|
13
13
|
var Visible = require('../_shared/cjs/Visible-Ca2H20zc.cjs');
|
|
@@ -22,14 +22,15 @@ require('../_shared/cjs/suffix-modifier-DLUGR-yG.cjs');
|
|
|
22
22
|
* Use `SiteFooterV2` to display information at the bottom of a page.
|
|
23
23
|
*/
|
|
24
24
|
var SiteFooterV2 = function (_a) {
|
|
25
|
-
var children = _a.children, slogan = _a.slogan, _b = _a.hideTopBorder, hideTopBorder = _b === void 0 ? false : _b, props = tslib_es6.__rest(_a, ["children", "slogan", "hideTopBorder"]);
|
|
25
|
+
var children = _a.children, slogan = _a.slogan, _b = _a.hideTopBorder, hideTopBorder = _b === void 0 ? false : _b, _c = _a.isExtended, isExtended = _c === void 0 ? false : _c, props = tslib_es6.__rest(_a, ["children", "slogan", "hideTopBorder", "isExtended"]);
|
|
26
26
|
var surface = React.useContext(Surface.Context).surface;
|
|
27
27
|
return (React.createElement("footer", tslib_es6.__assign({ className: index.classNames("arc-SiteFooterV2", {
|
|
28
28
|
"arc-SiteFooterV2--onDarkSurface": surface === "dark",
|
|
29
|
+
"arc-SiteFooterV2--extended": isExtended,
|
|
29
30
|
}) }, filterAttrs.filterAttrs(props)),
|
|
30
31
|
!hideTopBorder && React.createElement(Rule.Rule, null),
|
|
31
32
|
React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
|
|
32
|
-
React.createElement(Section.Section,
|
|
33
|
+
React.createElement(Section.Section, { isExtended: isExtended },
|
|
33
34
|
slogan && (React.createElement(React.Fragment, null,
|
|
34
35
|
React.createElement("span", { className: "arc-SiteFooterV2-slogan" }, slogan),
|
|
35
36
|
React.createElement(VerticalSpace.VerticalSpace, { size: "32" }))),
|
|
@@ -5,7 +5,7 @@ import { c as classNames } from '../_shared/esm/index-5C0-U8cc.mjs';
|
|
|
5
5
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-v_SweZXP.mjs';
|
|
6
6
|
import { C as Context } from '../_shared/esm/Surface-C69KVzkY.mjs';
|
|
7
7
|
import { S as Section } from '../_shared/esm/Section-COc1l3mp.mjs';
|
|
8
|
-
import { R as Rule } from '../_shared/esm/Rule-
|
|
8
|
+
import { R as Rule } from '../_shared/esm/Rule-Bz3QPezk.mjs';
|
|
9
9
|
import { V as VerticalSpace } from '../_shared/esm/VerticalSpace-BLWB02I7.mjs';
|
|
10
10
|
import { h as handleLinkClick } from '../_shared/esm/handle-link-click-CIgZ7pa0.mjs';
|
|
11
11
|
import { V as Visible } from '../_shared/esm/Visible-C4eEyTBM.mjs';
|
|
@@ -20,14 +20,15 @@ import '../_shared/esm/suffix-modifier-B_pO0UkF.mjs';
|
|
|
20
20
|
* Use `SiteFooterV2` to display information at the bottom of a page.
|
|
21
21
|
*/
|
|
22
22
|
var SiteFooterV2 = function (_a) {
|
|
23
|
-
var children = _a.children, slogan = _a.slogan, _b = _a.hideTopBorder, hideTopBorder = _b === void 0 ? false : _b, props = __rest(_a, ["children", "slogan", "hideTopBorder"]);
|
|
23
|
+
var children = _a.children, slogan = _a.slogan, _b = _a.hideTopBorder, hideTopBorder = _b === void 0 ? false : _b, _c = _a.isExtended, isExtended = _c === void 0 ? false : _c, props = __rest(_a, ["children", "slogan", "hideTopBorder", "isExtended"]);
|
|
24
24
|
var surface = useContext(Context).surface;
|
|
25
25
|
return (React__default.createElement("footer", __assign({ className: classNames("arc-SiteFooterV2", {
|
|
26
26
|
"arc-SiteFooterV2--onDarkSurface": surface === "dark",
|
|
27
|
+
"arc-SiteFooterV2--extended": isExtended,
|
|
27
28
|
}) }, filterAttrs(props)),
|
|
28
29
|
!hideTopBorder && React__default.createElement(Rule, null),
|
|
29
30
|
React__default.createElement(VerticalSpace, { size: "24" }),
|
|
30
|
-
React__default.createElement(Section,
|
|
31
|
+
React__default.createElement(Section, { isExtended: isExtended },
|
|
31
32
|
slogan && (React__default.createElement(React__default.Fragment, null,
|
|
32
33
|
React__default.createElement("span", { className: "arc-SiteFooterV2-slogan" }, slogan),
|
|
33
34
|
React__default.createElement(VerticalSpace, { size: "32" }))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-
|
|
1
|
+
.arc-v13-1-0 .arc .arc-SiteFooterV2-slogan{border-right:0;color:var(--sem-color-fg-secondary-light-muted-alt);font:var(--sem-type-body-reg-m);margin:0;padding:0}.arc-v13-1-0 .arc .arc-SiteFooterV2--onDarkSurface .arc-SiteFooterV2-slogan{color:var(--sem-color-fg-secondary-dark-strong)}.arc-v13-1-0 .arc .arc-SiteFooterV2-main{margin-bottom:var(--vertical-space-size-40)}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooterV2-main{grid-column-gap:var(--sitefooter-gap-xl);-moz-column-gap:var(--sitefooter-gap-xl);column-gap:var(--sitefooter-gap-xl);display:grid;grid-template-columns:repeat(2,1fr);grid-row-gap:var(--vertical-space-size-40);row-gap:var(--vertical-space-size-40)}}@media (min-width:1024px){.arc-v13-1-0 .arc .arc-SiteFooterV2-main{grid-column-gap:var(--sitefooter-gap-xl);-moz-column-gap:var(--sitefooter-gap-xl);column-gap:var(--sitefooter-gap-xl);display:grid;grid-template-columns:repeat(4,1fr)}.arc-v13-1-0 .arc .arc-SiteFooterV2-main-3Columns{grid-column-gap:var(--sitefooter-gap-xl);-moz-column-gap:var(--sitefooter-gap-xl);column-gap:var(--sitefooter-gap-xl);display:grid;grid-template-columns:repeat(3,1fr)}}@media (min-width:1280px){.arc-v13-1-0 .arc .arc-SiteFooterV2-main{grid-column-gap:var(--sitefooter-gap-xxl);-moz-column-gap:var(--sitefooter-gap-xxl);column-gap:var(--sitefooter-gap-xxl);display:grid;grid-template-columns:repeat(4,1fr)}.arc-v13-1-0 .arc .arc-SiteFooterV2-main-3Columns{grid-column-gap:var(--sitefooter-gap-xxl);-moz-column-gap:var(--sitefooter-gap-xxl);column-gap:var(--sitefooter-gap-xxl);display:grid;grid-template-columns:repeat(3,1fr)}}@media (min-width:1920px){.arc-v13-1-0 .arc .arc-SiteFooterV2--extended .arc-SiteFooterV2-main{grid-column-gap:40px;-moz-column-gap:40px;column-gap:40px;display:grid;grid-template-columns:repeat(4,1fr)}.arc-v13-1-0 .arc .arc-SiteFooterV2--extended .arc-SiteFooterV2-main-3Columns{grid-column-gap:40px;-moz-column-gap:40px;column-gap:40px;display:grid;grid-template-columns:repeat(3,1fr)}}.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure{margin-left:calc(0px - var(--arc-size-section-margin-s));margin-right:calc(0px - var(--arc-size-section-margin-s))}@media (min-width:636px){.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure{margin-left:calc(0px - var(--arc-size-section-margin-m));margin-right:calc(0px - var(--arc-size-section-margin-m))}}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure{margin-left:var(--arc-size-section-margin-m);margin-right:0}@supports (display:grid){.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure{margin-left:0}}.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure[open]{background-color:transparent !important}}@media (min-width:1280px){.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure{margin-left:var(--arc-size-section-margin-l)}@supports (display:grid){.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure{margin-left:0}}}.arc-v13-1-0 .arc .arc-SiteFooterV2-link{color:var(--sem-color-fg-secondary-light-muted);text-decoration:none}.arc-v13-1-0 .arc .arc-SiteFooterV2-link:hover{color:inherit;text-decoration:underline}.arc-v13-1-0 .arc .arc-SiteFooterV2-link:focus{border-radius:var(--focus-border-radius-s);outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px}.arc-v13-1-0 .arc .arc-SiteFooterV2-link:focus-visible{border-radius:var(--focus-border-radius-s);outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px}.arc-v13-1-0 .arc .arc-SiteFooterV2-summary{align-items:center;cursor:pointer;display:flex;gap:var(--sitefooter-gap-l);list-style:none;padding-bottom:var(--vertical-space-size-16);padding-top:var(--vertical-space-size-16);position:relative}.arc-v13-1-0 .arc .arc-SiteFooterV2-summary:focus{outline:var(--focus-border-weight-s) solid transparent}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooterV2-summary{padding:0}.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure[open] .arc-SiteFooterV2-summary{cursor:default;pointer-events:none}}.arc-v13-1-0 .arc .arc-SiteFooterV2-summary::-webkit-details-marker{display:none}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure[open] .arc-SiteFooterV2-summary:not(:focus) .arc-SiteFooterV2-icon{display:none}.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure[open] .arc-SiteFooterV2-summary:not(:focus-visible) .arc-SiteFooterV2-icon{display:none}}.arc-v13-1-0 .arc .arc-SiteFooterV2-summary:focus::before{bottom:0;content:"";left:0;position:absolute;right:0;top:0}.arc-v13-1-0 .arc .arc-SiteFooterV2-summary:focus-visible::before{border-radius:var(--focus-border-radius-s);outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px}.arc-v13-1-0 .arc .arc-SiteFooterV2-summary:focus:not(:focus-visible)::before{box-shadow:none}@media (prefers-reduced-motion:no-preference){.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure .arc-SiteFooterV2-icon{transition:0.2s cubic-bezier(0.44,0,0.55,0.94)}}.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure .arc-SiteFooterV2-icon{content:"";height:1em;width:1em}.arc-v13-1-0 .arc .arc-SiteFooterV2-disclosure[open] .arc-SiteFooterV2-icon{transform:rotate(180deg)}.arc-v13-1-0 .arc .arc-SiteFooterV2-itemGroup{list-style:none;margin-bottom:var(--vertical-space-size-8);margin-top:0;padding-left:0}.arc-v13-1-0 .arc .arc-SiteFooterV2-itemGroup .arc-SiteFooterV2-link{align-items:center;display:flex;gap:var(--sitefooter-gap-m);padding-bottom:var(--vertical-space-size-16);padding-left:var(--sitefooter-padding-xxl);padding-right:var(--sitefooter-padding-xxl)}.arc-v13-1-0 .arc .arc-SiteFooterV2--onDarkSurface .arc-SiteFooterV2-link{color:var(--sem-color-fg-secondary-dark-muted)}.arc-v13-1-0 .arc .arc-SiteFooterV2-itemGroup .arc-SiteFooterV2-item:first-child .arc-SiteFooterV2-link{padding-top:var(--vertical-space-size-8)}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooterV2-itemGroup .arc-SiteFooterV2-link{margin-top:var(--vertical-space-size-16);padding:0}.arc-v13-1-0 .arc .arc-SiteFooterV2-itemGroup .arc-SiteFooterV2-link:hover{text-decoration:underline}.arc-v13-1-0 .arc .arc-SiteFooterV2-itemGroup .arc-SiteFooterV2-item:first-child .arc-SiteFooterV2-link{padding-top:0}}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooterV2-itemGroup .arc-SiteFooterV2-link:hover,.arc-v13-1-0 .arc .arc-SiteFooterV2-itemGroup .arc-SiteFooterV2-link:active{background-color:transparent}}.arc-v13-1-0 .arc .arc-SiteFooterV2-itemGroupTitle{display:inline-block;font:var(--sem-type-body-semi-m);margin-bottom:0;margin-top:0;white-space:nowrap}.arc-v13-1-0 .arc .arc-SiteFooterV2-utility{display:flex;flex-direction:column;row-gap:var(--vertical-space-size-40);width:100%}@media (min-width:636px){.arc-v13-1-0 .arc .arc-SiteFooterV2-utility{align-items:flex-start;flex-direction:row;justify-self:flex-start}}@media (min-width:768px){.arc-v13-1-0 .arc .arc-SiteFooterV2-utility{align-items:flex-start;display:flex}}.arc-v13-1-0 .arc .arc-SiteFooterV2-utilityItems{align-items:center;display:flex;flex-wrap:wrap;font:var(--sem-type-body-reg-s);gap:32px;list-style:none;margin:0;padding:0;row-gap:24px}@media (min-width:636px){.arc-v13-1-0 .arc .arc-SiteFooterV2-utilityItems{padding-left:56px;padding-right:56px;padding-top:6px;row-gap:16px}}.arc-v13-1-0 .arc .arc-SiteFooterV2-utilitySocials{display:flex;flex-direction:row;gap:var(--sitefooter-gap-l);list-style:none;margin:0;padding:0;padding-top:var(--sitefooter-padding-s);padding-bottom:var(--sitefooter-padding-s)}@media (min-width:636px){.arc-v13-1-0 .arc .arc-SiteFooterV2-utilitySocials{display:flex;flex-direction:row;flex-grow:1;gap:var(--sitefooter-gap-l);justify-content:flex-end;list-style:none;margin:0}}.arc-v13-1-0 .arc .arc-SiteFooterV2-utilitySocialsLink:focus{border-radius:var(--focus-border-radius-s);outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px}.arc-v13-1-0 .arc .arc-SiteFooterV2-utilitySocialsLink:focus-visible{border-radius:var(--focus-border-radius-s);outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px}.arc-v13-1-0 .arc .arc-SiteFooterV2-brand{align-items:center;align-self:flex-start;display:flex;height:var(--sitefooter-size-icon-l)}.arc-v13-1-0 .arc .arc-SiteFooterV2-brandLogo{cursor:pointer}.arc-v13-1-0 .arc .arc-SiteFooterV2-copyright{font:var(--sem-type-body-reg-xs);padding-left:var(--sitefooter-gap-m);white-space:nowrap}.arc-v13-1-0 .arc .arc-SiteFooterV2-contentSlot{align-items:center;display:flex;height:var(--sitefooter-size-icon-l)}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-CCZ3TN_7.cjs');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var index = require('../_shared/cjs/index-CTlXMLug.cjs');
|
|
7
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
7
|
+
var index_es = require('../_shared/cjs/index.es-CCJ64o4N.cjs');
|
|
8
8
|
var filterAttrs = require('../_shared/cjs/filter-attrs-D19P2s1V.cjs');
|
|
9
9
|
var BtIconChevronRight2Px = require('../_shared/cjs/BtIconChevronRight2Px-CIRaur2B.cjs');
|
|
10
10
|
var BrandLogo = require('../_shared/cjs/BrandLogo-coNfTwRv.cjs');
|
|
@@ -14,7 +14,7 @@ var handleLinkClick = require('../_shared/cjs/handle-link-click-C7BvOIYa.cjs');
|
|
|
14
14
|
var Icon = require('../_shared/cjs/Icon-Dk2XHa7V.cjs');
|
|
15
15
|
var BtIconChevronRightMid = require('../_shared/cjs/BtIconChevronRightMid-eGxk3ae6.cjs');
|
|
16
16
|
var ConditionalWrapper = require('../_shared/cjs/ConditionalWrapper-Cl6kgjCL.cjs');
|
|
17
|
-
var ButtonV2 = require('../_shared/cjs/ButtonV2-
|
|
17
|
+
var ButtonV2 = require('../_shared/cjs/ButtonV2-CxyploaQ.cjs');
|
|
18
18
|
var suffixModifier = require('../_shared/cjs/suffix-modifier-DLUGR-yG.cjs');
|
|
19
19
|
var Text = require('../_shared/cjs/Text-jwsn80lQ.cjs');
|
|
20
20
|
require('../_shared/cjs/index-DR8Rkav9.cjs');
|
|
@@ -46,7 +46,7 @@ var SiteHeaderV2 = function (_a) {
|
|
|
46
46
|
var _j = React.useState(false), hasClientSideJavaScript = _j[0], setHasClientSideJavaScript = _j[1];
|
|
47
47
|
var _k = React.useState(false), menuOpen = _k[0], setMenuOpen = _k[1];
|
|
48
48
|
var isMinWidthArcBreakpointL = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsL, ")"));
|
|
49
|
-
var menubarRef = React.useRef();
|
|
49
|
+
var menubarRef = React.useRef(null);
|
|
50
50
|
React.useEffect(function () {
|
|
51
51
|
if (!isMinWidthArcBreakpointL && menuOpen) {
|
|
52
52
|
document.body.classList.add("arc-body--overflowHidden");
|
|
@@ -188,6 +188,9 @@ var SiteHeaderV2Panel = function (_a) {
|
|
|
188
188
|
// by listening to clicks on the entire document and acting accordingly.
|
|
189
189
|
var handleClick = function (e) {
|
|
190
190
|
var _a, _b, _c, _d;
|
|
191
|
+
// null check for navItemRef
|
|
192
|
+
if (!(navItemRef === null || navItemRef === void 0 ? void 0 : navItemRef.current))
|
|
193
|
+
return;
|
|
191
194
|
(_b = (_a = menubarRef === null || menubarRef === void 0 ? void 0 : menubarRef.current) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.add("noFocus");
|
|
192
195
|
// Don't close the Panel…
|
|
193
196
|
if (
|
|
@@ -330,7 +333,7 @@ var SiteHeaderV2ViewAll = function (_a) {
|
|
|
330
333
|
var SiteHeaderV2NavItem = function (_a) {
|
|
331
334
|
var _b, _c, _d, _e, _f;
|
|
332
335
|
var children = _a.children, href = _a.href, isCurrent = _a.isCurrent, onClick = _a.onClick, title = _a.title, isPrimary = _a.isPrimary, opensFirstWithPanel = _a.opensFirstWithPanel, subTitle = _a.subTitle, props = tslib_es6.__rest(_a, ["children", "href", "isCurrent", "onClick", "title", "isPrimary", "opensFirstWithPanel", "subTitle"]);
|
|
333
|
-
var navItem = React.useRef();
|
|
336
|
+
var navItem = React.useRef(null);
|
|
334
337
|
var _g = React.useState(false), panelOpen = _g[0], setPanelOpen = _g[1];
|
|
335
338
|
var _h = React.useState(true), openSecondaryWithSubNav = _h[0], setOpenSecondaryWithSubNav = _h[1];
|
|
336
339
|
var isMinWidthArcBreakpointL = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsL, ")"));
|
|
@@ -441,7 +444,7 @@ var Provider = Context.Provider;
|
|
|
441
444
|
var SiteHeaderV2NavItemWithSubNav = function (_a) {
|
|
442
445
|
var _b, _c, _d, _e, _f;
|
|
443
446
|
var href = _a.href, slot1 = _a.slot1, slot2 = _a.slot2, slot3 = _a.slot3, slot4 = _a.slot4, slot5 = _a.slot5, slot6 = _a.slot6, _g = _a.subTitle, subTitle = _g === void 0 ? null : _g, title = _a.title, onViewAllClick = _a.onViewAllClick, isPrimary = _a.isPrimary, opensFirstWithPanel = _a.opensFirstWithPanel, viewAllTitle = _a.viewAllTitle, props = tslib_es6.__rest(_a, ["href", "slot1", "slot2", "slot3", "slot4", "slot5", "slot6", "subTitle", "title", "onViewAllClick", "isPrimary", "opensFirstWithPanel", "viewAllTitle"]);
|
|
444
|
-
var navItem = React.useRef();
|
|
447
|
+
var navItem = React.useRef(null);
|
|
445
448
|
var _h = React.useState(true), defaultItem = _h[0], setDefaultItem = _h[1];
|
|
446
449
|
var _j = React.useState(false), panelOpen = _j[0], setPanelOpen = _j[1];
|
|
447
450
|
var _k = React.useState(false), horizontalPanelOpen = _k[0], setHorizontalPanelOpen = _k[1];
|
|
@@ -549,7 +552,7 @@ var SiteHeaderV2SubNavItem = function (_a) {
|
|
|
549
552
|
var _b, _c;
|
|
550
553
|
var children = _a.children, _d = _a.isDefaultItem, isDefaultItem = _d === void 0 ? false : _d, href = _a.href, onClick = _a.onClick, offsetXL = _a.offsetXL, subTitle = _a.subTitle, title = _a.title, viewAllTitle = _a.viewAllTitle, icon = _a.icon, props = tslib_es6.__rest(_a, ["children", "isDefaultItem", "href", "onClick", "offsetXL", "subTitle", "title", "viewAllTitle", "icon"]);
|
|
551
554
|
var navItem = React.useContext(Context).navItem;
|
|
552
|
-
var subNavItem = React.useRef();
|
|
555
|
+
var subNavItem = React.useRef(null);
|
|
553
556
|
var _e = React.useState(false), panelOpen = _e[0], setPanelOpen = _e[1];
|
|
554
557
|
var isMinWidthArcBreakpointL = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsL, ")"));
|
|
555
558
|
React.useEffect(function () {
|