@arc-ui/components 12.0.0-beta.23 → 12.0.0-beta.24
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/Alert.cjs +39 -39
- package/lib/Alert/Alert.mjs +40 -40
- package/lib/Alert/styles.css +1 -1
- package/lib/Align/Align.cjs +4 -3
- package/lib/Align/Align.mjs +2 -1
- package/lib/Align/styles.css +1 -1
- package/lib/AppButton/AppButton.cjs +5 -4
- package/lib/AppButton/AppButton.mjs +3 -2
- package/lib/AppButton/styles.css +1 -1
- package/lib/Avatar/Avatar.cjs +9 -7
- package/lib/Avatar/Avatar.mjs +9 -7
- package/lib/Avatar/styles.css +1 -1
- package/lib/AvatarGroup/AvatarGroup.cjs +14 -12
- package/lib/AvatarGroup/AvatarGroup.mjs +9 -7
- package/lib/AvatarGroup/styles.css +1 -1
- package/lib/Badge/Badge.cjs +3 -2
- package/lib/Badge/Badge.mjs +3 -2
- package/lib/Badge/styles.css +1 -1
- package/lib/Banner/Banner.cjs +14 -12
- package/lib/Banner/Banner.mjs +12 -10
- package/lib/Box/Box.cjs +4 -3
- package/lib/Box/Box.mjs +4 -3
- package/lib/Box/styles.css +1 -1
- package/lib/BrandLogo/BrandLogo.cjs +4 -3
- package/lib/BrandLogo/BrandLogo.mjs +4 -3
- package/lib/BrandLogo/styles.css +1 -1
- package/lib/Breadcrumbs/Breadcrumbs.cjs +7 -6
- package/lib/Breadcrumbs/Breadcrumbs.mjs +4 -3
- package/lib/Breadcrumbs/styles.css +1 -1
- package/lib/Button/Button.cjs +6 -5
- package/lib/Button/Button.mjs +6 -5
- package/lib/Button/styles.css +1 -1
- package/lib/ButtonGroup/ButtonGroup.cjs +11 -10
- package/lib/ButtonGroup/ButtonGroup.mjs +8 -7
- package/lib/ButtonGroup/styles.css +1 -1
- package/lib/ButtonV2/ButtonV2.cjs +6 -5
- package/lib/ButtonV2/ButtonV2.mjs +6 -5
- package/lib/ButtonV2/styles.css +1 -1
- package/lib/Calendar/Calendar.cjs +12 -10
- package/lib/Calendar/Calendar.mjs +12 -10
- package/lib/Calendar/styles.css +1 -1
- package/lib/CardFooter/CardFooter.cjs +5 -4
- package/lib/CardFooter/CardFooter.mjs +5 -4
- package/lib/CardFooter/styles.css +1 -1
- package/lib/CardHeading/CardHeading.cjs +6 -4
- package/lib/CardHeading/CardHeading.mjs +6 -4
- package/lib/CardHeading/styles.css +1 -1
- package/lib/Carousel/Carousel.cjs +7 -6
- package/lib/Carousel/Carousel.mjs +6 -5
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/Checkbox.cjs +22 -55
- package/lib/Checkbox/Checkbox.mjs +23 -56
- package/lib/Checkbox/styles.css +1 -1
- package/lib/CheckboxIcon/CheckboxIcon.cjs +19 -0
- package/lib/CheckboxIcon/CheckboxIcon.mjs +13 -0
- package/lib/CheckboxIcon/styles.css +1 -0
- package/lib/ClientSideVisible/ClientSideVisible.cjs +8 -0
- package/lib/ClientSideVisible/ClientSideVisible.mjs +2 -0
- package/lib/Columns/Columns.cjs +7 -6
- package/lib/Columns/Columns.mjs +3 -2
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/ComboBox.cjs +30 -29
- package/lib/ComboBox/ComboBox.mjs +14 -13
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.cjs +5 -4
- package/lib/ContentSwitcher/ContentSwitcher.mjs +5 -4
- package/lib/ContentSwitcher/styles.css +1 -1
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +10 -9
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +10 -9
- package/lib/ContentSwitcherDropdown/styles.css +1 -1
- package/lib/DatePicker/DatePicker.cjs +31 -30
- package/lib/DatePicker/DatePicker.mjs +20 -19
- package/lib/DatePicker/styles.css +1 -1
- package/lib/Disclosure/Disclosure.cjs +8 -6
- package/lib/Disclosure/Disclosure.mjs +6 -4
- package/lib/Disclosure/styles.css +1 -1
- package/lib/DisclosureMini/DisclosureMini.cjs +6 -5
- package/lib/DisclosureMini/DisclosureMini.mjs +6 -5
- package/lib/DisclosureMini/styles.css +1 -1
- package/lib/Download/Download.cjs +7 -6
- package/lib/Download/Download.mjs +7 -6
- package/lib/Download/styles.css +1 -1
- package/lib/Drawer/Drawer.cjs +154 -18
- package/lib/Drawer/Drawer.mjs +154 -18
- package/lib/Drawer/styles.css +1 -1
- package/lib/Elevation/Elevation.cjs +9 -5
- package/lib/Elevation/Elevation.mjs +8 -4
- package/lib/Elevation/styles.css +1 -1
- package/lib/Filter/Filter.cjs +7 -6
- package/lib/Filter/Filter.mjs +4 -3
- package/lib/Filter/styles.css +1 -1
- package/lib/FormControl/FormControl.cjs +8 -7
- package/lib/FormControl/FormControl.mjs +8 -7
- package/lib/FormControl/styles.css +1 -1
- package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +12 -10
- package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +10 -8
- package/lib/GhostedHeroBanner/styles.css +1 -1
- package/lib/GradientPageBackground/GradientPageBackground.cjs +96 -209
- package/lib/GradientPageBackground/GradientPageBackground.mjs +97 -210
- package/lib/GradientPageBackground/styles.css +1 -1
- package/lib/Grid/Grid.cjs +3 -2
- package/lib/Grid/Grid.mjs +3 -2
- package/lib/Grid/styles.css +1 -1
- package/lib/Group/Group.cjs +7 -6
- package/lib/Group/Group.mjs +3 -2
- package/lib/Group/styles.css +1 -1
- package/lib/Heading/Heading.cjs +5 -3
- package/lib/Heading/Heading.mjs +5 -3
- package/lib/Heading/styles.css +1 -1
- package/lib/HeroBanner/HeroBanner.cjs +14 -12
- package/lib/HeroBanner/HeroBanner.mjs +14 -12
- package/lib/HeroBanner/styles.css +1 -1
- package/lib/HeroButton/HeroButton.cjs +9 -8
- package/lib/HeroButton/HeroButton.mjs +5 -4
- package/lib/HeroButton/styles.css +1 -1
- package/lib/Hidden/Hidden.cjs +3 -2
- package/lib/Hidden/Hidden.mjs +3 -2
- package/lib/Hidden/styles.css +1 -1
- package/lib/HorizontalCard/HorizontalCard.cjs +14 -12
- package/lib/HorizontalCard/HorizontalCard.mjs +11 -9
- package/lib/HorizontalCard/styles.css +1 -1
- package/lib/Icon/Icon.cjs +4 -3
- package/lib/Icon/Icon.mjs +4 -3
- package/lib/Icon/styles.css +1 -1
- package/lib/Image/Image.cjs +3 -2
- package/lib/Image/Image.mjs +3 -2
- package/lib/Image/styles.css +1 -1
- package/lib/ImpactCard/ImpactCard.cjs +13 -11
- package/lib/ImpactCard/ImpactCard.mjs +10 -8
- package/lib/ImpactCard/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +29 -19
- package/lib/InformationCard/InformationCard.mjs +23 -13
- package/lib/InformationCard/styles.css +1 -1
- package/lib/Link/Link.cjs +6 -5
- package/lib/Link/Link.mjs +6 -5
- package/lib/Link/styles.css +1 -1
- package/lib/Markup/Markup.cjs +5 -4
- package/lib/Markup/Markup.mjs +3 -2
- package/lib/Markup/styles.css +1 -1
- package/lib/MediaCard/MediaCard.cjs +15 -13
- package/lib/MediaCard/MediaCard.mjs +11 -9
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/Menu.cjs +221 -83
- package/lib/Menu/Menu.mjs +206 -68
- package/lib/Menu/styles.css +1 -1
- package/lib/Modal/Modal.cjs +22 -20
- package/lib/Modal/Modal.mjs +18 -16
- package/lib/Modal/styles.css +1 -1
- package/lib/NavigationHeader/NavigationHeader.cjs +123 -105
- package/lib/NavigationHeader/NavigationHeader.mjs +107 -89
- package/lib/NavigationHeader/styles.css +1 -1
- package/lib/Pagination/Pagination.cjs +10 -9
- package/lib/Pagination/Pagination.mjs +6 -5
- package/lib/Pagination/styles.css +1 -1
- package/lib/PaginationSimple/PaginationSimple.cjs +7 -6
- package/lib/PaginationSimple/PaginationSimple.mjs +5 -4
- package/lib/PaginationSimple/styles.css +1 -1
- package/lib/Popover/Popover.cjs +8 -7
- package/lib/Popover/Popover.mjs +8 -7
- package/lib/Popover/styles.css +1 -1
- package/lib/Poster/Poster.cjs +10 -9
- package/lib/Poster/Poster.mjs +4 -3
- package/lib/Poster/styles.css +1 -1
- package/lib/ProgressBar/ProgressBar.cjs +15 -13
- package/lib/ProgressBar/ProgressBar.mjs +10 -8
- package/lib/ProgressBar/styles.css +1 -1
- package/lib/ProgressStepper/ProgressStepper.cjs +6 -6
- package/lib/ProgressStepper/ProgressStepper.mjs +6 -6
- package/lib/ProgressStepper/styles.css +1 -1
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +8 -8
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +6 -6
- package/lib/ProgressStepperOverflow/styles.css +1 -1
- package/lib/RadioCardGroup/RadioCardGroup.cjs +13 -12
- package/lib/RadioCardGroup/RadioCardGroup.mjs +9 -8
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/RadioGroup.cjs +14 -12
- package/lib/RadioGroup/RadioGroup.mjs +12 -10
- package/lib/RadioGroup/styles.css +1 -1
- package/lib/Rule/Rule.cjs +4 -3
- package/lib/Rule/Rule.mjs +4 -3
- package/lib/Rule/styles.css +1 -1
- package/lib/ScrollToTop/ScrollToTop.cjs +11 -18
- package/lib/ScrollToTop/ScrollToTop.mjs +11 -18
- package/lib/ScrollToTop/styles.css +1 -1
- package/lib/Section/Section.cjs +3 -2
- package/lib/Section/Section.mjs +3 -2
- package/lib/Section/styles.css +1 -1
- package/lib/Select/Select.cjs +25 -17
- package/lib/Select/Select.mjs +25 -17
- package/lib/Select/styles.css +1 -1
- package/lib/SemanticHeading/SemanticHeading.cjs +10 -0
- package/lib/SemanticHeading/SemanticHeading.mjs +4 -0
- package/lib/SemanticHeading/styles.css +1 -0
- package/lib/SiteFooter/SiteFooter.cjs +13 -12
- package/lib/SiteFooter/SiteFooter.mjs +7 -6
- package/lib/SiteFooter/styles.css +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.cjs +23 -22
- package/lib/SiteFooterV2/SiteFooterV2.mjs +10 -9
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +30 -29
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +10 -9
- package/lib/SiteHeaderV2/styles.css +1 -1
- package/lib/Skeleton/Skeleton.cjs +4 -3
- package/lib/Skeleton/Skeleton.mjs +2 -1
- package/lib/Skeleton/styles.css +1 -1
- package/lib/SkipLink/SkipLink.cjs +5 -4
- package/lib/SkipLink/SkipLink.mjs +4 -3
- package/lib/SkipLink/styles.css +1 -1
- package/lib/Spinner/Spinner.cjs +3 -2
- package/lib/Spinner/Spinner.mjs +3 -2
- package/lib/Spinner/styles.css +1 -1
- package/lib/Surface/Surface.cjs +3 -2
- package/lib/Surface/Surface.mjs +3 -2
- package/lib/Surface/styles.css +1 -1
- package/lib/Switch/Switch.cjs +14 -13
- package/lib/Switch/Switch.mjs +12 -11
- package/lib/Switch/styles.css +1 -1
- package/lib/TabbedBanner/TabbedBanner.cjs +26 -24
- package/lib/TabbedBanner/TabbedBanner.mjs +22 -20
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/Tabs.cjs +12 -11
- package/lib/Tabs/Tabs.mjs +5 -4
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/Tag.cjs +9 -6
- package/lib/Tag/Tag.mjs +8 -5
- package/lib/Tag/styles.css +1 -1
- package/lib/TemplateBanner/TemplateBanner.cjs +12 -10
- package/lib/TemplateBanner/TemplateBanner.mjs +12 -10
- package/lib/TemplateBanner/styles.css +1 -1
- package/lib/Text/Text.cjs +4 -3
- package/lib/Text/Text.mjs +4 -3
- package/lib/Text/styles.css +1 -1
- package/lib/TextArea/TextArea.cjs +11 -10
- package/lib/TextArea/TextArea.mjs +9 -8
- package/lib/TextArea/styles.css +1 -1
- package/lib/TextInput/TextInput.cjs +10 -9
- package/lib/TextInput/TextInput.mjs +10 -9
- package/lib/TextInput/styles.css +1 -1
- package/lib/Theme/Theme.cjs +5 -4
- package/lib/Theme/Theme.mjs +3 -2
- package/lib/Theme/styles.css +1 -1
- package/lib/ThemeIcon/ThemeIcon.cjs +4 -3
- package/lib/ThemeIcon/ThemeIcon.mjs +4 -3
- package/lib/ThemeIcon/styles.css +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +12 -11
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +8 -7
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/Toast/Toast.cjs +12 -9
- package/lib/Toast/Toast.mjs +9 -6
- package/lib/Toast/styles.css +1 -1
- package/lib/Tooltip/Tooltip.cjs +6 -5
- package/lib/Tooltip/Tooltip.mjs +6 -5
- package/lib/Tooltip/styles.css +1 -1
- package/lib/Truncate/Truncate.cjs +4 -3
- package/lib/Truncate/Truncate.mjs +2 -1
- package/lib/Truncate/styles.css +1 -1
- package/lib/TypographyCard/TypographyCard.cjs +11 -9
- package/lib/TypographyCard/TypographyCard.mjs +9 -7
- package/lib/TypographyCard/styles.css +1 -1
- package/lib/UniversalHeader/UniversalHeader.cjs +7 -6
- package/lib/UniversalHeader/UniversalHeader.mjs +3 -2
- package/lib/UniversalHeader/styles.css +1 -1
- package/lib/VerticalSpace/VerticalSpace.cjs +3 -2
- package/lib/VerticalSpace/VerticalSpace.mjs +3 -2
- package/lib/VerticalSpace/styles.css +1 -1
- package/lib/VideoPlayer/VideoPlayer.cjs +27 -26
- package/lib/VideoPlayer/VideoPlayer.mjs +26 -25
- package/lib/VideoPlayer/styles.css +1 -1
- package/lib/Visible/Visible.cjs +3 -2
- package/lib/Visible/Visible.mjs +3 -2
- package/lib/Visible/styles.css +1 -1
- package/lib/VisuallyHidden/VisuallyHidden.cjs +3 -2
- package/lib/VisuallyHidden/VisuallyHidden.mjs +3 -2
- package/lib/VisuallyHidden/styles.css +1 -1
- package/lib/_shared/cjs/{Avatar-CrUioj_6.cjs → Avatar-CecZTQdk.cjs} +11 -10
- package/lib/_shared/cjs/Badge-DX5PjtiZ.cjs +15 -0
- package/lib/_shared/cjs/BannerImage-qK8-w9rt.cjs +13 -0
- package/lib/_shared/cjs/{Box-COPXU1Jf.cjs → Box-Va2g7Gdp.cjs} +5 -4
- package/lib/_shared/cjs/{BrandLogo-D5wlIFmm.cjs → BrandLogo-coNfTwRv.cjs} +5 -4
- package/lib/_shared/cjs/{Button-uD9mR8w-.cjs → Button-MXE2zSmS.cjs} +9 -8
- package/lib/_shared/cjs/ButtonV2-BJlwsXlN.cjs +58 -0
- package/lib/_shared/cjs/{Calendar-Bfdgf5q1.cjs → Calendar-CFUNKEyb.cjs} +35 -41
- package/lib/_shared/cjs/{CardFooter-ChphRFHe.cjs → CardFooter-BPtRFaCy.cjs} +5 -16
- package/lib/_shared/cjs/{CardHeading-Cl0D1Khp.cjs → CardHeading-1-dcxBUr.cjs} +4 -3
- package/lib/_shared/cjs/CheckboxIcon-B94mtYCX.cjs +52 -0
- package/lib/_shared/cjs/ClientSideVisible-BhW-T6kb.cjs +16 -0
- package/lib/_shared/cjs/{Combination-B-rSVLfT.cjs → Combination-6m6aOXZq.cjs} +9 -9
- package/lib/_shared/cjs/{ContentSwitcherDropdown-U5ZTbJTe.cjs → ContentSwitcherDropdown-BtEnzdMw.cjs} +23 -12
- package/lib/_shared/cjs/{ContentSwitcherList-pcYtuT6L.cjs → ContentSwitcherList-BgAW2IhJ.cjs} +14 -10
- package/lib/_shared/cjs/{DisclosureMini-CtvDxVaG.cjs → DisclosureMini-KEuIc8tE.cjs} +7 -6
- package/lib/_shared/cjs/{Download-CrIytI74.cjs → Download-NY3tbv9Q.cjs} +8 -5
- package/lib/_shared/cjs/{FormControl-BPnKQrCm.cjs → FormControl-DiERJpGW.cjs} +16 -13
- package/lib/_shared/cjs/GridRow-l_SePUqV.cjs +45 -0
- package/lib/_shared/cjs/{Heading-BEMSkLYR.cjs → Heading-CoiZ2EmD.cjs} +7 -8
- package/lib/_shared/cjs/{Hidden-Vsv1-xWO.cjs → Hidden-BN0Q0NpZ.cjs} +4 -3
- package/lib/_shared/cjs/{Icon-CzhyKqMd.cjs → Icon-Dk2XHa7V.cjs} +5 -4
- package/lib/_shared/cjs/{Image-C1pcrfnN.cjs → Image-CSe0KpDN.cjs} +8 -7
- package/lib/_shared/cjs/{Link-C3OSQIIk.cjs → Link-PWpx-rRO.cjs} +10 -9
- package/lib/_shared/cjs/{Popover-C5mmMkYU.cjs → Popover-hpvmhKV8.cjs} +9 -7
- package/lib/_shared/cjs/{ProgressStepper-BL9Y5c4X.cjs → ProgressStepper-DTZQabiV.cjs} +142 -10
- package/lib/_shared/cjs/{Rule-DMQsi2L6.cjs → Rule-jmvOpci7.cjs} +4 -3
- package/lib/_shared/cjs/{Section-Bz2fwj8Z.cjs → Section-BorWFfNe.cjs} +4 -3
- package/lib/_shared/cjs/SemanticHeading-BPXN_z49.cjs +12 -0
- package/lib/_shared/cjs/Spinner-427lpnHI.cjs +17 -0
- package/lib/_shared/cjs/{Surface-BFx1yNsq.cjs → Surface-DIU5ciDT.cjs} +6 -5
- package/lib/_shared/cjs/{TemplateBanner-COymAI91.cjs → TemplateBanner-BlmWfDQD.cjs} +15 -14
- package/lib/_shared/cjs/{Text-Cr5nmYmx.cjs → Text-jwsn80lQ.cjs} +5 -4
- package/lib/_shared/cjs/{TextInput-ByySubi5.cjs → TextInput-B0JrZhOo.cjs} +13 -12
- package/lib/_shared/cjs/{ThemeIcon-BoxbjTaQ.cjs → ThemeIcon-Def4RZfK.cjs} +5 -4
- package/lib/_shared/cjs/{Tooltip-BPHL0ELI.cjs → Tooltip-CEb7YEP2.cjs} +10 -9
- package/lib/_shared/cjs/{VerticalSpace-BJvST6WP.cjs → VerticalSpace-DLQUYsvc.cjs} +5 -3
- package/lib/_shared/cjs/{Visible-vchtZSfm.cjs → Visible-DZWtZ5qG.cjs} +4 -3
- package/lib/_shared/cjs/VisuallyHidden-CQg3cOVK.cjs +15 -0
- package/lib/_shared/cjs/{arc-breakpoints-CS8JVk5T.cjs → arc-breakpoints-BDA1EnFK.cjs} +11 -1
- package/lib/_shared/cjs/filter-attrs-D19P2s1V.cjs +15 -0
- package/lib/_shared/cjs/{index-Dv1xvB_E.cjs → index-BGGFOAAx.cjs} +1 -1
- package/lib/_shared/cjs/{index-CaO6cOF0.cjs → index-BWfgSvRQ.cjs} +3 -3
- package/lib/_shared/cjs/{index-C_Rl7v2g.cjs → index-CDVpHNP8.cjs} +3 -3
- package/lib/_shared/cjs/{index-EFXw1jWg.cjs → index-CklPiHsS.cjs} +1 -1
- package/lib/_shared/cjs/{index-DAr_oO4-.cjs → index-D9onmVh5.cjs} +2 -2
- package/lib/_shared/cjs/{index-Bt7hfZBc.cjs → index-KrMgv4q_.cjs} +1 -1
- package/lib/_shared/cjs/{index.es-fkulh7qu.cjs → index.es-VcVPUNjD.cjs} +1 -1
- package/lib/_shared/cjs/{filter-attrs-eK6E_34o.cjs → tslib.es6-CCZ3TN_7.cjs} +0 -13
- package/lib/_shared/cjs/use-media-query-DqZqShGX.cjs +58 -0
- package/lib/_shared/esm/{Avatar-Fb1E5MA9.mjs → Avatar-Cyqjgj85.mjs} +6 -5
- package/lib/_shared/esm/{Badge-BZ7E0zcQ.mjs → Badge-C_3PBa0p.mjs} +2 -1
- package/lib/_shared/esm/{BannerImage-BTsixvUH.mjs → BannerImage-CgjgaYkJ.mjs} +2 -2
- package/lib/_shared/esm/{Box-BYm_GTct.mjs → Box-C8iK8x5c.mjs} +3 -2
- package/lib/_shared/esm/{BrandLogo-_2Z_8I2Y.mjs → BrandLogo-Dc-d_8ZN.mjs} +3 -2
- package/lib/_shared/esm/{Button-BxuM3_gz.mjs → Button-BpQQut8P.mjs} +5 -4
- package/lib/_shared/esm/{ButtonV2-DwYBAojW.mjs → ButtonV2-C4a_kkhh.mjs} +16 -13
- package/lib/_shared/esm/{Calendar-Drh_NJ9I.mjs → Calendar-CFdUlPXh.mjs} +14 -20
- package/lib/_shared/esm/{CardFooter-fsAY4cc6.mjs → CardFooter-BpVSztgE.mjs} +5 -16
- package/lib/_shared/esm/{CardHeading-_setRRjq.mjs → CardHeading-q6k7obu0.mjs} +4 -3
- package/lib/_shared/esm/CheckboxIcon-Bzto2Tke.mjs +50 -0
- package/lib/_shared/esm/ClientSideVisible-D_iBE-3U.mjs +14 -0
- package/lib/_shared/esm/{Combination-BpO6XTeS.mjs → Combination-BQ4XBtF-.mjs} +1 -1
- package/lib/_shared/esm/{ContentSwitcherDropdown-BCkuAfwC.mjs → ContentSwitcherDropdown-DgrN4Bdb.mjs} +21 -10
- package/lib/_shared/esm/{ContentSwitcherList-DwHfU3no.mjs → ContentSwitcherList-i4m4nAzP.mjs} +8 -4
- package/lib/_shared/esm/{DisclosureMini-B9LzsQC2.mjs → DisclosureMini-ClSe9sSt.mjs} +5 -4
- package/lib/_shared/esm/{Download-DFz_1HCG.mjs → Download-BD8Bigeq.mjs} +8 -5
- package/lib/_shared/esm/{FormControl-CWyrVi1u.mjs → FormControl-Pc1aHUNM.mjs} +13 -10
- package/lib/_shared/esm/{GridRow-Ddt5CtFn.mjs → GridRow-vjacXnq0.mjs} +3 -2
- package/lib/_shared/esm/{Heading-CxHWefi7.mjs → Heading-B9cbwfoz.mjs} +7 -8
- package/lib/_shared/esm/{Hidden-DsrAaC0z.mjs → Hidden-CGRhG3dU.mjs} +2 -1
- package/lib/_shared/esm/{Icon-CcPOJcQm.mjs → Icon-CCUbr_AO.mjs} +3 -2
- package/lib/_shared/esm/{Image-Dl8oH1Rn.mjs → Image-LemsonUX.mjs} +4 -3
- package/lib/_shared/esm/{Link-DxjGH_7f.mjs → Link-ogbR4K3O.mjs} +5 -4
- package/lib/_shared/esm/{Popover-8FfvgL4c.mjs → Popover-D0ePWPz_.mjs} +8 -6
- package/lib/_shared/esm/{ProgressStepper-CLBtBNy2.mjs → ProgressStepper-CujHLQsm.mjs} +137 -5
- package/lib/_shared/esm/{Rule-3gdMHH-R.mjs → Rule-I1w3EaZi.mjs} +3 -2
- package/lib/_shared/esm/{Section-7InCvzfh.mjs → Section-COc1l3mp.mjs} +2 -1
- package/lib/_shared/esm/SemanticHeading-1tLcSJYD.mjs +10 -0
- package/lib/_shared/esm/{Spinner-Cd7LiPTy.mjs → Spinner-DvngCIwx.mjs} +2 -1
- package/lib/_shared/esm/{Surface-Colbp3Zx.mjs → Surface-C69KVzkY.mjs} +2 -1
- package/lib/_shared/esm/{TemplateBanner-Dkgzu3A5.mjs → TemplateBanner-DEYOSosH.mjs} +12 -11
- package/lib/_shared/esm/{Text-CBlnm5CT.mjs → Text-BAzOkkzN.mjs} +3 -2
- package/lib/_shared/esm/{TextInput-Dk7qNGoh.mjs → TextInput-CjDG2cIX.mjs} +8 -7
- package/lib/_shared/esm/{ThemeIcon-CN_Ed5b1.mjs → ThemeIcon-B0SruPZC.mjs} +3 -2
- package/lib/_shared/esm/{Tooltip-Dc82Ht7G.mjs → Tooltip-BpSzN3Tx.mjs} +7 -6
- package/lib/_shared/esm/{VerticalSpace-Duhm0zXP.mjs → VerticalSpace-BLWB02I7.mjs} +4 -2
- package/lib/_shared/esm/{Visible-B13QJn7R.mjs → Visible-B0d79VWZ.mjs} +2 -1
- package/lib/_shared/esm/{VisuallyHidden-DqAgoqJo.mjs → VisuallyHidden-aSQ4RA1o.mjs} +2 -1
- package/lib/_shared/esm/{arc-breakpoints-D7Ie4kBt.mjs → arc-breakpoints-Bs-at7wk.mjs} +7 -2
- package/lib/_shared/esm/filter-attrs-v_SweZXP.mjs +13 -0
- package/lib/_shared/esm/{index-DLovItWo.mjs → index-BFKdmv_g.mjs} +1 -1
- package/lib/_shared/esm/{index-J5IHetgg.mjs → index-CN4hP3Wu.mjs} +2 -2
- package/lib/_shared/esm/{index-CxrL7jIX.mjs → index-Do2wfP-X.mjs} +3 -3
- package/lib/_shared/esm/{index-DXTwueLZ.mjs → index-GCEHSsY8.mjs} +1 -1
- package/lib/_shared/esm/{index-BbAu4d3T.mjs → index-u47CK8Y0.mjs} +1 -1
- package/lib/_shared/esm/{index-CYUcQl4W.mjs → index-vnVJe9rH.mjs} +3 -3
- package/lib/_shared/esm/{index.es-CtRkzfKP.mjs → index.es-tyrXzvpp.mjs} +1 -1
- package/lib/_shared/esm/{filter-attrs-B6CM-NUr.mjs → tslib.es6-w7hdJ3oZ.mjs} +1 -13
- package/lib/_shared/esm/use-media-query-BmsMeo2M.mjs +56 -0
- package/lib/index.cjs +1018 -790
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +324 -142
- package/lib/index.d.mts +324 -142
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1018 -792
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +6 -14
- package/lib/use-media-query/use-media-query.cjs +1 -1
- package/lib/use-media-query/use-media-query.mjs +1 -1
- package/package.json +9 -8
- package/lib/_shared/cjs/Badge-CQVEPH9v.cjs +0 -14
- package/lib/_shared/cjs/BannerImage-kdAKagG-.cjs +0 -13
- package/lib/_shared/cjs/ButtonV2-Bta5SVVY.cjs +0 -55
- package/lib/_shared/cjs/GridRow-BW2ZGtND.cjs +0 -44
- package/lib/_shared/cjs/Spinner-bbrOwxv2.cjs +0 -16
- package/lib/_shared/cjs/VisuallyHidden-B4XCvPYP.cjs +0 -14
- package/lib/_shared/cjs/index-CqYNiqix.cjs +0 -137
- package/lib/_shared/cjs/use-media-query-BsUfHjPZ.cjs +0 -41
- package/lib/_shared/esm/index-CL6dwOYV.mjs +0 -135
- package/lib/_shared/esm/use-media-query-DmKuIDEM.mjs +0 -39
|
@@ -1,31 +1,23 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
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
7
|
var debounce = require('../_shared/cjs/debounce-uPMetQ6J.cjs');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
8
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-D19P2s1V.cjs');
|
|
9
|
+
var ThemeIcon = require('../_shared/cjs/ThemeIcon-Def4RZfK.cjs');
|
|
10
10
|
require('../_shared/cjs/isSymbol-BGrHFUbV.cjs');
|
|
11
|
-
require('../_shared/cjs/index-DR8Rkav9.cjs');
|
|
12
11
|
require('../_shared/cjs/suffix-modifier-DLUGR-yG.cjs');
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* Do not edit directly
|
|
16
|
-
* Generated file
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
const BtIconArrowAltUp =
|
|
20
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M20.354 13.146 16 8.793l-4.354 4.354a.5.5 0 0 0 .707.707l3.147-3.147V22.5a.5.5 0 0 0 1 0V10.707l3.146 3.146a.5.5 0 0 0 .707-.707'/%3e%3c/svg%3e";
|
|
12
|
+
require('../_shared/cjs/index-DR8Rkav9.cjs');
|
|
13
|
+
require('../_shared/cjs/Surface-DIU5ciDT.cjs');
|
|
21
14
|
|
|
22
15
|
/**
|
|
23
16
|
* Use `ScrollToTop` to allow the user to scroll to the top of the page by clicking a button.
|
|
24
17
|
*/
|
|
25
18
|
var ScrollToTop = function (_a) {
|
|
26
|
-
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, props =
|
|
27
|
-
var
|
|
28
|
-
var surface = React.useContext(Surface.Context).surface;
|
|
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 ? "magenta" : _f, props = tslib_es6.__rest(_a, ["appear", "isFixed", "fill", "zIndex", "focusColor"]);
|
|
20
|
+
var _g = React.useState(false), hasScrolled = _g[0], setHasScrolled = _g[1];
|
|
29
21
|
React.useEffect(function () {
|
|
30
22
|
var handleScroll = debounce.debounce(function () {
|
|
31
23
|
setHasScrolled(window.scrollY > 0);
|
|
@@ -42,17 +34,18 @@ var ScrollToTop = function (_a) {
|
|
|
42
34
|
behavior: "smooth",
|
|
43
35
|
});
|
|
44
36
|
};
|
|
45
|
-
return (React.createElement("button",
|
|
37
|
+
return (React.createElement("button", tslib_es6.__assign({ onClick: onClick, style: {
|
|
46
38
|
zIndex: zIndex,
|
|
47
39
|
}, className: index.classNames("arc-ScrollToTop", "arc-ScrollToTop--".concat(fill), {
|
|
40
|
+
"arc-ScrollToTop--secondary": focusColor == "secondary",
|
|
48
41
|
"arc-ScrollToTop--fixed": isFixed,
|
|
49
|
-
"arc-ScrollToTop--onDarkSurface": surface === "dark",
|
|
50
42
|
"arc-ScrollToTop--visible": appear === "always" || (appear === "afterScroll" && hasScrolled),
|
|
51
43
|
}) }, filterAttrs.filterAttrs(props)),
|
|
52
44
|
React.createElement("div", { className: "arc-ScrollToTop-textWrapper" },
|
|
53
45
|
React.createElement("span", { className: "arc-ScrollToTop-text" }, "Back to top")),
|
|
54
46
|
React.createElement("span", { className: "arc-ScrollToTop-iconContainer" },
|
|
55
|
-
React.createElement(
|
|
47
|
+
React.createElement("div", { className: "arc-ScrollToTop-icon" },
|
|
48
|
+
React.createElement(ThemeIcon.ThemeIcon, { icon: "scrollToTop" })))));
|
|
56
49
|
};
|
|
57
50
|
|
|
58
51
|
exports.ScrollToTop = ScrollToTop;
|
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest, a as __assign
|
|
3
|
-
import React__default, { useState,
|
|
2
|
+
import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-w7hdJ3oZ.mjs';
|
|
3
|
+
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import { c as classNames } from '../_shared/esm/index-5C0-U8cc.mjs';
|
|
5
5
|
import { d as debounce } from '../_shared/esm/debounce-D_Nx5go6.mjs';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { f as filterAttrs } from '../_shared/esm/filter-attrs-v_SweZXP.mjs';
|
|
7
|
+
import { T as ThemeIcon } from '../_shared/esm/ThemeIcon-B0SruPZC.mjs';
|
|
8
8
|
import '../_shared/esm/isSymbol-DgWNE2Tm.mjs';
|
|
9
|
-
import '../_shared/esm/index-Spae4j7j.mjs';
|
|
10
9
|
import '../_shared/esm/suffix-modifier-B_pO0UkF.mjs';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* Do not edit directly
|
|
14
|
-
* Generated file
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
const BtIconArrowAltUp =
|
|
18
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M20.354 13.146 16 8.793l-4.354 4.354a.5.5 0 0 0 .707.707l3.147-3.147V22.5a.5.5 0 0 0 1 0V10.707l3.146 3.146a.5.5 0 0 0 .707-.707'/%3e%3c/svg%3e";
|
|
10
|
+
import '../_shared/esm/index-Spae4j7j.mjs';
|
|
11
|
+
import '../_shared/esm/Surface-C69KVzkY.mjs';
|
|
19
12
|
|
|
20
13
|
/**
|
|
21
14
|
* Use `ScrollToTop` to allow the user to scroll to the top of the page by clicking a button.
|
|
22
15
|
*/
|
|
23
16
|
var ScrollToTop = function (_a) {
|
|
24
|
-
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, props = __rest(_a, ["appear", "isFixed", "fill", "zIndex"]);
|
|
25
|
-
var
|
|
26
|
-
var surface = useContext(Context).surface;
|
|
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 ? "magenta" : _f, props = __rest(_a, ["appear", "isFixed", "fill", "zIndex", "focusColor"]);
|
|
18
|
+
var _g = useState(false), hasScrolled = _g[0], setHasScrolled = _g[1];
|
|
27
19
|
useEffect(function () {
|
|
28
20
|
var handleScroll = debounce(function () {
|
|
29
21
|
setHasScrolled(window.scrollY > 0);
|
|
@@ -43,14 +35,15 @@ var ScrollToTop = function (_a) {
|
|
|
43
35
|
return (React__default.createElement("button", __assign({ onClick: onClick, style: {
|
|
44
36
|
zIndex: zIndex,
|
|
45
37
|
}, className: classNames("arc-ScrollToTop", "arc-ScrollToTop--".concat(fill), {
|
|
38
|
+
"arc-ScrollToTop--secondary": focusColor == "secondary",
|
|
46
39
|
"arc-ScrollToTop--fixed": isFixed,
|
|
47
|
-
"arc-ScrollToTop--onDarkSurface": surface === "dark",
|
|
48
40
|
"arc-ScrollToTop--visible": appear === "always" || (appear === "afterScroll" && hasScrolled),
|
|
49
41
|
}) }, filterAttrs(props)),
|
|
50
42
|
React__default.createElement("div", { className: "arc-ScrollToTop-textWrapper" },
|
|
51
43
|
React__default.createElement("span", { className: "arc-ScrollToTop-text" }, "Back to top")),
|
|
52
44
|
React__default.createElement("span", { className: "arc-ScrollToTop-iconContainer" },
|
|
53
|
-
React__default.createElement(
|
|
45
|
+
React__default.createElement("div", { className: "arc-ScrollToTop-icon" },
|
|
46
|
+
React__default.createElement(ThemeIcon, { icon: "scrollToTop" })))));
|
|
54
47
|
};
|
|
55
48
|
|
|
56
49
|
export { ScrollToTop };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-v12-0-0-beta-
|
|
1
|
+
.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-ScrollToTop--visible{visibility:visible}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop--fixed{bottom:20px;position:fixed;right:20px}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop-textWrapper{width:0}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop-text{display:block;line-height:1;padding-left:var(--backtotop-padding-m);text-align:left;white-space:nowrap}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop-iconContainer{align-items:center;display:flex;height:var(--backtotop-size-m);justify-content:center;width:var(--backtotop-size-m)}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop-icon{height:var(--backtotop-size-icon-m);width:var(--backtotop-size-icon-m)}@media (hover:hover){.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop:hover .arc-ScrollToTop-textWrapper{width:auto}}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop:focus-visible .arc-ScrollToTop-textWrapper,.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop:active .arc-ScrollToTop-textWrapper{width:auto}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-ScrollToTop--solid .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-default)}@media (hover:hover){.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop--solid:hover,.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop--solid:hover .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-hover)}}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop:focus-visible{outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop--secondary:focus-visible{outline-color:var(--focus-colors-dark-border-subtle)}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop--solid:focus-visible{background-color:var(--backtotop-colors-light-bg-selected)}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop--solid:focus-visible .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-selected)}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop--solid:active,.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop--solid:active .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-selected)}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-ScrollToTop--outlined .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-strong)}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop--outlined:active{background-color:var(--backtotop-colors-light-bg-subtle);border-color:var(--backtotop-colors-light-border-selected)}.arc-v12-0-0-beta-24 .arc .arc-ScrollToTop--outlined:active .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-subtle)}
|
package/lib/Section/Section.cjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var Section = require('../_shared/cjs/Section-
|
|
5
|
-
require('../_shared/cjs/
|
|
4
|
+
var Section = require('../_shared/cjs/Section-BorWFfNe.cjs');
|
|
5
|
+
require('../_shared/cjs/tslib.es6-CCZ3TN_7.cjs');
|
|
6
6
|
require('react');
|
|
7
7
|
require('../_shared/cjs/index-CTlXMLug.cjs');
|
|
8
|
+
require('../_shared/cjs/filter-attrs-D19P2s1V.cjs');
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
package/lib/Section/Section.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { S as Section } from '../_shared/esm/Section-
|
|
3
|
-
import '../_shared/esm/
|
|
2
|
+
export { S as Section } from '../_shared/esm/Section-COc1l3mp.mjs';
|
|
3
|
+
import '../_shared/esm/tslib.es6-w7hdJ3oZ.mjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../_shared/esm/index-5C0-U8cc.mjs';
|
|
6
|
+
import '../_shared/esm/filter-attrs-v_SweZXP.mjs';
|
package/lib/Section/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-v12-0-0-beta-
|
|
1
|
+
.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-Section{padding-left:var(--section-margin-s);padding-right:var(--section-margin-s)}}@media (min-width:768px){.arc-v12-0-0-beta-24 .arc .arc-Section{padding-left:var(--section-margin-m);padding-right:var(--section-margin-m)}}@media (min-width:1024px){.arc-v12-0-0-beta-24 .arc .arc-Section{padding-left:var(--section-margin-l);padding-right:var(--section-margin-l)}}@media (min-width:1280px){.arc-v12-0-0-beta-24 .arc .arc-Section{padding-left:var(--section-margin-xl);padding-right:var(--section-margin-xl)}}@media (min-width:1440px){.arc-v12-0-0-beta-24 .arc .arc-Section{padding-left:var(--section-margin-xxl);padding-right:var(--section-margin-xxl)}}@media (min-width:1920px){.arc-v12-0-0-beta-24 .arc .arc-Section{padding-left:var(--section-margin-xxxl);padding-right:var(--section-margin-xxxl)}}.arc-v12-0-0-beta-24 .arc .arc-Section--fullWidth{max-width:100%}.arc-v12-0-0-beta-24 .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
|
@@ -1,34 +1,41 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
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-CDVpHNP8.cjs');
|
|
8
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-D19P2s1V.cjs');
|
|
9
|
+
var FormControl = require('../_shared/cjs/FormControl-DiERJpGW.cjs');
|
|
8
10
|
var index = require('../_shared/cjs/index-DXNM3D1d.cjs');
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var ThemeIcon = require('../_shared/cjs/ThemeIcon-BoxbjTaQ.cjs');
|
|
11
|
+
var Surface = require('../_shared/cjs/Surface-DIU5ciDT.cjs');
|
|
12
|
+
var ThemeIcon = require('../_shared/cjs/ThemeIcon-Def4RZfK.cjs');
|
|
12
13
|
require('react-dom');
|
|
13
|
-
require('../_shared/cjs/Combination-
|
|
14
|
+
require('../_shared/cjs/Combination-6m6aOXZq.cjs');
|
|
14
15
|
require('react/jsx-runtime');
|
|
15
|
-
require('../_shared/cjs/index-
|
|
16
|
-
require('../_shared/cjs/index-
|
|
16
|
+
require('../_shared/cjs/index-CklPiHsS.cjs');
|
|
17
|
+
require('../_shared/cjs/index-KrMgv4q_.cjs');
|
|
17
18
|
require('../_shared/cjs/index-B11wQrRa.cjs');
|
|
18
|
-
require('../_shared/cjs/DisclosureMini-
|
|
19
|
-
require('../_shared/cjs/Text-
|
|
19
|
+
require('../_shared/cjs/DisclosureMini-KEuIc8tE.cjs');
|
|
20
|
+
require('../_shared/cjs/Text-jwsn80lQ.cjs');
|
|
20
21
|
require('../_shared/cjs/suffix-modifier-DLUGR-yG.cjs');
|
|
21
22
|
require('../_shared/cjs/index-DR8Rkav9.cjs');
|
|
22
|
-
require('../_shared/cjs/VisuallyHidden-
|
|
23
|
+
require('../_shared/cjs/VisuallyHidden-CQg3cOVK.cjs');
|
|
23
24
|
|
|
24
25
|
/** Use `Select` to choose from a dropdown list of options. */
|
|
25
26
|
var Select = function (_a) {
|
|
26
27
|
var _b;
|
|
27
|
-
var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, value = _a.value, _c = _a.ariaLabel, ariaLabel = _c === void 0 ? label : _c, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage, _d = _a.size, size = _d === void 0 ? "m" : _d, helper = _a.helper, hideLabel = _a.hideLabel, name = _a.name, width = _a.width, isFluid = _a.isFluid, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, open = _a.open, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props =
|
|
28
|
-
var
|
|
28
|
+
var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, value = _a.value, _c = _a.ariaLabel, ariaLabel = _c === void 0 ? label : _c, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage, id = _a.id, _d = _a.size, size = _d === void 0 ? "m" : _d, helper = _a.helper, hideLabel = _a.hideLabel, name = _a.name, width = _a.width, isFluid = _a.isFluid, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, open = _a.open, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = tslib_es6.__rest(_a, ["isRequired", "isDisabled", "placeholder", "label", "value", "ariaLabel", "options", "onOpenChange", "isDefaultOpen", "defaultValue", "errorMessage", "id", "size", "helper", "hideLabel", "name", "width", "isFluid", "onBlur", "onFocus", "onChange", "open", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
|
|
29
|
+
var defaultId = React.useId();
|
|
29
30
|
var _e = index.useThemeElement(), themeElement = _e[0], setThemeElement = _e[1];
|
|
30
31
|
var surface = React.useContext(Surface.Context).surface;
|
|
31
32
|
var _f = React.useState(defaultValue), uncontrolledValue = _f[0], setUncontrolledValue = _f[1];
|
|
33
|
+
var ariaDescribedby = FormControl.useAriaDescribedby({
|
|
34
|
+
id: id,
|
|
35
|
+
errorMessage: errorMessage,
|
|
36
|
+
helper: helper,
|
|
37
|
+
disclosureText: disclosureText,
|
|
38
|
+
}).ariaDescribedby;
|
|
32
39
|
var isControlled = typeof value !== "undefined";
|
|
33
40
|
var selectValue = isControlled ? value : uncontrolledValue;
|
|
34
41
|
var onValueChange = function (value) {
|
|
@@ -49,21 +56,22 @@ var Select = function (_a) {
|
|
|
49
56
|
return 20;
|
|
50
57
|
}
|
|
51
58
|
};
|
|
52
|
-
|
|
59
|
+
var componentId = id || defaultId;
|
|
60
|
+
return (React.createElement(FormControl.FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: componentId, label: label, hideLabel: hideLabel, labelSize: size, requirementStatus: isRequired ? "required" : "optional", isDisabled: isDisabled, disclosureText: disclosureText, disclosureTitle: disclosureTitle, onClickDisclosure: onClickDisclosure },
|
|
53
61
|
React.createElement(index$1.Root2, { name: name, required: isRequired, disabled: isDisabled, defaultOpen: isDefaultOpen, value: selectValue, open: open, onOpenChange: onOpenChange, onValueChange: function (value) { return onValueChange(value); } },
|
|
54
62
|
React.createElement("div", { ref: setThemeElement, className: "arc-Select-wrapper" },
|
|
55
|
-
React.createElement(index$1.Trigger,
|
|
63
|
+
React.createElement(index$1.Trigger, tslib_es6.__assign({ id: componentId, name: name, onBlur: onBlur, onFocus: onFocus, "aria-label": ariaLabel, style: { width: width, marginTop: hideLabel ? 0 : undefined }, className: index$2.classNames("arc-Select-trigger", (_b = {
|
|
56
64
|
"arc-Select-trigger--constrained": !isFluid,
|
|
57
65
|
"arc-Select-trigger--onDarkSurface": surface === "dark",
|
|
58
66
|
"arc-Select-trigger--invalid": errorMessage
|
|
59
67
|
},
|
|
60
68
|
_b["arc-Select-trigger--size".concat(size && size.toUpperCase())] = size && size !== "m",
|
|
61
|
-
_b)), "aria-describedby":
|
|
69
|
+
_b)), "aria-describedby": ariaDescribedby }, filterAttrs.filterAttrs(props)),
|
|
62
70
|
React.createElement(index$1.Value, { className: "arc-Select-triggerText", placeholder: placeholder, "aria-label": getSelectedValueName(uncontrolledValue) }),
|
|
63
71
|
React.createElement(index$1.Icon, { className: "arc-Select-triggerIcon" },
|
|
64
72
|
React.createElement(ThemeIcon.ThemeIcon, { size: getIconSize(size), icon: "selectTrigger" }))),
|
|
65
73
|
React.createElement(index$1.Portal, { container: themeElement },
|
|
66
|
-
React.createElement(index$1.Content2, { sideOffset:
|
|
74
|
+
React.createElement(index$1.Content2, { sideOffset: 12, position: "popper", className: index$2.classNames("arc-Select-content", {
|
|
67
75
|
"arc-Select-content--onDarkSurface": surface === "dark",
|
|
68
76
|
}) },
|
|
69
77
|
React.createElement(index$1.Viewport, { className: "arc-Select-content--scrollable" }, options.map(function (_a, i) {
|
package/lib/Select/Select.mjs
CHANGED
|
@@ -1,32 +1,39 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest, a as __assign
|
|
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-vnVJe9rH.mjs';
|
|
6
|
+
import { f as filterAttrs } from '../_shared/esm/filter-attrs-v_SweZXP.mjs';
|
|
7
|
+
import { u as useAriaDescribedby, F as FormControl } from '../_shared/esm/FormControl-Pc1aHUNM.mjs';
|
|
6
8
|
import { e as useThemeElement } from '../_shared/esm/index-Bz2JQq34.mjs';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { T as ThemeIcon } from '../_shared/esm/ThemeIcon-CN_Ed5b1.mjs';
|
|
9
|
+
import { C as Context } from '../_shared/esm/Surface-C69KVzkY.mjs';
|
|
10
|
+
import { T as ThemeIcon } from '../_shared/esm/ThemeIcon-B0SruPZC.mjs';
|
|
10
11
|
import 'react-dom';
|
|
11
|
-
import '../_shared/esm/Combination-
|
|
12
|
+
import '../_shared/esm/Combination-BQ4XBtF-.mjs';
|
|
12
13
|
import 'react/jsx-runtime';
|
|
13
|
-
import '../_shared/esm/index-
|
|
14
|
-
import '../_shared/esm/index-
|
|
14
|
+
import '../_shared/esm/index-u47CK8Y0.mjs';
|
|
15
|
+
import '../_shared/esm/index-BFKdmv_g.mjs';
|
|
15
16
|
import '../_shared/esm/index-CWHcEz3_.mjs';
|
|
16
|
-
import '../_shared/esm/DisclosureMini-
|
|
17
|
-
import '../_shared/esm/Text-
|
|
17
|
+
import '../_shared/esm/DisclosureMini-ClSe9sSt.mjs';
|
|
18
|
+
import '../_shared/esm/Text-BAzOkkzN.mjs';
|
|
18
19
|
import '../_shared/esm/suffix-modifier-B_pO0UkF.mjs';
|
|
19
20
|
import '../_shared/esm/index-Spae4j7j.mjs';
|
|
20
|
-
import '../_shared/esm/VisuallyHidden-
|
|
21
|
+
import '../_shared/esm/VisuallyHidden-aSQ4RA1o.mjs';
|
|
21
22
|
|
|
22
23
|
/** Use `Select` to choose from a dropdown list of options. */
|
|
23
24
|
var Select = function (_a) {
|
|
24
25
|
var _b;
|
|
25
|
-
var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, value = _a.value, _c = _a.ariaLabel, ariaLabel = _c === void 0 ? label : _c, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage, _d = _a.size, size = _d === void 0 ? "m" : _d, helper = _a.helper, hideLabel = _a.hideLabel, name = _a.name, width = _a.width, isFluid = _a.isFluid, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, open = _a.open, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest(_a, ["isRequired", "isDisabled", "placeholder", "label", "value", "ariaLabel", "options", "onOpenChange", "isDefaultOpen", "defaultValue", "errorMessage", "size", "helper", "hideLabel", "name", "width", "isFluid", "onBlur", "onFocus", "onChange", "open", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
|
|
26
|
-
var
|
|
26
|
+
var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, value = _a.value, _c = _a.ariaLabel, ariaLabel = _c === void 0 ? label : _c, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage, id = _a.id, _d = _a.size, size = _d === void 0 ? "m" : _d, helper = _a.helper, hideLabel = _a.hideLabel, name = _a.name, width = _a.width, isFluid = _a.isFluid, onBlur = _a.onBlur, onFocus = _a.onFocus, onChange = _a.onChange, open = _a.open, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest(_a, ["isRequired", "isDisabled", "placeholder", "label", "value", "ariaLabel", "options", "onOpenChange", "isDefaultOpen", "defaultValue", "errorMessage", "id", "size", "helper", "hideLabel", "name", "width", "isFluid", "onBlur", "onFocus", "onChange", "open", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
|
|
27
|
+
var defaultId = useId();
|
|
27
28
|
var _e = useThemeElement(), themeElement = _e[0], setThemeElement = _e[1];
|
|
28
29
|
var surface = useContext(Context).surface;
|
|
29
30
|
var _f = useState(defaultValue), uncontrolledValue = _f[0], setUncontrolledValue = _f[1];
|
|
31
|
+
var ariaDescribedby = useAriaDescribedby({
|
|
32
|
+
id: id,
|
|
33
|
+
errorMessage: errorMessage,
|
|
34
|
+
helper: helper,
|
|
35
|
+
disclosureText: disclosureText,
|
|
36
|
+
}).ariaDescribedby;
|
|
30
37
|
var isControlled = typeof value !== "undefined";
|
|
31
38
|
var selectValue = isControlled ? value : uncontrolledValue;
|
|
32
39
|
var onValueChange = function (value) {
|
|
@@ -47,21 +54,22 @@ var Select = function (_a) {
|
|
|
47
54
|
return 20;
|
|
48
55
|
}
|
|
49
56
|
};
|
|
50
|
-
|
|
57
|
+
var componentId = id || defaultId;
|
|
58
|
+
return (React__default.createElement(FormControl, { errorMessage: errorMessage, helper: helper, htmlFor: componentId, label: label, hideLabel: hideLabel, labelSize: size, requirementStatus: isRequired ? "required" : "optional", isDisabled: isDisabled, disclosureText: disclosureText, disclosureTitle: disclosureTitle, onClickDisclosure: onClickDisclosure },
|
|
51
59
|
React__default.createElement(Root2, { name: name, required: isRequired, disabled: isDisabled, defaultOpen: isDefaultOpen, value: selectValue, open: open, onOpenChange: onOpenChange, onValueChange: function (value) { return onValueChange(value); } },
|
|
52
60
|
React__default.createElement("div", { ref: setThemeElement, className: "arc-Select-wrapper" },
|
|
53
|
-
React__default.createElement(Trigger, __assign({ id:
|
|
61
|
+
React__default.createElement(Trigger, __assign({ id: componentId, name: name, onBlur: onBlur, onFocus: onFocus, "aria-label": ariaLabel, style: { width: width, marginTop: hideLabel ? 0 : undefined }, className: classNames("arc-Select-trigger", (_b = {
|
|
54
62
|
"arc-Select-trigger--constrained": !isFluid,
|
|
55
63
|
"arc-Select-trigger--onDarkSurface": surface === "dark",
|
|
56
64
|
"arc-Select-trigger--invalid": errorMessage
|
|
57
65
|
},
|
|
58
66
|
_b["arc-Select-trigger--size".concat(size && size.toUpperCase())] = size && size !== "m",
|
|
59
|
-
_b)), "aria-describedby":
|
|
67
|
+
_b)), "aria-describedby": ariaDescribedby }, filterAttrs(props)),
|
|
60
68
|
React__default.createElement(Value, { className: "arc-Select-triggerText", placeholder: placeholder, "aria-label": getSelectedValueName(uncontrolledValue) }),
|
|
61
69
|
React__default.createElement(Icon, { className: "arc-Select-triggerIcon" },
|
|
62
70
|
React__default.createElement(ThemeIcon, { size: getIconSize(size), icon: "selectTrigger" }))),
|
|
63
71
|
React__default.createElement(Portal, { container: themeElement },
|
|
64
|
-
React__default.createElement(Content2, { sideOffset:
|
|
72
|
+
React__default.createElement(Content2, { sideOffset: 12, position: "popper", className: classNames("arc-Select-content", {
|
|
65
73
|
"arc-Select-content--onDarkSurface": surface === "dark",
|
|
66
74
|
}) },
|
|
67
75
|
React__default.createElement(Viewport, { className: "arc-Select-content--scrollable" }, options.map(function (_a, i) {
|
package/lib/Select/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-v12-0-0-beta-
|
|
1
|
+
.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-Select-trigger--constrained{max-width:20rem}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-Select-triggerIcon{margin-left:15px}.arc-v12-0-0-beta-24 .arc .arc-Select-trigger[data-state="open"] .arc-Select-triggerIcon{transform:rotate(180deg)}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-Select-content--scrollable{margin-right:-12px;overflow-x:hidden;overflow-y:scroll;padding:0 12px 0 0;scrollbar-width:thin}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-Select-item:first-child{margin-top:12px}.arc-v12-0-0-beta-24 .arc .arc-Select-item:last-child{margin-bottom:12px}.arc-v12-0-0-beta-24 .arc .arc-Select-itemText{flex-wrap:nowrap;gap:var(--menu-card-gap-xs)}.arc-v12-0-0-beta-24 .arc .arc-Select-trigger .arc-Select-itemText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-Select-trigger--sizeS>span:first-child,.arc-v12-0-0-beta-24 .arc .arc-Select-content--sizeS .arc-Select-itemText{font:var(--sem-type-body-reg-s)}.arc-v12-0-0-beta-24 .arc .arc-Select-trigger--sizeL>span:first-child,.arc-v12-0-0-beta-24 .arc .arc-Select-content--sizeL .arc-Select-itemText{font:var(--sem-type-body-reg-l)}.arc-v12-0-0-beta-24 .arc .arc-Select-trigger--invalid{background-color:var(--select-colors-light-bg-error);border-color:var(--select-colors-light-border-error)}.arc-v12-0-0-beta-24 .arc .arc-Select-trigger:focus{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle);outline:none}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-Select-item[data-state="checked"],.arc-v12-0-0-beta-24 .arc .arc-Select-item[aria-expanded="true"]{background:var(--menu-card-bg-active)}.arc-v12-0-0-beta-24 .arc .arc-Select-itemSelectIcon{align-self:center;display:flex;margin-left:auto}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-Select-trigger--onDarkSurface:focus{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle)}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc-bt .arc-Select-triggerIcon{transition:transform 0.23s ease-out}.arc-v12-0-0-beta-24 .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}}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var SemanticHeading = require('../_shared/cjs/SemanticHeading-BPXN_z49.cjs');
|
|
4
|
+
require('../_shared/cjs/tslib.es6-CCZ3TN_7.cjs');
|
|
5
|
+
require('react');
|
|
6
|
+
require('../_shared/cjs/index-CTlXMLug.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.SemanticHeading = SemanticHeading.SemanticHeading;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc-v12-0-0-beta-24 :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,14 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var tslib_es6 = require('../_shared/cjs/tslib.es6-CCZ3TN_7.cjs');
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
6
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-D19P2s1V.cjs');
|
|
7
|
+
var BrandLogo = require('../_shared/cjs/BrandLogo-coNfTwRv.cjs');
|
|
8
|
+
var Section = require('../_shared/cjs/Section-BorWFfNe.cjs');
|
|
9
|
+
var Surface = require('../_shared/cjs/Surface-DIU5ciDT.cjs');
|
|
9
10
|
var handleLinkClick = require('../_shared/cjs/handle-link-click-C7BvOIYa.cjs');
|
|
10
|
-
var ThemeIcon = require('../_shared/cjs/ThemeIcon-
|
|
11
|
-
var Visible = require('../_shared/cjs/Visible-
|
|
11
|
+
var ThemeIcon = require('../_shared/cjs/ThemeIcon-Def4RZfK.cjs');
|
|
12
|
+
var Visible = require('../_shared/cjs/Visible-DZWtZ5qG.cjs');
|
|
12
13
|
require('../_shared/cjs/index-CTlXMLug.cjs');
|
|
13
14
|
require('../_shared/cjs/suffix-modifier-DLUGR-yG.cjs');
|
|
14
15
|
require('../_shared/cjs/index-DR8Rkav9.cjs');
|
|
@@ -17,9 +18,9 @@ require('../_shared/cjs/index-DR8Rkav9.cjs');
|
|
|
17
18
|
* Use `SiteFooter` to display information at the bottom of a page.
|
|
18
19
|
*/
|
|
19
20
|
var SiteFooter = function (_a) {
|
|
20
|
-
var children = _a.children, currentYear = _a.currentYear, logoLabel = _a.logoLabel, main = _a.main, siteName = _a.siteName, props =
|
|
21
|
+
var children = _a.children, currentYear = _a.currentYear, logoLabel = _a.logoLabel, main = _a.main, siteName = _a.siteName, props = tslib_es6.__rest(_a, ["children", "currentYear", "logoLabel", "main", "siteName"]);
|
|
21
22
|
return (React.createElement(React.Fragment, null,
|
|
22
|
-
React.createElement("footer",
|
|
23
|
+
React.createElement("footer", tslib_es6.__assign({ className: "arc-SiteFooter" }, filterAttrs.filterAttrs(props)),
|
|
23
24
|
React.createElement(Surface.Surface, { background: "dark-brand-01", paddingVertical: "24" },
|
|
24
25
|
(siteName || main) && (React.createElement(React.Fragment, null,
|
|
25
26
|
React.createElement(Section.Section, null,
|
|
@@ -45,12 +46,12 @@ var SiteFooterItemDisclosure = function (_a) {
|
|
|
45
46
|
};
|
|
46
47
|
var SiteFooterItemGroup = function (props) { return (React.createElement(React.Fragment, null,
|
|
47
48
|
React.createElement(Visible.Visible, { "data-testid": "mobile-disclosure", xs: true, s: true },
|
|
48
|
-
React.createElement(SiteFooterItemDisclosure,
|
|
49
|
+
React.createElement(SiteFooterItemDisclosure, tslib_es6.__assign({}, props, { tabIndex: 0 }))),
|
|
49
50
|
React.createElement(Visible.Visible, { "data-testid": "desktop-disclosure", m: true, l: true, xl: true, xxl: true },
|
|
50
|
-
React.createElement(SiteFooterItemDisclosure,
|
|
51
|
+
React.createElement(SiteFooterItemDisclosure, tslib_es6.__assign({}, props, { open: true, tabIndex: -1 }))))); };
|
|
51
52
|
var SiteFooterItem = function (_a) {
|
|
52
|
-
var children = _a.children, href = _a.href, onClick = _a.onClick, props =
|
|
53
|
-
return (React.createElement("li",
|
|
53
|
+
var children = _a.children, href = _a.href, onClick = _a.onClick, props = tslib_es6.__rest(_a, ["children", "href", "onClick"]);
|
|
54
|
+
return (React.createElement("li", tslib_es6.__assign({ className: "arc-SiteFooter-item" }, filterAttrs.filterAttrs(props)),
|
|
54
55
|
React.createElement("a", { onClick: handleLinkClick.handleLinkClick({ handler: onClick }), className: "arc-SiteFooter-link", href: href }, children)));
|
|
55
56
|
};
|
|
56
57
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest, a as __assign
|
|
2
|
+
import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-w7hdJ3oZ.mjs';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { S as
|
|
4
|
+
import { f as filterAttrs } from '../_shared/esm/filter-attrs-v_SweZXP.mjs';
|
|
5
|
+
import { B as BrandLogo } from '../_shared/esm/BrandLogo-Dc-d_8ZN.mjs';
|
|
6
|
+
import { S as Section } from '../_shared/esm/Section-COc1l3mp.mjs';
|
|
7
|
+
import { S as Surface } from '../_shared/esm/Surface-C69KVzkY.mjs';
|
|
7
8
|
import { h as handleLinkClick } from '../_shared/esm/handle-link-click-CIgZ7pa0.mjs';
|
|
8
|
-
import { T as ThemeIcon } from '../_shared/esm/ThemeIcon-
|
|
9
|
-
import { V as Visible } from '../_shared/esm/Visible-
|
|
9
|
+
import { T as ThemeIcon } from '../_shared/esm/ThemeIcon-B0SruPZC.mjs';
|
|
10
|
+
import { V as Visible } from '../_shared/esm/Visible-B0d79VWZ.mjs';
|
|
10
11
|
import '../_shared/esm/index-5C0-U8cc.mjs';
|
|
11
12
|
import '../_shared/esm/suffix-modifier-B_pO0UkF.mjs';
|
|
12
13
|
import '../_shared/esm/index-Spae4j7j.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.arc-v12-0-0-beta-
|
|
1
|
+
.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-link{color:inherit;text-decoration:none}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-link:hover{color:inherit;text-decoration:underline}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-link:active{color:var(--sem-color-fg-primary-dark-subtle);text-decoration:none}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-name{margin-bottom:var(--vertical-space-size-16)}@media (min-width:768px){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-name{margin-bottom:var(--vertical-space-size-32);margin-top:var(--vertical-space-size-24)}}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-main{margin-bottom:var(--vertical-space-size-12)}@media (min-width:768px){.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-SiteFooter-main{margin-left:var(--arc-size-section-margin-32)}@supports (display:grid){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-main{grid-gap:var(--sem-space-gap-130);margin-left:0}}}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure{margin-left:var(--arc-size-section-margin-24);margin-right:0}@supports (display:grid){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure{margin-left:0}}}@media (min-width:1280px){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure{margin-left:var(--arc-size-section-margin-32)}@supports (display:grid){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure{margin-left:0}}}@media (min-width:768px){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure[open]{background-color:transparent !important}}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-SiteFooter-summary:focus{outline:var(--focus-border-weight-s) solid transparent}@media (min-width:636px){.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-SiteFooter-summary{padding:0}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure[open] .arc-SiteFooter-summary{cursor:default;pointer-events:none}}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-summary::-webkit-details-marker{display:none}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure .arc-SiteFooter-icon{right:var(--arc-size-section-margin-24)}}@media (min-width:768px){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure[open] .arc-SiteFooter-summary:not(:focus) .arc-SiteFooter-icon{display:none}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure[open] .arc-SiteFooter-summary:not(:focus-visible) .arc-SiteFooter-icon{display:none}}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-link:focus{outline-color:var(--focus-colors-dark-border-subtle)}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-link:focus-visible{outline-color:var(--focus-colors-dark-border-subtle)}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-mainItems{list-style:none;margin-bottom:0;margin-top:0;padding-left:0}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-SiteFooter-mainItems .arc-SiteFooter-link{margin-top:var(--vertical-space-size-16);padding:0}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-mainItems .arc-SiteFooter-link:hover{text-decoration:underline}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-secondaryItems{margin-left:calc(0px - (var(--sem-space-gap-110) * 3))}}@media (min-width:768px){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-rule{margin-bottom:var(--vertical-space-size-24)}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-secondary{align-items:flex-end;display:flex;justify-content:space-between}}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-SiteFooter-secondaryItems .arc-SiteFooter-item{margin-left:calc(var(--arc-size-section-margin-16) * 3)}}@media (min-width:1024px){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-secondaryItems .arc-SiteFooter-item{margin-left:calc(var(--arc-size-section-margin-16) * 2)}}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-brand{align-items:center;display:flex;justify-content:flex-end;margin-left:auto}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-brand:only-child{margin-top:var(--vertical-space-size-24)}@media (min-width:1024px){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-brand:only-child{margin-top:0}}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-copyright{font:var(--sem-type-body-reg-xs);margin-right:12px;white-space:nowrap}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-copyrightSymbol::after{content:" BT"}.arc-v12-0-0-beta-24 .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-v12-0-0-beta-24 .arc .arc-SiteFooter-summary:focus-visible::before{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle)}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-summary:focus:not(:focus-visible)::before{box-shadow:none}@media (prefers-reduced-motion:no-preference){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure .arc-SiteFooter-icon{transition:0.2s cubic-bezier(0.44,0,0.55,0.94)}}.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-disclosure[open] .arc-SiteFooter-icon{transform:rotate(180deg) translateY(50%)}@media (min-width:768px){.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-mainItems .arc-SiteFooter-link:hover,.arc-v12-0-0-beta-24 .arc .arc-SiteFooter-mainItems .arc-SiteFooter-link:active{background-color:transparent}}
|