@arc-ui/components 12.0.0-beta.22 → 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 +38 -37
- package/lib/Alert/Alert.mjs +38 -37
- 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 +18 -8
- package/lib/Breadcrumbs/Breadcrumbs.mjs +16 -6
- 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 +17 -10
- package/lib/Carousel/Carousel.mjs +13 -6
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/Checkbox.cjs +54 -13
- package/lib/Checkbox/Checkbox.mjs +56 -11
- 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 +284 -18
- package/lib/ComboBox/ComboBox.mjs +287 -17
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.cjs +8 -8
- package/lib/ContentSwitcher/ContentSwitcher.mjs +8 -8
- 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 +365 -51
- package/lib/DatePicker/DatePicker.mjs +339 -26
- 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 -197
- package/lib/GradientPageBackground/GradientPageBackground.mjs +96 -197
- 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 +78 -9
- package/lib/HeroButton/HeroButton.mjs +81 -8
- 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 +15 -13
- package/lib/ImpactCard/ImpactCard.mjs +13 -11
- package/lib/ImpactCard/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +32 -22
- package/lib/InformationCard/InformationCard.mjs +27 -17
- 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 +56 -15
- package/lib/MediaCard/MediaCard.mjs +58 -13
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/Menu.cjs +1513 -73
- package/lib/Menu/Menu.mjs +1480 -59
- 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 +859 -114
- package/lib/NavigationHeader/NavigationHeader.mjs +836 -91
- 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 +142 -11
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +144 -9
- package/lib/ProgressStepperOverflow/styles.css +1 -1
- package/lib/RadioCardGroup/RadioCardGroup.cjs +57 -15
- package/lib/RadioCardGroup/RadioCardGroup.mjs +55 -14
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/RadioGroup.cjs +59 -15
- package/lib/RadioGroup/RadioGroup.mjs +56 -13
- 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 +28 -26
- package/lib/SiteFooterV2/SiteFooterV2.mjs +15 -13
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +457 -31
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +440 -15
- 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 +27 -26
- package/lib/TabbedBanner/TabbedBanner.mjs +23 -22
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/Tabs.cjs +12 -11
- package/lib/Tabs/Tabs.mjs +6 -5
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/Tag.cjs +18 -15
- package/lib/Tag/Tag.mjs +17 -14
- 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 +12 -62
- package/lib/TextArea/TextArea.mjs +10 -60
- 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 +13 -11
- package/lib/TypographyCard/TypographyCard.mjs +12 -10
- 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-B-va25n2.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-bCEzIPN2.cjs → ContentSwitcherList-BgAW2IhJ.cjs} +19 -7
- 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-7xUgVf1I.cjs → Link-PWpx-rRO.cjs} +13 -10
- 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-wUVdzmGA.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-CImrJ9ON.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-DWUgmeLA.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-DlNskPlN.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-Bd2_eT1Y.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-bCQz0qkU.mjs → ContentSwitcherList-i4m4nAzP.mjs} +15 -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-Biyg9qBH.mjs → Link-ogbR4K3O.mjs} +8 -5
- 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-DDygQ5Az.mjs → Section-COc1l3mp.mjs} +4 -3
- 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-DeHjliNP.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-Bs-at7wk.mjs +26 -0
- 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-BDWwJ5x2.mjs → index-BWkI4Dwz.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-C3WqfFKH.mjs → index.es-tyrXzvpp.mjs} +2 -2
- 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 +1244 -999
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +349 -142
- package/lib/index.d.mts +349 -142
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1244 -1001
- 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/BreadcrumbsLink-CDmk3Y3m.cjs +0 -18
- package/lib/_shared/cjs/ButtonV2-Bta5SVVY.cjs +0 -55
- package/lib/_shared/cjs/Checkbox-DfZMjO1Y.cjs +0 -88
- package/lib/_shared/cjs/ComboBox-BGUhlqx1.cjs +0 -281
- package/lib/_shared/cjs/ContentSwitcherTab-B387Qs3I.cjs +0 -14
- package/lib/_shared/cjs/DatePicker-Dt4faA_N.cjs +0 -334
- package/lib/_shared/cjs/GridRow-BW2ZGtND.cjs +0 -44
- package/lib/_shared/cjs/HeroButton-CrzkTUwP.cjs +0 -82
- package/lib/_shared/cjs/MediaCard-BEZFbiYO.cjs +0 -57
- package/lib/_shared/cjs/MenuItemMultiLevelContent-vLr6hSBm.cjs +0 -1328
- package/lib/_shared/cjs/ProgressStepperOverflow-BAGZNC26.cjs +0 -142
- package/lib/_shared/cjs/RadioCardGroupInput-CeUM3yPS.cjs +0 -53
- package/lib/_shared/cjs/RadioGroupInput-w2qkfsnG.cjs +0 -54
- package/lib/_shared/cjs/SiteHeaderV2NavItemWithSubNav-CagFKPEa.cjs +0 -445
- 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/kebabCase-D5yA6u-V.cjs +0 -743
- package/lib/_shared/cjs/keynames-Cx13-hWr.cjs +0 -8
- package/lib/_shared/cjs/use-media-query-BsUfHjPZ.cjs +0 -41
- package/lib/_shared/esm/BreadcrumbsLink-BxTurGNa.mjs +0 -16
- package/lib/_shared/esm/Checkbox-CwOHzlQF.mjs +0 -86
- package/lib/_shared/esm/ComboBox-CRlJjeev.mjs +0 -279
- package/lib/_shared/esm/ContentSwitcherTab-CfC3PGeZ.mjs +0 -12
- package/lib/_shared/esm/DatePicker-DT4OEzxP.mjs +0 -324
- package/lib/_shared/esm/HeroButton-jdjjV_Gf.mjs +0 -80
- package/lib/_shared/esm/MediaCard-DqMaNWsE.mjs +0 -55
- package/lib/_shared/esm/MenuItemMultiLevelContent-JTOHqpzg.mjs +0 -1296
- package/lib/_shared/esm/ProgressStepperOverflow-fPkLltVO.mjs +0 -140
- package/lib/_shared/esm/RadioCardGroupInput-D7W28geB.mjs +0 -50
- package/lib/_shared/esm/RadioGroupInput-zAWSV29m.mjs +0 -50
- package/lib/_shared/esm/SiteHeaderV2NavItemWithSubNav-CxGwdV6u.mjs +0 -439
- package/lib/_shared/esm/arc-breakpoints-D5hR5m3t.mjs +0 -21
- package/lib/_shared/esm/index-CL6dwOYV.mjs +0 -135
- package/lib/_shared/esm/kebabCase-CCEMRBfd.mjs +0 -737
- package/lib/_shared/esm/keynames-B5whqsjh.mjs +0 -8
- package/lib/_shared/esm/use-media-query-DmKuIDEM.mjs +0 -39
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
4
|
import { s as suffixModifier } from './suffix-modifier-B_pO0UkF.mjs';
|
|
5
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Use `Image` to render a single image, or set of images, with support for
|
|
@@ -9,7 +10,7 @@ import { s as suffixModifier } from './suffix-modifier-B_pO0UkF.mjs';
|
|
|
9
10
|
*/
|
|
10
11
|
var Image = function (_a) {
|
|
11
12
|
var _b;
|
|
12
|
-
var alt = _a.alt, _c = _a.fadeOnLoad, fadeOnLoad = _c === void 0 ? false : _c, _d = _a.anchor, anchor = _d === void 0 ? "C" : _d, children = _a.children, fillColor = _a.fillColor, fit = _a.fit, height = _a.height, loading = _a.loading, overlay = _a.overlay, sizes = _a.sizes, src = _a.src, srcSet = _a.srcSet, width = _a.width, props = __rest(_a, ["alt", "fadeOnLoad", "anchor", "children", "fillColor", "fit", "height", "loading", "overlay", "sizes", "src", "srcSet", "width"]);
|
|
13
|
+
var alt = _a.alt, _c = _a.fadeOnLoad, fadeOnLoad = _c === void 0 ? false : _c, _d = _a.anchor, anchor = _d === void 0 ? "C" : _d, children = _a.children, fetchPriority = _a.fetchPriority, fillColor = _a.fillColor, fit = _a.fit, height = _a.height, loading = _a.loading, overlay = _a.overlay, sizes = _a.sizes, src = _a.src, srcSet = _a.srcSet, width = _a.width, props = __rest(_a, ["alt", "fadeOnLoad", "anchor", "children", "fetchPriority", "fillColor", "fit", "height", "loading", "overlay", "sizes", "src", "srcSet", "width"]);
|
|
13
14
|
var _e = useState(false), visible = _e[0], setVisible = _e[1];
|
|
14
15
|
var imageRef = function (el) {
|
|
15
16
|
if (el) {
|
|
@@ -20,7 +21,7 @@ var Image = function (_a) {
|
|
|
20
21
|
"arc-Image-img--fade": fadeOnLoad,
|
|
21
22
|
"arc-Image-img--fadeVisible": fadeOnLoad && visible,
|
|
22
23
|
};
|
|
23
|
-
var img = (React__default.createElement("img", { ref: imageRef, className: classNames("arc-Image-img", animationClasses), alt: alt, height: fit === "cover" ? undefined : height, loading: loading, sizes: children ? undefined : sizes, src: src, srcSet: children ? undefined : srcSet, width: fit === "cover" ? undefined : width }));
|
|
24
|
+
var img = (React__default.createElement("img", { ref: imageRef, className: classNames("arc-Image-img", animationClasses), alt: alt, height: fit === "cover" ? undefined : height, loading: loading, sizes: children ? undefined : sizes, src: src, srcSet: children ? undefined : srcSet, width: fit === "cover" ? undefined : width, fetchPriority: fetchPriority }));
|
|
24
25
|
return (React__default.createElement("div", __assign({ className: classNames((_b = {
|
|
25
26
|
"arc-Image": true,
|
|
26
27
|
"arc-Image--cover": fit === "cover"
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
5
|
+
import { C as Context } from './Surface-C69KVzkY.mjs';
|
|
6
|
+
import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
|
|
7
|
+
import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Use `Link` to direct users to a new page or piece of information.
|
|
@@ -31,7 +32,9 @@ var Link = function (_a) {
|
|
|
31
32
|
};
|
|
32
33
|
var LinkElement = isButton ? "button" : href ? "a" : "span";
|
|
33
34
|
return (React__default.createElement(LinkElement, __assign({}, elementProps[LinkElement], filterAttrs(props)),
|
|
34
|
-
React__default.createElement("div", { className: "arc-Link-wrapper"
|
|
35
|
+
React__default.createElement("div", { className: classNames("arc-Link-wrapper", {
|
|
36
|
+
"arc-Link--isButton": isButton,
|
|
37
|
+
}) },
|
|
35
38
|
React__default.createElement(VisuallyHidden, null,
|
|
36
39
|
screenReaderText || children,
|
|
37
40
|
isExternalLink && " (Opens in new window)"),
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
-
import { R as Root2, A as Anchor2, T as Trigger, P as Portal, C as Content2, a as PopoverArrow } from './index-
|
|
4
|
+
import { R as Root2, A as Anchor2, T as Trigger, P as Portal, C as Content2, a as PopoverArrow } from './index-Do2wfP-X.mjs';
|
|
5
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
5
6
|
import { e as useThemeElement } from './index-Bz2JQq34.mjs';
|
|
6
|
-
import { S as Surface } from './Surface-
|
|
7
|
+
import { S as Surface } from './Surface-C69KVzkY.mjs';
|
|
7
8
|
|
|
8
9
|
/** Use `Popover` to display content in a portal, triggered by a button. */
|
|
9
10
|
var Popover = function (_a) {
|
|
10
|
-
var align = _a.align, ariaLabel = _a.ariaLabel, alignOffset = _a.alignOffset, _b = _a.arrow, arrow = _b === void 0 ? true : _b, _c = _a.background, background = _c === void 0 ? "light" : _c, children = _a.children, content = _a.content, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.maxWidth, maxWidth = _e === void 0 ? 452 : _e, onCloseAutoFocus = _a.onCloseAutoFocus, onEscapeKeyDown = _a.onEscapeKeyDown, onFocusOutside = _a.onFocusOutside, onInteractOutside = _a.onInteractOutside, onOpenAutoFocus = _a.onOpenAutoFocus, onPointerDownOutside = _a.onPointerDownOutside, onOpenChange = _a.onOpenChange, open = _a.open, side = _a.side,
|
|
11
|
-
var
|
|
11
|
+
var align = _a.align, ariaLabel = _a.ariaLabel, alignOffset = _a.alignOffset, _b = _a.arrow, arrow = _b === void 0 ? true : _b, _c = _a.background, background = _c === void 0 ? "light" : _c, children = _a.children, content = _a.content, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.maxWidth, maxWidth = _e === void 0 ? 452 : _e, minHeight = _a.minHeight, onCloseAutoFocus = _a.onCloseAutoFocus, onEscapeKeyDown = _a.onEscapeKeyDown, onFocusOutside = _a.onFocusOutside, onInteractOutside = _a.onInteractOutside, onOpenAutoFocus = _a.onOpenAutoFocus, onPointerDownOutside = _a.onPointerDownOutside, onOpenChange = _a.onOpenChange, open = _a.open, _f = _a.constrainToViewport, constrainToViewport = _f === void 0 ? true : _f, side = _a.side, _g = _a.sideOffset, sideOffset = _g === void 0 ? 0 : _g, _h = _a.zIndex, zIndex = _h === void 0 ? 100 : _h, _j = _a.hideWhenDetached, hideWhenDetached = _j === void 0 ? false : _j, _k = _a.useBespokeTrigger, useBespokeTrigger = _k === void 0 ? false : _k, props = __rest(_a, ["align", "ariaLabel", "alignOffset", "arrow", "background", "children", "content", "asChild", "maxWidth", "minHeight", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onInteractOutside", "onOpenAutoFocus", "onPointerDownOutside", "onOpenChange", "open", "constrainToViewport", "side", "sideOffset", "zIndex", "hideWhenDetached", "useBespokeTrigger"]);
|
|
12
|
+
var _l = useThemeElement(), themeElement = _l[0], setThemeElement = _l[1];
|
|
12
13
|
var alignOffsetDefault = align === "center" ? 0 : -16;
|
|
13
14
|
return (React__default.createElement("div", __assign({ className: "arc-Popover" }, filterAttrs(props)),
|
|
14
15
|
React__default.createElement(Root2, { open: open, onOpenChange: onOpenChange },
|
|
@@ -21,7 +22,8 @@ var Popover = function (_a) {
|
|
|
21
22
|
React__default.createElement("div", { className: classNames("arc-Popover-content", {
|
|
22
23
|
"arc-Popover-content--dark": background === "dark",
|
|
23
24
|
"arc-Popover-content--brand": background === "brand",
|
|
24
|
-
|
|
25
|
+
"arc-Popover-content--constrainToViewport": constrainToViewport,
|
|
26
|
+
}), style: { maxWidth: maxWidth, minHeight: minHeight }, "aria-labelledby": "popover-content" },
|
|
25
27
|
content && React__default.createElement("div", { id: "popover-content" }, content),
|
|
26
28
|
arrow && (React__default.createElement(PopoverArrow, { className: "arc-Popover-arrow" })))))))))));
|
|
27
29
|
};
|
|
@@ -1,10 +1,142 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
-
import {
|
|
3
|
+
import { g as getDefaultExportFromCjs, c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
5
5
|
import { c as capitaliseFirstLetter } from './capitalise-first-letter-Cubg2CS1.mjs';
|
|
6
|
-
import { V as VisuallyHidden } from './VisuallyHidden-
|
|
7
|
-
import { I as Icon } from './Icon-
|
|
6
|
+
import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
|
|
7
|
+
import { I as Icon } from './Icon-CCUbr_AO.mjs';
|
|
8
|
+
|
|
9
|
+
var shorterCssColorNames;
|
|
10
|
+
var hasRequiredShorterCssColorNames;
|
|
11
|
+
|
|
12
|
+
function requireShorterCssColorNames () {
|
|
13
|
+
if (hasRequiredShorterCssColorNames) return shorterCssColorNames;
|
|
14
|
+
hasRequiredShorterCssColorNames = 1;
|
|
15
|
+
shorterCssColorNames = {
|
|
16
|
+
aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
17
|
+
azure: /#f0ffff(ff)?(?!\w)/gi,
|
|
18
|
+
beige: /#f5f5dc(ff)?(?!\w)/gi,
|
|
19
|
+
bisque: /#ffe4c4(ff)?(?!\w)/gi,
|
|
20
|
+
black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
|
|
21
|
+
blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
|
|
22
|
+
brown: /#a52a2a(ff)?(?!\w)/gi,
|
|
23
|
+
coral: /#ff7f50(ff)?(?!\w)/gi,
|
|
24
|
+
cornsilk: /#fff8dc(ff)?(?!\w)/gi,
|
|
25
|
+
crimson: /#dc143c(ff)?(?!\w)/gi,
|
|
26
|
+
cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
|
|
27
|
+
darkblue: /#00008b(ff)?(?!\w)/gi,
|
|
28
|
+
darkcyan: /#008b8b(ff)?(?!\w)/gi,
|
|
29
|
+
darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
|
|
30
|
+
darkred: /#8b0000(ff)?(?!\w)/gi,
|
|
31
|
+
deeppink: /#ff1493(ff)?(?!\w)/gi,
|
|
32
|
+
dimgrey: /#696969(ff)?(?!\w)/gi,
|
|
33
|
+
gold: /#ffd700(ff)?(?!\w)/gi,
|
|
34
|
+
green: /#008000(ff)?(?!\w)/gi,
|
|
35
|
+
grey: /#808080(ff)?(?!\w)/gi,
|
|
36
|
+
honeydew: /#f0fff0(ff)?(?!\w)/gi,
|
|
37
|
+
hotpink: /#ff69b4(ff)?(?!\w)/gi,
|
|
38
|
+
indigo: /#4b0082(ff)?(?!\w)/gi,
|
|
39
|
+
ivory: /#fffff0(ff)?(?!\w)/gi,
|
|
40
|
+
khaki: /#f0e68c(ff)?(?!\w)/gi,
|
|
41
|
+
lavender: /#e6e6fa(ff)?(?!\w)/gi,
|
|
42
|
+
lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
|
|
43
|
+
linen: /#faf0e6(ff)?(?!\w)/gi,
|
|
44
|
+
maroon: /#800000(ff)?(?!\w)/gi,
|
|
45
|
+
moccasin: /#ffe4b5(ff)?(?!\w)/gi,
|
|
46
|
+
navy: /#000080(ff)?(?!\w)/gi,
|
|
47
|
+
oldlace: /#fdf5e6(ff)?(?!\w)/gi,
|
|
48
|
+
olive: /#808000(ff)?(?!\w)/gi,
|
|
49
|
+
orange: /#ffa500(ff)?(?!\w)/gi,
|
|
50
|
+
orchid: /#da70d6(ff)?(?!\w)/gi,
|
|
51
|
+
peru: /#cd853f(ff)?(?!\w)/gi,
|
|
52
|
+
pink: /#ffc0cb(ff)?(?!\w)/gi,
|
|
53
|
+
plum: /#dda0dd(ff)?(?!\w)/gi,
|
|
54
|
+
purple: /#800080(ff)?(?!\w)/gi,
|
|
55
|
+
red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
|
|
56
|
+
salmon: /#fa8072(ff)?(?!\w)/gi,
|
|
57
|
+
seagreen: /#2e8b57(ff)?(?!\w)/gi,
|
|
58
|
+
seashell: /#fff5ee(ff)?(?!\w)/gi,
|
|
59
|
+
sienna: /#a0522d(ff)?(?!\w)/gi,
|
|
60
|
+
silver: /#c0c0c0(ff)?(?!\w)/gi,
|
|
61
|
+
skyblue: /#87ceeb(ff)?(?!\w)/gi,
|
|
62
|
+
snow: /#fffafa(ff)?(?!\w)/gi,
|
|
63
|
+
tan: /#d2b48c(ff)?(?!\w)/gi,
|
|
64
|
+
teal: /#008080(ff)?(?!\w)/gi,
|
|
65
|
+
thistle: /#d8bfd8(ff)?(?!\w)/gi,
|
|
66
|
+
tomato: /#ff6347(ff)?(?!\w)/gi,
|
|
67
|
+
violet: /#ee82ee(ff)?(?!\w)/gi,
|
|
68
|
+
wheat: /#f5deb3(ff)?(?!\w)/gi,
|
|
69
|
+
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
|
|
70
|
+
};
|
|
71
|
+
return shorterCssColorNames;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
var miniSvgDataUri;
|
|
75
|
+
var hasRequiredMiniSvgDataUri;
|
|
76
|
+
|
|
77
|
+
function requireMiniSvgDataUri () {
|
|
78
|
+
if (hasRequiredMiniSvgDataUri) return miniSvgDataUri;
|
|
79
|
+
hasRequiredMiniSvgDataUri = 1;
|
|
80
|
+
var shorterNames = requireShorterCssColorNames();
|
|
81
|
+
var REGEX = {
|
|
82
|
+
whitespace: /\s+/g,
|
|
83
|
+
urlHexPairs: /%[\dA-F]{2}/g,
|
|
84
|
+
quotes: /"/g,
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
function collapseWhitespace(str) {
|
|
88
|
+
return str.trim().replace(REGEX.whitespace, ' ');
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function dataURIPayload(string) {
|
|
92
|
+
return encodeURIComponent(string)
|
|
93
|
+
.replace(REGEX.urlHexPairs, specialHexEncode);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// `#` gets converted to `%23`, so quite a few CSS named colors are shorter than
|
|
97
|
+
// their equivalent URL-encoded hex codes.
|
|
98
|
+
function colorCodeToShorterNames(string) {
|
|
99
|
+
Object.keys(shorterNames).forEach(function(key) {
|
|
100
|
+
if (shorterNames[key].test(string)) {
|
|
101
|
+
string = string.replace(shorterNames[key], key);
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
return string;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function specialHexEncode(match) {
|
|
109
|
+
switch (match) { // Browsers tolerate these characters, and they're frequent
|
|
110
|
+
case '%20': return ' ';
|
|
111
|
+
case '%3D': return '=';
|
|
112
|
+
case '%3A': return ':';
|
|
113
|
+
case '%2F': return '/';
|
|
114
|
+
default: return match.toLowerCase(); // compresses better
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
function svgToTinyDataUri(svgString) {
|
|
119
|
+
if (typeof svgString !== 'string') {
|
|
120
|
+
throw new TypeError('Expected a string, but received ' + typeof svgString);
|
|
121
|
+
}
|
|
122
|
+
// Strip the Byte-Order Mark if the SVG has one
|
|
123
|
+
if (svgString.charCodeAt(0) === 0xfeff) { svgString = svgString.slice(1); }
|
|
124
|
+
|
|
125
|
+
var body = colorCodeToShorterNames(collapseWhitespace(svgString))
|
|
126
|
+
.replace(REGEX.quotes, "'");
|
|
127
|
+
return 'data:image/svg+xml,' + dataURIPayload(body);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
svgToTinyDataUri.toSrcset = function toSrcset(svgString) {
|
|
131
|
+
return svgToTinyDataUri(svgString).replace(/ /g, '%20');
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
miniSvgDataUri = svgToTinyDataUri;
|
|
135
|
+
return miniSvgDataUri;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
var miniSvgDataUriExports = requireMiniSvgDataUri();
|
|
139
|
+
var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
|
|
8
140
|
|
|
9
141
|
var Error = "\n <svg fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <g clipPath=\"url(#a)\">\n <path\n d=\"m13.06 12 2.845-2.845a.75.75 0 0 0-1.06-1.06L12 10.94 9.155 8.095a.75.75 0 0 0-1.06 1.06L10.939 12l-2.844 2.845a.75.75 0 1 0 1.06 1.06L12 13.061l2.845 2.844a.75.75 0 0 0 1.06-1.06L13.06 12Z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"a\">\n <rect width=\"24\" height=\"24\" rx=\"12\" />\n </clipPath>\n </defs>\n </svg>\n ";
|
|
10
142
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { a as __assign
|
|
1
|
+
import { a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
-
import {
|
|
4
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
5
|
+
import { C as Context } from './Surface-C69KVzkY.mjs';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Use `Rule` to display a horizontal or vertical rule.
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Use `Section` to compose content into vertical page layouts.
|
|
7
8
|
*/
|
|
8
9
|
var Section = function (_a) {
|
|
9
|
-
var children = _a.children, _b = _a.isFullWidth, isFullWidth = _b === void 0 ? false : _b, _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, _d = _a.isExtended, isExtended = _d === void 0 ? false : _d, props = __rest(_a, ["children", "isFullWidth", "isDebugVisible", "isExtended"]);
|
|
10
|
-
return (React__default.createElement("div", __assign({ className: classNames({
|
|
10
|
+
var children = _a.children, _b = _a.isFullWidth, isFullWidth = _b === void 0 ? false : _b, _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, _d = _a.isExtended, isExtended = _d === void 0 ? false : _d, id = _a.id, props = __rest(_a, ["children", "isFullWidth", "isDebugVisible", "isExtended", "id"]);
|
|
11
|
+
return (React__default.createElement("div", __assign({ id: id, className: classNames({
|
|
11
12
|
"arc-Section": true,
|
|
12
13
|
"arc-Section--regular": !isExtended,
|
|
13
14
|
"arc-Section--extended": isExtended,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
+
|
|
5
|
+
var SemanticHeading = function (_a) {
|
|
6
|
+
var children = _a.children, level = _a.level, className = _a.className, props = __rest(_a, ["children", "level", "className"]);
|
|
7
|
+
return React__default.createElement(level ? "h".concat(level) : "span", __assign({ className: classNames("arc-SemanticHeading", className) }, props), children);
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export { SemanticHeading as S };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Use `Spinner` to display a loading state.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { b as __spreadArray, _ as __rest, a as __assign
|
|
1
|
+
import { b as __spreadArray, _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default, { createContext } from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
4
|
import { c as camelcase } from './index-Spae4j7j.mjs';
|
|
5
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
5
6
|
|
|
6
7
|
var defaultContext = { surface: "light" };
|
|
7
8
|
var Context = createContext(defaultContext);
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
5
|
+
import { V as VerticalSpace } from './VerticalSpace-BLWB02I7.mjs';
|
|
6
|
+
import { B as Box } from './Box-C8iK8x5c.mjs';
|
|
7
|
+
import { H as Heading } from './Heading-B9cbwfoz.mjs';
|
|
8
|
+
import { b as GridRow, G as Grid, a as GridCol } from './GridRow-vjacXnq0.mjs';
|
|
8
9
|
import './index-Spae4j7j.mjs';
|
|
9
|
-
import { B as BannerImage } from './BannerImage-
|
|
10
|
-
import { V as Visible } from './Visible-
|
|
10
|
+
import { B as BannerImage } from './BannerImage-CgjgaYkJ.mjs';
|
|
11
|
+
import { V as Visible } from './Visible-B0d79VWZ.mjs';
|
|
11
12
|
|
|
12
13
|
var BannerRow = function (_a) {
|
|
13
14
|
var isReversed = _a.isReversed, children = _a.children;
|
|
@@ -19,7 +20,7 @@ var BannerRow = function (_a) {
|
|
|
19
20
|
};
|
|
20
21
|
|
|
21
22
|
var TemplateBanner = function (_a) {
|
|
22
|
-
var heading = _a.heading, label = _a.label, text = _a.text, img = _a.img,
|
|
23
|
+
var heading = _a.heading, _b = _a.fontStyle, fontStyle = _b === void 0 ? "default" : _b, label = _a.label, _c = _a.labelLevel, labelLevel = _c === void 0 ? "3" : _c, text = _a.text, img = _a.img, _d = _a.contentRatio, contentRatio = _d === void 0 ? "1/1" : _d, children = _a.children, _e = _a.alignment, alignment = _e === void 0 ? "center" : _e, additionalTopMargin = _a.additionalTopMargin, _f = _a.minHeight, minHeight = _f === void 0 ? 454 : _f, minHeightM = _a.minHeightM, minHeightL = _a.minHeightL, minHeightXL = _a.minHeightXL, _g = _a.headingSize, headingSize = _g === void 0 ? "xl" : _g, _h = _a.isReversed, isReversed = _h === void 0 ? false : _h, _j = _a.isElevated, isElevated = _j === void 0 ? false : _j, _k = _a.headingLevel, headingLevel = _k === void 0 ? "2" : _k, _l = _a.type, type = _l === void 0 ? "light" : _l, props = __rest(_a, ["heading", "fontStyle", "label", "labelLevel", "text", "img", "contentRatio", "children", "alignment", "additionalTopMargin", "minHeight", "minHeightM", "minHeightL", "minHeightXL", "headingSize", "isReversed", "isElevated", "headingLevel", "type"]);
|
|
23
24
|
var backgrounds = {
|
|
24
25
|
dark: "dark-brand-02",
|
|
25
26
|
light: "light-white",
|
|
@@ -62,13 +63,13 @@ var TemplateBanner = function (_a) {
|
|
|
62
63
|
"arc-TemplateBanner-content--additionalTopMargin": additionalTopMargin && alignment === "start",
|
|
63
64
|
}) },
|
|
64
65
|
label && (React__default.createElement(React__default.Fragment, null,
|
|
65
|
-
React__default.createElement(Heading, { level:
|
|
66
|
+
React__default.createElement(Heading, { level: labelLevel, fontStyle: "overline", isWordWrap: false }, label),
|
|
66
67
|
React__default.createElement(VerticalSpace, { size: "8" }))),
|
|
67
|
-
React__default.createElement(Heading, { level: headingLevel, size: headingSize }, heading),
|
|
68
|
+
React__default.createElement(Heading, { level: headingLevel, size: headingSize, fontStyle: fontStyle, isWordWrap: false }, heading),
|
|
68
69
|
text && (React__default.createElement(React__default.Fragment, null,
|
|
69
70
|
React__default.createElement(VerticalSpace, { size: "16" }),
|
|
70
71
|
React__default.createElement("span", { className: "arc-TemplateBanner-text" }, text))),
|
|
71
|
-
children && (React__default.createElement(
|
|
72
|
+
children && (React__default.createElement("span", null,
|
|
72
73
|
React__default.createElement(VerticalSpace, { size: "32" }),
|
|
73
74
|
children)))),
|
|
74
75
|
img && contentRatio !== "1/0" && (React__default.createElement(GridCol, __assign({ "data-testid": "arc-TemplateBanner-imageCol", align: img.fit !== "cover"
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
4
|
import { s as suffixModifier } from './suffix-modifier-B_pO0UkF.mjs';
|
|
5
|
-
import {
|
|
5
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
6
|
+
import { C as Context } from './Surface-C69KVzkY.mjs';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Use `Text` to display text.
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default, { forwardRef, useContext, useState } from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
5
|
+
import { u as useAriaDescribedby, F as FormControl } from './FormControl-Pc1aHUNM.mjs';
|
|
6
|
+
import { C as Context } from './Surface-C69KVzkY.mjs';
|
|
7
|
+
import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
|
|
8
|
+
import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
|
|
9
|
+
import { S as Spinner } from './Spinner-DvngCIwx.mjs';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
@@ -46,8 +47,8 @@ var TextInputComponent = forwardRef(function (_a, ref) {
|
|
|
46
47
|
});
|
|
47
48
|
// Although this is used within FormControlWrapper, it's deterministic so we can call it here too
|
|
48
49
|
var ariaDescribedby = useAriaDescribedby({
|
|
49
|
-
errorMessage: errorMessage,
|
|
50
50
|
id: id,
|
|
51
|
+
errorMessage: errorMessage,
|
|
51
52
|
helper: helper,
|
|
52
53
|
disclosureText: disclosureText,
|
|
53
54
|
}).ariaDescribedby;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
4
|
import { s as suffixModifier } from './suffix-modifier-B_pO0UkF.mjs';
|
|
5
|
-
import {
|
|
5
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
6
|
+
import { C as Context } from './Surface-C69KVzkY.mjs';
|
|
6
7
|
|
|
7
8
|
var ThemeIcon = function (_a) {
|
|
8
9
|
var _b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { _ as __rest, a as __assign
|
|
2
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { g as useEscapeKeydown, f as useCallbackRef, b as useLayoutEffect2, c as createContextScope$1, a as useId, u as useControllableState, e as useThemeElement } from './index-Bz2JQq34.mjs';
|
|
@@ -7,9 +7,10 @@ import * as ReactDOM from 'react-dom';
|
|
|
7
7
|
import ReactDOM__default from 'react-dom';
|
|
8
8
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
import { u as useSize, a as useFloating, b as autoUpdate, o as offset, s as shift, l as limitShift, f as flip, c as size, d as arrow, h as hide } from './index-CWHcEz3_.mjs';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
10
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
11
|
+
import { S as Surface } from './Surface-C69KVzkY.mjs';
|
|
12
|
+
import { I as Icon } from './Icon-CCUbr_AO.mjs';
|
|
13
|
+
import { T as Text } from './Text-BAzOkkzN.mjs';
|
|
13
14
|
|
|
14
15
|
// packages/core/primitive/src/primitive.tsx
|
|
15
16
|
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
@@ -1327,12 +1328,12 @@ var Arrow2 = TooltipArrow;
|
|
|
1327
1328
|
|
|
1328
1329
|
/** Use `Tooltip` to display information related to an element when the element receives keyboard focus or the mouse hovers over it */
|
|
1329
1330
|
var Tooltip = function (_a) {
|
|
1330
|
-
var children = _a.children, side = _a.side, sideOffset = _a.sideOffset, align = _a.align, alignContent = _a.alignContent, title = _a.title, supportingCopy = _a.supportingCopy, icon = _a.icon, _b = _a.maxWidth, maxWidth = _b === void 0 ? "450px" : _b, _c = _a.delayDuration, delayDuration = _c === void 0 ? 300 : _c, open = _a.open, onOpenChange = _a.onOpenChange, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, props = __rest(_a, ["children", "side", "sideOffset", "align", "alignContent", "title", "supportingCopy", "icon", "maxWidth", "delayDuration", "open", "onOpenChange", "asChild", "zIndex"]);
|
|
1331
|
+
var children = _a.children, side = _a.side, sideOffset = _a.sideOffset, align = _a.align, alignContent = _a.alignContent, title = _a.title, supportingCopy = _a.supportingCopy, icon = _a.icon, ariaLabel = _a.ariaLabel, _b = _a.maxWidth, maxWidth = _b === void 0 ? "450px" : _b, _c = _a.delayDuration, delayDuration = _c === void 0 ? 300 : _c, open = _a.open, onOpenChange = _a.onOpenChange, _d = _a.asChild, asChild = _d === void 0 ? false : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, props = __rest(_a, ["children", "side", "sideOffset", "align", "alignContent", "title", "supportingCopy", "icon", "ariaLabel", "maxWidth", "delayDuration", "open", "onOpenChange", "asChild", "zIndex"]);
|
|
1331
1332
|
var _f = useThemeElement(), themeElement = _f[0], setThemeElement = _f[1];
|
|
1332
1333
|
return (React__default.createElement("div", __assign({}, filterAttrs(props)),
|
|
1333
1334
|
React__default.createElement(TooltipProvider, null,
|
|
1334
1335
|
React__default.createElement(Root3, __assign({ delayDuration: delayDuration, open: open, onOpenChange: onOpenChange }, filterAttrs(props)),
|
|
1335
|
-
React__default.createElement(Trigger, { asChild: asChild, className: "arc-Tooltip-trigger" }, children),
|
|
1336
|
+
React__default.createElement(Trigger, { asChild: asChild, "aria-label": ariaLabel, className: "arc-Tooltip-trigger" }, children),
|
|
1336
1337
|
React__default.createElement("div", { ref: setThemeElement },
|
|
1337
1338
|
React__default.createElement(Portal, { container: themeElement },
|
|
1338
1339
|
React__default.createElement(Content2, __assign({ side: side, sideOffset: sideOffset, align: align, alignOffset: align === "start" ? -4 : align === "end" ? -4 : undefined, style: { zIndex: zIndex } }, props),
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Use `VerticalSpace` to create vertical space between components.
|
|
7
8
|
*/
|
|
8
9
|
var VerticalSpace = function (_a) {
|
|
9
10
|
var _b;
|
|
10
|
-
var _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? "24" : _d, sizeS = _a.sizeS, sizeM = _a.sizeM, sizeL = _a.sizeL, sizeXL = _a.sizeXL, props = __rest(_a, ["isDebugVisible", "size", "sizeS", "sizeM", "sizeL", "sizeXL"]);
|
|
11
|
+
var _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? "24" : _d, sizeS = _a.sizeS, sizeM = _a.sizeM, sizeL = _a.sizeL, sizeXL = _a.sizeXL, sizeXXL = _a.sizeXXL, props = __rest(_a, ["isDebugVisible", "size", "sizeS", "sizeM", "sizeL", "sizeXL", "sizeXXL"]);
|
|
11
12
|
return (React__default.createElement("div", __assign({ className: classNames((_b = {
|
|
12
13
|
"arc-VerticalSpace": true
|
|
13
14
|
},
|
|
@@ -16,6 +17,7 @@ var VerticalSpace = function (_a) {
|
|
|
16
17
|
_b["arc-VerticalSpace--sizeM".concat(sizeM)] = sizeM,
|
|
17
18
|
_b["arc-VerticalSpace--sizeL".concat(sizeL)] = sizeL,
|
|
18
19
|
_b["arc-VerticalSpace--sizeXL".concat(sizeXL)] = sizeXL,
|
|
20
|
+
_b["arc-VerticalSpace--sizeXXL".concat(sizeXXL)] = sizeXXL,
|
|
19
21
|
_b["arc-VerticalSpace--debugVisible"] = isDebugVisible,
|
|
20
22
|
_b)) }, filterAttrs(props))));
|
|
21
23
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
4
5
|
|
|
5
6
|
var Visible = function (_a) {
|
|
6
7
|
var children = _a.children, xs = _a.xs, s = _a.s, m = _a.m, l = _a.l, xl = _a.xl, xxl = _a.xxl, props = __rest(_a, ["children", "xs", "s", "m", "l", "xl", "xxl"]);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Use `VisuallyHidden` to provide text for screen readers that is visually hidden on screen.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { A as ArcSizeBreakpointsXxl, a as ArcSizeBreakpointsXl, b as ArcSizeBreakpointsL, c as ArcSizeBreakpointsM, d as ArcSizeBreakpointsS, e as ArcSizeBreakpointsXs } from './index.es-tyrXzvpp.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Provides an object of breakpoints for responsive designs.
|
|
5
|
+
*
|
|
6
|
+
* This object contains keys representing breakpoint names (e.g., `xxl`, `xl`)
|
|
7
|
+
* and values representing the pixel widths for those breakpoints. The values are parsed
|
|
8
|
+
* from strings (e.g., "1400px") into numbers for easier usage in responsive logic.
|
|
9
|
+
*
|
|
10
|
+
* Kept in src for internal use
|
|
11
|
+
*/
|
|
12
|
+
var ArcBreakpoints = {
|
|
13
|
+
xxl: parseInt(ArcSizeBreakpointsXxl, 10),
|
|
14
|
+
xl: parseInt(ArcSizeBreakpointsXl, 10),
|
|
15
|
+
l: parseInt(ArcSizeBreakpointsL, 10),
|
|
16
|
+
m: parseInt(ArcSizeBreakpointsM, 10),
|
|
17
|
+
s: parseInt(ArcSizeBreakpointsS, 10),
|
|
18
|
+
xs: parseInt(ArcSizeBreakpointsXs, 10),
|
|
19
|
+
};
|
|
20
|
+
var ARC_MIN_S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
|
|
21
|
+
var ARC_MIN_M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
|
|
22
|
+
var ARC_MIN_L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
|
|
23
|
+
var ARC_MIN_XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
|
|
24
|
+
var ARC_MIN_XXL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXxl, ")");
|
|
25
|
+
|
|
26
|
+
export { ArcBreakpoints as A, ARC_MIN_S_BREAKPOINT as a, ARC_MIN_M_BREAKPOINT as b, ARC_MIN_L_BREAKPOINT as c, ARC_MIN_XL_BREAKPOINT as d, ARC_MIN_XXL_BREAKPOINT as e };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/filter-attrs/filter-attrs.ts
|
|
2
|
+
var attributePrefixes = ["data-", "aria-"];
|
|
3
|
+
var filterAttrs = (props) => {
|
|
4
|
+
const filteredProps = {};
|
|
5
|
+
for (const prop in props) {
|
|
6
|
+
if (Object.prototype.hasOwnProperty.call(props, prop) && attributePrefixes.some((prefix) => prop.startsWith(prefix))) {
|
|
7
|
+
filteredProps[prop] = props[prop];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
return filteredProps;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { filterAttrs as f };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { u as useSize, a as useFloating, b as autoUpdate, o as offset, s as shift, f as flip, c as size, d as arrow, h as hide, l as limitShift } from './index-CWHcEz3_.mjs';
|
|
4
|
-
import { P as Primitive, u as useComposedRefs } from './Combination-
|
|
4
|
+
import { P as Primitive, u as useComposedRefs } from './Combination-BQ4XBtF-.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
import { c as createContextScope, f as useCallbackRef, b as useLayoutEffect2 } from './index-Bz2JQq34.mjs';
|
|
7
7
|
|
|
@@ -390,4 +390,4 @@ const $69cb30bb0017df05$export$54c2e3dc7acea9f5 = $69cb30bb0017df05$export$9712d
|
|
|
390
390
|
const $69cb30bb0017df05$export$41fb9f06171c75f4 = $69cb30bb0017df05$export$8114b9fdfdf9f3ba;
|
|
391
391
|
const $69cb30bb0017df05$export$7c6e2c02157bb7d2 = $69cb30bb0017df05$export$bd905d70e8fd2ebb;
|
|
392
392
|
|
|
393
|
-
export { $69cb30bb0017df05$export$
|
|
393
|
+
export { $69cb30bb0017df05$export$be92b6f5f03c0fe9 as $, $69cb30bb0017df05$export$41fb9f06171c75f4 as a, $69cb30bb0017df05$export$7c6e2c02157bb7d2 as b, $69cb30bb0017df05$export$54c2e3dc7acea9f5 as c };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { u as useComposedRefs, P as Primitive, c as composeEventHandlers, R as ReactRemoveScroll, S as Slot, h as hideOthers, a as useFocusGuards, F as FocusScope, D as DismissableLayer, b as Portal$1 } from './Combination-
|
|
3
|
+
import { u as useComposedRefs, P as Primitive, c as composeEventHandlers, R as ReactRemoveScroll, S as Slot, h as hideOthers, a as useFocusGuards, F as FocusScope, D as DismissableLayer, b as Portal$1 } from './Combination-BQ4XBtF-.mjs';
|
|
4
4
|
import { c as createContextScope, d as createContext2, u as useControllableState, a as useId } from './index-Bz2JQq34.mjs';
|
|
5
|
-
import { P as Presence } from './index-
|
|
5
|
+
import { P as Presence } from './index-GCEHSsY8.mjs';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
var DIALOG_NAME = "Dialog";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { u as useComposedRefs, P as Primitive, c as composeEventHandlers, h as hideOthers, R as ReactRemoveScroll, S as Slot, a as useFocusGuards, F as FocusScope, D as DismissableLayer, b as Portal$1 } from './Combination-
|
|
3
|
+
import { u as useComposedRefs, P as Primitive, c as composeEventHandlers, h as hideOthers, R as ReactRemoveScroll, S as Slot, a as useFocusGuards, F as FocusScope, D as DismissableLayer, b as Portal$1 } from './Combination-BQ4XBtF-.mjs';
|
|
4
4
|
import { c as createContextScope, u as useControllableState, a as useId } from './index-Bz2JQq34.mjs';
|
|
5
|
-
import { c as createPopperScope, A as Anchor, C as Content, a as Arrow, R as Root2$1 } from './index-
|
|
6
|
-
import { P as Presence } from './index-
|
|
5
|
+
import { c as createPopperScope, A as Anchor, C as Content, a as Arrow, R as Root2$1 } from './index-BFKdmv_g.mjs';
|
|
6
|
+
import { P as Presence } from './index-GCEHSsY8.mjs';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
var POPOVER_NAME = "Popover";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { u as useComposedRefs } from './Combination-
|
|
3
|
+
import { u as useComposedRefs } from './Combination-BQ4XBtF-.mjs';
|
|
4
4
|
import { b as useLayoutEffect2 } from './index-Bz2JQq34.mjs';
|
|
5
5
|
|
|
6
6
|
function useStateMachine(initialState, machine) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import { c as createContextScope } from './index-Bz2JQq34.mjs';
|
|
5
|
-
import { u as useComposedRefs, S as Slot } from './Combination-
|
|
5
|
+
import { u as useComposedRefs, S as Slot } from './Combination-BQ4XBtF-.mjs';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
function createCollection(name) {
|