@arc-ui/components 11.24.1 → 12.0.0-beta.3
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 +18 -29
- package/dist/Alert/Alert.esm.js +17 -28
- package/dist/Align/Align.cjs.js +6 -6
- package/dist/Align/Align.esm.js +2 -2
- package/dist/AppButton/AppButton.cjs.js +73 -0
- package/dist/AppButton/AppButton.esm.js +65 -0
- package/dist/AppButton/package.json +7 -0
- package/dist/Avatar/Avatar.cjs.js +7 -7
- package/dist/Avatar/Avatar.esm.js +7 -7
- package/dist/AvatarGroup/AvatarGroup.cjs.js +14 -14
- package/dist/AvatarGroup/AvatarGroup.esm.js +7 -7
- package/dist/Badge/Badge.cjs.js +5 -22
- package/dist/Badge/Badge.esm.js +5 -22
- package/dist/Box/Box.cjs.js +6 -6
- package/dist/Box/Box.esm.js +3 -3
- package/dist/BrandLogo/BrandLogo.cjs.js +4 -4
- package/dist/BrandLogo/BrandLogo.esm.js +4 -4
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +7 -7
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +7 -7
- package/dist/Button/Button.cjs.js +7 -8
- package/dist/Button/Button.esm.js +7 -8
- package/dist/ButtonV2/ButtonV2.cjs.js +16 -0
- package/dist/ButtonV2/ButtonV2.esm.js +8 -0
- package/dist/ButtonV2/package.json +7 -0
- package/dist/Calendar/Calendar.cjs.js +11 -10
- package/dist/Calendar/Calendar.esm.js +11 -10
- package/dist/Checkbox/Checkbox.cjs.js +8 -10
- package/dist/Checkbox/Checkbox.esm.js +8 -10
- package/dist/Columns/Columns.cjs.js +3 -3
- package/dist/Columns/Columns.esm.js +3 -3
- package/dist/DatePicker/DatePicker.cjs.js +35 -563
- package/dist/DatePicker/DatePicker.esm.js +26 -554
- package/dist/Disclosure/Disclosure.cjs.js +10 -10
- package/dist/Disclosure/Disclosure.esm.js +6 -6
- package/dist/DisclosureMini/DisclosureMini.cjs.js +6 -6
- package/dist/DisclosureMini/DisclosureMini.esm.js +6 -6
- package/dist/Elevation/Elevation.cjs.js +5 -5
- package/dist/Elevation/Elevation.esm.js +1 -1
- package/dist/Filter/Filter.cjs.js +3 -3
- package/dist/Filter/Filter.esm.js +3 -3
- package/dist/FormControl/FormControl.cjs.js +7 -8
- package/dist/FormControl/FormControl.esm.js +7 -8
- package/dist/Grid/Grid.cjs.js +3 -3
- package/dist/Grid/Grid.esm.js +3 -3
- package/dist/Group/Group.cjs.js +3 -3
- package/dist/Group/Group.esm.js +3 -3
- package/dist/Heading/Heading.cjs.js +4 -4
- package/dist/Heading/Heading.esm.js +4 -4
- package/dist/HeroButton/HeroButton.cjs.js +16 -0
- package/dist/HeroButton/HeroButton.esm.js +8 -0
- package/dist/HeroButton/package.json +7 -0
- package/dist/Hidden/Hidden.cjs.js +5 -5
- package/dist/Hidden/Hidden.esm.js +1 -1
- package/dist/Icon/Icon.cjs.js +5 -5
- package/dist/Icon/Icon.esm.js +5 -5
- package/dist/Image/Image.cjs.js +3 -3
- package/dist/Image/Image.esm.js +3 -3
- package/dist/ImpactCard/ImpactCard.cjs.js +18 -16
- package/dist/ImpactCard/ImpactCard.esm.js +14 -12
- package/dist/InformationCard/InformationCard.cjs.js +28 -26
- package/dist/InformationCard/InformationCard.esm.js +20 -18
- package/dist/Link/Link.cjs.js +13 -13
- package/dist/Link/Link.esm.js +6 -6
- package/dist/Markup/Markup.cjs.js +6 -6
- package/dist/Markup/Markup.esm.js +2 -2
- package/dist/MediaCard/MediaCard.cjs.js +19 -47
- package/dist/MediaCard/MediaCard.esm.js +18 -46
- package/dist/Modal/Modal.cjs.js +1496 -250
- package/dist/Modal/Modal.esm.js +1475 -248
- package/dist/Pagination/Pagination.cjs.js +15 -20
- package/dist/Pagination/Pagination.esm.js +8 -13
- package/dist/PaginationSimple/PaginationSimple.cjs.js +12 -16
- package/dist/PaginationSimple/PaginationSimple.esm.js +7 -11
- package/dist/Poster/Poster.cjs.js +5 -5
- package/dist/Poster/Poster.esm.js +5 -5
- package/dist/ProgressBar/ProgressBar.cjs.js +17 -43
- package/dist/ProgressBar/ProgressBar.esm.js +13 -39
- package/dist/ProgressStepper/ProgressStepper.cjs.js +5 -5
- package/dist/ProgressStepper/ProgressStepper.esm.js +5 -5
- package/dist/RadioGroup/RadioGroup.cjs.js +8 -9
- package/dist/RadioGroup/RadioGroup.esm.js +8 -9
- package/dist/Rule/Rule.cjs.js +5 -5
- package/dist/Rule/Rule.esm.js +2 -2
- package/dist/ScrollToTop/ScrollToTop.cjs.js +14 -28
- package/dist/ScrollToTop/ScrollToTop.esm.js +10 -24
- package/dist/Section/Section.cjs.js +2 -2
- package/dist/Section/Section.esm.js +2 -2
- package/dist/Select/Select.cjs.js +58 -96
- package/dist/Select/Select.esm.js +25 -63
- package/dist/SiteFooter/SiteFooter.cjs.js +10 -34
- package/dist/SiteFooter/SiteFooter.esm.js +10 -34
- package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +14 -13
- package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +14 -13
- package/dist/SkipLink/SkipLink.cjs.js +3 -3
- package/dist/SkipLink/SkipLink.esm.js +1 -1
- package/dist/Surface/Surface.cjs.js +2 -2
- package/dist/Surface/Surface.esm.js +2 -2
- package/dist/Switch/Switch.cjs.js +26 -399
- package/dist/Switch/Switch.esm.js +13 -386
- package/dist/Tabs/Tabs.cjs.js +10 -11
- package/dist/Tabs/Tabs.esm.js +10 -11
- package/dist/Tag/Tag.cjs.js +6 -5
- package/dist/Tag/Tag.esm.js +6 -5
- package/dist/Text/Text.cjs.js +4 -4
- package/dist/Text/Text.esm.js +4 -4
- package/dist/TextArea/TextArea.cjs.js +62 -57
- package/dist/TextArea/TextArea.esm.js +58 -53
- package/dist/TextInput/TextInput.cjs.js +9 -10
- package/dist/TextInput/TextInput.esm.js +9 -10
- package/dist/Theme/Theme.cjs.js +30 -0
- package/dist/Theme/Theme.esm.js +21 -0
- package/dist/Theme/package.json +7 -0
- package/dist/ThemeIcon/ThemeIcon.cjs.js +14 -0
- package/dist/ThemeIcon/ThemeIcon.esm.js +6 -0
- package/dist/ThemeIcon/package.json +7 -0
- package/dist/Toast/Toast.cjs.js +10 -14
- package/dist/Toast/Toast.esm.js +10 -14
- package/dist/Truncate/Truncate.cjs.js +3 -3
- package/dist/Truncate/Truncate.esm.js +1 -1
- package/dist/TypographyCard/TypographyCard.cjs.js +16 -14
- package/dist/TypographyCard/TypographyCard.esm.js +13 -11
- 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 +3013 -0
- package/dist/VideoPlayer/VideoPlayer.esm.js +3005 -0
- package/dist/VideoPlayer/package.json +7 -0
- package/dist/Visible/Visible.cjs.js +5 -5
- package/dist/Visible/Visible.esm.js +1 -1
- package/dist/_shared/cjs/ArcIconEclipse.esm-ac777a76.js +28 -0
- package/dist/_shared/cjs/Avatar-fc0d9b8b.js +49 -0
- package/dist/_shared/cjs/{BrandLogo-aea340c8.js → BrandLogo-1d2ca2c7.js} +7 -7
- package/dist/_shared/cjs/{Breadcrumbs-c6eaf5c4.js → Breadcrumbs-7af0af2c.js} +15 -16
- package/dist/_shared/cjs/BtIconArrowRight.esm-5989f2ca.js +38 -0
- package/dist/_shared/cjs/{BtIconAlert.esm-1a0ff9f0.js → BtIconPlayFill.esm-b8997cfc.js} +4 -8
- package/dist/_shared/cjs/{Button-6ba21d3b.js → Button-7d891a89.js} +13 -16
- package/dist/_shared/cjs/ButtonV2-b2db3f46.js +48 -0
- package/dist/_shared/cjs/Calendar-780bb071.js +1927 -0
- package/dist/_shared/cjs/{CardFooter-ff015d7d.js → CardFooter-5414bc4f.js} +9 -12
- package/dist/_shared/cjs/Checkbox-0e423653.js +65 -0
- package/dist/_shared/cjs/{Columns-ae4f8cef.js → Columns-1224bdff.js} +9 -16
- package/dist/_shared/cjs/{index-77ab5c6a.js → Combination-3a639f6d.js} +877 -83
- package/dist/_shared/cjs/DatePicker-e27ea988.js +550 -0
- package/dist/_shared/cjs/{DisclosureMini-09c749e5.js → DisclosureMini-c01ecce0.js} +12 -14
- package/dist/_shared/cjs/{Filter-f9506dfa.js → Filter-3b897d92.js} +13 -13
- package/dist/_shared/cjs/{FormControl-68258ce1.js → FormControl-88d48f42.js} +21 -18
- package/dist/_shared/cjs/Grid-9e91fb3d.js +46 -0
- package/dist/_shared/cjs/{Group-0429741a.js → Group-3d5ea240.js} +9 -16
- package/dist/_shared/cjs/{Heading-27cba320.js → Heading-fb63844f.js} +7 -7
- package/dist/_shared/cjs/HeroButton-0586a7c4.js +126 -0
- package/dist/_shared/cjs/Icon-0ec0c1fb.js +37 -0
- package/dist/_shared/cjs/Image-e9a5a326.js +56 -0
- package/dist/_shared/cjs/MediaCard-e1648705.js +65 -0
- package/dist/_shared/cjs/{Poster-9b48fd61.js → Poster-b7242b37.js} +15 -15
- package/dist/_shared/cjs/Preview-0bf3f6e8.js +167 -0
- package/dist/_shared/cjs/{ProgressStepper-491f0286.js → ProgressStepper-fb8405c2.js} +40 -19
- package/dist/_shared/cjs/{RadioGroup-26dc00fc.js → RadioGroup-a4186267.js} +14 -14
- package/dist/_shared/cjs/{Section-59804166.js → Section-ecfc659b.js} +5 -5
- package/dist/_shared/cjs/{SiteFooter-20d5a9fa.js → SiteFooter-b4247527.js} +14 -15
- package/dist/_shared/cjs/{SiteHeaderV2-ce1c8737.js → SiteHeaderV2-c2d651bc.js} +115 -83
- package/dist/_shared/cjs/{Surface-038db6e1.js → Surface-8599dbe4.js} +23 -23
- package/dist/_shared/cjs/{Tabs-bc9fac46.js → Tabs-75c34f43.js} +31 -49
- package/dist/_shared/cjs/{Tag-73a59171.js → Tag-452048f6.js} +9 -49
- package/dist/_shared/cjs/{Text-606ca3a2.js → Text-1c1110a4.js} +7 -7
- package/dist/_shared/cjs/{TextInput-8d139489.js → TextInput-762e2309.js} +11 -11
- package/dist/_shared/cjs/ThemeIcon-ee814862.js +27 -0
- package/dist/_shared/cjs/{Toast-26207fef.js → Toast-d06a89e0.js} +34 -38
- package/dist/_shared/cjs/{UniversalHeader-b8389447.js → UniversalHeader-f6d9c63a.js} +7 -14
- package/dist/_shared/cjs/{VerticalSpace-dc53bb70.js → VerticalSpace-e128ec68.js} +5 -5
- package/dist/_shared/cjs/_commonjsHelpers-56412ec5.js +21 -0
- package/dist/_shared/cjs/component-df82bc05.js +505 -0
- package/dist/_shared/cjs/{debounce-123468fb.js → debounce-a74c28cf.js} +2 -2
- package/dist/_shared/cjs/{index-74004a9c.js → index-039a9d35.js} +1 -1
- package/dist/_shared/cjs/{index-9f99d686.js → index-0c6319ec.js} +1 -1
- package/dist/_shared/cjs/index-28447df0.js +23 -0
- package/dist/_shared/cjs/{index-a31e64a9.js → index-3d629205.js} +2 -3
- package/dist/_shared/cjs/{index-dd1d18ea.js → index-3dd54df1.js} +21 -6
- package/dist/_shared/cjs/index-41b09e85.js +53 -0
- package/dist/_shared/cjs/{index-6eb396a3.js → index-7aa7f96a.js} +1 -1
- package/dist/_shared/{esm/Calendar-ea232839.js → cjs/index-7e31a45b.js} +54 -1942
- package/dist/_shared/cjs/{index-d38f1bd0.js → index-996dec94.js} +3 -3
- package/dist/_shared/cjs/{filter-data-attrs-1c9a530c.js → index-df60851b.js} +17 -57
- package/dist/_shared/cjs/index.es-8b018b0d.js +13 -0
- package/dist/_shared/cjs/{suffix-modifier-64dcd338.js → suffix-modifier-c8a34402.js} +2 -2
- package/dist/_shared/cjs/{use-media-query-e61881d8.js → use-media-query-d34c83b9.js} +0 -11
- package/dist/_shared/esm/ArcIconEclipse.esm-bb48b82a.js +22 -0
- package/dist/_shared/esm/{Avatar-320313f0.js → Avatar-38cc0595.js} +6 -23
- package/dist/_shared/esm/{BrandLogo-1af78f76.js → BrandLogo-7ed8aeda.js} +3 -3
- package/dist/_shared/esm/{Breadcrumbs-7d55e1a6.js → Breadcrumbs-9078b68e.js} +5 -6
- package/dist/_shared/esm/BtIconArrowRight.esm-6a17d0ce.js +31 -0
- package/dist/_shared/esm/BtIconPlayFill.esm-05fc0344.js +24 -0
- package/dist/_shared/esm/{Button-a7d134c6.js → Button-dde2b46a.js} +7 -10
- package/dist/_shared/esm/ButtonV2-49cd0615.js +42 -0
- package/dist/_shared/esm/Calendar-f81052f4.js +1918 -0
- package/dist/_shared/esm/{CardFooter-e13f77b0.js → CardFooter-c79fb2db.js} +7 -10
- package/dist/_shared/esm/{Checkbox-588619c7.js → Checkbox-0baca464.js} +15 -12
- package/dist/_shared/esm/{Columns-d96b7425.js → Columns-6a8f6fbb.js} +3 -10
- package/dist/_shared/esm/{index-b84a20c6.js → Combination-ae3a3f08.js} +853 -66
- package/dist/_shared/esm/DatePicker-2260f260.js +539 -0
- package/dist/_shared/esm/{DisclosureMini-56719716.js → DisclosureMini-38f4c459.js} +8 -10
- package/dist/_shared/esm/{Filter-258ba675.js → Filter-49dcf5ce.js} +2 -2
- package/dist/_shared/esm/{FormControl-8e836656.js → FormControl-d873f7fa.js} +14 -11
- package/dist/_shared/esm/{Grid-07dbf4bd.js → Grid-fb9fc522.js} +5 -4
- package/dist/_shared/esm/{Group-73fdb896.js → Group-66196f07.js} +3 -10
- package/dist/_shared/esm/{Heading-d16e0e53.js → Heading-906c7c7c.js} +3 -3
- package/dist/_shared/esm/HeroButton-7ea692bf.js +120 -0
- package/dist/_shared/esm/{Icon-15799695.js → Icon-512f834f.js} +6 -23
- package/dist/_shared/esm/{Image-12fbd327.js → Image-57d08939.js} +15 -5
- package/dist/_shared/esm/MediaCard-01250268.js +59 -0
- package/dist/_shared/esm/{Poster-4ec2f679.js → Poster-e05a8b45.js} +7 -7
- package/dist/_shared/esm/Preview-43b2a75d.js +161 -0
- package/dist/_shared/esm/{ProgressStepper-7eba3a6a.js → ProgressStepper-189ed0f9.js} +33 -12
- package/dist/_shared/esm/{RadioGroup-427652ac.js → RadioGroup-8ff17cbb.js} +5 -5
- package/dist/_shared/esm/{Section-73781b56.js → Section-1acbc06a.js} +1 -1
- package/dist/_shared/esm/{SiteFooter-86f910b4.js → SiteFooter-ef6f0cdc.js} +11 -12
- package/dist/_shared/esm/{SiteHeaderV2-a7c1b1cb.js → SiteHeaderV2-a041b889.js} +64 -32
- package/dist/_shared/esm/{Surface-0ca6817d.js → Surface-71d21a9e.js} +17 -17
- package/dist/_shared/esm/{Tabs-9485cab6.js → Tabs-21ac7dfe.js} +11 -29
- package/dist/_shared/esm/{Tag-cb35d57b.js → Tag-2513c185.js} +6 -46
- package/dist/_shared/esm/{Text-14f586ac.js → Text-a46fb76b.js} +3 -3
- package/dist/_shared/esm/{TextInput-c0388103.js → TextInput-94c7b1a4.js} +4 -4
- package/dist/_shared/esm/ThemeIcon-c2dc41a6.js +21 -0
- package/dist/_shared/esm/{Toast-fcbfc194.js → Toast-de6ca2f3.js} +15 -19
- package/dist/_shared/esm/{UniversalHeader-80c7313f.js → UniversalHeader-456ad60c.js} +4 -11
- package/dist/_shared/esm/{VerticalSpace-43cd9138.js → VerticalSpace-b07cd8e6.js} +1 -1
- package/dist/_shared/esm/_commonjsHelpers-0109d574.js +18 -0
- package/dist/_shared/esm/component-d0a555cf.js +476 -0
- package/dist/_shared/esm/{debounce-6fed6b84.js → debounce-c8e41002.js} +1 -1
- package/dist/_shared/esm/{filter-data-attrs-ea8f4ed4.js → index-288c66b5.js} +17 -55
- package/dist/_shared/esm/index-4e58de24.js +51 -0
- package/dist/_shared/esm/{index-25a5b393.js → index-5113ed53.js} +1 -2
- package/dist/_shared/esm/{index-2cfab9f2.js → index-6028d797.js} +1 -1
- package/dist/_shared/{cjs/Calendar-b022545c.js → esm/index-605031ca.js} +44 -1954
- package/dist/_shared/esm/index-69089474.js +21 -0
- package/dist/_shared/esm/{index-efa9be1a.js → index-7740883c.js} +1 -1
- package/dist/_shared/esm/{index-7b531fa7.js → index-cace3545.js} +16 -2
- package/dist/_shared/esm/{index-044da8d0.js → index-f97466e9.js} +1 -1
- package/dist/_shared/esm/{index-ca72c9d5.js → index-fa93ec97.js} +1 -1
- package/dist/_shared/esm/index.es-3139cf9e.js +9 -0
- package/dist/_shared/esm/{suffix-modifier-3d548e45.js → suffix-modifier-1ce05abe.js} +2 -2
- package/dist/_shared/esm/{use-media-query-4c807227.js → use-media-query-d3622da8.js} +1 -9
- package/dist/index.es.js +17418 -40573
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +17825 -40979
- package/dist/index.js.map +1 -1
- package/dist/styles.css +13 -11
- package/dist/types/components/Alert/Alert.d.ts +3 -5
- package/dist/types/components/AppButton/AppButton.d.ts +9 -0
- package/dist/types/components/AppButton/icons/AppStore.d.ts +2 -0
- package/dist/types/components/AppButton/icons/GooglePlay.d.ts +2 -0
- package/dist/types/components/AppButton/index.d.ts +1 -0
- package/dist/types/components/Avatar/types/avatar-image.d.ts +1 -1
- package/dist/types/components/Badge/Badge.d.ts +0 -8
- package/dist/types/components/BrandLogo/BrandLogo.d.ts +2 -2
- package/dist/types/components/ButtonV2/ButtonV2.d.ts +79 -0
- package/dist/types/components/ButtonV2/index.d.ts +1 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +7 -4
- package/dist/types/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/types/components/FormControl/FormControl.d.ts +1 -1
- package/dist/types/components/Grid/Grid.types.d.ts +2 -0
- package/dist/types/components/Grid/components/Col/Col.d.ts +2 -1
- package/dist/types/components/Grid/components/Row/Row.d.ts +2 -1
- package/dist/types/components/Grid/index.d.ts +1 -1
- package/dist/types/components/HeroButton/HeroButton.d.ts +66 -0
- package/dist/types/components/HeroButton/index.d.ts +1 -0
- package/dist/types/components/Image/Image.d.ts +4 -0
- package/dist/types/components/ImpactCard/ImpactCard.d.ts +8 -3
- package/dist/types/components/InformationCard/InformationCard.d.ts +5 -5
- package/dist/types/components/MediaCard/MediaCard.d.ts +7 -6
- package/dist/types/components/MediaCard/types/index.d.ts +2 -0
- package/dist/types/components/MediaCard/types/media-card-image.d.ts +4 -0
- package/dist/types/components/MediaCard/types/media-card-video.d.ts +4 -0
- package/dist/types/components/Modal/Modal.d.ts +2 -2
- package/dist/types/components/Poster/Poster.d.ts +2 -2
- package/dist/types/components/ProgressBar/constants/progress-bar-icon-map.d.ts +2 -2
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +9 -1
- package/dist/types/components/SiteFooter/SiteFooter.d.ts +0 -4
- package/dist/types/components/SiteFooter/index.d.ts +0 -1
- package/dist/types/components/SiteHeaderV2/components/Panel/Panel.d.ts +1 -1
- package/dist/types/components/SiteHeaderV2/components/VerticalDivider/VerticalDivider.d.ts +1 -0
- package/dist/types/components/Surface/Surface.d.ts +3 -3
- package/dist/types/components/Switch/Switch.d.ts +1 -1
- package/dist/types/components/TextArea/TextArea.d.ts +8 -0
- package/dist/types/components/TextInput/TextInput.d.ts +4 -2
- package/dist/types/components/Theme/Theme.d.ts +21 -0
- package/dist/types/components/Theme/index.d.ts +1 -0
- package/dist/types/components/ThemeIcon/ThemeIcon.d.ts +18 -0
- package/dist/types/components/ThemeIcon/icon-names.d.ts +1 -0
- package/dist/types/components/ThemeIcon/index.d.ts +1 -0
- package/dist/types/components/TypographyCard/TypographyCard.d.ts +9 -4
- package/dist/types/components/VideoPlayer/VideoPlayer.d.ts +18 -0
- package/dist/types/components/VideoPlayer/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +8 -6
- package/dist/types/helpers/get-theme-img.d.ts +6 -0
- package/dist/types/helpers/index.d.ts +1 -0
- package/dist/types/hooks/index.d.ts +2 -4
- package/dist/types/hooks/private/index.d.ts +5 -0
- package/dist/types/hooks/private/use-aria-describedby/index.d.ts +1 -0
- package/dist/types/hooks/private/use-interaction-mode/index.d.ts +1 -0
- package/dist/types/hooks/private/use-numeric-input/index.d.ts +1 -0
- package/dist/types/hooks/{use-numeric-input.d.ts → private/use-numeric-input/use-numeric-input.d.ts} +3 -3
- package/dist/types/hooks/private/use-pagination/index.d.ts +1 -0
- package/dist/types/hooks/private/use-theme-element/index.d.ts +1 -0
- package/dist/types/hooks/public/index.d.ts +1 -0
- package/dist/types/hooks/public/use-media-query/index.d.ts +1 -0
- package/dist/types/hooks/{use-media-query.d.ts → public/use-media-query/use-media-query.d.ts} +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/private-components/CardFooter/CardFooter.d.ts +1 -1
- package/dist/types/private-components/CardFooter/index.d.ts +1 -1
- package/dist/types/private-components/CardHeading/CardHeading.d.ts +3 -3
- package/dist/types/private-components/index.d.ts +1 -2
- package/dist/types/styles.d.ts +7 -30
- package/dist/use-media-query/package.json +7 -0
- package/dist/use-media-query/use-media-query.cjs.js +10 -0
- package/dist/use-media-query/use-media-query.esm.js +2 -0
- package/package.json +48 -38
- package/dist/Base/Base.cjs.js +0 -11
- package/dist/Base/Base.esm.js +0 -3
- package/dist/Base/package.json +0 -7
- package/dist/Card/Card.cjs.js +0 -19
- package/dist/Card/Card.esm.js +0 -11
- package/dist/Card/package.json +0 -7
- package/dist/Clock/Clock.cjs.js +0 -48
- package/dist/Clock/Clock.esm.js +0 -39
- package/dist/Clock/package.json +0 -7
- package/dist/Curve/Curve.cjs.js +0 -13
- package/dist/Curve/Curve.esm.js +0 -5
- package/dist/Curve/package.json +0 -7
- package/dist/SiteHeader/SiteHeader.cjs.js +0 -25
- package/dist/SiteHeader/SiteHeader.esm.js +0 -16
- package/dist/SiteHeader/package.json +0 -7
- package/dist/_shared/cjs/Avatar-f1b1c129.js +0 -66
- package/dist/_shared/cjs/Base-f5a86eed.js +0 -22
- package/dist/_shared/cjs/BtIconArrowRight.esm-50d96943.js +0 -54
- package/dist/_shared/cjs/BtIconArrowRightFill.esm-435cf4bd.js +0 -26
- package/dist/_shared/cjs/BtIconChevronDown2Px.esm-39030ee0.js +0 -26
- package/dist/_shared/cjs/BtIconChevronLeftMid.esm-0aaa6770.js +0 -28
- package/dist/_shared/cjs/BtIconChevronRight2Px.esm-dbf8cbee.js +0 -44
- package/dist/_shared/cjs/BtIconCrossAlt2Px.esm-1452b14b.js +0 -26
- package/dist/_shared/cjs/BtIconTick.esm-844eac6c.js +0 -80
- package/dist/_shared/cjs/BtIconTickAlt2Px.esm-57c89acc.js +0 -26
- package/dist/_shared/cjs/Card-78a70e63.js +0 -126
- package/dist/_shared/cjs/Checkbox-0253327b.js +0 -62
- package/dist/_shared/cjs/Combination-9974f2e2.js +0 -1330
- package/dist/_shared/cjs/Curve-b5117889.js +0 -33
- package/dist/_shared/cjs/Grid-da776e77.js +0 -45
- package/dist/_shared/cjs/Icon-b46897a3.js +0 -54
- package/dist/_shared/cjs/Image-e873b8fc.js +0 -46
- package/dist/_shared/cjs/SiteHeader.rehydrator-9d8f3dad.js +0 -669
- package/dist/_shared/cjs/extends-8c5e4b48.js +0 -18
- package/dist/_shared/esm/Base-f200653c.js +0 -15
- package/dist/_shared/esm/BtIconAlert.esm-a4608d47.js +0 -28
- package/dist/_shared/esm/BtIconArrowRight.esm-9b181878.js +0 -46
- package/dist/_shared/esm/BtIconArrowRightFill.esm-99019d1a.js +0 -20
- package/dist/_shared/esm/BtIconChevronDown2Px.esm-217276c2.js +0 -20
- package/dist/_shared/esm/BtIconChevronLeftMid.esm-1ed8330b.js +0 -22
- package/dist/_shared/esm/BtIconChevronRight2Px.esm-75e92636.js +0 -37
- package/dist/_shared/esm/BtIconCrossAlt2Px.esm-7165ab1a.js +0 -20
- package/dist/_shared/esm/BtIconTick.esm-e265098f.js +0 -72
- package/dist/_shared/esm/BtIconTickAlt2Px.esm-0bc2ded0.js +0 -20
- package/dist/_shared/esm/Card-a4b78406.js +0 -120
- package/dist/_shared/esm/Combination-e9f7e64e.js +0 -1301
- package/dist/_shared/esm/Curve-e05b3c3f.js +0 -27
- package/dist/_shared/esm/SiteHeader.rehydrator-2ec02ee7.js +0 -662
- package/dist/_shared/esm/extends-8cc61aad.js +0 -16
- package/dist/types/components/Base/Base.d.ts +0 -16
- package/dist/types/components/Base/index.d.ts +0 -1
- package/dist/types/components/Card/Card.d.ts +0 -132
- package/dist/types/components/Card/index.d.ts +0 -1
- package/dist/types/components/Clock/Clock.d.ts +0 -17
- package/dist/types/components/Clock/Clock.rehydrator.d.ts +0 -2
- package/dist/types/components/Clock/index.d.ts +0 -2
- package/dist/types/components/Curve/Curve.d.ts +0 -34
- package/dist/types/components/Curve/index.d.ts +0 -1
- package/dist/types/components/SiteFooter/SiteFooter.rehydrator.d.ts +0 -2
- package/dist/types/components/SiteHeader/SiteHeader.d.ts +0 -79
- package/dist/types/components/SiteHeader/SiteHeader.rehydrator.d.ts +0 -8
- package/dist/types/components/SiteHeader/components/BackButton/BackButton.d.ts +0 -5
- package/dist/types/components/SiteHeader/components/BackButton/index.d.ts +0 -1
- package/dist/types/components/SiteHeader/components/Column/Column.d.ts +0 -8
- package/dist/types/components/SiteHeader/components/Column/index.d.ts +0 -1
- package/dist/types/components/SiteHeader/components/Item/Item.d.ts +0 -20
- package/dist/types/components/SiteHeader/components/Item/index.d.ts +0 -1
- package/dist/types/components/SiteHeader/components/ItemGroup/ItemGroup.d.ts +0 -26
- package/dist/types/components/SiteHeader/components/ItemGroup/ItemGroup.rehydrator.d.ts +0 -2
- package/dist/types/components/SiteHeader/components/ItemGroup/index.d.ts +0 -2
- package/dist/types/components/SiteHeader/components/MenuButton/MenuButton.d.ts +0 -6
- package/dist/types/components/SiteHeader/components/MenuButton/index.d.ts +0 -1
- package/dist/types/components/SiteHeader/components/NavItem/NavItem.d.ts +0 -42
- package/dist/types/components/SiteHeader/components/NavItem/NavItem.rehydrator.d.ts +0 -2
- package/dist/types/components/SiteHeader/components/NavItem/NavItemWithSubNav.d.ts +0 -47
- package/dist/types/components/SiteHeader/components/NavItem/NavItemWithSubNav.rehydrator.d.ts +0 -2
- package/dist/types/components/SiteHeader/components/NavItem/index.d.ts +0 -4
- package/dist/types/components/SiteHeader/components/NodeItem/NodeItem.d.ts +0 -8
- package/dist/types/components/SiteHeader/components/Panel/Panel.d.ts +0 -22
- package/dist/types/components/SiteHeader/components/Panel/index.d.ts +0 -1
- package/dist/types/components/SiteHeader/components/SubNavItem/SubNavItem.d.ts +0 -47
- package/dist/types/components/SiteHeader/components/SubNavItem/SubNavItem.rehydrator.d.ts +0 -2
- package/dist/types/components/SiteHeader/components/SubNavItem/index.d.ts +0 -2
- package/dist/types/components/SiteHeader/index.d.ts +0 -2
- package/dist/types/private-components/CardLabel/CardLabel.d.ts +0 -10
- package/dist/types/private-components/CardLabel/index.d.ts +0 -1
- /package/dist/_shared/cjs/{BtIconChevronRightMid.esm-d01ebbd4.js → BtIconChevronRightMid.esm-3e8d18a9.js} +0 -0
- /package/dist/_shared/esm/{BtIconChevronRightMid.esm-32268f1a.js → BtIconChevronRightMid.esm-4764708f.js} +0 -0
- /package/dist/types/hooks/{use-aria-describedby.d.ts → private/use-aria-describedby/use-aria-describedby.d.ts} +0 -0
- /package/dist/types/hooks/{use-interaction-mode.d.ts → private/use-interaction-mode/use-interaction-mode.d.ts} +0 -0
- /package/dist/types/hooks/{use-pagination.d.ts → private/use-pagination/use-pagination.d.ts} +0 -0
package/dist/Clock/Clock.esm.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs, d as __awaiter, e as __generator } from '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
2
|
-
import React__default, { useState, useEffect } from 'react';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
#### Deprecation Notice
|
|
6
|
-
|
|
7
|
-
The `Clock` component is being deprecated from Arc and will be removed in a future release.
|
|
8
|
-
|
|
9
|
-
Do not use `Clock` for any new work, and prepare to update any design that features it to remove it.
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
var Clock = function (_a) {
|
|
13
|
-
var _b = _a.locale, locale = _b === void 0 ? "en-GB" : _b, props = __rest(_a, ["locale"]);
|
|
14
|
-
var _c = useState(new Date()), time = _c[0], setTime = _c[1];
|
|
15
|
-
var _d = useState(time.toLocaleTimeString(locale)), humanTime = _d[0], setHumanTime = _d[1];
|
|
16
|
-
useEffect(function () {
|
|
17
|
-
var tick = function () {
|
|
18
|
-
var newTime = new Date();
|
|
19
|
-
setTime(newTime);
|
|
20
|
-
setHumanTime(newTime.toLocaleTimeString(locale));
|
|
21
|
-
};
|
|
22
|
-
tick();
|
|
23
|
-
var interval = setInterval(tick, 1000);
|
|
24
|
-
return function () { return clearInterval(interval); };
|
|
25
|
-
}, [locale]);
|
|
26
|
-
return (React__default.createElement("time", __assign({ className: "arc-Clock", dateTime: time.toISOString() }, filterDataAttrs(props), { "data-locale": locale }), humanTime));
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
var Clock_rehydrator = (function (el) { return __awaiter(void 0, void 0, void 0, function () {
|
|
30
|
-
var props;
|
|
31
|
-
return __generator(this, function (_a) {
|
|
32
|
-
props = {
|
|
33
|
-
locale: el.dataset.locale
|
|
34
|
-
};
|
|
35
|
-
return [2 /*return*/, React__default.createElement(Clock, __assign({}, props))];
|
|
36
|
-
});
|
|
37
|
-
}); });
|
|
38
|
-
|
|
39
|
-
export { Clock, Clock_rehydrator as ClockRehydrator };
|
package/dist/Clock/package.json
DELETED
package/dist/Curve/Curve.cjs.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var Curve = require('../_shared/cjs/Curve-b5117889.js');
|
|
6
|
-
require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
7
|
-
require('../_shared/cjs/index-9947ac13.js');
|
|
8
|
-
require('react');
|
|
9
|
-
require('../_shared/cjs/suffix-modifier-64dcd338.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.Curve = Curve.Curve;
|
package/dist/Curve/Curve.esm.js
DELETED
package/dist/Curve/package.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var SiteHeader_rehydrator = require('../_shared/cjs/SiteHeader.rehydrator-9d8f3dad.js');
|
|
6
|
-
require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
7
|
-
require('react');
|
|
8
|
-
require('../_shared/cjs/index-9947ac13.js');
|
|
9
|
-
require('../_shared/cjs/use-media-query-e61881d8.js');
|
|
10
|
-
require('../_shared/cjs/BtIconChevronDown2Px.esm-39030ee0.js');
|
|
11
|
-
require('../_shared/cjs/handle-link-click-17a44cf4.js');
|
|
12
|
-
require('../_shared/cjs/BtIconChevronRight2Px.esm-dbf8cbee.js');
|
|
13
|
-
require('../_shared/cjs/Surface-038db6e1.js');
|
|
14
|
-
require('../_shared/cjs/BrandLogo-aea340c8.js');
|
|
15
|
-
require('../_shared/cjs/suffix-modifier-64dcd338.js');
|
|
16
|
-
require('../_shared/cjs/Button-6ba21d3b.js');
|
|
17
|
-
require('../_shared/cjs/BtIconChevronLeftMid.esm-0aaa6770.js');
|
|
18
|
-
require('../_shared/cjs/BtIconChevronRightMid.esm-d01ebbd4.js');
|
|
19
|
-
require('../_shared/cjs/Icon-b46897a3.js');
|
|
20
|
-
require('../_shared/cjs/Text-606ca3a2.js');
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
exports.SiteHeader = SiteHeader_rehydrator.SiteHeader;
|
|
25
|
-
exports.SiteHeaderRehydrator = SiteHeader_rehydrator.SiteHeaderRehydrator;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export { S as SiteHeader, a as SiteHeaderRehydrator } from '../_shared/esm/SiteHeader.rehydrator-2ec02ee7.js';
|
|
2
|
-
import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../_shared/esm/index-2e73c2e9.js';
|
|
5
|
-
import '../_shared/esm/use-media-query-4c807227.js';
|
|
6
|
-
import '../_shared/esm/BtIconChevronDown2Px.esm-217276c2.js';
|
|
7
|
-
import '../_shared/esm/handle-link-click-f64f55a2.js';
|
|
8
|
-
import '../_shared/esm/BtIconChevronRight2Px.esm-75e92636.js';
|
|
9
|
-
import '../_shared/esm/Surface-0ca6817d.js';
|
|
10
|
-
import '../_shared/esm/BrandLogo-1af78f76.js';
|
|
11
|
-
import '../_shared/esm/suffix-modifier-3d548e45.js';
|
|
12
|
-
import '../_shared/esm/Button-a7d134c6.js';
|
|
13
|
-
import '../_shared/esm/BtIconChevronLeftMid.esm-1ed8330b.js';
|
|
14
|
-
import '../_shared/esm/BtIconChevronRightMid.esm-32268f1a.js';
|
|
15
|
-
import '../_shared/esm/Icon-15799695.js';
|
|
16
|
-
import '../_shared/esm/Text-14f586ac.js';
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var filterDataAttrs = require('./filter-data-attrs-1c9a530c.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var index = require('./index-9947ac13.js');
|
|
6
|
-
require('./Surface-038db6e1.js');
|
|
7
|
-
var ConditionalWrapper = require('./ConditionalWrapper-be3b2625.js');
|
|
8
|
-
var Icon = require('./Icon-b46897a3.js');
|
|
9
|
-
var Image = require('./Image-e873b8fc.js');
|
|
10
|
-
var Heading = require('./Heading-27cba320.js');
|
|
11
|
-
|
|
12
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
|
-
|
|
14
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
|
-
|
|
16
|
-
const BtIconUser = (props) =>
|
|
17
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
18
|
-
"svg",
|
|
19
|
-
Object.assign(
|
|
20
|
-
{
|
|
21
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
-
viewBox: "0 0 32 32",
|
|
23
|
-
},
|
|
24
|
-
props,
|
|
25
|
-
),
|
|
26
|
-
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
27
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
28
|
-
d: "M20.87579,16.014a6.99843,6.99843,0,1,0-9.75378.00091C6.725,17.77887,4,21.452,4,25.66113V27a1.001,1.001,0,0,0,1,1H27a1.001,1.001,0,0,0,1-1V25.66113C28,21.45129,25.27423,17.77765,20.87579,16.014ZM10,11a5.998,5.998,0,1,1,6,6A6.0068,6.0068,0,0,1,10,11ZM27,27H5V25.66113c0-4.61181,3.46484-7.57324,6.707-8.80761l.29492-.11206a6.97581,6.97581,0,0,0,7.99457-.00062l.29645.11268C23.53516,18.08789,27,21.04932,27,25.66113Z",
|
|
29
|
-
fill: "currentColor",
|
|
30
|
-
}),
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
var AvatarContent = function (_a) {
|
|
34
|
-
var img = _a.img, initials = _a.initials, _b = _a.size, size = _b === void 0 ? "xl" : _b;
|
|
35
|
-
var textSize = {
|
|
36
|
-
s: "xxxs",
|
|
37
|
-
m: "xxs",
|
|
38
|
-
l: "xs",
|
|
39
|
-
xl: "s"
|
|
40
|
-
};
|
|
41
|
-
var iconSize = {
|
|
42
|
-
s: 16,
|
|
43
|
-
m: 24,
|
|
44
|
-
l: 32,
|
|
45
|
-
xl: 40
|
|
46
|
-
};
|
|
47
|
-
if (img) {
|
|
48
|
-
return React__default["default"].createElement(Image.Image, filterDataAttrs.__assign({ fit: "cover" }, img));
|
|
49
|
-
}
|
|
50
|
-
if (initials) {
|
|
51
|
-
return (React__default["default"].createElement(Heading.Heading, { size: textSize[size] }, initials.substring(0, 3).toUpperCase()));
|
|
52
|
-
}
|
|
53
|
-
return React__default["default"].createElement(Icon.Icon, { size: iconSize[size], icon: BtIconUser });
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
/** Use `Avatar` to visually represent a user. */
|
|
57
|
-
var Avatar = function (_a) {
|
|
58
|
-
var img = _a.img, initials = _a.initials, href = _a.href, title = _a.title, ariaLabel = _a.ariaLabel, onClick = _a.onClick, _b = _a.size, size = _b === void 0 ? "xl" : _b, props = filterDataAttrs.__rest(_a, ["img", "initials", "href", "title", "ariaLabel", "onClick", "size"]);
|
|
59
|
-
var wrapperAttrs = filterDataAttrs.__assign({ className: index.classNames("arc-Avatar", "arc-Avatar--".concat(size), {
|
|
60
|
-
"arc-Avatar--img": Boolean(img)
|
|
61
|
-
}) }, filterDataAttrs.filterDataAttrs(props));
|
|
62
|
-
return (React__default["default"].createElement(ConditionalWrapper.ConditionalWrapper, { condition: Boolean(href), wrapper: function (children) { return (React__default["default"].createElement("a", filterDataAttrs.__assign({ href: href, "aria-label": ariaLabel, onClick: onClick, title: title }, wrapperAttrs), children)); }, fallback: function (children) { return React__default["default"].createElement("div", filterDataAttrs.__assign({}, wrapperAttrs), children); } },
|
|
63
|
-
React__default["default"].createElement(AvatarContent, { size: size, img: img, initials: initials })));
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
exports.Avatar = Avatar;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var filterDataAttrs = require('./filter-data-attrs-1c9a530c.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
|
|
6
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
|
-
|
|
8
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
9
|
-
|
|
10
|
-
var ArcRootElementContext = React.createContext(null);
|
|
11
|
-
/**
|
|
12
|
-
* Use `Base` as the root component of the arc system.
|
|
13
|
-
*/
|
|
14
|
-
var Base = function (_a) {
|
|
15
|
-
var _b = _a.brand, brand = _b === void 0 ? "bt" : _b, children = _a.children, props = filterDataAttrs.__rest(_a, ["brand", "children"]);
|
|
16
|
-
var _c = React__default["default"].useState(null), arcRoot = _c[0], setArcRoot = _c[1];
|
|
17
|
-
return (React__default["default"].createElement("div", filterDataAttrs.__assign({ id: "arc-root", ref: setArcRoot, className: "arc".concat(brand ? " arc-".concat(brand) : "") }, filterDataAttrs.filterDataAttrs(props)),
|
|
18
|
-
React__default["default"].createElement(ArcRootElementContext.Provider, { value: arcRoot }, children)));
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
exports.ArcRootElementContext = ArcRootElementContext;
|
|
22
|
-
exports.Base = Base;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var filterDataAttrs = require('./filter-data-attrs-1c9a530c.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var index = require('./index-9947ac13.js');
|
|
6
|
-
var suffixModifier = require('./suffix-modifier-64dcd338.js');
|
|
7
|
-
|
|
8
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
|
-
|
|
10
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
|
-
|
|
12
|
-
var CardHeading = function (_a) {
|
|
13
|
-
var onClick = _a.onClick, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onBlur = _a.onBlur, onFocus = _a.onFocus, href = _a.href, heading = _a.heading, _b = _a.size, size = _b === void 0 ? "s" : _b, _c = _a.isDarkPathway, isDarkPathway = _c === void 0 ? false : _c, _d = _a.linkData, linkData = _d === void 0 ? {} : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e;
|
|
14
|
-
var HeadingElement = "h".concat(headingLevel);
|
|
15
|
-
return (React__default["default"].createElement(HeadingElement, { className: index.classNames("arc-CardHeading", "arc-CardHeading--".concat(size), {
|
|
16
|
-
"arc-CardHeading--darkPathway": isDarkPathway
|
|
17
|
-
}) }, href ? (React__default["default"].createElement("a", filterDataAttrs.__assign({ className: "arc-CardHeading-link", href: href, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onFocus: onFocus, onBlur: onBlur }, filterDataAttrs.filterDataAttrs(linkData)), heading)) : (heading)));
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
var CardLabel = function (_a) {
|
|
21
|
-
var _b;
|
|
22
|
-
var text = _a.text, _c = _a.color, color = _c === void 0 ? "muted" : _c, _d = _a.isBold, isBold = _d === void 0 ? true : _d, _e = _a.isDarkPathway, isDarkPathway = _e === void 0 ? false : _e;
|
|
23
|
-
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
24
|
-
React__default["default"].createElement("span", { className: index.classNames("arc-CardLabel", (_b = {},
|
|
25
|
-
_b[suffixModifier.suffixModifier("arc-CardLabel--color", color)] = !isDarkPathway,
|
|
26
|
-
_b["arc-CardLabel--bold"] = isBold,
|
|
27
|
-
_b["arc-CardLabel--darkPathway"] = isDarkPathway,
|
|
28
|
-
_b)) }, text)));
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
const BtIconArrowRight = (props) =>
|
|
32
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
33
|
-
"svg",
|
|
34
|
-
Object.assign(
|
|
35
|
-
{
|
|
36
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
-
viewBox: "0 0 32 32",
|
|
38
|
-
},
|
|
39
|
-
props,
|
|
40
|
-
),
|
|
41
|
-
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
42
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
43
|
-
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",
|
|
44
|
-
fill: "currentColor",
|
|
45
|
-
}),
|
|
46
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
47
|
-
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",
|
|
48
|
-
fill: "currentColor",
|
|
49
|
-
}),
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
exports.BtIconArrowRight = BtIconArrowRight;
|
|
53
|
-
exports.CardHeading = CardHeading;
|
|
54
|
-
exports.CardLabel = CardLabel;
|
|
@@ -1,26 +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 BtIconArrowRightFill = (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: "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",
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
}),
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
exports.BtIconArrowRightFill = BtIconArrowRightFill;
|
|
@@ -1,26 +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 BtIconChevronDown2Px = (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: "M15.99316,23.91406,2.294,10.207A.99989.99989,0,1,1,3.708,8.793l12.28515,12.293L28.292,8.793A.99989.99989,0,1,1,29.70605,10.207Z",
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
}),
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
exports.BtIconChevronDown2Px = BtIconChevronDown2Px;
|
|
@@ -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 BtIconChevronLeftMid = (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: "M7.62107 8.00023L10.4697 10.8522C10.5957 10.9785 10.6665 11.1495 10.6665 11.3279C10.6665 11.5063 10.5957 11.6773 10.4697 11.8036C10.4074 11.866 10.3335 11.9155 10.252 11.9493C10.1706 11.983 10.0833 12.0004 9.99507 12.0004C9.9069 12.0004 9.81959 11.983 9.73814 11.9493C9.65669 11.9155 9.5827 11.866 9.52041 11.8036L6.19641 8.47556C6.07061 8.34935 5.99998 8.17842 5.99998 8.00023C5.99998 7.82203 6.07061 7.6511 6.19641 7.52489L9.52041 4.19689C9.5827 4.13449 9.65669 4.08498 9.73814 4.0512C9.81959 4.01741 9.9069 4.00003 9.99507 4.00003C10.0832 4.00003 10.1706 4.01741 10.252 4.0512C10.3335 4.08498 10.4074 4.13449 10.4697 4.19689C10.5957 4.32313 10.6665 4.4942 10.6665 4.67256C10.6665 4.85092 10.5957 5.02199 10.4697 5.14823L7.62107 8.00023Z",
|
|
24
|
-
fill: "currentColor",
|
|
25
|
-
}),
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
exports.BtIconChevronLeftMid = BtIconChevronLeftMid;
|
|
@@ -1,44 +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 BtIconChevronLeft2Px = (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: "M22.5,29.99854a.99676.99676,0,0,1-.707-.293L8.08594,15.99268,21.793,2.294A1.00023,1.00023,0,0,1,23.207,3.709l-12.293,12.28467L23.207,28.2915a1,1,0,0,1-.707,1.707Z",
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
}),
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
const BtIconChevronRight2Px = (props) =>
|
|
27
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
28
|
-
"svg",
|
|
29
|
-
Object.assign(
|
|
30
|
-
{
|
|
31
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
-
viewBox: "0 0 32 32",
|
|
33
|
-
},
|
|
34
|
-
props,
|
|
35
|
-
),
|
|
36
|
-
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
37
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
38
|
-
d: "M9.5,29.99854A1.00025,1.00025,0,0,1,8.793,28.291l12.293-12.28467L8.793,3.7085A.99989.99989,0,0,1,10.207,2.29443l13.707,13.71289L10.207,29.70605A.99827.99827,0,0,1,9.5,29.99854Z",
|
|
39
|
-
fill: "currentColor",
|
|
40
|
-
}),
|
|
41
|
-
);
|
|
42
|
-
|
|
43
|
-
exports.BtIconChevronLeft2Px = BtIconChevronLeft2Px;
|
|
44
|
-
exports.BtIconChevronRight2Px = BtIconChevronRight2Px;
|
|
@@ -1,26 +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 BtIconCrossAlt2Px = (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: "M17.41406,16l3.793-3.793A.99989.99989,0,0,0,19.793,10.793L16,14.58594l-3.793-3.793A.99989.99989,0,0,0,10.793,12.207L14.58594,16l-3.793,3.793A.99989.99989,0,1,0,12.207,21.207L16,17.41406l3.793,3.793A.99989.99989,0,0,0,21.207,19.793Z",
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
}),
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
exports.BtIconCrossAlt2Px = BtIconCrossAlt2Px;
|
|
@@ -1,80 +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 BtIconNotification = (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: "M24.50977,21.98867,24,21.99014,23.99414,13.975a7.98466,7.98466,0,0,0-6.66046-7.86011,1.46733,1.46733,0,0,0,.15655-.65063,1.48633,1.48633,0,1,0-2.97265,0,1.46732,1.46732,0,0,0,.15826.65369,7.9849,7.9849,0,0,0-6.63971,7.857v8.0166l-.50781-.00293a1.50464,1.50464,0,1,0,0,3.00928h3.45679a1.997,1.997,0,0,0,3.99365,0h9.532a1.50464,1.50464,0,1,0-.001-3.00928ZM16.00391,4.97793a.48633.48633,0,1,1-.48633.48633A.48668.48668,0,0,1,16.00391,4.97793ZM12.98242,25.97158a.998.998,0,0,1-.99469-.97363h1.98841A.99785.99785,0,0,1,12.98242,25.97158ZM24.51074,23.998H7.52832a.50465.50465,0,0,1-.00488-1.00928l1.51269.00293V13.975a6.979,6.979,0,0,1,13.958.00049L23,22.99209l1.51074-.00342a.50464.50464,0,1,1,0,1.00928Z",
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
}),
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
const BtIconAlertTriangle = (props) =>
|
|
27
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
28
|
-
"svg",
|
|
29
|
-
Object.assign(
|
|
30
|
-
{
|
|
31
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
-
viewBox: "0 0 32 32",
|
|
33
|
-
},
|
|
34
|
-
props,
|
|
35
|
-
),
|
|
36
|
-
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
37
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
38
|
-
fill: "currentColor",
|
|
39
|
-
d: "M16 21.99335A1 1 0 1 0 16 23.99335 1 1 0 1 0 16 21.99335z",
|
|
40
|
-
}),
|
|
41
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
42
|
-
d: "M16.00488,20.00977a.49972.49972,0,0,0,.5-.5l.002-9.00977a.5.5,0,0,0-1,0l-.002,9.00977A.5.5,0,0,0,16.00488,20.00977Z",
|
|
43
|
-
fill: "currentColor",
|
|
44
|
-
}),
|
|
45
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
46
|
-
d: "M29.83691,26.21,17.041,4.5332A1.15617,1.15617,0,0,0,16.03711,3.959h-.001a1.159,1.159,0,0,0-1.00586.57373L2.23535,26.21045a1.16676,1.16676,0,0,0,1.00488,1.76074H28.83105A1.16843,1.16843,0,0,0,29.83691,26.21Zm-.86035.67725a.164.164,0,0,1-.14551.084H3.24023a.16737.16737,0,0,1-.14355-.25244L15.8916,5.0415a.167.167,0,0,1,.28809,0l12.7959,21.67627A.16531.16531,0,0,1,28.97656,26.88721Z",
|
|
47
|
-
fill: "currentColor",
|
|
48
|
-
}),
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
const BtIconTick = (props) =>
|
|
52
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
53
|
-
"svg",
|
|
54
|
-
Object.assign(
|
|
55
|
-
{
|
|
56
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
57
|
-
viewBox: "0 0 32 32",
|
|
58
|
-
},
|
|
59
|
-
props,
|
|
60
|
-
),
|
|
61
|
-
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
62
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
63
|
-
"g",
|
|
64
|
-
{
|
|
65
|
-
"data-name": "Icons",
|
|
66
|
-
},
|
|
67
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
68
|
-
d: "M16,3A13,13,0,1,1,3,16,12.9741,12.9741,0,0,1,16,3m0-1A14,14,0,1,0,30,16,14.04116,14.04116,0,0,0,16,2Z",
|
|
69
|
-
fill: "currentColor",
|
|
70
|
-
}),
|
|
71
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
72
|
-
d: "M13.5,21.2,9.1,16.8a.495.495,0,1,1,.7-.7l3.6,3.6L22,11.1a.495.495,0,1,1,.7.7Z",
|
|
73
|
-
fill: "currentColor",
|
|
74
|
-
}),
|
|
75
|
-
),
|
|
76
|
-
);
|
|
77
|
-
|
|
78
|
-
exports.BtIconAlertTriangle = BtIconAlertTriangle;
|
|
79
|
-
exports.BtIconNotification = BtIconNotification;
|
|
80
|
-
exports.BtIconTick = BtIconTick;
|
|
@@ -1,26 +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 BtIconTickAlt2Px = (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.49963,21.91418l-4.707-4.707a1.0014,1.0014,0,0,1,0-1.41406,1.02353,1.02353,0,0,1,1.41406,0l3.293,3.293,8.293-8.293a.99989.99989,0,1,1,1.41406,1.41406Z",
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
}),
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
exports.BtIconTickAlt2Px = BtIconTickAlt2Px;
|