@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
|
@@ -12,9 +12,12 @@ export { ButtonV2 } from "./ButtonV2";
|
|
|
12
12
|
export { Calendar } from "./Calendar";
|
|
13
13
|
export { Checkbox } from "./Checkbox";
|
|
14
14
|
export { Columns } from "./Columns";
|
|
15
|
+
export { ContentSwitcher } from "./ContentSwitcher";
|
|
16
|
+
export { ContentSwitcherDropdown } from "./ContentSwitcherDropdown";
|
|
15
17
|
export { DatePicker } from "./DatePicker";
|
|
16
18
|
export { Disclosure } from "./Disclosure";
|
|
17
19
|
export { DisclosureMini } from "./DisclosureMini";
|
|
20
|
+
export { Download } from "./Download";
|
|
18
21
|
export { Elevation } from "./Elevation";
|
|
19
22
|
export { Filter } from "./Filter";
|
|
20
23
|
export { FormControl } from "./FormControl";
|
|
@@ -42,6 +45,7 @@ export { Section } from "./Section";
|
|
|
42
45
|
export { Select } from "./Select";
|
|
43
46
|
export { SiteFooter } from "./SiteFooter";
|
|
44
47
|
export { SiteHeaderV2 } from "./SiteHeaderV2";
|
|
48
|
+
export { Spinner } from "./Spinner";
|
|
45
49
|
export { Surface, SurfaceContext } from "./Surface";
|
|
46
50
|
export { Switch } from "./Switch";
|
|
47
51
|
export { Tabs } from "./Tabs";
|
package/dist/types/styles.d.ts
CHANGED
|
@@ -8,16 +8,21 @@ import "./components/Breadcrumbs/Breadcrumbs.css";
|
|
|
8
8
|
import "./components/Button/Button.css";
|
|
9
9
|
import "./components/CardHeading/CardHeading.css";
|
|
10
10
|
import "./components/CardFooter/CardFooter.css";
|
|
11
|
+
import "./components/Carousel/Carousel.css";
|
|
11
12
|
import "./components/Checkbox/Checkbox.css";
|
|
12
13
|
import "./components/Columns/Columns.css";
|
|
13
14
|
import "./components/Columns/Columns.offsets.css";
|
|
15
|
+
import "./components/ContentSwitcher/ContentSwitcher.css";
|
|
16
|
+
import "./components/ContentSwitcherDropdown/ContentSwitcherDropdown.css";
|
|
14
17
|
import "./components/Disclosure/Disclosure.css";
|
|
15
18
|
import "./components/DisclosureMini/DisclosureMini.css";
|
|
19
|
+
import "./components/Download/Download.css";
|
|
16
20
|
import "./components/Elevation/Elevation.css";
|
|
17
21
|
import "./components/Filter/Filter.css";
|
|
18
22
|
import "./components/FormControl/FormControl.css";
|
|
19
23
|
import "./components/Group/Group.css";
|
|
20
24
|
import "./components/Heading/Heading.css";
|
|
25
|
+
import "./components/HeroBanner/HeroBanner.css";
|
|
21
26
|
import "./components/HeroButton/HeroButton.css";
|
|
22
27
|
import "./components/ButtonV2/ButtonV2.css";
|
|
23
28
|
import "./components/Icon/Icon.css";
|
|
@@ -38,6 +43,7 @@ import "./components/Select/Select.css";
|
|
|
38
43
|
import "./components/SiteFooter/SiteFooter.css";
|
|
39
44
|
import "./components/SkipLink/SkipLink.css";
|
|
40
45
|
import "./components/SiteHeaderV2/SiteHeaderV2.css";
|
|
46
|
+
import "./components/Spinner/Spinner.css";
|
|
41
47
|
import "./components/Surface/Surface.css";
|
|
42
48
|
import "./components/Tabs/Tabs.css";
|
|
43
49
|
import "./components/Tag/Tag.css";
|
|
@@ -50,7 +56,6 @@ import "./components/UniversalHeader/UniversalHeader.css";
|
|
|
50
56
|
import "./components/VerticalSpace/VerticalSpace.css";
|
|
51
57
|
import "./components/VisuallyHidden/VisuallyHidden.css";
|
|
52
58
|
import "./components/Switch/Switch.css";
|
|
53
|
-
import "./components/Tabs/Tabs.css";
|
|
54
59
|
import "./components/Toast/Toast.css";
|
|
55
60
|
import "./components/Theme/Theme.css";
|
|
56
61
|
import "./components/ProgressStepper/ProgressStepper.css";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arc-ui/components",
|
|
3
|
-
"version": "12.0.0-beta.
|
|
3
|
+
"version": "12.0.0-beta.8",
|
|
4
4
|
"homepage": "https://ui.digital-ent-int.bt.com",
|
|
5
5
|
"author": "BT Business Digital UI Team <ui-digital-ent-int@bt.com>",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,7 +24,10 @@
|
|
|
24
24
|
"@radix-ui/react-switch": "1.0.3",
|
|
25
25
|
"@radix-ui/react-tabs": "1.0.4",
|
|
26
26
|
"@radix-ui/react-toast": "1.1.4",
|
|
27
|
-
"date-fns": "^2.30.0"
|
|
27
|
+
"date-fns": "^2.30.0",
|
|
28
|
+
"embla-carousel": "^8.3.0",
|
|
29
|
+
"embla-carousel-react": "^8.3.0",
|
|
30
|
+
"react-swipeable": "^7.0.1"
|
|
28
31
|
},
|
|
29
32
|
"devDependencies": {
|
|
30
33
|
"@babel/core": "^7.14.3",
|
|
@@ -63,14 +66,13 @@
|
|
|
63
66
|
"classnames": "^2.2.6",
|
|
64
67
|
"countries-list": "^2.6.1",
|
|
65
68
|
"css-loader": "^7.1.2",
|
|
69
|
+
"cy-mobile-commands": "^0.3.0",
|
|
66
70
|
"cypress": "^13.3.1",
|
|
67
71
|
"formik": "^2.2.9",
|
|
68
72
|
"lodash": "^4.17.21",
|
|
69
73
|
"postcss": "^8.0.0",
|
|
70
|
-
"postcss-import": "^13.0.0",
|
|
71
74
|
"postcss-loader": "^8.1.1",
|
|
72
|
-
"postcss-
|
|
73
|
-
"postcss-preset-env": "^7.0.0",
|
|
75
|
+
"postcss-plugin-namespace": "^0.0.3",
|
|
74
76
|
"prop-types": "^15.7.2",
|
|
75
77
|
"react": "^18.0.0",
|
|
76
78
|
"react-dom": "^18.0.0",
|
|
@@ -90,26 +92,27 @@
|
|
|
90
92
|
"vite": "^4.4.5",
|
|
91
93
|
"vite-plugin-istanbul": "^5.0.0",
|
|
92
94
|
"yup": "^0.32.11",
|
|
93
|
-
"@arc-ui/
|
|
94
|
-
"@arc-ui/
|
|
95
|
-
"@arc-ui/icons-
|
|
96
|
-
"@arc-ui/
|
|
97
|
-
"@arc-ui/theme-
|
|
98
|
-
"@arc-ui/
|
|
99
|
-
"@arc-ui/
|
|
100
|
-
"@arc-ui/
|
|
101
|
-
"@arc-ui/tokens-
|
|
102
|
-
"@arc-ui/
|
|
103
|
-
"@arc-ui/
|
|
95
|
+
"@arc-ui/theme-bt-business": "^12.0.0-beta.8",
|
|
96
|
+
"@arc-ui/icons-bt": "^12.0.0-beta.8",
|
|
97
|
+
"@arc-ui/icons-ee": "^12.0.0-beta.8",
|
|
98
|
+
"@arc-ui/theme-bt-enterprise": "^12.0.0-beta.8",
|
|
99
|
+
"@arc-ui/theme-ee": "^12.0.0-beta.8",
|
|
100
|
+
"@arc-ui/fonts-ee": "^12.0.0-beta.8",
|
|
101
|
+
"@arc-ui/tokens-arc": "^12.0.0-beta.8",
|
|
102
|
+
"@arc-ui/tokens-bt-enterprise": "^12.0.0-beta.8",
|
|
103
|
+
"@arc-ui/tokens-ee": "^12.0.0-beta.8",
|
|
104
|
+
"@arc-ui/build-utils": "^12.0.0-beta.8",
|
|
105
|
+
"@arc-ui/helpers": "^12.0.0-beta.8",
|
|
106
|
+
"@arc-ui/fonts-bt": "^12.0.0-beta.8"
|
|
104
107
|
},
|
|
105
108
|
"scripts": {
|
|
106
|
-
"build": "rimraf dist && rollup -c &&
|
|
109
|
+
"build": "rimraf dist && rollup -c && generate-subpath-css",
|
|
107
110
|
"storybook": "storybook dev -p 6006",
|
|
108
111
|
"storybook:build": "storybook build --quiet",
|
|
109
112
|
"storybook:quiet": "pnpm run storybook --quiet",
|
|
110
113
|
"coverage:summary": "pnpm dlx nyc report --reporter=text-summary",
|
|
111
114
|
"coverage:files": "pnpm dlx nyc@15.0.0 report --reporter=text",
|
|
112
|
-
"coverage:check": "pnpm dlx nyc@15.0.0 report --check-coverage --lines
|
|
115
|
+
"coverage:check": "pnpm dlx nyc@15.0.0 report --check-coverage --lines 80 --functions 80 --branches 80 --statements 80",
|
|
113
116
|
"test:components": "cypress open --component",
|
|
114
117
|
"test:components:ci": "cypress run --component --browser chrome",
|
|
115
118
|
"test:components:pipeline": "pnpm run test:components:ci && pnpm run coverage:check",
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
|
|
5
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
-
|
|
7
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
8
|
-
|
|
9
|
-
const ArcIconEclipse = (props) =>
|
|
10
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
11
|
-
"svg",
|
|
12
|
-
Object.assign(
|
|
13
|
-
{
|
|
14
|
-
viewBox: "0 0 28 28",
|
|
15
|
-
fill: "none",
|
|
16
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
-
},
|
|
18
|
-
props,
|
|
19
|
-
),
|
|
20
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
21
|
-
d: "M23.2 14C23.2 15.6967 22.7308 17.3603 21.8443 18.807C20.9578 20.2536 19.6885 21.427 18.1767 22.1973C16.665 22.9675 14.9696 23.3048 13.2782 23.1716C11.5867 23.0385 9.96502 22.4402 8.59238 21.443C7.21973 20.4457 6.1496 19.0882 5.50031 17.5207C4.85102 15.9532 4.64785 14.2366 4.91327 12.5608C5.17869 10.885 5.90236 9.31525 7.00426 8.02508C8.10617 6.73491 9.5434 5.77459 11.157 5.25028",
|
|
22
|
-
stroke: "currentColor",
|
|
23
|
-
strokeWidth: 1.6,
|
|
24
|
-
strokeLinecap: "round",
|
|
25
|
-
}),
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
exports.ArcIconEclipse = ArcIconEclipse;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
|
|
5
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
-
|
|
7
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
8
|
-
|
|
9
|
-
const BtIconArrowRight = (props) =>
|
|
10
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
11
|
-
"svg",
|
|
12
|
-
Object.assign(
|
|
13
|
-
{
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
-
viewBox: "0 0 32 32",
|
|
16
|
-
},
|
|
17
|
-
props,
|
|
18
|
-
),
|
|
19
|
-
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
20
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
21
|
-
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
}),
|
|
24
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
25
|
-
d: "M18.14648,11.64648a.49983.49983,0,0,0,0,.707L21.293,15.5H9.5a.5.5,0,0,0,0,1H21.293l-3.14649,3.14648a.5.5,0,1,0,.707.707L23.207,16l-4.35351-4.35352A.49983.49983,0,0,0,18.14648,11.64648Z",
|
|
26
|
-
fill: "currentColor",
|
|
27
|
-
}),
|
|
28
|
-
);
|
|
29
|
-
|
|
30
|
-
exports.BtIconArrowRight = BtIconArrowRight;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
|
|
5
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
-
|
|
7
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
8
|
-
|
|
9
|
-
const BtIconChevronRightMid = (props) =>
|
|
10
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
11
|
-
"svg",
|
|
12
|
-
Object.assign(
|
|
13
|
-
{
|
|
14
|
-
viewBox: "0 0 16 16",
|
|
15
|
-
fill: "none",
|
|
16
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
-
},
|
|
18
|
-
props,
|
|
19
|
-
),
|
|
20
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
21
|
-
fillRule: "evenodd",
|
|
22
|
-
clipRule: "evenodd",
|
|
23
|
-
d: "M9.04543 8.0002L6.19676 5.1482C6.07077 5.02196 6 4.85089 6 4.67253C6 4.49418 6.07077 4.32311 6.19676 4.19687C6.25906 4.13446 6.33304 4.08495 6.41449 4.05117C6.49594 4.01739 6.58325 4 6.67143 4C6.75961 4 6.84692 4.01739 6.92837 4.05117C7.00982 4.08495 7.0838 4.13446 7.1461 4.19687L10.4701 7.52487C10.5959 7.65108 10.6665 7.82201 10.6665 8.0002C10.6665 8.1784 10.5959 8.34932 10.4701 8.47553L7.1461 11.8035C7.0838 11.8659 7.00982 11.9155 6.92837 11.9492C6.84692 11.983 6.75961 12.0004 6.67143 12.0004C6.58325 12.0004 6.49594 11.983 6.41449 11.9492C6.33304 11.9155 6.25906 11.8659 6.19676 11.8035C6.07077 11.6773 6 11.5062 6 11.3279C6 11.1495 6.07077 10.9784 6.19676 10.8522L9.04543 8.0002Z",
|
|
24
|
-
fill: "currentColor",
|
|
25
|
-
}),
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
exports.BtIconChevronRightMid = BtIconChevronRightMid;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
|
|
5
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
-
|
|
7
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
8
|
-
|
|
9
|
-
const BtIconPlayFill = (props) =>
|
|
10
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
11
|
-
"svg",
|
|
12
|
-
Object.assign(
|
|
13
|
-
{
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
-
viewBox: "0 0 32 32",
|
|
16
|
-
},
|
|
17
|
-
props,
|
|
18
|
-
),
|
|
19
|
-
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
20
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
21
|
-
d: "M13.16113,11.76172a.10284.10284,0,0,0-.10742,0A.10229.10229,0,0,0,13,11.85449v8.2876a.10314.10314,0,0,0,.05371.09326.10451.10451,0,0,0,.10742.00049l7.17774-4.14453a.10285.10285,0,0,0,.05371-.09277.10421.10421,0,0,0-.05371-.09375Z",
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
}),
|
|
24
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
25
|
-
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm4.83887,14.957-7.17774,4.14453A1.10791,1.10791,0,0,1,12,20.14209v-8.2876a1.107,1.107,0,0,1,1.66113-.95849l7.17774,4.14355a1.10688,1.10688,0,0,1,0,1.91748Z",
|
|
26
|
-
fill: "currentColor",
|
|
27
|
-
}),
|
|
28
|
-
);
|
|
29
|
-
|
|
30
|
-
exports.BtIconPlayFill = BtIconPlayFill;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var index = require('./index-9947ac13.js');
|
|
5
|
-
var BtIconArrowRight_esm = require('./BtIconArrowRight.esm-6053bb79.js');
|
|
6
|
-
var BtIconPlayFill_esm = require('./BtIconPlayFill.esm-b8997cfc.js');
|
|
7
|
-
var Icon = require('./Icon-7f1e8a19.js');
|
|
8
|
-
var index$1 = require('./index-28fbfd5b.js');
|
|
9
|
-
|
|
10
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
-
|
|
12
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
|
-
|
|
14
|
-
const BtIconPlay = (props) =>
|
|
15
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
16
|
-
"svg",
|
|
17
|
-
Object.assign(
|
|
18
|
-
{
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
viewBox: "0 0 32 32",
|
|
21
|
-
},
|
|
22
|
-
props,
|
|
23
|
-
),
|
|
24
|
-
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
25
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
26
|
-
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
|
|
27
|
-
fill: "currentColor",
|
|
28
|
-
}),
|
|
29
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
30
|
-
d: "M20.83887,15.03955,13.66113,10.896A1.107,1.107,0,0,0,12,11.85449v8.2876a1.10534,1.10534,0,0,0,1.66113.95947L20.83887,16.957a1.10688,1.10688,0,0,0,0-1.91748Zm-.5,1.05176-7.17774,4.14453a.10437.10437,0,0,1-.10742-.00049A.10314.10314,0,0,1,13,20.14209v-8.2876a.10229.10229,0,0,1,.05371-.09277.10284.10284,0,0,1,.10742,0l7.17774,4.14307a.10421.10421,0,0,1,.05371.09375A.10285.10285,0,0,1,20.33887,16.09131Z",
|
|
31
|
-
fill: "currentColor",
|
|
32
|
-
}),
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
const BtIconArrowRightFill = (props) =>
|
|
36
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
37
|
-
"svg",
|
|
38
|
-
Object.assign(
|
|
39
|
-
{
|
|
40
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
41
|
-
viewBox: "0 0 32 32",
|
|
42
|
-
},
|
|
43
|
-
props,
|
|
44
|
-
),
|
|
45
|
-
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
46
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
47
|
-
d: "M2,16A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm16.85352-4.35352L23.207,16l-4.35351,4.35352a.5.5,0,0,1-.707-.707L21.293,16.5H9.5a.5.5,0,0,1,0-1H21.293l-3.14649-3.14648a.5.5,0,0,1,.707-.707Z",
|
|
48
|
-
fill: "currentColor",
|
|
49
|
-
}),
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
var CardFooter = function (_a) {
|
|
53
|
-
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;
|
|
54
|
-
var icons = {
|
|
55
|
-
arrow: {
|
|
56
|
-
regular: BtIconArrowRight_esm.BtIconArrowRight,
|
|
57
|
-
filled: BtIconArrowRightFill
|
|
58
|
-
},
|
|
59
|
-
play: {
|
|
60
|
-
regular: BtIconPlay,
|
|
61
|
-
filled: BtIconPlayFill_esm.BtIconPlayFill
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
return (React__default["default"].createElement("div", { className: index.classNames("arc-CardFooter", {
|
|
65
|
-
"arc-CardFooter--darkPathway": isDarkPathway
|
|
66
|
-
}) },
|
|
67
|
-
React__default["default"].createElement("div", { className: "arc-CardFooter-metaTextContainer" }, metaText && (React__default["default"].createElement("div", { className: "arc-CardFooter-metaText" }, index$1.isDate(metaText) ? (React__default["default"].createElement("time", { dateTime: index$1.format(metaText, "yyyy-MM-dd") }, index$1.format(metaText, "LLLL d, yyyy"))) : (React__default["default"].createElement("span", null, metaText))))),
|
|
68
|
-
showButton && (React__default["default"].createElement("div", null,
|
|
69
|
-
React__default["default"].createElement("div", { className: "arc-CardFooter-button" },
|
|
70
|
-
React__default["default"].createElement("div", { className: "arc-CardFooter-buttonIcon" },
|
|
71
|
-
React__default["default"].createElement("div", { className: index.classNames("arc-CardFooter-buttonIconRight", {
|
|
72
|
-
"arc-CardFooter-buttonIconRight--isHovered": isHovered
|
|
73
|
-
}) },
|
|
74
|
-
React__default["default"].createElement(Icon.Icon, { icon: icons[buttonIcon].regular, size: 40 })),
|
|
75
|
-
React__default["default"].createElement("div", { className: "arc-CardFooter-buttonIconLeft" },
|
|
76
|
-
React__default["default"].createElement(Icon.Icon, { icon: icons[buttonIcon].regular, size: 40 }))))))));
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
exports.CardFooter = CardFooter;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index_es = require('./index.es-c26e8978.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var index = require('./index-9947ac13.js');
|
|
6
|
-
var Icon = require('./Icon-7f1e8a19.js');
|
|
7
|
-
var ThemeIcon = require('./ThemeIcon-c3dc056d.js');
|
|
8
|
-
|
|
9
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
-
|
|
11
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Use `Tag` to promote features and manage filtering.
|
|
15
|
-
*/
|
|
16
|
-
var Tag = function (_a) {
|
|
17
|
-
var children = _a.children, isRemovable = _a.isRemovable, link = _a.link, icon = _a.icon, onClick = _a.onClick, onRemove = _a.onRemove, title = _a.title, props = index_es.__rest(_a, ["children", "isRemovable", "link", "icon", "onClick", "onRemove", "title"]);
|
|
18
|
-
var _b = React.useState(false), isRemoved = _b[0], setIsRemoved = _b[1];
|
|
19
|
-
var onRemoveHandler = function () {
|
|
20
|
-
setIsRemoved(function (p) { return !p; });
|
|
21
|
-
onRemove && onRemove();
|
|
22
|
-
};
|
|
23
|
-
return (React__default["default"].createElement("div", index_es.__assign({ className: index.classNames("arc-Tag", {
|
|
24
|
-
"arc-Tag--isRemovable": isRemovable,
|
|
25
|
-
"arc-Tag--hasIcon": icon,
|
|
26
|
-
"arc-Tag--hasLink": link || onClick,
|
|
27
|
-
"arc-Tag--removed": isRemoved
|
|
28
|
-
}) }, (isRemoved && { "aria-hidden": true }), index_es.filterDataAttrs(props)),
|
|
29
|
-
link ? (React__default["default"].createElement("a", { className: "arc-Tag-content", href: link, tabIndex: 0 },
|
|
30
|
-
icon && (React__default["default"].createElement("span", { className: "arc-Tag-icon" },
|
|
31
|
-
React__default["default"].createElement(Icon.Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
32
|
-
React__default["default"].createElement("div", { className: "arc-Tag-label", title: title }, children))) : (React__default["default"].createElement(React__default["default"].Fragment, null, onClick ? (React__default["default"].createElement("button", { className: "arc-Tag-content", onClick: onClick, "data-testid": "arc-Tag-content" },
|
|
33
|
-
icon && (React__default["default"].createElement("span", { className: "arc-Tag-icon" },
|
|
34
|
-
React__default["default"].createElement(Icon.Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
35
|
-
React__default["default"].createElement("div", { className: "arc-Tag-label", title: title }, children))) : (React__default["default"].createElement("div", { className: "arc-Tag-content", "data-testid": "arc-Tag-content" },
|
|
36
|
-
icon && (React__default["default"].createElement("span", { className: "arc-Tag-icon" },
|
|
37
|
-
React__default["default"].createElement(Icon.Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
38
|
-
React__default["default"].createElement("div", { className: "arc-Tag-label", title: title }, children))))),
|
|
39
|
-
isRemovable && (React__default["default"].createElement("button", { className: "arc-Tag-icon arc-Tag-icon--removable", onClick: onRemoveHandler, "data-testid": "arc-Tag-icon-removable", "aria-live": "polite", "aria-roledescription": "remove tag", "aria-label": "Remove tag" },
|
|
40
|
-
React__default["default"].createElement(ThemeIcon.ThemeIcon, { icon: "tagRemove", color: "brand", size: 20 }),
|
|
41
|
-
React__default["default"].createElement(ThemeIcon.ThemeIcon, { icon: "tagRemoveInteractive", color: "brand", size: 20 })))));
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
exports.Tag = Tag;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
|
|
3
|
-
const ArcIconEclipse = (props) =>
|
|
4
|
-
/*#__PURE__*/ React__default.createElement(
|
|
5
|
-
"svg",
|
|
6
|
-
Object.assign(
|
|
7
|
-
{
|
|
8
|
-
viewBox: "0 0 28 28",
|
|
9
|
-
fill: "none",
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
},
|
|
12
|
-
props,
|
|
13
|
-
),
|
|
14
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
15
|
-
d: "M23.2 14C23.2 15.6967 22.7308 17.3603 21.8443 18.807C20.9578 20.2536 19.6885 21.427 18.1767 22.1973C16.665 22.9675 14.9696 23.3048 13.2782 23.1716C11.5867 23.0385 9.96502 22.4402 8.59238 21.443C7.21973 20.4457 6.1496 19.0882 5.50031 17.5207C4.85102 15.9532 4.64785 14.2366 4.91327 12.5608C5.17869 10.885 5.90236 9.31525 7.00426 8.02508C8.10617 6.73491 9.5434 5.77459 11.157 5.25028",
|
|
16
|
-
stroke: "currentColor",
|
|
17
|
-
strokeWidth: 1.6,
|
|
18
|
-
strokeLinecap: "round",
|
|
19
|
-
}),
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
export { ArcIconEclipse as A };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
|
|
3
|
-
const BtIconArrowRight = (props) =>
|
|
4
|
-
/*#__PURE__*/ React__default.createElement(
|
|
5
|
-
"svg",
|
|
6
|
-
Object.assign(
|
|
7
|
-
{
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
viewBox: "0 0 32 32",
|
|
10
|
-
},
|
|
11
|
-
props,
|
|
12
|
-
),
|
|
13
|
-
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
14
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
15
|
-
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
|
|
16
|
-
fill: "currentColor",
|
|
17
|
-
}),
|
|
18
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
19
|
-
d: "M18.14648,11.64648a.49983.49983,0,0,0,0,.707L21.293,15.5H9.5a.5.5,0,0,0,0,1H21.293l-3.14649,3.14648a.5.5,0,1,0,.707.707L23.207,16l-4.35351-4.35352A.49983.49983,0,0,0,18.14648,11.64648Z",
|
|
20
|
-
fill: "currentColor",
|
|
21
|
-
}),
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
export { BtIconArrowRight as B };
|
|
@@ -1,22 +0,0 @@
|
|
|
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 16 16",
|
|
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: "M9.04543 8.0002L6.19676 5.1482C6.07077 5.02196 6 4.85089 6 4.67253C6 4.49418 6.07077 4.32311 6.19676 4.19687C6.25906 4.13446 6.33304 4.08495 6.41449 4.05117C6.49594 4.01739 6.58325 4 6.67143 4C6.75961 4 6.84692 4.01739 6.92837 4.05117C7.00982 4.08495 7.0838 4.13446 7.1461 4.19687L10.4701 7.52487C10.5959 7.65108 10.6665 7.82201 10.6665 8.0002C10.6665 8.1784 10.5959 8.34932 10.4701 8.47553L7.1461 11.8035C7.0838 11.8659 7.00982 11.9155 6.92837 11.9492C6.84692 11.983 6.75961 12.0004 6.67143 12.0004C6.58325 12.0004 6.49594 11.983 6.41449 11.9492C6.33304 11.9155 6.25906 11.8659 6.19676 11.8035C6.07077 11.6773 6 11.5062 6 11.3279C6 11.1495 6.07077 10.9784 6.19676 10.8522L9.04543 8.0002Z",
|
|
18
|
-
fill: "currentColor",
|
|
19
|
-
}),
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
export { BtIconChevronRightMid as B };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
|
|
3
|
-
const BtIconPlayFill = (props) =>
|
|
4
|
-
/*#__PURE__*/ React__default.createElement(
|
|
5
|
-
"svg",
|
|
6
|
-
Object.assign(
|
|
7
|
-
{
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
viewBox: "0 0 32 32",
|
|
10
|
-
},
|
|
11
|
-
props,
|
|
12
|
-
),
|
|
13
|
-
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
14
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
15
|
-
d: "M13.16113,11.76172a.10284.10284,0,0,0-.10742,0A.10229.10229,0,0,0,13,11.85449v8.2876a.10314.10314,0,0,0,.05371.09326.10451.10451,0,0,0,.10742.00049l7.17774-4.14453a.10285.10285,0,0,0,.05371-.09277.10421.10421,0,0,0-.05371-.09375Z",
|
|
16
|
-
fill: "currentColor",
|
|
17
|
-
}),
|
|
18
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
19
|
-
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm4.83887,14.957-7.17774,4.14453A1.10791,1.10791,0,0,1,12,20.14209v-8.2876a1.107,1.107,0,0,1,1.66113-.95849l7.17774,4.14355a1.10688,1.10688,0,0,1,0,1.91748Z",
|
|
20
|
-
fill: "currentColor",
|
|
21
|
-
}),
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
export { BtIconPlayFill as B };
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
|
-
import { B as BtIconArrowRight } from './BtIconArrowRight.esm-93da96bb.js';
|
|
4
|
-
import { B as BtIconPlayFill } from './BtIconPlayFill.esm-05fc0344.js';
|
|
5
|
-
import { I as Icon } from './Icon-428e8061.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
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
-
viewBox: "0 0 32 32",
|
|
15
|
-
},
|
|
16
|
-
props,
|
|
17
|
-
),
|
|
18
|
-
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
19
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
20
|
-
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
|
|
21
|
-
fill: "currentColor",
|
|
22
|
-
}),
|
|
23
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
24
|
-
d: "M20.83887,15.03955,13.66113,10.896A1.107,1.107,0,0,0,12,11.85449v8.2876a1.10534,1.10534,0,0,0,1.66113.95947L20.83887,16.957a1.10688,1.10688,0,0,0,0-1.91748Zm-.5,1.05176-7.17774,4.14453a.10437.10437,0,0,1-.10742-.00049A.10314.10314,0,0,1,13,20.14209v-8.2876a.10229.10229,0,0,1,.05371-.09277.10284.10284,0,0,1,.10742,0l7.17774,4.14307a.10421.10421,0,0,1,.05371.09375A.10285.10285,0,0,1,20.33887,16.09131Z",
|
|
25
|
-
fill: "currentColor",
|
|
26
|
-
}),
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
const BtIconArrowRightFill = (props) =>
|
|
30
|
-
/*#__PURE__*/ React__default.createElement(
|
|
31
|
-
"svg",
|
|
32
|
-
Object.assign(
|
|
33
|
-
{
|
|
34
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
-
viewBox: "0 0 32 32",
|
|
36
|
-
},
|
|
37
|
-
props,
|
|
38
|
-
),
|
|
39
|
-
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
40
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
41
|
-
d: "M2,16A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm16.85352-4.35352L23.207,16l-4.35351,4.35352a.5.5,0,0,1-.707-.707L21.293,16.5H9.5a.5.5,0,0,1,0-1H21.293l-3.14649-3.14648a.5.5,0,0,1,.707-.707Z",
|
|
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, size: 40 })),
|
|
69
|
-
React__default.createElement("div", { className: "arc-CardFooter-buttonIconLeft" },
|
|
70
|
-
React__default.createElement(Icon, { icon: icons[buttonIcon].regular, size: 40 }))))))));
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export { CardFooter as C };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-5496ec12.js';
|
|
2
|
-
import React__default, { useState } from 'react';
|
|
3
|
-
import { c as classNames } from './index-2e73c2e9.js';
|
|
4
|
-
import { I as Icon } from './Icon-428e8061.js';
|
|
5
|
-
import { T as ThemeIcon } from './ThemeIcon-9fac63d0.js';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Use `Tag` to promote features and manage filtering.
|
|
9
|
-
*/
|
|
10
|
-
var Tag = function (_a) {
|
|
11
|
-
var children = _a.children, isRemovable = _a.isRemovable, link = _a.link, icon = _a.icon, onClick = _a.onClick, onRemove = _a.onRemove, title = _a.title, props = __rest(_a, ["children", "isRemovable", "link", "icon", "onClick", "onRemove", "title"]);
|
|
12
|
-
var _b = useState(false), isRemoved = _b[0], setIsRemoved = _b[1];
|
|
13
|
-
var onRemoveHandler = function () {
|
|
14
|
-
setIsRemoved(function (p) { return !p; });
|
|
15
|
-
onRemove && onRemove();
|
|
16
|
-
};
|
|
17
|
-
return (React__default.createElement("div", __assign({ className: classNames("arc-Tag", {
|
|
18
|
-
"arc-Tag--isRemovable": isRemovable,
|
|
19
|
-
"arc-Tag--hasIcon": icon,
|
|
20
|
-
"arc-Tag--hasLink": link || onClick,
|
|
21
|
-
"arc-Tag--removed": isRemoved
|
|
22
|
-
}) }, (isRemoved && { "aria-hidden": true }), filterDataAttrs(props)),
|
|
23
|
-
link ? (React__default.createElement("a", { className: "arc-Tag-content", href: link, tabIndex: 0 },
|
|
24
|
-
icon && (React__default.createElement("span", { className: "arc-Tag-icon" },
|
|
25
|
-
React__default.createElement(Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
26
|
-
React__default.createElement("div", { className: "arc-Tag-label", title: title }, children))) : (React__default.createElement(React__default.Fragment, null, onClick ? (React__default.createElement("button", { className: "arc-Tag-content", onClick: onClick, "data-testid": "arc-Tag-content" },
|
|
27
|
-
icon && (React__default.createElement("span", { className: "arc-Tag-icon" },
|
|
28
|
-
React__default.createElement(Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
29
|
-
React__default.createElement("div", { className: "arc-Tag-label", title: title }, children))) : (React__default.createElement("div", { className: "arc-Tag-content", "data-testid": "arc-Tag-content" },
|
|
30
|
-
icon && (React__default.createElement("span", { className: "arc-Tag-icon" },
|
|
31
|
-
React__default.createElement(Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
32
|
-
React__default.createElement("div", { className: "arc-Tag-label", title: title }, children))))),
|
|
33
|
-
isRemovable && (React__default.createElement("button", { className: "arc-Tag-icon arc-Tag-icon--removable", onClick: onRemoveHandler, "data-testid": "arc-Tag-icon-removable", "aria-live": "polite", "aria-roledescription": "remove tag", "aria-label": "Remove tag" },
|
|
34
|
-
React__default.createElement(ThemeIcon, { icon: "tagRemove", color: "brand", size: 20 }),
|
|
35
|
-
React__default.createElement(ThemeIcon, { icon: "tagRemoveInteractive", color: "brand", size: 20 })))));
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export { Tag as T };
|
|
@@ -221,6 +221,14 @@ function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
|
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
/**
|
|
225
|
+
* On the server, React emits a warning when calling `useLayoutEffect`.
|
|
226
|
+
* This is because neither `useLayoutEffect` nor `useEffect` run on the server.
|
|
227
|
+
* We use this safe version which suppresses the warning by replacing it with a noop on the server.
|
|
228
|
+
*
|
|
229
|
+
* See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
|
|
230
|
+
*/ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React.useLayoutEffect : ()=>{};
|
|
231
|
+
|
|
224
232
|
const $8927f6f2acc4f386$var$NODES = [
|
|
225
233
|
'a',
|
|
226
234
|
'button',
|
|
@@ -317,14 +325,6 @@ const $8927f6f2acc4f386$var$NODES = [
|
|
|
317
325
|
, []);
|
|
318
326
|
}
|
|
319
327
|
|
|
320
|
-
/**
|
|
321
|
-
* On the server, React emits a warning when calling `useLayoutEffect`.
|
|
322
|
-
* This is because neither `useLayoutEffect` nor `useEffect` run on the server.
|
|
323
|
-
* We use this safe version which suppresses the warning by replacing it with a noop on the server.
|
|
324
|
-
*
|
|
325
|
-
* See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
|
|
326
|
-
*/ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React.useLayoutEffect : ()=>{};
|
|
327
|
-
|
|
328
328
|
function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop: prop , defaultProp: defaultProp , onChange: onChange = ()=>{} }) {
|
|
329
329
|
const [uncontrolledProp, setUncontrolledProp] = $71cd76cc60e0454e$var$useUncontrolledState({
|
|
330
330
|
defaultProp: defaultProp,
|