@arc-ui/components 12.0.0-beta.6 → 12.0.0-beta.8
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 +4 -4
- package/dist/Alert/Alert.esm.js +4 -4
- package/dist/Alert/styles.css +1 -1
- package/dist/Align/Align.cjs.js +1 -1
- package/dist/Align/Align.esm.js +1 -1
- package/dist/AppButton/AppButton.cjs.js +2 -2
- package/dist/AppButton/AppButton.esm.js +2 -2
- package/dist/Avatar/Avatar.cjs.js +6 -6
- package/dist/Avatar/Avatar.esm.js +6 -6
- package/dist/AvatarGroup/AvatarGroup.cjs.js +6 -6
- package/dist/AvatarGroup/AvatarGroup.esm.js +6 -6
- package/dist/Badge/Badge.cjs.js +5 -12
- package/dist/Badge/Badge.esm.js +4 -11
- package/dist/Box/Box.cjs.js +6 -24
- package/dist/Box/Box.esm.js +5 -23
- package/dist/Box/styles.css +1 -1
- package/dist/BrandLogo/BrandLogo.cjs.js +3 -3
- package/dist/BrandLogo/BrandLogo.esm.js +3 -3
- package/dist/BrandLogo/styles.css +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +5 -4
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +5 -4
- package/dist/Breadcrumbs/styles.css +1 -1
- package/dist/Button/Button.cjs.js +5 -5
- package/dist/Button/Button.esm.js +5 -5
- package/dist/Button/styles.css +1 -1
- package/dist/ButtonV2/ButtonV2.cjs.js +5 -5
- package/dist/ButtonV2/ButtonV2.esm.js +5 -5
- package/dist/ButtonV2/styles.css +1 -1
- package/dist/Calendar/Calendar.cjs.js +9 -9
- package/dist/Calendar/Calendar.esm.js +9 -9
- package/dist/Calendar/styles.css +1 -1
- package/dist/CardFooter/CardFooter.cjs.js +6 -6
- package/dist/CardFooter/CardFooter.esm.js +6 -6
- package/dist/CardFooter/styles.css +1 -1
- package/dist/CardHeading/CardHeading.cjs.js +4 -4
- package/dist/CardHeading/CardHeading.esm.js +4 -4
- 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 -1
- package/dist/Columns/Columns.cjs.js +2 -2
- package/dist/Columns/Columns.esm.js +2 -2
- 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 +16 -16
- package/dist/DatePicker/DatePicker.esm.js +16 -16
- package/dist/Disclosure/Disclosure.cjs.js +4 -4
- package/dist/Disclosure/Disclosure.esm.js +4 -4
- package/dist/Disclosure/styles.css +1 -1
- package/dist/DisclosureMini/DisclosureMini.cjs.js +5 -5
- package/dist/DisclosureMini/DisclosureMini.esm.js +5 -5
- 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 +1 -1
- package/dist/Elevation/Elevation.esm.js +1 -1
- package/dist/Elevation/styles.css +1 -1
- package/dist/Filter/Filter.cjs.js +4 -4
- package/dist/Filter/Filter.esm.js +4 -4
- package/dist/FormControl/FormControl.cjs.js +7 -7
- package/dist/FormControl/FormControl.esm.js +7 -7
- package/dist/Grid/Grid.cjs.js +2 -2
- package/dist/Grid/Grid.esm.js +2 -2
- package/dist/Grid/styles.css +1 -1
- package/dist/Group/Group.cjs.js +3 -3
- package/dist/Group/Group.esm.js +3 -3
- package/dist/Heading/Heading.cjs.js +3 -3
- package/dist/Heading/Heading.esm.js +3 -3
- package/dist/Heading/styles.css +1 -1
- package/dist/HeroBanner/HeroBanner.cjs.js +63 -0
- package/dist/HeroBanner/HeroBanner.esm.js +55 -0
- package/dist/HeroBanner/package.json +7 -0
- package/dist/HeroBanner/styles.css +1 -0
- package/dist/HeroButton/HeroButton.cjs.js +5 -5
- package/dist/HeroButton/HeroButton.esm.js +5 -5
- package/dist/HeroButton/styles.css +1 -1
- package/dist/Hidden/Hidden.cjs.js +1 -1
- package/dist/Hidden/Hidden.esm.js +1 -1
- package/dist/Icon/Icon.cjs.js +3 -3
- package/dist/Icon/Icon.esm.js +3 -3
- package/dist/Image/Image.cjs.js +2 -2
- package/dist/Image/Image.esm.js +2 -2
- package/dist/ImpactCard/ImpactCard.cjs.js +10 -11
- package/dist/ImpactCard/ImpactCard.esm.js +10 -11
- package/dist/ImpactCard/styles.css +1 -1
- package/dist/InformationCard/InformationCard.cjs.js +34 -48
- package/dist/InformationCard/InformationCard.esm.js +34 -48
- package/dist/InformationCard/styles.css +1 -1
- package/dist/Link/Link.cjs.js +8 -8
- package/dist/Link/Link.esm.js +8 -8
- package/dist/Link/styles.css +1 -1
- package/dist/Markup/Markup.cjs.js +2 -2
- package/dist/Markup/Markup.esm.js +2 -2
- package/dist/MediaCard/MediaCard.cjs.js +13 -13
- package/dist/MediaCard/MediaCard.esm.js +13 -13
- package/dist/MediaCard/styles.css +1 -1
- package/dist/Modal/Modal.cjs.js +11 -11
- package/dist/Modal/Modal.esm.js +11 -11
- package/dist/Pagination/Pagination.cjs.js +3 -3
- package/dist/Pagination/Pagination.esm.js +3 -3
- package/dist/PaginationSimple/PaginationSimple.cjs.js +82 -13
- package/dist/PaginationSimple/PaginationSimple.esm.js +82 -13
- package/dist/PaginationSimple/styles.css +1 -1
- package/dist/Poster/Poster.cjs.js +4 -4
- package/dist/Poster/Poster.esm.js +4 -4
- package/dist/ProgressBar/ProgressBar.cjs.js +6 -6
- package/dist/ProgressBar/ProgressBar.esm.js +6 -6
- package/dist/ProgressStepper/ProgressStepper.cjs.js +5 -5
- package/dist/ProgressStepper/ProgressStepper.esm.js +5 -5
- package/dist/ProgressStepper/styles.css +1 -1
- package/dist/RadioGroup/RadioGroup.cjs.js +8 -8
- package/dist/RadioGroup/RadioGroup.esm.js +8 -8
- package/dist/RadioGroup/styles.css +1 -1
- package/dist/Rule/Rule.cjs.js +2 -2
- package/dist/Rule/Rule.esm.js +2 -2
- package/dist/Rule/styles.css +1 -1
- package/dist/ScrollToTop/ScrollToTop.cjs.js +21 -4
- package/dist/ScrollToTop/ScrollToTop.esm.js +21 -4
- package/dist/ScrollToTop/styles.css +1 -1
- package/dist/Section/Section.cjs.js +2 -2
- package/dist/Section/Section.esm.js +2 -2
- package/dist/Select/Select.cjs.js +29 -2204
- package/dist/Select/Select.esm.js +17 -2173
- package/dist/Select/styles.css +1 -1
- package/dist/SiteFooter/SiteFooter.cjs.js +7 -7
- package/dist/SiteFooter/SiteFooter.esm.js +7 -7
- package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +11 -10
- package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +11 -10
- package/dist/SiteHeaderV2/styles.css +1 -1
- package/dist/SkipLink/SkipLink.cjs.js +1 -1
- package/dist/SkipLink/SkipLink.esm.js +1 -1
- 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 -1
- package/dist/Switch/Switch.cjs.js +10 -10
- package/dist/Switch/Switch.esm.js +10 -10
- package/dist/Switch/styles.css +1 -1
- package/dist/Tabs/Tabs.cjs.js +9 -9
- package/dist/Tabs/Tabs.esm.js +9 -9
- package/dist/Tabs/styles.css +1 -1
- package/dist/Tag/Tag.cjs.js +77 -8
- package/dist/Tag/Tag.esm.js +76 -7
- package/dist/Tag/styles.css +1 -1
- package/dist/Text/Text.cjs.js +3 -3
- package/dist/Text/Text.esm.js +3 -3
- package/dist/TextArea/TextArea.cjs.js +55 -49
- package/dist/TextArea/TextArea.esm.js +55 -49
- package/dist/TextInput/TextInput.cjs.js +8 -9
- package/dist/TextInput/TextInput.esm.js +8 -9
- package/dist/Theme/Theme.cjs.js +5 -4
- package/dist/Theme/Theme.esm.js +5 -4
- package/dist/Theme/styles.css +1 -1
- package/dist/ThemeIcon/ThemeIcon.cjs.js +3 -3
- package/dist/ThemeIcon/ThemeIcon.esm.js +3 -3
- package/dist/ThemeIcon/styles.css +1 -1
- package/dist/Toast/Toast.cjs.js +8 -8
- package/dist/Toast/Toast.esm.js +8 -8
- package/dist/Toast/styles.css +1 -1
- package/dist/Truncate/Truncate.cjs.js +3 -3
- package/dist/Truncate/Truncate.esm.js +3 -3
- package/dist/TypographyCard/TypographyCard.cjs.js +9 -10
- package/dist/TypographyCard/TypographyCard.esm.js +9 -10
- package/dist/TypographyCard/styles.css +1 -1
- package/dist/UniversalHeader/UniversalHeader.cjs.js +3 -3
- package/dist/UniversalHeader/UniversalHeader.esm.js +3 -3
- package/dist/VerticalSpace/VerticalSpace.cjs.js +2 -2
- package/dist/VerticalSpace/VerticalSpace.esm.js +2 -2
- package/dist/VideoPlayer/VideoPlayer.cjs.js +37 -24
- package/dist/VideoPlayer/VideoPlayer.esm.js +37 -24
- package/dist/VideoPlayer/styles.css +1 -1
- package/dist/Visible/Visible.cjs.js +1 -1
- package/dist/Visible/Visible.esm.js +1 -1
- package/dist/VisuallyHidden/VisuallyHidden.cjs.js +2 -2
- package/dist/VisuallyHidden/VisuallyHidden.esm.js +2 -2
- package/dist/VisuallyHidden/styles.css +1 -1
- package/dist/_shared/cjs/{Avatar-9277512a.js → Avatar-7478d063.js} +4 -4
- package/dist/_shared/cjs/Badge-ca986033.js +17 -0
- package/dist/_shared/cjs/Box-e225b4a4.js +29 -0
- package/dist/_shared/cjs/{BrandLogo-ce65cd74.js → BrandLogo-bf632f2b.js} +2 -2
- package/dist/_shared/cjs/{Breadcrumbs-c7821aa9.js → Breadcrumbs-bb292a9e.js} +5 -4
- package/dist/_shared/cjs/BtIconArrowRight.esm-c78e3c11.js +30 -0
- package/dist/_shared/cjs/BtIconChevronRight2Px.esm-e8329e34.js +44 -0
- package/dist/_shared/cjs/BtIconChevronRightMid.esm-745faaca.js +28 -0
- package/dist/_shared/cjs/BtIconPlayFill.esm-7e848bd9.js +30 -0
- package/dist/_shared/cjs/{Button-ea665c9c.js → Button-76215474.js} +4 -4
- package/dist/_shared/cjs/{ButtonV2-373877da.js → ButtonV2-320f74b2.js} +13 -8
- package/dist/_shared/cjs/{Calendar-e5184158.js → Calendar-16ed5bec.js} +11 -11
- package/dist/_shared/cjs/CardFooter-6aa9a280.js +79 -0
- package/dist/_shared/cjs/{CardHeading-3ddcf774.js → CardHeading-30ef8abc.js} +2 -2
- package/dist/_shared/cjs/{Checkbox-850dcf99.js → Checkbox-4dbaac21.js} +12 -7
- package/dist/_shared/cjs/{Columns-5c6bab74.js → Columns-ff4977f8.js} +1 -1
- package/dist/_shared/cjs/{Combination-854a36ce.js → Combination-d19b4dc6.js} +2 -2
- package/dist/_shared/cjs/ContentSwitcher-1b789e2f.js +98 -0
- package/dist/_shared/cjs/ContentSwitcherDropdown-0de9f7e4.js +47 -0
- package/dist/_shared/cjs/{DatePicker-2bf10a10.js → DatePicker-a0f14025.js} +6 -23
- package/dist/_shared/cjs/{DisclosureMini-c730c24d.js → DisclosureMini-09ee2d12.js} +4 -4
- package/dist/_shared/cjs/Download-08d71049.js +43 -0
- package/dist/_shared/cjs/{Filter-c42eee70.js → Filter-60b0dd96.js} +3 -3
- package/dist/_shared/cjs/{FormControl-5c963e6e.js → FormControl-fa7bb586.js} +5 -5
- package/dist/_shared/cjs/{Grid-69ed0e5c.js → Grid-a50fb206.js} +1 -1
- package/dist/_shared/cjs/{Group-5233a907.js → Group-1aba9855.js} +2 -2
- package/dist/_shared/cjs/{Heading-14378b72.js → Heading-cb321adf.js} +5 -4
- package/dist/_shared/cjs/{HeroButton-db7d03d6.js → HeroButton-75e1ab78.js} +12 -12
- package/dist/_shared/cjs/{Icon-7f1e8a19.js → Icon-859c6c00.js} +16 -5
- package/dist/_shared/cjs/{Image-c8969ad9.js → Image-b807e951.js} +1 -1
- package/dist/_shared/cjs/{MediaCard-4ff9f5c0.js → MediaCard-8101ae8b.js} +9 -9
- package/dist/_shared/cjs/{Poster-8fba5492.js → Poster-46b6803e.js} +3 -3
- package/dist/_shared/cjs/{ProgressStepper-aaff6b51.js → ProgressStepper-5fb2e7ac.js} +8 -32
- package/dist/_shared/cjs/{RadioGroup-6142dceb.js → RadioGroup-f8963bd2.js} +4 -4
- package/dist/_shared/cjs/{Section-46646353.js → Section-bee4a090.js} +1 -1
- package/dist/_shared/cjs/{SiteFooter-cfe7163f.js → SiteFooter-3fee99ae.js} +6 -6
- package/dist/_shared/cjs/{SiteHeaderV2-043d976a.js → SiteHeaderV2-0f072158.js} +16 -49
- package/dist/_shared/cjs/Spinner-2a1d9f20.js +24 -0
- package/dist/_shared/cjs/{Surface-7500f314.js → Surface-4bc47dcb.js} +3 -2
- package/dist/_shared/cjs/Tabs-ba44ea49.js +90 -0
- package/dist/_shared/cjs/{Text-284a7314.js → Text-f6be8fdd.js} +5 -4
- package/dist/_shared/cjs/{TextInput-bcc3f86c.js → TextInput-9d9a53ac.js} +6 -6
- package/dist/_shared/cjs/{ThemeIcon-c3dc056d.js → ThemeIcon-6b10d20a.js} +2 -2
- package/dist/_shared/cjs/{Toast-69020185.js → Toast-a33b5a2e.js} +6 -6
- package/dist/_shared/cjs/{UniversalHeader-07be88fd.js → UniversalHeader-114ac8f5.js} +2 -2
- package/dist/_shared/cjs/{VerticalSpace-973deefe.js → VerticalSpace-3908ae62.js} +1 -1
- package/dist/_shared/cjs/{VisuallyHidden-25393f58.js → VisuallyHidden-821078c9.js} +1 -1
- package/dist/_shared/cjs/{component-4e71e3d3.js → component-ae4b7058.js} +1 -1
- package/dist/_shared/cjs/{Tabs-bd1f208d.js → index-1e7a1fce.js} +8 -92
- package/dist/_shared/cjs/{index-6cbaf5e0.js → index-2bf59363.js} +1 -1
- package/dist/_shared/cjs/{index-dbab0ad6.js → index-527f962b.js} +1 -1
- package/dist/_shared/cjs/index-6b0bf2cc.js +2204 -0
- package/dist/_shared/cjs/{index-568bc1da.js → index-879e71ee.js} +7 -7
- package/dist/_shared/cjs/{index-c137700a.js → index-ba3141f5.js} +1 -1
- package/dist/_shared/cjs/{index-677557a4.js → index-dbc843d3.js} +1 -1
- package/dist/_shared/cjs/{index.es-ba095ee5.js → index.es-11fc5df7.js} +2 -2
- package/dist/_shared/cjs/{index.es-c26e8978.js → index.es-b404d2c5.js} +123 -0
- package/dist/_shared/esm/{Avatar-b5ac0a89.js → Avatar-b2fde5c6.js} +4 -4
- package/dist/_shared/esm/Badge-a6bda4a7.js +11 -0
- package/dist/_shared/esm/Box-2a1645ed.js +23 -0
- package/dist/_shared/esm/{BrandLogo-fb863b5b.js → BrandLogo-3424eb79.js} +2 -2
- package/dist/_shared/esm/{Breadcrumbs-01ebed9b.js → Breadcrumbs-7de7bfa5.js} +5 -4
- package/dist/_shared/esm/BtIconArrowRight.esm-8bcaa8ad.js +24 -0
- package/dist/_shared/esm/BtIconChevronRight2Px.esm-84262845.js +37 -0
- package/dist/_shared/esm/BtIconChevronRightMid.esm-f67f0ca3.js +22 -0
- package/dist/_shared/esm/BtIconPlayFill.esm-ec2797a0.js +24 -0
- package/dist/_shared/esm/{Button-1491784f.js → Button-9cab8eec.js} +4 -4
- package/dist/_shared/esm/{ButtonV2-f9019e00.js → ButtonV2-4dc8830e.js} +13 -8
- package/dist/_shared/esm/{Calendar-5c2fb044.js → Calendar-e3f8c4f0.js} +11 -11
- package/dist/_shared/esm/CardFooter-2902bd84.js +73 -0
- package/dist/_shared/esm/{CardHeading-4223432d.js → CardHeading-6d3dbfad.js} +2 -2
- package/dist/_shared/esm/{Checkbox-97def257.js → Checkbox-f40de2e9.js} +12 -7
- package/dist/_shared/esm/{Columns-9aa5df4a.js → Columns-5e02e601.js} +1 -1
- package/dist/_shared/esm/{Combination-2af75870.js → Combination-a063f96d.js} +2 -2
- package/dist/_shared/esm/ContentSwitcher-e0bd73a7.js +92 -0
- package/dist/_shared/esm/ContentSwitcherDropdown-306b4660.js +41 -0
- package/dist/_shared/esm/{DatePicker-2d891441.js → DatePicker-3f82e2c4.js} +6 -23
- package/dist/_shared/esm/{DisclosureMini-6292f721.js → DisclosureMini-60cb2a6c.js} +4 -4
- package/dist/_shared/esm/Download-a5443778.js +37 -0
- package/dist/_shared/esm/{Filter-71e06965.js → Filter-bc821cbc.js} +3 -3
- package/dist/_shared/esm/{FormControl-e0acdf7a.js → FormControl-7ff0a178.js} +5 -5
- package/dist/_shared/esm/{Grid-727d05d6.js → Grid-75251350.js} +1 -1
- package/dist/_shared/esm/{Group-b1b14ab4.js → Group-b4e10621.js} +2 -2
- package/dist/_shared/esm/{Heading-0dfbdb24.js → Heading-14df0c64.js} +5 -4
- package/dist/_shared/esm/{HeroButton-bb983125.js → HeroButton-1221bd94.js} +12 -12
- package/dist/_shared/esm/{Icon-428e8061.js → Icon-3e813b34.js} +16 -5
- package/dist/_shared/esm/{Image-c1dc10b5.js → Image-85c39506.js} +1 -1
- package/dist/_shared/esm/{MediaCard-d83b5561.js → MediaCard-387c8f11.js} +9 -9
- package/dist/_shared/esm/{Poster-ac72059a.js → Poster-adcd3ba3.js} +3 -3
- package/dist/_shared/esm/{ProgressStepper-e3e7b392.js → ProgressStepper-72b070a8.js} +8 -32
- package/dist/_shared/esm/{RadioGroup-0d337240.js → RadioGroup-6e657cee.js} +4 -4
- package/dist/_shared/esm/{Section-c1dc6e37.js → Section-b9caea45.js} +1 -1
- package/dist/_shared/esm/{SiteFooter-7e924fb4.js → SiteFooter-61b4ae63.js} +6 -6
- package/dist/_shared/esm/{SiteHeaderV2-94b9a407.js → SiteHeaderV2-1fde7d20.js} +9 -42
- package/dist/_shared/esm/Spinner-9d28043d.js +18 -0
- package/dist/_shared/esm/{Surface-c425e5e6.js → Surface-56d329b0.js} +3 -2
- package/dist/_shared/esm/Tabs-276a0836.js +84 -0
- package/dist/_shared/esm/{Text-96d8a35f.js → Text-98ad2e78.js} +5 -4
- package/dist/_shared/esm/{TextInput-8e3b81bf.js → TextInput-eccd0140.js} +6 -6
- package/dist/_shared/esm/{ThemeIcon-9fac63d0.js → ThemeIcon-810de4bc.js} +2 -2
- package/dist/_shared/esm/{Toast-ebe2cd97.js → Toast-62932e3b.js} +6 -6
- package/dist/_shared/esm/{UniversalHeader-22ff848b.js → UniversalHeader-370d7fa4.js} +2 -2
- package/dist/_shared/esm/{VerticalSpace-6a3533db.js → VerticalSpace-549fbdc8.js} +1 -1
- package/dist/_shared/esm/{VisuallyHidden-cf45ac18.js → VisuallyHidden-fee374a8.js} +1 -1
- package/dist/_shared/esm/{component-3e60a45e.js → component-94b3dbfe.js} +1 -1
- package/dist/_shared/esm/{index-61497bd9.js → index-14c7f4da.js} +1 -1
- package/dist/_shared/esm/index-24509173.js +2169 -0
- package/dist/_shared/esm/{index-3a2c1ceb.js → index-57d4cb34.js} +10 -10
- package/dist/_shared/esm/{Tabs-028cee5d.js → index-89a7c31c.js} +6 -89
- package/dist/_shared/esm/{index-cf208294.js → index-ac50b180.js} +1 -1
- package/dist/_shared/esm/{index-fb8b9df7.js → index-b9923ee4.js} +8 -8
- package/dist/_shared/esm/{index-f6cc48d2.js → index-e969452b.js} +1 -1
- package/dist/_shared/esm/{index-d083425f.js → index-f2ddcbe2.js} +1 -1
- package/dist/_shared/esm/{index.es-5496ec12.js → index.es-4921e8dd.js} +123 -1
- package/dist/_shared/esm/{index.es-974af4a2.js → index.es-52a3bcff.js} +2 -2
- package/dist/index.es.js +9899 -9531
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +9902 -9530
- package/dist/index.js.map +1 -1
- package/dist/styles.css +9 -7
- package/dist/types/components/Avatar/index.d.ts +1 -1
- package/dist/types/components/Box/Box.d.ts +4 -0
- package/dist/types/components/ButtonV2/ButtonV2.d.ts +2 -2
- 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 +1 -1
- package/dist/types/components/ContentSwitcher/ContentSwitcher.d.ts +28 -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 +37 -0
- package/dist/types/components/ContentSwitcherDropdown/index.d.ts +1 -0
- package/dist/types/components/Disclosure/index.d.ts +1 -1
- package/dist/types/components/Download/Download.d.ts +41 -0
- package/dist/types/components/Download/index.d.ts +1 -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 +52 -0
- package/dist/types/components/HeroBanner/index.d.ts +1 -0
- package/dist/types/components/Icon/Icon.d.ts +2 -2
- package/dist/types/components/ImpactCard/index.d.ts +1 -1
- package/dist/types/components/InformationCard/InformationCard.d.ts +2 -2
- package/dist/types/components/InformationCard/index.d.ts +1 -1
- package/dist/types/components/MediaCard/index.d.ts +1 -1
- package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +24 -16
- 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 +4 -0
- package/dist/types/components/Tabs/TabsList/TabsList.d.ts +5 -0
- package/dist/types/components/Text/Text.d.ts +4 -0
- package/dist/types/components/TextInput/TextInput.d.ts +2 -2
- package/dist/types/components/ThemeIcon/icon-names.d.ts +1 -1
- package/dist/types/components/Truncate/Truncate.d.ts +1 -1
- package/dist/types/components/TypographyCard/index.d.ts +1 -1
- package/dist/types/components/VideoPlayer/VideoPlayer.d.ts +9 -0
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/styles.d.ts +6 -1
- package/package.json +21 -18
- package/dist/_shared/cjs/ArcIconEclipse.esm-ac777a76.js +0 -28
- package/dist/_shared/cjs/BtIconArrowRight.esm-6053bb79.js +0 -30
- package/dist/_shared/cjs/BtIconChevronRightMid.esm-3e8d18a9.js +0 -28
- package/dist/_shared/cjs/BtIconPlayFill.esm-b8997cfc.js +0 -30
- package/dist/_shared/cjs/CardFooter-a1bb3ded.js +0 -79
- package/dist/_shared/cjs/Tag-4eb2ed9e.js +0 -44
- package/dist/_shared/esm/ArcIconEclipse.esm-bb48b82a.js +0 -22
- package/dist/_shared/esm/BtIconArrowRight.esm-93da96bb.js +0 -24
- package/dist/_shared/esm/BtIconChevronRightMid.esm-4764708f.js +0 -22
- package/dist/_shared/esm/BtIconPlayFill.esm-05fc0344.js +0 -24
- package/dist/_shared/esm/CardFooter-e4380cda.js +0 -73
- package/dist/_shared/esm/Tag-1ae027ee.js +0 -38
- package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Todo.d.ts +0 -2
- package/dist/_shared/cjs/{index-6f33b8c0.js → index-76f7dd53.js} +8 -8
|
@@ -1,62 +1,39 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
4
|
-
import { V as VisuallyHidden } from './VisuallyHidden-
|
|
5
|
-
import { I as Icon } from './Icon-
|
|
4
|
+
import { V as VisuallyHidden } from './VisuallyHidden-fee374a8.js';
|
|
5
|
+
import { I as Icon } from './Icon-3e813b34.js';
|
|
6
6
|
|
|
7
7
|
var Error = function () { return (React__default.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
8
8
|
React__default.createElement("g", { clipPath: "url(#a)" },
|
|
9
9
|
React__default.createElement("path", { d: "m13.06 12 2.845-2.845a.75.75 0 0 0-1.06-1.06L12 10.94 9.155 8.095a.75.75 0 0 0-1.06 1.06L10.939 12l-2.844 2.845a.75.75 0 1 0 1.06 1.06L12 13.061l2.845 2.844a.75.75 0 0 0 1.06-1.06L13.06 12Z", fill: "currentColor" })),
|
|
10
|
-
React__default.createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", strokeWidth: "1.333" }),
|
|
11
10
|
React__default.createElement("defs", null,
|
|
12
11
|
React__default.createElement("clipPath", { id: "a" },
|
|
13
12
|
React__default.createElement("rect", { width: "24", height: "24", rx: "12" }))))); };
|
|
14
13
|
|
|
15
14
|
var Warning = function () { return (React__default.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
16
|
-
React__default.createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", strokeWidth: "1.333" }),
|
|
17
15
|
React__default.createElement("path", { d: "M12 15.747a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm.004-1.487a.375.375 0 0 0 .375-.375l.001-6.757a.375.375 0 1 0-.75 0l-.001 6.757a.375.375 0 0 0 .375.375Z", fill: "currentColor", stroke: "currentColor", strokeWidth: ".3" }))); };
|
|
18
16
|
|
|
19
17
|
var Complete = function () { return (React__default.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
20
18
|
React__default.createElement("g", { clipPath: "url(#a)" },
|
|
21
19
|
React__default.createElement("path", { d: "m10.125 16.435-3.53-3.53a.75.75 0 0 1 0-1.06.768.768 0 0 1 1.06 0l2.47 2.47 6.22-6.22a.75.75 0 1 1 1.06 1.06l-7.28 7.28Z", fill: "currentColor" })),
|
|
22
|
-
React__default.createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", strokeWidth: "1.333" }),
|
|
23
20
|
React__default.createElement("defs", null,
|
|
24
21
|
React__default.createElement("clipPath", null,
|
|
25
22
|
React__default.createElement("rect", { width: "24", height: "24", rx: "12" }))))); };
|
|
26
23
|
|
|
27
24
|
var Current = function () { return (React__default.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
28
|
-
React__default.createElement("rect", { x: "0.666667", y: "0.666667", width: "22.6667", height: "22.6667", rx: "11.3333", stroke: "url(#paint0_linear_1_1050)", strokeWidth: "1.33333" }),
|
|
29
25
|
React__default.createElement("circle", { cx: "12", cy: "12", r: "7", fill: "currentColor" }),
|
|
30
26
|
React__default.createElement("defs", null,
|
|
31
27
|
React__default.createElement("linearGradient", { id: "paint0_linear_1_1050", x1: "36.6036", y1: "-4.31391e-07", x2: "-12.6036", y2: "24", gradientUnits: "userSpaceOnUse" },
|
|
32
28
|
React__default.createElement("stop", { stopColor: "#F200F5" }),
|
|
33
29
|
React__default.createElement("stop", { offset: "1", stopColor: "#1EC8E6" }))))); };
|
|
34
30
|
|
|
35
|
-
var Todo = function () { return (React__default.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
36
|
-
React__default.createElement("rect", { x: ".667", y: ".667", width: "22.667", height: "22.667", rx: "11.333", stroke: "currentColor", strokeWidth: "1.333" }))); };
|
|
37
|
-
|
|
38
31
|
// export current step as an icon
|
|
39
32
|
var ProgressStepperItem = function (_a) {
|
|
40
|
-
// TODO: Revise icons missing in BT theme
|
|
41
|
-
// const statusIcons: Record<
|
|
42
|
-
// Exclude<ProgressStatus, "todo">,
|
|
43
|
-
// Extract<
|
|
44
|
-
// ThemeIconNames,
|
|
45
|
-
// | "progressStepperComplete"
|
|
46
|
-
// | "progressStepperCurrent"
|
|
47
|
-
// | "progressStepperWarning"
|
|
48
|
-
// | "progressStepperError"
|
|
49
|
-
// >
|
|
50
|
-
// > = {
|
|
51
|
-
// completed: "progressStepperComplete",
|
|
52
|
-
// current: "progressStepperCurrent",
|
|
53
|
-
// warning: "progressStepperWarning",
|
|
54
|
-
// error: "progressStepperError",
|
|
55
|
-
// };
|
|
56
33
|
var _b;
|
|
57
34
|
var title = _a.title, titleHref = _a.titleHref, subTitle = _a.subTitle, _c = _a.direction, direction = _c === void 0 ? "horizontal" : _c, _d = _a.status, status = _d === void 0 ? "todo" : _d, _e = _a.size, size = _e === void 0 ? "large" : _e, isFluid = _a.isFluid, ariaLabel = _a.ariaLabel, onClick = _a.onClick, previousStep = _a.previousStep, stepContent = _a.stepContent, isStepContentHidden = _a.isStepContentHidden, props = __rest(_a, ["title", "titleHref", "subTitle", "direction", "status", "size", "isFluid", "ariaLabel", "onClick", "previousStep", "stepContent", "isStepContentHidden"]);
|
|
58
35
|
var statusIcons = {
|
|
59
|
-
todo:
|
|
36
|
+
todo: undefined,
|
|
60
37
|
completed: Complete,
|
|
61
38
|
current: Current,
|
|
62
39
|
warning: Warning,
|
|
@@ -77,11 +54,10 @@ var ProgressStepperItem = function (_a) {
|
|
|
77
54
|
_b["arc-ProgressStepperItem--hasInteractiveStatus"] = status !== "todo",
|
|
78
55
|
_b)) }, filterDataAttrs(props)),
|
|
79
56
|
React__default.createElement("div", { className: "arc-ProgressStepperItem-iconSection" },
|
|
80
|
-
React__default.createElement("div", { className: "arc-ProgressStepperItem-iconWrapper", "data-testid": "arc-ProgressStepperItem-iconWrapper" },
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
React__default.createElement(Icon, { size: size === "small" ? 16 : 24, icon: statusIcons[status] }))))),
|
|
57
|
+
React__default.createElement("div", { className: "arc-ProgressStepperItem-iconWrapper", "data-testid": "arc-ProgressStepperItem-iconWrapper" },
|
|
58
|
+
React__default.createElement("span", { className: classNames("arc-ProgressStepperItem-statusIcon", {
|
|
59
|
+
"arc-ProgressStepperItem-statusIcon--small": size === "small"
|
|
60
|
+
}) }, status === "todo" ? null : status === "current" ? (React__default.createElement("div", { className: "arc-ProgressStepperItem-statusIconInner" })) : (React__default.createElement(Icon, { icon: statusIcons[status] }))))),
|
|
85
61
|
React__default.createElement("div", { className: "arc-ProgressStepperItem-textSection" },
|
|
86
62
|
titleHref || onClick ? (React__default.createElement("a", { role: !titleHref && onClick ? "button" : undefined, href: titleHref, "aria-label": ariaLabel, className: classNames("arc-ProgressStepperItem-title", "arc-ProgressStepperItem-title--link"), onClick: onClickHandler },
|
|
87
63
|
title,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import React__default, { createContext, useContext, forwardRef, useEffect } from 'react';
|
|
3
|
-
import { F as FormControl } from './FormControl-
|
|
3
|
+
import { F as FormControl } from './FormControl-7ff0a178.js';
|
|
4
4
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
5
|
-
import { C as Context } from './Surface-
|
|
6
|
-
import { V as VisuallyHidden } from './VisuallyHidden-
|
|
5
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
6
|
+
import { V as VisuallyHidden } from './VisuallyHidden-fee374a8.js';
|
|
7
7
|
|
|
8
8
|
var RadioContext = createContext({});
|
|
9
9
|
var Provider = RadioContext.Provider;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-
|
|
2
|
-
import { S as SemSizeBreakpointsM } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
|
+
import { S as SemSizeBreakpointsM } from './index.es-52a3bcff.js';
|
|
3
3
|
import React__default, { useEffect, Fragment } from 'react';
|
|
4
|
-
import { B as BrandLogo } from './BrandLogo-
|
|
4
|
+
import { B as BrandLogo } from './BrandLogo-3424eb79.js';
|
|
5
5
|
import { u as useMediaQuery } from './use-media-query-d3622da8.js';
|
|
6
|
-
import { S as Section } from './Section-
|
|
7
|
-
import { S as Surface } from './Surface-
|
|
6
|
+
import { S as Section } from './Section-b9caea45.js';
|
|
7
|
+
import { S as Surface } from './Surface-56d329b0.js';
|
|
8
8
|
import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
|
|
9
|
-
import { T as ThemeIcon } from './ThemeIcon-
|
|
9
|
+
import { T as ThemeIcon } from './ThemeIcon-810de4bc.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Use `SiteFooter` to display information at the bottom of a page.
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs, s as suffixModifier } from './index.es-
|
|
2
|
-
import { b as SemSizeBreakpointsL } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs, s as suffixModifier } from './index.es-4921e8dd.js';
|
|
2
|
+
import { b as SemSizeBreakpointsL } from './index.es-52a3bcff.js';
|
|
3
3
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
4
4
|
import React__default, { useEffect, Fragment, useRef, useState, createContext, useContext } from 'react';
|
|
5
|
-
import { B as BrandLogo } from './BrandLogo-
|
|
5
|
+
import { B as BrandLogo } from './BrandLogo-3424eb79.js';
|
|
6
6
|
import { u as useMediaQuery } from './use-media-query-d3622da8.js';
|
|
7
|
-
import { S as Surface } from './Surface-
|
|
8
|
-
import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-
|
|
7
|
+
import { S as Surface } from './Surface-56d329b0.js';
|
|
8
|
+
import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-f67f0ca3.js';
|
|
9
9
|
import { C as ConditionalWrapper } from './ConditionalWrapper-b85979de.js';
|
|
10
10
|
import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
|
|
11
|
-
import { B as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
11
|
+
import { B as BtIconChevronLeft2Px, a as BtIconChevronRight2Px } from './BtIconChevronRight2Px.esm-84262845.js';
|
|
12
|
+
import { B as ButtonV2 } from './ButtonV2-4dc8830e.js';
|
|
13
|
+
import { T as Text } from './Text-98ad2e78.js';
|
|
14
|
+
import { I as Icon } from './Icon-3e813b34.js';
|
|
14
15
|
|
|
15
16
|
var Item = function (_a) {
|
|
16
17
|
var _b;
|
|
@@ -67,23 +68,6 @@ var Column = function (_a) {
|
|
|
67
68
|
React__default.createElement("ul", { className: "arc-SiteHeaderV2Column-items", role: "none" }, children)));
|
|
68
69
|
};
|
|
69
70
|
|
|
70
|
-
const BtIconChevronLeft2Px = (props) =>
|
|
71
|
-
/*#__PURE__*/ React__default.createElement(
|
|
72
|
-
"svg",
|
|
73
|
-
Object.assign(
|
|
74
|
-
{
|
|
75
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
76
|
-
viewBox: "0 0 32 32",
|
|
77
|
-
},
|
|
78
|
-
props,
|
|
79
|
-
),
|
|
80
|
-
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
81
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
82
|
-
d: "M22.5,29.99854a.99676.99676,0,0,1-.707-.293L8.08594,15.99268,21.793,2.294A1.00023,1.00023,0,0,1,23.207,3.709l-12.293,12.28467L23.207,28.2915a1,1,0,0,1-.707,1.707Z",
|
|
83
|
-
fill: "currentColor",
|
|
84
|
-
}),
|
|
85
|
-
);
|
|
86
|
-
|
|
87
71
|
var BackButton = function (_a) {
|
|
88
72
|
var setOpen = _a.setOpen, setOpenPanelOnFirstClick = _a.setOpenPanelOnFirstClick;
|
|
89
73
|
return (React__default.createElement("button", { className: "arc-SiteHeaderV2BackButton", onClick: function () {
|
|
@@ -245,23 +229,6 @@ var ViewAll = function (_a) {
|
|
|
245
229
|
};
|
|
246
230
|
Panel.ViewAll = ViewAll;
|
|
247
231
|
|
|
248
|
-
const BtIconChevronRight2Px = (props) =>
|
|
249
|
-
/*#__PURE__*/ React__default.createElement(
|
|
250
|
-
"svg",
|
|
251
|
-
Object.assign(
|
|
252
|
-
{
|
|
253
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
254
|
-
viewBox: "0 0 32 32",
|
|
255
|
-
},
|
|
256
|
-
props,
|
|
257
|
-
),
|
|
258
|
-
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
259
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
260
|
-
d: "M9.5,29.99854A1.00025,1.00025,0,0,1,8.793,28.291l12.293-12.28467L8.793,3.7085A.99989.99989,0,0,1,10.207,2.29443l13.707,13.71289L10.207,29.70605A.99827.99827,0,0,1,9.5,29.99854Z",
|
|
261
|
-
fill: "currentColor",
|
|
262
|
-
}),
|
|
263
|
-
);
|
|
264
|
-
|
|
265
232
|
var NavItem = function (_a) {
|
|
266
233
|
var _b, _c, _d, _e, _f;
|
|
267
234
|
var children = _a.children, href = _a.href, isCurrent = _a.isCurrent, onClick = _a.onClick, title = _a.title; _a.viewAllTitle; var isPrimary = _a.isPrimary, opensFirstWithPanel = _a.opensFirstWithPanel, subTitle = _a.subTitle, props = __rest(_a, ["children", "href", "isCurrent", "onClick", "title", "viewAllTitle", "isPrimary", "opensFirstWithPanel", "subTitle"]);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Use `Spinner` to display a loading state.
|
|
7
|
+
*/
|
|
8
|
+
var Spinner = function (_a) {
|
|
9
|
+
var _b = _a.size, size = _b === void 0 ? "m" : _b, color = _a.color;
|
|
10
|
+
var props = [];
|
|
11
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
12
|
+
props[_i - 1] = arguments[_i];
|
|
13
|
+
}
|
|
14
|
+
return (React__default.createElement("svg", __assign({ className: classNames("arc-Spinner", "arc-Spinner-".concat(color), "arc-Spinner-size--".concat(size)), width: typeof size === "number" ? "".concat(size, "px") : undefined, "data-testid": "arc-Spinner", "aria-label": "loading", viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg" }, filterDataAttrs(props)),
|
|
15
|
+
React__default.createElement("circle", { cx: "24", cy: "24", fill: "none", r: "22", "stroke-width": "4", "stroke-linecap": "round" })));
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Spinner as S };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as __spreadArray, _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { b as __spreadArray, _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default, { createContext } from 'react';
|
|
4
4
|
|
|
@@ -126,7 +126,7 @@ var Provider = Context.Provider;
|
|
|
126
126
|
*/
|
|
127
127
|
var Surface = function (_a) {
|
|
128
128
|
var _b;
|
|
129
|
-
var background = _a.background, children = _a.children, _c = _a.growVertically, growVertically = _c === void 0 ? false : _c, padding = _a.padding, paddingHorizontal = _a.paddingHorizontal, paddingVertical = _a.paddingVertical, props = __rest(_a, ["background", "children", "growVertically", "padding", "paddingHorizontal", "paddingVertical"]);
|
|
129
|
+
var background = _a.background, children = _a.children, _c = _a.growVertically, growVertically = _c === void 0 ? false : _c, padding = _a.padding, paddingHorizontal = _a.paddingHorizontal, paddingVertical = _a.paddingVertical, isTransparent = _a.isTransparent, props = __rest(_a, ["background", "children", "growVertically", "padding", "paddingHorizontal", "paddingVertical", "isTransparent"]);
|
|
130
130
|
var surface = "light";
|
|
131
131
|
if (background === "dark-black" ||
|
|
132
132
|
background === "dark-brand-01" ||
|
|
@@ -144,6 +144,7 @@ var Surface = function (_a) {
|
|
|
144
144
|
_b["arc-Surface--padding".concat(padding)] = padding,
|
|
145
145
|
_b["arc-Surface--paddingHorizontal".concat(paddingHorizontal)] = paddingHorizontal,
|
|
146
146
|
_b["arc-Surface--paddingVertical".concat(paddingVertical)] = paddingVertical,
|
|
147
|
+
_b["arc-Surface--isTransparent"] = isTransparent,
|
|
147
148
|
_b)) }, filterDataAttrs(props)), children)));
|
|
148
149
|
};
|
|
149
150
|
var backgroundsShared = [
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs, s as suffixModifier } from './index.es-4921e8dd.js';
|
|
2
|
+
import React__default, { useContext, useState, useRef, useEffect } from 'react';
|
|
3
|
+
import { $ as $69cb30bb0017df05$export$41fb9f06171c75f4, a as $69cb30bb0017df05$export$7c6e2c02157bb7d2, b as $69cb30bb0017df05$export$54c2e3dc7acea9f5, c as $69cb30bb0017df05$export$be92b6f5f03c0fe9 } from './index-89a7c31c.js';
|
|
4
|
+
import { I as Icon } from './Icon-3e813b34.js';
|
|
5
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
6
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
7
|
+
|
|
8
|
+
var Tab = function (_a) {
|
|
9
|
+
var label = _a.label, value = _a.value, icon = _a.icon, iconActive = _a.iconActive, props = __rest(_a, ["label", "value", "icon", "iconActive"]);
|
|
10
|
+
var surface = useContext(Context).surface;
|
|
11
|
+
return (React__default.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: classNames("arc-Tab-trigger", {
|
|
12
|
+
"arc-Tab-trigger--onDarkSurface": surface === "dark",
|
|
13
|
+
"arc-Tab-trigger--hasIcon": icon || iconActive
|
|
14
|
+
}), value: value }, filterDataAttrs(props)),
|
|
15
|
+
icon && (React__default.createElement("div", { className: "arc-Tab-triggerIcon", "data-testid": "arc-Tab-TriggerIcon" },
|
|
16
|
+
React__default.createElement(Icon, { icon: icon }))),
|
|
17
|
+
iconActive && (React__default.createElement("div", { className: "arc-Tab-triggerIcon arc-Tab-triggerIcon--active", "data-testid": "arc-Tab-TriggerIconActive" },
|
|
18
|
+
React__default.createElement(Icon, { icon: iconActive }))),
|
|
19
|
+
React__default.createElement("span", { className: "arc-Tab-triggerText" }, label)));
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
var TabContent = function (_a) {
|
|
23
|
+
var children = _a.children, value = _a.value, props = __rest(_a, ["children", "value"]);
|
|
24
|
+
return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, __assign({ className: "arc-Tab-content", value: value }, filterDataAttrs(props)), children));
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
var TabsList = function (_a) {
|
|
28
|
+
var children = _a.children, type = _a.type, isJustified = _a.isJustified, ariaLabel = _a.ariaLabel; _a.overflowGradient; var props = __rest(_a, ["children", "type", "isJustified", "ariaLabel", "overflowGradient"]);
|
|
29
|
+
var _b = useState(false), rightOverflow = _b[0], setRightOverflow = _b[1];
|
|
30
|
+
var _c = useState(false), leftOverflow = _c[0], setLeftOverflow = _c[1];
|
|
31
|
+
var surface = useContext(Context).surface;
|
|
32
|
+
var tabsRef = useRef(null);
|
|
33
|
+
var checkOverflow = function () {
|
|
34
|
+
if (tabsRef.current) {
|
|
35
|
+
setRightOverflow(tabsRef.current.scrollLeft + tabsRef.current.clientWidth <
|
|
36
|
+
tabsRef.current.scrollWidth);
|
|
37
|
+
setLeftOverflow(tabsRef.current.scrollLeft > 0);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
var handleScroll = function () {
|
|
41
|
+
checkOverflow();
|
|
42
|
+
};
|
|
43
|
+
useEffect(function () {
|
|
44
|
+
var list = tabsRef.current;
|
|
45
|
+
checkOverflow();
|
|
46
|
+
if (list) {
|
|
47
|
+
list.addEventListener("scroll", handleScroll);
|
|
48
|
+
}
|
|
49
|
+
return function () {
|
|
50
|
+
if (list) {
|
|
51
|
+
list.removeEventListener("scroll", handleScroll);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
});
|
|
55
|
+
var state = "";
|
|
56
|
+
if (type === "standard") {
|
|
57
|
+
if (leftOverflow && rightOverflow) {
|
|
58
|
+
state = "both";
|
|
59
|
+
}
|
|
60
|
+
else if (leftOverflow) {
|
|
61
|
+
state = "left";
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
state = "right";
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return (React__default.createElement("span", { className: "arc-TabsList-wrapper" },
|
|
68
|
+
React__default.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5, __assign({ className: classNames("arc-Tabs", suffixModifier("arc-TabsList--overflow", state), {
|
|
69
|
+
"arc-Tabs--contained": type === "contained",
|
|
70
|
+
"arc-Tabs--isJustified": isJustified,
|
|
71
|
+
"arc-Tabs--onDarkSurface": surface === "dark"
|
|
72
|
+
}), ref: tabsRef, "aria-label": ariaLabel }, filterDataAttrs(props)), children)));
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/** Use `Tabs` to allow users to navigate between different sections of relevant content. */
|
|
76
|
+
var Tabs = function (_a) {
|
|
77
|
+
var children = _a.children, defaultValue = _a.defaultValue, onValueChange = _a.onValueChange, activationMode = _a.activationMode, props = __rest(_a, ["children", "defaultValue", "onValueChange", "activationMode"]);
|
|
78
|
+
return (React__default.createElement($69cb30bb0017df05$export$be92b6f5f03c0fe9, __assign({ className: "arc-Tabs-root", defaultValue: defaultValue, onValueChange: onValueChange, activationMode: activationMode }, filterDataAttrs(props)), children));
|
|
79
|
+
};
|
|
80
|
+
Tabs.Tab = Tab;
|
|
81
|
+
Tabs.List = TabsList;
|
|
82
|
+
Tabs.Content = TabContent;
|
|
83
|
+
|
|
84
|
+
export { Tabs as T };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, s as suffixModifier, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, s as suffixModifier, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
|
-
import { C as Context } from './Surface-
|
|
4
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Use `Text` to display text.
|
|
8
8
|
*/
|
|
9
9
|
var Text = function (_a) {
|
|
10
10
|
var _b;
|
|
11
|
-
var _c = _a.align, align = _c === void 0 ? "left" : _c, children = _a.children, id = _a.id, _d = _a.isInline, isInline = _d === void 0 ? false : _d, _e = _a.isMeasured, isMeasured = _e === void 0 ? false : _e, _f = _a.size, size = _f === void 0 ? "m" : _f, _g = _a.tone, tone = _g === void 0 ? "default" : _g, props = __rest(_a, ["align", "children", "id", "isInline", "isMeasured", "size", "tone"]);
|
|
11
|
+
var _c = _a.align, align = _c === void 0 ? "left" : _c, children = _a.children, id = _a.id, _d = _a.isInline, isInline = _d === void 0 ? false : _d, _e = _a.isMeasured, isMeasured = _e === void 0 ? false : _e, _f = _a.size, size = _f === void 0 ? "m" : _f, _g = _a.tone, tone = _g === void 0 ? "default" : _g, _h = _a.elementType, elementType = _h === void 0 ? "span" : _h, props = __rest(_a, ["align", "children", "id", "isInline", "isMeasured", "size", "tone", "elementType"]);
|
|
12
12
|
var surface = useContext(Context).surface;
|
|
13
|
-
|
|
13
|
+
var Element = elementType;
|
|
14
|
+
return (React__default.createElement(Element, __assign({ id: id, className: classNames((_b = {
|
|
14
15
|
"arc-Text": true
|
|
15
16
|
},
|
|
16
17
|
_b[suffixModifier("arc-Text--align", align)] = align !== "left",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default, { forwardRef, useContext, useState } from 'react';
|
|
4
|
-
import { u as useAriaDescribedby, F as FormControl } from './FormControl-
|
|
5
|
-
import { C as Context } from './Surface-
|
|
6
|
-
import { V as VisuallyHidden } from './VisuallyHidden-
|
|
7
|
-
import {
|
|
4
|
+
import { u as useAriaDescribedby, F as FormControl } from './FormControl-7ff0a178.js';
|
|
5
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
6
|
+
import { V as VisuallyHidden } from './VisuallyHidden-fee374a8.js';
|
|
7
|
+
import { T as ThemeIcon } from './ThemeIcon-810de4bc.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
@@ -77,7 +77,7 @@ var TextInputComponent = forwardRef(function (_a, ref) {
|
|
|
77
77
|
e.preventDefault();
|
|
78
78
|
iconButton.onClick();
|
|
79
79
|
} },
|
|
80
|
-
React__default.createElement(
|
|
80
|
+
React__default.createElement(ThemeIcon, { icon: iconButton.icon, size: buttonIconSize[inputSize] })))),
|
|
81
81
|
suffix && !showPassword ? (React__default.createElement("span", { className: "arc-TextInput-suffix", "aria-hidden": true }, suffix)) : null,
|
|
82
82
|
showPassword && (React__default.createElement("div", { className: "arc-TextInput-additionalControl" },
|
|
83
83
|
React__default.createElement("button", { className: "arc-TextInput-passwordToggle", onClick: function () { return setShowPasswordToggle(function (p) { return !p; }); }, type: "button" }, showPasswordToggle ? "Hide" : "Show"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, s as suffixModifier, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, s as suffixModifier, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
|
-
import { C as Context } from './Surface-
|
|
4
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
5
5
|
|
|
6
6
|
var ThemeIcon = function (_a) {
|
|
7
7
|
var _b;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import React__default, { forwardRef, useContext, useState, useEffect, createElement, useRef, createContext, useCallback, useMemo, Fragment } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { c as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, a as $8927f6f2acc4f386$export$250ffa63cdc0d034, _ as _extends, b as $e42e1063c40fb3ef$export$b9ecd428b558ff10, e as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, h as $8927f6f2acc4f386$export$6d1a0317bde7de7f, $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, f as $9f79659886946c16$export$e5c5a5f917a5871c, d as $71cd76cc60e0454e$export$6f32135080cb4c3 } from './index-57d4cb34.js';
|
|
4
4
|
import ReactDOM__default, { createPortal } from 'react-dom';
|
|
5
|
-
import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-
|
|
6
|
-
import { $ as $addc16e1bbe58fd0$export$3a72a57244d6e765, a as $ea1ef594cf570d83$export$439d29a4e110a164 } from './index-
|
|
7
|
-
import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-
|
|
5
|
+
import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-14c7f4da.js';
|
|
6
|
+
import { $ as $addc16e1bbe58fd0$export$3a72a57244d6e765, a as $ea1ef594cf570d83$export$439d29a4e110a164 } from './index-e969452b.js';
|
|
7
|
+
import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-f2ddcbe2.js';
|
|
8
8
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
9
|
-
import { T as ThemeIcon } from './ThemeIcon-
|
|
9
|
+
import { T as ThemeIcon } from './ThemeIcon-810de4bc.js';
|
|
10
10
|
|
|
11
11
|
const $5cb92bef7577960e$var$CONTEXT_UPDATE = 'dismissableLayer.update';
|
|
12
12
|
const $5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE = 'dismissableLayer.pointerDownOutside';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { S as Surface } from './Surface-
|
|
3
|
+
import { S as Surface } from './Surface-56d329b0.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Use `UniversalHeader` to display a group-level page header.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState } from 'react';
|
|
3
|
-
import { a as __assign, _ as __rest } from './index.es-
|
|
3
|
+
import { a as __assign, _ as __rest } from './index.es-4921e8dd.js';
|
|
4
4
|
|
|
5
5
|
var useThemeElement = function () {
|
|
6
6
|
var _a = useState(undefined), themeElement = _a[0], setElement = _a[1];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, c as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, g as $5e63c961fc1ce211$export$8c6ed5c666ac1360 } from './index-57d4cb34.js';
|
|
3
3
|
|
|
4
4
|
// We have resorted to returning slots directly rather than exposing primitives that can then
|
|
5
5
|
// be slotted like `<CollectionItem as={Slot}>…</CollectionItem>`.
|