@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
package/lib/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { FC, ReactNode, HTMLAttributes, MouseEvent as MouseEvent$1, ChangeEvent, ReactElement } from 'react';
|
|
2
|
+
import { ArcGradient } from '@arc-ui/gradients';
|
|
2
3
|
import { ImageProps as ImageProps$1 } from 'src/components/Image/Image';
|
|
3
4
|
import { VideoPlayerProps as VideoPlayerProps$1 } from 'src/components/VideoPlayer';
|
|
4
5
|
import { SwitchProps as SwitchProps$1 } from '@radix-ui/react-switch';
|
|
@@ -79,56 +80,11 @@ interface LinkProps$1 {
|
|
|
79
80
|
children: string;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
type HeadingColor = "auto" | "brand";
|
|
88
|
-
type HeadingLevel = "1" | "2" | "3" | "4" | "5" | "6";
|
|
89
|
-
type HeadingSize = "xxxs" | "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl";
|
|
90
|
-
interface HeadingProps {
|
|
91
|
-
/**
|
|
92
|
-
* Text alignment of the Heading.
|
|
93
|
-
*/
|
|
94
|
-
align?: "left" | "center" | "right";
|
|
95
|
-
/**
|
|
96
|
-
* Typographic casing of the Heading.
|
|
97
|
-
*/
|
|
98
|
-
casing?: HeadingCasing;
|
|
99
|
-
/**
|
|
100
|
-
* Text and inline markup to display in the Heading.
|
|
101
|
-
*/
|
|
102
|
-
children: ReactNode;
|
|
103
|
-
/**
|
|
104
|
-
* The color of the Heading.
|
|
105
|
-
*/
|
|
106
|
-
color?: HeadingColor;
|
|
107
|
-
/**
|
|
108
|
-
* Id for the Heading.
|
|
109
|
-
*/
|
|
110
|
-
id?: string;
|
|
111
|
-
/**
|
|
112
|
-
* HTML section heading level. If not provided, the Heading will render as
|
|
113
|
-
* a span.
|
|
114
|
-
*/
|
|
115
|
-
level?: HeadingLevel;
|
|
116
|
-
/**
|
|
117
|
-
* Typographic size of the Heading.
|
|
118
|
-
*/
|
|
119
|
-
size?: HeadingSize;
|
|
120
|
-
/**
|
|
121
|
-
* Whether the Heading is displayed inline.
|
|
122
|
-
*/
|
|
123
|
-
isInline?: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Determine if the heading should change size depending on the breakpoint. Default is `true`
|
|
126
|
-
*/
|
|
127
|
-
isResponsive?: boolean;
|
|
128
|
-
/**
|
|
129
|
-
* Changes the Heading font family. Please note `dottee` fonts will only work when theme is set to `ee`
|
|
130
|
-
*/
|
|
131
|
-
fontStyle?: "default" | "display-standard" | "display-condensed" | "display-extended" | "overline";
|
|
83
|
+
declare const SemanticHeading: React.FC<SemanticHeadingProps>;
|
|
84
|
+
type SemanticHeadingLevel = "1" | "2" | "3" | "4" | "5" | "6";
|
|
85
|
+
interface SemanticHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
86
|
+
level?: SemanticHeadingLevel;
|
|
87
|
+
children: React.ReactNode;
|
|
132
88
|
}
|
|
133
89
|
|
|
134
90
|
/** Use `Alert` to inform the user of important changes or actions. */
|
|
@@ -142,7 +98,7 @@ interface AlertProps {
|
|
|
142
98
|
/**
|
|
143
99
|
* Determine a level for the heading`
|
|
144
100
|
*/
|
|
145
|
-
headingLevel:
|
|
101
|
+
headingLevel: SemanticHeadingLevel;
|
|
146
102
|
/**
|
|
147
103
|
* Determine a description for `<Alert />`
|
|
148
104
|
*/
|
|
@@ -175,6 +131,10 @@ interface AlertProps {
|
|
|
175
131
|
* Focus will be set on the alert when the component mounts, defaults to false.
|
|
176
132
|
*/
|
|
177
133
|
autoFocusOnMount?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Optional alternative role to allow the alert to not be read out by screen readers.
|
|
136
|
+
*/
|
|
137
|
+
role?: "alert" | "presentation";
|
|
178
138
|
}
|
|
179
139
|
type AlertStatus = "general" | "error" | "warning" | "success";
|
|
180
140
|
|
|
@@ -223,7 +183,7 @@ interface ImageSourceProps {
|
|
|
223
183
|
declare const fitOptions: readonly ["cover"];
|
|
224
184
|
declare const loadingOptions: readonly ["eager", "lazy"];
|
|
225
185
|
declare const overlayOptions: readonly ["scrimBottomDark"];
|
|
226
|
-
interface ImageProps extends
|
|
186
|
+
interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
227
187
|
/**
|
|
228
188
|
* Alternative text for the Image, shown if the image cannot be displayed.
|
|
229
189
|
*/
|
|
@@ -254,6 +214,10 @@ interface ImageProps extends HTMLAttributes<HTMLElement> {
|
|
|
254
214
|
* If true the image will fade in when its loaded, resulting in a smooth user experience.
|
|
255
215
|
*/
|
|
256
216
|
fadeOnLoad?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* set how the browser should prioritize fetching a particular image relative to other images.
|
|
219
|
+
*/
|
|
220
|
+
fetchPriority?: "low" | "high" | "auto";
|
|
257
221
|
/**
|
|
258
222
|
* Loading behaviour of the Image.
|
|
259
223
|
*/
|
|
@@ -333,7 +297,63 @@ interface BadgeProps {
|
|
|
333
297
|
ariaRole?: "status" | "alert";
|
|
334
298
|
}
|
|
335
299
|
|
|
336
|
-
|
|
300
|
+
/**
|
|
301
|
+
* Use `Heading` to display heading text.
|
|
302
|
+
*/
|
|
303
|
+
declare const Heading: FC<HeadingProps>;
|
|
304
|
+
type HeadingCasing = "auto" | "none";
|
|
305
|
+
type HeadingColor = "auto" | "brand";
|
|
306
|
+
type HeadingLevel = SemanticHeadingLevel;
|
|
307
|
+
type HeadingSize = "xxxs" | "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl";
|
|
308
|
+
interface HeadingProps {
|
|
309
|
+
/**
|
|
310
|
+
* Text alignment of the Heading.
|
|
311
|
+
*/
|
|
312
|
+
align?: "left" | "center" | "right";
|
|
313
|
+
/**
|
|
314
|
+
* Typographic casing of the Heading.
|
|
315
|
+
*/
|
|
316
|
+
casing?: HeadingCasing;
|
|
317
|
+
/**
|
|
318
|
+
* Text and inline markup to display in the Heading.
|
|
319
|
+
*/
|
|
320
|
+
children: ReactNode;
|
|
321
|
+
/**
|
|
322
|
+
* The color of the Heading.
|
|
323
|
+
*/
|
|
324
|
+
color?: HeadingColor;
|
|
325
|
+
/**
|
|
326
|
+
* Id for the Heading.
|
|
327
|
+
*/
|
|
328
|
+
id?: string;
|
|
329
|
+
/**
|
|
330
|
+
* HTML section heading level. If not provided, the Heading will render as
|
|
331
|
+
* a span.
|
|
332
|
+
*/
|
|
333
|
+
level?: HeadingLevel;
|
|
334
|
+
/**
|
|
335
|
+
* Typographic size of the Heading.
|
|
336
|
+
*/
|
|
337
|
+
size?: HeadingSize;
|
|
338
|
+
/**
|
|
339
|
+
* Whether the Heading is displayed inline.
|
|
340
|
+
*/
|
|
341
|
+
isInline?: boolean;
|
|
342
|
+
/**
|
|
343
|
+
* Whether long words should be wrapped.
|
|
344
|
+
*/
|
|
345
|
+
isWordWrap?: boolean;
|
|
346
|
+
/**
|
|
347
|
+
* Determine if the heading should change size depending on the breakpoint. Default is `true`
|
|
348
|
+
*/
|
|
349
|
+
isResponsive?: boolean;
|
|
350
|
+
/**
|
|
351
|
+
* Changes the Heading font family. Please note `dottee` fonts will only work when theme is set to `ee`
|
|
352
|
+
*/
|
|
353
|
+
fontStyle?: "default" | "display-standard" | "display-condensed" | "display-extended" | "overline";
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
interface BannerImageProps extends Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "width" | "height" | "fadeOnLoad" | "fit" | "anchor" | "fetchPriority"> {
|
|
337
357
|
ariaHidden?: boolean;
|
|
338
358
|
sources?: Pick<ImageSourceProps, "media" | "sizes" | "srcSet">[];
|
|
339
359
|
}
|
|
@@ -390,13 +410,13 @@ interface TemplateBannerProps {
|
|
|
390
410
|
*/
|
|
391
411
|
children?: React.ReactNode;
|
|
392
412
|
/**
|
|
393
|
-
* Heading level for the
|
|
413
|
+
* Heading level for the Banner heading.
|
|
394
414
|
*/
|
|
395
415
|
headingLevel?: HeadingLevel;
|
|
396
416
|
/**
|
|
397
|
-
* Heading size for the
|
|
417
|
+
* Heading size for the Banner heading.
|
|
398
418
|
*/
|
|
399
|
-
headingSize?: Extract<HeadingSize, "m" | "xl">;
|
|
419
|
+
headingSize?: Extract<HeadingSize, "m" | "xl" | "xxl">;
|
|
400
420
|
/**
|
|
401
421
|
* Uppercase label for the TemplateBanner.
|
|
402
422
|
*/
|
|
@@ -425,6 +445,10 @@ interface TemplateBannerProps {
|
|
|
425
445
|
* Add a heading level for the label.
|
|
426
446
|
*/
|
|
427
447
|
labelLevel?: HeadingLevel;
|
|
448
|
+
/**
|
|
449
|
+
* Changes the Heading font family. Please note `dottee` fonts will only work when theme is set to `ee`
|
|
450
|
+
*/
|
|
451
|
+
fontStyle?: "default" | "display-standard" | "display-condensed" | "display-extended";
|
|
428
452
|
}
|
|
429
453
|
|
|
430
454
|
declare const Banner: FC<BannerProps>;
|
|
@@ -779,6 +803,10 @@ interface ButtonV2Props extends ButtonV2ElementProps, LinkElementProps$1 {
|
|
|
779
803
|
* Render icon within `ButtonV2`
|
|
780
804
|
*/
|
|
781
805
|
icon?: string;
|
|
806
|
+
/**
|
|
807
|
+
* Render icon within `ButtonV2` when the button is active.
|
|
808
|
+
*/
|
|
809
|
+
iconActive?: string;
|
|
782
810
|
/**
|
|
783
811
|
* Determine the style position for the icon. Default is `afterText`
|
|
784
812
|
*/
|
|
@@ -940,7 +968,7 @@ interface CarouselProps {
|
|
|
940
968
|
* Use `Checkbox` to allow users to select individual options.
|
|
941
969
|
*/
|
|
942
970
|
declare const Checkbox: FC<CheckboxProps>;
|
|
943
|
-
type CheckedProps = {
|
|
971
|
+
type CheckedProps$1 = {
|
|
944
972
|
/**
|
|
945
973
|
* Is the input checked?
|
|
946
974
|
*/
|
|
@@ -954,11 +982,15 @@ type CheckedProps = {
|
|
|
954
982
|
*/
|
|
955
983
|
indeterminate?: boolean;
|
|
956
984
|
};
|
|
957
|
-
interface CheckboxProps extends Omit<CheckedProps, "defaultChecked"> {
|
|
985
|
+
interface CheckboxProps extends Omit<CheckedProps$1, "defaultChecked"> {
|
|
958
986
|
/**
|
|
959
987
|
* Error message for the Checkbox.
|
|
960
988
|
*/
|
|
961
989
|
errorMessage?: string;
|
|
990
|
+
/**
|
|
991
|
+
* Show error state for checkbox, useful if used within a group of checkboxes.
|
|
992
|
+
*/
|
|
993
|
+
isError?: boolean;
|
|
962
994
|
/**
|
|
963
995
|
* Helper text for the Checkbox, shown below the label.
|
|
964
996
|
*/
|
|
@@ -1008,6 +1040,69 @@ interface CheckboxProps extends Omit<CheckedProps, "defaultChecked"> {
|
|
|
1008
1040
|
* Value for the Checkbox.
|
|
1009
1041
|
*/
|
|
1010
1042
|
value?: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Provide the "alert" role to the errorMessage.
|
|
1045
|
+
*/
|
|
1046
|
+
isErrorAlert?: boolean;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
declare const CheckboxIcon: React.FC<CheckboxIconProps>;
|
|
1050
|
+
type CheckedProps = {
|
|
1051
|
+
/**
|
|
1052
|
+
* Is the input checked?
|
|
1053
|
+
*/
|
|
1054
|
+
checked?: boolean;
|
|
1055
|
+
/**
|
|
1056
|
+
* The initial checked state of the Checkbox.
|
|
1057
|
+
*/
|
|
1058
|
+
defaultChecked?: boolean;
|
|
1059
|
+
/**
|
|
1060
|
+
* sets the state of the Checkbox to be indeterminate
|
|
1061
|
+
*/
|
|
1062
|
+
indeterminate?: boolean;
|
|
1063
|
+
};
|
|
1064
|
+
interface CheckboxIconProps extends Omit<CheckedProps, "defaultChecked"> {
|
|
1065
|
+
/**
|
|
1066
|
+
* Error state for the Checkbox.
|
|
1067
|
+
*/
|
|
1068
|
+
error?: boolean;
|
|
1069
|
+
/**
|
|
1070
|
+
* ID for the element description to be announced by screenreaders in addition to the title.
|
|
1071
|
+
*/
|
|
1072
|
+
ariaDescribedBy?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* ID for the Checkbox.
|
|
1075
|
+
*/
|
|
1076
|
+
id?: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* `isDisabled` is a legacy property and not recommended from a UX usability best practice perspective.
|
|
1079
|
+
*/
|
|
1080
|
+
isDisabled?: boolean;
|
|
1081
|
+
/**
|
|
1082
|
+
* Is the Checkbox required?
|
|
1083
|
+
*/
|
|
1084
|
+
isRequired?: boolean;
|
|
1085
|
+
/**
|
|
1086
|
+
* Name for the Checkbox.
|
|
1087
|
+
*/
|
|
1088
|
+
name?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* Function to call when the Checkbox loses focus.
|
|
1091
|
+
*/
|
|
1092
|
+
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
1093
|
+
/**
|
|
1094
|
+
* Callback function to update the Checkbox's controlled `checked` prop, for
|
|
1095
|
+
* example `e => setChecked(e.target.checked)`.
|
|
1096
|
+
*/
|
|
1097
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
1098
|
+
/**
|
|
1099
|
+
* Size of the Checkbox.
|
|
1100
|
+
*/
|
|
1101
|
+
size?: "s" | "m";
|
|
1102
|
+
/**
|
|
1103
|
+
* Value for the Checkbox.
|
|
1104
|
+
*/
|
|
1105
|
+
value?: string;
|
|
1011
1106
|
}
|
|
1012
1107
|
|
|
1013
1108
|
interface ExtentableContainer {
|
|
@@ -1018,7 +1113,7 @@ interface ExtentableContainer {
|
|
|
1018
1113
|
}
|
|
1019
1114
|
|
|
1020
1115
|
/**
|
|
1021
|
-
* Use `Columns` to compose layouts on a 12-column grid.
|
|
1116
|
+
* Use `Columns` to compose layouts on a 12-column grid. Place within `Section` components to align with any sibling `Grid` components.
|
|
1022
1117
|
*/
|
|
1023
1118
|
declare const Columns: FC<ColumnsProps>;
|
|
1024
1119
|
declare const ColumnsCol: FC<ColumnsColProps>;
|
|
@@ -1170,6 +1265,10 @@ interface FormControlProps {
|
|
|
1170
1265
|
* Use `hideLabel` to visually hide the `FormControl` label. This still allows screen readers to have access to labels. This is set to `false` by default.
|
|
1171
1266
|
*/
|
|
1172
1267
|
hideLabel?: boolean;
|
|
1268
|
+
/**
|
|
1269
|
+
* Provide the "alert" role to the errorMessage.
|
|
1270
|
+
*/
|
|
1271
|
+
isErrorAlert?: boolean;
|
|
1173
1272
|
}
|
|
1174
1273
|
|
|
1175
1274
|
declare const ComboBox: React.ForwardRefExoticComponent<ComboBoxProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1223,9 +1322,13 @@ interface ContentSwitcherTabProps {
|
|
|
1223
1322
|
*/
|
|
1224
1323
|
value: string;
|
|
1225
1324
|
/**
|
|
1226
|
-
* Pass a function to `ContentSwitcherTab`
|
|
1325
|
+
* Pass a onClick function to `ContentSwitcherTab`
|
|
1227
1326
|
*/
|
|
1228
1327
|
onClick?: () => void;
|
|
1328
|
+
/**
|
|
1329
|
+
* Pass a focus function to `ContentSwitcherTab`
|
|
1330
|
+
*/
|
|
1331
|
+
onFocus?: () => void;
|
|
1229
1332
|
}
|
|
1230
1333
|
|
|
1231
1334
|
declare const ContentSwitcherContent: FC<ContentSwitcherContentProps>;
|
|
@@ -1355,7 +1458,7 @@ declare const DATE_FORMAT = "dd/MM/yyyy";
|
|
|
1355
1458
|
|
|
1356
1459
|
type AutoCompleteTypes = "on" | "off" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "country" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "email" | "impp" | "url" | "photo" | "organization-unit";
|
|
1357
1460
|
|
|
1358
|
-
declare const iconNames: readonly ["alertDismiss", "alertError", "alertGeneral", "alertSuccess", "alertWarning", "avatarUser", "breadcrumbLeft", "breadcrumbRight", "buttonLeft", "buttonRight", "
|
|
1461
|
+
declare const iconNames: readonly ["alertDismiss", "alertError", "alertGeneral", "alertSuccess", "alertWarning", "avatarUser", "breadcrumbLeft", "breadcrumbRight", "buttonLeft", "buttonRight", "calendarLeft", "calendarRight", "cardRight", "cardPlay", "carouselRight", "carouselLeft", "checkboxChecked", "checkboxError", "datePickerCalendar", "disclosureExpand", "disclosureMiniExpand", "downloadFile", "downloadAccessibility", "drawerClose", "formControlAlert", "linkExternal", "modalClose", "navigationHeaderClose", "navigationHeaderDisclosure", "navigationHeaderMenuLinkSmall", "navigationHeaderMenuLinkLarge", "paginationPrevious", "paginationNext", "paginationSimplePrevious", "paginationSimpleNext", "progressBarSuccess", "progressBarError", "progressBarRefresh", "progressStepperComplete", "progressStepperCurrent", "progressStepperWarning", "progressStepperError", "scrollToTop", "selectTrigger", "selectScrollUp", "selectScrollDown", "selectIndicator", "siteFooterExpand", "siteHeaderBack", "siteHeaderBurger", "siteHeaderLink", "siteHeaderItemGroupExpand", "siteHeaderNavItemExpand", "siteHeaderNavItemExpandAlt", "siteHeaderViewAll", "siteHeaderSubNavOpen", "switchToggle", "tabsNext", "tabsPrevious", "tagRemove", "toastGeneral", "toastSuccess", "toastWarning", "toastError", "toastDismiss", "videoPlayerTranscript", "videoPlayerPlay"];
|
|
1359
1462
|
|
|
1360
1463
|
declare const ThemeIcon: FC<ThemeIconProps>;
|
|
1361
1464
|
interface ThemeIconProps {
|
|
@@ -1669,10 +1772,37 @@ interface DrawerProps {
|
|
|
1669
1772
|
* Set the position of the `Drawer`
|
|
1670
1773
|
*/
|
|
1671
1774
|
position?: "right" | "left" | "bottom";
|
|
1775
|
+
/**
|
|
1776
|
+
* Enable the drag handle & snapping (bottom position only).
|
|
1777
|
+
*/
|
|
1778
|
+
draggable?: boolean;
|
|
1779
|
+
/**
|
|
1780
|
+
* Snap points for the bottom drawer height. Accepts numbers (px) or strings ('%','px').
|
|
1781
|
+
*/
|
|
1782
|
+
snapPoints?: Array<number | string>;
|
|
1783
|
+
/**
|
|
1784
|
+
* Snap behaviour when releasing the drag:
|
|
1785
|
+
* - "nearest" → snap to the closest snap point
|
|
1786
|
+
* - "next" → snap in the direction of the drag (up = next larger, down = next smaller)
|
|
1787
|
+
* Defaults to "nearest".
|
|
1788
|
+
*/
|
|
1789
|
+
snapBehaviour?: "nearest" | "next" | "none";
|
|
1790
|
+
/**
|
|
1791
|
+
* Allow dismissing the bottom drawer by dragging it down
|
|
1792
|
+
*/
|
|
1793
|
+
dragDownToDismiss?: boolean;
|
|
1794
|
+
/**
|
|
1795
|
+
* Envoke function when drag handle is clicked
|
|
1796
|
+
*/
|
|
1797
|
+
onDragHandleClick?: (e: React.MouseEvent) => void;
|
|
1798
|
+
/**
|
|
1799
|
+
* Describe the content of the Drawer
|
|
1800
|
+
*/
|
|
1801
|
+
ariaDescription: string;
|
|
1672
1802
|
}
|
|
1673
1803
|
|
|
1674
1804
|
declare const DrawerHeader: React.FC<DrawerHeaderProps>;
|
|
1675
|
-
interface DrawerHeaderProps {
|
|
1805
|
+
interface DrawerHeaderProps extends Pick<HeadingProps, "isResponsive"> {
|
|
1676
1806
|
/**
|
|
1677
1807
|
* Title for the DrawerHeader
|
|
1678
1808
|
*/
|
|
@@ -1719,7 +1849,7 @@ interface ElevationProps {
|
|
|
1719
1849
|
/**
|
|
1720
1850
|
* Shadow Elevation level.
|
|
1721
1851
|
*/
|
|
1722
|
-
|
|
1852
|
+
level?: "1" | "2" | "3" | "4" | "5";
|
|
1723
1853
|
/**
|
|
1724
1854
|
* Should the Elevation be full width?
|
|
1725
1855
|
*/
|
|
@@ -1817,63 +1947,67 @@ interface FilterControlProps {
|
|
|
1817
1947
|
}
|
|
1818
1948
|
|
|
1819
1949
|
declare const GhostedHeroBanner: React.FC<GhostedHeroBannerProps>;
|
|
1820
|
-
type GhostedHeroBannerProps = Pick<TemplateBannerProps, "heading" | "img" | "children" | "label" | "text" | "headingLevel">;
|
|
1950
|
+
type GhostedHeroBannerProps = Pick<TemplateBannerProps, "heading" | "img" | "children" | "label" | "text" | "headingLevel" | "fontStyle">;
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* Provides an object of breakpoints for responsive designs.
|
|
1954
|
+
*
|
|
1955
|
+
* This object contains keys representing breakpoint names (e.g., `xxl`, `xl`)
|
|
1956
|
+
* and values representing the pixel widths for those breakpoints. The values are parsed
|
|
1957
|
+
* from strings (e.g., "1400px") into numbers for easier usage in responsive logic.
|
|
1958
|
+
*
|
|
1959
|
+
* Kept in src for internal use
|
|
1960
|
+
*/
|
|
1961
|
+
type ArcBreakpointSizes = "xs" | "s" | "m" | "l" | "xl" | "xxl";
|
|
1962
|
+
type ArcBreakpoint = Record<ArcBreakpointSizes, number>;
|
|
1963
|
+
declare const ArcBreakpoints: ArcBreakpoint;
|
|
1964
|
+
|
|
1965
|
+
type GradientBreakpointConfig<T> = Partial<Record<ArcBreakpointSizes, T>>;
|
|
1966
|
+
|
|
1967
|
+
type ResponsiveGradient = GradientBreakpointConfig<ArcGradient>;
|
|
1968
|
+
|
|
1969
|
+
type ScrimPosition = "top" | "bottom";
|
|
1970
|
+
|
|
1971
|
+
type ScrimFadeSize = "l" | "m" | "s";
|
|
1821
1972
|
|
|
1822
1973
|
declare const GradientPageBackground: React.FC<GradientPageBackgroundProps>;
|
|
1823
1974
|
interface GradientPageBackgroundProps {
|
|
1824
1975
|
/**
|
|
1825
|
-
*
|
|
1976
|
+
* Gradient for the component. You can import these directly from the @arc-ui/gradients package, or pass your own.
|
|
1977
|
+
*/
|
|
1978
|
+
gradient?: ArcGradient;
|
|
1979
|
+
/**
|
|
1980
|
+
* Specify a gradient for each arc breakpoint.
|
|
1826
1981
|
*/
|
|
1827
|
-
|
|
1982
|
+
responsiveGradient?: ResponsiveGradient;
|
|
1828
1983
|
/**
|
|
1829
1984
|
* Select the gradient fade sizing, default heights "s" 640px, "m" 1024px and "l" 1280px
|
|
1830
1985
|
*/
|
|
1831
|
-
scrimFadeSize?:
|
|
1986
|
+
scrimFadeSize?: ScrimFadeSize;
|
|
1832
1987
|
/**
|
|
1833
1988
|
* Set a custom height at each breakpoint for the gradient fade that will override the scrimFadeSize height. Larger breakpoints will inherit smaller breakpoints if no value is provided.
|
|
1834
1989
|
*/
|
|
1835
|
-
scrimFadeHeights?:
|
|
1836
|
-
xs?: number;
|
|
1837
|
-
s?: number;
|
|
1838
|
-
m?: number;
|
|
1839
|
-
l?: number;
|
|
1840
|
-
xl?: number;
|
|
1841
|
-
xxl?: number;
|
|
1842
|
-
};
|
|
1990
|
+
scrimFadeHeights?: GradientBreakpointConfig<number>;
|
|
1843
1991
|
/**
|
|
1844
1992
|
* Select the gradient fade positioning
|
|
1845
1993
|
*/
|
|
1846
|
-
scrimFadePosition?:
|
|
1994
|
+
scrimFadePosition?: ScrimPosition;
|
|
1847
1995
|
/**
|
|
1848
1996
|
* Set a height at each breakpoint for the gradient to extend beyond it 100% height. Larger breakpoints will inherit smaller breakpoints if no value is provided.
|
|
1849
1997
|
*/
|
|
1850
|
-
extendBackgrounds?:
|
|
1851
|
-
xs?: number;
|
|
1852
|
-
s?: number;
|
|
1853
|
-
m?: number;
|
|
1854
|
-
l?: number;
|
|
1855
|
-
xl?: number;
|
|
1856
|
-
xxl?: number;
|
|
1857
|
-
};
|
|
1998
|
+
extendBackgrounds?: GradientBreakpointConfig<number>;
|
|
1858
1999
|
/**
|
|
1859
2000
|
* Content to be displayed on top of the gradient
|
|
1860
2001
|
*/
|
|
1861
2002
|
children: React.ReactNode;
|
|
1862
2003
|
/**
|
|
1863
|
-
*
|
|
2004
|
+
* Loading behaviour of the background gradient image.
|
|
1864
2005
|
*/
|
|
1865
|
-
|
|
1866
|
-
xs?: string;
|
|
1867
|
-
s?: string;
|
|
1868
|
-
m?: string;
|
|
1869
|
-
l?: string;
|
|
1870
|
-
xl?: string;
|
|
1871
|
-
xxl?: string;
|
|
1872
|
-
};
|
|
2006
|
+
loading?: "lazy" | "eager";
|
|
1873
2007
|
}
|
|
1874
2008
|
|
|
1875
2009
|
/**
|
|
1876
|
-
* Use `Grid` to compose layouts on a 12-column grid.
|
|
2010
|
+
* Use `Grid` to compose layouts on a 12-column grid. Aligns with sibling `Section` components.
|
|
1877
2011
|
*/
|
|
1878
2012
|
declare const Grid: React.FC<GridProps>;
|
|
1879
2013
|
interface GridProps extends ExtentableContainer {
|
|
@@ -2088,7 +2222,7 @@ interface HorizontalCardProps {
|
|
|
2088
2222
|
/**
|
|
2089
2223
|
* Image for the HorizontalCard.
|
|
2090
2224
|
*/
|
|
2091
|
-
img?: Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad" | "fit">;
|
|
2225
|
+
img?: Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad" | "fit" | "fetchPriority">;
|
|
2092
2226
|
/**
|
|
2093
2227
|
* Text to show adjacent to the cta, can be either a date or text. Its recommended to pass dates as Date objects so the component can render them correctly.
|
|
2094
2228
|
*/
|
|
@@ -2180,7 +2314,7 @@ interface ImpactCardProps {
|
|
|
2180
2314
|
/**
|
|
2181
2315
|
* Image props for the ImpactCard. Consider avoiding alt if the image is for decorative purposes only.
|
|
2182
2316
|
*/
|
|
2183
|
-
img: Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad">;
|
|
2317
|
+
img: Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad" | "fetchPriority">;
|
|
2184
2318
|
/**
|
|
2185
2319
|
* Icon for the ImpactCard CTA button
|
|
2186
2320
|
*/
|
|
@@ -2193,7 +2327,7 @@ interface ImpactCardProps {
|
|
|
2193
2327
|
|
|
2194
2328
|
/** Use `InformationCard` for flexibility and the ability to focus and highlight product specific content. */
|
|
2195
2329
|
declare const InformationCard: FC<InformationCardProps>;
|
|
2196
|
-
type InformationCardImage = Pick<ImageProps, "alt" | "loading" | "width" | "height" | "src" | "fadeOnLoad">;
|
|
2330
|
+
type InformationCardImage = Pick<ImageProps, "alt" | "loading" | "width" | "height" | "src" | "fadeOnLoad" | "fetchPriority">;
|
|
2197
2331
|
type InformationCardButtonProps = Pick<ButtonV2Props, "label" | "onClick" | "href">;
|
|
2198
2332
|
interface minHeightsProps {
|
|
2199
2333
|
xs?: number;
|
|
@@ -2280,7 +2414,7 @@ interface MarkupProps {
|
|
|
2280
2414
|
isMeasured?: boolean;
|
|
2281
2415
|
}
|
|
2282
2416
|
|
|
2283
|
-
interface MediaCardImage extends Partial<Pick<ImageProps$1, "alt" | "loading" | "sizes" | "srcSet" | "width" | "height" | "fadeOnLoad">>, Pick<ImageProps$1, "src"> {
|
|
2417
|
+
interface MediaCardImage extends Partial<Pick<ImageProps$1, "alt" | "loading" | "sizes" | "srcSet" | "width" | "height" | "fadeOnLoad" | "fetchPriority">>, Pick<ImageProps$1, "src"> {
|
|
2284
2418
|
type: "img";
|
|
2285
2419
|
}
|
|
2286
2420
|
|
|
@@ -2292,7 +2426,6 @@ interface MediaCardVideo extends Partial<Omit<VideoPlayerProps$1, "url" | "title
|
|
|
2292
2426
|
* Use `MediaCard` to contain content and an image about a single subject.
|
|
2293
2427
|
*/
|
|
2294
2428
|
declare const MediaCard: FC<MediaCardProps>;
|
|
2295
|
-
type MediaCardIcon = "play" | "arrow";
|
|
2296
2429
|
interface MediaCardProps {
|
|
2297
2430
|
/**
|
|
2298
2431
|
* Heading for the MediaCard.
|
|
@@ -2329,7 +2462,7 @@ interface MediaCardProps {
|
|
|
2329
2462
|
/**
|
|
2330
2463
|
* Icon for the MediaCard Cta button
|
|
2331
2464
|
*/
|
|
2332
|
-
buttonIcon?:
|
|
2465
|
+
buttonIcon?: CardFooterProps["buttonIcon"];
|
|
2333
2466
|
/**
|
|
2334
2467
|
* Sets a minimum height for the MediaCard.
|
|
2335
2468
|
*/
|
|
@@ -2369,6 +2502,14 @@ interface MenuProps {
|
|
|
2369
2502
|
* Whether the menu should behave like a modal, preventing interaction with elements outside
|
|
2370
2503
|
*/
|
|
2371
2504
|
modal?: boolean;
|
|
2505
|
+
/**
|
|
2506
|
+
* Determine if the menu will act in a mobile state
|
|
2507
|
+
*/
|
|
2508
|
+
isMobileMenu?: boolean;
|
|
2509
|
+
/**
|
|
2510
|
+
* Unified width applied to all MenuContent unless overridden.
|
|
2511
|
+
*/
|
|
2512
|
+
defaultWidth?: string | number;
|
|
2372
2513
|
}
|
|
2373
2514
|
|
|
2374
2515
|
declare const MenuItemContentTemplate: React.FC<MenuItemContentTemplateProps>;
|
|
@@ -2416,7 +2557,7 @@ interface MenuItemCheckboxProps extends Pick<MenuItemContentTemplateProps, "supp
|
|
|
2416
2557
|
/**
|
|
2417
2558
|
* ID for the MenuItemCheckbox.
|
|
2418
2559
|
*/
|
|
2419
|
-
id
|
|
2560
|
+
id: string;
|
|
2420
2561
|
/**
|
|
2421
2562
|
* Prevents the menu from closing when this item is selected.
|
|
2422
2563
|
*/
|
|
@@ -2456,6 +2597,14 @@ interface MenuContentProps {
|
|
|
2456
2597
|
* The side of the trigger to display the menu.
|
|
2457
2598
|
*/
|
|
2458
2599
|
side?: "top" | "right" | "bottom" | "left";
|
|
2600
|
+
/**
|
|
2601
|
+
* Provide an inital title for the menu. This will then be used as a back button when the menu is 1 level deep.
|
|
2602
|
+
*/
|
|
2603
|
+
initalTitle?: string;
|
|
2604
|
+
/**
|
|
2605
|
+
* Set to true if you want the menu to fill the viewport.
|
|
2606
|
+
*/
|
|
2607
|
+
isFluidToViewport?: boolean;
|
|
2459
2608
|
}
|
|
2460
2609
|
|
|
2461
2610
|
/**
|
|
@@ -2675,7 +2824,10 @@ interface MenuItemMultiLevelContentProps {
|
|
|
2675
2824
|
/**
|
|
2676
2825
|
* Trigger element that opens a multi-level menu when selected.
|
|
2677
2826
|
*/
|
|
2678
|
-
declare const MenuItemMultiLevelTrigger: React.FC<
|
|
2827
|
+
declare const MenuItemMultiLevelTrigger: React.FC<InternalProps>;
|
|
2828
|
+
interface InternalProps extends MenuItemMultiLevelTriggerProps {
|
|
2829
|
+
pairedContent?: React.ReactNode;
|
|
2830
|
+
}
|
|
2679
2831
|
interface MenuItemMultiLevelTriggerProps extends Pick<MenuItemProps, "keyCommands" | "leadingIcon" | "ariaLabel" | "supportingText"> {
|
|
2680
2832
|
/**
|
|
2681
2833
|
* The trigger element for opening the multi-level menu.
|
|
@@ -2919,6 +3071,15 @@ interface PopoverProps {
|
|
|
2919
3071
|
* to the root child element you provide if you set `asChild` to true. If you want to opt out of this behavior set this to true.
|
|
2920
3072
|
*/
|
|
2921
3073
|
useBespokeTrigger?: boolean;
|
|
3074
|
+
/**
|
|
3075
|
+
* Constrains the popover height only when it would overflow the viewport.
|
|
3076
|
+
* Defaults to `fit-content`, but becomes scrollable if necessary.
|
|
3077
|
+
*/
|
|
3078
|
+
constrainToViewport?: boolean;
|
|
3079
|
+
/**
|
|
3080
|
+
* Use minHeight in conjunction with constrainToViewport to keep the popover legible. Value in px.
|
|
3081
|
+
*/
|
|
3082
|
+
minHeight?: number;
|
|
2922
3083
|
}
|
|
2923
3084
|
|
|
2924
3085
|
/**
|
|
@@ -3426,6 +3587,7 @@ interface RadioGroupButtonProps {
|
|
|
3426
3587
|
radioButtonAlignment?: "top" | "center";
|
|
3427
3588
|
changeEvent?: ContextProps["changeEvent"];
|
|
3428
3589
|
blurEvent?: ContextProps["blurEvent"];
|
|
3590
|
+
isError?: boolean;
|
|
3429
3591
|
}
|
|
3430
3592
|
|
|
3431
3593
|
/**
|
|
@@ -3462,6 +3624,10 @@ interface RadioGroupInputProps {
|
|
|
3462
3624
|
* Current value (controlled).
|
|
3463
3625
|
*/
|
|
3464
3626
|
value: string;
|
|
3627
|
+
/**
|
|
3628
|
+
* Show error state for RadioGroupButton.
|
|
3629
|
+
*/
|
|
3630
|
+
isError?: boolean;
|
|
3465
3631
|
}
|
|
3466
3632
|
|
|
3467
3633
|
/**
|
|
@@ -3494,6 +3660,10 @@ interface ScrollToTopProps {
|
|
|
3494
3660
|
* Button fill.
|
|
3495
3661
|
*/
|
|
3496
3662
|
fill?: "solid" | "outlined";
|
|
3663
|
+
/**
|
|
3664
|
+
* Determine the color of the focus ring.
|
|
3665
|
+
*/
|
|
3666
|
+
focusColor?: "primary" | "secondary";
|
|
3497
3667
|
}
|
|
3498
3668
|
|
|
3499
3669
|
/**
|
|
@@ -3522,7 +3692,7 @@ interface SectionProps extends ExtentableContainer {
|
|
|
3522
3692
|
|
|
3523
3693
|
/** Use `Select` to choose from a dropdown list of options. */
|
|
3524
3694
|
declare const Select: React.FC<SelectProps>;
|
|
3525
|
-
interface SelectProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "
|
|
3695
|
+
interface SelectProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "supplementaryInfo" | "labelSize" | "labelPosition"> {
|
|
3526
3696
|
/**
|
|
3527
3697
|
* Name for the Select.
|
|
3528
3698
|
*/
|
|
@@ -4051,6 +4221,10 @@ interface SkipLinkItemProps {
|
|
|
4051
4221
|
* The ID attribute of the target element the skip link navigates to.
|
|
4052
4222
|
*/
|
|
4053
4223
|
id?: string;
|
|
4224
|
+
/**
|
|
4225
|
+
* Click handler for the skip link.
|
|
4226
|
+
*/
|
|
4227
|
+
onClick?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
4054
4228
|
}
|
|
4055
4229
|
|
|
4056
4230
|
/**
|
|
@@ -4439,7 +4613,7 @@ interface ThumbnailSignpostProps {
|
|
|
4439
4613
|
/**
|
|
4440
4614
|
* Image properties for the ThumbnailSignpost.
|
|
4441
4615
|
*/
|
|
4442
|
-
img?: Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad">;
|
|
4616
|
+
img?: Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad" | "fetchPriority">;
|
|
4443
4617
|
}
|
|
4444
4618
|
|
|
4445
4619
|
/** Use `Toast` to display temporary messages at the bottom of the screen. */
|
|
@@ -4453,6 +4627,10 @@ interface ToastProps {
|
|
|
4453
4627
|
* Colour scheme for `Toast` - Use 'default' in almost all cases.
|
|
4454
4628
|
*/
|
|
4455
4629
|
colorScheme?: "default" | "alternative";
|
|
4630
|
+
/**
|
|
4631
|
+
* Change the focus colour for dark pathways.
|
|
4632
|
+
*/
|
|
4633
|
+
onDarkSurface?: boolean;
|
|
4456
4634
|
}
|
|
4457
4635
|
|
|
4458
4636
|
declare const ToastNotification: FC<ToastNotificationProps>;
|
|
@@ -4516,6 +4694,10 @@ interface TooltipProps {
|
|
|
4516
4694
|
* Alignment for content within the tooltip
|
|
4517
4695
|
*/
|
|
4518
4696
|
alignContent?: "start" | "center" | "end";
|
|
4697
|
+
/**
|
|
4698
|
+
* Aria label for accessibility
|
|
4699
|
+
*/
|
|
4700
|
+
ariaLabel?: string;
|
|
4519
4701
|
/**
|
|
4520
4702
|
* The main title text displayed within the tooltip.
|
|
4521
4703
|
*/
|
|
@@ -4573,7 +4755,6 @@ interface TruncateProps {
|
|
|
4573
4755
|
|
|
4574
4756
|
/** Use `TypographyCard` for content that benefits from larger and energetic typography. */
|
|
4575
4757
|
declare const TypographyCard: FC<TypographyCardProps>;
|
|
4576
|
-
type TypographyCardIcon = "play" | "arrow";
|
|
4577
4758
|
type TypographyCardPathway = "light" | "dark";
|
|
4578
4759
|
interface TypographyCardProps {
|
|
4579
4760
|
/**
|
|
@@ -4595,7 +4776,7 @@ interface TypographyCardProps {
|
|
|
4595
4776
|
/**
|
|
4596
4777
|
* Icon for the TypographyCard Cta button.
|
|
4597
4778
|
*/
|
|
4598
|
-
buttonIcon?:
|
|
4779
|
+
buttonIcon?: CardFooterProps["buttonIcon"];
|
|
4599
4780
|
/**
|
|
4600
4781
|
* Heading level for the TypographyCard heading.
|
|
4601
4782
|
*/
|
|
@@ -4691,6 +4872,10 @@ interface VerticalSpaceProps {
|
|
|
4691
4872
|
* Size of the VerticalSpace from the extra large breakpoint upwards.
|
|
4692
4873
|
*/
|
|
4693
4874
|
sizeXL?: VerticalSpaceSize;
|
|
4875
|
+
/**
|
|
4876
|
+
* Size of the VerticalSpace from the xxl breakpoint upwards.
|
|
4877
|
+
*/
|
|
4878
|
+
sizeXXL?: VerticalSpaceSize;
|
|
4694
4879
|
}
|
|
4695
4880
|
|
|
4696
4881
|
/**
|
|
@@ -4740,7 +4925,7 @@ interface NavigationHeaderContainerProps extends ExtentableContainer {
|
|
|
4740
4925
|
/**
|
|
4741
4926
|
* set the background color of the navbar.
|
|
4742
4927
|
*/
|
|
4743
|
-
background
|
|
4928
|
+
background: NavBarBackground;
|
|
4744
4929
|
/**
|
|
4745
4930
|
* set the nav bar to be a pill shape. It will only be visible when the background is either white or ghosted.
|
|
4746
4931
|
*/
|
|
@@ -4755,13 +4940,12 @@ interface NavigationHeaderContainerProps extends ExtentableContainer {
|
|
|
4755
4940
|
children: React.ReactNode;
|
|
4756
4941
|
}
|
|
4757
4942
|
|
|
4758
|
-
type Brand = "
|
|
4943
|
+
type Brand = "btWholesale" | "btGlobalFabric" | "ee" | "bt";
|
|
4759
4944
|
interface NavigationHeaderLogoProps {
|
|
4760
4945
|
ariaLabel?: string;
|
|
4761
4946
|
brand?: Brand;
|
|
4762
4947
|
href?: string;
|
|
4763
4948
|
svg?: React.ReactNode;
|
|
4764
|
-
isSurfaceSensitive?: boolean;
|
|
4765
4949
|
onClick?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
4766
4950
|
}
|
|
4767
4951
|
|
|
@@ -4772,19 +4956,6 @@ interface NavigationHeaderNavLinkProps {
|
|
|
4772
4956
|
onClick?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
4773
4957
|
}
|
|
4774
4958
|
|
|
4775
|
-
/**
|
|
4776
|
-
* Provides an object of breakpoints for responsive designs.
|
|
4777
|
-
*
|
|
4778
|
-
* This object contains keys representing breakpoint names (e.g., `xxl`, `xl`)
|
|
4779
|
-
* and values representing the pixel widths for those breakpoints. The values are parsed
|
|
4780
|
-
* from strings (e.g., "1400px") into numbers for easier usage in responsive logic.
|
|
4781
|
-
*
|
|
4782
|
-
* Kept in src for internal use
|
|
4783
|
-
*/
|
|
4784
|
-
type ArcBreakpointSizes = "xs" | "s" | "m" | "l" | "xl" | "xxl";
|
|
4785
|
-
type ArcBreakpoint = Record<ArcBreakpointSizes, number>;
|
|
4786
|
-
declare const ArcBreakpoints: ArcBreakpoint;
|
|
4787
|
-
|
|
4788
4959
|
type CustomBreakpoint = keyof typeof ArcBreakpoints | number;
|
|
4789
4960
|
|
|
4790
4961
|
type NavigationHeaderNavItemType = "subnav" | "dropdown" | "link" | "meatball";
|
|
@@ -4813,23 +4984,6 @@ interface NavigationHeaderSubNavItem extends NavigationHeaderNavItem, Navigation
|
|
|
4813
4984
|
}
|
|
4814
4985
|
type NavigationHeaderNavigationItem = NavigationHeaderNavLinkItem | NavigationHeaderDropdownItem | NavigationHeaderSubNavItem | NavigationHeaderMeatBallMenuItem;
|
|
4815
4986
|
|
|
4816
|
-
interface NavigationHeaderNavListProps {
|
|
4817
|
-
/**
|
|
4818
|
-
* Nav items for `<NavigationHeader />`
|
|
4819
|
-
*/
|
|
4820
|
-
navItems: Array<NavigationHeaderNavigationItem>;
|
|
4821
|
-
/**
|
|
4822
|
-
* Meatball menu aria label
|
|
4823
|
-
*/
|
|
4824
|
-
meatBallMenuAriaLabel?: string;
|
|
4825
|
-
/**
|
|
4826
|
-
* Meatball menu tooltip text
|
|
4827
|
-
*/
|
|
4828
|
-
meatballMenuTooltip?: string;
|
|
4829
|
-
}
|
|
4830
|
-
|
|
4831
|
-
type ConfigurableHeaderVisibility = Partial<Record<Exclude<ArcBreakpointSizes, "xs">, boolean>>;
|
|
4832
|
-
|
|
4833
4987
|
interface NavigationHeaderInlineActionProps {
|
|
4834
4988
|
/**
|
|
4835
4989
|
* Icon url for the action.
|
|
@@ -4849,8 +5003,31 @@ interface NavigationHeaderInlineActionProps {
|
|
|
4849
5003
|
onClick?: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
4850
5004
|
}
|
|
4851
5005
|
|
|
5006
|
+
type BurgerMenuPathway = "invert" | "match";
|
|
5007
|
+
|
|
5008
|
+
interface NavigationHeaderNavListProps {
|
|
5009
|
+
/**
|
|
5010
|
+
* Nav items for `<NavigationHeader />`
|
|
5011
|
+
*/
|
|
5012
|
+
navItems: Array<NavigationHeaderNavigationItem>;
|
|
5013
|
+
/**
|
|
5014
|
+
* Meatball menu aria label
|
|
5015
|
+
*/
|
|
5016
|
+
meatBallMenuAriaLabel?: string;
|
|
5017
|
+
/**
|
|
5018
|
+
* Meatball menu tooltip text
|
|
5019
|
+
*/
|
|
5020
|
+
meatballMenuTooltip?: string;
|
|
5021
|
+
}
|
|
5022
|
+
|
|
5023
|
+
type ConfigurableHeaderVisibility = Partial<Record<Exclude<ArcBreakpointSizes, "xs">, boolean>>;
|
|
5024
|
+
|
|
4852
5025
|
declare const NavigationHeader: React.FC<NavigationHeaderProps>;
|
|
4853
|
-
interface NavigationHeaderProps extends Omit<NavigationHeaderContainerProps, "children">, Omit<NavigationHeaderNavListProps, "navItems">, ExtentableContainer {
|
|
5026
|
+
interface NavigationHeaderProps extends Omit<NavigationHeaderContainerProps, "children" | "background">, Omit<NavigationHeaderNavListProps, "navItems">, ExtentableContainer {
|
|
5027
|
+
/**
|
|
5028
|
+
* set the background color of the navbar.
|
|
5029
|
+
*/
|
|
5030
|
+
background?: Exclude<NavBarBackground, "neutral">;
|
|
4854
5031
|
/**
|
|
4855
5032
|
* Open content slot on the left of the nav bar.
|
|
4856
5033
|
*/
|
|
@@ -4868,7 +5045,7 @@ interface NavigationHeaderProps extends Omit<NavigationHeaderContainerProps, "ch
|
|
|
4868
5045
|
* When supplying your own svg the root element must be an `svg` element that is implemented as follows: it has a `viewBox` attribute, no `height`, `width` or `preserveAspectRatio` attributes. It will also need
|
|
4869
5046
|
* fills or strokes set to `currentColor` if you want it to work on both light and dark pathways.
|
|
4870
5047
|
*/
|
|
4871
|
-
logo?:
|
|
5048
|
+
logo?: NavigationHeaderLogoProps;
|
|
4872
5049
|
/**
|
|
4873
5050
|
* Additional links or buttons for the burger menu that sit below the nav items.
|
|
4874
5051
|
*/
|
|
@@ -4881,6 +5058,10 @@ interface NavigationHeaderProps extends Omit<NavigationHeaderContainerProps, "ch
|
|
|
4881
5058
|
* Additional content for the burger menu that sits between the logo and the nav items.
|
|
4882
5059
|
*/
|
|
4883
5060
|
burgerMenuHeader?: React.ReactNode;
|
|
5061
|
+
/**
|
|
5062
|
+
* Sets the color pathway for the burger menu, by default it inverts the pathway the header is using for contrast.
|
|
5063
|
+
*/
|
|
5064
|
+
burgerMenuPathway?: BurgerMenuPathway;
|
|
4884
5065
|
/**
|
|
4885
5066
|
* Configuration for the burger menu visibility. It is always visible below 636px but can also be configured to show at larger breakpoints.
|
|
4886
5067
|
*/
|
|
@@ -4893,6 +5074,7 @@ interface NavigationHeaderProps extends Omit<NavigationHeaderContainerProps, "ch
|
|
|
4893
5074
|
* Nav items for `<NavigationHeader />`
|
|
4894
5075
|
*/
|
|
4895
5076
|
navItems?: Array<NavigationHeaderNavigationItem>;
|
|
5077
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
4896
5078
|
}
|
|
4897
5079
|
|
|
4898
5080
|
declare const NavigationHeaderAction: React.FC<NavigationHeaderActionProps>;
|
|
@@ -4954,4 +5136,4 @@ interface NavigationHeaderPageProps {
|
|
|
4954
5136
|
*/
|
|
4955
5137
|
declare const useMediaQuery: (mediaQuery: string) => boolean;
|
|
4956
5138
|
|
|
4957
|
-
export { Alert, type AlertProps, Align, type AlignProps, type AlignmentValue, AppButton, type AppButtonProps, type RangeSelection as ArcCalendarRangeSelection, type SelectionType as ArcCalendarSelectionType, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, type Brand, BrandLogo, colors$1 as BrandLogoColors, type BrandLogoProps, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, ButtonV2, type ButtonV2Props, Calendar, type CalendarProps, Carousel, type CarouselProps, Checkbox, type CheckboxProps, type ColumnValue, Columns, ColumnsCol, type ColumnsColProps, type ColumnsProps, ComboBox, type ComboBoxProps, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, type ContentSwitcherDropdownProps, ContentSwitcherList, type ContentSwitcherProps, ContentSwitcherTab, DATE_FORMAT, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, Disclosure, DisclosureMini, type DisclosureMiniProps, type DisclosureProps, Download, type DownloadProps, Drawer, DrawerContent, DrawerFooter, DrawerHeader, type DrawerProps, Elevation, type ElevationProps, Filter, FilterControl, FilterControls, FilterItem, FilterItems, type FilterProps, FormControl, Context as FormControlContext, type FormControlProps, GhostedHeroBanner, type GhostedHeroBannerProps, GradientPageBackground, type GradientPageBackgroundProps, Grid, GridCol, type GridProps, GridRow, type GridValue, Group, GroupItem, type GroupProps, Heading, type HeadingLevel, type HeadingProps, HeroBanner, type HeroBannerProps, HeroButton, type HeroButtonProps, Hidden, type HiddenProps, HorizontalCard, type HorizontalCardProps, Icon, type IconColor, colors as IconColors, type IconProps, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, type ImageProps, ImageSource, type ImageSourceProps, ImpactCard, type ImpactCardProps, InformationCard, type InformationCardProps, Link, type LinkProps$1 as LinkProps, Markup, type MarkupProps, MediaCard, type MediaCardProps, Menu, MenuContent, MenuFooter, MenuGroup, MenuGroupSingleSelect, MenuHeader, MenuItem, MenuItemCheckbox, MenuItemContentTemplate, MenuItemMultiLevel, MenuItemMultiLevelContent, MenuItemMultiLevelTrigger, MenuItemSingleSelect, MenuLabel, MenuPortal, type MenuProps, MenuScrollable, MenuSeparator, MenuTrigger, Modal, type ModalProps, NavigationHeader, NavigationHeaderAction, NavigationHeaderActionBar, type NavigationHeaderActionProps, type NavigationHeaderNavigationItem, NavigationHeaderPage, type NavigationHeaderProps, Pagination, type PaginationProps, PaginationSimple, type PaginationSimpleProps, Popover, type PopoverProps, Poster, PosterImage, type PosterProps, PosterVideo, ProgressBar, type ProgressBarProps, type ProgressBarState, ProgressStepper, ProgressStepperItem, type ProgressStepperItemProps, ProgressStepperOverflow, type ProgressStepperOverflowRef, type ProgressStepperProps, RadioCardGroup, RadioCardGroupInput, type RadioCardGroupProps, RadioGroup, RadioGroupButton, RadioGroupInput, type RadioGroupProps, Rule, type RuleProps, ScrollToTop, type ScrollToTopProps, Section, type SectionProps, Select, type SelectProps, SiteFooter, SiteFooterItem, SiteFooterItemGroup, type SiteFooterProps, SiteFooterV2, SiteFooterV2Item, SiteFooterV2ItemGroup, SiteFooterV2Main, SiteFooterV2Utility, SiteHeaderV2, SiteHeaderV2Column, SiteHeaderV2Item, SiteHeaderV2ItemGroup, SiteHeaderV2NavItem, SiteHeaderV2NavItemWithSubNav, SiteHeaderV2NodeItem, type SiteHeaderV2Props, SiteHeaderV2SubNavItem, SiteHeaderV2VerticalDivider, Skeleton, type SkeletonProps, SkipLink, SkipLinkItem, type Span, Spinner, type SpinnerProps, Surface, type SurfaceBackground, type SurfaceBackgroundColor, Context$1 as SurfaceContext, type SurfacePadding, type SurfaceProps, Switch, type SwitchProps, TabbedBanner, type TabbedBannerProps, Tabs, TabsContent, TabsItem, TabsList, type TabsListProps, type TabsProps, Tag, type TagProps, TemplateBanner, type TemplateBannerProps, Text, TextArea, type TextAreaProps, TextInput, type TextInputProps, type TextProps, Theme, ThemeIcon, type ThemeIconNames, type ThemeIconProps, type ThemeProps, type ThemeType, ThumbnailSignpost, type ThumbnailSignpostProps, Toast, ToastNotification, type ToastProps, Tooltip, type TooltipProps, Truncate, type TruncateProps, TypographyCard, type TypographyCardProps, UniversalHeader, UniversalHeaderItem, type UniversalHeaderProps, VerticalSpace, type VerticalSpaceProps, VideoPlayer, type VideoPlayerProps, Visible, type VisibleProps, VisuallyHidden, type VisuallyHiddenProps, backgrounds, backgroundsBT, isDateValid, isRangeValid, loadingOptions, parseDateString, parseRangeString, themes, useMediaQuery };
|
|
5139
|
+
export { Alert, type AlertProps, Align, type AlignProps, type AlignmentValue, AppButton, type AppButtonProps, type RangeSelection as ArcCalendarRangeSelection, type SelectionType as ArcCalendarSelectionType, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, type Brand, BrandLogo, colors$1 as BrandLogoColors, type BrandLogoProps, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, ButtonV2, type ButtonV2Props, Calendar, type CalendarProps, Carousel, type CarouselProps, Checkbox, CheckboxIcon, type CheckboxIconProps, type CheckboxProps, type ColumnValue, Columns, ColumnsCol, type ColumnsColProps, type ColumnsProps, ComboBox, type ComboBoxProps, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, type ContentSwitcherDropdownProps, ContentSwitcherList, type ContentSwitcherProps, ContentSwitcherTab, DATE_FORMAT, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, Disclosure, DisclosureMini, type DisclosureMiniProps, type DisclosureProps, Download, type DownloadProps, Drawer, DrawerContent, DrawerFooter, DrawerHeader, type DrawerProps, Elevation, type ElevationProps, Filter, FilterControl, FilterControls, FilterItem, FilterItems, type FilterProps, FormControl, Context as FormControlContext, type FormControlProps, GhostedHeroBanner, type GhostedHeroBannerProps, GradientPageBackground, type GradientPageBackgroundProps, Grid, GridCol, type GridProps, GridRow, type GridValue, Group, GroupItem, type GroupProps, Heading, type HeadingLevel, type HeadingProps, HeroBanner, type HeroBannerProps, HeroButton, type HeroButtonProps, Hidden, type HiddenProps, HorizontalCard, type HorizontalCardProps, Icon, type IconColor, colors as IconColors, type IconProps, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, type ImageProps, ImageSource, type ImageSourceProps, ImpactCard, type ImpactCardProps, InformationCard, type InformationCardProps, Link, type LinkProps$1 as LinkProps, Markup, type MarkupProps, MediaCard, type MediaCardProps, Menu, MenuContent, MenuFooter, MenuGroup, MenuGroupSingleSelect, MenuHeader, MenuItem, MenuItemCheckbox, MenuItemContentTemplate, MenuItemMultiLevel, MenuItemMultiLevelContent, MenuItemMultiLevelTrigger, MenuItemSingleSelect, MenuLabel, MenuPortal, type MenuProps, MenuScrollable, MenuSeparator, MenuTrigger, Modal, type ModalProps, NavigationHeader, NavigationHeaderAction, NavigationHeaderActionBar, type NavigationHeaderActionProps, type NavigationHeaderNavigationItem, NavigationHeaderPage, type NavigationHeaderProps, Pagination, type PaginationProps, PaginationSimple, type PaginationSimpleProps, Popover, type PopoverProps, Poster, PosterImage, type PosterProps, PosterVideo, ProgressBar, type ProgressBarProps, type ProgressBarState, ProgressStepper, ProgressStepperItem, type ProgressStepperItemProps, ProgressStepperOverflow, type ProgressStepperOverflowRef, type ProgressStepperProps, RadioCardGroup, RadioCardGroupInput, type RadioCardGroupProps, RadioGroup, RadioGroupButton, RadioGroupInput, type RadioGroupProps, Rule, type RuleProps, ScrollToTop, type ScrollToTopProps, Section, type SectionProps, Select, type SelectProps, SemanticHeading, type SemanticHeadingLevel, type SemanticHeadingProps, SiteFooter, SiteFooterItem, SiteFooterItemGroup, type SiteFooterProps, SiteFooterV2, SiteFooterV2Item, SiteFooterV2ItemGroup, SiteFooterV2Main, SiteFooterV2Utility, SiteHeaderV2, SiteHeaderV2Column, SiteHeaderV2Item, SiteHeaderV2ItemGroup, SiteHeaderV2NavItem, SiteHeaderV2NavItemWithSubNav, SiteHeaderV2NodeItem, type SiteHeaderV2Props, SiteHeaderV2SubNavItem, SiteHeaderV2VerticalDivider, Skeleton, type SkeletonProps, SkipLink, SkipLinkItem, type Span, Spinner, type SpinnerProps, Surface, type SurfaceBackground, type SurfaceBackgroundColor, Context$1 as SurfaceContext, type SurfacePadding, type SurfaceProps, Switch, type SwitchProps, TabbedBanner, type TabbedBannerProps, Tabs, TabsContent, TabsItem, TabsList, type TabsListProps, type TabsProps, Tag, type TagProps, TemplateBanner, type TemplateBannerProps, Text, TextArea, type TextAreaProps, TextInput, type TextInputProps, type TextProps, Theme, ThemeIcon, type ThemeIconNames, type ThemeIconProps, type ThemeProps, type ThemeType, ThumbnailSignpost, type ThumbnailSignpostProps, Toast, ToastNotification, type ToastProps, Tooltip, type TooltipProps, Truncate, type TruncateProps, TypographyCard, type TypographyCardProps, UniversalHeader, UniversalHeaderItem, type UniversalHeaderProps, VerticalSpace, type VerticalSpaceProps, VideoPlayer, type VideoPlayerProps, Visible, type VisibleProps, VisuallyHidden, type VisuallyHiddenProps, backgrounds, backgroundsBT, isDateValid, isRangeValid, loadingOptions, parseDateString, parseRangeString, themes, useMediaQuery };
|