@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,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-76f7dd53.js');
|
|
5
5
|
|
|
6
6
|
function _interopNamespace(e) {
|
|
7
7
|
if (e && e.__esModule) return e;
|
|
@@ -23,12 +23,6 @@ function _interopNamespace(e) {
|
|
|
23
23
|
|
|
24
24
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
25
25
|
|
|
26
|
-
const $f631663db3294ace$var$DirectionContext = /*#__PURE__*/ React.createContext(undefined);
|
|
27
|
-
/* -----------------------------------------------------------------------------------------------*/ function $f631663db3294ace$export$b39126d51d94e6f3(localDir) {
|
|
28
|
-
const globalDir = React.useContext($f631663db3294ace$var$DirectionContext);
|
|
29
|
-
return localDir || globalDir || 'ltr';
|
|
30
|
-
}
|
|
31
|
-
|
|
32
26
|
const $1746a345f3d73bb7$var$useReactId = React__namespace['useId'.toString()] || (()=>undefined
|
|
33
27
|
);
|
|
34
28
|
let $1746a345f3d73bb7$var$count = 0;
|
|
@@ -43,5 +37,11 @@ function $1746a345f3d73bb7$export$f680877a34711e37(deterministicId) {
|
|
|
43
37
|
return deterministicId || (id ? `radix-${id}` : '');
|
|
44
38
|
}
|
|
45
39
|
|
|
40
|
+
const $f631663db3294ace$var$DirectionContext = /*#__PURE__*/ React.createContext(undefined);
|
|
41
|
+
/* -----------------------------------------------------------------------------------------------*/ function $f631663db3294ace$export$b39126d51d94e6f3(localDir) {
|
|
42
|
+
const globalDir = React.useContext($f631663db3294ace$var$DirectionContext);
|
|
43
|
+
return localDir || globalDir || 'ltr';
|
|
44
|
+
}
|
|
45
|
+
|
|
46
46
|
exports.$1746a345f3d73bb7$export$f680877a34711e37 = $1746a345f3d73bb7$export$f680877a34711e37;
|
|
47
47
|
exports.$f631663db3294ace$export$b39126d51d94e6f3 = $f631663db3294ace$export$b39126d51d94e6f3;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Do not edit directly
|
|
5
|
-
* Generated on
|
|
5
|
+
* Generated on Tue, 12 Nov 2024 11:47:06 GMT
|
|
6
6
|
*/
|
|
7
|
-
var SemSizeBreakpointsS = "
|
|
7
|
+
var SemSizeBreakpointsS = "636px"; // Small (SM) - 636px to 767px: This is often used for smartphones in landscape mode and small tablets.
|
|
8
8
|
var SemSizeBreakpointsM = "768px"; // Medium (MD) - 768px to 991px: This is commonly used for larger tablets and smaller desktop screens.
|
|
9
9
|
var SemSizeBreakpointsL = "1024px"; // Large (LG) - 1024px - 1279px: This breakpoint is often applied to larger desktop screens and some laptops.
|
|
10
10
|
|
|
@@ -195,7 +195,130 @@ var suffixModifier = function (rootClassName, suffix) {
|
|
|
195
195
|
}));
|
|
196
196
|
};
|
|
197
197
|
|
|
198
|
+
var name = "@arc-ui/arc-ui";
|
|
199
|
+
var homepage = "https://ui.digital-ent-int.bt.com";
|
|
200
|
+
var author = "BT Business Digital UI Team <ui-digital-ent-int@bt.com>";
|
|
201
|
+
var version = "12.0.0-beta.8";
|
|
202
|
+
var engines = {
|
|
203
|
+
node: "20.x"
|
|
204
|
+
};
|
|
205
|
+
var devDependencies = {
|
|
206
|
+
"@commitlint/cli": "^17.1.2",
|
|
207
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
208
|
+
"@testing-library/dom": "^8.5.0",
|
|
209
|
+
"@testing-library/jest-dom": "^5.16.1",
|
|
210
|
+
"@testing-library/react": "^13.3.0",
|
|
211
|
+
"@testing-library/user-event": "^13.5.0",
|
|
212
|
+
"@types/jest": "^27.0.3",
|
|
213
|
+
"@types/testing-library__jest-dom": "^5.14.2",
|
|
214
|
+
"@typescript-eslint/eslint-plugin": "^4.5.0",
|
|
215
|
+
"@typescript-eslint/parser": "^4.5.0",
|
|
216
|
+
"conventional-recommended-bump": "^6.0.5",
|
|
217
|
+
eslint: "^7.27.0",
|
|
218
|
+
"eslint-config-react-app": "^6.0.0",
|
|
219
|
+
husky: "^8.0.0",
|
|
220
|
+
jest: "^27.4.3",
|
|
221
|
+
lerna: "^7.3.0",
|
|
222
|
+
"postcss-scss": "^4.0.3",
|
|
223
|
+
prettier: "^3.0.3",
|
|
224
|
+
"resize-observer-polyfill": "1.5.1",
|
|
225
|
+
semver: "^7.3.2",
|
|
226
|
+
"standard-changelog": "^2.0.21",
|
|
227
|
+
stylelint: "^14.5.3",
|
|
228
|
+
"stylelint-config-prettier": "^9.0.3",
|
|
229
|
+
"stylelint-config-standard": "^25.0.0",
|
|
230
|
+
"stylelint-config-suitcss": "^18.0.0",
|
|
231
|
+
"stylelint-selector-bem-pattern": "^2.1.1",
|
|
232
|
+
"ts-jest": "^27.1.0"
|
|
233
|
+
};
|
|
234
|
+
var scripts = {
|
|
235
|
+
build: "pnpm run build:deps && pnpm run build:components",
|
|
236
|
+
"build:deps": "pnpm run build:helpers && pnpm run build:icons && pnpm run build:tokens:web",
|
|
237
|
+
"build:components": "pnpm run build:components:arc && pnpm run build:components:community",
|
|
238
|
+
"build:components:arc": "pnpm run --filter @arc-ui/components build",
|
|
239
|
+
"build:components:community": "pnpm run --filter @arc-ui/community-components build",
|
|
240
|
+
"build:helpers": "pnpm run --filter @arc-ui/helpers build",
|
|
241
|
+
"build:icons": "pnpm run build:icons:bt && pnpm run build:icons:ee",
|
|
242
|
+
"build:icons:bt": "pnpm run --filter @arc-ui/icons-bt build",
|
|
243
|
+
"build:icons:ee": "pnpm run --filter @arc-ui/icons-ee build",
|
|
244
|
+
"build:tokens:web": "pnpm run build:tokens:arc && pnpm run build:tokens:bt:enterprise && pnpm run build:tokens:ee && pnpm run build:tokens:bt:business",
|
|
245
|
+
"build:tokens:arc": "pnpm run --filter @arc-ui/tokens-arc build",
|
|
246
|
+
"build:tokens:bt:enterprise": "pnpm run --filter @arc-ui/tokens-bt-enterprise build",
|
|
247
|
+
"build:tokens:bt:business": "pnpm run --filter @arc-ui/tokens-bt-business build",
|
|
248
|
+
"build:tokens:ee": "pnpm run --filter @arc-ui/tokens-ee build",
|
|
249
|
+
"build:storybook:arc": "pnpm run --filter @arc-ui/components storybook:build",
|
|
250
|
+
"build:storybook:community": "pnpm run --filter @arc-ui/community-components storybook:build",
|
|
251
|
+
"build:website": "pnpm run --filter website build && pnpm run build:website:storybook",
|
|
252
|
+
"build:website:quick": "pnpm run --filter website build && pnpm run build:website:storybook:copy && pnpm run build:website:storybook:copy:community",
|
|
253
|
+
"build:website:storybook": "pnpm run build:storybook:arc && pnpm run build:storybook:community && pnpm run build:website:storybook:copy && pnpm run build:website:storybook:copy:community",
|
|
254
|
+
"build:website:storybook:copy": "cp -R packages/arc-components/storybook-static apps/website/build/storybook",
|
|
255
|
+
"build:website:storybook:copy:community": "cp -R packages/community-components/storybook-static apps/website/build/storybook-community",
|
|
256
|
+
changelog: "node scripts/create-changelog",
|
|
257
|
+
"internal:prettier": "prettier './**/*.{css,html,js,json,md,ts,tsx,scss}'",
|
|
258
|
+
"test:prettier": "pnpm run internal:prettier --check",
|
|
259
|
+
prettier: "pnpm run internal:prettier --write",
|
|
260
|
+
lint: "stylelint '**/*{.css,.scss}' && eslint .",
|
|
261
|
+
"lint:ci": "pnpm run lint --max-warnings 0",
|
|
262
|
+
"lint:commit-message": "pnpm dlx commitlint --edit $1",
|
|
263
|
+
precommit: "pnpm run lint && pnpm run test && pnpm run test:components:ci",
|
|
264
|
+
"start:storybook:arc": "pnpm run --filter @arc-ui/components storybook:quiet",
|
|
265
|
+
"start:storybook:community": "pnpm run --filter @arc-ui/community-components storybook:quiet",
|
|
266
|
+
"start:website": "pnpm run --filter website start",
|
|
267
|
+
test: "pnpm run test:prettier && pnpm run test:unit",
|
|
268
|
+
"test:components:ci": "pnpm run test:components:arc:ci && pnpm run test:components:community:ci",
|
|
269
|
+
"test:components:arc": "pnpm run --filter @arc-ui/components test:components",
|
|
270
|
+
"test:components:arc:ci": "pnpm run --filter @arc-ui/components test:components:pipeline",
|
|
271
|
+
"test:components:community": "pnpm run --filter @arc-ui/community-components test:components",
|
|
272
|
+
"test:components:community:ci": "pnpm run --filter @arc-ui/community-components test:components:pipeline",
|
|
273
|
+
"test:coverage": "pnpm run test:unit --coverage",
|
|
274
|
+
"test:unit": "TZ=UTC jest",
|
|
275
|
+
"test:watch": "pnpm run test:unit --changedSince=origin/master --coverage --watch",
|
|
276
|
+
release: "conventional-recommended-bump -p angular | xargs pnpm version --no-git-tag-version",
|
|
277
|
+
"release-commit": "git add -u && git commit -m \"release: v${npm_package_version}\" --no-verify",
|
|
278
|
+
version: "pnpm run changelog && lerna version --force-publish -y --no-push --no-changelog --no-git-tag-version $npm_package_version",
|
|
279
|
+
"update-versions": "node scripts/update-versions",
|
|
280
|
+
prepare: "husky install",
|
|
281
|
+
prerelease: "lerna version --force-publish -y --no-push --no-changelog --no-git-tag-version",
|
|
282
|
+
"generate:component": "pnpm run --filter @arc-ui/components generate:component $1 "
|
|
283
|
+
};
|
|
284
|
+
var browserslist = [
|
|
285
|
+
"defaults",
|
|
286
|
+
"last 1 Chrome version",
|
|
287
|
+
"last 1 ChromeAndroid version",
|
|
288
|
+
"last 1 Edge version",
|
|
289
|
+
"last 1 Firefox version",
|
|
290
|
+
"Firefox ESR",
|
|
291
|
+
"Firefox 91",
|
|
292
|
+
"Firefox 78",
|
|
293
|
+
"Firefox 68",
|
|
294
|
+
"Safari >= 14",
|
|
295
|
+
"iOS >= 14",
|
|
296
|
+
"Samsung >= 16",
|
|
297
|
+
"not IE 11",
|
|
298
|
+
"not Edge < 18",
|
|
299
|
+
"not and_qq > 0",
|
|
300
|
+
"not UCAndroid > 0",
|
|
301
|
+
"not OperaMini all"
|
|
302
|
+
];
|
|
303
|
+
var pkg = {
|
|
304
|
+
name: name,
|
|
305
|
+
homepage: homepage,
|
|
306
|
+
author: author,
|
|
307
|
+
"private": true,
|
|
308
|
+
version: version,
|
|
309
|
+
engines: engines,
|
|
310
|
+
devDependencies: devDependencies,
|
|
311
|
+
scripts: scripts,
|
|
312
|
+
browserslist: browserslist
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
// @ts-ignore
|
|
316
|
+
var getVersionClassName = function () {
|
|
317
|
+
return "arc-v".concat(pkg.version.replace(/\./g, "-"));
|
|
318
|
+
};
|
|
319
|
+
|
|
198
320
|
exports.__rest = __rest;
|
|
199
321
|
exports.__spreadArray = __spreadArray;
|
|
200
322
|
exports.filterDataAttrs = filterDataAttrs;
|
|
323
|
+
exports.getVersionClassName = getVersionClassName;
|
|
201
324
|
exports.suffixModifier = suffixModifier;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { a as __assign, _ as __rest, 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
4
|
import { C as ConditionalWrapper } from './ConditionalWrapper-b85979de.js';
|
|
5
|
-
import { T as ThemeIcon } from './ThemeIcon-
|
|
6
|
-
import { I as Image } from './Image-
|
|
7
|
-
import { H as Heading } from './Heading-
|
|
5
|
+
import { T as ThemeIcon } from './ThemeIcon-810de4bc.js';
|
|
6
|
+
import { I as Image } from './Image-85c39506.js';
|
|
7
|
+
import { H as Heading } from './Heading-14df0c64.js';
|
|
8
8
|
|
|
9
9
|
var AvatarContent = function (_a) {
|
|
10
10
|
var img = _a.img, initials = _a.initials, _b = _a.size, size = _b === void 0 ? "xl" : _b;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign, s as suffixModifier, 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
|
+
/** Use `Badge` as a static, non-interactive way to provide short updates. */
|
|
6
|
+
var Badge = function (_a) {
|
|
7
|
+
var children = _a.children, _b = _a.state, state = _b === void 0 ? "default" : _b, ariaLabel = _a.ariaLabel, ariaRole = _a.ariaRole, props = __rest(_a, ["children", "state", "ariaLabel", "ariaRole"]);
|
|
8
|
+
return (React__default.createElement("div", __assign({ className: classNames("arc-Badge", suffixModifier("arc-Badge--state", state)) }, (ariaLabel && { "aria-label": ariaLabel }), (ariaRole && { role: ariaRole }), filterDataAttrs(props)), children));
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { Badge as B };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { _ as __rest, 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
|
+
import { S as Surface } from './Surface-56d329b0.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Use `Box` as a simple way to group bespoke content and interactive elements together.
|
|
8
|
+
*/
|
|
9
|
+
var Box = function (_a) {
|
|
10
|
+
var _b;
|
|
11
|
+
var children = _a.children, borderWidth = _a.borderWidth, elevationLevel = _a.elevationLevel, padding = _a.padding, _c = _a.isFullHeight, isFullHeight = _c === void 0 ? false : _c, _d = _a.isBorderRadius, isBorderRadius = _d === void 0 ? false : _d, _e = _a.surface, surface = _e === void 0 ? "light-white" : _e, isSurfaceTransparent = _a.isSurfaceTransparent, props = __rest(_a, ["children", "borderWidth", "elevationLevel", "padding", "isFullHeight", "isBorderRadius", "surface", "isSurfaceTransparent"]);
|
|
12
|
+
return (React__default.createElement("div", __assign({ className: classNames("arc-Box", (_b = {},
|
|
13
|
+
_b["arc-Box--fullHeight"] = isFullHeight,
|
|
14
|
+
_b["arc-Box--borderRadius"] = isBorderRadius,
|
|
15
|
+
_b["arc-Box--borderThin"] = borderWidth === "thin",
|
|
16
|
+
_b["arc-Box--borderMedium"] = borderWidth === "medium",
|
|
17
|
+
_b["arc-Box--elevation1"] = elevationLevel === "1",
|
|
18
|
+
_b["arc-Box--elevation2"] = elevationLevel === "2",
|
|
19
|
+
_b)) }, filterDataAttrs(props)),
|
|
20
|
+
React__default.createElement(Surface, { padding: padding, background: surface, isTransparent: isSurfaceTransparent }, children)));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { Box as B };
|
|
@@ -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
|
/**
|
|
7
7
|
* Use `BrandLogo` to display the brand logo.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { a as __assign, _ as __rest, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import { d as debounce_1 } from './debounce-c8e41002.js';
|
|
4
|
-
import {
|
|
4
|
+
import { I as Icon } from './Icon-3e813b34.js';
|
|
5
|
+
import { B as BtIconChevronLeft2Px, a as BtIconChevronRight2Px } from './BtIconChevronRight2Px.esm-84262845.js';
|
|
5
6
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
6
7
|
import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
|
|
7
8
|
|
|
@@ -9,10 +10,10 @@ var BreadcrumbsItem = function (_a) {
|
|
|
9
10
|
var spacerIconAfter = _a.spacerIconAfter, spacerIconBefore = _a.spacerIconBefore, children = _a.children;
|
|
10
11
|
return (React__default.createElement("li", { className: "arc-Breadcrumbs-item" },
|
|
11
12
|
spacerIconBefore && (React__default.createElement("div", { className: "arc-Breadcrumbs-spacerIcon", "data-testid": "arc-chevron-left-2px", "aria-hidden": "true" },
|
|
12
|
-
React__default.createElement(
|
|
13
|
+
React__default.createElement(Icon, { icon: BtIconChevronLeft2Px }))),
|
|
13
14
|
children,
|
|
14
15
|
spacerIconAfter && (React__default.createElement("div", { className: "arc-Breadcrumbs-spacerIcon", "aria-hidden": "true" },
|
|
15
|
-
React__default.createElement(
|
|
16
|
+
React__default.createElement(Icon, { icon: BtIconChevronRight2Px })))));
|
|
16
17
|
};
|
|
17
18
|
|
|
18
19
|
var BreadcrumbsLink = React__default.forwardRef(function (_a, ref) {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
const BtIconArrowRight = (props) =>
|
|
4
|
+
/*#__PURE__*/ React__default.createElement(
|
|
5
|
+
"svg",
|
|
6
|
+
Object.assign(
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 32 32",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
},
|
|
12
|
+
props,
|
|
13
|
+
),
|
|
14
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
15
|
+
d: "M16 2C13.2311 2 10.5243 2.82109 8.22202 4.35943C5.91973 5.89777 4.12531 8.08427 3.06569 10.6424C2.00606 13.2006 1.72881 16.0155 2.26901 18.7313C2.8092 21.447 4.14257 23.9416 6.10051 25.8995C8.05844 27.8574 10.553 29.1908 13.2687 29.731C15.9845 30.2712 18.7994 29.9939 21.3576 28.9343C23.9157 27.8747 26.1022 26.0803 27.6406 23.778C29.1789 21.4757 30 18.7689 30 16C30 12.287 28.525 8.72601 25.8995 6.1005C23.274 3.475 19.713 2 16 2ZM16 29C13.4288 29 10.9154 28.2376 8.77759 26.8091C6.63975 25.3806 4.97351 23.3503 3.98957 20.9749C3.00563 18.5994 2.74818 15.9856 3.24979 13.4638C3.7514 10.9421 4.98953 8.62569 6.80761 6.80761C8.6257 4.98953 10.9421 3.7514 13.4638 3.24979C15.9856 2.74818 18.5994 3.00563 20.9749 3.98957C23.3503 4.97351 25.3806 6.63975 26.8091 8.77759C28.2376 10.9154 29 13.4288 29 16C28.996 19.4466 27.6251 22.7509 25.188 25.188C22.7509 27.6251 19.4466 28.996 16 29Z",
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
}),
|
|
18
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
19
|
+
d: "M18.146 11.646C18.0523 11.7398 17.9996 11.8669 17.9996 11.9995C17.9996 12.1321 18.0523 12.2592 18.146 12.353L21.293 15.5H9.5C9.36739 15.5 9.24021 15.5527 9.14645 15.6464C9.05268 15.7402 9 15.8674 9 16C9 16.1326 9.05268 16.2598 9.14645 16.3536C9.24021 16.4473 9.36739 16.5 9.5 16.5H21.293L18.147 19.646C18.0992 19.6921 18.0612 19.7473 18.0349 19.8083C18.0087 19.8693 17.995 19.9349 17.9944 20.0013C17.9938 20.0677 18.0064 20.1335 18.0316 20.195C18.0567 20.2564 18.0939 20.3123 18.1408 20.3592C18.1877 20.4061 18.2436 20.4433 18.305 20.4684C18.3665 20.4936 18.4323 20.5062 18.4987 20.5056C18.5651 20.505 18.6307 20.4913 18.6917 20.4651C18.7527 20.4388 18.8079 20.4008 18.854 20.353L23.207 16L18.853 11.646C18.7592 11.5523 18.6321 11.4996 18.4995 11.4996C18.3669 11.4996 18.2398 11.5523 18.146 11.646Z",
|
|
20
|
+
fill: "currentColor",
|
|
21
|
+
}),
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
export { BtIconArrowRight as B };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
const BtIconChevronLeft2Px = (props) =>
|
|
4
|
+
/*#__PURE__*/ React__default.createElement(
|
|
5
|
+
"svg",
|
|
6
|
+
Object.assign(
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 32 32",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
},
|
|
12
|
+
props,
|
|
13
|
+
),
|
|
14
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
15
|
+
d: "M22.5 29.999C22.3687 29.9991 22.2386 29.9733 22.1173 29.923C21.9959 29.8727 21.8857 29.799 21.793 29.706L8.086 15.993L21.793 2.29398C21.9806 2.10648 22.2351 2.00119 22.5004 2.00128C22.7656 2.00138 23.02 2.10684 23.2075 2.29448C23.395 2.48213 23.5003 2.73657 23.5002 3.00184C23.5001 3.26711 23.3946 3.52148 23.207 3.70898L10.914 15.994L23.207 28.29C23.3468 28.4298 23.442 28.608 23.4806 28.802C23.5192 28.9959 23.4993 29.1969 23.4237 29.3796C23.348 29.5623 23.2199 29.7185 23.0555 29.8284C22.891 29.9383 22.6978 29.9969 22.5 29.997V29.999Z",
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
}),
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
const BtIconChevronRight2Px = (props) =>
|
|
21
|
+
/*#__PURE__*/ React__default.createElement(
|
|
22
|
+
"svg",
|
|
23
|
+
Object.assign(
|
|
24
|
+
{
|
|
25
|
+
viewBox: "0 0 32 32",
|
|
26
|
+
fill: "none",
|
|
27
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
28
|
+
},
|
|
29
|
+
props,
|
|
30
|
+
),
|
|
31
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
32
|
+
d: "M9.5 29.999C9.30204 29.9992 9.10849 29.9406 8.94387 29.8306C8.77924 29.7207 8.65095 29.5644 8.57524 29.3815C8.49953 29.1986 8.47981 28.9973 8.51857 28.8032C8.55734 28.6091 8.65285 28.4308 8.793 28.291L21.086 16.006L8.793 3.71002C8.60536 3.52251 8.49989 3.26815 8.4998 3.00288C8.4997 2.73761 8.60499 2.48316 8.7925 2.29552C8.98001 2.10788 9.23437 2.00241 9.49964 2.00232C9.76492 2.00223 10.0194 2.10751 10.207 2.29502L23.914 16.008L10.207 29.708C10.1141 29.8008 10.0039 29.8743 9.88259 29.9244C9.76127 29.9746 9.63126 29.9992 9.5 29.999Z",
|
|
33
|
+
fill: "currentColor",
|
|
34
|
+
}),
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
export { BtIconChevronLeft2Px as B, BtIconChevronRight2Px as a };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
const BtIconChevronRightMid = (props) =>
|
|
4
|
+
/*#__PURE__*/ React__default.createElement(
|
|
5
|
+
"svg",
|
|
6
|
+
Object.assign(
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 32 32",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
},
|
|
12
|
+
props,
|
|
13
|
+
),
|
|
14
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
clipRule: "evenodd",
|
|
17
|
+
d: "M18.0909 16.0004L12.3935 10.2964C12.1415 10.0439 12 9.70178 12 9.34507C12 8.98835 12.1415 8.64621 12.3935 8.39374C12.5181 8.26892 12.6661 8.1699 12.829 8.10234C12.9919 8.03478 13.1665 8 13.3429 8C13.5192 8 13.6938 8.03478 13.8567 8.10234C14.0196 8.1699 14.1676 8.26892 14.2922 8.39374L20.9402 15.0497C21.1918 15.3022 21.3331 15.644 21.3331 16.0004C21.3331 16.3568 21.1918 16.6986 20.9402 16.9511L14.2922 23.6071C14.1676 23.7319 14.0196 23.8309 13.8567 23.8985C13.6938 23.966 13.5192 24.0008 13.3429 24.0008C13.1665 24.0008 12.9919 23.966 12.829 23.8985C12.6661 23.8309 12.5181 23.7319 12.3935 23.6071C12.1415 23.3546 12 23.0125 12 22.6557C12 22.299 12.1415 21.9569 12.3935 21.7044L18.0909 16.0004Z",
|
|
18
|
+
fill: "currentColor",
|
|
19
|
+
}),
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
export { BtIconChevronRightMid as B };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
const BtIconPlayFill = (props) =>
|
|
4
|
+
/*#__PURE__*/ React__default.createElement(
|
|
5
|
+
"svg",
|
|
6
|
+
Object.assign(
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 32 32",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
},
|
|
12
|
+
props,
|
|
13
|
+
),
|
|
14
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
15
|
+
d: "M13.161 11.762C13.1449 11.7522 13.1264 11.747 13.1075 11.747C13.0886 11.747 13.0701 11.7522 13.054 11.762C13.0374 11.7709 13.0236 11.7841 13.014 11.8004C13.0045 11.8166 12.9996 11.8352 13 11.854V20.142C12.9996 20.161 13.0044 20.1797 13.0139 20.1961C13.0234 20.2125 13.0373 20.226 13.054 20.235C13.0702 20.2446 13.0887 20.2497 13.1075 20.2497C13.1263 20.2497 13.1448 20.2446 13.161 20.235L20.339 16.091C20.3555 16.0821 20.3693 16.0688 20.3788 16.0525C20.3884 16.0363 20.3933 16.0178 20.393 15.999C20.3935 15.9799 20.3887 15.961 20.3792 15.9444C20.3697 15.9278 20.3558 15.9142 20.339 15.905L13.161 11.762Z",
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
}),
|
|
18
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
19
|
+
d: "M16 2C13.2311 2 10.5243 2.82109 8.22202 4.35943C5.91973 5.89777 4.12532 8.08427 3.06569 10.6424C2.00607 13.2006 1.72882 16.0155 2.26901 18.7313C2.80921 21.447 4.14258 23.9416 6.10051 25.8995C8.05845 27.8574 10.553 29.1908 13.2687 29.731C15.9845 30.2712 18.7994 29.9939 21.3576 28.9343C23.9157 27.8747 26.1022 26.0803 27.6406 23.778C29.1789 21.4757 30 18.7689 30 16C30 12.287 28.525 8.72601 25.8995 6.1005C23.274 3.475 19.713 2 16 2ZM20.839 16.957L13.661 21.102C13.4926 21.199 13.3016 21.25 13.1072 21.2499C12.9128 21.2497 12.7219 21.1984 12.5536 21.1012C12.3853 21.0039 12.2455 20.8641 12.1484 20.6957C12.0512 20.5273 12 20.3364 12 20.142V11.854C12.0001 11.6597 12.0513 11.4688 12.1485 11.3005C12.2458 11.1323 12.3856 10.9926 12.5539 10.8955C12.7223 10.7984 12.9132 10.7473 13.1075 10.7474C13.3019 10.7475 13.4928 10.7987 13.661 10.896L20.839 15.04C21.0072 15.1372 21.1469 15.2769 21.244 15.4452C21.3411 15.6134 21.3922 15.8042 21.3922 15.9985C21.3922 16.1928 21.3411 16.3836 21.244 16.5518C21.1469 16.7201 21.0072 16.8598 20.839 16.957Z",
|
|
20
|
+
fill: "currentColor",
|
|
21
|
+
}),
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
export { BtIconPlayFill as B };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, s as suffixModifier, a as __assign, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { _ as __rest, s as suffixModifier, 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 } from 'react';
|
|
4
|
-
import { I as Icon } from './Icon-
|
|
5
|
-
import { C as Context } from './Surface-
|
|
6
|
-
import { T as ThemeIcon } from './ThemeIcon-
|
|
4
|
+
import { I as Icon } from './Icon-3e813b34.js';
|
|
5
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
6
|
+
import { T as ThemeIcon } from './ThemeIcon-810de4bc.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Use `Button` to let a user complete an action like ‘Log in’ or ‘Register’.
|
|
@@ -1,13 +1,18 @@
|
|
|
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 } from 'react';
|
|
3
3
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
4
|
-
import { I as Icon } from './Icon-
|
|
5
|
-
import { C as Context } from './Surface-
|
|
6
|
-
import {
|
|
4
|
+
import { I as Icon } from './Icon-3e813b34.js';
|
|
5
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
6
|
+
import { S as Spinner } from './Spinner-9d28043d.js';
|
|
7
7
|
|
|
8
8
|
var ButtonV2 = forwardRef(function (_a, ref) {
|
|
9
9
|
var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, _c = _a.iconPosition, iconPosition = _c === void 0 ? "beforeText" : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, ariaLabel = _a.ariaLabel, _e = _a.isFullWidth, isFullWidth = _e === void 0 ? false : _e, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, props = __rest(_a, ["label", "buttonStyle", "icon", "iconPosition", "size", "ariaLabel", "isFullWidth", "isLoading", "onClick", "href", "id", "rel", "target", "type", "form"]);
|
|
10
10
|
var surface = useContext(Context).surface;
|
|
11
|
+
var iconSizes = {
|
|
12
|
+
s: 16,
|
|
13
|
+
m: 32,
|
|
14
|
+
l: 40
|
|
15
|
+
};
|
|
11
16
|
var ButtonV2Classes = classNames("arc-ButtonV2", ["arc-ButtonV2--".concat(buttonStyle)], ["arc-ButtonV2--".concat(size)], {
|
|
12
17
|
"arc-ButtonV2--onDarkSurface": surface === "dark",
|
|
13
18
|
"arc-ButtonV2--emptyLabel": !label,
|
|
@@ -24,9 +29,9 @@ var ButtonV2 = forwardRef(function (_a, ref) {
|
|
|
24
29
|
}) },
|
|
25
30
|
label && React__default.createElement("span", { className: "arc-ButtonV2-label" }, label),
|
|
26
31
|
isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
|
|
27
|
-
React__default.createElement(
|
|
32
|
+
React__default.createElement(Spinner, { size: size }))),
|
|
28
33
|
icon && !isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
|
|
29
|
-
React__default.createElement(Icon, { size: size
|
|
34
|
+
React__default.createElement(Icon, { size: iconSizes[size], icon: icon }))))));
|
|
30
35
|
}
|
|
31
36
|
return (React__default.createElement("button", __assign({}, commonProps, { className: ButtonV2Classes, "aria-label": ariaLabel, disabled: isLoading, type: type, form: form }),
|
|
32
37
|
React__default.createElement("span", { className: classNames("arc-ButtonV2-inner", {
|
|
@@ -34,9 +39,9 @@ var ButtonV2 = forwardRef(function (_a, ref) {
|
|
|
34
39
|
}) },
|
|
35
40
|
label && React__default.createElement("span", { className: "arc-ButtonV2-label" }, label),
|
|
36
41
|
icon && !isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
|
|
37
|
-
React__default.createElement(Icon, { size: size
|
|
42
|
+
React__default.createElement(Icon, { size: iconSizes[size], icon: icon }))),
|
|
38
43
|
isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
|
|
39
|
-
React__default.createElement(
|
|
44
|
+
React__default.createElement(Spinner, { size: size }))))));
|
|
40
45
|
});
|
|
41
46
|
|
|
42
47
|
export { ButtonV2 as B };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { b as __spreadArray, a as __assign, _ as __rest, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { b as __spreadArray, a as __assign, _ as __rest, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import React__default, { createContext, forwardRef, useContext, useCallback, useRef, useState, useReducer, useEffect } from 'react';
|
|
3
3
|
import { r as requiredArgs, t as toDate, a as toInteger, _ as _typeof, g as getDefaultOptions, f as format } from './index-ce6dee84.js';
|
|
4
|
-
import { S as SemSizeBreakpointsM } from './index.es-
|
|
4
|
+
import { S as SemSizeBreakpointsM } from './index.es-52a3bcff.js';
|
|
5
5
|
import { u as useMediaQuery } from './use-media-query-d3622da8.js';
|
|
6
6
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
7
|
-
import { T as Text } from './Text-
|
|
8
|
-
import { V as VisuallyHidden } from './VisuallyHidden-
|
|
9
|
-
import { S as Surface } from './Surface-
|
|
10
|
-
import { H as Heading } from './Heading-
|
|
11
|
-
import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-
|
|
12
|
-
import { I as Icon } from './Icon-
|
|
7
|
+
import { T as Text } from './Text-98ad2e78.js';
|
|
8
|
+
import { V as VisuallyHidden } from './VisuallyHidden-fee374a8.js';
|
|
9
|
+
import { S as Surface } from './Surface-56d329b0.js';
|
|
10
|
+
import { H as Heading } from './Heading-14df0c64.js';
|
|
11
|
+
import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-f67f0ca3.js';
|
|
12
|
+
import { I as Icon } from './Icon-3e813b34.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @name addMonths
|
|
@@ -1117,7 +1117,7 @@ var CalendarDayNumber = forwardRef(function (_a, autoFocusRef) {
|
|
|
1117
1117
|
onClick: onDayNumberClick(date),
|
|
1118
1118
|
onMouseEnter: onDayNumberHover(date)
|
|
1119
1119
|
};
|
|
1120
|
-
return (React__default.createElement("td", __assign({ ref: handleRefs, "data-date": date.getTime() }, (shouldRender ? tableCellProps : {})), shouldRender && (React__default.createElement(React__default.Fragment, null,
|
|
1120
|
+
return (React__default.createElement("td", __assign({ ref: handleRefs, "data-date": date.getTime() }, (shouldRender ? tableCellProps : {}), { role: "gridcell" }), shouldRender && (React__default.createElement(React__default.Fragment, null,
|
|
1121
1121
|
React__default.createElement(VisuallyHidden, null, format(date, "MMMM do, yyyy")),
|
|
1122
1122
|
React__default.createElement("div", { className: "arc-CalendarDayNumber-buttonOuter" },
|
|
1123
1123
|
React__default.createElement("div", { className: "arc-CalendarDayNumber-buttonInner" },
|
|
@@ -1341,7 +1341,7 @@ const BtIconChevronLeftMid = (props) =>
|
|
|
1341
1341
|
"svg",
|
|
1342
1342
|
Object.assign(
|
|
1343
1343
|
{
|
|
1344
|
-
viewBox: "0 0
|
|
1344
|
+
viewBox: "0 0 32 32",
|
|
1345
1345
|
fill: "none",
|
|
1346
1346
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1347
1347
|
},
|
|
@@ -1350,7 +1350,7 @@ const BtIconChevronLeftMid = (props) =>
|
|
|
1350
1350
|
/*#__PURE__*/ React__default.createElement("path", {
|
|
1351
1351
|
fillRule: "evenodd",
|
|
1352
1352
|
clipRule: "evenodd",
|
|
1353
|
-
d: "
|
|
1353
|
+
d: "M13.9091 16.0002L19.6065 21.7042C19.8585 21.9567 20 22.2988 20 22.6555C20 23.0123 19.8585 23.3544 19.6065 23.6069C19.4819 23.7317 19.3339 23.8307 19.171 23.8983C19.0081 23.9658 18.8335 24.0006 18.6571 24.0006C18.4808 24.0006 18.3062 23.9658 18.1433 23.8983C17.9804 23.8307 17.8324 23.7317 17.7078 23.6069L11.0598 16.9509C10.8082 16.6985 10.6669 16.3566 10.6669 16.0002C10.6669 15.6438 10.8082 15.302 11.0598 15.0495L17.7078 8.39354C17.8324 8.26873 17.9804 8.16971 18.1433 8.10215C18.3062 8.03458 18.4808 7.99981 18.6571 7.99981C18.8335 7.99981 19.0081 8.03458 19.171 8.10215C19.3339 8.16971 19.4819 8.26873 19.6065 8.39354C19.8585 8.64602 20 8.98816 20 9.34487C20 9.70159 19.8585 10.0437 19.6065 10.2962L13.9091 16.0002Z",
|
|
1354
1354
|
fill: "currentColor",
|
|
1355
1355
|
}),
|
|
1356
1356
|
);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
|
+
import { B as BtIconArrowRight } from './BtIconArrowRight.esm-8bcaa8ad.js';
|
|
4
|
+
import { B as BtIconPlayFill } from './BtIconPlayFill.esm-ec2797a0.js';
|
|
5
|
+
import { I as Icon } from './Icon-3e813b34.js';
|
|
6
|
+
import { i as isDate, f as format } from './index-ce6dee84.js';
|
|
7
|
+
|
|
8
|
+
const BtIconPlay = (props) =>
|
|
9
|
+
/*#__PURE__*/ React__default.createElement(
|
|
10
|
+
"svg",
|
|
11
|
+
Object.assign(
|
|
12
|
+
{
|
|
13
|
+
viewBox: "0 0 32 32",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
},
|
|
17
|
+
props,
|
|
18
|
+
),
|
|
19
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
20
|
+
d: "M16 2C13.2311 2 10.5243 2.82109 8.22202 4.35943C5.91973 5.89777 4.12532 8.08427 3.06569 10.6424C2.00607 13.2006 1.72882 16.0155 2.26901 18.7313C2.80921 21.447 4.14258 23.9416 6.10051 25.8995C8.05845 27.8574 10.553 29.1908 13.2687 29.731C15.9845 30.2712 18.7994 29.9939 21.3576 28.9343C23.9157 27.8747 26.1022 26.0803 27.6406 23.778C29.1789 21.4757 30 18.7689 30 16C30 12.287 28.525 8.72601 25.8995 6.1005C23.274 3.475 19.713 2 16 2ZM16 29C13.4288 29 10.9154 28.2376 8.77759 26.8091C6.63975 25.3806 4.97351 23.3503 3.98957 20.9749C3.00563 18.5994 2.74819 15.9856 3.2498 13.4638C3.75141 10.9421 4.98954 8.62569 6.80762 6.80761C8.6257 4.98953 10.9421 3.7514 13.4638 3.24979C15.9856 2.74818 18.5995 3.00563 20.9749 3.98957C23.3503 4.97351 25.3807 6.63975 26.8091 8.77759C28.2376 10.9154 29 13.4288 29 16C28.996 19.4466 27.6251 22.7509 25.188 25.188C22.7509 27.6251 19.4466 28.996 16 29Z",
|
|
21
|
+
fill: "currentColor",
|
|
22
|
+
}),
|
|
23
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
24
|
+
d: "M20.839 15.04L13.661 10.896C13.4928 10.7987 13.3019 10.7475 13.1075 10.7474C12.9132 10.7473 12.7223 10.7984 12.5539 10.8955C12.3856 10.9926 12.2458 11.1323 12.1485 11.3005C12.0513 11.4688 12.0001 11.6597 12 11.854V20.142C11.9991 20.3367 12.0497 20.5283 12.1466 20.6972C12.2436 20.8661 12.3834 21.0063 12.5521 21.1038C12.7207 21.2012 12.912 21.2524 13.1068 21.2521C13.3015 21.2518 13.4927 21.2 13.661 21.102L20.839 16.957C21.0072 16.8598 21.1469 16.7201 21.244 16.5518C21.3411 16.3836 21.3922 16.1928 21.3922 15.9985C21.3922 15.8042 21.3411 15.6134 21.244 15.4452C21.1469 15.2769 21.0072 15.1372 20.839 15.04ZM20.339 16.091L13.161 20.236C13.1448 20.2457 13.1264 20.2508 13.1075 20.2508C13.0887 20.2508 13.0702 20.2457 13.054 20.236C13.0372 20.2269 13.0232 20.2133 13.0136 20.1967C13.0041 20.1801 12.9994 20.1611 13 20.142V11.854C12.9996 11.8352 13.0045 11.8166 13.014 11.8004C13.0236 11.7841 13.0374 11.7709 13.054 11.762C13.0701 11.7522 13.0886 11.747 13.1075 11.747C13.1264 11.747 13.1449 11.7522 13.161 11.762L20.339 15.905C20.3558 15.9142 20.3697 15.9278 20.3792 15.9444C20.3888 15.961 20.3935 15.9799 20.393 15.999C20.3933 16.0178 20.3884 16.0363 20.3788 16.0525C20.3693 16.0688 20.3555 16.0821 20.339 16.091Z",
|
|
25
|
+
fill: "currentColor",
|
|
26
|
+
}),
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
const BtIconArrowRightFill = (props) =>
|
|
30
|
+
/*#__PURE__*/ React__default.createElement(
|
|
31
|
+
"svg",
|
|
32
|
+
Object.assign(
|
|
33
|
+
{
|
|
34
|
+
viewBox: "0 0 32 32",
|
|
35
|
+
fill: "none",
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
},
|
|
38
|
+
props,
|
|
39
|
+
),
|
|
40
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
41
|
+
d: "M2 16C2 18.7689 2.82109 21.4757 4.35943 23.778C5.89777 26.0803 8.08427 27.8747 10.6424 28.9343C13.2006 29.9939 16.0155 30.2712 18.7313 29.731C21.447 29.1908 23.9416 27.8574 25.8995 25.8995C27.8574 23.9416 29.1908 21.447 29.731 18.7313C30.2712 16.0155 29.9939 13.2006 28.9343 10.6424C27.8747 8.08427 26.0803 5.89777 23.778 4.35943C21.4757 2.82109 18.7689 2 16 2C12.287 2 8.72601 3.475 6.1005 6.1005C3.475 8.72601 2 12.287 2 16ZM18.854 11.646L23.207 16L18.853 20.354C18.7587 20.4451 18.6324 20.4955 18.5013 20.4943C18.3702 20.4932 18.2448 20.4406 18.1521 20.3479C18.0594 20.2552 18.0068 20.1298 18.0057 19.9987C18.0045 19.8676 18.0549 19.7413 18.146 19.647L21.293 16.5H9.5C9.36739 16.5 9.24021 16.4473 9.14645 16.3536C9.05268 16.2598 9 16.1326 9 16C9 15.8674 9.05268 15.7402 9.14645 15.6464C9.24021 15.5527 9.36739 15.5 9.5 15.5H21.293L18.147 12.354C18.0559 12.2597 18.0055 12.1334 18.0067 12.0023C18.0078 11.8712 18.0604 11.7458 18.1531 11.6531C18.2458 11.5604 18.3712 11.5078 18.5023 11.5067C18.6334 11.5055 18.7597 11.5559 18.854 11.647V11.646Z",
|
|
42
|
+
fill: "currentColor",
|
|
43
|
+
}),
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
var CardFooter = function (_a) {
|
|
47
|
+
var metaText = _a.metaText, _b = _a.buttonIcon, buttonIcon = _b === void 0 ? "arrow" : _b, _c = _a.isDarkPathway, isDarkPathway = _c === void 0 ? false : _c, _d = _a.showButton, showButton = _d === void 0 ? true : _d, _e = _a.isHovered, isHovered = _e === void 0 ? false : _e;
|
|
48
|
+
var icons = {
|
|
49
|
+
arrow: {
|
|
50
|
+
regular: BtIconArrowRight,
|
|
51
|
+
filled: BtIconArrowRightFill
|
|
52
|
+
},
|
|
53
|
+
play: {
|
|
54
|
+
regular: BtIconPlay,
|
|
55
|
+
filled: BtIconPlayFill
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
return (React__default.createElement("div", { className: classNames("arc-CardFooter", {
|
|
59
|
+
"arc-CardFooter--darkPathway": isDarkPathway
|
|
60
|
+
}) },
|
|
61
|
+
React__default.createElement("div", { className: "arc-CardFooter-metaTextContainer" }, metaText && (React__default.createElement("div", { className: "arc-CardFooter-metaText" }, isDate(metaText) ? (React__default.createElement("time", { dateTime: format(metaText, "yyyy-MM-dd") }, format(metaText, "LLLL d, yyyy"))) : (React__default.createElement("span", null, metaText))))),
|
|
62
|
+
showButton && (React__default.createElement("div", null,
|
|
63
|
+
React__default.createElement("div", { className: "arc-CardFooter-button" },
|
|
64
|
+
React__default.createElement("div", { className: "arc-CardFooter-buttonIcon" },
|
|
65
|
+
React__default.createElement("div", { className: classNames("arc-CardFooter-buttonIconRight", {
|
|
66
|
+
"arc-CardFooter-buttonIconRight--isHovered": isHovered
|
|
67
|
+
}) },
|
|
68
|
+
React__default.createElement(Icon, { icon: icons[buttonIcon].regular })),
|
|
69
|
+
React__default.createElement("div", { className: "arc-CardFooter-buttonIconLeft" },
|
|
70
|
+
React__default.createElement(Icon, { icon: icons[buttonIcon].regular }))))))));
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export { CardFooter as C };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __assign, f as filterDataAttrs } from './index.es-
|
|
1
|
+
import { a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { H as Heading } from './Heading-
|
|
3
|
+
import { H as Heading } from './Heading-14df0c64.js';
|
|
4
4
|
|
|
5
5
|
var CardHeading = function (_a) {
|
|
6
6
|
var onClick = _a.onClick, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onBlur = _a.onBlur, onFocus = _a.onFocus, href = _a.href, heading = _a.heading, _b = _a.size, size = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.headingLevel, headingLevel = _d === void 0 ? "2" : _d;
|