@arc-ui/components 12.0.0-beta.23 → 12.0.0-beta.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Alert/Alert.cjs +39 -39
- package/lib/Alert/Alert.mjs +40 -40
- package/lib/Alert/styles.css +1 -1
- package/lib/Align/Align.cjs +4 -3
- package/lib/Align/Align.mjs +2 -1
- package/lib/Align/styles.css +1 -1
- package/lib/AppButton/AppButton.cjs +5 -4
- package/lib/AppButton/AppButton.mjs +3 -2
- package/lib/AppButton/styles.css +1 -1
- package/lib/Avatar/Avatar.cjs +9 -7
- package/lib/Avatar/Avatar.mjs +9 -7
- package/lib/Avatar/styles.css +1 -1
- package/lib/AvatarGroup/AvatarGroup.cjs +14 -12
- package/lib/AvatarGroup/AvatarGroup.mjs +9 -7
- package/lib/AvatarGroup/styles.css +1 -1
- package/lib/Badge/Badge.cjs +3 -2
- package/lib/Badge/Badge.mjs +3 -2
- package/lib/Badge/styles.css +1 -1
- package/lib/Banner/Banner.cjs +14 -12
- package/lib/Banner/Banner.mjs +12 -10
- package/lib/Box/Box.cjs +4 -3
- package/lib/Box/Box.mjs +4 -3
- package/lib/Box/styles.css +1 -1
- package/lib/BrandLogo/BrandLogo.cjs +4 -3
- package/lib/BrandLogo/BrandLogo.mjs +4 -3
- package/lib/BrandLogo/styles.css +1 -1
- package/lib/Breadcrumbs/Breadcrumbs.cjs +7 -6
- package/lib/Breadcrumbs/Breadcrumbs.mjs +4 -3
- package/lib/Breadcrumbs/styles.css +1 -1
- package/lib/Button/Button.cjs +6 -5
- package/lib/Button/Button.mjs +6 -5
- package/lib/Button/styles.css +1 -1
- package/lib/ButtonGroup/ButtonGroup.cjs +11 -10
- package/lib/ButtonGroup/ButtonGroup.mjs +8 -7
- package/lib/ButtonGroup/styles.css +1 -1
- package/lib/ButtonV2/ButtonV2.cjs +6 -5
- package/lib/ButtonV2/ButtonV2.mjs +6 -5
- package/lib/ButtonV2/styles.css +1 -1
- package/lib/Calendar/Calendar.cjs +12 -10
- package/lib/Calendar/Calendar.mjs +12 -10
- package/lib/Calendar/styles.css +1 -1
- package/lib/CardFooter/CardFooter.cjs +5 -4
- package/lib/CardFooter/CardFooter.mjs +5 -4
- package/lib/CardFooter/styles.css +1 -1
- package/lib/CardHeading/CardHeading.cjs +6 -4
- package/lib/CardHeading/CardHeading.mjs +6 -4
- package/lib/CardHeading/styles.css +1 -1
- package/lib/Carousel/Carousel.cjs +7 -6
- package/lib/Carousel/Carousel.mjs +6 -5
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/Checkbox.cjs +22 -55
- package/lib/Checkbox/Checkbox.mjs +23 -56
- package/lib/Checkbox/styles.css +1 -1
- package/lib/CheckboxIcon/CheckboxIcon.cjs +19 -0
- package/lib/CheckboxIcon/CheckboxIcon.mjs +13 -0
- package/lib/CheckboxIcon/styles.css +1 -0
- package/lib/ClientSideVisible/ClientSideVisible.cjs +8 -0
- package/lib/ClientSideVisible/ClientSideVisible.mjs +2 -0
- package/lib/Columns/Columns.cjs +7 -6
- package/lib/Columns/Columns.mjs +3 -2
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/ComboBox.cjs +30 -29
- package/lib/ComboBox/ComboBox.mjs +14 -13
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.cjs +5 -4
- package/lib/ContentSwitcher/ContentSwitcher.mjs +5 -4
- package/lib/ContentSwitcher/styles.css +1 -1
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +10 -9
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +10 -9
- package/lib/ContentSwitcherDropdown/styles.css +1 -1
- package/lib/DatePicker/DatePicker.cjs +31 -30
- package/lib/DatePicker/DatePicker.mjs +20 -19
- package/lib/DatePicker/styles.css +1 -1
- package/lib/Disclosure/Disclosure.cjs +8 -6
- package/lib/Disclosure/Disclosure.mjs +6 -4
- package/lib/Disclosure/styles.css +1 -1
- package/lib/DisclosureMini/DisclosureMini.cjs +6 -5
- package/lib/DisclosureMini/DisclosureMini.mjs +6 -5
- package/lib/DisclosureMini/styles.css +1 -1
- package/lib/Download/Download.cjs +7 -6
- package/lib/Download/Download.mjs +7 -6
- package/lib/Download/styles.css +1 -1
- package/lib/Drawer/Drawer.cjs +154 -18
- package/lib/Drawer/Drawer.mjs +154 -18
- package/lib/Drawer/styles.css +1 -1
- package/lib/Elevation/Elevation.cjs +9 -5
- package/lib/Elevation/Elevation.mjs +8 -4
- package/lib/Elevation/styles.css +1 -1
- package/lib/Filter/Filter.cjs +7 -6
- package/lib/Filter/Filter.mjs +4 -3
- package/lib/Filter/styles.css +1 -1
- package/lib/FormControl/FormControl.cjs +8 -7
- package/lib/FormControl/FormControl.mjs +8 -7
- package/lib/FormControl/styles.css +1 -1
- package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +12 -10
- package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +10 -8
- package/lib/GhostedHeroBanner/styles.css +1 -1
- package/lib/GradientPageBackground/GradientPageBackground.cjs +96 -209
- package/lib/GradientPageBackground/GradientPageBackground.mjs +97 -210
- package/lib/GradientPageBackground/styles.css +1 -1
- package/lib/Grid/Grid.cjs +3 -2
- package/lib/Grid/Grid.mjs +3 -2
- package/lib/Grid/styles.css +1 -1
- package/lib/Group/Group.cjs +7 -6
- package/lib/Group/Group.mjs +3 -2
- package/lib/Group/styles.css +1 -1
- package/lib/Heading/Heading.cjs +5 -3
- package/lib/Heading/Heading.mjs +5 -3
- package/lib/Heading/styles.css +1 -1
- package/lib/HeroBanner/HeroBanner.cjs +14 -12
- package/lib/HeroBanner/HeroBanner.mjs +14 -12
- package/lib/HeroBanner/styles.css +1 -1
- package/lib/HeroButton/HeroButton.cjs +9 -8
- package/lib/HeroButton/HeroButton.mjs +5 -4
- package/lib/HeroButton/styles.css +1 -1
- package/lib/Hidden/Hidden.cjs +3 -2
- package/lib/Hidden/Hidden.mjs +3 -2
- package/lib/Hidden/styles.css +1 -1
- package/lib/HorizontalCard/HorizontalCard.cjs +14 -12
- package/lib/HorizontalCard/HorizontalCard.mjs +11 -9
- package/lib/HorizontalCard/styles.css +1 -1
- package/lib/Icon/Icon.cjs +4 -3
- package/lib/Icon/Icon.mjs +4 -3
- package/lib/Icon/styles.css +1 -1
- package/lib/Image/Image.cjs +3 -2
- package/lib/Image/Image.mjs +3 -2
- package/lib/Image/styles.css +1 -1
- package/lib/ImpactCard/ImpactCard.cjs +13 -11
- package/lib/ImpactCard/ImpactCard.mjs +10 -8
- package/lib/ImpactCard/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +29 -19
- package/lib/InformationCard/InformationCard.mjs +23 -13
- package/lib/InformationCard/styles.css +1 -1
- package/lib/Link/Link.cjs +6 -5
- package/lib/Link/Link.mjs +6 -5
- package/lib/Link/styles.css +1 -1
- package/lib/Markup/Markup.cjs +5 -4
- package/lib/Markup/Markup.mjs +3 -2
- package/lib/Markup/styles.css +1 -1
- package/lib/MediaCard/MediaCard.cjs +15 -13
- package/lib/MediaCard/MediaCard.mjs +11 -9
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/Menu.cjs +221 -83
- package/lib/Menu/Menu.mjs +206 -68
- package/lib/Menu/styles.css +1 -1
- package/lib/Modal/Modal.cjs +22 -20
- package/lib/Modal/Modal.mjs +18 -16
- package/lib/Modal/styles.css +1 -1
- package/lib/NavigationHeader/NavigationHeader.cjs +123 -105
- package/lib/NavigationHeader/NavigationHeader.mjs +107 -89
- package/lib/NavigationHeader/styles.css +1 -1
- package/lib/Pagination/Pagination.cjs +10 -9
- package/lib/Pagination/Pagination.mjs +6 -5
- package/lib/Pagination/styles.css +1 -1
- package/lib/PaginationSimple/PaginationSimple.cjs +7 -6
- package/lib/PaginationSimple/PaginationSimple.mjs +5 -4
- package/lib/PaginationSimple/styles.css +1 -1
- package/lib/Popover/Popover.cjs +8 -7
- package/lib/Popover/Popover.mjs +8 -7
- package/lib/Popover/styles.css +1 -1
- package/lib/Poster/Poster.cjs +10 -9
- package/lib/Poster/Poster.mjs +4 -3
- package/lib/Poster/styles.css +1 -1
- package/lib/ProgressBar/ProgressBar.cjs +15 -13
- package/lib/ProgressBar/ProgressBar.mjs +10 -8
- package/lib/ProgressBar/styles.css +1 -1
- package/lib/ProgressStepper/ProgressStepper.cjs +6 -6
- package/lib/ProgressStepper/ProgressStepper.mjs +6 -6
- package/lib/ProgressStepper/styles.css +1 -1
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +8 -8
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +6 -6
- package/lib/ProgressStepperOverflow/styles.css +1 -1
- package/lib/RadioCardGroup/RadioCardGroup.cjs +13 -12
- package/lib/RadioCardGroup/RadioCardGroup.mjs +9 -8
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/RadioGroup.cjs +14 -12
- package/lib/RadioGroup/RadioGroup.mjs +12 -10
- package/lib/RadioGroup/styles.css +1 -1
- package/lib/Rule/Rule.cjs +4 -3
- package/lib/Rule/Rule.mjs +4 -3
- package/lib/Rule/styles.css +1 -1
- package/lib/ScrollToTop/ScrollToTop.cjs +11 -18
- package/lib/ScrollToTop/ScrollToTop.mjs +11 -18
- package/lib/ScrollToTop/styles.css +1 -1
- package/lib/Section/Section.cjs +3 -2
- package/lib/Section/Section.mjs +3 -2
- package/lib/Section/styles.css +1 -1
- package/lib/Select/Select.cjs +25 -17
- package/lib/Select/Select.mjs +25 -17
- package/lib/Select/styles.css +1 -1
- package/lib/SemanticHeading/SemanticHeading.cjs +10 -0
- package/lib/SemanticHeading/SemanticHeading.mjs +4 -0
- package/lib/SemanticHeading/styles.css +1 -0
- package/lib/SiteFooter/SiteFooter.cjs +13 -12
- package/lib/SiteFooter/SiteFooter.mjs +7 -6
- package/lib/SiteFooter/styles.css +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.cjs +23 -22
- package/lib/SiteFooterV2/SiteFooterV2.mjs +10 -9
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +30 -29
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +10 -9
- package/lib/SiteHeaderV2/styles.css +1 -1
- package/lib/Skeleton/Skeleton.cjs +4 -3
- package/lib/Skeleton/Skeleton.mjs +2 -1
- package/lib/Skeleton/styles.css +1 -1
- package/lib/SkipLink/SkipLink.cjs +5 -4
- package/lib/SkipLink/SkipLink.mjs +4 -3
- package/lib/SkipLink/styles.css +1 -1
- package/lib/Spinner/Spinner.cjs +3 -2
- package/lib/Spinner/Spinner.mjs +3 -2
- package/lib/Spinner/styles.css +1 -1
- package/lib/Surface/Surface.cjs +3 -2
- package/lib/Surface/Surface.mjs +3 -2
- package/lib/Surface/styles.css +1 -1
- package/lib/Switch/Switch.cjs +14 -13
- package/lib/Switch/Switch.mjs +12 -11
- package/lib/Switch/styles.css +1 -1
- package/lib/TabbedBanner/TabbedBanner.cjs +26 -24
- package/lib/TabbedBanner/TabbedBanner.mjs +22 -20
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/Tabs.cjs +12 -11
- package/lib/Tabs/Tabs.mjs +5 -4
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/Tag.cjs +9 -6
- package/lib/Tag/Tag.mjs +8 -5
- package/lib/Tag/styles.css +1 -1
- package/lib/TemplateBanner/TemplateBanner.cjs +12 -10
- package/lib/TemplateBanner/TemplateBanner.mjs +12 -10
- package/lib/TemplateBanner/styles.css +1 -1
- package/lib/Text/Text.cjs +4 -3
- package/lib/Text/Text.mjs +4 -3
- package/lib/Text/styles.css +1 -1
- package/lib/TextArea/TextArea.cjs +11 -10
- package/lib/TextArea/TextArea.mjs +9 -8
- package/lib/TextArea/styles.css +1 -1
- package/lib/TextInput/TextInput.cjs +10 -9
- package/lib/TextInput/TextInput.mjs +10 -9
- package/lib/TextInput/styles.css +1 -1
- package/lib/Theme/Theme.cjs +5 -4
- package/lib/Theme/Theme.mjs +3 -2
- package/lib/Theme/styles.css +1 -1
- package/lib/ThemeIcon/ThemeIcon.cjs +4 -3
- package/lib/ThemeIcon/ThemeIcon.mjs +4 -3
- package/lib/ThemeIcon/styles.css +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +12 -11
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +8 -7
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/Toast/Toast.cjs +12 -9
- package/lib/Toast/Toast.mjs +9 -6
- package/lib/Toast/styles.css +1 -1
- package/lib/Tooltip/Tooltip.cjs +6 -5
- package/lib/Tooltip/Tooltip.mjs +6 -5
- package/lib/Tooltip/styles.css +1 -1
- package/lib/Truncate/Truncate.cjs +4 -3
- package/lib/Truncate/Truncate.mjs +2 -1
- package/lib/Truncate/styles.css +1 -1
- package/lib/TypographyCard/TypographyCard.cjs +11 -9
- package/lib/TypographyCard/TypographyCard.mjs +9 -7
- package/lib/TypographyCard/styles.css +1 -1
- package/lib/UniversalHeader/UniversalHeader.cjs +7 -6
- package/lib/UniversalHeader/UniversalHeader.mjs +3 -2
- package/lib/UniversalHeader/styles.css +1 -1
- package/lib/VerticalSpace/VerticalSpace.cjs +3 -2
- package/lib/VerticalSpace/VerticalSpace.mjs +3 -2
- package/lib/VerticalSpace/styles.css +1 -1
- package/lib/VideoPlayer/VideoPlayer.cjs +27 -26
- package/lib/VideoPlayer/VideoPlayer.mjs +26 -25
- package/lib/VideoPlayer/styles.css +1 -1
- package/lib/Visible/Visible.cjs +3 -2
- package/lib/Visible/Visible.mjs +3 -2
- package/lib/Visible/styles.css +1 -1
- package/lib/VisuallyHidden/VisuallyHidden.cjs +3 -2
- package/lib/VisuallyHidden/VisuallyHidden.mjs +3 -2
- package/lib/VisuallyHidden/styles.css +1 -1
- package/lib/_shared/cjs/{Avatar-CrUioj_6.cjs → Avatar-CecZTQdk.cjs} +11 -10
- package/lib/_shared/cjs/Badge-DX5PjtiZ.cjs +15 -0
- package/lib/_shared/cjs/BannerImage-qK8-w9rt.cjs +13 -0
- package/lib/_shared/cjs/{Box-COPXU1Jf.cjs → Box-Va2g7Gdp.cjs} +5 -4
- package/lib/_shared/cjs/{BrandLogo-D5wlIFmm.cjs → BrandLogo-coNfTwRv.cjs} +5 -4
- package/lib/_shared/cjs/{Button-uD9mR8w-.cjs → Button-MXE2zSmS.cjs} +9 -8
- package/lib/_shared/cjs/ButtonV2-BJlwsXlN.cjs +58 -0
- package/lib/_shared/cjs/{Calendar-Bfdgf5q1.cjs → Calendar-CFUNKEyb.cjs} +35 -41
- package/lib/_shared/cjs/{CardFooter-ChphRFHe.cjs → CardFooter-BPtRFaCy.cjs} +5 -16
- package/lib/_shared/cjs/{CardHeading-Cl0D1Khp.cjs → CardHeading-1-dcxBUr.cjs} +4 -3
- package/lib/_shared/cjs/CheckboxIcon-B94mtYCX.cjs +52 -0
- package/lib/_shared/cjs/ClientSideVisible-BhW-T6kb.cjs +16 -0
- package/lib/_shared/cjs/{Combination-B-rSVLfT.cjs → Combination-6m6aOXZq.cjs} +9 -9
- package/lib/_shared/cjs/{ContentSwitcherDropdown-U5ZTbJTe.cjs → ContentSwitcherDropdown-BtEnzdMw.cjs} +23 -12
- package/lib/_shared/cjs/{ContentSwitcherList-pcYtuT6L.cjs → ContentSwitcherList-BgAW2IhJ.cjs} +14 -10
- package/lib/_shared/cjs/{DisclosureMini-CtvDxVaG.cjs → DisclosureMini-KEuIc8tE.cjs} +7 -6
- package/lib/_shared/cjs/{Download-CrIytI74.cjs → Download-NY3tbv9Q.cjs} +8 -5
- package/lib/_shared/cjs/{FormControl-BPnKQrCm.cjs → FormControl-DiERJpGW.cjs} +16 -13
- package/lib/_shared/cjs/GridRow-l_SePUqV.cjs +45 -0
- package/lib/_shared/cjs/{Heading-BEMSkLYR.cjs → Heading-CoiZ2EmD.cjs} +7 -8
- package/lib/_shared/cjs/{Hidden-Vsv1-xWO.cjs → Hidden-BN0Q0NpZ.cjs} +4 -3
- package/lib/_shared/cjs/{Icon-CzhyKqMd.cjs → Icon-Dk2XHa7V.cjs} +5 -4
- package/lib/_shared/cjs/{Image-C1pcrfnN.cjs → Image-CSe0KpDN.cjs} +8 -7
- package/lib/_shared/cjs/{Link-C3OSQIIk.cjs → Link-PWpx-rRO.cjs} +10 -9
- package/lib/_shared/cjs/{Popover-C5mmMkYU.cjs → Popover-hpvmhKV8.cjs} +9 -7
- package/lib/_shared/cjs/{ProgressStepper-BL9Y5c4X.cjs → ProgressStepper-DTZQabiV.cjs} +142 -10
- package/lib/_shared/cjs/{Rule-DMQsi2L6.cjs → Rule-jmvOpci7.cjs} +4 -3
- package/lib/_shared/cjs/{Section-Bz2fwj8Z.cjs → Section-BorWFfNe.cjs} +4 -3
- package/lib/_shared/cjs/SemanticHeading-BPXN_z49.cjs +12 -0
- package/lib/_shared/cjs/Spinner-427lpnHI.cjs +17 -0
- package/lib/_shared/cjs/{Surface-BFx1yNsq.cjs → Surface-DIU5ciDT.cjs} +6 -5
- package/lib/_shared/cjs/{TemplateBanner-COymAI91.cjs → TemplateBanner-BlmWfDQD.cjs} +15 -14
- package/lib/_shared/cjs/{Text-Cr5nmYmx.cjs → Text-jwsn80lQ.cjs} +5 -4
- package/lib/_shared/cjs/{TextInput-ByySubi5.cjs → TextInput-B0JrZhOo.cjs} +13 -12
- package/lib/_shared/cjs/{ThemeIcon-BoxbjTaQ.cjs → ThemeIcon-Def4RZfK.cjs} +5 -4
- package/lib/_shared/cjs/{Tooltip-BPHL0ELI.cjs → Tooltip-CEb7YEP2.cjs} +10 -9
- package/lib/_shared/cjs/{VerticalSpace-BJvST6WP.cjs → VerticalSpace-DLQUYsvc.cjs} +5 -3
- package/lib/_shared/cjs/{Visible-vchtZSfm.cjs → Visible-DZWtZ5qG.cjs} +4 -3
- package/lib/_shared/cjs/VisuallyHidden-CQg3cOVK.cjs +15 -0
- package/lib/_shared/cjs/{arc-breakpoints-CS8JVk5T.cjs → arc-breakpoints-BDA1EnFK.cjs} +11 -1
- package/lib/_shared/cjs/filter-attrs-D19P2s1V.cjs +15 -0
- package/lib/_shared/cjs/{index-Dv1xvB_E.cjs → index-BGGFOAAx.cjs} +1 -1
- package/lib/_shared/cjs/{index-CaO6cOF0.cjs → index-BWfgSvRQ.cjs} +3 -3
- package/lib/_shared/cjs/{index-C_Rl7v2g.cjs → index-CDVpHNP8.cjs} +3 -3
- package/lib/_shared/cjs/{index-EFXw1jWg.cjs → index-CklPiHsS.cjs} +1 -1
- package/lib/_shared/cjs/{index-DAr_oO4-.cjs → index-D9onmVh5.cjs} +2 -2
- package/lib/_shared/cjs/{index-Bt7hfZBc.cjs → index-KrMgv4q_.cjs} +1 -1
- package/lib/_shared/cjs/{index.es-fkulh7qu.cjs → index.es-VcVPUNjD.cjs} +1 -1
- package/lib/_shared/cjs/{filter-attrs-eK6E_34o.cjs → tslib.es6-CCZ3TN_7.cjs} +0 -13
- package/lib/_shared/cjs/use-media-query-DqZqShGX.cjs +58 -0
- package/lib/_shared/esm/{Avatar-Fb1E5MA9.mjs → Avatar-Cyqjgj85.mjs} +6 -5
- package/lib/_shared/esm/{Badge-BZ7E0zcQ.mjs → Badge-C_3PBa0p.mjs} +2 -1
- package/lib/_shared/esm/{BannerImage-BTsixvUH.mjs → BannerImage-CgjgaYkJ.mjs} +2 -2
- package/lib/_shared/esm/{Box-BYm_GTct.mjs → Box-C8iK8x5c.mjs} +3 -2
- package/lib/_shared/esm/{BrandLogo-_2Z_8I2Y.mjs → BrandLogo-Dc-d_8ZN.mjs} +3 -2
- package/lib/_shared/esm/{Button-BxuM3_gz.mjs → Button-BpQQut8P.mjs} +5 -4
- package/lib/_shared/esm/{ButtonV2-DwYBAojW.mjs → ButtonV2-C4a_kkhh.mjs} +16 -13
- package/lib/_shared/esm/{Calendar-Drh_NJ9I.mjs → Calendar-CFdUlPXh.mjs} +14 -20
- package/lib/_shared/esm/{CardFooter-fsAY4cc6.mjs → CardFooter-BpVSztgE.mjs} +5 -16
- package/lib/_shared/esm/{CardHeading-_setRRjq.mjs → CardHeading-q6k7obu0.mjs} +4 -3
- package/lib/_shared/esm/CheckboxIcon-Bzto2Tke.mjs +50 -0
- package/lib/_shared/esm/ClientSideVisible-D_iBE-3U.mjs +14 -0
- package/lib/_shared/esm/{Combination-BpO6XTeS.mjs → Combination-BQ4XBtF-.mjs} +1 -1
- package/lib/_shared/esm/{ContentSwitcherDropdown-BCkuAfwC.mjs → ContentSwitcherDropdown-DgrN4Bdb.mjs} +21 -10
- package/lib/_shared/esm/{ContentSwitcherList-DwHfU3no.mjs → ContentSwitcherList-i4m4nAzP.mjs} +8 -4
- package/lib/_shared/esm/{DisclosureMini-B9LzsQC2.mjs → DisclosureMini-ClSe9sSt.mjs} +5 -4
- package/lib/_shared/esm/{Download-DFz_1HCG.mjs → Download-BD8Bigeq.mjs} +8 -5
- package/lib/_shared/esm/{FormControl-CWyrVi1u.mjs → FormControl-Pc1aHUNM.mjs} +13 -10
- package/lib/_shared/esm/{GridRow-Ddt5CtFn.mjs → GridRow-vjacXnq0.mjs} +3 -2
- package/lib/_shared/esm/{Heading-CxHWefi7.mjs → Heading-B9cbwfoz.mjs} +7 -8
- package/lib/_shared/esm/{Hidden-DsrAaC0z.mjs → Hidden-CGRhG3dU.mjs} +2 -1
- package/lib/_shared/esm/{Icon-CcPOJcQm.mjs → Icon-CCUbr_AO.mjs} +3 -2
- package/lib/_shared/esm/{Image-Dl8oH1Rn.mjs → Image-LemsonUX.mjs} +4 -3
- package/lib/_shared/esm/{Link-DxjGH_7f.mjs → Link-ogbR4K3O.mjs} +5 -4
- package/lib/_shared/esm/{Popover-8FfvgL4c.mjs → Popover-D0ePWPz_.mjs} +8 -6
- package/lib/_shared/esm/{ProgressStepper-CLBtBNy2.mjs → ProgressStepper-CujHLQsm.mjs} +137 -5
- package/lib/_shared/esm/{Rule-3gdMHH-R.mjs → Rule-I1w3EaZi.mjs} +3 -2
- package/lib/_shared/esm/{Section-7InCvzfh.mjs → Section-COc1l3mp.mjs} +2 -1
- package/lib/_shared/esm/SemanticHeading-1tLcSJYD.mjs +10 -0
- package/lib/_shared/esm/{Spinner-Cd7LiPTy.mjs → Spinner-DvngCIwx.mjs} +2 -1
- package/lib/_shared/esm/{Surface-Colbp3Zx.mjs → Surface-C69KVzkY.mjs} +2 -1
- package/lib/_shared/esm/{TemplateBanner-Dkgzu3A5.mjs → TemplateBanner-DEYOSosH.mjs} +12 -11
- package/lib/_shared/esm/{Text-CBlnm5CT.mjs → Text-BAzOkkzN.mjs} +3 -2
- package/lib/_shared/esm/{TextInput-Dk7qNGoh.mjs → TextInput-CjDG2cIX.mjs} +8 -7
- package/lib/_shared/esm/{ThemeIcon-CN_Ed5b1.mjs → ThemeIcon-B0SruPZC.mjs} +3 -2
- package/lib/_shared/esm/{Tooltip-Dc82Ht7G.mjs → Tooltip-BpSzN3Tx.mjs} +7 -6
- package/lib/_shared/esm/{VerticalSpace-Duhm0zXP.mjs → VerticalSpace-BLWB02I7.mjs} +4 -2
- package/lib/_shared/esm/{Visible-B13QJn7R.mjs → Visible-B0d79VWZ.mjs} +2 -1
- package/lib/_shared/esm/{VisuallyHidden-DqAgoqJo.mjs → VisuallyHidden-aSQ4RA1o.mjs} +2 -1
- package/lib/_shared/esm/{arc-breakpoints-D7Ie4kBt.mjs → arc-breakpoints-Bs-at7wk.mjs} +7 -2
- package/lib/_shared/esm/filter-attrs-v_SweZXP.mjs +13 -0
- package/lib/_shared/esm/{index-DLovItWo.mjs → index-BFKdmv_g.mjs} +1 -1
- package/lib/_shared/esm/{index-J5IHetgg.mjs → index-CN4hP3Wu.mjs} +2 -2
- package/lib/_shared/esm/{index-CxrL7jIX.mjs → index-Do2wfP-X.mjs} +3 -3
- package/lib/_shared/esm/{index-DXTwueLZ.mjs → index-GCEHSsY8.mjs} +1 -1
- package/lib/_shared/esm/{index-BbAu4d3T.mjs → index-u47CK8Y0.mjs} +1 -1
- package/lib/_shared/esm/{index-CYUcQl4W.mjs → index-vnVJe9rH.mjs} +3 -3
- package/lib/_shared/esm/{index.es-CtRkzfKP.mjs → index.es-tyrXzvpp.mjs} +1 -1
- package/lib/_shared/esm/{filter-attrs-B6CM-NUr.mjs → tslib.es6-w7hdJ3oZ.mjs} +1 -13
- package/lib/_shared/esm/use-media-query-BmsMeo2M.mjs +56 -0
- package/lib/index.cjs +1018 -790
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +324 -142
- package/lib/index.d.mts +324 -142
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1018 -792
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +6 -14
- package/lib/use-media-query/use-media-query.cjs +1 -1
- package/lib/use-media-query/use-media-query.mjs +1 -1
- package/package.json +9 -8
- package/lib/_shared/cjs/Badge-CQVEPH9v.cjs +0 -14
- package/lib/_shared/cjs/BannerImage-kdAKagG-.cjs +0 -13
- package/lib/_shared/cjs/ButtonV2-Bta5SVVY.cjs +0 -55
- package/lib/_shared/cjs/GridRow-BW2ZGtND.cjs +0 -44
- package/lib/_shared/cjs/Spinner-bbrOwxv2.cjs +0 -16
- package/lib/_shared/cjs/VisuallyHidden-B4XCvPYP.cjs +0 -14
- package/lib/_shared/cjs/index-CqYNiqix.cjs +0 -137
- package/lib/_shared/cjs/use-media-query-BsUfHjPZ.cjs +0 -41
- package/lib/_shared/esm/index-CL6dwOYV.mjs +0 -135
- package/lib/_shared/esm/use-media-query-DmKuIDEM.mjs +0 -39
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-CCZ3TN_7.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('./index-CTlXMLug.cjs');
|
|
6
|
+
var filterAttrs = require('./filter-attrs-D19P2s1V.cjs');
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Use `VerticalSpace` to create vertical space between components.
|
|
9
10
|
*/
|
|
10
11
|
var VerticalSpace = function (_a) {
|
|
11
12
|
var _b;
|
|
12
|
-
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 =
|
|
13
|
-
return (React.createElement("div",
|
|
13
|
+
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 = tslib_es6.__rest(_a, ["isDebugVisible", "size", "sizeS", "sizeM", "sizeL", "sizeXL", "sizeXXL"]);
|
|
14
|
+
return (React.createElement("div", tslib_es6.__assign({ className: index.classNames((_b = {
|
|
14
15
|
"arc-VerticalSpace": true
|
|
15
16
|
},
|
|
16
17
|
_b["arc-VerticalSpace--size".concat(size)] = size,
|
|
@@ -18,6 +19,7 @@ var VerticalSpace = function (_a) {
|
|
|
18
19
|
_b["arc-VerticalSpace--sizeM".concat(sizeM)] = sizeM,
|
|
19
20
|
_b["arc-VerticalSpace--sizeL".concat(sizeL)] = sizeL,
|
|
20
21
|
_b["arc-VerticalSpace--sizeXL".concat(sizeXL)] = sizeXL,
|
|
22
|
+
_b["arc-VerticalSpace--sizeXXL".concat(sizeXXL)] = sizeXXL,
|
|
21
23
|
_b["arc-VerticalSpace--debugVisible"] = isDebugVisible,
|
|
22
24
|
_b)) }, filterAttrs.filterAttrs(props))));
|
|
23
25
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-CCZ3TN_7.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('./index-CTlXMLug.cjs');
|
|
6
|
+
var filterAttrs = require('./filter-attrs-D19P2s1V.cjs');
|
|
6
7
|
|
|
7
8
|
var Visible = function (_a) {
|
|
8
|
-
var children = _a.children, xs = _a.xs, s = _a.s, m = _a.m, l = _a.l, xl = _a.xl, xxl = _a.xxl, props =
|
|
9
|
-
return (React.createElement("div",
|
|
9
|
+
var children = _a.children, xs = _a.xs, s = _a.s, m = _a.m, l = _a.l, xl = _a.xl, xxl = _a.xxl, props = tslib_es6.__rest(_a, ["children", "xs", "s", "m", "l", "xl", "xxl"]);
|
|
10
|
+
return (React.createElement("div", tslib_es6.__assign({ className: index.classNames("arc-Visible", {
|
|
10
11
|
"arc-Visible--xs": xs,
|
|
11
12
|
"arc-Visible--s": s,
|
|
12
13
|
"arc-Visible--m": m,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-CCZ3TN_7.cjs');
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var filterAttrs = require('./filter-attrs-D19P2s1V.cjs');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Use `VisuallyHidden` to provide text for screen readers that is visually hidden on screen.
|
|
9
|
+
*/
|
|
10
|
+
var VisuallyHidden = function (_a) {
|
|
11
|
+
var children = _a.children, props = tslib_es6.__rest(_a, ["children"]);
|
|
12
|
+
return (React.createElement("span", tslib_es6.__assign({ "data-testid": "visually-hidden", className: "arc-VisuallyHidden" }, filterAttrs.filterAttrs(props)), children));
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.VisuallyHidden = VisuallyHidden;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index_es = require('./index.es-
|
|
3
|
+
var index_es = require('./index.es-VcVPUNjD.cjs');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Provides an object of breakpoints for responsive designs.
|
|
@@ -19,5 +19,15 @@ var ArcBreakpoints = {
|
|
|
19
19
|
s: parseInt(index_es.ArcSizeBreakpointsS, 10),
|
|
20
20
|
xs: parseInt(index_es.ArcSizeBreakpointsXs, 10),
|
|
21
21
|
};
|
|
22
|
+
var ARC_MIN_S_BREAKPOINT = "(min-width: ".concat(index_es.ArcSizeBreakpointsS, ")");
|
|
23
|
+
var ARC_MIN_M_BREAKPOINT = "(min-width: ".concat(index_es.ArcSizeBreakpointsM, ")");
|
|
24
|
+
var ARC_MIN_L_BREAKPOINT = "(min-width: ".concat(index_es.ArcSizeBreakpointsL, ")");
|
|
25
|
+
var ARC_MIN_XL_BREAKPOINT = "(min-width: ".concat(index_es.ArcSizeBreakpointsXl, ")");
|
|
26
|
+
var ARC_MIN_XXL_BREAKPOINT = "(min-width: ".concat(index_es.ArcSizeBreakpointsXxl, ")");
|
|
22
27
|
|
|
28
|
+
exports.ARC_MIN_L_BREAKPOINT = ARC_MIN_L_BREAKPOINT;
|
|
29
|
+
exports.ARC_MIN_M_BREAKPOINT = ARC_MIN_M_BREAKPOINT;
|
|
30
|
+
exports.ARC_MIN_S_BREAKPOINT = ARC_MIN_S_BREAKPOINT;
|
|
31
|
+
exports.ARC_MIN_XL_BREAKPOINT = ARC_MIN_XL_BREAKPOINT;
|
|
32
|
+
exports.ARC_MIN_XXL_BREAKPOINT = ARC_MIN_XXL_BREAKPOINT;
|
|
23
33
|
exports.ArcBreakpoints = ArcBreakpoints;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/filter-attrs/filter-attrs.ts
|
|
4
|
+
var attributePrefixes = ["data-", "aria-"];
|
|
5
|
+
var filterAttrs = (props) => {
|
|
6
|
+
const filteredProps = {};
|
|
7
|
+
for (const prop in props) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(props, prop) && attributePrefixes.some((prefix) => prop.startsWith(prefix))) {
|
|
9
|
+
filteredProps[prop] = props[prop];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
return filteredProps;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.filterAttrs = filterAttrs;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var Combination = require('./Combination-
|
|
5
|
+
var Combination = require('./Combination-6m6aOXZq.cjs');
|
|
6
6
|
var index = require('./index-DXNM3D1d.cjs');
|
|
7
|
-
var index$1 = require('./index-
|
|
8
|
-
var index$2 = require('./index-
|
|
7
|
+
var index$1 = require('./index-KrMgv4q_.cjs');
|
|
8
|
+
var index$2 = require('./index-BGGFOAAx.cjs');
|
|
9
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
10
10
|
|
|
11
11
|
function _interopNamespaceDefault(e) {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var ReactDOM = require('react-dom');
|
|
6
|
-
var Combination = require('./Combination-
|
|
7
|
-
var index = require('./index-
|
|
6
|
+
var Combination = require('./Combination-6m6aOXZq.cjs');
|
|
7
|
+
var index = require('./index-CklPiHsS.cjs');
|
|
8
8
|
var index$1 = require('./index-DXNM3D1d.cjs');
|
|
9
|
-
var index$2 = require('./index-
|
|
9
|
+
var index$2 = require('./index-KrMgv4q_.cjs');
|
|
10
10
|
var jsxRuntime = require('react/jsx-runtime');
|
|
11
11
|
|
|
12
12
|
function _interopNamespaceDefault(e) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('./index-DXNM3D1d.cjs');
|
|
6
|
-
var Combination = require('./Combination-
|
|
6
|
+
var Combination = require('./Combination-6m6aOXZq.cjs');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
8
|
|
|
9
9
|
function _interopNamespaceDefault(e) {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var Combination = require('./Combination-
|
|
5
|
+
var Combination = require('./Combination-6m6aOXZq.cjs');
|
|
6
6
|
var index = require('./index-DXNM3D1d.cjs');
|
|
7
|
-
var index$1 = require('./index-
|
|
7
|
+
var index$1 = require('./index-BGGFOAAx.cjs');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
|
|
10
10
|
function _interopNamespaceDefault(e) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index$1 = require('./index-B11wQrRa.cjs');
|
|
6
|
-
var Combination = require('./Combination-
|
|
6
|
+
var Combination = require('./Combination-6m6aOXZq.cjs');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
8
|
var index = require('./index-DXNM3D1d.cjs');
|
|
9
9
|
|
|
@@ -55,18 +55,5 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
55
55
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
-
// src/filter-attrs/filter-attrs.ts
|
|
59
|
-
var attributePrefixes = ["data-", "aria-"];
|
|
60
|
-
var filterAttrs = (props) => {
|
|
61
|
-
const filteredProps = {};
|
|
62
|
-
for (const prop in props) {
|
|
63
|
-
if (Object.prototype.hasOwnProperty.call(props, prop) && attributePrefixes.some((prefix) => prop.startsWith(prefix))) {
|
|
64
|
-
filteredProps[prop] = props[prop];
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
return filteredProps;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
58
|
exports.__rest = __rest;
|
|
71
59
|
exports.__spreadArray = __spreadArray;
|
|
72
|
-
exports.filterAttrs = filterAttrs;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
|
|
5
|
+
var IS_SERVER = typeof window === "undefined";
|
|
6
|
+
/**
|
|
7
|
+
* @typedef MediaQueryOutputs
|
|
8
|
+
* @param {boolean} matches - does the document match the media query?
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Handle with care!
|
|
12
|
+
*
|
|
13
|
+
* If you need to change something in the browser based on @media query, you
|
|
14
|
+
* probably don’t need this hook. Use CSS media queries instead.
|
|
15
|
+
*
|
|
16
|
+
* Sometimes UI requirements are not achievable with CSS media queries alone. In
|
|
17
|
+
* these rare cases, use this hook to make media query matches available
|
|
18
|
+
* to React JavaScript code.
|
|
19
|
+
*
|
|
20
|
+
* @param {string} mediaQuery - the media query to parse
|
|
21
|
+
* @returns {MediaQueryOutputs}
|
|
22
|
+
*/
|
|
23
|
+
var useMediaQuery = function (mediaQuery) {
|
|
24
|
+
var getMatches = function (query) {
|
|
25
|
+
if (IS_SERVER) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
return window.matchMedia(query).matches;
|
|
29
|
+
};
|
|
30
|
+
var _a = React.useState(false), matches = _a[0], setMatches = _a[1];
|
|
31
|
+
// Handles the change event of the media query.
|
|
32
|
+
var handleChange = function () {
|
|
33
|
+
setMatches(getMatches(mediaQuery));
|
|
34
|
+
};
|
|
35
|
+
React.useEffect(function () {
|
|
36
|
+
var matchMedia = window.matchMedia(mediaQuery);
|
|
37
|
+
// Triggered at the first client-side load and if query changes
|
|
38
|
+
handleChange();
|
|
39
|
+
// Use deprecated `addListener` and `removeListener` to support Safari < 14 (#135)
|
|
40
|
+
if (matchMedia.addListener) {
|
|
41
|
+
matchMedia.addListener(handleChange);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
matchMedia.addEventListener("change", handleChange);
|
|
45
|
+
}
|
|
46
|
+
return function () {
|
|
47
|
+
if (matchMedia.removeListener) {
|
|
48
|
+
matchMedia.removeListener(handleChange);
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
matchMedia.removeEventListener("change", handleChange);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}, [mediaQuery]);
|
|
55
|
+
return matches;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
exports.useMediaQuery = useMediaQuery;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest
|
|
1
|
+
import { a as __assign, _ as __rest } 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
|
import { C as ConditionalWrapper } from './ConditionalWrapper-WoJxFYwS.mjs';
|
|
5
|
-
import { V as VisuallyHidden } from './VisuallyHidden-
|
|
6
|
-
import { T as ThemeIcon } from './ThemeIcon-
|
|
7
|
-
import { I as Image } from './Image-
|
|
8
|
-
import { H as Heading } from './Heading-
|
|
6
|
+
import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
|
|
7
|
+
import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
|
|
8
|
+
import { I as Image } from './Image-LemsonUX.mjs';
|
|
9
|
+
import { H as Heading } from './Heading-B9cbwfoz.mjs';
|
|
9
10
|
|
|
10
11
|
var AvatarContent = function (_a) {
|
|
11
12
|
var img = _a.img, initials = _a.initials, _b = _a.size, size = _b === void 0 ? "xl" : _b;
|
|
@@ -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 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
|
/** Use `Badge` as a static, non-interactive way to provide short updates. */
|
|
7
8
|
var Badge = function (_a) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { I as Image } from './Image-
|
|
3
|
+
import { I as Image } from './Image-LemsonUX.mjs';
|
|
4
4
|
|
|
5
5
|
var BannerImage = function (_a) {
|
|
6
6
|
var sources = _a.sources, ariaHidden = _a.ariaHidden, props = __rest(_a, ["sources", "ariaHidden"]);
|
|
@@ -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 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 { S as Surface } from './Surface-C69KVzkY.mjs';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Use `Box` as a simple way to group bespoke content and interactive elements together.
|
|
@@ -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 `BrandLogo` to display the brand logo.
|
|
@@ -1,10 +1,11 @@
|
|
|
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 } 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 {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
6
|
+
import { I as Icon } from './Icon-CCUbr_AO.mjs';
|
|
7
|
+
import { C as Context } from './Surface-C69KVzkY.mjs';
|
|
8
|
+
import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Use `Button` to let a user complete an action like ‘Log in’ or ‘Register’.
|
|
@@ -1,12 +1,13 @@
|
|
|
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 } 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 { I as Icon } from './Icon-CCUbr_AO.mjs';
|
|
6
|
+
import { C as Context } from './Surface-C69KVzkY.mjs';
|
|
7
|
+
import { S as Spinner } from './Spinner-DvngCIwx.mjs';
|
|
7
8
|
|
|
8
9
|
var ButtonV2 = forwardRef(function (_a, ref) {
|
|
9
|
-
var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, _c = _a.iconPosition, iconPosition = _c === void 0 ? "beforeText" : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, ariaLabel = _a.ariaLabel, ariaControls = _a.ariaControls, ariaExpanded = _a.ariaExpanded, ariaHasPopup = _a.ariaHasPopup, _e = _a.isFullWidth, isFullWidth = _e === void 0 ? false : _e, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f, isSpan = _a.isSpan, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, props = __rest(_a, ["label", "buttonStyle", "icon", "iconPosition", "size", "ariaLabel", "ariaControls", "ariaExpanded", "ariaHasPopup", "isFullWidth", "isLoading", "isSpan", "onClick", "href", "id", "rel", "target", "type", "form"]);
|
|
10
|
+
var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, iconActive = _a.iconActive, _c = _a.iconPosition, iconPosition = _c === void 0 ? "beforeText" : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, ariaLabel = _a.ariaLabel, ariaControls = _a.ariaControls, ariaExpanded = _a.ariaExpanded, ariaHasPopup = _a.ariaHasPopup, _e = _a.isFullWidth, isFullWidth = _e === void 0 ? false : _e, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f, isSpan = _a.isSpan, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, props = __rest(_a, ["label", "buttonStyle", "icon", "iconActive", "iconPosition", "size", "ariaLabel", "ariaControls", "ariaExpanded", "ariaHasPopup", "isFullWidth", "isLoading", "isSpan", "onClick", "href", "id", "rel", "target", "type", "form"]);
|
|
10
11
|
var surface = useContext(Context).surface;
|
|
11
12
|
var ButtonElement = isSpan ? "span" : "button";
|
|
12
13
|
var iconSizes = {
|
|
@@ -33,21 +34,23 @@ var ButtonV2 = forwardRef(function (_a, ref) {
|
|
|
33
34
|
return "auto";
|
|
34
35
|
}
|
|
35
36
|
};
|
|
36
|
-
var
|
|
37
|
+
var renderButtonContent = function () { return (React__default.createElement("span", { className: classNames("arc-ButtonV2-inner", {
|
|
37
38
|
"arc-ButtonV2-inner--iconBeforeText": iconPosition === "beforeText",
|
|
38
39
|
}) },
|
|
39
40
|
label && React__default.createElement("span", { className: "arc-ButtonV2-label" }, label),
|
|
40
41
|
isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
|
|
41
42
|
React__default.createElement(Spinner, { size: size }))),
|
|
42
|
-
icon && !isLoading && (React__default.createElement(
|
|
43
|
-
React__default.createElement(
|
|
43
|
+
icon && !isLoading && (React__default.createElement(React__default.Fragment, null,
|
|
44
|
+
React__default.createElement("span", { className: classNames("arc-ButtonV2-icon", {
|
|
45
|
+
"arc-ButtonV2-icon--hasActive": iconActive,
|
|
46
|
+
}) },
|
|
47
|
+
React__default.createElement(Icon, { color: getIconColor(buttonStyle), size: iconSizes[size], icon: icon })),
|
|
48
|
+
iconActive && (React__default.createElement("span", { className: "arc-ButtonV2-icon--active" },
|
|
49
|
+
React__default.createElement(Icon, { color: getIconColor(buttonStyle), size: iconSizes[size], icon: iconActive }))))))); };
|
|
44
50
|
if (href && !isLoading) {
|
|
45
|
-
return (React__default.createElement("a", __assign({}, commonProps, { className: ButtonV2Classes, href: href, rel: rel, "aria-haspopup": ariaHasPopup, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, target: target }),
|
|
51
|
+
return (React__default.createElement("a", __assign({}, commonProps, { className: ButtonV2Classes, href: href, rel: rel, "aria-haspopup": ariaHasPopup, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, target: target }), renderButtonContent()));
|
|
46
52
|
}
|
|
47
|
-
return (React__default.createElement(ButtonElement, __assign({}, commonProps, { className: ButtonV2Classes, "aria-label": ariaLabel, "aria-haspopup": ariaHasPopup, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, disabled: isLoading, type: type, form: form }),
|
|
48
|
-
React__default.createElement("span", { className: classNames("arc-ButtonV2-inner", {
|
|
49
|
-
"arc-ButtonV2-inner--iconBeforeText": iconPosition === "beforeText",
|
|
50
|
-
}) }, buttonContent)));
|
|
53
|
+
return (React__default.createElement(ButtonElement, __assign({}, commonProps, { className: ButtonV2Classes, "aria-label": ariaLabel, "aria-haspopup": ariaHasPopup, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, disabled: isLoading, type: type, form: form }), renderButtonContent()));
|
|
51
54
|
});
|
|
52
55
|
|
|
53
56
|
export { ButtonV2 as B };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { b as __spreadArray, a as __assign, _ as __rest
|
|
1
|
+
import { b as __spreadArray, a as __assign, _ as __rest } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default, { createContext, forwardRef, useContext, useCallback, useRef, useState, useReducer, useEffect } from 'react';
|
|
3
3
|
import { r as requiredArgs, t as toDate, b as toInteger, _ as _typeof, g as getDefaultOptions, f as format } from './index-Cr6KeQLU.mjs';
|
|
4
|
-
import { c as ArcSizeBreakpointsM } from './index.es-
|
|
5
|
-
import {
|
|
4
|
+
import { c as ArcSizeBreakpointsM } from './index.es-tyrXzvpp.mjs';
|
|
5
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
6
|
+
import { u as useMediaQuery } from './use-media-query-BmsMeo2M.mjs';
|
|
6
7
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
7
|
-
import { T as Text } from './Text-
|
|
8
|
-
import { V as VisuallyHidden } from './VisuallyHidden-
|
|
8
|
+
import { T as Text } from './Text-BAzOkkzN.mjs';
|
|
9
|
+
import { V as VisuallyHidden } from './VisuallyHidden-aSQ4RA1o.mjs';
|
|
9
10
|
import './index-Spae4j7j.mjs';
|
|
10
|
-
import { S as Surface } from './Surface-
|
|
11
|
-
import { H as Heading } from './Heading-
|
|
12
|
-
import {
|
|
13
|
-
import { I as Icon } from './Icon-
|
|
11
|
+
import { S as Surface } from './Surface-C69KVzkY.mjs';
|
|
12
|
+
import { H as Heading } from './Heading-B9cbwfoz.mjs';
|
|
13
|
+
import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
|
|
14
|
+
import { I as Icon } from './Icon-CCUbr_AO.mjs';
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* @name addMonths
|
|
@@ -1326,25 +1327,18 @@ var CalendarDayGrid = function (_a) {
|
|
|
1326
1327
|
React__default.createElement("tbody", { onKeyDown: handleKeyDown }, getWeeksInMonth(month).map(function (week, i) { return (React__default.createElement("tr", { key: "".concat(month.getTime(), "-week-").concat(i) }, week.map(function (day) { return (React__default.createElement(CalendarDayNumber, { ref: autoFocusRef, shouldRender: isSameMonth(month, day), key: day.getTime(), date: day, isFocusWithinDayGrid: isFocusWithinDayGrid })); }))); }))))); })));
|
|
1327
1328
|
};
|
|
1328
1329
|
|
|
1329
|
-
/**
|
|
1330
|
-
* Do not edit directly
|
|
1331
|
-
* Generated file
|
|
1332
|
-
*/
|
|
1333
|
-
|
|
1334
|
-
const BtIconChevronLeftMid =
|
|
1335
|
-
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='currentColor' fill-rule='evenodd' d='m7.621 8 2.849 2.852a.673.673 0 0 1-.732 1.097.7.7 0 0 1-.218-.145L6.196 8.476a.673.673 0 0 1 0-.951L9.52 4.197a.67.67 0 0 1 1.146.476c0 .178-.07.349-.196.475z' clip-rule='evenodd'/%3e%3c/svg%3e";
|
|
1336
|
-
|
|
1337
1330
|
var CalendarNavButton = function (_a) {
|
|
1338
1331
|
var isDisabled = _a.isDisabled, onClick = _a.onClick, direction = _a.direction, ariaLabel = _a.ariaLabel;
|
|
1339
1332
|
var icons = {
|
|
1340
|
-
previous:
|
|
1341
|
-
next:
|
|
1333
|
+
previous: "calendarLeft",
|
|
1334
|
+
next: "calendarRight",
|
|
1342
1335
|
};
|
|
1343
1336
|
return (React__default.createElement("button", { "aria-label": ariaLabel, disabled: isDisabled, onClick: onClick, type: "button", className: classNames("arc-CalendarNavButton", {
|
|
1344
1337
|
"arc-CalendarNavButton--previous": direction === "previous",
|
|
1345
1338
|
"arc-CalendarNavButton--next": direction === "next",
|
|
1346
1339
|
}) },
|
|
1347
|
-
React__default.createElement(
|
|
1340
|
+
React__default.createElement("div", { className: "arc-CalendarNavButton-icon" },
|
|
1341
|
+
React__default.createElement(ThemeIcon, { icon: icons[direction] }))));
|
|
1348
1342
|
};
|
|
1349
1343
|
|
|
1350
1344
|
var CalendarDoubleMonthView = function (_a) {
|
|
@@ -1,24 +1,13 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
3
|
-
import {
|
|
3
|
+
import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
|
|
4
4
|
import { i as isDate, f as format } from './index-Cr6KeQLU.mjs';
|
|
5
5
|
|
|
6
|
-
var ArrowRight = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M18.146 11.646a.5.5 0 0 0 0 .707l3.147 3.147H9.5a.5.5 0 0 0 0 1h11.793l-3.146 3.146a.5.5 0 1 0 .707.707L23.207 16l-4.354-4.354a.5.5 0 0 0-.707 0'/%3e%3c/svg%3e";
|
|
7
|
-
var ArrowRightFill = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M2 16A14 14 0 1 0 16 2 14 14 0 0 0 2 16m16.854-4.354L23.207 16l-4.354 4.354a.5.5 0 0 1-.707-.707l3.147-3.147H9.5a.5.5 0 0 1 0-1h11.793l-3.146-3.146a.5.5 0 0 1 .707-.707'/%3e%3c/svg%3e";
|
|
8
|
-
var Play = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='m20.839 15.04-7.178-4.144a1.107 1.107 0 0 0-1.661.958v8.288a1.105 1.105 0 0 0 1.661.96l7.178-4.145a1.107 1.107 0 0 0 0-1.917m-.5 1.051-7.178 4.145a.1.1 0 0 1-.107 0 .1.1 0 0 1-.054-.094v-8.288a.1.1 0 0 1 .054-.092.1.1 0 0 1 .107 0l7.178 4.143a.1.1 0 0 1 .054.094.1.1 0 0 1-.054.092'/%3e%3c/svg%3e";
|
|
9
|
-
var PlayFill = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m4.839 14.957-7.178 4.145a1.108 1.108 0 0 1-1.661-.96v-8.288a1.107 1.107 0 0 1 1.661-.958l7.178 4.144a1.107 1.107 0 0 1 0 1.917'/%3e%3c/svg%3e";
|
|
10
|
-
|
|
11
6
|
var CardFooter = function (_a) {
|
|
12
7
|
var metaText = _a.metaText, _b = _a.buttonIcon, buttonIcon = _b === void 0 ? "arrow" : _b, _c = _a.buttonSize, buttonSize = _c === void 0 ? "m" : _c, _d = _a.isDarkPathway, isDarkPathway = _d === void 0 ? false : _d, _e = _a.showButton, showButton = _e === void 0 ? true : _e, _f = _a.isHovered, isHovered = _f === void 0 ? false : _f;
|
|
13
8
|
var icons = {
|
|
14
|
-
arrow:
|
|
15
|
-
|
|
16
|
-
filled: ArrowRightFill,
|
|
17
|
-
},
|
|
18
|
-
play: {
|
|
19
|
-
regular: Play,
|
|
20
|
-
filled: PlayFill,
|
|
21
|
-
},
|
|
9
|
+
arrow: "cardRight",
|
|
10
|
+
play: "cardPlay",
|
|
22
11
|
};
|
|
23
12
|
return (React__default.createElement("div", { className: classNames("arc-CardFooter", {
|
|
24
13
|
"arc-CardFooter--darkPathway": isDarkPathway,
|
|
@@ -32,9 +21,9 @@ var CardFooter = function (_a) {
|
|
|
32
21
|
React__default.createElement("div", { className: classNames("arc-CardFooter-buttonIconRight", {
|
|
33
22
|
"arc-CardFooter-buttonIconRight--isHovered": isHovered,
|
|
34
23
|
}) },
|
|
35
|
-
React__default.createElement(
|
|
24
|
+
React__default.createElement(ThemeIcon, { icon: icons[buttonIcon] })),
|
|
36
25
|
React__default.createElement("div", { className: "arc-CardFooter-buttonIconLeft" },
|
|
37
|
-
React__default.createElement(
|
|
26
|
+
React__default.createElement(ThemeIcon, { icon: icons[buttonIcon] }))))))));
|
|
38
27
|
};
|
|
39
28
|
|
|
40
29
|
export { CardFooter as C };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as __assign
|
|
1
|
+
import { a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { f as filterAttrs } from './filter-attrs-v_SweZXP.mjs';
|
|
4
|
+
import { H as Heading } from './Heading-B9cbwfoz.mjs';
|
|
4
5
|
|
|
5
6
|
var CardHeading = function (_a) {
|
|
6
7
|
var onClick = _a.onClick, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onBlur = _a.onBlur, onFocus = _a.onFocus, href = _a.href, heading = _a.heading, _b = _a.size, size = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.headingLevel, headingLevel = _d === void 0 ? "2" : _d;
|
|
7
|
-
return (React__default.createElement(Heading, { level: headingLevel, size: size }, href ? (React__default.createElement("a", __assign({ className: "arc-CardHeading-link", href: href, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onFocus: onFocus, onBlur: onBlur }, filterAttrs(linkData)), heading)) : (heading)));
|
|
8
|
+
return (React__default.createElement(Heading, { level: headingLevel, size: size, isWordWrap: false }, href ? (React__default.createElement("a", __assign({ className: "arc-CardHeading-link", href: href, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onFocus: onFocus, onBlur: onBlur }, filterAttrs(linkData)), heading)) : (heading)));
|
|
8
9
|
};
|
|
9
10
|
|
|
10
11
|
export { CardHeading as C };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
2
|
+
import React__default, { useContext, useRef, useEffect } from 'react';
|
|
3
|
+
import { c as classNames } from './index-5C0-U8cc.mjs';
|
|
4
|
+
import { T as ThemeIcon } from './ThemeIcon-B0SruPZC.mjs';
|
|
5
|
+
import { C as Context$1 } from './Surface-C69KVzkY.mjs';
|
|
6
|
+
import { C as Context } from './FormControl-Pc1aHUNM.mjs';
|
|
7
|
+
|
|
8
|
+
var CheckboxIcon = function (_a) {
|
|
9
|
+
var id = _a.id, name = _a.name, checked = _a.checked, _b = _a.indeterminate, indeterminate = _b === void 0 ? false : _b, isDisabled = _a.isDisabled, isRequired = _a.isRequired, _c = _a.size, size = _c === void 0 ? "m" : _c, value = _a.value, error = _a.error, ariaDescribedBy = _a.ariaDescribedBy, onBlur = _a.onBlur, onChange = _a.onChange, props = __rest(_a, ["id", "name", "checked", "indeterminate", "isDisabled", "isRequired", "size", "value", "error", "ariaDescribedBy", "onBlur", "onChange"]);
|
|
10
|
+
var requirementStatus = useContext(Context).requirementStatus;
|
|
11
|
+
var internalRef = useRef(null);
|
|
12
|
+
var surface = useContext(Context$1).surface;
|
|
13
|
+
useEffect(function () {
|
|
14
|
+
if (internalRef.current) {
|
|
15
|
+
internalRef.current.indeterminate = indeterminate;
|
|
16
|
+
}
|
|
17
|
+
}, [indeterminate, checked]);
|
|
18
|
+
var tickSize = {
|
|
19
|
+
s: 14,
|
|
20
|
+
m: 18,
|
|
21
|
+
};
|
|
22
|
+
var isControlled = typeof checked !== "undefined" && typeof onChange === "function";
|
|
23
|
+
var checkedProps = isControlled
|
|
24
|
+
? { checked: checked }
|
|
25
|
+
: checked
|
|
26
|
+
? { defaultChecked: true }
|
|
27
|
+
: {};
|
|
28
|
+
if (!checked && onChange) {
|
|
29
|
+
indeterminate = false;
|
|
30
|
+
}
|
|
31
|
+
if (requirementStatus === "required") {
|
|
32
|
+
isRequired = true;
|
|
33
|
+
}
|
|
34
|
+
return (React__default.createElement("label", { htmlFor: id, className: classNames({
|
|
35
|
+
"arc-CheckboxIcon": true,
|
|
36
|
+
"arc-CheckboxIcon--disabled": isDisabled,
|
|
37
|
+
"arc-CheckboxIcon--invalid": error,
|
|
38
|
+
"arc-CheckboxIcon--small": size === "s",
|
|
39
|
+
"arc-CheckboxIcon--onDarkSurface": surface === "dark",
|
|
40
|
+
}) },
|
|
41
|
+
React__default.createElement("input", __assign({ "aria-describedby": ariaDescribedBy ? ariaDescribedBy : error ? "id-error" : undefined, "aria-invalid": error, "aria-checked": checked && !indeterminate
|
|
42
|
+
? true
|
|
43
|
+
: indeterminate && checked
|
|
44
|
+
? "mixed"
|
|
45
|
+
: false, className: classNames("arc-CheckboxIcon-input"), disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: internalRef, required: isRequired, type: "checkbox", value: value }, checkedProps, props)),
|
|
46
|
+
React__default.createElement("span", { className: classNames("arc-CheckboxIcon-box") }, indeterminate ? (React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "none" },
|
|
47
|
+
React__default.createElement("rect", { x: "4", y: "8", width: "7.51", height: "1", rx: "0.5", fill: "currentColor" }))) : (React__default.createElement(ThemeIcon, { icon: "checkboxChecked", size: tickSize[size] })))));
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export { CheckboxIcon as C };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React__default, { useState, useEffect } from 'react';
|
|
2
|
+
|
|
3
|
+
var ClientSideVisible = function (_a) {
|
|
4
|
+
var children = _a.children;
|
|
5
|
+
var _b = useState(false), canRender = _b[0], setCanRender = _b[1];
|
|
6
|
+
useEffect(function () {
|
|
7
|
+
if (typeof window !== "undefined") {
|
|
8
|
+
setCanRender(true);
|
|
9
|
+
}
|
|
10
|
+
}, [setCanRender]);
|
|
11
|
+
return (React__default.createElement("div", { style: { visibility: canRender ? "visible" : "hidden" } }, children));
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { ClientSideVisible as C };
|
|
@@ -5,7 +5,7 @@ import { g as useEscapeKeydown, f as useCallbackRef$1, b as useLayoutEffect2 } f
|
|
|
5
5
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
7
|
import ReactDOM__default from 'react-dom';
|
|
8
|
-
import { a as __assign, _ as __rest, b as __spreadArray } from './
|
|
8
|
+
import { a as __assign, _ as __rest, b as __spreadArray } from './tslib.es6-w7hdJ3oZ.mjs';
|
|
9
9
|
|
|
10
10
|
// packages/core/primitive/src/primitive.tsx
|
|
11
11
|
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|