@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var
|
|
5
|
-
var index = require('./index-
|
|
4
|
+
var ReactDOM = require('react-dom');
|
|
5
|
+
var index = require('./index-3dd54df1.js');
|
|
6
6
|
|
|
7
7
|
function $fe963b355347cc68$export$3e6543de14f8614f(initialState, machine) {
|
|
8
8
|
return React.useReducer((state, event)=>{
|
|
@@ -91,7 +91,7 @@ $921a889cee6df7e8$export$99c2b779aa4e8b8b.displayName = 'Presence';
|
|
|
91
91
|
if (event.target === node1 && isCurrentAnimation) // With React 18 concurrency this update is applied
|
|
92
92
|
// a frame after the animation ends, creating a flash of visible content.
|
|
93
93
|
// By manually flushing we ensure they sync within a frame, removing the flash.
|
|
94
|
-
|
|
94
|
+
ReactDOM.flushSync(()=>send('ANIMATION_END')
|
|
95
95
|
);
|
|
96
96
|
};
|
|
97
97
|
const handleAnimationStart = (event)=>{
|
|
@@ -38,44 +38,6 @@ function __rest(s, e) {
|
|
|
38
38
|
return t;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
42
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function __generator(thisArg, body) {
|
|
52
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
53
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
54
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
55
|
-
function step(op) {
|
|
56
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
57
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
58
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
59
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
60
|
-
switch (op[0]) {
|
|
61
|
-
case 0: case 1: t = op; break;
|
|
62
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
63
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
64
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
65
|
-
default:
|
|
66
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
67
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
68
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
69
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
70
|
-
if (t[2]) _.ops.pop();
|
|
71
|
-
_.trys.pop(); continue;
|
|
72
|
-
}
|
|
73
|
-
op = body.call(thisArg, _);
|
|
74
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
75
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
41
|
function __spreadArray(to, from, pack) {
|
|
80
42
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
81
43
|
if (ar || !(i in from)) {
|
|
@@ -91,7 +53,19 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
91
53
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
92
54
|
};
|
|
93
55
|
|
|
94
|
-
var
|
|
56
|
+
var dataAttrRe = /^(data-.*)$/;
|
|
57
|
+
var filterDataAttrs = function (props) {
|
|
58
|
+
var filteredProps = {};
|
|
59
|
+
for (var prop in props) {
|
|
60
|
+
if (Object.prototype.hasOwnProperty.call(props, prop) &&
|
|
61
|
+
dataAttrRe.test(prop)) {
|
|
62
|
+
filteredProps[prop] = props[prop];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return filteredProps;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
var camelcase$1 = {exports: {}};
|
|
95
69
|
|
|
96
70
|
const UPPERCASE = /[\p{Lu}]/u;
|
|
97
71
|
const LOWERCASE = /[\p{Ll}]/u;
|
|
@@ -201,27 +175,13 @@ const camelCase = (input, options) => {
|
|
|
201
175
|
return postProcess(input, toUpperCase);
|
|
202
176
|
};
|
|
203
177
|
|
|
204
|
-
camelcase.exports = camelCase;
|
|
178
|
+
camelcase$1.exports = camelCase;
|
|
205
179
|
// TODO: Remove this for the next major release
|
|
206
|
-
camelcase.exports.default = camelCase;
|
|
180
|
+
camelcase$1.exports.default = camelCase;
|
|
207
181
|
|
|
208
|
-
var
|
|
209
|
-
|
|
210
|
-
var dataAttrRe = /^(data-.*)$/;
|
|
211
|
-
var filterDataAttrs = function (props) {
|
|
212
|
-
var filteredProps = {};
|
|
213
|
-
for (var prop in props) {
|
|
214
|
-
if (Object.prototype.hasOwnProperty.call(props, prop) &&
|
|
215
|
-
dataAttrRe.test(prop)) {
|
|
216
|
-
filteredProps[prop] = props[prop];
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
return filteredProps;
|
|
220
|
-
};
|
|
182
|
+
var camelcase = camelcase$1.exports;
|
|
221
183
|
|
|
222
|
-
exports.__awaiter = __awaiter;
|
|
223
|
-
exports.__generator = __generator;
|
|
224
184
|
exports.__rest = __rest;
|
|
225
185
|
exports.__spreadArray = __spreadArray;
|
|
226
|
-
exports.
|
|
186
|
+
exports.camelcase = camelcase;
|
|
227
187
|
exports.filterDataAttrs = filterDataAttrs;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Do not edit directly
|
|
5
|
+
* Generated on Fri, 23 Aug 2024 15:46:35 GMT
|
|
6
|
+
*/
|
|
7
|
+
var SemSizeBreakpointsS = "576px"; // Small (SM) - 576px to 767px: This is often used for smartphones in landscape mode and small tablets.
|
|
8
|
+
var SemSizeBreakpointsM = "768px"; // Medium (MD) - 768px to 991px: This is commonly used for larger tablets and smaller desktop screens.
|
|
9
|
+
var SemSizeBreakpointsL = "1024px"; // Large (LG) - 1024px - 1279px: This breakpoint is often applied to larger desktop screens and some laptops.
|
|
10
|
+
|
|
11
|
+
exports.SemSizeBreakpointsL = SemSizeBreakpointsL;
|
|
12
|
+
exports.SemSizeBreakpointsM = SemSizeBreakpointsM;
|
|
13
|
+
exports.SemSizeBreakpointsS = SemSizeBreakpointsS;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var index = require('./index-df60851b.js');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Suffixes a modifier value onto the end of a className, converting it to
|
|
@@ -11,7 +11,7 @@ var filterDataAttrs = require('./filter-data-attrs-1c9a530c.js');
|
|
|
11
11
|
* @param suffix The suffix to convert into pascal case.
|
|
12
12
|
*/
|
|
13
13
|
var suffixModifier = function (rootClassName, suffix) {
|
|
14
|
-
return "".concat(rootClassName).concat(
|
|
14
|
+
return "".concat(rootClassName).concat(index.camelcase(suffix, {
|
|
15
15
|
pascalCase: true
|
|
16
16
|
}));
|
|
17
17
|
};
|
|
@@ -2,14 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
|
|
5
|
-
/**
|
|
6
|
-
* Do not edit directly
|
|
7
|
-
* Generated file
|
|
8
|
-
*/
|
|
9
|
-
var ArcBreakpointS = 636;
|
|
10
|
-
var ArcBreakpointM = 768;
|
|
11
|
-
var ArcBreakpointL = 1024;
|
|
12
|
-
|
|
13
5
|
/**
|
|
14
6
|
* @typedef MediaQueryOutputs
|
|
15
7
|
* @param {boolean} matches - does the document match the media query?
|
|
@@ -46,7 +38,4 @@ var useMediaQuery = function (mediaQuery) {
|
|
|
46
38
|
return matches;
|
|
47
39
|
};
|
|
48
40
|
|
|
49
|
-
exports.ArcBreakpointL = ArcBreakpointL;
|
|
50
|
-
exports.ArcBreakpointM = ArcBreakpointM;
|
|
51
|
-
exports.ArcBreakpointS = ArcBreakpointS;
|
|
52
41
|
exports.useMediaQuery = useMediaQuery;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
const ArcIconEclipse = (props) =>
|
|
4
|
+
/*#__PURE__*/ React__default.createElement(
|
|
5
|
+
"svg",
|
|
6
|
+
Object.assign(
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 28 28",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
},
|
|
12
|
+
props,
|
|
13
|
+
),
|
|
14
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
15
|
+
d: "M23.2 14C23.2 15.6967 22.7308 17.3603 21.8443 18.807C20.9578 20.2536 19.6885 21.427 18.1767 22.1973C16.665 22.9675 14.9696 23.3048 13.2782 23.1716C11.5867 23.0385 9.96502 22.4402 8.59238 21.443C7.21973 20.4457 6.1496 19.0882 5.50031 17.5207C4.85102 15.9532 4.64785 14.2366 4.91327 12.5608C5.17869 10.885 5.90236 9.31525 7.00426 8.02508C8.10617 6.73491 9.5434 5.77459 11.157 5.25028",
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: 1.6,
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
}),
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
export { ArcIconEclipse as A };
|
|
@@ -1,28 +1,11 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest, f as filterDataAttrs } from './
|
|
1
|
+
import { a as __assign, _ as __rest, f as filterDataAttrs } from './index-288c66b5.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
4
|
-
import './
|
|
4
|
+
import { H as Heading } from './Heading-906c7c7c.js';
|
|
5
|
+
import './Surface-71d21a9e.js';
|
|
5
6
|
import { C as ConditionalWrapper } from './ConditionalWrapper-59be8f35.js';
|
|
6
|
-
import {
|
|
7
|
-
import { I as Image } from './Image-
|
|
8
|
-
import { H as Heading } from './Heading-d16e0e53.js';
|
|
9
|
-
|
|
10
|
-
const BtIconUser = (props) =>
|
|
11
|
-
/*#__PURE__*/ React__default.createElement(
|
|
12
|
-
"svg",
|
|
13
|
-
Object.assign(
|
|
14
|
-
{
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
-
viewBox: "0 0 32 32",
|
|
17
|
-
},
|
|
18
|
-
props,
|
|
19
|
-
),
|
|
20
|
-
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
21
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
22
|
-
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",
|
|
23
|
-
fill: "currentColor",
|
|
24
|
-
}),
|
|
25
|
-
);
|
|
7
|
+
import { T as ThemeIcon } from './ThemeIcon-c2dc41a6.js';
|
|
8
|
+
import { I as Image } from './Image-57d08939.js';
|
|
26
9
|
|
|
27
10
|
var AvatarContent = function (_a) {
|
|
28
11
|
var img = _a.img, initials = _a.initials, _b = _a.size, size = _b === void 0 ? "xl" : _b;
|
|
@@ -44,7 +27,7 @@ var AvatarContent = function (_a) {
|
|
|
44
27
|
if (initials) {
|
|
45
28
|
return (React__default.createElement(Heading, { size: textSize[size] }, initials.substring(0, 3).toUpperCase()));
|
|
46
29
|
}
|
|
47
|
-
return React__default.createElement(
|
|
30
|
+
return React__default.createElement(ThemeIcon, { size: iconSize[size], icon: "avatarUser" });
|
|
48
31
|
};
|
|
49
32
|
|
|
50
33
|
/** Use `Avatar` to visually represent a user. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
|
-
import { s as suffixModifier } from './suffix-modifier-
|
|
5
|
-
import { C as Context } from './Surface-
|
|
4
|
+
import { s as suffixModifier } from './suffix-modifier-1ce05abe.js';
|
|
5
|
+
import { C as Context } from './Surface-71d21a9e.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Use `BrandLogo` to display the brand logo.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
|
-
import { d as debounce_1 } from './debounce-
|
|
4
|
-
import {
|
|
5
|
-
import { I as Icon } from './Icon-15799695.js';
|
|
3
|
+
import { d as debounce_1 } from './debounce-c8e41002.js';
|
|
4
|
+
import { T as ThemeIcon } from './ThemeIcon-c2dc41a6.js';
|
|
6
5
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
7
6
|
import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
|
|
8
7
|
|
|
@@ -10,10 +9,10 @@ var BreadcrumbsItem = function (_a) {
|
|
|
10
9
|
var spacerIconAfter = _a.spacerIconAfter, spacerIconBefore = _a.spacerIconBefore, children = _a.children, props = __rest(_a, ["spacerIconAfter", "spacerIconBefore", "children"]);
|
|
11
10
|
return (React__default.createElement("li", __assign({ className: "arc-Breadcrumbs-item" }, filterDataAttrs(props)),
|
|
12
11
|
spacerIconBefore && (React__default.createElement("div", { className: "arc-Breadcrumbs-spacerIcon", "data-testid": "arc-chevron-left-2px", "aria-hidden": "true" },
|
|
13
|
-
React__default.createElement(
|
|
12
|
+
React__default.createElement(ThemeIcon, { icon: "breadcrumbLeft" }))),
|
|
14
13
|
children,
|
|
15
14
|
spacerIconAfter && (React__default.createElement("div", { className: "arc-Breadcrumbs-spacerIcon", "aria-hidden": "true" },
|
|
16
|
-
React__default.createElement(
|
|
15
|
+
React__default.createElement(ThemeIcon, { icon: "breadcrumbRight" })))));
|
|
17
16
|
};
|
|
18
17
|
|
|
19
18
|
var BreadcrumbsLink = React__default.forwardRef(function (_a, ref) {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { H as Heading } from './Heading-906c7c7c.js';
|
|
4
|
+
|
|
5
|
+
var CardHeading = function (_a) {
|
|
6
|
+
var onClick = _a.onClick, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onBlur = _a.onBlur, onFocus = _a.onFocus, href = _a.href, heading = _a.heading, _b = _a.size, size = _b === void 0 ? "m" : _b, _c = _a.linkData, linkData = _c === void 0 ? {} : _c, _d = _a.headingLevel, headingLevel = _d === void 0 ? "2" : _d;
|
|
7
|
+
return (React__default.createElement(Heading, { level: headingLevel, size: size }, href ? (React__default.createElement("a", __assign({ className: "arc-CardHeading-link", href: href, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onFocus: onFocus, onBlur: onBlur }, filterDataAttrs(linkData)), heading)) : (heading)));
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const BtIconArrowRight = (props) =>
|
|
11
|
+
/*#__PURE__*/ React__default.createElement(
|
|
12
|
+
"svg",
|
|
13
|
+
Object.assign(
|
|
14
|
+
{
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
viewBox: "0 0 32 32",
|
|
17
|
+
},
|
|
18
|
+
props,
|
|
19
|
+
),
|
|
20
|
+
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
21
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
22
|
+
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",
|
|
23
|
+
fill: "currentColor",
|
|
24
|
+
}),
|
|
25
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
26
|
+
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",
|
|
27
|
+
fill: "currentColor",
|
|
28
|
+
}),
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
export { BtIconArrowRight as B, CardHeading as C };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
const BtIconPlayFill = (props) =>
|
|
4
|
+
/*#__PURE__*/ React__default.createElement(
|
|
5
|
+
"svg",
|
|
6
|
+
Object.assign(
|
|
7
|
+
{
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 32 32",
|
|
10
|
+
},
|
|
11
|
+
props,
|
|
12
|
+
),
|
|
13
|
+
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
14
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
15
|
+
d: "M13.16113,11.76172a.10284.10284,0,0,0-.10742,0A.10229.10229,0,0,0,13,11.85449v8.2876a.10314.10314,0,0,0,.05371.09326.10451.10451,0,0,0,.10742.00049l7.17774-4.14453a.10285.10285,0,0,0,.05371-.09277.10421.10421,0,0,0-.05371-.09375Z",
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
}),
|
|
18
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
19
|
+
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm4.83887,14.957-7.17774,4.14453A1.10791,1.10791,0,0,1,12,20.14209v-8.2876a1.107,1.107,0,0,1,1.66113-.95849l7.17774,4.14355a1.10688,1.10688,0,0,1,0,1.91748Z",
|
|
20
|
+
fill: "currentColor",
|
|
21
|
+
}),
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
export { BtIconPlayFill as B };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './
|
|
2
|
-
import { B as BtIconChevronLeftMid } from './BtIconChevronLeftMid.esm-1ed8330b.js';
|
|
3
|
-
import { B as BtIconChevronRightMid } from './BtIconChevronRightMid.esm-32268f1a.js';
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
|
|
4
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
5
3
|
import React__default, { forwardRef, useContext } from 'react';
|
|
6
|
-
import { s as suffixModifier } from './suffix-modifier-
|
|
7
|
-
import { I as Icon } from './Icon-
|
|
8
|
-
import { C as Context } from './Surface-
|
|
4
|
+
import { s as suffixModifier } from './suffix-modifier-1ce05abe.js';
|
|
5
|
+
import { I as Icon } from './Icon-512f834f.js';
|
|
6
|
+
import { C as Context } from './Surface-71d21a9e.js';
|
|
7
|
+
import { T as ThemeIcon } from './ThemeIcon-c2dc41a6.js';
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* Use `Button` to let a user complete an action like ‘Log in’ or ‘Register’.
|
|
@@ -20,9 +19,7 @@ var Button = forwardRef(function (_a, ref) {
|
|
|
20
19
|
},
|
|
21
20
|
_b[suffixModifier("arc-Button--fill", fill)] = fill !== "solid",
|
|
22
21
|
_b["arc-Button--fullWidth"] = isFullWidth,
|
|
23
|
-
_b[suffixModifier("arc-Button--icon", iconPosition.replace("icon", ""))] = (icon || fill === "flat") &&
|
|
24
|
-
iconPosition &&
|
|
25
|
-
iconPosition !== "afterText",
|
|
22
|
+
_b[suffixModifier("arc-Button--icon", iconPosition.replace("icon", ""))] = (icon || fill === "flat") && iconPosition,
|
|
26
23
|
_b["arc-Button--hasSupportingText"] = supportingText,
|
|
27
24
|
_b["arc-Button--onDarkSurface"] = surface === "dark",
|
|
28
25
|
_b["arc-Button--size".concat(size && size.toUpperCase())] = size && size !== "m",
|
|
@@ -45,7 +42,7 @@ var Button = forwardRef(function (_a, ref) {
|
|
|
45
42
|
});
|
|
46
43
|
var ButtonIcon = function (_a) {
|
|
47
44
|
var icon = _a.icon, isChevron = _a.isChevron, isBeforeText = _a.isBeforeText;
|
|
48
|
-
return (React__default.createElement("span", { className: "arc-Button-icon" }, isChevron ? (React__default.createElement(
|
|
45
|
+
return (React__default.createElement("span", { className: "arc-Button-icon" }, isChevron ? (React__default.createElement(ThemeIcon, { icon: isBeforeText ? "buttonLeft" : "buttonRight" })) : (React__default.createElement(Icon, { icon: icon }))));
|
|
49
46
|
};
|
|
50
47
|
|
|
51
48
|
export { Button as B };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-288c66b5.js';
|
|
2
|
+
import React__default, { forwardRef, useContext } from 'react';
|
|
3
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
4
|
+
import { I as Icon } from './Icon-512f834f.js';
|
|
5
|
+
import { C as Context } from './Surface-71d21a9e.js';
|
|
6
|
+
import { A as ArcIconEclipse } from './ArcIconEclipse.esm-bb48b82a.js';
|
|
7
|
+
|
|
8
|
+
var ButtonV2 = forwardRef(function (_a, ref) {
|
|
9
|
+
var label = _a.label, _b = _a.buttonStyle, buttonStyle = _b === void 0 ? "primary" : _b, icon = _a.icon, _c = _a.iconPosition, iconPosition = _c === void 0 ? "beforeText" : _c, _d = _a.size, size = _d === void 0 ? "m" : _d, ariaLabel = _a.ariaLabel, _e = _a.isFullWidth, isFullWidth = _e === void 0 ? false : _e, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f, onClick = _a.onClick, href = _a.href, id = _a.id, rel = _a.rel, target = _a.target, type = _a.type, form = _a.form, props = __rest(_a, ["label", "buttonStyle", "icon", "iconPosition", "size", "ariaLabel", "isFullWidth", "isLoading", "onClick", "href", "id", "rel", "target", "type", "form"]);
|
|
10
|
+
var surface = useContext(Context).surface;
|
|
11
|
+
var ButtonV2Classes = classNames("arc-ButtonV2", ["arc-ButtonV2--".concat(buttonStyle)], ["arc-ButtonV2--".concat(size)], {
|
|
12
|
+
"arc-ButtonV2--onDarkSurface": surface === "dark",
|
|
13
|
+
"arc-ButtonV2--emptyLabel": !label,
|
|
14
|
+
"arc-ButtonV2--isLoading": isLoading,
|
|
15
|
+
"arc-ButtonV2--isFullWidth": isFullWidth,
|
|
16
|
+
"arc-ButtonV2--withIcon": icon || isLoading,
|
|
17
|
+
"arc-ButtonV2--withIconBeforeText": iconPosition === "beforeText" && (icon || isLoading)
|
|
18
|
+
});
|
|
19
|
+
var commonProps = __assign({ id: id, onClick: onClick, ref: ref }, filterDataAttrs(props));
|
|
20
|
+
if (href && !isLoading) {
|
|
21
|
+
return (React__default.createElement("a", __assign({}, commonProps, { className: ButtonV2Classes, href: href, rel: rel, "aria-label": ariaLabel, target: target }),
|
|
22
|
+
React__default.createElement("span", { className: classNames("arc-ButtonV2-inner", {
|
|
23
|
+
"arc-ButtonV2-inner--iconBeforeText": iconPosition === "beforeText"
|
|
24
|
+
}) },
|
|
25
|
+
label && React__default.createElement("span", { className: "arc-ButtonV2-label" }, label),
|
|
26
|
+
isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
|
|
27
|
+
React__default.createElement(Icon, { size: size === "s" ? 16 : 32, icon: ArcIconEclipse }))),
|
|
28
|
+
icon && !isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
|
|
29
|
+
React__default.createElement(Icon, { size: size === "s" ? 16 : 32, icon: icon }))))));
|
|
30
|
+
}
|
|
31
|
+
return (React__default.createElement("button", __assign({}, commonProps, { className: ButtonV2Classes, "aria-label": ariaLabel, disabled: isLoading, type: type, form: form }),
|
|
32
|
+
React__default.createElement("span", { className: classNames("arc-ButtonV2-inner", {
|
|
33
|
+
"arc-ButtonV2-inner--iconBeforeText": iconPosition === "beforeText"
|
|
34
|
+
}) },
|
|
35
|
+
label && React__default.createElement("span", { className: "arc-ButtonV2-label" }, label),
|
|
36
|
+
icon && !isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
|
|
37
|
+
React__default.createElement(Icon, { size: size === "s" ? 16 : 32, icon: icon }))),
|
|
38
|
+
isLoading && (React__default.createElement("span", { className: "arc-ButtonV2-icon" },
|
|
39
|
+
React__default.createElement(Icon, { size: size === "s" ? 16 : 32, icon: ArcIconEclipse }))))));
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export { ButtonV2 as B };
|