@arc-ui/components 12.0.0-alpha.0 → 12.0.0-beta.10
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/dist/Alert/Alert.cjs.js +9 -14
- package/dist/Alert/Alert.esm.js +8 -13
- package/dist/Alert/styles.css +1 -0
- package/dist/Align/Align.cjs.js +6 -7
- package/dist/Align/Align.esm.js +1 -2
- package/dist/Align/styles.css +1 -0
- package/dist/AppButton/AppButton.cjs.js +74 -0
- package/dist/AppButton/AppButton.esm.js +66 -0
- package/dist/AppButton/package.json +7 -0
- package/dist/AppButton/styles.css +1 -0
- package/dist/Avatar/Avatar.cjs.js +17 -0
- package/dist/Avatar/Avatar.esm.js +9 -0
- package/dist/Avatar/package.json +7 -0
- package/dist/Avatar/styles.css +1 -0
- package/dist/AvatarGroup/AvatarGroup.cjs.js +37 -0
- package/dist/AvatarGroup/AvatarGroup.esm.js +29 -0
- package/dist/AvatarGroup/package.json +7 -0
- package/dist/AvatarGroup/styles.css +1 -0
- package/dist/Badge/Badge.cjs.js +5 -28
- package/dist/Badge/Badge.esm.js +4 -27
- package/dist/Badge/styles.css +1 -0
- package/dist/Banner/Banner.cjs.js +21 -0
- package/dist/Banner/Banner.esm.js +13 -0
- package/dist/Banner/package.json +7 -0
- package/dist/Banner/styles.css +1 -0
- package/dist/BannerWithTabs/BannerWithTabs.cjs.js +62 -0
- package/dist/BannerWithTabs/BannerWithTabs.esm.js +54 -0
- package/dist/BannerWithTabs/package.json +7 -0
- package/dist/BannerWithTabs/styles.css +1 -0
- package/dist/Box/Box.cjs.js +6 -25
- package/dist/Box/Box.esm.js +5 -24
- package/dist/Box/styles.css +1 -0
- package/dist/BrandLogo/BrandLogo.cjs.js +3 -4
- package/dist/BrandLogo/BrandLogo.esm.js +3 -4
- package/dist/BrandLogo/styles.css +1 -0
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +7 -6
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +7 -6
- package/dist/Breadcrumbs/styles.css +1 -0
- package/dist/Button/Button.cjs.js +5 -6
- package/dist/Button/Button.esm.js +5 -6
- package/dist/Button/styles.css +1 -0
- package/dist/ButtonV2/ButtonV2.cjs.js +15 -0
- package/dist/ButtonV2/ButtonV2.esm.js +7 -0
- package/dist/ButtonV2/package.json +7 -0
- package/dist/ButtonV2/styles.css +1 -0
- package/dist/Calendar/Calendar.cjs.js +21 -0
- package/dist/Calendar/Calendar.esm.js +13 -0
- package/dist/Calendar/package.json +7 -0
- package/dist/Calendar/styles.css +1 -0
- package/dist/CardFooter/CardFooter.cjs.js +17 -0
- package/dist/CardFooter/CardFooter.esm.js +9 -0
- package/dist/CardFooter/package.json +7 -0
- package/dist/CardFooter/styles.css +1 -0
- package/dist/CardHeading/CardHeading.cjs.js +14 -0
- package/dist/CardHeading/CardHeading.esm.js +6 -0
- package/dist/CardHeading/package.json +7 -0
- package/dist/CardHeading/styles.css +1 -0
- package/dist/Carousel/Carousel.cjs.js +1921 -0
- package/dist/Carousel/Carousel.esm.js +1913 -0
- package/dist/Carousel/package.json +7 -0
- package/dist/Carousel/styles.css +1 -0
- package/dist/Checkbox/Checkbox.cjs.js +8 -8
- package/dist/Checkbox/Checkbox.esm.js +8 -8
- package/dist/Checkbox/styles.css +1 -0
- package/dist/Columns/Columns.cjs.js +2 -3
- package/dist/Columns/Columns.esm.js +2 -3
- package/dist/Columns/styles.css +1 -0
- package/dist/ConditionalWrapper/ConditionalWrapper.cjs.js +10 -0
- package/dist/ConditionalWrapper/ConditionalWrapper.esm.js +2 -0
- package/dist/ConditionalWrapper/package.json +7 -0
- package/dist/ContentSwitcher/ContentSwitcher.cjs.js +20 -0
- package/dist/ContentSwitcher/ContentSwitcher.esm.js +12 -0
- package/dist/ContentSwitcher/package.json +7 -0
- package/dist/ContentSwitcher/styles.css +1 -0
- package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs.js +23 -0
- package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.esm.js +15 -0
- package/dist/ContentSwitcherDropdown/package.json +7 -0
- package/dist/ContentSwitcherDropdown/styles.css +1 -0
- package/dist/DatePicker/DatePicker.cjs.js +36 -0
- package/dist/DatePicker/DatePicker.esm.js +23 -0
- package/dist/DatePicker/package.json +7 -0
- package/dist/DatePicker/styles.css +1 -0
- package/dist/Disclosure/Disclosure.cjs.js +13 -11
- package/dist/Disclosure/Disclosure.esm.js +11 -9
- package/dist/Disclosure/styles.css +1 -0
- package/dist/DisclosureMini/DisclosureMini.cjs.js +5 -6
- package/dist/DisclosureMini/DisclosureMini.esm.js +5 -6
- package/dist/DisclosureMini/styles.css +1 -0
- package/dist/Download/Download.cjs.js +16 -0
- package/dist/Download/Download.esm.js +8 -0
- package/dist/Download/package.json +7 -0
- package/dist/Download/styles.css +1 -0
- package/dist/Elevation/Elevation.cjs.js +4 -4
- package/dist/Elevation/Elevation.esm.js +1 -1
- package/dist/Elevation/styles.css +1 -0
- package/dist/Filter/Filter.cjs.js +4 -3
- package/dist/Filter/Filter.esm.js +4 -3
- package/dist/Filter/styles.css +1 -0
- package/dist/FormControl/FormControl.cjs.js +7 -7
- package/dist/FormControl/FormControl.esm.js +7 -7
- package/dist/FormControl/styles.css +1 -0
- package/dist/Grid/Grid.cjs.js +12 -0
- package/dist/Grid/Grid.esm.js +4 -0
- package/dist/Grid/package.json +7 -0
- package/dist/Grid/styles.css +1 -0
- package/dist/Group/Group.cjs.js +3 -3
- package/dist/Group/Group.esm.js +3 -3
- package/dist/Group/styles.css +1 -0
- package/dist/Heading/Heading.cjs.js +3 -4
- package/dist/Heading/Heading.esm.js +3 -4
- package/dist/Heading/styles.css +1 -0
- package/dist/HeroBanner/HeroBanner.cjs.js +28 -0
- package/dist/HeroBanner/HeroBanner.esm.js +20 -0
- package/dist/HeroBanner/package.json +7 -0
- package/dist/HeroButton/HeroButton.cjs.js +15 -0
- package/dist/HeroButton/HeroButton.esm.js +7 -0
- package/dist/HeroButton/package.json +7 -0
- package/dist/HeroButton/styles.css +1 -0
- package/dist/Hidden/Hidden.cjs.js +24 -0
- package/dist/Hidden/Hidden.esm.js +16 -0
- package/dist/Hidden/package.json +7 -0
- package/dist/Hidden/styles.css +1 -0
- package/dist/Icon/Icon.cjs.js +3 -4
- package/dist/Icon/Icon.esm.js +3 -4
- package/dist/Icon/styles.css +1 -0
- package/dist/Image/Image.cjs.js +2 -3
- package/dist/Image/Image.esm.js +2 -3
- package/dist/Image/styles.css +1 -0
- package/dist/ImpactCard/ImpactCard.cjs.js +43 -0
- package/dist/ImpactCard/ImpactCard.esm.js +35 -0
- package/dist/ImpactCard/package.json +7 -0
- package/dist/ImpactCard/styles.css +1 -0
- package/dist/InformationCard/InformationCard.cjs.js +60 -0
- package/dist/InformationCard/InformationCard.esm.js +52 -0
- package/dist/InformationCard/package.json +7 -0
- package/dist/InformationCard/styles.css +1 -0
- package/dist/Link/Link.cjs.js +75 -0
- package/dist/Link/Link.esm.js +67 -0
- package/dist/Link/package.json +7 -0
- package/dist/Link/styles.css +1 -0
- package/dist/Markup/Markup.cjs.js +5 -5
- package/dist/Markup/Markup.esm.js +2 -2
- package/dist/Markup/styles.css +1 -0
- package/dist/MediaCard/MediaCard.cjs.js +26 -0
- package/dist/MediaCard/MediaCard.esm.js +18 -0
- package/dist/MediaCard/package.json +7 -0
- package/dist/MediaCard/styles.css +1 -0
- package/dist/Modal/Modal.cjs.js +341 -547
- package/dist/Modal/Modal.esm.js +323 -547
- package/dist/Modal/styles.css +1 -0
- package/dist/PageBanner/PageBanner.cjs.js +28 -0
- package/dist/PageBanner/PageBanner.esm.js +20 -0
- package/dist/PageBanner/package.json +7 -0
- package/dist/Pagination/Pagination.cjs.js +8 -12
- package/dist/Pagination/Pagination.esm.js +6 -10
- package/dist/Pagination/styles.css +1 -0
- package/dist/PaginationSimple/PaginationSimple.cjs.js +91 -26
- package/dist/PaginationSimple/PaginationSimple.esm.js +90 -25
- package/dist/PaginationSimple/styles.css +1 -0
- package/dist/Poster/Poster.cjs.js +4 -5
- package/dist/Poster/Poster.esm.js +4 -5
- package/dist/Poster/styles.css +1 -0
- package/dist/ProgressBar/ProgressBar.cjs.js +19 -17
- package/dist/ProgressBar/ProgressBar.esm.js +16 -14
- package/dist/ProgressBar/styles.css +1 -0
- package/dist/ProgressStepper/ProgressStepper.cjs.js +5 -7
- package/dist/ProgressStepper/ProgressStepper.esm.js +5 -7
- package/dist/ProgressStepper/styles.css +1 -0
- package/dist/RadioGroup/RadioGroup.cjs.js +9 -8
- package/dist/RadioGroup/RadioGroup.esm.js +8 -8
- package/dist/RadioGroup/styles.css +1 -0
- package/dist/Rule/Rule.cjs.js +14 -4
- package/dist/Rule/Rule.esm.js +15 -5
- package/dist/Rule/styles.css +1 -0
- package/dist/ScrollToTop/ScrollToTop.cjs.js +27 -10
- package/dist/ScrollToTop/ScrollToTop.esm.js +24 -7
- package/dist/ScrollToTop/styles.css +1 -0
- package/dist/Section/Section.cjs.js +2 -2
- package/dist/Section/Section.esm.js +2 -2
- package/dist/Section/styles.css +1 -0
- package/dist/Select/Select.cjs.js +52 -1726
- package/dist/Select/Select.esm.js +53 -1708
- package/dist/Select/styles.css +1 -0
- package/dist/SiteFooter/SiteFooter.cjs.js +9 -33
- package/dist/SiteFooter/SiteFooter.esm.js +9 -33
- package/dist/SiteFooter/styles.css +1 -0
- package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +24 -0
- package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +16 -0
- package/dist/SiteHeaderV2/package.json +7 -0
- package/dist/SiteHeaderV2/styles.css +1 -0
- package/dist/SkipLink/SkipLink.cjs.js +24 -0
- package/dist/SkipLink/SkipLink.esm.js +16 -0
- package/dist/SkipLink/package.json +7 -0
- package/dist/SkipLink/styles.css +1 -0
- package/dist/Spinner/Spinner.cjs.js +12 -0
- package/dist/Spinner/Spinner.esm.js +4 -0
- package/dist/Spinner/package.json +7 -0
- package/dist/Spinner/styles.css +1 -0
- package/dist/Surface/Surface.cjs.js +2 -2
- package/dist/Surface/Surface.esm.js +2 -2
- package/dist/Surface/styles.css +1 -0
- package/dist/Switch/Switch.cjs.js +26 -73
- package/dist/Switch/Switch.esm.js +16 -63
- package/dist/Switch/styles.css +1 -0
- package/dist/Tabs/Tabs.cjs.js +9 -10
- package/dist/Tabs/Tabs.esm.js +9 -10
- package/dist/Tabs/styles.css +1 -0
- package/dist/Tag/Tag.cjs.js +51 -17
- package/dist/Tag/Tag.esm.js +50 -16
- package/dist/Tag/styles.css +1 -0
- package/dist/Text/Text.cjs.js +3 -4
- package/dist/Text/Text.esm.js +3 -4
- package/dist/Text/styles.css +1 -0
- package/dist/TextArea/TextArea.cjs.js +70 -45
- package/dist/TextArea/TextArea.esm.js +70 -45
- package/dist/TextArea/styles.css +1 -0
- package/dist/TextInput/TextInput.cjs.js +8 -9
- package/dist/TextInput/TextInput.esm.js +8 -9
- package/dist/TextInput/styles.css +1 -0
- package/dist/Theme/Theme.cjs.js +16 -4
- package/dist/Theme/Theme.esm.js +16 -4
- package/dist/Theme/styles.css +1 -0
- package/dist/ThemeIcon/ThemeIcon.cjs.js +13 -0
- package/dist/ThemeIcon/ThemeIcon.esm.js +5 -0
- package/dist/ThemeIcon/package.json +7 -0
- package/dist/ThemeIcon/styles.css +1 -0
- package/dist/Toast/Toast.cjs.js +8 -9
- package/dist/Toast/Toast.esm.js +8 -9
- package/dist/Toast/styles.css +1 -0
- package/dist/Truncate/Truncate.cjs.js +3 -3
- package/dist/Truncate/Truncate.esm.js +3 -3
- package/dist/Truncate/styles.css +1 -0
- package/dist/TypographyCard/TypographyCard.cjs.js +40 -0
- package/dist/TypographyCard/TypographyCard.esm.js +32 -0
- package/dist/TypographyCard/package.json +7 -0
- package/dist/TypographyCard/styles.css +1 -0
- package/dist/UniversalHeader/UniversalHeader.cjs.js +3 -3
- package/dist/UniversalHeader/UniversalHeader.esm.js +3 -3
- package/dist/UniversalHeader/styles.css +1 -0
- package/dist/VerticalSpace/VerticalSpace.cjs.js +2 -2
- package/dist/VerticalSpace/VerticalSpace.esm.js +2 -2
- package/dist/VerticalSpace/styles.css +1 -0
- package/dist/VideoPlayer/VideoPlayer.cjs.js +3025 -0
- package/dist/VideoPlayer/VideoPlayer.esm.js +3017 -0
- package/dist/VideoPlayer/package.json +7 -0
- package/dist/VideoPlayer/styles.css +1 -0
- package/dist/Visible/Visible.cjs.js +24 -0
- package/dist/Visible/Visible.esm.js +16 -0
- package/dist/Visible/package.json +7 -0
- package/dist/Visible/styles.css +1 -0
- package/dist/VisuallyHidden/VisuallyHidden.cjs.js +2 -1
- package/dist/VisuallyHidden/VisuallyHidden.esm.js +2 -1
- package/dist/VisuallyHidden/styles.css +1 -0
- package/dist/_shared/cjs/Avatar-d37e7dee.js +48 -0
- package/dist/_shared/cjs/Badge-e5e57c0d.js +17 -0
- package/dist/_shared/cjs/Banner-a28364b4.js +66 -0
- package/dist/_shared/cjs/Box-a8f42d4f.js +29 -0
- package/dist/_shared/cjs/{BrandLogo-aea340c8.js → BrandLogo-5aef900a.js} +6 -7
- package/dist/_shared/cjs/{Breadcrumbs-f3385e2e.js → Breadcrumbs-edf76698.js} +18 -17
- package/dist/_shared/cjs/BtIconArrowRight.esm-6053bb79.js +30 -0
- package/dist/_shared/cjs/BtIconChevronRight2Px.esm-2e4d117e.js +44 -0
- package/dist/_shared/cjs/BtIconChevronRightMid.esm-3e8d18a9.js +28 -0
- package/dist/_shared/cjs/BtIconPlayFill.esm-b8997cfc.js +30 -0
- package/dist/_shared/cjs/{Button-5c958ce9.js → Button-82df14c9.js} +11 -12
- package/dist/_shared/cjs/ButtonV2-0679b44b.js +53 -0
- package/dist/_shared/cjs/Calendar-d2511ee9.js +1927 -0
- package/dist/_shared/cjs/CardFooter-facb09e6.js +79 -0
- package/dist/_shared/cjs/CardHeading-a7d8d472.js +16 -0
- package/dist/_shared/cjs/Checkbox-d34c19c4.js +70 -0
- package/dist/_shared/cjs/{Columns-ae4f8cef.js → Columns-e5f9406b.js} +8 -16
- package/dist/_shared/cjs/Combination-06cc56d0.js +1203 -0
- package/dist/_shared/cjs/ConditionalWrapper-bf944594.js +14 -0
- package/dist/_shared/cjs/ContentSwitcher-df2381c9.js +99 -0
- package/dist/_shared/cjs/ContentSwitcherDropdown-91856b98.js +64 -0
- package/dist/_shared/cjs/DatePicker-3abcf361.js +939 -0
- package/dist/_shared/cjs/{DisclosureMini-145105a4.js → DisclosureMini-64a1c682.js} +10 -13
- package/dist/_shared/cjs/Download-45dc0d20.js +43 -0
- package/dist/_shared/cjs/{Filter-1bde635c.js → Filter-c93d809e.js} +32 -24
- package/dist/_shared/cjs/{FormControl-30f2330f.js → FormControl-09c28bbb.js} +31 -16
- package/dist/_shared/cjs/Grid-102905c8.js +45 -0
- package/dist/_shared/cjs/{Group-0429741a.js → Group-33f84a2f.js} +8 -15
- package/dist/_shared/cjs/{Heading-27cba320.js → Heading-b4b65724.js} +8 -8
- package/dist/_shared/cjs/HeroButton-db55ff2a.js +126 -0
- package/dist/_shared/cjs/Icon-5dd78f2b.js +47 -0
- package/dist/_shared/cjs/Image-bb696c61.js +55 -0
- package/dist/_shared/cjs/MediaCard-158890b3.js +65 -0
- package/dist/_shared/cjs/{Poster-499b78da.js → Poster-11d2f8af.js} +13 -14
- package/dist/_shared/cjs/Preview-0bf3f6e8.js +167 -0
- package/dist/_shared/cjs/ProgressStepper-65294193.js +97 -0
- package/dist/_shared/cjs/RadioGroup-4fe1c546.js +85 -0
- package/dist/_shared/cjs/{Section-59804166.js → Section-4415d756.js} +4 -4
- package/dist/_shared/cjs/{SiteFooter-0638c27c.js → SiteFooter-e741eb87.js} +13 -12
- package/dist/_shared/cjs/SiteHeaderV2-e0ae0718.js +654 -0
- package/dist/_shared/cjs/Spinner-0f578e7f.js +24 -0
- package/dist/_shared/cjs/Surface-ca708a8c.js +175 -0
- package/dist/_shared/cjs/Tabs-a587b50f.js +90 -0
- package/dist/_shared/cjs/{Text-606ca3a2.js → Text-1b3e4fb6.js} +7 -7
- package/dist/_shared/cjs/TextInput-5e533805.js +103 -0
- package/dist/_shared/cjs/{ThemeIcon-9534f091.js → ThemeIcon-cf6ddb34.js} +6 -7
- package/dist/_shared/cjs/{Toast-6d4021d7.js → Toast-e088fa5d.js} +282 -44
- package/dist/_shared/cjs/UniversalHeader-de415648.js +29 -0
- package/dist/_shared/cjs/{VerticalSpace-dc53bb70.js → VerticalSpace-a5cf4d4e.js} +8 -8
- package/dist/_shared/cjs/VisuallyHidden-c691ea4d.js +18 -0
- package/dist/_shared/cjs/_commonjsHelpers-56412ec5.js +21 -0
- package/dist/_shared/cjs/{index-38d3848e.js → component-aa9fcdbb.js} +154 -435
- package/dist/_shared/cjs/{debounce-123468fb.js → debounce-a74c28cf.js} +2 -2
- package/dist/_shared/cjs/floating-ui.react-dom-08b8b87c.js +1908 -0
- package/dist/_shared/cjs/{Tabs-ade6d6b6.js → index-1e7a1fce.js} +20 -109
- package/dist/_shared/cjs/index-28fbfd5b.js +2206 -0
- package/dist/_shared/cjs/index-2bf59363.js +44 -0
- package/dist/_shared/cjs/index-527f962b.js +131 -0
- package/dist/_shared/cjs/index-568ebc78.js +2204 -0
- package/dist/_shared/cjs/{index.module-7d7228b3.js → index-76f7dd53.js} +32 -34
- package/dist/_shared/cjs/{index-d75774a9.js → index-879e71ee.js} +8 -1
- package/dist/_shared/cjs/index-ba3141f5.js +72 -0
- package/dist/_shared/cjs/{index-23b4f49f.js → index-dbc843d3.js} +1 -1
- package/dist/_shared/cjs/index.es-0c2c97f4.js +355 -0
- package/dist/_shared/cjs/index.es-0f681622.js +13 -0
- package/dist/_shared/cjs/{index.es-77def0c9.js → use-media-query-d34c83b9.js} +0 -9
- package/dist/_shared/esm/Avatar-f9df2686.js +42 -0
- package/dist/_shared/esm/Badge-ec093004.js +11 -0
- package/dist/_shared/esm/Banner-1b709fc7.js +60 -0
- package/dist/_shared/esm/Box-0516cf8c.js +23 -0
- package/dist/_shared/esm/{BrandLogo-1af78f76.js → BrandLogo-640e58ed.js} +2 -3
- package/dist/_shared/esm/{Breadcrumbs-c4b65cff.js → Breadcrumbs-58ab8ba0.js} +16 -15
- package/dist/_shared/esm/BtIconArrowRight.esm-93da96bb.js +24 -0
- package/dist/_shared/esm/BtIconChevronRight2Px.esm-c939e317.js +37 -0
- package/dist/_shared/esm/BtIconChevronRightMid.esm-4764708f.js +22 -0
- package/dist/_shared/esm/BtIconPlayFill.esm-05fc0344.js +24 -0
- package/dist/_shared/esm/{Button-c3348ed8.js → Button-6d09ead2.js} +5 -6
- package/dist/_shared/esm/ButtonV2-b35cea64.js +47 -0
- package/dist/_shared/esm/Calendar-d56cdead.js +1918 -0
- package/dist/_shared/esm/CardFooter-97261b1c.js +73 -0
- package/dist/_shared/esm/CardHeading-4e020d2e.js +10 -0
- package/dist/_shared/esm/Checkbox-a687c6cd.js +64 -0
- package/dist/_shared/esm/{Columns-d96b7425.js → Columns-767e7860.js} +2 -10
- package/dist/_shared/esm/Combination-71be1a15.js +1163 -0
- package/dist/_shared/esm/ConditionalWrapper-b85979de.js +8 -0
- package/dist/_shared/esm/ContentSwitcher-bc952e2f.js +93 -0
- package/dist/_shared/esm/ContentSwitcherDropdown-1675387e.js +58 -0
- package/dist/_shared/esm/DatePicker-dd060b1c.js +910 -0
- package/dist/_shared/esm/{DisclosureMini-bf95a9db.js → DisclosureMini-9caa350c.js} +8 -11
- package/dist/_shared/esm/Download-07f5e3dd.js +37 -0
- package/dist/_shared/esm/{Filter-58a42358.js → Filter-284297be.js} +29 -21
- package/dist/_shared/esm/{FormControl-433228f5.js → FormControl-350bb1c8.js} +29 -14
- package/dist/_shared/esm/Grid-5d1afe1a.js +39 -0
- package/dist/_shared/esm/{Group-73fdb896.js → Group-64dee285.js} +3 -10
- package/dist/_shared/esm/{Heading-d16e0e53.js → Heading-e83f0d49.js} +5 -5
- package/dist/_shared/esm/HeroButton-32fec849.js +120 -0
- package/dist/_shared/esm/Icon-6fef56b3.js +41 -0
- package/dist/_shared/esm/{Image-12fbd327.js → Image-45c7760b.js} +14 -5
- package/dist/_shared/esm/MediaCard-38c7a943.js +59 -0
- package/dist/_shared/esm/{Poster-699dc89b.js → Poster-f248e28b.js} +6 -7
- package/dist/_shared/esm/Preview-43b2a75d.js +161 -0
- package/dist/_shared/esm/ProgressStepper-9bb4706f.js +91 -0
- package/dist/_shared/esm/RadioGroup-84c7ca35.js +78 -0
- package/dist/_shared/esm/{Section-73781b56.js → Section-3ab74edb.js} +1 -1
- package/dist/_shared/esm/{SiteFooter-d21da7ab.js → SiteFooter-7317b40e.js} +9 -8
- package/dist/_shared/esm/SiteHeaderV2-6d4af7e5.js +648 -0
- package/dist/_shared/esm/Spinner-7c6f320f.js +18 -0
- package/dist/_shared/esm/Surface-201aa0d6.js +165 -0
- package/dist/_shared/esm/Tabs-ab8e189d.js +84 -0
- package/dist/_shared/esm/{Text-14f586ac.js → Text-dc3f9cb5.js} +5 -5
- package/dist/_shared/esm/TextInput-0707edc3.js +96 -0
- package/dist/_shared/esm/{ThemeIcon-eab5a4d0.js → ThemeIcon-69de5351.js} +2 -3
- package/dist/_shared/esm/{Toast-dce2d01e.js → Toast-e3ab54f9.js} +260 -23
- package/dist/_shared/esm/{UniversalHeader-b4c1577c.js → UniversalHeader-15169a0d.js} +9 -14
- package/dist/_shared/esm/{VerticalSpace-43cd9138.js → VerticalSpace-4b6b7468.js} +5 -5
- package/dist/_shared/esm/VisuallyHidden-59f004f5.js +12 -0
- package/dist/_shared/esm/_commonjsHelpers-0109d574.js +18 -0
- package/dist/_shared/esm/{index-ffd720d0.js → component-4448135f.js} +144 -432
- package/dist/_shared/esm/{debounce-6fed6b84.js → debounce-c8e41002.js} +1 -1
- package/dist/_shared/esm/floating-ui.react-dom-1bb71aae.js +1878 -0
- package/dist/_shared/esm/index-0ae42785.js +2169 -0
- package/dist/_shared/esm/{index-3147c5b0.js → index-13458236.js} +9 -2
- package/dist/_shared/esm/{index-65264b4e.js → index-2403936c.js} +1 -1
- package/dist/_shared/esm/index-6bdce6c5.js +69 -0
- package/dist/_shared/esm/index-7868cc59.js +129 -0
- package/dist/_shared/esm/{index.module-50b2c98a.js → index-7f23bb37.js} +28 -30
- package/dist/_shared/esm/index-a41a5e50.js +41 -0
- package/dist/_shared/esm/{Tabs-39d24a7d.js → index-b051f161.js} +6 -94
- package/dist/_shared/esm/index-ce6dee84.js +2197 -0
- package/dist/_shared/esm/index.es-be971b8d.js +9 -0
- package/dist/_shared/esm/index.es-fc59ba8f.js +348 -0
- package/dist/_shared/esm/{index.es-00cb3bcb.js → use-media-query-d3622da8.js} +1 -8
- package/dist/index.es.js +18793 -37648
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +18806 -37643
- package/dist/index.js.map +1 -1
- package/dist/styles.css +9 -38
- package/dist/types/components/Alert/Alert.d.ts +1 -1
- package/dist/types/components/AppButton/AppButton.d.ts +9 -0
- package/dist/types/components/AppButton/icons/AppStore.d.ts +2 -0
- package/dist/types/components/AppButton/icons/GooglePlay.d.ts +2 -0
- package/dist/types/components/AppButton/index.d.ts +1 -0
- package/dist/types/components/Avatar/Avatar.d.ts +14 -0
- package/dist/types/components/Avatar/components/AvatarContent/AvatarContent.d.ts +9 -0
- package/dist/types/components/Avatar/index.d.ts +1 -0
- package/dist/types/components/Avatar/types/avatar-icon-size.d.ts +1 -0
- package/dist/types/components/Avatar/types/avatar-image.d.ts +2 -0
- package/dist/types/components/Avatar/types/avatar-size.d.ts +1 -0
- package/dist/types/components/Avatar/types/avatar-text-size.d.ts +2 -0
- package/dist/types/components/AvatarGroup/AvatarGroup.d.ts +14 -0
- package/dist/types/components/AvatarGroup/index.d.ts +1 -0
- package/dist/types/components/AvatarGroup/types/group-avatar.d.ts +2 -0
- package/dist/types/components/AvatarGroup/utils/get-avatars.d.ts +2 -0
- package/dist/types/components/Badge/Badge.d.ts +1 -9
- package/dist/types/components/Banner/Banner.d.ts +68 -0
- package/dist/types/components/Banner/index.d.ts +1 -0
- package/dist/types/components/BannerWithTabs/BannerWithTabs.d.ts +17 -0
- package/dist/types/components/BannerWithTabs/index.d.ts +1 -0
- package/dist/types/components/Box/Box.d.ts +4 -0
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/ButtonV2/ButtonV2.d.ts +79 -0
- package/dist/types/components/ButtonV2/index.d.ts +1 -0
- package/dist/types/components/Calendar/Calendar.d.ts +50 -0
- package/dist/types/components/Calendar/Calendar.provider.d.ts +21 -0
- package/dist/types/components/Calendar/components/CalendarDateSelect/CalendarDateSelect.d.ts +15 -0
- package/dist/types/components/Calendar/components/CalendarDateSelect/index.d.ts +1 -0
- package/dist/types/components/Calendar/components/CalendarDayGrid/CalendarDayGrid.d.ts +6 -0
- package/dist/types/components/Calendar/components/CalendarDayGrid/index.d.ts +1 -0
- package/dist/types/components/Calendar/components/CalendarDayNumber/CalendarDayNumber.d.ts +8 -0
- package/dist/types/components/Calendar/components/CalendarDayNumber/index.d.ts +1 -0
- package/dist/types/components/Calendar/components/CalendarDoubleMonthView/CalendarDoubleMonthView.d.ts +9 -0
- package/dist/types/components/Calendar/components/CalendarDoubleMonthView/index.d.ts +1 -0
- package/dist/types/components/Calendar/components/CalendarFooter/CalendarFooter.d.ts +6 -0
- package/dist/types/components/Calendar/components/CalendarFooter/index.d.ts +1 -0
- package/dist/types/components/Calendar/components/CalendarMonthView/CalendarMonthView.d.ts +9 -0
- package/dist/types/components/Calendar/components/CalendarMonthView/index.d.ts +1 -0
- package/dist/types/components/Calendar/components/CalendarMonthYearView/CalendarMonthYearView.d.ts +11 -0
- package/dist/types/components/Calendar/components/CalendarMonthYearView/index.d.ts +1 -0
- package/dist/types/components/Calendar/components/CalendarNavButton/CalendarNavButton.d.ts +10 -0
- package/dist/types/components/Calendar/components/CalendarNavButton/index.d.ts +1 -0
- package/dist/types/components/Calendar/components/CalendarWrapper/CalendarWrapper.d.ts +5 -0
- package/dist/types/components/Calendar/components/CalendarWrapper/index.d.ts +1 -0
- package/dist/types/components/Calendar/components/index.d.ts +6 -0
- package/dist/types/components/Calendar/constants/day-names.d.ts +5 -0
- package/dist/types/components/Calendar/constants/index.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/contains-date.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/contains-date.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/date-without-time.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/date-without-time.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/get-calendar-type.d.ts +2 -0
- package/dist/types/components/Calendar/helpers/get-calendar-type.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/get-dates-in-month.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/get-dates-in-month.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/get-double-month-display-range.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/get-double-month-display-range.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/get-focus-date.d.ts +5 -0
- package/dist/types/components/Calendar/helpers/get-focus-date.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/get-highlighted-range.d.ts +6 -0
- package/dist/types/components/Calendar/helpers/get-highlighted-range.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/get-keydown-date.d.ts +6 -0
- package/dist/types/components/Calendar/helpers/get-keydown-date.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/index.d.ts +13 -0
- package/dist/types/components/Calendar/helpers/is-day.d.ts +2 -0
- package/dist/types/components/Calendar/helpers/is-day.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/is-disabled-date.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/is-disabled-date.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/is-month-after-max-date.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/is-month-after-max-date.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/is-month-before-min-date.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/is-month-before-min-date.test.d.ts +1 -0
- package/dist/types/components/Calendar/helpers/process-selected-range.d.ts +9 -0
- package/dist/types/components/Calendar/helpers/process-selected-range.test.d.ts +1 -0
- package/dist/types/components/Calendar/index.d.ts +2 -0
- package/dist/types/components/Calendar/state/handlers/calendar-keydown-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/handlers/day-grid-leave-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/handlers/day-number-select-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/handlers/default-handler.d.ts +2 -0
- package/dist/types/components/Calendar/state/handlers/dropdown-change-month-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/handlers/dropdown-change-year-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/handlers/highlight-range-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/handlers/index.d.ts +12 -0
- package/dist/types/components/Calendar/state/handlers/range-select-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/handlers/show-next-double-month-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/handlers/show-next-month-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/handlers/show-previous-double-month-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/handlers/show-previous-month-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/index.d.ts +2 -0
- package/dist/types/components/Calendar/state/reducer.d.ts +3 -0
- package/dist/types/components/Calendar/state/reducer.test.d.ts +1 -0
- package/dist/types/components/Calendar/state/types/actions.d.ts +81 -0
- package/dist/types/components/Calendar/state/types/state-handler.d.ts +3 -0
- package/dist/types/components/Calendar/state/types/state.d.ts +5 -0
- package/dist/types/components/Calendar/types/calendar-type.d.ts +1 -0
- package/dist/types/components/Calendar/types/date-select-value.d.ts +2 -0
- package/dist/types/components/Calendar/types/index.d.ts +6 -0
- package/dist/types/components/Calendar/types/key-names.d.ts +13 -0
- package/dist/types/components/Calendar/types/range-selection.d.ts +10 -0
- package/dist/types/components/Calendar/types/selection-type.d.ts +1 -0
- package/dist/types/components/Calendar/types/week-days.d.ts +18 -0
- package/dist/types/components/CardFooter/CardFooter.d.ts +11 -0
- package/dist/types/components/CardFooter/index.d.ts +1 -0
- package/dist/types/components/CardHeading/CardHeading.d.ts +19 -0
- package/dist/types/components/CardHeading/index.d.ts +1 -0
- package/dist/types/components/Carousel/Carousel.d.ts +34 -0
- package/dist/types/components/Carousel/components/DotButton.d.ts +10 -0
- package/dist/types/components/Carousel/constants/breakpoints.d.ts +5 -0
- package/dist/types/components/Carousel/helpers/get-options.d.ts +3 -0
- package/dist/types/components/Carousel/helpers/get-slide-width.d.ts +12 -0
- package/dist/types/components/Carousel/index.d.ts +1 -0
- package/dist/types/components/Carousel/types/breakpoints.d.ts +1 -0
- package/dist/types/components/Carousel/types/keynames.d.ts +5 -0
- package/dist/types/components/Carousel/types/responsive.d.ts +3 -0
- package/dist/types/components/Carousel/types/screen-sizes.d.ts +2 -0
- package/dist/types/components/Carousel/types/slide-config.d.ts +5 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +8 -5
- package/dist/types/components/ConditionalWrapper/ConditionalWrapper.d.ts +7 -0
- package/dist/types/components/ConditionalWrapper/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcher.d.ts +32 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherContent/ContentSwitcherContent.d.ts +12 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherContent/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherList/ContentSwitcherList.d.ts +24 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherList/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherTab/ContentSwitcherTab.d.ts +17 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherTab/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcherDropdown/ContentSwitcherDropdown.d.ts +57 -0
- package/dist/types/components/ContentSwitcherDropdown/index.d.ts +1 -0
- package/dist/types/components/DatePicker/DatePicker.d.ts +20 -0
- package/dist/types/components/DatePicker/constants/date-format.d.ts +1 -0
- package/dist/types/components/DatePicker/constants/index.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/convert-date-string-to-date.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/convert-date-string-to-date.test.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/convert-range-string-to-dates.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/convert-range-string-to-dates.test.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/format-date.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/format-date.test.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/index.d.ts +8 -0
- package/dist/types/components/DatePicker/helpers/is-date-valid.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/is-date-valid.test.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/is-disabled-date.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/is-disabled-date.test.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/is-range-valid.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/is-range-valid.test.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/parse-date-string.d.ts +5 -0
- package/dist/types/components/DatePicker/helpers/parse-date-string.test.d.ts +1 -0
- package/dist/types/components/DatePicker/helpers/parse-range-string.d.ts +14 -0
- package/dist/types/components/DatePicker/helpers/parse-range-string.test.d.ts +1 -0
- package/dist/types/components/DatePicker/index.d.ts +6 -0
- package/dist/types/components/Disclosure/Disclosure.d.ts +1 -2
- package/dist/types/components/Disclosure/index.d.ts +1 -1
- package/dist/types/components/DisclosureMini/DisclosureMini.d.ts +1 -2
- package/dist/types/components/Download/Download.d.ts +41 -0
- package/dist/types/components/Download/index.d.ts +1 -0
- package/dist/types/components/Filter/Filter.d.ts +1 -1
- package/dist/types/components/Filter/FilterItems/FilterItems.d.ts +4 -0
- package/dist/types/components/FormControl/FormControl.d.ts +5 -1
- package/dist/types/components/Grid/Grid.constants.d.ts +1 -0
- package/dist/types/components/Grid/Grid.d.ts +28 -0
- package/dist/types/components/Grid/Grid.types.d.ts +10 -0
- package/dist/types/components/Grid/components/Col/Col.d.ts +10 -0
- package/dist/types/components/Grid/components/Col/index.d.ts +1 -0
- package/dist/types/components/Grid/components/Row/Row.d.ts +10 -0
- package/dist/types/components/Grid/components/Row/index.d.ts +1 -0
- package/dist/types/components/Grid/index.d.ts +2 -0
- package/dist/types/components/Heading/Heading.d.ts +4 -0
- package/dist/types/components/Heading/index.d.ts +1 -1
- package/dist/types/components/HeroBanner/HeroBanner.d.ts +5 -0
- package/dist/types/components/HeroBanner/index.d.ts +1 -0
- package/dist/types/components/HeroButton/HeroButton.d.ts +66 -0
- package/dist/types/components/HeroButton/index.d.ts +1 -0
- package/dist/types/components/Hidden/Hidden.d.ts +11 -0
- package/dist/types/components/Hidden/index.d.ts +1 -0
- package/dist/types/components/Icon/Icon.d.ts +6 -2
- package/dist/types/components/Image/Image.d.ts +4 -0
- package/dist/types/components/ImpactCard/ImpactCard.d.ts +58 -0
- package/dist/types/components/ImpactCard/index.d.ts +1 -0
- package/dist/types/components/InformationCard/InformationCard.d.ts +62 -0
- package/dist/types/components/InformationCard/index.d.ts +1 -0
- package/dist/types/components/Link/Link.d.ts +52 -0
- package/dist/types/components/Link/index.d.ts +1 -0
- package/dist/types/components/MediaCard/MediaCard.d.ts +27 -28
- package/dist/types/components/MediaCard/index.d.ts +1 -1
- package/dist/types/components/MediaCard/types/index.d.ts +2 -0
- package/dist/types/components/MediaCard/types/media-card-image.d.ts +4 -0
- package/dist/types/components/MediaCard/types/media-card-video.d.ts +4 -0
- package/dist/types/components/Modal/Modal.d.ts +3 -3
- package/dist/types/components/PageBanner/PageBanner.d.ts +5 -0
- package/dist/types/components/PageBanner/index.d.ts +1 -0
- package/dist/types/components/Pagination/Pagination.d.ts +1 -1
- package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +26 -10
- package/dist/types/components/Poster/Poster.d.ts +1 -1
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +4 -0
- package/dist/types/components/ProgressStepper/ProgressStepper.d.ts +2 -2
- package/dist/types/components/ProgressStepper/ProgressStepperItem/ProgressStepperItem.d.ts +3 -7
- package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Complete.d.ts +2 -0
- package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Current.d.ts +2 -0
- package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Error.d.ts +2 -0
- package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Warning.d.ts +2 -0
- package/dist/types/components/RadioGroup/RadioButton/RadioButton.d.ts +17 -23
- package/dist/types/components/RadioGroup/RadioButtonGroupInput/RadioButtonGroupInput.d.ts +36 -0
- package/dist/types/components/RadioGroup/RadioButtonGroupInput/index.d.ts +1 -0
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +11 -3
- package/dist/types/components/RadioGroup/context.d.ts +1 -1
- package/dist/types/components/RadioGroup/index.d.ts +1 -0
- package/dist/types/components/Rule/Rule.d.ts +2 -1
- package/dist/types/components/Select/Select.d.ts +53 -0
- package/dist/types/components/SiteFooter/index.d.ts +0 -1
- package/dist/types/components/SiteHeaderV2/SiteHeaderV2.d.ts +82 -0
- package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/BackButton/BackButton.d.ts +1 -0
- package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/Column/Column.d.ts +1 -1
- package/dist/types/components/SiteHeaderV2/components/HorizontalPanel/HorizontalPanel.d.ts +13 -0
- package/dist/types/components/SiteHeaderV2/components/HorizontalPanel/index.d.ts +1 -0
- package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/ItemGroup/ItemGroup.d.ts +1 -0
- package/dist/types/components/SiteHeaderV2/components/ItemGroup/index.d.ts +1 -0
- package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/NavItem/NavItem.d.ts +5 -6
- package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/NavItem/NavItemWithSubNav.d.ts +13 -4
- package/dist/types/components/SiteHeaderV2/components/NavItem/index.d.ts +2 -0
- package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/NodeItem/NodeItem.d.ts +1 -1
- package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/Panel/Panel.d.ts +8 -2
- package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/SubNavItem/SubNavItem.d.ts +5 -7
- package/dist/types/components/SiteHeaderV2/components/SubNavItem/index.d.ts +1 -0
- package/dist/types/components/SiteHeaderV2/components/VerticalDivider/VerticalDivider.d.ts +2 -0
- package/dist/types/components/SiteHeaderV2/components/VerticalDivider/index.d.ts +1 -0
- package/dist/types/components/SiteHeaderV2/index.d.ts +1 -0
- package/dist/types/components/SkipLink/SkipLink.d.ts +12 -0
- package/dist/types/components/SkipLink/SkipLinkItem/SkipLinkItem.d.ts +16 -0
- package/dist/types/components/SkipLink/index.d.ts +1 -0
- package/dist/types/components/Spinner/Spinner.d.ts +16 -0
- package/dist/types/components/Spinner/index.d.ts +1 -0
- package/dist/types/components/Surface/Surface.d.ts +7 -3
- package/dist/types/components/Switch/Switch.d.ts +6 -2
- package/dist/types/components/Tabs/Tabs.d.ts +1 -0
- package/dist/types/components/Tabs/TabsList/TabsList.d.ts +5 -0
- package/dist/types/components/Tag/Tag.d.ts +5 -1
- package/dist/types/components/Text/Text.d.ts +4 -0
- package/dist/types/components/TextArea/TextArea.d.ts +17 -0
- package/dist/types/components/TextInput/TextInput.d.ts +46 -6
- package/dist/types/components/Theme/Theme.d.ts +11 -3
- package/dist/types/components/Theme/index.d.ts +1 -1
- package/dist/types/components/ThemeIcon/icon-names.d.ts +1 -1
- package/dist/types/components/Toast/Toast.d.ts +1 -1
- package/dist/types/components/Truncate/Truncate.d.ts +1 -1
- package/dist/types/components/TypographyCard/TypographyCard.d.ts +58 -0
- package/dist/types/components/TypographyCard/index.d.ts +1 -0
- package/dist/types/components/UniversalHeader/UniversalHeader.d.ts +4 -0
- package/dist/types/components/VideoPlayer/VideoPlayer.d.ts +27 -0
- package/dist/types/components/VideoPlayer/index.d.ts +1 -0
- package/dist/types/components/Visible/Visible.d.ts +11 -0
- package/dist/types/components/Visible/index.d.ts +1 -0
- package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/types/components/index.d.ts +24 -5
- package/dist/types/helpers/get-theme-img.d.ts +6 -0
- package/dist/types/helpers/index.d.ts +1 -2
- package/dist/types/hooks/index.d.ts +2 -4
- package/dist/types/hooks/private/index.d.ts +5 -0
- package/dist/types/hooks/private/use-aria-describedby/index.d.ts +1 -0
- package/dist/types/hooks/private/use-interaction-mode/index.d.ts +1 -0
- package/dist/types/hooks/private/use-numeric-input/index.d.ts +1 -0
- package/dist/types/hooks/{use-numeric-input.d.ts → private/use-numeric-input/use-numeric-input.d.ts} +3 -3
- package/dist/types/hooks/private/use-pagination/index.d.ts +1 -0
- package/dist/types/hooks/private/use-theme-element/index.d.ts +1 -0
- package/dist/types/hooks/public/index.d.ts +1 -0
- package/dist/types/hooks/public/use-media-query/index.d.ts +1 -0
- package/dist/types/hooks/{use-media-query.d.ts → public/use-media-query/use-media-query.d.ts} +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/styles.d.ts +29 -6
- package/dist/types/types/auto-complete-types.d.ts +1 -0
- package/dist/use-media-query/package.json +7 -0
- package/dist/use-media-query/use-media-query.cjs.js +10 -0
- package/dist/use-media-query/use-media-query.esm.js +2 -0
- package/package.json +64 -40
- package/dist/Base/Base.cjs.js +0 -11
- package/dist/Base/Base.esm.js +0 -3
- package/dist/Base/package.json +0 -7
- package/dist/Card/Card.cjs.js +0 -18
- package/dist/Card/Card.esm.js +0 -10
- package/dist/Card/package.json +0 -7
- package/dist/Clock/Clock.cjs.js +0 -43
- package/dist/Clock/Clock.esm.js +0 -34
- package/dist/Clock/package.json +0 -7
- package/dist/SiteHeader/SiteHeader.cjs.js +0 -22
- package/dist/SiteHeader/SiteHeader.esm.js +0 -13
- package/dist/SiteHeader/package.json +0 -7
- package/dist/_shared/cjs/Base-f5a86eed.js +0 -22
- package/dist/_shared/cjs/Card-eb1c20c1.js +0 -121
- package/dist/_shared/cjs/Checkbox-5f14bb0d.js +0 -61
- package/dist/_shared/cjs/Icon-a47b6c0a.js +0 -33
- package/dist/_shared/cjs/Image-e873b8fc.js +0 -46
- package/dist/_shared/cjs/ProgressStepper-74ee1eec.js +0 -88
- package/dist/_shared/cjs/RadioGroup-9bc96f6a.js +0 -69
- package/dist/_shared/cjs/SiteHeader.rehydrator-42c4a0e0.js +0 -670
- package/dist/_shared/cjs/Surface-038db6e1.js +0 -57
- package/dist/_shared/cjs/TextInput-a5f72f6f.js +0 -81
- package/dist/_shared/cjs/UniversalHeader-5e43d320.js +0 -34
- package/dist/_shared/cjs/VisuallyHidden-e2c8b291.js +0 -17
- package/dist/_shared/cjs/extends-8c5e4b48.js +0 -18
- package/dist/_shared/cjs/filter-data-attrs-1c9a530c.js +0 -227
- package/dist/_shared/cjs/index-4aa11039.js +0 -490
- package/dist/_shared/cjs/index-4dd46cbe.js +0 -289
- package/dist/_shared/cjs/suffix-modifier-64dcd338.js +0 -19
- package/dist/_shared/esm/Base-f200653c.js +0 -15
- package/dist/_shared/esm/Card-45e8e10a.js +0 -115
- package/dist/_shared/esm/Checkbox-2a623386.js +0 -55
- package/dist/_shared/esm/Icon-9ecaaeab.js +0 -27
- package/dist/_shared/esm/ProgressStepper-5de34269.js +0 -82
- package/dist/_shared/esm/RadioGroup-002a32ba.js +0 -63
- package/dist/_shared/esm/SiteHeader.rehydrator-97900e11.js +0 -663
- package/dist/_shared/esm/Surface-0ca6817d.js +0 -48
- package/dist/_shared/esm/TextInput-28f18769.js +0 -75
- package/dist/_shared/esm/VisuallyHidden-b9eebf71.js +0 -11
- package/dist/_shared/esm/extends-8cc61aad.js +0 -16
- package/dist/_shared/esm/filter-data-attrs-ea8f4ed4.js +0 -220
- package/dist/_shared/esm/index-4f8d3888.js +0 -280
- package/dist/_shared/esm/index-87a828b8.js +0 -479
- package/dist/_shared/esm/suffix-modifier-3d548e45.js +0 -17
- package/dist/types/components/Base/Base.d.ts +0 -16
- package/dist/types/components/Base/index.d.ts +0 -1
- package/dist/types/components/Card/Card.d.ts +0 -128
- package/dist/types/components/Card/index.d.ts +0 -1
- package/dist/types/components/Clock/Clock.d.ts +0 -12
- package/dist/types/components/Clock/Clock.rehydrator.d.ts +0 -2
- package/dist/types/components/Clock/index.d.ts +0 -2
- package/dist/types/components/MediaCard/MediaCard.stories-wip.d.ts +0 -15
- package/dist/types/components/SiteFooter/SiteFooter.rehydrator.d.ts +0 -2
- package/dist/types/components/SiteHeader/SiteHeader.d.ts +0 -75
- package/dist/types/components/SiteHeader/SiteHeader.rehydrator.d.ts +0 -8
- package/dist/types/components/SiteHeader/components/ItemGroup/ItemGroup.rehydrator.d.ts +0 -2
- package/dist/types/components/SiteHeader/components/ItemGroup/index.d.ts +0 -2
- package/dist/types/components/SiteHeader/components/NavItem/NavItem.rehydrator.d.ts +0 -2
- package/dist/types/components/SiteHeader/components/NavItem/NavItemWithSubNav.rehydrator.d.ts +0 -2
- package/dist/types/components/SiteHeader/components/NavItem/index.d.ts +0 -4
- package/dist/types/components/SiteHeader/components/SubNavItem/SubNavItem.rehydrator.d.ts +0 -2
- package/dist/types/components/SiteHeader/components/SubNavItem/index.d.ts +0 -2
- package/dist/types/components/SiteHeader/index.d.ts +0 -2
- package/dist/types/helpers/filter-data-attrs.d.ts +0 -1
- package/dist/types/helpers/suffix-modifier.d.ts +0 -9
- /package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/BackButton/index.d.ts +0 -0
- /package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/Column/index.d.ts +0 -0
- /package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/Item/Item.d.ts +0 -0
- /package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/Item/index.d.ts +0 -0
- /package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/MenuButton/MenuButton.d.ts +0 -0
- /package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/MenuButton/index.d.ts +0 -0
- /package/dist/types/components/{SiteHeader → SiteHeaderV2}/components/Panel/index.d.ts +0 -0
- /package/dist/types/hooks/{use-aria-describedby.d.ts → private/use-aria-describedby/use-aria-describedby.d.ts} +0 -0
- /package/dist/types/hooks/{use-interaction-mode.d.ts → private/use-interaction-mode/use-interaction-mode.d.ts} +0 -0
- /package/dist/types/hooks/{use-pagination.d.ts → private/use-pagination/use-pagination.d.ts} +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest, f as filterDataAttrs } from '../_shared/esm/
|
|
1
|
+
import { a as __assign, _ as __rest, f as filterDataAttrs } from '../_shared/esm/index.es-fc59ba8f.js';
|
|
2
2
|
import { c as classNames } from '../_shared/esm/index-2e73c2e9.js';
|
|
3
|
-
import React__default
|
|
4
|
-
import { T as Text } from '../_shared/esm/Text-
|
|
5
|
-
import { H as Heading } from '../_shared/esm/Heading-
|
|
6
|
-
import { V as VerticalSpace } from '../_shared/esm/VerticalSpace-
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import '../_shared/esm/suffix-modifier-3d548e45.js';
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import { T as Text } from '../_shared/esm/Text-dc3f9cb5.js';
|
|
5
|
+
import { H as Heading } from '../_shared/esm/Heading-e83f0d49.js';
|
|
6
|
+
import { V as VerticalSpace } from '../_shared/esm/VerticalSpace-4b6b7468.js';
|
|
7
|
+
import { T as ThemeIcon } from '../_shared/esm/ThemeIcon-69de5351.js';
|
|
8
|
+
import '../_shared/esm/Surface-201aa0d6.js';
|
|
10
9
|
|
|
11
10
|
var PROGRESS_BAR_ICON_MAP = {
|
|
12
11
|
refresh: "progressBarRefresh",
|
|
@@ -28,13 +27,16 @@ var getProgressBarProps = function (isIndeterminate, progressValue, ariaLabel) {
|
|
|
28
27
|
return isIndeterminate ? indeterminateProps : determinateProps;
|
|
29
28
|
};
|
|
30
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Use `ProgressBar` to show the progress of a specific task within a page.
|
|
32
|
+
*/
|
|
31
33
|
var ProgressBar = function (_a) {
|
|
32
34
|
var _b = _a.state, state = _b === void 0 ? "loading" : _b, _c = _a.value, value = _c === void 0 ? 0 : _c, _d = _a.isIndeterminate, isIndeterminate = _d === void 0 ? false : _d, headline = _a.headline, ariaLabel = _a.ariaLabel, action = _a.action, title = _a.title, description = _a.description, displayValue = _a.displayValue, props = __rest(_a, ["state", "value", "isIndeterminate", "headline", "ariaLabel", "action", "title", "description", "displayValue"]);
|
|
33
|
-
var surface = useContext(Context).surface;
|
|
34
35
|
var progressValue = Math.min(100, Math.max(0, value));
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
var autoFocusRef = function (canFocus) { return function (el) {
|
|
37
|
+
canFocus && el && el.focus();
|
|
38
|
+
}; };
|
|
39
|
+
return (React__default.createElement("div", __assign({ "data-testid": "progress", className: classNames("arc-ProgressBar", "arc-ProgressBar--".concat(state)) }, filterDataAttrs(props)),
|
|
38
40
|
React__default.createElement("div", { className: "arc-ProgressBar-titleDisplayValueContainer" },
|
|
39
41
|
React__default.createElement("div", { className: "arc-ProgressBar-titleContainer" },
|
|
40
42
|
headline && React__default.createElement(Heading, { size: "s" }, headline),
|
|
@@ -45,11 +47,11 @@ var ProgressBar = function (_a) {
|
|
|
45
47
|
React__default.createElement("div", { className: "arc-ProgressBar-container" },
|
|
46
48
|
React__default.createElement("div", { className: "arc-ProgressBar-outerBar" },
|
|
47
49
|
React__default.createElement("div", __assign({}, getProgressBarProps(isIndeterminate, progressValue, ariaLabel)))),
|
|
48
|
-
description && (React__default.createElement("div", { className: "arc-ProgressBar-description" },
|
|
50
|
+
description && (React__default.createElement("div", { className: "arc-ProgressBar-description", role: "status" },
|
|
49
51
|
React__default.createElement(Text, { tone: state !== "error" ? "supporting" : "default" }, description))),
|
|
50
52
|
action && (React__default.createElement(React__default.Fragment, null,
|
|
51
53
|
React__default.createElement(VerticalSpace, { size: "8" }),
|
|
52
|
-
React__default.createElement("button", { className: "arc-ProgressBar-actionButton", onClick: action.action },
|
|
54
|
+
React__default.createElement("button", { ref: autoFocusRef(action.autofocusOnMount), className: "arc-ProgressBar-actionButton", onClick: action.action },
|
|
53
55
|
React__default.createElement("div", { className: "arc-ProgressBar-actionContainer" },
|
|
54
56
|
React__default.createElement(Text, null, action.text),
|
|
55
57
|
action.icon && (React__default.createElement("div", { className: "arc-ProgressBar-actionIcon" },
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc .arc-ProgressBar-container{margin:var(--progress-bar-gap-m) 0 0}.arc .arc-ProgressBar-outerBar{background:var(--progress-bar-colors-light-bg-default-alt);border-radius:20px;height:var(--progress-bar-size-s);overflow:hidden}.arc .arc-ProgressBar-description{margin:var(--progress-bar-gap-m) 0 0}.arc .arc-ProgressBar-bar{height:100%}.arc .arc-ProgressBar-titleDisplayValueContainer{align-items:flex-end;display:flex}.arc .arc-ProgressBar-titleContainer{flex:1 1 auto}.arc .arc-ProgressBar-displayValueContainer{flex:0 1 auto}.arc .arc-ProgressBar-actionContainer{align-items:center;display:flex}.arc .arc-ProgressBar-actionButton{background:transparent;border:none;cursor:pointer;font:inherit;margin:0;outline:none;padding:0;position:relative}.arc .arc-ProgressBar-actionButton:focus-visible::before{border-radius:10px;bottom:calc(0px - 4px);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle);content:"";left:calc(0px - 4px);position:absolute;right:calc(0px - 4px);top:calc(0px - 4px)}.arc .arc-ProgressBar-actionButton:focus:not(:focus-visible)::before{box-shadow:none}.arc .arc-ProgressBar--loading .arc-ProgressBar-bar{background:var(--progress-bar-colors-light-fg-default)}.arc .arc-ProgressBar--loading .arc-ProgressBar-actionButton,.arc .arc-ProgressBar--loading .arc-ProgressBar-actionIcon{color:var(--progress-bar-colors-light-text-default-alt)}@media (hover:hover){.arc .arc-ProgressBar--loading .arc-ProgressBar-actionButton:hover,.arc .arc-ProgressBar--loading .arc-ProgressBar-actionButton:hover .arc-ProgressBar-actionIcon{color:var(--progress-bar-colors-light-text-default-alt-hover)}}.arc .arc-ProgressBar--error .arc-ProgressBar-bar{background:var(--progress-bar-colors-light-fg-error)}.arc .arc-ProgressBar--error .arc-ProgressBar-description,.arc .arc-ProgressBar--error .arc-ProgressBar-actionButton,.arc .arc-ProgressBar--error .arc-ProgressBar-actionIcon{color:var(--progress-bar-colors-light-text-error)}@media (hover:hover){.arc .arc-ProgressBar--error .arc-ProgressBar-actionButton:hover,.arc .arc-ProgressBar--error .arc-ProgressBar-actionButton:hover .arc-ProgressBar-actionIcon{color:var(--progress-bar-colors-light-text-error-hover)}}.arc .arc-ProgressBar--success .arc-ProgressBar-bar{background:var(--progress-bar-colors-light-bg-success)}.arc .arc-ProgressBar--success .arc-ProgressBar-actionButton,.arc .arc-ProgressBar--success .arc-ProgressBar-actionIcon{color:var(--progress-bar-colors-light-text-success)}@media (hover:hover){.arc .arc-ProgressBar--success .arc-ProgressBar-actionButton:hover,.arc .arc-ProgressBar--success .arc-ProgressBar-actionButton:hover .arc-ProgressBar-actionIcon{color:var(--progress-bar-colors-light-text-success-hover)}}.arc .arc-ProgressBar--loading .arc-ProgressBar-bar--indeterminate{animation:indeterminate 2s ease infinite;width:calc(100% / 3)}.arc .arc-ProgressBar--error .arc-ProgressBar-bar--indeterminate,.arc .arc-ProgressBar--success .arc-ProgressBar-bar--indeterminate{width:100%}@keyframes indeterminate{from{transform:translateX(-100%)}to{transform:translateX(calc(300%))}}
|
|
@@ -2,15 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var ProgressStepper = require('../_shared/cjs/ProgressStepper-
|
|
6
|
-
require('../_shared/cjs/
|
|
5
|
+
var ProgressStepper = require('../_shared/cjs/ProgressStepper-65294193.js');
|
|
6
|
+
require('../_shared/cjs/index.es-0c2c97f4.js');
|
|
7
7
|
require('react');
|
|
8
8
|
require('../_shared/cjs/index-9947ac13.js');
|
|
9
|
-
require('../_shared/cjs/
|
|
10
|
-
require('../_shared/cjs/
|
|
11
|
-
require('../_shared/cjs/
|
|
12
|
-
require('../_shared/cjs/ThemeIcon-9534f091.js');
|
|
13
|
-
require('../_shared/cjs/suffix-modifier-64dcd338.js');
|
|
9
|
+
require('../_shared/cjs/VisuallyHidden-c691ea4d.js');
|
|
10
|
+
require('../_shared/cjs/Icon-5dd78f2b.js');
|
|
11
|
+
require('../_shared/cjs/Surface-ca708a8c.js');
|
|
14
12
|
|
|
15
13
|
|
|
16
14
|
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
export { P as ProgressStepper } from '../_shared/esm/ProgressStepper-
|
|
2
|
-
import '../_shared/esm/
|
|
1
|
+
export { P as ProgressStepper } from '../_shared/esm/ProgressStepper-9bb4706f.js';
|
|
2
|
+
import '../_shared/esm/index.es-fc59ba8f.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../_shared/esm/index-2e73c2e9.js';
|
|
5
|
-
import '../_shared/esm/
|
|
6
|
-
import '../_shared/esm/
|
|
7
|
-
import '../_shared/esm/
|
|
8
|
-
import '../_shared/esm/ThemeIcon-eab5a4d0.js';
|
|
9
|
-
import '../_shared/esm/suffix-modifier-3d548e45.js';
|
|
5
|
+
import '../_shared/esm/VisuallyHidden-59f004f5.js';
|
|
6
|
+
import '../_shared/esm/Icon-6fef56b3.js';
|
|
7
|
+
import '../_shared/esm/Surface-201aa0d6.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc .arc-ProgressStepperItem{max-width:164px;min-width:164px}.arc .arc-ProgressStepperItem-iconWrapper{align-self:center;border-radius:100%;flex:0 0 auto;position:relative}.arc .arc-ProgressStepperItem-nodeItem{margin-bottom:var(--vertical-space-size-24)}.arc .arc-ProgressStepperItem-title{font:var(--sem-type-body-semi-m)}.arc .arc-ProgressStepperItem-title--link{cursor:pointer;text-decoration:none}.arc .arc-ProgressStepperItem-subTitle{font:var(--sem-type-body-reg-s);font-style:normal}.arc .arc-ProgressStepperItem-textSection{padding:var(--stepper-padding-s) var(--stepper-padding-s) 0 0}.arc .arc-ProgressStepperItem-iconSection{align-items:center;display:flex}.arc .arc-ProgressStepperItem .arc-ProgressStepperItem-iconSection::after{background-color:var(--stepper-colors-light-bg-subtle);content:"";display:block;height:1px;width:100%}.arc .arc-ProgressStepperItem:last-of-type .arc-ProgressStepperItem-iconSection::after{display:none}.arc .arc-ProgressStepperItem-statusIcon{border:var(--stepper-border-weight-m) solid transparent;border-radius:var(--stepper-border-radius);display:block;height:var(--stepper-size-icon-l);width:var(--stepper-size-icon-l)}.arc .arc-ProgressStepperItem--hasInteractiveStatus .arc-ProgressStepperItem-title,.arc .arc-ProgressStepperItem--hasInteractiveStatus .arc-ProgressStepperItem-subTitle{color:var(--stepper-colors-light-text-default)}.arc .arc-ProgressStepperItem--hasInteractiveStatus .arc-ProgressStepperItem-title--link:hover,.arc .arc-ProgressStepperItem--todo .arc-ProgressStepperItem-title--link:hover{color:var(--stepper-colors-light-text-hover);-webkit-text-decoration:var(--sem-underline);text-decoration:var(--sem-underline)}.arc .arc-ProgressStepperItem--todo .arc-ProgressStepperItem-title,.arc .arc-ProgressStepperItem--todo .arc-ProgressStepperItem-subTitle{color:var(--stepper-colors-light-text-subtle)}.arc .arc-ProgressStepperItem--completed .arc-ProgressStepperItem-iconSection::after{background-color:var(--stepper-colors-light-bg-default)}.arc .arc-ProgressStepperItem--todo .arc-ProgressStepperItem-statusIcon{border-color:var(--stepper-colors-light-border-subtle)}.arc .arc-ProgressStepperItem--completed .arc-ProgressStepperItem-iconWrapper,.arc .arc-ProgressStepperItem--current .arc-ProgressStepperItem-iconWrapper,.arc .arc-ProgressStepperItem--completed .arc-ProgressStepperItem-statusIcon{border-color:var(--stepper-colors-light-border-default);color:var(--stepper-colors-light-border-default)}.arc .arc-ProgressStepperItem--current .arc-ProgressStepperItem-iconWrapper{animation:pulse-animation 2s infinite}.arc .arc-ProgressStepperItem--error .arc-ProgressStepperItem-iconWrapper,.arc .arc-ProgressStepperItem--error .arc-ProgressStepperItem-statusIcon{background-color:var(--stepper-colors-light-bg-error-subtle);border-color:var(--stepper-colors-light-border-error);color:var(--stepper-colors-light-border-error)}.arc .arc-ProgressStepperItem--warning .arc-ProgressStepperItem-iconWrapper,.arc .arc-ProgressStepperItem--warning .arc-ProgressStepperItem-statusIcon{background-color:var(--stepper-colors-light-bg-warning-subtle);border-color:var(--stepper-colors-light-border-warning);color:var(--stepper-colors-light-border-warning)}.arc .arc-ProgressStepperItem--isFluid .arc-ProgressStepperItem::after,.arc .arc-ProgressStepperItem--isFluid .arc-ProgressStepperItem-iconSection{width:100%}.arc .arc-ProgressStepperItem--isFluid{flex:1 1 0;max-width:100%;min-width:auto}.arc .arc-ProgressStepperItem--small .arc-ProgressStepperItem-title{font:var(--sem-type-body-semi-s);font-style:normal}.arc .arc-ProgressStepperItem--small .arc-ProgressStepperItem-subTitle{font:var(--sem-type-body-reg-xs);font-style:normal}.arc .arc-ProgressStepperItem--vertical{align-items:stretch;display:flex;flex-direction:row;justify-content:flex-start;max-width:100%;min-height:68px;min-width:auto}.arc .arc-ProgressStepperItem--vertical .arc-ProgressStepperItem-iconSection::after{height:100%;width:1px}.arc .arc-ProgressStepperItem--vertical .arc-ProgressStepperItem-iconSection{align-items:center;flex:0 1 auto;flex-direction:column}.arc .arc-ProgressStepperItem--vertical .arc-ProgressStepperItem-textSection{flex:1 1 auto;margin-top:-4px;padding:0 0 0 var(--vertical-space-size-16);width:100%}.arc .arc-ProgressStepperItem--vertical .arc-ProgressStepperItem-subTitle{margin-bottom:var(--vertical-space-size-24)}.arc .arc-ProgressStepperItem--vertical.arc-ProgressStepperItem--small{min-height:64px}.arc .arc-ProgressStepperItem--vertical:last-of-type{min-height:auto}.arc .arc-ProgressStepperItem--vertical:last-of-type .arc-ProgressStepperItem-nodeItem{margin-bottom:0;margin-top:var(--vertical-space-size-24)}.arc .arc-ProgressStepperItem--vertical:last-of-type .arc-ProgressStepperItem-subTitle{margin-bottom:0}@keyframes pulse-animation{from{box-shadow:0 0 0 0 var(--stepper-colors-light-pluse-from)}to{box-shadow:0 0 0 8px var(--stepper-colors-light-pluse-to)}}.arc .arc-ProgressStepperItem-statusIcon--small{height:var(--stepper-size-icon-s);width:var(--stepper-size-icon-s)}.arc .arc-ProgressStepperItem-statusIconInner::before{background:var(--stepper-colors-light-border-variant) border-box;border:var(--stepper-border-weight-m) solid transparent;border-radius:var(--stepper-border-radius);bottom:0;content:"";left:0;-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);mask:linear-gradient(#ffffff 0,#ffffff 0) padding-box,linear-gradient(#ffffff 0,#ffffff 0);-webkit-mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);mask:linear-gradient(#ffffff 0 0) padding-box,linear-gradient(#ffffff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;position:absolute;right:0;top:0}.arc .arc-ProgressStepperItem-statusIconInner::after{background:var(--stepper-colors-light-fg-variant);border-radius:1000px;content:"";height:100%;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0.5);width:100%}.arc .arc-ProgressStepper{display:flex}.arc .arc-ProgressStepper--vertical{flex-direction:column}
|
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var RadioGroup = require('../_shared/cjs/RadioGroup-
|
|
6
|
-
require('../_shared/cjs/
|
|
5
|
+
var RadioGroup = require('../_shared/cjs/RadioGroup-4fe1c546.js');
|
|
6
|
+
require('../_shared/cjs/index.es-0c2c97f4.js');
|
|
7
7
|
require('react');
|
|
8
|
-
require('../_shared/cjs/FormControl-
|
|
8
|
+
require('../_shared/cjs/FormControl-09c28bbb.js');
|
|
9
9
|
require('../_shared/cjs/index-9947ac13.js');
|
|
10
|
-
require('../_shared/cjs/Surface-
|
|
11
|
-
require('../_shared/cjs/DisclosureMini-
|
|
12
|
-
require('../_shared/cjs/Text-
|
|
13
|
-
require('../_shared/cjs/
|
|
14
|
-
require('../_shared/cjs/
|
|
10
|
+
require('../_shared/cjs/Surface-ca708a8c.js');
|
|
11
|
+
require('../_shared/cjs/DisclosureMini-64a1c682.js');
|
|
12
|
+
require('../_shared/cjs/Text-1b3e4fb6.js');
|
|
13
|
+
require('../_shared/cjs/ThemeIcon-cf6ddb34.js');
|
|
14
|
+
require('../_shared/cjs/VisuallyHidden-c691ea4d.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
+
exports.RadioButton = RadioGroup.RadioButton;
|
|
18
19
|
exports.RadioGroup = RadioGroup.RadioGroup;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { R as RadioGroup } from '../_shared/esm/RadioGroup-
|
|
2
|
-
import '../_shared/esm/
|
|
1
|
+
export { a as RadioButton, R as RadioGroup } from '../_shared/esm/RadioGroup-84c7ca35.js';
|
|
2
|
+
import '../_shared/esm/index.es-fc59ba8f.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../_shared/esm/FormControl-
|
|
4
|
+
import '../_shared/esm/FormControl-350bb1c8.js';
|
|
5
5
|
import '../_shared/esm/index-2e73c2e9.js';
|
|
6
|
-
import '../_shared/esm/Surface-
|
|
7
|
-
import '../_shared/esm/DisclosureMini-
|
|
8
|
-
import '../_shared/esm/Text-
|
|
9
|
-
import '../_shared/esm/
|
|
10
|
-
import '../_shared/esm/
|
|
6
|
+
import '../_shared/esm/Surface-201aa0d6.js';
|
|
7
|
+
import '../_shared/esm/DisclosureMini-9caa350c.js';
|
|
8
|
+
import '../_shared/esm/Text-dc3f9cb5.js';
|
|
9
|
+
import '../_shared/esm/ThemeIcon-69de5351.js';
|
|
10
|
+
import '../_shared/esm/VisuallyHidden-59f004f5.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc .arc-RadioButton{line-height:0}.arc .arc-RadioButton--withMargin,.arc .arc-RadioButton--withMarginSmall{margin-top:var(--radio-gap-m)}.arc .arc-RadioButton-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--radio-colors-light-bg-default);border:var(--radio-border-weight-s) solid var(--radio-colors-light-border-default);border-radius:100%;cursor:pointer;display:block;margin-bottom:0;margin-left:0;margin-right:8px;margin-top:0;min-height:var(--radio-size-xl);min-width:var(--radio-size-xl)}.arc .arc-RadioButton-label{align-items:center;cursor:pointer;display:inline-flex;font:var(--radio-type-label-m)}.arc .arc-RadioButton-label--alignTop{align-items:flex-start}.arc .arc-RadioButton-label--marginTop{margin-top:4px}.arc .arc-RadioButton--small .arc-RadioButton-label--marginTop{margin-top:2px}.arc .arc-RadioButton-helper{display:block;font:var(--sem-type-support-reg-s)}.arc .arc-RadioButton--disabled .arc-RadioButton-input,.arc .arc-RadioButton--disabled .arc-RadioButton-label{cursor:not-allowed}.arc .arc-RadioButton--small .arc-RadioButton-label{font:var(--radio-type-label-s)}.arc .arc-RadioButton--small .arc-RadioButton-helper{font:var(--sem-type-support-reg-xs)}.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input{background:var(--radio-colors-dark-bg-default);border-color:var(--radio-colors-dark-border-default)}.arc .arc-RadioButton--small .arc-RadioButton-input{min-height:var(--radio-size-l);min-width:var(--radio-size-l)}.arc .arc-RadioButton-input:checked{background:var(--radio-colors-light-fg-default);box-shadow:inset 0 0 0 6px var(--radio-colors-light-bg-default)}.arc .arc-RadioButton-input:focus,.arc .arc-RadioButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 6px var(--radio-colors-light-bg-default);outline:var(--focus-border-weight-s) solid transparent}.arc .arc-RadioButton--small .arc-RadioButton-input:checked{background:var(--radio-colors-light-fg-default);box-shadow:inset 0 0 0 4px var(--radio-colors-light-bg-default)}.arc .arc-RadioButton--small .arc-RadioButton-input:focus,.arc .arc-RadioButton--small .arc-RadioButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 4px var(--radio-colors-light-bg-default);outline:var(--focus-border-weight-s) solid transparent}.arc .arc-RadioButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 6px var(--radio-colors-light-bg-default)}.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input:checked{background:var(--radio-colors-dark-fg-default);box-shadow:inset 0 0 0 6px var(--radio-colors-dark-bg-default)}.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input:focus,.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 6px var(--radio-colors-dark-bg-default)}.arc .arc-RadioButton--onDarkSurface.arc-RadioButton--small .arc-RadioButton-input:checked{box-shadow:inset 0 0 0 4px var(--radio-colors-dark-bg-default)}.arc .arc-RadioButton--onDarkSurface.arc-RadioButton--small .arc-RadioButton-input:focus,.arc .arc-RadioButton--onDarkSurface.arc-RadioButton--small .arc-RadioButton-input:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-default)}.arc .arc-RadioButton--small .arc-RadioButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 4px var(--radio-colors-light-bg-default)}.arc .arc-RadioButton--disabled{color:var(--radio-colors-light-text-disabled)}.arc .arc-RadioButton-input[disabled]{background:var(--radio-colors-light-bg-disabled);border-color:var(--radio-colors-light-border-disabled)}.arc .arc-RadioButton-input[disabled]:checked{background:var(--radio-colors-light-fg-disabled);box-shadow:inset 0 0 0 6px var(--radio-colors-light-bg-disabled)}.arc .arc-RadioButton-input[disabled]:focus,.arc .arc-RadioButton-input[disabled]:focus-visible{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 6px var(--radio-colors-light-bg-disabled)}.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 6px var(--radio-colors-dark-bg-default)}.arc .arc-RadioButton--onDarkSurface.arc-RadioButton--small .arc-RadioButton-input:focus:not(:focus-visible){box-shadow:inset 0 0 0 4px var(--radio-colors-dark-bg-default)}.arc .arc-RadioButton--onDarkSurface.arc-RadioButton--disabled{color:var(--radio-colors-dark-text-disabled)}.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input[disabled]{background:var(--radio-colors-dark-bg-disabled);border-color:var(--radio-colors-dark-border-disabled)}.arc .arc-RadioButton--small .arc-RadioButton-input[disabled]:checked{box-shadow:inset 0 0 0 4px var(--radio-colors-light-bg-disabled)}.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input[disabled]:checked{background:var(--radio-colors-dark-fg-disabled);box-shadow:inset 0 0 0 6px var(--radio-colors-dark-bg-disabled)}.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input[disabled]:focus,.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input[disabled]:focus-visible{background:var(--radio-colors-dark-bg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc .arc-RadioButton--small .arc-RadioButton-input[disabled]:focus,.arc .arc-RadioButton--small .arc-RadioButton-input[disabled]:focus-visible{background:var(--radio-colors-light-bg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 4px var(--radio-colors-light-bg-disabled)}.arc .arc-RadioButton--small .arc-RadioButton-input[disabled]:checked:focus,.arc .arc-RadioButton--small .arc-RadioButton-input[disabled]:checked:focus-visible{background:var(--radio-colors-light-fg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle),inset 0 0 0 4px var(--radio-colors-light-bg-disabled)}.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input[disabled]:checked:focus,.arc .arc-RadioButton--onDarkSurface .arc-RadioButton-input[disabled]:checked:focus-visible{background:var(--radio-colors-dark-fg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 6px var(--radio-colors-dark-bg-disabled)}.arc .arc-RadioButton--onDarkSurface.arc-RadioButton--small .arc-RadioButton-input[disabled]:checked{box-shadow:inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc .arc-RadioButton--onDarkSurface.arc-RadioButton--small .arc-RadioButton-input[disabled]:focus,.arc .arc-RadioButton--onDarkSurface.arc-RadioButton--small .arc-RadioButton-input[disabled]:focus-visible{background:var(--radio-colors-dark-bg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc .arc-RadioButton--onDarkSurface.arc-RadioButton--small .arc-RadioButton-input[disabled]:checked:focus,.arc .arc-RadioButton--onDarkSurface.arc-RadioButton--small .arc-RadioButton-input[disabled]:checked:focus-visible{background:var(--radio-colors-dark-fg-disabled);box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle),inset 0 0 0 4px var(--radio-colors-dark-bg-disabled)}.arc .arc-RadioGroup-radioButtonContainer .arc-RadioButton--withMargin:first-child{margin-top:0}.arc .arc-RadioGroup-error{align-items:center;color:#da020f;display:flex;line-height:1.5;margin-top:12px}.arc .arc-RadioGroup-error .arc-RadioGroup-error--icon{color:currentColor;flex-shrink:0;height:24px;margin-right:4px;width:24px}.arc .arc-RadioGroup--onDarkSurface .arc-RadioGroup-error{color:#fa9590}
|
package/dist/Rule/Rule.cjs.js
CHANGED
|
@@ -2,18 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var index_es = require('../_shared/cjs/index.es-0c2c97f4.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
+
var index = require('../_shared/cjs/index-9947ac13.js');
|
|
8
|
+
var Surface = require('../_shared/cjs/Surface-ca708a8c.js');
|
|
7
9
|
|
|
8
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
11
|
|
|
10
12
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
13
|
|
|
12
14
|
/**
|
|
13
|
-
* Use `Rule` to display a horizontal rule.
|
|
15
|
+
* Use `Rule` to display a horizontal or vertical rule.
|
|
14
16
|
*/
|
|
15
|
-
var Rule = function (props) {
|
|
16
|
-
|
|
17
|
+
var Rule = function (_a, props) {
|
|
18
|
+
var _b;
|
|
19
|
+
var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
|
|
20
|
+
var surface = React.useContext(Surface.Context).surface;
|
|
21
|
+
return (React__default["default"].createElement("hr", index_es.__assign({ className: index.classNames((_b = {
|
|
22
|
+
"arc-Rule": true
|
|
23
|
+
},
|
|
24
|
+
_b["arc-Rule--".concat(orientation)] = true,
|
|
25
|
+
_b["arc-Rule--onDarkSurface"] = surface === "dark",
|
|
26
|
+
_b)) }, index_es.filterDataAttrs(props))));
|
|
17
27
|
};
|
|
18
28
|
|
|
19
29
|
exports.Rule = Rule;
|
package/dist/Rule/Rule.esm.js
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import { a as __assign, f as filterDataAttrs } from '../_shared/esm/
|
|
2
|
-
import React__default from 'react';
|
|
1
|
+
import { a as __assign, f as filterDataAttrs } from '../_shared/esm/index.es-fc59ba8f.js';
|
|
2
|
+
import React__default, { useContext } from 'react';
|
|
3
|
+
import { c as classNames } from '../_shared/esm/index-2e73c2e9.js';
|
|
4
|
+
import { C as Context } from '../_shared/esm/Surface-201aa0d6.js';
|
|
3
5
|
|
|
4
6
|
/**
|
|
5
|
-
* Use `Rule` to display a horizontal rule.
|
|
7
|
+
* Use `Rule` to display a horizontal or vertical rule.
|
|
6
8
|
*/
|
|
7
|
-
var Rule = function (props) {
|
|
8
|
-
|
|
9
|
+
var Rule = function (_a, props) {
|
|
10
|
+
var _b;
|
|
11
|
+
var _c = _a.orientation, orientation = _c === void 0 ? "horizontal" : _c;
|
|
12
|
+
var surface = useContext(Context).surface;
|
|
13
|
+
return (React__default.createElement("hr", __assign({ className: classNames((_b = {
|
|
14
|
+
"arc-Rule": true
|
|
15
|
+
},
|
|
16
|
+
_b["arc-Rule--".concat(orientation)] = true,
|
|
17
|
+
_b["arc-Rule--onDarkSurface"] = surface === "dark",
|
|
18
|
+
_b)) }, filterDataAttrs(props))));
|
|
9
19
|
};
|
|
10
20
|
|
|
11
21
|
export { Rule };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc .arc-Rule{background-color:var(--rule-colors-light-border-subtle);border:0;color:var(--rule-colors-light-border-subtle)}.arc .arc-Rule--horizontal{height:var(--rule-border-weight-s);margin-bottom:0;margin-top:0}.arc .arc-Rule--vertical{height:100%;margin-left:0;margin-right:0;width:var(--rule-border-weight-s)}.arc .arc-Rule--onDarkSurface{background-color:var(--rule-colors-dark-border-subtle);color:var(--rule-colors-dark-border-subtle)}
|
|
@@ -2,23 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var index_es = require('../_shared/cjs/index.es-0c2c97f4.js');
|
|
6
6
|
var index = require('../_shared/cjs/index-9947ac13.js');
|
|
7
7
|
var React = require('react');
|
|
8
|
-
var debounce = require('../_shared/cjs/debounce-
|
|
9
|
-
var Surface = require('../_shared/cjs/Surface-
|
|
10
|
-
var
|
|
11
|
-
require('../_shared/cjs/
|
|
8
|
+
var debounce = require('../_shared/cjs/debounce-a74c28cf.js');
|
|
9
|
+
var Surface = require('../_shared/cjs/Surface-ca708a8c.js');
|
|
10
|
+
var Icon = require('../_shared/cjs/Icon-5dd78f2b.js');
|
|
11
|
+
require('../_shared/cjs/_commonjsHelpers-56412ec5.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
14
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
16
|
|
|
17
|
+
const BtIconArrowAltUp = (props) =>
|
|
18
|
+
/*#__PURE__*/ React__default["default"].createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
Object.assign(
|
|
21
|
+
{
|
|
22
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23
|
+
viewBox: "0 0 32 32",
|
|
24
|
+
},
|
|
25
|
+
props,
|
|
26
|
+
),
|
|
27
|
+
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
28
|
+
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
29
|
+
d: "M20.35352,13.14648,16,8.793l-4.35352,4.35352a.49995.49995,0,0,0,.707.707L15.5,10.707V22.5a.5.5,0,0,0,1,0V10.707l3.14648,3.14648a.49995.49995,0,0,0,.707-.707Z",
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
}),
|
|
32
|
+
);
|
|
33
|
+
|
|
17
34
|
/**
|
|
18
35
|
* Use `ScrollToTop` to allow the user to scroll to the top of the page by clicking a button.
|
|
19
36
|
*/
|
|
20
37
|
var ScrollToTop = function (_a) {
|
|
21
|
-
var _b = _a.appear, appear = _b === void 0 ? "always" : _b, _c = _a.isFixed, isFixed = _c === void 0 ? true : _c, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, props =
|
|
38
|
+
var _b = _a.appear, appear = _b === void 0 ? "always" : _b, _c = _a.isFixed, isFixed = _c === void 0 ? true : _c, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, _e = _a.zIndex, zIndex = _e === void 0 ? 100 : _e, props = index_es.__rest(_a, ["appear", "isFixed", "fill", "zIndex"]);
|
|
22
39
|
var _f = React.useState(false), hasScrolled = _f[0], setHasScrolled = _f[1];
|
|
23
40
|
var surface = React.useContext(Surface.Context).surface;
|
|
24
41
|
React.useEffect(function () {
|
|
@@ -34,17 +51,17 @@ var ScrollToTop = function (_a) {
|
|
|
34
51
|
behavior: "smooth"
|
|
35
52
|
});
|
|
36
53
|
};
|
|
37
|
-
return (React__default["default"].createElement("button",
|
|
54
|
+
return (React__default["default"].createElement("button", index_es.__assign({ onClick: onClick, style: {
|
|
38
55
|
zIndex: zIndex
|
|
39
56
|
}, className: index.classNames("arc-ScrollToTop", "arc-ScrollToTop--".concat(fill), {
|
|
40
57
|
"arc-ScrollToTop--fixed": isFixed,
|
|
41
58
|
"arc-ScrollToTop--onDarkSurface": surface === "dark",
|
|
42
59
|
"arc-ScrollToTop--visible": appear === "always" || (appear === "afterScroll" && hasScrolled)
|
|
43
|
-
}) },
|
|
60
|
+
}) }, index_es.filterDataAttrs(props)),
|
|
44
61
|
React__default["default"].createElement("div", { className: "arc-ScrollToTop-textWrapper" },
|
|
45
|
-
React__default["default"].createElement("span", { className: "arc-ScrollToTop-text" }, "
|
|
62
|
+
React__default["default"].createElement("span", { className: "arc-ScrollToTop-text" }, "Back to top")),
|
|
46
63
|
React__default["default"].createElement("span", { className: "arc-ScrollToTop-iconContainer" },
|
|
47
|
-
React__default["default"].createElement(
|
|
64
|
+
React__default["default"].createElement(Icon.Icon, { size: 44, icon: BtIconArrowAltUp }))));
|
|
48
65
|
};
|
|
49
66
|
|
|
50
67
|
exports.ScrollToTop = ScrollToTop;
|
|
@@ -1,10 +1,27 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index.es-fc59ba8f.js';
|
|
2
2
|
import { c as classNames } from '../_shared/esm/index-2e73c2e9.js';
|
|
3
3
|
import React__default, { useState, useContext, useEffect } from 'react';
|
|
4
|
-
import { d as debounce_1 } from '../_shared/esm/debounce-
|
|
5
|
-
import { C as Context } from '../_shared/esm/Surface-
|
|
6
|
-
import {
|
|
7
|
-
import '../_shared/esm/
|
|
4
|
+
import { d as debounce_1 } from '../_shared/esm/debounce-c8e41002.js';
|
|
5
|
+
import { C as Context } from '../_shared/esm/Surface-201aa0d6.js';
|
|
6
|
+
import { I as Icon } from '../_shared/esm/Icon-6fef56b3.js';
|
|
7
|
+
import '../_shared/esm/_commonjsHelpers-0109d574.js';
|
|
8
|
+
|
|
9
|
+
const BtIconArrowAltUp = (props) =>
|
|
10
|
+
/*#__PURE__*/ React__default.createElement(
|
|
11
|
+
"svg",
|
|
12
|
+
Object.assign(
|
|
13
|
+
{
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
viewBox: "0 0 32 32",
|
|
16
|
+
},
|
|
17
|
+
props,
|
|
18
|
+
),
|
|
19
|
+
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
20
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
21
|
+
d: "M20.35352,13.14648,16,8.793l-4.35352,4.35352a.49995.49995,0,0,0,.707.707L15.5,10.707V22.5a.5.5,0,0,0,1,0V10.707l3.14648,3.14648a.49995.49995,0,0,0,.707-.707Z",
|
|
22
|
+
fill: "currentColor",
|
|
23
|
+
}),
|
|
24
|
+
);
|
|
8
25
|
|
|
9
26
|
/**
|
|
10
27
|
* Use `ScrollToTop` to allow the user to scroll to the top of the page by clicking a button.
|
|
@@ -34,9 +51,9 @@ var ScrollToTop = function (_a) {
|
|
|
34
51
|
"arc-ScrollToTop--visible": appear === "always" || (appear === "afterScroll" && hasScrolled)
|
|
35
52
|
}) }, filterDataAttrs(props)),
|
|
36
53
|
React__default.createElement("div", { className: "arc-ScrollToTop-textWrapper" },
|
|
37
|
-
React__default.createElement("span", { className: "arc-ScrollToTop-text" }, "
|
|
54
|
+
React__default.createElement("span", { className: "arc-ScrollToTop-text" }, "Back to top")),
|
|
38
55
|
React__default.createElement("span", { className: "arc-ScrollToTop-iconContainer" },
|
|
39
|
-
React__default.createElement(
|
|
56
|
+
React__default.createElement(Icon, { size: 44, icon: BtIconArrowAltUp }))));
|
|
40
57
|
};
|
|
41
58
|
|
|
42
59
|
export { ScrollToTop };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc .arc-ScrollToTop{align-items:center;border-radius:var(--backtotop-border-radius-m);box-shadow:var(--elevation-02);cursor:pointer;display:flex;font-family:inherit;font-size:inherit;justify-content:center;margin:0;overflow:hidden;padding:0;visibility:hidden}.arc .arc-ScrollToTop--visible{visibility:visible}.arc .arc-ScrollToTop--fixed{bottom:20px;position:fixed;right:20px}.arc .arc-ScrollToTop-textWrapper{width:0}.arc .arc-ScrollToTop-text{display:block;padding-left:var(--backtotop-padding-m);text-align:left;white-space:nowrap}@media (hover:hover){.arc .arc-ScrollToTop:hover .arc-ScrollToTop-textWrapper{width:auto}}.arc .arc-ScrollToTop:focus-visible .arc-ScrollToTop-textWrapper,.arc .arc-ScrollToTop:active .arc-ScrollToTop-textWrapper{width:auto}.arc .arc-ScrollToTop--solid{background-color:var(--backtotop-colors-light-bg-default);border:var(--backtotop-border-weight-m) solid var(--backtotop-colors-light-border-strong);color:var(--backtotop-colors-light-text-default-alt)}.arc .arc-ScrollToTop--solid .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-default)}@media (hover:hover){.arc .arc-ScrollToTop--solid:hover,.arc .arc-ScrollToTop--solid:hover .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-hover)}}.arc .arc-ScrollToTop:focus-visible{outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px}.arc .arc-ScrollToTop--solid:focus-visible{background-color:var(--backtotop-colors-light-bg-selected)}.arc .arc-ScrollToTop--solid:focus-visible .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-selected)}.arc .arc-ScrollToTop--solid:active,.arc .arc-ScrollToTop--solid:active .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-selected)}.arc .arc-ScrollToTop--outlined{background-color:var(--backtotop-colors-light-bg-strong);border:var(--backtotop-border-weight-m) solid var(--backtotop-colors-light-border-default);color:var(--backtotop-colors-light-text-default)}.arc .arc-ScrollToTop--outlined .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-strong)}.arc .arc-ScrollToTop--outlined:active{background-color:var(--backtotop-colors-light-bg-subtle);border-color:var(--backtotop-colors-light-border-selected)}.arc .arc-ScrollToTop--outlined:active .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-light-bg-subtle)}.arc .arc-ScrollToTop--onDarkSurface{box-shadow:var(--elevation-02)}.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--solid{background-color:var(--backtotop-colors-dark-bg-default);border-color:var(--backtotop-colors-dark-border-strong);color:var(--backtotop-colors-dark-fg-default)}.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--solid .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-dark-bg-default)}@media (hover:hover){.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--solid:hover,.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--solid:hover .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-dark-bg-hover)}}.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--solid:focus-visible{background-color:var(--backtotop-colors-dark-bg-selected);border:var(--backtotop-border-weight-m) solid var(--backtotop-colors-dark-border-focus)}.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--solid:focus-visible .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-dark-bg-selected)}.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--solid:active,.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--solid:active .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-dark-bg-selected)}.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--outlined{background-color:var(--backtotop-colors-dark-bg-strong);border-color:var(--backtotop-colors-dark-border-default);color:var(--backtotop-colors-dark-text-default-alt)}.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--outlined .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-dark-bg-strong)}/* ! selected token being used in hover */@media (hover:hover){.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--outlined:hover{background-color:var(--backtotop-colors-dark-bg-strong);border-color:var(--backtotop-colors-dark-border-hover)}.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--outlined:hover .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-dark-bg-strong)}}.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--outlined:focus-visible{border:var(--backtotop-border-weight-m) solid var(--backtotop-colors-dark-border-focus)}/* ! hover tokens used on active state */.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--outlined:active{background-color:var(--backtotop-colors-dark-bg-subtle);border-color:var(--backtotop-colors-dark-border-selected)}.arc .arc-ScrollToTop--onDarkSurface.arc-ScrollToTop--outlined:active .arc-ScrollToTop-iconContainer{background-color:var(--backtotop-colors-dark-bg-subtle)}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Section = require('../_shared/cjs/Section-
|
|
6
|
-
require('../_shared/cjs/
|
|
5
|
+
var Section = require('../_shared/cjs/Section-4415d756.js');
|
|
6
|
+
require('../_shared/cjs/index.es-0c2c97f4.js');
|
|
7
7
|
require('../_shared/cjs/index-9947ac13.js');
|
|
8
8
|
require('react');
|
|
9
9
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as Section } from '../_shared/esm/Section-
|
|
2
|
-
import '../_shared/esm/
|
|
1
|
+
export { S as Section } from '../_shared/esm/Section-3ab74edb.js';
|
|
2
|
+
import '../_shared/esm/index.es-fc59ba8f.js';
|
|
3
3
|
import '../_shared/esm/index-2e73c2e9.js';
|
|
4
4
|
import 'react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc .arc-Section{margin-left:auto;margin-right:auto;max-width:var(--arc-size-section-width-s);padding-left:var(--arc-size-section-margin-s);padding-right:var(--arc-size-section-margin-s);position:relative;width:100%}@media (min-width:636px){.arc .arc-Section{max-width:var(--arc-size-section-width-m);padding-left:var(--arc-size-section-margin-m);padding-right:var(--arc-size-section-margin-m)}}@media (min-width:1024px){.arc .arc-Section{max-width:var(--arc-size-section-width-l);padding-left:var(--arc-size-section-margin-l);padding-right:var(--arc-size-section-margin-l)}}.arc .arc-Section--fullWidth{max-width:100%}.arc .arc-Section--debugVisible::after{align-items:center;background:rgba(207,58,138,0.5);bottom:0;content:"Section";display:flex;justify-content:center;left:0;outline:1px dashed #cf3a8a;outline-offset:-1px;position:absolute;right:0;top:0}
|