@arc-ui/components 12.0.0-beta.6 → 12.0.0-beta7
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 +3 -3
- package/dist/Alert/Alert.esm.js +3 -3
- package/dist/Alert/styles.css +1 -1
- package/dist/Avatar/Avatar.cjs.js +4 -4
- package/dist/Avatar/Avatar.esm.js +4 -4
- package/dist/AvatarGroup/AvatarGroup.cjs.js +4 -4
- package/dist/AvatarGroup/AvatarGroup.esm.js +4 -4
- 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 +2 -2
- package/dist/BrandLogo/BrandLogo.esm.js +2 -2
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +3 -3
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +3 -3
- package/dist/Button/Button.cjs.js +4 -4
- package/dist/Button/Button.esm.js +4 -4
- package/dist/Button/styles.css +1 -1
- package/dist/ButtonV2/ButtonV2.cjs.js +4 -4
- package/dist/ButtonV2/ButtonV2.esm.js +4 -4
- package/dist/ButtonV2/styles.css +1 -1
- package/dist/Calendar/Calendar.cjs.js +6 -6
- package/dist/Calendar/Calendar.esm.js +6 -6
- package/dist/Calendar/styles.css +1 -1
- package/dist/CardFooter/CardFooter.cjs.js +3 -3
- package/dist/CardFooter/CardFooter.esm.js +3 -3
- package/dist/CardFooter/styles.css +1 -1
- package/dist/CardHeading/CardHeading.cjs.js +3 -3
- package/dist/CardHeading/CardHeading.esm.js +3 -3
- package/dist/Carousel/Carousel.cjs.js +457 -0
- package/dist/Carousel/Carousel.esm.js +431 -0
- package/dist/Carousel/package.json +7 -0
- package/dist/Carousel/styles.css +1 -0
- package/dist/Checkbox/Checkbox.cjs.js +6 -6
- package/dist/Checkbox/Checkbox.esm.js +6 -6
- package/dist/Checkbox/styles.css +1 -1
- 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 +11 -11
- package/dist/DatePicker/DatePicker.esm.js +11 -11
- package/dist/Disclosure/Disclosure.cjs.js +3 -3
- package/dist/Disclosure/Disclosure.esm.js +3 -3
- package/dist/Disclosure/styles.css +1 -1
- package/dist/DisclosureMini/DisclosureMini.cjs.js +4 -4
- package/dist/DisclosureMini/DisclosureMini.esm.js +4 -4
- package/dist/Elevation/styles.css +1 -1
- package/dist/Filter/Filter.cjs.js +2 -2
- package/dist/Filter/Filter.esm.js +2 -2
- package/dist/FormControl/FormControl.cjs.js +5 -5
- package/dist/FormControl/FormControl.esm.js +5 -5
- package/dist/Grid/styles.css +1 -1
- package/dist/Group/Group.cjs.js +2 -2
- package/dist/Group/Group.esm.js +2 -2
- package/dist/Heading/Heading.cjs.js +2 -2
- package/dist/Heading/Heading.esm.js +2 -2
- 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 +4 -4
- package/dist/HeroButton/HeroButton.esm.js +4 -4
- package/dist/HeroButton/styles.css +1 -1
- package/dist/Icon/Icon.cjs.js +2 -2
- package/dist/Icon/Icon.esm.js +2 -2
- package/dist/ImpactCard/ImpactCard.cjs.js +6 -7
- package/dist/ImpactCard/ImpactCard.esm.js +6 -7
- package/dist/ImpactCard/styles.css +1 -1
- package/dist/InformationCard/InformationCard.cjs.js +31 -45
- package/dist/InformationCard/InformationCard.esm.js +31 -45
- package/dist/InformationCard/styles.css +1 -1
- package/dist/Link/Link.cjs.js +2 -2
- package/dist/Link/Link.esm.js +2 -2
- package/dist/Link/styles.css +1 -1
- package/dist/Markup/Markup.cjs.js +1 -1
- package/dist/Markup/Markup.esm.js +1 -1
- package/dist/MediaCard/MediaCard.cjs.js +8 -8
- package/dist/MediaCard/MediaCard.esm.js +8 -8
- package/dist/MediaCard/styles.css +1 -1
- package/dist/Modal/Modal.cjs.js +7 -7
- package/dist/Modal/Modal.esm.js +7 -7
- package/dist/Pagination/Pagination.cjs.js +2 -2
- package/dist/Pagination/Pagination.esm.js +2 -2
- package/dist/PaginationSimple/PaginationSimple.cjs.js +2 -2
- package/dist/PaginationSimple/PaginationSimple.esm.js +2 -2
- package/dist/Poster/Poster.cjs.js +2 -2
- package/dist/Poster/Poster.esm.js +2 -2
- package/dist/ProgressBar/ProgressBar.cjs.js +4 -4
- package/dist/ProgressBar/ProgressBar.esm.js +4 -4
- package/dist/ProgressStepper/ProgressStepper.cjs.js +3 -3
- package/dist/ProgressStepper/ProgressStepper.esm.js +3 -3
- package/dist/ProgressStepper/styles.css +1 -1
- package/dist/RadioGroup/RadioGroup.cjs.js +6 -6
- package/dist/RadioGroup/RadioGroup.esm.js +6 -6
- package/dist/RadioGroup/styles.css +1 -1
- package/dist/Rule/Rule.cjs.js +1 -1
- package/dist/Rule/Rule.esm.js +1 -1
- package/dist/Rule/styles.css +1 -1
- package/dist/ScrollToTop/ScrollToTop.cjs.js +2 -2
- package/dist/ScrollToTop/ScrollToTop.esm.js +2 -2
- package/dist/ScrollToTop/styles.css +1 -1
- package/dist/Select/Select.cjs.js +26 -2201
- package/dist/Select/Select.esm.js +16 -2172
- package/dist/Select/styles.css +1 -1
- package/dist/SiteFooter/SiteFooter.cjs.js +5 -5
- package/dist/SiteFooter/SiteFooter.esm.js +5 -5
- package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +8 -8
- package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +8 -8
- 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 +1 -1
- package/dist/Surface/Surface.esm.js +1 -1
- package/dist/Surface/styles.css +1 -1
- package/dist/Switch/Switch.cjs.js +7 -7
- package/dist/Switch/Switch.esm.js +7 -7
- package/dist/Switch/styles.css +1 -1
- package/dist/Tabs/Tabs.cjs.js +9 -8
- package/dist/Tabs/Tabs.esm.js +9 -8
- 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 +2 -2
- package/dist/Text/Text.esm.js +2 -2
- package/dist/TextArea/TextArea.cjs.js +44 -39
- package/dist/TextArea/TextArea.esm.js +44 -39
- package/dist/TextInput/TextInput.cjs.js +7 -7
- package/dist/TextInput/TextInput.esm.js +7 -7
- package/dist/Theme/styles.css +1 -1
- package/dist/ThemeIcon/ThemeIcon.cjs.js +2 -2
- package/dist/ThemeIcon/ThemeIcon.esm.js +2 -2
- package/dist/ThemeIcon/styles.css +1 -1
- package/dist/Toast/Toast.cjs.js +7 -7
- package/dist/Toast/Toast.esm.js +7 -7
- package/dist/Toast/styles.css +1 -1
- package/dist/Truncate/Truncate.cjs.js +2 -2
- package/dist/Truncate/Truncate.esm.js +2 -2
- package/dist/TypographyCard/TypographyCard.cjs.js +6 -7
- package/dist/TypographyCard/TypographyCard.esm.js +6 -7
- package/dist/TypographyCard/styles.css +1 -1
- package/dist/UniversalHeader/UniversalHeader.cjs.js +2 -2
- package/dist/UniversalHeader/UniversalHeader.esm.js +2 -2
- package/dist/VideoPlayer/VideoPlayer.cjs.js +5 -5
- package/dist/VideoPlayer/VideoPlayer.esm.js +5 -5
- package/dist/_shared/cjs/{Avatar-9277512a.js → Avatar-e6ba0881.js} +2 -2
- package/dist/_shared/cjs/Badge-1f86304b.js +17 -0
- package/dist/_shared/cjs/Box-d177ee32.js +29 -0
- package/dist/_shared/cjs/{BrandLogo-ce65cd74.js → BrandLogo-d4a6fd05.js} +1 -1
- package/dist/_shared/cjs/{Breadcrumbs-c7821aa9.js → Breadcrumbs-ca30086e.js} +1 -1
- package/dist/_shared/cjs/{Button-ea665c9c.js → Button-a2150286.js} +3 -3
- package/dist/_shared/cjs/{ButtonV2-373877da.js → ButtonV2-7c437d1a.js} +12 -7
- package/dist/_shared/cjs/{Calendar-e5184158.js → Calendar-9b4b01c8.js} +6 -6
- package/dist/_shared/cjs/{CardFooter-a1bb3ded.js → CardFooter-68235081.js} +3 -3
- package/dist/_shared/cjs/{CardHeading-3ddcf774.js → CardHeading-88edadd4.js} +1 -1
- package/dist/_shared/cjs/{Checkbox-850dcf99.js → Checkbox-f6712cc5.js} +10 -5
- package/dist/_shared/cjs/ContentSwitcher-88b00e11.js +98 -0
- package/dist/_shared/cjs/ContentSwitcherDropdown-ba5330ed.js +47 -0
- package/dist/_shared/cjs/{DatePicker-2bf10a10.js → DatePicker-61d66a55.js} +2 -2
- package/dist/_shared/cjs/{DisclosureMini-c730c24d.js → DisclosureMini-a46a4838.js} +3 -3
- package/dist/_shared/cjs/{Filter-c42eee70.js → Filter-b6ca2a39.js} +1 -1
- package/dist/_shared/cjs/{FormControl-5c963e6e.js → FormControl-0fba93b8.js} +3 -3
- package/dist/_shared/cjs/{Group-5233a907.js → Group-7e6b78c9.js} +1 -1
- package/dist/_shared/cjs/{Heading-14378b72.js → Heading-25d11688.js} +1 -1
- package/dist/_shared/cjs/{HeroButton-db7d03d6.js → HeroButton-19814c26.js} +5 -5
- package/dist/_shared/cjs/{Icon-7f1e8a19.js → Icon-08447959.js} +15 -4
- package/dist/_shared/cjs/{MediaCard-4ff9f5c0.js → MediaCard-7bbe8aa0.js} +6 -6
- package/dist/_shared/cjs/{Poster-8fba5492.js → Poster-96aa286e.js} +1 -1
- package/dist/_shared/cjs/{ProgressStepper-aaff6b51.js → ProgressStepper-c59ec56c.js} +6 -30
- package/dist/_shared/cjs/{RadioGroup-6142dceb.js → RadioGroup-11f4b232.js} +2 -2
- package/dist/_shared/cjs/{SiteFooter-cfe7163f.js → SiteFooter-d839f66a.js} +4 -4
- package/dist/_shared/cjs/{SiteHeaderV2-043d976a.js → SiteHeaderV2-3793453c.js} +6 -6
- package/dist/_shared/cjs/Spinner-56122c43.js +24 -0
- package/dist/_shared/cjs/{Surface-7500f314.js → Surface-1b5c2ac8.js} +2 -1
- package/dist/_shared/cjs/Tabs-30a12f1a.js +93 -0
- package/dist/_shared/cjs/{Text-284a7314.js → Text-c187d9ef.js} +1 -1
- package/dist/_shared/cjs/{TextInput-bcc3f86c.js → TextInput-d39f5a80.js} +3 -3
- package/dist/_shared/cjs/{ThemeIcon-c3dc056d.js → ThemeIcon-7f537bd2.js} +1 -1
- package/dist/_shared/cjs/{Toast-69020185.js → Toast-35c83925.js} +5 -5
- package/dist/_shared/cjs/{UniversalHeader-07be88fd.js → UniversalHeader-f9ef793f.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-568bc1da.js → index-879e71ee.js} +7 -7
- package/dist/_shared/cjs/index-89c323a4.js +2204 -0
- 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-f23456fa.js} +2 -2
- package/dist/_shared/esm/{Avatar-b5ac0a89.js → Avatar-3537bca7.js} +2 -2
- package/dist/_shared/esm/Badge-7bc80706.js +11 -0
- package/dist/_shared/esm/Box-557fb3b1.js +23 -0
- package/dist/_shared/esm/{BrandLogo-fb863b5b.js → BrandLogo-45d0d795.js} +1 -1
- package/dist/_shared/esm/{Breadcrumbs-01ebed9b.js → Breadcrumbs-bcf9ca79.js} +1 -1
- package/dist/_shared/esm/{Button-1491784f.js → Button-0506afa7.js} +3 -3
- package/dist/_shared/esm/{ButtonV2-f9019e00.js → ButtonV2-c83db10c.js} +12 -7
- package/dist/_shared/esm/{Calendar-5c2fb044.js → Calendar-34b10bd5.js} +6 -6
- package/dist/_shared/esm/{CardFooter-e4380cda.js → CardFooter-bf886438.js} +3 -3
- package/dist/_shared/esm/{CardHeading-4223432d.js → CardHeading-c65f9fb2.js} +1 -1
- package/dist/_shared/esm/{Checkbox-97def257.js → Checkbox-8195c42c.js} +10 -5
- package/dist/_shared/esm/ContentSwitcher-bae1f0a7.js +92 -0
- package/dist/_shared/esm/ContentSwitcherDropdown-65291c09.js +41 -0
- package/dist/_shared/esm/{DatePicker-2d891441.js → DatePicker-aafbdea8.js} +2 -2
- package/dist/_shared/esm/{DisclosureMini-6292f721.js → DisclosureMini-f6d8c9bc.js} +3 -3
- package/dist/_shared/esm/{Filter-71e06965.js → Filter-a5bf3fe3.js} +1 -1
- package/dist/_shared/esm/{FormControl-e0acdf7a.js → FormControl-ff671eb8.js} +3 -3
- package/dist/_shared/esm/{Group-b1b14ab4.js → Group-c4f6c745.js} +1 -1
- package/dist/_shared/esm/{Heading-0dfbdb24.js → Heading-0a8d3545.js} +1 -1
- package/dist/_shared/esm/{HeroButton-bb983125.js → HeroButton-a98767b7.js} +5 -5
- package/dist/_shared/esm/{Icon-428e8061.js → Icon-a5cb17de.js} +15 -4
- package/dist/_shared/esm/{MediaCard-d83b5561.js → MediaCard-fdc76670.js} +6 -6
- package/dist/_shared/esm/{Poster-ac72059a.js → Poster-dc3d7ee8.js} +1 -1
- package/dist/_shared/esm/{ProgressStepper-e3e7b392.js → ProgressStepper-427f24e3.js} +6 -30
- package/dist/_shared/esm/{RadioGroup-0d337240.js → RadioGroup-5b654bee.js} +2 -2
- package/dist/_shared/esm/{SiteFooter-7e924fb4.js → SiteFooter-1cdba967.js} +4 -4
- package/dist/_shared/esm/{SiteHeaderV2-94b9a407.js → SiteHeaderV2-743847f6.js} +6 -6
- package/dist/_shared/esm/Spinner-6704017c.js +18 -0
- package/dist/_shared/esm/{Surface-c425e5e6.js → Surface-0af6a69a.js} +2 -1
- package/dist/_shared/esm/Tabs-d360207d.js +87 -0
- package/dist/_shared/esm/{Text-96d8a35f.js → Text-df93be85.js} +1 -1
- package/dist/_shared/esm/{TextInput-8e3b81bf.js → TextInput-7ab39a54.js} +3 -3
- package/dist/_shared/esm/{ThemeIcon-9fac63d0.js → ThemeIcon-e1e19266.js} +1 -1
- package/dist/_shared/esm/{Toast-ebe2cd97.js → Toast-abd517c8.js} +5 -5
- package/dist/_shared/esm/{UniversalHeader-22ff848b.js → UniversalHeader-8ebc5322.js} +1 -1
- package/dist/_shared/esm/{index-61497bd9.js → index-14c7f4da.js} +1 -1
- 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-afbf540d.js +2169 -0
- 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-974af4a2.js → index.es-932db59a.js} +2 -2
- package/dist/index.es.js +9613 -9476
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +9605 -9465
- package/dist/index.js.map +1 -1
- package/dist/styles.css +5 -3
- 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 +12 -0
- package/dist/types/components/Carousel/helpers/get-slide-config.d.ts +4 -0
- package/dist/types/components/Carousel/helpers/get-slider-position.d.ts +9 -0
- package/dist/types/components/Carousel/helpers/is-last-slide.d.ts +2 -0
- package/dist/types/components/Carousel/helpers/is-slide-hidden.d.ts +2 -0
- package/dist/types/components/Carousel/hooks/use-slides.d.ts +18 -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/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/Carousel/types/slide.d.ts +4 -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/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/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/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/index.d.ts +3 -0
- package/dist/types/styles.d.ts +5 -1
- package/package.json +18 -18
- package/dist/_shared/cjs/ArcIconEclipse.esm-ac777a76.js +0 -28
- package/dist/_shared/cjs/Tag-4eb2ed9e.js +0 -44
- package/dist/_shared/esm/ArcIconEclipse.esm-bb48b82a.js +0 -22
- package/dist/_shared/esm/Tag-1ae027ee.js +0 -38
- package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Todo.d.ts +0 -2
- package/dist/_shared/cjs/{index-6f33b8c0.js → index-76f7dd53.js} +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Avatar } from "./Avatar";
|
|
1
|
+
export { Avatar, type AvatarProps } from "./Avatar";
|
|
@@ -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,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type Responsive } from "./types/responsive";
|
|
3
|
+
import { type SlideConfig } from "./types/slide-config";
|
|
4
|
+
export declare const Carousel: React.FC<CarouselProps>;
|
|
5
|
+
export interface CarouselProps extends SlideConfig {
|
|
6
|
+
withGutter?: boolean;
|
|
7
|
+
slideAmount?: number;
|
|
8
|
+
itemsPerSlide?: number;
|
|
9
|
+
partialVisible?: boolean;
|
|
10
|
+
responsive?: Responsive;
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type Responsive } from "../types/responsive";
|
|
2
|
+
import { type ScreenSizes } from "../types/screen-sizes";
|
|
3
|
+
import { type SlideConfig } from "../types/slide-config";
|
|
4
|
+
export declare const getSlideConfig: (screenSizes: ScreenSizes, slideAmount: number, itemsPerSlide: number, partialVisible: boolean, responsive?: Responsive) => Required<SlideConfig>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Slide } from "../types/slide";
|
|
2
|
+
export declare const getSliderPosition: ({ slides, visibleSlideIndex, slideWidth, widthAdjustment, }: GetSliderPositionParams) => number;
|
|
3
|
+
interface GetSliderPositionParams {
|
|
4
|
+
slides: Slide[];
|
|
5
|
+
visibleSlideIndex: number;
|
|
6
|
+
slideWidth: number;
|
|
7
|
+
widthAdjustment: number;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type Slide } from "../types/slide";
|
|
3
|
+
import { type Responsive } from "../types/responsive";
|
|
4
|
+
import { type ScreenSizes } from "../types/screen-sizes";
|
|
5
|
+
export declare const useSlides: ({ children, itemsPerSlide, partialVisible, slideAmount, responsive, screenSizes, }: useSlideParams) => {
|
|
6
|
+
slides: Slide[];
|
|
7
|
+
slideWidth: number;
|
|
8
|
+
widthAdjustment: number;
|
|
9
|
+
};
|
|
10
|
+
interface useSlideParams {
|
|
11
|
+
slideAmount: number;
|
|
12
|
+
itemsPerSlide: number;
|
|
13
|
+
partialVisible: boolean;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
screenSizes: ScreenSizes;
|
|
16
|
+
responsive?: Responsive;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type CarouselProps, Carousel } from "./Carousel";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BreakPoints = "xs" | "s" | "m" | "l" | "xl";
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
}
|
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,37 @@
|
|
|
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.
|
|
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
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContentSwitcherDropdown } from "./ContentSwitcherDropdown";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Disclosure } from "./Disclosure";
|
|
1
|
+
export { Disclosure, type DisclosureProps } from "./Disclosure";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Heading } from "./Heading";
|
|
1
|
+
export { Heading, type HeadingLevel } from "./Heading";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type HeadingLevel } from "../Heading/Heading";
|
|
3
|
+
import { type ImageProps } from "../Image/Image";
|
|
4
|
+
export declare const HeroBanner: React.FC<HeroBannerProps>;
|
|
5
|
+
type HeroBannerStyle = "light" | "dark" | "contained";
|
|
6
|
+
type HeroBannerAlignment = "top" | "bottom" | "center";
|
|
7
|
+
interface HeroBannerImage extends Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad" | "fit"> {
|
|
8
|
+
alignment?: HeroBannerAlignment;
|
|
9
|
+
}
|
|
10
|
+
interface HeroBannerProps {
|
|
11
|
+
/**
|
|
12
|
+
* Heading for the HeroBanner.
|
|
13
|
+
*/
|
|
14
|
+
heading: string;
|
|
15
|
+
/**
|
|
16
|
+
* Image props for the HeroBanner. Consider avoiding alt if the image is for decorative purposes only.
|
|
17
|
+
*/
|
|
18
|
+
img: HeroBannerImage;
|
|
19
|
+
/**
|
|
20
|
+
* Provides a min height for the HeroBanner.
|
|
21
|
+
*/
|
|
22
|
+
minHeight?: string | number;
|
|
23
|
+
/**
|
|
24
|
+
* If true the image will appear on the left and the content will be on the right. Doesn't apply to mobile devices.
|
|
25
|
+
*/
|
|
26
|
+
isReversed?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Adds a gradient box shadow to the HeroBanner.
|
|
29
|
+
*/
|
|
30
|
+
isElevated?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Content for the HeroBanner.
|
|
33
|
+
*/
|
|
34
|
+
children?: React.ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Heading level for the ImpactCard heading.
|
|
37
|
+
*/
|
|
38
|
+
headingLevel?: HeadingLevel;
|
|
39
|
+
/**
|
|
40
|
+
* Uppercase label for the HeroBanner.
|
|
41
|
+
*/
|
|
42
|
+
label?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Text content for the HeroBanner.
|
|
45
|
+
*/
|
|
46
|
+
text?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Sets a dark or light background for the HeroBanner.
|
|
49
|
+
*/
|
|
50
|
+
type?: HeroBannerStyle;
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
@@ -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,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 +1 @@
|
|
|
1
|
-
export declare const iconNames: readonly ["alertDismiss", "alertError", "alertGeneral", "alertSuccess", "alertWarning", "avatarUser", "breadcrumbLeft", "breadcrumbRight", "buttonLeft", "buttonRight", "cardButton", "checkboxChecked", "checkboxError", "disclosureExpand", "disclosureMiniExpand", "formControlAlert", "modalClose", "paginationPrevious", "paginationNext", "paginationSimplePrevious", "paginationSimpleNext", "progressBarSuccess", "progressBarError", "progressBarRefresh", "progressStepperComplete", "progressStepperCurrent", "progressStepperWarning", "progressStepperError", "scrollToTop", "selectTrigger", "selectScrollUp", "selectScrollDown", "selectIndicator", "siteFooterExpand", "siteHeaderBack", "siteHeaderLink", "siteHeaderItemGroupExpand", "siteHeaderNavItemExpand", "siteHeaderNavItemExpandAlt", "siteHeaderViewAll", "siteHeaderSubNavOpen", "switchToggle", "tabsNext", "tabsPrevious", "
|
|
1
|
+
export declare const iconNames: readonly ["alertDismiss", "alertError", "alertGeneral", "alertSuccess", "alertWarning", "avatarUser", "breadcrumbLeft", "breadcrumbRight", "buttonLeft", "buttonRight", "cardButton", "carouselRight", "carouselLeft", "checkboxChecked", "checkboxError", "disclosureExpand", "disclosureMiniExpand", "formControlAlert", "modalClose", "paginationPrevious", "paginationNext", "paginationSimplePrevious", "paginationSimpleNext", "progressBarSuccess", "progressBarError", "progressBarRefresh", "progressStepperComplete", "progressStepperCurrent", "progressStepperWarning", "progressStepperError", "scrollToTop", "selectTrigger", "selectScrollUp", "selectScrollDown", "selectIndicator", "siteFooterExpand", "siteHeaderBack", "siteHeaderLink", "siteHeaderItemGroupExpand", "siteHeaderNavItemExpand", "siteHeaderNavItemExpandAlt", "siteHeaderViewAll", "siteHeaderSubNavOpen", "switchToggle", "tabsNext", "tabsPrevious", "toastGeneral", "toastSuccess", "toastWarning", "toastError", "toastDismiss", "videoPlayerTranscript"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { TypographyCard } from "./TypographyCard";
|
|
1
|
+
export { TypographyCard, type TypographyCardProps } from "./TypographyCard";
|
|
@@ -12,6 +12,8 @@ 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";
|
|
@@ -42,6 +44,7 @@ export { Section } from "./Section";
|
|
|
42
44
|
export { Select } from "./Select";
|
|
43
45
|
export { SiteFooter } from "./SiteFooter";
|
|
44
46
|
export { SiteHeaderV2 } from "./SiteHeaderV2";
|
|
47
|
+
export { Spinner } from "./Spinner";
|
|
45
48
|
export { Surface, SurfaceContext } from "./Surface";
|
|
46
49
|
export { Switch } from "./Switch";
|
|
47
50
|
export { Tabs } from "./Tabs";
|
package/dist/types/styles.d.ts
CHANGED
|
@@ -8,9 +8,12 @@ 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";
|
|
16
19
|
import "./components/Elevation/Elevation.css";
|
|
@@ -18,6 +21,7 @@ import "./components/Filter/Filter.css";
|
|
|
18
21
|
import "./components/FormControl/FormControl.css";
|
|
19
22
|
import "./components/Group/Group.css";
|
|
20
23
|
import "./components/Heading/Heading.css";
|
|
24
|
+
import "./components/HeroBanner/HeroBanner.css";
|
|
21
25
|
import "./components/HeroButton/HeroButton.css";
|
|
22
26
|
import "./components/ButtonV2/ButtonV2.css";
|
|
23
27
|
import "./components/Icon/Icon.css";
|
|
@@ -38,6 +42,7 @@ import "./components/Select/Select.css";
|
|
|
38
42
|
import "./components/SiteFooter/SiteFooter.css";
|
|
39
43
|
import "./components/SkipLink/SkipLink.css";
|
|
40
44
|
import "./components/SiteHeaderV2/SiteHeaderV2.css";
|
|
45
|
+
import "./components/Spinner/Spinner.css";
|
|
41
46
|
import "./components/Surface/Surface.css";
|
|
42
47
|
import "./components/Tabs/Tabs.css";
|
|
43
48
|
import "./components/Tag/Tag.css";
|
|
@@ -50,7 +55,6 @@ import "./components/UniversalHeader/UniversalHeader.css";
|
|
|
50
55
|
import "./components/VerticalSpace/VerticalSpace.css";
|
|
51
56
|
import "./components/VisuallyHidden/VisuallyHidden.css";
|
|
52
57
|
import "./components/Switch/Switch.css";
|
|
53
|
-
import "./components/Tabs/Tabs.css";
|
|
54
58
|
import "./components/Toast/Toast.css";
|
|
55
59
|
import "./components/Theme/Theme.css";
|
|
56
60
|
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-
|
|
3
|
+
"version": "12.0.0-beta7",
|
|
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,8 @@
|
|
|
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
|
+
"react-swipeable": "^7.0.1"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"@babel/core": "^7.14.3",
|
|
@@ -63,14 +64,12 @@
|
|
|
63
64
|
"classnames": "^2.2.6",
|
|
64
65
|
"countries-list": "^2.6.1",
|
|
65
66
|
"css-loader": "^7.1.2",
|
|
67
|
+
"cy-mobile-commands": "^0.3.0",
|
|
66
68
|
"cypress": "^13.3.1",
|
|
67
69
|
"formik": "^2.2.9",
|
|
68
70
|
"lodash": "^4.17.21",
|
|
69
71
|
"postcss": "^8.0.0",
|
|
70
|
-
"postcss-import": "^13.0.0",
|
|
71
72
|
"postcss-loader": "^8.1.1",
|
|
72
|
-
"postcss-minify": "^1.1.0",
|
|
73
|
-
"postcss-preset-env": "^7.0.0",
|
|
74
73
|
"prop-types": "^15.7.2",
|
|
75
74
|
"react": "^18.0.0",
|
|
76
75
|
"react-dom": "^18.0.0",
|
|
@@ -90,26 +89,27 @@
|
|
|
90
89
|
"vite": "^4.4.5",
|
|
91
90
|
"vite-plugin-istanbul": "^5.0.0",
|
|
92
91
|
"yup": "^0.32.11",
|
|
93
|
-
"@arc-ui/
|
|
94
|
-
"@arc-ui/fonts-
|
|
95
|
-
"@arc-ui/
|
|
96
|
-
"@arc-ui/
|
|
97
|
-
"@arc-ui/
|
|
98
|
-
"@arc-ui/
|
|
99
|
-
"@arc-ui/theme-
|
|
100
|
-
"@arc-ui/
|
|
101
|
-
"@arc-ui/
|
|
102
|
-
"@arc-ui/tokens-
|
|
103
|
-
"@arc-ui/tokens-
|
|
92
|
+
"@arc-ui/build-utils": "^12.0.0-beta7",
|
|
93
|
+
"@arc-ui/fonts-bt": "^12.0.0-beta7",
|
|
94
|
+
"@arc-ui/fonts-ee": "^12.0.0-beta7",
|
|
95
|
+
"@arc-ui/helpers": "^12.0.0-beta7",
|
|
96
|
+
"@arc-ui/icons-bt": "^12.0.0-beta7",
|
|
97
|
+
"@arc-ui/icons-ee": "^12.0.0-beta7",
|
|
98
|
+
"@arc-ui/theme-bt-business": "^12.0.0-beta7",
|
|
99
|
+
"@arc-ui/theme-bt-enterprise": "^12.0.0-beta7",
|
|
100
|
+
"@arc-ui/theme-ee": "^12.0.0-beta7",
|
|
101
|
+
"@arc-ui/tokens-arc": "^12.0.0-beta7",
|
|
102
|
+
"@arc-ui/tokens-bt-enterprise": "^12.0.0-beta7",
|
|
103
|
+
"@arc-ui/tokens-ee": "^12.0.0-beta7"
|
|
104
104
|
},
|
|
105
105
|
"scripts": {
|
|
106
|
-
"build": "rimraf dist && rollup -c &&
|
|
106
|
+
"build": "rimraf dist && rollup -c && generate-subpath-css",
|
|
107
107
|
"storybook": "storybook dev -p 6006",
|
|
108
108
|
"storybook:build": "storybook build --quiet",
|
|
109
109
|
"storybook:quiet": "pnpm run storybook --quiet",
|
|
110
110
|
"coverage:summary": "pnpm dlx nyc report --reporter=text-summary",
|
|
111
111
|
"coverage:files": "pnpm dlx nyc@15.0.0 report --reporter=text",
|
|
112
|
-
"coverage:check": "pnpm dlx nyc@15.0.0 report --check-coverage --lines
|
|
112
|
+
"coverage:check": "pnpm dlx nyc@15.0.0 report --check-coverage --lines 80 --functions 80 --branches 80 --statements 80",
|
|
113
113
|
"test:components": "cypress open --component",
|
|
114
114
|
"test:components:ci": "cypress run --component --browser chrome",
|
|
115
115
|
"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;
|