@arc-ui/components 12.0.0-beta.6 → 12.0.0-beta.9
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/Banner/Banner.cjs.js +21 -0
- package/dist/Banner/Banner.esm.js +13 -0
- package/dist/Banner/package.json +7 -0
- package/dist/Banner/styles.css +1 -0
- package/dist/BannerWithTabs/BannerWithTabs.cjs.js +62 -0
- package/dist/BannerWithTabs/BannerWithTabs.esm.js +54 -0
- package/dist/BannerWithTabs/package.json +7 -0
- package/dist/BannerWithTabs/styles.css +1 -0
- package/dist/Box/Box.cjs.js +6 -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 +8 -8
- package/dist/Calendar/Calendar.esm.js +8 -8
- package/dist/Calendar/styles.css +1 -1
- package/dist/CardFooter/CardFooter.cjs.js +4 -4
- package/dist/CardFooter/CardFooter.esm.js +4 -4
- 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 +15 -15
- package/dist/DatePicker/DatePicker.esm.js +15 -15
- 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 +28 -0
- package/dist/HeroBanner/HeroBanner.esm.js +20 -0
- package/dist/HeroBanner/package.json +7 -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 +8 -9
- package/dist/ImpactCard/ImpactCard.esm.js +8 -9
- package/dist/ImpactCard/styles.css +1 -1
- package/dist/InformationCard/InformationCard.cjs.js +33 -47
- package/dist/InformationCard/InformationCard.esm.js +33 -47
- package/dist/InformationCard/styles.css +1 -1
- package/dist/Link/Link.cjs.js +4 -4
- package/dist/Link/Link.esm.js +4 -4
- 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 +11 -11
- package/dist/MediaCard/MediaCard.esm.js +11 -11
- 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/PageBanner/PageBanner.cjs.js +28 -0
- package/dist/PageBanner/PageBanner.esm.js +20 -0
- package/dist/PageBanner/package.json +7 -0
- package/dist/Pagination/Pagination.cjs.js +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 +10 -9
- package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +10 -9
- 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 +53 -47
- package/dist/TextArea/TextArea.esm.js +53 -47
- 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 +7 -8
- package/dist/TypographyCard/TypographyCard.esm.js +7 -8
- 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/VerticalSpace/styles.css +1 -1
- package/dist/VideoPlayer/VideoPlayer.cjs.js +36 -23
- package/dist/VideoPlayer/VideoPlayer.esm.js +36 -23
- 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-a3b9f474.js} +4 -4
- package/dist/_shared/cjs/Badge-e9ad6e2a.js +17 -0
- package/dist/_shared/cjs/Banner-a785d73f.js +66 -0
- package/dist/_shared/cjs/Box-082962b9.js +29 -0
- package/dist/_shared/cjs/{BrandLogo-ce65cd74.js → BrandLogo-78d3095b.js} +2 -2
- package/dist/_shared/cjs/{Breadcrumbs-c7821aa9.js → Breadcrumbs-83b30371.js} +5 -4
- package/dist/_shared/cjs/BtIconChevronRight2Px.esm-2e4d117e.js +44 -0
- package/dist/_shared/cjs/{Button-ea665c9c.js → Button-e6217128.js} +4 -4
- package/dist/_shared/cjs/{ButtonV2-373877da.js → ButtonV2-2640e91a.js} +13 -8
- package/dist/_shared/cjs/{Calendar-e5184158.js → Calendar-4284f52b.js} +8 -8
- package/dist/_shared/cjs/{CardFooter-a1bb3ded.js → CardFooter-24b10ae4.js} +3 -3
- package/dist/_shared/cjs/{CardHeading-3ddcf774.js → CardHeading-0e9d9f86.js} +2 -2
- package/dist/_shared/cjs/{Checkbox-850dcf99.js → Checkbox-2cd69440.js} +12 -7
- package/dist/_shared/cjs/{Columns-5c6bab74.js → Columns-a8b736af.js} +1 -1
- package/dist/_shared/cjs/{Combination-854a36ce.js → Combination-091f3e34.js} +2 -2
- package/dist/_shared/cjs/ContentSwitcher-10398581.js +99 -0
- package/dist/_shared/cjs/ContentSwitcherDropdown-27d08a2f.js +64 -0
- package/dist/_shared/cjs/{DatePicker-2bf10a10.js → DatePicker-da6d276c.js} +6 -23
- package/dist/_shared/cjs/{DisclosureMini-c730c24d.js → DisclosureMini-661f0868.js} +4 -4
- package/dist/_shared/cjs/Download-60af8fe1.js +43 -0
- package/dist/_shared/cjs/{Filter-c42eee70.js → Filter-791d6d7a.js} +3 -3
- package/dist/_shared/cjs/{FormControl-5c963e6e.js → FormControl-9ab9e656.js} +5 -5
- package/dist/_shared/cjs/{Grid-69ed0e5c.js → Grid-bf7d8993.js} +1 -1
- package/dist/_shared/cjs/{Group-5233a907.js → Group-d94b74ac.js} +2 -2
- package/dist/_shared/cjs/{Heading-14378b72.js → Heading-dc6acee1.js} +5 -4
- package/dist/_shared/cjs/{HeroButton-db7d03d6.js → HeroButton-17400782.js} +6 -6
- package/dist/_shared/cjs/{Icon-7f1e8a19.js → Icon-cbf91a21.js} +16 -5
- package/dist/_shared/cjs/{Image-c8969ad9.js → Image-b83fa185.js} +1 -1
- package/dist/_shared/cjs/{MediaCard-4ff9f5c0.js → MediaCard-976046b7.js} +9 -9
- package/dist/_shared/cjs/{Poster-8fba5492.js → Poster-7c69a1e8.js} +3 -3
- package/dist/_shared/cjs/{ProgressStepper-aaff6b51.js → ProgressStepper-9d18e458.js} +8 -32
- package/dist/_shared/cjs/{RadioGroup-6142dceb.js → RadioGroup-4c9c7385.js} +4 -4
- package/dist/_shared/cjs/{Section-46646353.js → Section-6bda04f9.js} +1 -1
- package/dist/_shared/cjs/{SiteFooter-cfe7163f.js → SiteFooter-57e4e871.js} +6 -6
- package/dist/_shared/cjs/{SiteHeaderV2-043d976a.js → SiteHeaderV2-391c01d6.js} +15 -48
- package/dist/_shared/cjs/Spinner-3e4a2e61.js +24 -0
- package/dist/_shared/cjs/{Surface-7500f314.js → Surface-877d9fcc.js} +3 -2
- package/dist/_shared/cjs/Tabs-680a992e.js +90 -0
- package/dist/_shared/cjs/{Text-284a7314.js → Text-0d5891fc.js} +5 -4
- package/dist/_shared/cjs/{TextInput-bcc3f86c.js → TextInput-03995fb3.js} +6 -6
- package/dist/_shared/cjs/{ThemeIcon-c3dc056d.js → ThemeIcon-e7a68823.js} +2 -2
- package/dist/_shared/cjs/{Toast-69020185.js → Toast-d981b0a4.js} +6 -6
- package/dist/_shared/cjs/{UniversalHeader-07be88fd.js → UniversalHeader-3bf27194.js} +2 -2
- package/dist/_shared/cjs/{VerticalSpace-973deefe.js → VerticalSpace-14714d0f.js} +5 -5
- package/dist/_shared/cjs/{VisuallyHidden-25393f58.js → VisuallyHidden-82a60021.js} +1 -1
- package/dist/_shared/cjs/{component-4e71e3d3.js → component-dc16a7a5.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-605c76b9.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-b98bcd00.js +355 -0
- package/dist/_shared/cjs/{index.es-ba095ee5.js → index.es-d99844c0.js} +2 -2
- package/dist/_shared/esm/{Avatar-b5ac0a89.js → Avatar-cea3993d.js} +4 -4
- package/dist/_shared/esm/Badge-233eb171.js +11 -0
- package/dist/_shared/esm/Banner-ad242982.js +60 -0
- package/dist/_shared/esm/Box-aa4f3782.js +23 -0
- package/dist/_shared/esm/{BrandLogo-fb863b5b.js → BrandLogo-1ee6f128.js} +2 -2
- package/dist/_shared/esm/{Breadcrumbs-01ebed9b.js → Breadcrumbs-1e5f8ab3.js} +5 -4
- package/dist/_shared/esm/BtIconChevronRight2Px.esm-c939e317.js +37 -0
- package/dist/_shared/esm/{Button-1491784f.js → Button-ea676157.js} +4 -4
- package/dist/_shared/esm/{ButtonV2-f9019e00.js → ButtonV2-feb9bcbc.js} +13 -8
- package/dist/_shared/esm/{Calendar-5c2fb044.js → Calendar-2bbb4ad5.js} +8 -8
- package/dist/_shared/esm/{CardFooter-e4380cda.js → CardFooter-c1c75258.js} +3 -3
- package/dist/_shared/esm/{CardHeading-4223432d.js → CardHeading-394596ee.js} +2 -2
- package/dist/_shared/esm/{Checkbox-97def257.js → Checkbox-5c954576.js} +12 -7
- package/dist/_shared/esm/{Columns-9aa5df4a.js → Columns-61fccabf.js} +1 -1
- package/dist/_shared/esm/{Combination-2af75870.js → Combination-beb0370c.js} +2 -2
- package/dist/_shared/esm/ContentSwitcher-351ae1a6.js +93 -0
- package/dist/_shared/esm/ContentSwitcherDropdown-c5531690.js +58 -0
- package/dist/_shared/esm/{DatePicker-2d891441.js → DatePicker-a8e63fb1.js} +6 -23
- package/dist/_shared/esm/{DisclosureMini-6292f721.js → DisclosureMini-2d3bad0c.js} +4 -4
- package/dist/_shared/esm/Download-064c08ba.js +37 -0
- package/dist/_shared/esm/{Filter-71e06965.js → Filter-4519aab6.js} +3 -3
- package/dist/_shared/esm/{FormControl-e0acdf7a.js → FormControl-85a2ee28.js} +5 -5
- package/dist/_shared/esm/{Grid-727d05d6.js → Grid-3d8eaa8e.js} +1 -1
- package/dist/_shared/esm/{Group-b1b14ab4.js → Group-6d0c0d8e.js} +2 -2
- package/dist/_shared/esm/{Heading-0dfbdb24.js → Heading-db9014d5.js} +5 -4
- package/dist/_shared/esm/{HeroButton-bb983125.js → HeroButton-eb08293f.js} +6 -6
- package/dist/_shared/esm/{Icon-428e8061.js → Icon-e85f55ee.js} +16 -5
- package/dist/_shared/esm/{Image-c1dc10b5.js → Image-67ec95a0.js} +1 -1
- package/dist/_shared/esm/{MediaCard-d83b5561.js → MediaCard-4a845195.js} +9 -9
- package/dist/_shared/esm/{Poster-ac72059a.js → Poster-182a3dbf.js} +3 -3
- package/dist/_shared/esm/{ProgressStepper-e3e7b392.js → ProgressStepper-e1c297b4.js} +8 -32
- package/dist/_shared/esm/{RadioGroup-0d337240.js → RadioGroup-0daeae68.js} +4 -4
- package/dist/_shared/esm/{Section-c1dc6e37.js → Section-08f47911.js} +1 -1
- package/dist/_shared/esm/{SiteFooter-7e924fb4.js → SiteFooter-704fa8e5.js} +6 -6
- package/dist/_shared/esm/{SiteHeaderV2-94b9a407.js → SiteHeaderV2-2b0d6f96.js} +8 -41
- package/dist/_shared/esm/Spinner-6493dd54.js +18 -0
- package/dist/_shared/esm/{Surface-c425e5e6.js → Surface-b782cda9.js} +3 -2
- package/dist/_shared/esm/Tabs-321fa50e.js +84 -0
- package/dist/_shared/esm/{Text-96d8a35f.js → Text-d0acd173.js} +5 -4
- package/dist/_shared/esm/{TextInput-8e3b81bf.js → TextInput-211dbadb.js} +6 -6
- package/dist/_shared/esm/{ThemeIcon-9fac63d0.js → ThemeIcon-0b755b19.js} +2 -2
- package/dist/_shared/esm/{Toast-ebe2cd97.js → Toast-bd78be64.js} +6 -6
- package/dist/_shared/esm/{UniversalHeader-22ff848b.js → UniversalHeader-4907dbf4.js} +2 -2
- package/dist/_shared/esm/{VerticalSpace-6a3533db.js → VerticalSpace-6d8fcb17.js} +5 -5
- package/dist/_shared/esm/{VisuallyHidden-cf45ac18.js → VisuallyHidden-605ea42d.js} +1 -1
- package/dist/_shared/esm/{component-3e60a45e.js → component-d81b583b.js} +1 -1
- package/dist/_shared/esm/{index-fb8b9df7.js → index-13458236.js} +8 -8
- package/dist/_shared/esm/{index-61497bd9.js → index-2403936c.js} +1 -1
- package/dist/_shared/esm/index-66e8d1ec.js +2169 -0
- package/dist/_shared/esm/{index-cf208294.js → index-6bdce6c5.js} +1 -1
- package/dist/_shared/esm/{index-d083425f.js → index-7868cc59.js} +1 -1
- package/dist/_shared/esm/{index-3a2c1ceb.js → index-7f23bb37.js} +10 -10
- package/dist/_shared/esm/{index-f6cc48d2.js → index-a41a5e50.js} +1 -1
- package/dist/_shared/esm/{Tabs-028cee5d.js → index-b051f161.js} +6 -89
- package/dist/_shared/esm/index.es-3b4ff2ab.js +348 -0
- package/dist/_shared/esm/{index.es-974af4a2.js → index.es-8ada4213.js} +2 -2
- package/dist/index.es.js +14385 -13888
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +14071 -13567
- 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/Banner/Banner.d.ts +68 -0
- package/dist/types/components/Banner/index.d.ts +1 -0
- package/dist/types/components/BannerWithTabs/BannerWithTabs.d.ts +17 -0
- package/dist/types/components/BannerWithTabs/index.d.ts +1 -0
- package/dist/types/components/Box/Box.d.ts +4 -0
- package/dist/types/components/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 +32 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherContent/ContentSwitcherContent.d.ts +12 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherContent/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherList/ContentSwitcherList.d.ts +24 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherList/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherTab/ContentSwitcherTab.d.ts +17 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherTab/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcherDropdown/ContentSwitcherDropdown.d.ts +57 -0
- package/dist/types/components/ContentSwitcherDropdown/index.d.ts +1 -0
- package/dist/types/components/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 +5 -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/PageBanner/PageBanner.d.ts +5 -0
- package/dist/types/components/PageBanner/index.d.ts +1 -0
- 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 +7 -0
- package/dist/types/styles.d.ts +7 -1
- package/package.json +21 -18
- package/dist/_shared/cjs/ArcIconEclipse.esm-ac777a76.js +0 -28
- package/dist/_shared/cjs/Tag-4eb2ed9e.js +0 -44
- package/dist/_shared/cjs/index.es-c26e8978.js +0 -201
- package/dist/_shared/esm/ArcIconEclipse.esm-bb48b82a.js +0 -22
- package/dist/_shared/esm/Tag-1ae027ee.js +0 -38
- package/dist/_shared/esm/index.es-5496ec12.js +0 -196
- 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 +1 @@
|
|
|
1
|
-
export { Avatar } from "./Avatar";
|
|
1
|
+
export { Avatar, type AvatarProps } from "./Avatar";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { HeadingSize, type HeadingLevel } from "../Heading/Heading";
|
|
3
|
+
import { type ImageProps } from "../Image/Image";
|
|
4
|
+
export declare const Banner: React.FC<BannerProps>;
|
|
5
|
+
type BannerStyle = "light" | "dark" | "contained";
|
|
6
|
+
type BannerAlignment = "top" | "bottom" | "center";
|
|
7
|
+
interface BannerImage extends Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad" | "fit"> {
|
|
8
|
+
alignment?: BannerAlignment;
|
|
9
|
+
}
|
|
10
|
+
export interface BannerProps {
|
|
11
|
+
/**
|
|
12
|
+
* Align content for Banner
|
|
13
|
+
*/
|
|
14
|
+
alignment?: "start" | "center";
|
|
15
|
+
/**
|
|
16
|
+
* Heading for the Banner.
|
|
17
|
+
*/
|
|
18
|
+
heading: string;
|
|
19
|
+
/**
|
|
20
|
+
* Image props for the Banner. Consider avoiding alt if the image is for decorative purposes only.
|
|
21
|
+
*/
|
|
22
|
+
img?: BannerImage;
|
|
23
|
+
/**
|
|
24
|
+
* Provides a min height for the Banner.
|
|
25
|
+
*/
|
|
26
|
+
minHeight?: string | number;
|
|
27
|
+
/**
|
|
28
|
+
* If true the image will appear on the left and the content will be on the right. Doesn't apply to mobile devices.
|
|
29
|
+
*/
|
|
30
|
+
isReversed?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Adds a gradient box shadow to the Banner.
|
|
33
|
+
*/
|
|
34
|
+
isElevated?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Content for the Banner.
|
|
37
|
+
*/
|
|
38
|
+
children?: React.ReactNode;
|
|
39
|
+
/**
|
|
40
|
+
* Heading level for the ImpactCard heading.
|
|
41
|
+
*/
|
|
42
|
+
headingLevel?: HeadingLevel;
|
|
43
|
+
/**
|
|
44
|
+
* Heading size for the ImpactCard heading.
|
|
45
|
+
*/
|
|
46
|
+
headingSize?: Extract<HeadingSize, "m" | "xl">;
|
|
47
|
+
/**
|
|
48
|
+
* Uppercase label for the Banner.
|
|
49
|
+
*/
|
|
50
|
+
label?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Text content for the Banner.
|
|
53
|
+
*/
|
|
54
|
+
text?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Sets a dark or light background for the Banner.
|
|
57
|
+
*/
|
|
58
|
+
type?: BannerStyle;
|
|
59
|
+
/**
|
|
60
|
+
* Defines the ratio of the content area within the banner layout.
|
|
61
|
+
*/
|
|
62
|
+
contentRatio?: "2/3" | "1/1" | "1/0";
|
|
63
|
+
/**
|
|
64
|
+
* Add Additional top margin to banner
|
|
65
|
+
*/
|
|
66
|
+
additionalTopMargin?: boolean;
|
|
67
|
+
}
|
|
68
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Banner } from "./Banner";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { BannerProps } from "../Banner/Banner";
|
|
3
|
+
export declare const BannerWithTabs: FC<BannerWithTabsProps>;
|
|
4
|
+
export interface BannerWithTabsProps {
|
|
5
|
+
/**
|
|
6
|
+
* Determine what tabs to render. They need both a `value` and `label` prop
|
|
7
|
+
*/
|
|
8
|
+
tabs: {
|
|
9
|
+
value: string;
|
|
10
|
+
label: string;
|
|
11
|
+
content: Omit<BannerProps, "children">;
|
|
12
|
+
}[];
|
|
13
|
+
/**
|
|
14
|
+
* Default to an inital value of a tab. If this is left blank it will default to first tab.
|
|
15
|
+
*/
|
|
16
|
+
defaultValue?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BannerWithTabs } from "./BannerWithTabs";
|
|
@@ -37,7 +37,7 @@ export interface ButtonV2Props extends ButtonV2ElementProps, LinkElementProps {
|
|
|
37
37
|
/**
|
|
38
38
|
* Determine the buttonStyle for `ButtonV2`. Default style is `primary`
|
|
39
39
|
*/
|
|
40
|
-
buttonStyle?: "primary" | "secondary" | "tertiary" | "warning";
|
|
40
|
+
buttonStyle?: "primary" | "secondary" | "tertiary" | "warning" | "compact";
|
|
41
41
|
/**
|
|
42
42
|
* Render icon within `ButtonV2`
|
|
43
43
|
*/
|
|
@@ -66,7 +66,7 @@ export interface ButtonV2Props extends ButtonV2ElementProps, LinkElementProps {
|
|
|
66
66
|
/**
|
|
67
67
|
* Size of `ButtonV2`
|
|
68
68
|
*/
|
|
69
|
-
size?: "s" | "m";
|
|
69
|
+
size?: "s" | "m" | "l";
|
|
70
70
|
/**
|
|
71
71
|
* HTML ID for the `ButtonV2`
|
|
72
72
|
*/
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type Responsive } from "./types/responsive";
|
|
3
|
+
export declare const Carousel: React.FC<CarouselProps>;
|
|
4
|
+
interface CarouselProps {
|
|
5
|
+
/**
|
|
6
|
+
* Adds a gap between the slides.
|
|
7
|
+
*/
|
|
8
|
+
withGutter?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* How many slides to scroll on each navigation.
|
|
11
|
+
*/
|
|
12
|
+
itemsToScroll?: number;
|
|
13
|
+
/**
|
|
14
|
+
* How many items to show for each slide.
|
|
15
|
+
*/
|
|
16
|
+
itemsPerSlide?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Shows some of the first item in the next slide if true.
|
|
19
|
+
*/
|
|
20
|
+
isPartialVisible?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Allows the carousel to scroll infinitely.
|
|
23
|
+
*/
|
|
24
|
+
loop?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Configure the carousel options for different breakpoints.
|
|
27
|
+
*/
|
|
28
|
+
responsive?: Responsive;
|
|
29
|
+
/**
|
|
30
|
+
* items for the carousel.
|
|
31
|
+
*/
|
|
32
|
+
children: React.ReactNode;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { type KeyboardEvent } from "react";
|
|
2
|
+
export declare const DotButton: React.FC<DotButtonProps>;
|
|
3
|
+
interface DotButtonProps {
|
|
4
|
+
onKeyDown: (scrollSnapIndex: number) => (e: KeyboardEvent<HTMLButtonElement>) => void;
|
|
5
|
+
onClick: (scrollSnapIndex: number) => void;
|
|
6
|
+
visibleSlideIndex: number;
|
|
7
|
+
scrollSnapIndex: number;
|
|
8
|
+
focusIndex?: number;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type Responsive } from "../types/responsive";
|
|
3
|
+
import { type ScreenSizes } from "../types/screen-sizes";
|
|
4
|
+
export declare const getSlideWidth: ({ screenSizes, itemsPerSlide, isPartialVisible, responsive, children, }: getSlideWidthParams) => number;
|
|
5
|
+
interface getSlideWidthParams {
|
|
6
|
+
itemsPerSlide: number;
|
|
7
|
+
isPartialVisible: boolean;
|
|
8
|
+
screenSizes: ScreenSizes;
|
|
9
|
+
responsive?: Responsive;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Carousel } from "./Carousel";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BreakPoints = "xs" | "s" | "m" | "l" | "xl";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
import { ContentSwitcherTab } from "./ContentSwitcherTab";
|
|
3
|
+
import { ContentSwitcherContent } from "./ContentSwitcherContent";
|
|
4
|
+
import { ContentSwitcherList } from "./ContentSwitcherList";
|
|
5
|
+
/** Use `ContentSwitcher` to allow users to navigate between different sections of relevant content. */
|
|
6
|
+
export declare const ContentSwitcher: FC<ContentSwitcherProps> & {
|
|
7
|
+
Tab: typeof ContentSwitcherTab;
|
|
8
|
+
Content: typeof ContentSwitcherContent;
|
|
9
|
+
List: typeof ContentSwitcherList;
|
|
10
|
+
};
|
|
11
|
+
export interface ContentSwitcherProps {
|
|
12
|
+
/**
|
|
13
|
+
* Render children
|
|
14
|
+
*/
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Default to an inital value of a tab. If this is left blank it is possible for there to be no active tabs
|
|
18
|
+
*/
|
|
19
|
+
defaultValue?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Event handler called when the value changes.
|
|
22
|
+
*/
|
|
23
|
+
onValueChange?: (value: string) => void;
|
|
24
|
+
/**
|
|
25
|
+
* When automatic, tabs are activated when receiving focus. When manual, tabs are activated when clicked.
|
|
26
|
+
*/
|
|
27
|
+
activationMode?: "automatic" | "manual";
|
|
28
|
+
/**
|
|
29
|
+
* value for the `ContentSwitcher`. Passing a value makes the Select a controlled component.
|
|
30
|
+
*/
|
|
31
|
+
value?: string;
|
|
32
|
+
}
|
package/dist/types/components/ContentSwitcher/ContentSwitcherContent/ContentSwitcherContent.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
export declare const ContentSwitcherContent: FC<ContentSwitcherContentProps>;
|
|
3
|
+
export interface ContentSwitcherContentProps {
|
|
4
|
+
/**
|
|
5
|
+
* Content to display
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* This value links the `ContentSwitcherContent` with `ContentSwitcherTab`
|
|
10
|
+
*/
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContentSwitcherContent } from "./ContentSwitcherContent";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
export declare const ContentSwitcherList: FC<ContentSwitcherListProps>;
|
|
3
|
+
export interface ContentSwitcherListProps {
|
|
4
|
+
/**
|
|
5
|
+
* Contents of the `ContentSwitcherList` Should contain `Tab`
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Determine if `ContentSwitcherList` should be justified
|
|
10
|
+
*/
|
|
11
|
+
isJustified?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Determine the type of `ContentSwitcherList`. Default is standard
|
|
14
|
+
*/
|
|
15
|
+
type?: "standard" | "contained";
|
|
16
|
+
/**
|
|
17
|
+
* Determine a accessible label for `ContentSwitcherList`
|
|
18
|
+
*/
|
|
19
|
+
ariaLabel?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Determines if the `ContentSwitcherList` should be inset within the content panel.
|
|
22
|
+
*/
|
|
23
|
+
isInset?: boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContentSwitcherList } from "./ContentSwitcherList";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
export declare const ContentSwitcherTab: FC<ContentSwitcherTabProps>;
|
|
3
|
+
interface ContentSwitcherTabProps {
|
|
4
|
+
/**
|
|
5
|
+
* Label to display on the ContentSwitcherTab
|
|
6
|
+
*/
|
|
7
|
+
label: string;
|
|
8
|
+
/**
|
|
9
|
+
* Value to link `ContentSwitcherTab` to `ContentSwitcherTabContent`
|
|
10
|
+
*/
|
|
11
|
+
value: string;
|
|
12
|
+
/**
|
|
13
|
+
* Pass a function to `ContentSwitcherTab`
|
|
14
|
+
*/
|
|
15
|
+
onClick?: () => void;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContentSwitcherTab } from "./ContentSwitcherTab";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContentSwitcher } from "./ContentSwitcher";
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
export declare const ContentSwitcherDropdown: FC<ContentSwitcherDropdownProps> & {
|
|
3
|
+
Content: typeof ContentSwitcherDropdownContent;
|
|
4
|
+
};
|
|
5
|
+
declare const ContentSwitcherDropdownContent: FC<ContentSwitcherDropdownContentProps>;
|
|
6
|
+
export interface ContentSwitcherDropdownContentProps {
|
|
7
|
+
/**
|
|
8
|
+
* Content to display
|
|
9
|
+
*/
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* This value links the `ContentSwitcherDropdown.Content` with `ContentSwitcherDropdown` property `Tabs`
|
|
13
|
+
*/
|
|
14
|
+
value: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ContentSwitcherDropdownProps {
|
|
17
|
+
/**
|
|
18
|
+
* Render children
|
|
19
|
+
*/
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Default to an inital value of a tab. If this is not set default to first tab.
|
|
23
|
+
*/
|
|
24
|
+
defaultValue?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Event handler called when the value changes. This can only be active when child elements are not present
|
|
27
|
+
*/
|
|
28
|
+
onValueChange?: (value: string) => void;
|
|
29
|
+
/**
|
|
30
|
+
* Determine what tabs to render. They need both a `value` and `label` prop
|
|
31
|
+
*/
|
|
32
|
+
tabs: {
|
|
33
|
+
value: string;
|
|
34
|
+
label: string;
|
|
35
|
+
}[];
|
|
36
|
+
/**
|
|
37
|
+
* Determines if the `ContentSwitcherDropdown` should be inset within the content panel.
|
|
38
|
+
*/
|
|
39
|
+
isInset?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* value for the `ContentSwitcherDropdown`. Passing a value makes the Select a controlled component.
|
|
42
|
+
*/
|
|
43
|
+
value?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Aria label for the `ContentSwitcherDropdown`.
|
|
46
|
+
*/
|
|
47
|
+
ariaLabel?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Sets the `ContentSwitcherDropdown` to 100% width.
|
|
50
|
+
*/
|
|
51
|
+
isFluid?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the width of the `ContentSwitcherDropdown`.
|
|
54
|
+
*/
|
|
55
|
+
width?: string;
|
|
56
|
+
}
|
|
57
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContentSwitcherDropdown } from "./ContentSwitcherDropdown";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Disclosure } from "./Disclosure";
|
|
1
|
+
export { Disclosure, type DisclosureProps } from "./Disclosure";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React, { MouseEvent } from "react";
|
|
2
|
+
import { type ThemeIconNames } from "../ThemeIcon";
|
|
3
|
+
export declare const Download: React.FC<DownloadProps>;
|
|
4
|
+
export interface DownloadProps {
|
|
5
|
+
/**
|
|
6
|
+
* Name for `<Download />`
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* File type for `<Download />`
|
|
11
|
+
*/
|
|
12
|
+
type: string;
|
|
13
|
+
/**
|
|
14
|
+
* File url for `<Download />`
|
|
15
|
+
*/
|
|
16
|
+
href?: string;
|
|
17
|
+
/**
|
|
18
|
+
* If true, the spacing will be reduced resulting in a tighter look and feel.
|
|
19
|
+
*/
|
|
20
|
+
isCompact?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* If false the width will be the same as the inner content
|
|
23
|
+
*/
|
|
24
|
+
isFullWidth?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Description for `<Download />`
|
|
27
|
+
*/
|
|
28
|
+
description?: string;
|
|
29
|
+
/**
|
|
30
|
+
* File size for `<Download />`
|
|
31
|
+
*/
|
|
32
|
+
size?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Icon for `<Download />`
|
|
35
|
+
*/
|
|
36
|
+
icon?: Extract<ThemeIconNames, "downloadFile" | "downloadAccessibility">;
|
|
37
|
+
/**
|
|
38
|
+
* Click handler for `<Download />`
|
|
39
|
+
*/
|
|
40
|
+
onClick?: (e: MouseEvent<HTMLAnchorElement>) => void;
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Download, type DownloadProps } from "./Download";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Heading } from "./Heading";
|
|
1
|
+
export { Heading, type HeadingLevel } from "./Heading";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HeroBanner } from "./HeroBanner";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
1
|
+
import React, { FC } from "react";
|
|
2
2
|
import { ArcIcon } from "../../types/arc-icon";
|
|
3
3
|
/**
|
|
4
4
|
* Use `Icon` to display brand iconography.
|
|
@@ -17,7 +17,7 @@ export interface IconProps {
|
|
|
17
17
|
/**
|
|
18
18
|
* Icon variant.
|
|
19
19
|
*/
|
|
20
|
-
icon?: ArcIcon
|
|
20
|
+
icon?: ArcIcon | React.ReactElement<SVGElement>;
|
|
21
21
|
/**
|
|
22
22
|
* Alternative text label for the Icon.
|
|
23
23
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ImpactCard } from "./ImpactCard";
|
|
1
|
+
export { ImpactCard, type ImpactCardProps } from "./ImpactCard";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { InformationCard } from "./InformationCard";
|
|
1
|
+
export { InformationCard, type InformationCardProps } from "./InformationCard";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MediaCard } from "./MediaCard";
|
|
1
|
+
export { MediaCard, type MediaCardProps } from "./MediaCard";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PageBanner } from "./PageBanner";
|
|
@@ -1,35 +1,43 @@
|
|
|
1
1
|
import React, { FC } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* TODO! Revise method of aligning svg's
|
|
4
|
+
*/
|
|
2
5
|
/**
|
|
3
6
|
* Use `PaginationSimple` to navigate through multiple pages of content.
|
|
4
7
|
*/
|
|
5
8
|
export declare const PaginationSimple: FC<PaginationSimpleProps>;
|
|
6
9
|
export interface PaginationSimpleProps {
|
|
7
10
|
/**
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
hidePrev?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* hides next button if true.
|
|
11
|
+
* hide buttons if true.
|
|
13
12
|
*/
|
|
14
|
-
|
|
13
|
+
hide?: {
|
|
14
|
+
first?: boolean;
|
|
15
|
+
prev?: boolean;
|
|
16
|
+
next?: boolean;
|
|
17
|
+
last?: boolean;
|
|
18
|
+
};
|
|
15
19
|
/**
|
|
16
|
-
* makes
|
|
20
|
+
* makes each button a link
|
|
17
21
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
hrefs?: {
|
|
23
|
+
first?: string;
|
|
24
|
+
prev?: string;
|
|
25
|
+
next?: string;
|
|
26
|
+
last?: string;
|
|
27
|
+
};
|
|
23
28
|
/**
|
|
24
29
|
* if true buttons will hug either edge of the parent element
|
|
25
30
|
*/
|
|
26
31
|
isFluid?: boolean;
|
|
27
32
|
/**
|
|
28
|
-
*
|
|
33
|
+
* if true ellipsis will show in-between previous and next
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* Function to call when page is changed. This is called with type and event
|
|
29
37
|
*/
|
|
30
|
-
|
|
38
|
+
showEllipsis?: boolean;
|
|
31
39
|
/**
|
|
32
|
-
* Function to call when
|
|
40
|
+
* Function to call when page is changed. This is called with type and event
|
|
33
41
|
*/
|
|
34
|
-
|
|
42
|
+
onPageChange?: (e: React.MouseEvent, type?: "prev" | "next" | "first" | "last") => void;
|
|
35
43
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Use `Spinner` to display a loading state.
|
|
4
|
+
*/
|
|
5
|
+
export declare const Spinner: FC<SpinnerProps>;
|
|
6
|
+
export type SpinnerSize = "s" | "m" | "l" | "xl" | "xxl";
|
|
7
|
+
export interface SpinnerProps {
|
|
8
|
+
/**
|
|
9
|
+
* Colour options. If no `color` option defined, the colour will use currentColor.
|
|
10
|
+
*/
|
|
11
|
+
color?: "light" | "dark" | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Set sizes of spinner `s`, `m`, `l`, `xl`, `xxl` or a custom number value e.g. `100`px.
|
|
14
|
+
*/
|
|
15
|
+
size?: SpinnerSize | number | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Spinner } from "./Spinner";
|
|
@@ -17,6 +17,10 @@ export interface SurfaceProps extends HTMLAttributes<HTMLElement> {
|
|
|
17
17
|
* accessibility requirements.
|
|
18
18
|
*/
|
|
19
19
|
background?: SurfaceBackgroundColor;
|
|
20
|
+
/**
|
|
21
|
+
* Should the Surface be transparent? When true, no background colour will be applied.
|
|
22
|
+
*/
|
|
23
|
+
isTransparent?: boolean;
|
|
20
24
|
/**
|
|
21
25
|
* Content to display on the Surface.
|
|
22
26
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
|
+
import { SurfaceBackgroundColor } from "../../Surface";
|
|
2
3
|
export declare const TabsList: FC<TabsListProps>;
|
|
3
4
|
export interface TabsListProps {
|
|
4
5
|
/**
|
|
@@ -17,4 +18,8 @@ export interface TabsListProps {
|
|
|
17
18
|
* Determine a accessible label for `Tabs`
|
|
18
19
|
*/
|
|
19
20
|
ariaLabel?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Background color for the overlap gradient.
|
|
23
|
+
*/
|
|
24
|
+
overflowGradient?: SurfaceBackgroundColor;
|
|
20
25
|
}
|