@arc-ui/components 12.0.0-beta.5 → 12.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Alert/Alert.cjs.js +9 -10
- package/dist/Alert/Alert.esm.js +4 -5
- package/dist/Alert/styles.css +1 -0
- package/dist/Align/Align.cjs.js +7 -8
- package/dist/Align/Align.esm.js +1 -2
- package/dist/Align/styles.css +1 -0
- package/dist/AppButton/AppButton.cjs.js +4 -3
- package/dist/AppButton/AppButton.esm.js +4 -3
- package/dist/AppButton/styles.css +1 -0
- package/dist/Avatar/Avatar.cjs.js +7 -8
- package/dist/Avatar/Avatar.esm.js +7 -8
- package/dist/Avatar/styles.css +1 -0
- package/dist/AvatarGroup/AvatarGroup.cjs.js +14 -15
- package/dist/AvatarGroup/AvatarGroup.esm.js +7 -8
- package/dist/AvatarGroup/styles.css +1 -0
- package/dist/Badge/Badge.cjs.js +5 -13
- package/dist/Badge/Badge.esm.js +4 -12
- package/dist/Badge/styles.css +1 -0
- package/dist/Box/Box.cjs.js +6 -24
- package/dist/Box/Box.esm.js +5 -23
- package/dist/Box/styles.css +1 -0
- package/dist/BrandLogo/BrandLogo.cjs.js +3 -4
- package/dist/BrandLogo/BrandLogo.esm.js +3 -4
- package/dist/BrandLogo/styles.css +1 -0
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +5 -5
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +5 -5
- package/dist/Breadcrumbs/styles.css +1 -0
- package/dist/Button/Button.cjs.js +5 -6
- package/dist/Button/Button.esm.js +5 -6
- package/dist/Button/styles.css +1 -0
- package/dist/ButtonV2/ButtonV2.cjs.js +5 -6
- package/dist/ButtonV2/ButtonV2.esm.js +5 -6
- package/dist/ButtonV2/styles.css +1 -0
- package/dist/Calendar/Calendar.cjs.js +10 -11
- package/dist/Calendar/Calendar.esm.js +10 -11
- package/dist/Calendar/styles.css +1 -0
- package/dist/CardFooter/CardFooter.cjs.js +17 -0
- package/dist/CardFooter/CardFooter.esm.js +9 -0
- package/dist/CardFooter/package.json +7 -0
- package/dist/CardFooter/styles.css +1 -0
- package/dist/CardHeading/CardHeading.cjs.js +14 -0
- package/dist/CardHeading/CardHeading.esm.js +6 -0
- package/dist/CardHeading/package.json +7 -0
- package/dist/CardHeading/styles.css +1 -0
- package/dist/Carousel/Carousel.cjs.js +1921 -0
- package/dist/Carousel/Carousel.esm.js +1913 -0
- package/dist/Carousel/package.json +7 -0
- package/dist/Carousel/styles.css +1 -0
- package/dist/Checkbox/Checkbox.cjs.js +8 -9
- package/dist/Checkbox/Checkbox.esm.js +8 -9
- package/dist/Checkbox/styles.css +1 -0
- package/dist/Columns/Columns.cjs.js +2 -3
- package/dist/Columns/Columns.esm.js +2 -3
- package/dist/Columns/styles.css +1 -0
- package/dist/ConditionalWrapper/ConditionalWrapper.cjs.js +10 -0
- package/dist/ConditionalWrapper/ConditionalWrapper.esm.js +2 -0
- package/dist/ConditionalWrapper/package.json +7 -0
- package/dist/ContentSwitcher/ContentSwitcher.cjs.js +20 -0
- package/dist/ContentSwitcher/ContentSwitcher.esm.js +12 -0
- package/dist/ContentSwitcher/package.json +7 -0
- package/dist/ContentSwitcher/styles.css +1 -0
- package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs.js +23 -0
- package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.esm.js +15 -0
- package/dist/ContentSwitcherDropdown/package.json +7 -0
- package/dist/ContentSwitcherDropdown/styles.css +1 -0
- package/dist/DatePicker/DatePicker.cjs.js +19 -23
- package/dist/DatePicker/DatePicker.esm.js +19 -23
- package/dist/DatePicker/styles.css +1 -0
- package/dist/Disclosure/Disclosure.cjs.js +8 -9
- package/dist/Disclosure/Disclosure.esm.js +4 -5
- package/dist/Disclosure/styles.css +1 -0
- package/dist/DisclosureMini/DisclosureMini.cjs.js +5 -6
- package/dist/DisclosureMini/DisclosureMini.esm.js +5 -6
- package/dist/DisclosureMini/styles.css +1 -0
- package/dist/Download/Download.cjs.js +16 -0
- package/dist/Download/Download.esm.js +8 -0
- package/dist/Download/package.json +7 -0
- package/dist/Download/styles.css +1 -0
- package/dist/Elevation/Elevation.cjs.js +5 -5
- package/dist/Elevation/Elevation.esm.js +1 -1
- package/dist/Elevation/styles.css +1 -0
- package/dist/Filter/Filter.cjs.js +4 -4
- package/dist/Filter/Filter.esm.js +4 -4
- package/dist/Filter/styles.css +1 -0
- package/dist/FormControl/FormControl.cjs.js +7 -8
- package/dist/FormControl/FormControl.esm.js +7 -8
- package/dist/FormControl/styles.css +1 -0
- package/dist/Grid/Grid.cjs.js +2 -3
- package/dist/Grid/Grid.esm.js +2 -3
- package/dist/Grid/styles.css +1 -0
- package/dist/Group/Group.cjs.js +3 -3
- package/dist/Group/Group.esm.js +3 -3
- package/dist/Group/styles.css +1 -0
- package/dist/Heading/Heading.cjs.js +3 -4
- package/dist/Heading/Heading.esm.js +3 -4
- package/dist/Heading/styles.css +1 -0
- package/dist/HeroBanner/HeroBanner.cjs.js +63 -0
- package/dist/HeroBanner/HeroBanner.esm.js +55 -0
- package/dist/HeroBanner/package.json +7 -0
- package/dist/HeroBanner/styles.css +1 -0
- package/dist/HeroButton/HeroButton.cjs.js +5 -6
- package/dist/HeroButton/HeroButton.esm.js +5 -6
- package/dist/HeroButton/styles.css +1 -0
- package/dist/Hidden/Hidden.cjs.js +5 -5
- package/dist/Hidden/Hidden.esm.js +1 -1
- package/dist/Hidden/styles.css +1 -0
- package/dist/Icon/Icon.cjs.js +3 -4
- package/dist/Icon/Icon.esm.js +3 -4
- package/dist/Icon/styles.css +1 -0
- package/dist/Image/Image.cjs.js +2 -3
- package/dist/Image/Image.esm.js +2 -3
- package/dist/Image/styles.css +1 -0
- package/dist/ImpactCard/ImpactCard.cjs.js +17 -18
- package/dist/ImpactCard/ImpactCard.esm.js +11 -12
- package/dist/ImpactCard/styles.css +1 -0
- package/dist/InformationCard/InformationCard.cjs.js +37 -51
- package/dist/InformationCard/InformationCard.esm.js +34 -48
- package/dist/InformationCard/styles.css +1 -0
- package/dist/Link/Link.cjs.js +15 -16
- package/dist/Link/Link.esm.js +8 -9
- package/dist/Link/styles.css +1 -0
- package/dist/Markup/Markup.cjs.js +6 -6
- package/dist/Markup/Markup.esm.js +2 -2
- package/dist/Markup/styles.css +1 -0
- package/dist/MediaCard/MediaCard.cjs.js +15 -15
- package/dist/MediaCard/MediaCard.esm.js +15 -15
- package/dist/MediaCard/styles.css +1 -0
- package/dist/Modal/Modal.cjs.js +44 -1201
- package/dist/Modal/Modal.esm.js +13 -1169
- package/dist/Modal/styles.css +1 -0
- package/dist/Pagination/Pagination.cjs.js +12 -13
- package/dist/Pagination/Pagination.esm.js +3 -4
- package/dist/Pagination/styles.css +1 -0
- package/dist/PaginationSimple/PaginationSimple.cjs.js +85 -17
- package/dist/PaginationSimple/PaginationSimple.esm.js +82 -14
- package/dist/PaginationSimple/styles.css +1 -0
- package/dist/Poster/Poster.cjs.js +4 -5
- package/dist/Poster/Poster.esm.js +4 -5
- package/dist/Poster/styles.css +1 -0
- package/dist/ProgressBar/ProgressBar.cjs.js +12 -13
- package/dist/ProgressBar/ProgressBar.esm.js +6 -7
- package/dist/ProgressBar/styles.css +1 -0
- package/dist/ProgressStepper/ProgressStepper.cjs.js +5 -6
- package/dist/ProgressStepper/ProgressStepper.esm.js +5 -6
- package/dist/ProgressStepper/styles.css +1 -0
- package/dist/RadioGroup/RadioGroup.cjs.js +8 -9
- package/dist/RadioGroup/RadioGroup.esm.js +8 -9
- package/dist/RadioGroup/styles.css +1 -0
- package/dist/Rule/Rule.cjs.js +5 -5
- package/dist/Rule/Rule.esm.js +2 -2
- package/dist/Rule/styles.css +1 -0
- package/dist/ScrollToTop/ScrollToTop.cjs.js +26 -10
- package/dist/ScrollToTop/ScrollToTop.esm.js +21 -5
- package/dist/ScrollToTop/styles.css +1 -0
- package/dist/Section/Section.cjs.js +2 -2
- package/dist/Section/Section.esm.js +2 -2
- package/dist/Section/styles.css +1 -0
- package/dist/Select/Select.cjs.js +31 -1132
- package/dist/Select/Select.esm.js +18 -1119
- package/dist/Select/styles.css +1 -0
- package/dist/SiteFooter/SiteFooter.cjs.js +7 -8
- package/dist/SiteFooter/SiteFooter.esm.js +7 -8
- package/dist/SiteFooter/styles.css +1 -0
- package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +12 -13
- package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +12 -13
- package/dist/SiteHeaderV2/styles.css +1 -0
- package/dist/SkipLink/SkipLink.cjs.js +4 -4
- package/dist/SkipLink/SkipLink.esm.js +3 -3
- package/dist/SkipLink/styles.css +1 -0
- package/dist/Spinner/Spinner.cjs.js +12 -0
- package/dist/Spinner/Spinner.esm.js +4 -0
- package/dist/Spinner/package.json +7 -0
- package/dist/Spinner/styles.css +1 -0
- package/dist/Surface/Surface.cjs.js +2 -2
- package/dist/Surface/Surface.esm.js +2 -2
- package/dist/Surface/styles.css +1 -0
- package/dist/Switch/Switch.cjs.js +16 -18
- package/dist/Switch/Switch.esm.js +12 -14
- package/dist/Switch/styles.css +1 -0
- package/dist/Tabs/Tabs.cjs.js +9 -11
- package/dist/Tabs/Tabs.esm.js +9 -11
- package/dist/Tabs/styles.css +1 -0
- package/dist/Tag/Tag.cjs.js +77 -9
- package/dist/Tag/Tag.esm.js +76 -8
- package/dist/Tag/styles.css +1 -0
- package/dist/Text/Text.cjs.js +3 -4
- package/dist/Text/Text.esm.js +3 -4
- package/dist/Text/styles.css +1 -0
- package/dist/TextArea/TextArea.cjs.js +64 -59
- package/dist/TextArea/TextArea.esm.js +60 -55
- package/dist/TextArea/styles.css +1 -0
- package/dist/TextInput/TextInput.cjs.js +8 -10
- package/dist/TextInput/TextInput.esm.js +8 -10
- package/dist/TextInput/styles.css +1 -0
- package/dist/Theme/Theme.cjs.js +7 -6
- package/dist/Theme/Theme.esm.js +5 -4
- package/dist/Theme/styles.css +1 -0
- package/dist/ThemeIcon/ThemeIcon.cjs.js +3 -4
- package/dist/ThemeIcon/ThemeIcon.esm.js +3 -4
- package/dist/ThemeIcon/styles.css +1 -0
- package/dist/Toast/Toast.cjs.js +8 -10
- package/dist/Toast/Toast.esm.js +8 -10
- package/dist/Toast/styles.css +1 -0
- package/dist/Truncate/Truncate.cjs.js +3 -3
- package/dist/Truncate/Truncate.esm.js +3 -3
- package/dist/Truncate/styles.css +1 -0
- package/dist/TypographyCard/TypographyCard.cjs.js +15 -16
- package/dist/TypographyCard/TypographyCard.esm.js +10 -11
- package/dist/TypographyCard/styles.css +1 -0
- package/dist/UniversalHeader/UniversalHeader.cjs.js +3 -3
- package/dist/UniversalHeader/UniversalHeader.esm.js +3 -3
- package/dist/UniversalHeader/styles.css +1 -0
- package/dist/VerticalSpace/VerticalSpace.cjs.js +2 -2
- package/dist/VerticalSpace/VerticalSpace.esm.js +2 -2
- package/dist/VerticalSpace/styles.css +1 -0
- package/dist/VideoPlayer/VideoPlayer.cjs.js +38 -26
- package/dist/VideoPlayer/VideoPlayer.esm.js +37 -25
- package/dist/VideoPlayer/styles.css +1 -0
- package/dist/Visible/Visible.cjs.js +5 -5
- package/dist/Visible/Visible.esm.js +1 -1
- package/dist/Visible/styles.css +1 -0
- package/dist/VisuallyHidden/VisuallyHidden.cjs.js +2 -1
- package/dist/VisuallyHidden/VisuallyHidden.esm.js +2 -1
- package/dist/VisuallyHidden/styles.css +1 -0
- package/dist/_shared/cjs/{Avatar-fc0d9b8b.js → Avatar-7478d063.js} +11 -12
- package/dist/_shared/cjs/Badge-ca986033.js +17 -0
- package/dist/_shared/cjs/Box-e225b4a4.js +29 -0
- package/dist/_shared/cjs/{BrandLogo-1d2ca2c7.js → BrandLogo-bf632f2b.js} +7 -8
- package/dist/_shared/cjs/{Breadcrumbs-7af0af2c.js → Breadcrumbs-bb292a9e.js} +15 -14
- package/dist/_shared/cjs/BtIconArrowRight.esm-c78e3c11.js +30 -0
- package/dist/_shared/cjs/BtIconChevronRight2Px.esm-e8329e34.js +44 -0
- package/dist/_shared/cjs/BtIconChevronRightMid.esm-745faaca.js +28 -0
- package/dist/_shared/cjs/BtIconPlayFill.esm-7e848bd9.js +30 -0
- package/dist/_shared/cjs/{Button-7d891a89.js → Button-76215474.js} +12 -13
- package/dist/_shared/cjs/{ButtonV2-b2db3f46.js → ButtonV2-320f74b2.js} +21 -16
- package/dist/_shared/cjs/{Calendar-649cc139.js → Calendar-16ed5bec.js} +915 -915
- package/dist/_shared/cjs/CardFooter-6aa9a280.js +79 -0
- package/dist/_shared/cjs/CardHeading-30ef8abc.js +16 -0
- package/dist/_shared/cjs/{Checkbox-0e423653.js → Checkbox-4dbaac21.js} +17 -12
- package/dist/_shared/cjs/{Columns-1224bdff.js → Columns-ff4977f8.js} +9 -10
- package/dist/_shared/cjs/Combination-d19b4dc6.js +1203 -0
- package/dist/_shared/cjs/ContentSwitcher-1b789e2f.js +98 -0
- package/dist/_shared/cjs/ContentSwitcherDropdown-0de9f7e4.js +47 -0
- package/dist/_shared/cjs/DatePicker-a0f14025.js +939 -0
- package/dist/_shared/cjs/{DisclosureMini-c01ecce0.js → DisclosureMini-09ee2d12.js} +10 -10
- package/dist/_shared/cjs/Download-08d71049.js +43 -0
- package/dist/_shared/cjs/{Filter-3b897d92.js → Filter-60b0dd96.js} +14 -14
- package/dist/_shared/cjs/{FormControl-88d48f42.js → FormControl-fa7bb586.js} +12 -12
- package/dist/_shared/cjs/{Grid-9e91fb3d.js → Grid-a50fb206.js} +10 -11
- package/dist/_shared/cjs/{Group-3d5ea240.js → Group-1aba9855.js} +9 -9
- package/dist/_shared/cjs/{Heading-fb63844f.js → Heading-cb321adf.js} +9 -9
- package/dist/_shared/cjs/{HeroButton-0586a7c4.js → HeroButton-75e1ab78.js} +20 -20
- package/dist/_shared/cjs/Icon-859c6c00.js +47 -0
- package/dist/_shared/cjs/{Image-e9a5a326.js → Image-b807e951.js} +9 -10
- package/dist/_shared/cjs/{MediaCard-8f41b411.js → MediaCard-8101ae8b.js} +18 -18
- package/dist/_shared/cjs/{Poster-b7242b37.js → Poster-46b6803e.js} +13 -14
- package/dist/_shared/cjs/{ProgressStepper-fb8405c2.js → ProgressStepper-5fb2e7ac.js} +18 -42
- package/dist/_shared/cjs/{RadioGroup-a4186267.js → RadioGroup-f8963bd2.js} +14 -14
- package/dist/_shared/cjs/{Section-ecfc659b.js → Section-bee4a090.js} +5 -5
- package/dist/_shared/cjs/{SiteFooter-7c4072b5.js → SiteFooter-3fee99ae.js} +11 -11
- package/dist/_shared/cjs/{SiteHeaderV2-94687999.js → SiteHeaderV2-0f072158.js} +71 -106
- package/dist/_shared/cjs/Spinner-2a1d9f20.js +24 -0
- package/dist/_shared/cjs/{index-df60851b.js → Surface-4bc47dcb.js} +53 -65
- package/dist/_shared/cjs/Tabs-ba44ea49.js +90 -0
- package/dist/_shared/cjs/{Text-1c1110a4.js → Text-f6be8fdd.js} +8 -8
- package/dist/_shared/cjs/{TextInput-762e2309.js → TextInput-9d9a53ac.js} +13 -13
- package/dist/_shared/cjs/{ThemeIcon-ee814862.js → ThemeIcon-6b10d20a.js} +8 -9
- package/dist/_shared/cjs/{Toast-d06a89e0.js → Toast-a33b5a2e.js} +16 -17
- package/dist/_shared/cjs/{UniversalHeader-f6d9c63a.js → UniversalHeader-114ac8f5.js} +6 -6
- package/dist/_shared/cjs/{VerticalSpace-e128ec68.js → VerticalSpace-3908ae62.js} +5 -5
- package/dist/_shared/cjs/{VisuallyHidden-b0de4c7b.js → VisuallyHidden-821078c9.js} +3 -2
- package/dist/_shared/cjs/{component-df82bc05.js → component-ae4b7058.js} +4 -4
- package/dist/_shared/cjs/{Combination-3a639f6d.js → floating-ui.react-dom-08b8b87c.js} +37 -1103
- package/dist/_shared/cjs/{Tabs-75c34f43.js → index-1e7a1fce.js} +11 -96
- package/dist/_shared/cjs/{index-3d629205.js → index-2bf59363.js} +19 -1
- package/dist/_shared/cjs/{index-996dec94.js → index-527f962b.js} +1 -1
- package/dist/_shared/cjs/index-6b0bf2cc.js +2204 -0
- package/dist/_shared/cjs/{index-7aa7f96a.js → index-879e71ee.js} +8 -1
- package/dist/_shared/cjs/{index-41b09e85.js → index-ba3141f5.js} +20 -1
- package/dist/_shared/cjs/{index-0c6319ec.js → index-dbc843d3.js} +1 -1
- package/dist/_shared/cjs/{index.es-16759329.js → index.es-11fc5df7.js} +2 -2
- package/dist/_shared/cjs/index.es-b404d2c5.js +324 -0
- package/dist/_shared/esm/{Avatar-38cc0595.js → Avatar-b2fde5c6.js} +5 -6
- package/dist/_shared/esm/Badge-a6bda4a7.js +11 -0
- package/dist/_shared/esm/Box-2a1645ed.js +23 -0
- package/dist/_shared/esm/{BrandLogo-7ed8aeda.js → BrandLogo-3424eb79.js} +2 -3
- package/dist/_shared/esm/{Breadcrumbs-9078b68e.js → Breadcrumbs-7de7bfa5.js} +11 -10
- package/dist/_shared/esm/BtIconArrowRight.esm-8bcaa8ad.js +24 -0
- package/dist/_shared/esm/BtIconChevronRight2Px.esm-84262845.js +37 -0
- package/dist/_shared/esm/BtIconChevronRightMid.esm-f67f0ca3.js +22 -0
- package/dist/_shared/esm/BtIconPlayFill.esm-ec2797a0.js +24 -0
- package/dist/_shared/esm/{Button-dde2b46a.js → Button-9cab8eec.js} +4 -5
- package/dist/_shared/esm/{ButtonV2-49cd0615.js → ButtonV2-4dc8830e.js} +13 -8
- package/dist/_shared/esm/{Calendar-60591442.js → Calendar-e3f8c4f0.js} +893 -893
- package/dist/_shared/esm/CardFooter-2902bd84.js +73 -0
- package/dist/_shared/esm/CardHeading-6d3dbfad.js +10 -0
- package/dist/_shared/esm/{Checkbox-0baca464.js → Checkbox-f40de2e9.js} +12 -7
- package/dist/_shared/esm/{Columns-6a8f6fbb.js → Columns-5e02e601.js} +1 -2
- package/dist/_shared/esm/Combination-a063f96d.js +1163 -0
- package/dist/_shared/esm/ContentSwitcher-e0bd73a7.js +92 -0
- package/dist/_shared/esm/ContentSwitcherDropdown-306b4660.js +41 -0
- package/dist/_shared/esm/DatePicker-3f82e2c4.js +910 -0
- package/dist/_shared/esm/{DisclosureMini-38f4c459.js → DisclosureMini-60cb2a6c.js} +4 -4
- package/dist/_shared/esm/Download-a5443778.js +37 -0
- package/dist/_shared/esm/{Filter-49dcf5ce.js → Filter-bc821cbc.js} +11 -11
- package/dist/_shared/esm/{FormControl-d873f7fa.js → FormControl-7ff0a178.js} +5 -5
- package/dist/_shared/esm/{Grid-fb9fc522.js → Grid-75251350.js} +1 -2
- package/dist/_shared/esm/{Group-66196f07.js → Group-b4e10621.js} +2 -2
- package/dist/_shared/esm/{Heading-906c7c7c.js → Heading-14df0c64.js} +5 -5
- package/dist/_shared/esm/{HeroButton-7ea692bf.js → HeroButton-1221bd94.js} +12 -12
- package/dist/_shared/esm/{Icon-512f834f.js → Icon-3e813b34.js} +16 -6
- package/dist/_shared/esm/{Image-57d08939.js → Image-85c39506.js} +1 -2
- package/dist/_shared/esm/{MediaCard-c12d89ea.js → MediaCard-387c8f11.js} +10 -10
- package/dist/_shared/esm/{Poster-e05a8b45.js → Poster-adcd3ba3.js} +4 -5
- package/dist/_shared/esm/{ProgressStepper-189ed0f9.js → ProgressStepper-72b070a8.js} +9 -33
- package/dist/_shared/esm/{RadioGroup-8ff17cbb.js → RadioGroup-6e657cee.js} +7 -7
- package/dist/_shared/esm/{Section-1acbc06a.js → Section-b9caea45.js} +1 -1
- package/dist/_shared/esm/{SiteFooter-b65497e8.js → SiteFooter-61b4ae63.js} +6 -6
- package/dist/_shared/esm/{SiteHeaderV2-784b3bf8.js → SiteHeaderV2-1fde7d20.js} +10 -45
- package/dist/_shared/esm/Spinner-9d28043d.js +18 -0
- package/dist/_shared/esm/{index-288c66b5.js → Surface-56d329b0.js} +48 -65
- package/dist/_shared/esm/Tabs-276a0836.js +84 -0
- package/dist/_shared/esm/{Text-a46fb76b.js → Text-98ad2e78.js} +5 -5
- package/dist/_shared/esm/{TextInput-94c7b1a4.js → TextInput-eccd0140.js} +6 -6
- package/dist/_shared/esm/{ThemeIcon-c2dc41a6.js → ThemeIcon-810de4bc.js} +2 -3
- package/dist/_shared/esm/{Toast-de6ca2f3.js → Toast-62932e3b.js} +6 -7
- package/dist/_shared/esm/{UniversalHeader-456ad60c.js → UniversalHeader-370d7fa4.js} +3 -3
- package/dist/_shared/esm/{VerticalSpace-b07cd8e6.js → VerticalSpace-549fbdc8.js} +1 -1
- package/dist/_shared/esm/VisuallyHidden-fee374a8.js +12 -0
- package/dist/_shared/esm/{component-d0a555cf.js → component-94b3dbfe.js} +1 -1
- package/dist/_shared/esm/{Combination-ae3a3f08.js → floating-ui.react-dom-1bb71aae.js} +15 -1079
- package/dist/_shared/esm/{index-f97466e9.js → index-14c7f4da.js} +1 -1
- package/dist/_shared/esm/index-24509173.js +2169 -0
- package/dist/_shared/esm/{index-cace3545.js → index-57d4cb34.js} +33 -33
- package/dist/_shared/esm/{Tabs-21ac7dfe.js → index-89a7c31c.js} +6 -90
- package/dist/_shared/esm/{index-4e58de24.js → index-ac50b180.js} +21 -3
- package/dist/_shared/esm/{index-7740883c.js → index-b9923ee4.js} +9 -2
- package/dist/_shared/esm/{index-605031ca.js → index-ce6dee84.js} +53 -53
- package/dist/_shared/esm/index-e969452b.js +41 -0
- package/dist/_shared/esm/{index-fa93ec97.js → index-f2ddcbe2.js} +1 -1
- package/dist/_shared/esm/index.es-4921e8dd.js +318 -0
- package/dist/_shared/esm/{index.es-1b6d33c2.js → index.es-52a3bcff.js} +2 -2
- package/dist/index.es.js +14634 -13762
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +14637 -13761
- package/dist/index.js.map +1 -1
- package/dist/styles.css +9 -7
- package/dist/types/components/Avatar/index.d.ts +1 -1
- package/dist/types/components/Box/Box.d.ts +4 -0
- package/dist/types/components/ButtonV2/ButtonV2.d.ts +2 -2
- package/dist/types/components/CardHeading/index.d.ts +1 -0
- package/dist/types/components/Carousel/Carousel.d.ts +34 -0
- package/dist/types/components/Carousel/components/DotButton.d.ts +10 -0
- package/dist/types/components/Carousel/constants/breakpoints.d.ts +5 -0
- package/dist/types/components/Carousel/helpers/get-options.d.ts +3 -0
- package/dist/types/components/Carousel/helpers/get-slide-width.d.ts +12 -0
- package/dist/types/components/Carousel/index.d.ts +1 -0
- package/dist/types/components/Carousel/types/breakpoints.d.ts +1 -0
- package/dist/types/components/Carousel/types/keynames.d.ts +5 -0
- package/dist/types/components/Carousel/types/responsive.d.ts +3 -0
- package/dist/types/components/Carousel/types/screen-sizes.d.ts +2 -0
- package/dist/types/components/Carousel/types/slide-config.d.ts +5 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/ContentSwitcher/ContentSwitcher.d.ts +28 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherContent/ContentSwitcherContent.d.ts +12 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherContent/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherList/ContentSwitcherList.d.ts +24 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherList/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherTab/ContentSwitcherTab.d.ts +17 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherTab/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcherDropdown/ContentSwitcherDropdown.d.ts +37 -0
- package/dist/types/components/ContentSwitcherDropdown/index.d.ts +1 -0
- package/dist/types/components/Disclosure/index.d.ts +1 -1
- package/dist/types/components/Download/Download.d.ts +41 -0
- package/dist/types/components/Download/index.d.ts +1 -0
- package/dist/types/components/Heading/Heading.d.ts +4 -0
- package/dist/types/components/Heading/index.d.ts +1 -1
- package/dist/types/components/HeroBanner/HeroBanner.d.ts +52 -0
- package/dist/types/components/HeroBanner/index.d.ts +1 -0
- package/dist/types/components/Icon/Icon.d.ts +2 -2
- package/dist/types/components/ImpactCard/ImpactCard.d.ts +2 -2
- package/dist/types/components/ImpactCard/index.d.ts +1 -1
- package/dist/types/components/InformationCard/InformationCard.d.ts +2 -2
- package/dist/types/components/InformationCard/index.d.ts +1 -1
- package/dist/types/components/MediaCard/MediaCard.d.ts +1 -1
- package/dist/types/components/MediaCard/index.d.ts +1 -1
- package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +24 -16
- package/dist/types/components/Spinner/Spinner.d.ts +16 -0
- package/dist/types/components/Spinner/index.d.ts +1 -0
- package/dist/types/components/Surface/Surface.d.ts +4 -0
- package/dist/types/components/Switch/Switch.d.ts +4 -0
- package/dist/types/components/Tabs/TabsList/TabsList.d.ts +5 -0
- package/dist/types/components/Text/Text.d.ts +4 -0
- package/dist/types/components/TextInput/TextInput.d.ts +2 -2
- package/dist/types/components/ThemeIcon/icon-names.d.ts +1 -1
- package/dist/types/components/Truncate/Truncate.d.ts +1 -1
- package/dist/types/components/TypographyCard/TypographyCard.d.ts +2 -2
- package/dist/types/components/TypographyCard/index.d.ts +1 -1
- package/dist/types/components/VideoPlayer/VideoPlayer.d.ts +9 -0
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/helpers/index.d.ts +0 -2
- package/dist/types/styles.d.ts +9 -4
- package/package.json +24 -16
- package/dist/_shared/cjs/ArcIconEclipse.esm-ac777a76.js +0 -28
- package/dist/_shared/cjs/BtIconArrowRight.esm-5989f2ca.js +0 -38
- package/dist/_shared/cjs/BtIconChevronRightMid.esm-3e8d18a9.js +0 -28
- package/dist/_shared/cjs/BtIconPlayFill.esm-b8997cfc.js +0 -30
- package/dist/_shared/cjs/CardFooter-5414bc4f.js +0 -79
- package/dist/_shared/cjs/DatePicker-2417e55b.js +0 -550
- package/dist/_shared/cjs/Icon-0ec0c1fb.js +0 -37
- package/dist/_shared/cjs/Surface-8599dbe4.js +0 -57
- package/dist/_shared/cjs/Tag-452048f6.js +0 -44
- package/dist/_shared/cjs/index-039a9d35.js +0 -23
- package/dist/_shared/cjs/index-28447df0.js +0 -23
- package/dist/_shared/cjs/index-dcfdd5da.js +0 -11
- package/dist/_shared/cjs/suffix-modifier-c8a34402.js +0 -19
- package/dist/_shared/esm/ArcIconEclipse.esm-bb48b82a.js +0 -22
- package/dist/_shared/esm/BtIconArrowRight.esm-6a17d0ce.js +0 -31
- package/dist/_shared/esm/BtIconChevronRightMid.esm-4764708f.js +0 -22
- package/dist/_shared/esm/BtIconPlayFill.esm-05fc0344.js +0 -24
- package/dist/_shared/esm/CardFooter-c79fb2db.js +0 -73
- package/dist/_shared/esm/DatePicker-c7bb178e.js +0 -539
- package/dist/_shared/esm/Surface-71d21a9e.js +0 -48
- package/dist/_shared/esm/Tag-2513c185.js +0 -38
- package/dist/_shared/esm/VisuallyHidden-06692fd3.js +0 -11
- package/dist/_shared/esm/index-5113ed53.js +0 -24
- package/dist/_shared/esm/index-6028d797.js +0 -21
- package/dist/_shared/esm/index-69089474.js +0 -21
- package/dist/_shared/esm/index-a624de47.js +0 -9
- package/dist/_shared/esm/suffix-modifier-1ce05abe.js +0 -17
- package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Todo.d.ts +0 -2
- package/dist/types/helpers/filter-data-attrs.d.ts +0 -1
- package/dist/types/helpers/suffix-modifier.d.ts +0 -9
- package/dist/types/private-components/CardHeading/index.d.ts +0 -1
- package/dist/types/private-components/index.d.ts +0 -3
- package/dist/_shared/cjs/{ConditionalWrapper-be3b2625.js → ConditionalWrapper-bf944594.js} +0 -0
- package/dist/_shared/cjs/{index-7e31a45b.js → index-28fbfd5b.js} +52 -52
- package/dist/_shared/cjs/{index-3dd54df1.js → index-76f7dd53.js} +31 -31
- /package/dist/_shared/esm/{ConditionalWrapper-59be8f35.js → ConditionalWrapper-b85979de.js} +0 -0
- /package/dist/types/{private-components → components}/CardFooter/CardFooter.d.ts +0 -0
- /package/dist/types/{private-components → components}/CardFooter/index.d.ts +0 -0
- /package/dist/types/{private-components → components}/CardHeading/CardHeading.d.ts +0 -0
- /package/dist/types/{private-components → components}/ConditionalWrapper/ConditionalWrapper.d.ts +0 -0
- /package/dist/types/{private-components → components}/ConditionalWrapper/index.d.ts +0 -0
|
@@ -1,67 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */
|
|
15
|
-
|
|
16
|
-
var __assign = function() {
|
|
17
|
-
__assign = Object.assign || function __assign(t) {
|
|
18
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
19
|
-
s = arguments[i];
|
|
20
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
return __assign.apply(this, arguments);
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
function __rest(s, e) {
|
|
28
|
-
var t = {};
|
|
29
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
30
|
-
t[p] = s[p];
|
|
31
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
32
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
33
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
34
|
-
t[p[i]] = s[p[i]];
|
|
35
|
-
}
|
|
36
|
-
return t;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function __spreadArray(to, from, pack) {
|
|
40
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
41
|
-
if (ar || !(i in from)) {
|
|
42
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
43
|
-
ar[i] = from[i];
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
50
|
-
var e = new Error(message);
|
|
51
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
var dataAttrRe = /^(data-.*)$/;
|
|
55
|
-
var filterDataAttrs = function (props) {
|
|
56
|
-
var filteredProps = {};
|
|
57
|
-
for (var prop in props) {
|
|
58
|
-
if (Object.prototype.hasOwnProperty.call(props, prop) &&
|
|
59
|
-
dataAttrRe.test(prop)) {
|
|
60
|
-
filteredProps[prop] = props[prop];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return filteredProps;
|
|
64
|
-
};
|
|
1
|
+
import { b as __spreadArray, _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
|
+
import React__default, { createContext } from 'react';
|
|
65
4
|
|
|
66
5
|
var camelcase$1 = {exports: {}};
|
|
67
6
|
|
|
@@ -179,4 +118,48 @@ camelcase$1.exports.default = camelCase;
|
|
|
179
118
|
|
|
180
119
|
var camelcase = camelcase$1.exports;
|
|
181
120
|
|
|
182
|
-
|
|
121
|
+
var defaultContext = { surface: "light" };
|
|
122
|
+
var Context = createContext(defaultContext);
|
|
123
|
+
var Provider = Context.Provider;
|
|
124
|
+
/**
|
|
125
|
+
* Use `Surface` to compose content using the Arc system.
|
|
126
|
+
*/
|
|
127
|
+
var Surface = function (_a) {
|
|
128
|
+
var _b;
|
|
129
|
+
var background = _a.background, children = _a.children, _c = _a.growVertically, growVertically = _c === void 0 ? false : _c, padding = _a.padding, paddingHorizontal = _a.paddingHorizontal, paddingVertical = _a.paddingVertical, isTransparent = _a.isTransparent, props = __rest(_a, ["background", "children", "growVertically", "padding", "paddingHorizontal", "paddingVertical", "isTransparent"]);
|
|
130
|
+
var surface = "light";
|
|
131
|
+
if (background === "dark-black" ||
|
|
132
|
+
background === "dark-brand-01" ||
|
|
133
|
+
background === "dark-brand-02" ||
|
|
134
|
+
background === "dark-neutral-01" ||
|
|
135
|
+
background === "dark-neutral-02") {
|
|
136
|
+
surface = "dark";
|
|
137
|
+
}
|
|
138
|
+
return (React__default.createElement(Provider, { value: { surface: surface } },
|
|
139
|
+
React__default.createElement("div", __assign({ "data-testid": "arc-surface", className: classNames((_b = {
|
|
140
|
+
"arc-Surface": true
|
|
141
|
+
},
|
|
142
|
+
_b["arc-Surface--".concat(background && camelcase(background), "Background")] = background,
|
|
143
|
+
_b["arc-Surface--growVertically"] = growVertically,
|
|
144
|
+
_b["arc-Surface--padding".concat(padding)] = padding,
|
|
145
|
+
_b["arc-Surface--paddingHorizontal".concat(paddingHorizontal)] = paddingHorizontal,
|
|
146
|
+
_b["arc-Surface--paddingVertical".concat(paddingVertical)] = paddingVertical,
|
|
147
|
+
_b["arc-Surface--isTransparent"] = isTransparent,
|
|
148
|
+
_b)) }, filterDataAttrs(props)), children)));
|
|
149
|
+
};
|
|
150
|
+
var backgroundsShared = [
|
|
151
|
+
"dark-black",
|
|
152
|
+
"dark-brand-01",
|
|
153
|
+
"dark-brand-02",
|
|
154
|
+
"dark-neutral-01",
|
|
155
|
+
"dark-neutral-02",
|
|
156
|
+
"light-brand-01",
|
|
157
|
+
"light-brand-02",
|
|
158
|
+
"light-neutral-01",
|
|
159
|
+
"light-neutral-02",
|
|
160
|
+
"light-white",
|
|
161
|
+
];
|
|
162
|
+
var backgrounds = __spreadArray([], backgroundsShared, true);
|
|
163
|
+
var backgroundsBT = __spreadArray([], backgroundsShared, true);
|
|
164
|
+
|
|
165
|
+
export { Context as C, Surface as S, backgroundsBT as a, backgrounds as b, camelcase as c };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs, s as suffixModifier } from './index.es-4921e8dd.js';
|
|
2
|
+
import React__default, { useContext, useState, useRef, useEffect } from 'react';
|
|
3
|
+
import { $ as $69cb30bb0017df05$export$41fb9f06171c75f4, a as $69cb30bb0017df05$export$7c6e2c02157bb7d2, b as $69cb30bb0017df05$export$54c2e3dc7acea9f5, c as $69cb30bb0017df05$export$be92b6f5f03c0fe9 } from './index-89a7c31c.js';
|
|
4
|
+
import { I as Icon } from './Icon-3e813b34.js';
|
|
5
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
6
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
7
|
+
|
|
8
|
+
var Tab = function (_a) {
|
|
9
|
+
var label = _a.label, value = _a.value, icon = _a.icon, iconActive = _a.iconActive, props = __rest(_a, ["label", "value", "icon", "iconActive"]);
|
|
10
|
+
var surface = useContext(Context).surface;
|
|
11
|
+
return (React__default.createElement($69cb30bb0017df05$export$41fb9f06171c75f4, __assign({ className: classNames("arc-Tab-trigger", {
|
|
12
|
+
"arc-Tab-trigger--onDarkSurface": surface === "dark",
|
|
13
|
+
"arc-Tab-trigger--hasIcon": icon || iconActive
|
|
14
|
+
}), value: value }, filterDataAttrs(props)),
|
|
15
|
+
icon && (React__default.createElement("div", { className: "arc-Tab-triggerIcon", "data-testid": "arc-Tab-TriggerIcon" },
|
|
16
|
+
React__default.createElement(Icon, { icon: icon }))),
|
|
17
|
+
iconActive && (React__default.createElement("div", { className: "arc-Tab-triggerIcon arc-Tab-triggerIcon--active", "data-testid": "arc-Tab-TriggerIconActive" },
|
|
18
|
+
React__default.createElement(Icon, { icon: iconActive }))),
|
|
19
|
+
React__default.createElement("span", { className: "arc-Tab-triggerText" }, label)));
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
var TabContent = function (_a) {
|
|
23
|
+
var children = _a.children, value = _a.value, props = __rest(_a, ["children", "value"]);
|
|
24
|
+
return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, __assign({ className: "arc-Tab-content", value: value }, filterDataAttrs(props)), children));
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
var TabsList = function (_a) {
|
|
28
|
+
var children = _a.children, type = _a.type, isJustified = _a.isJustified, ariaLabel = _a.ariaLabel; _a.overflowGradient; var props = __rest(_a, ["children", "type", "isJustified", "ariaLabel", "overflowGradient"]);
|
|
29
|
+
var _b = useState(false), rightOverflow = _b[0], setRightOverflow = _b[1];
|
|
30
|
+
var _c = useState(false), leftOverflow = _c[0], setLeftOverflow = _c[1];
|
|
31
|
+
var surface = useContext(Context).surface;
|
|
32
|
+
var tabsRef = useRef(null);
|
|
33
|
+
var checkOverflow = function () {
|
|
34
|
+
if (tabsRef.current) {
|
|
35
|
+
setRightOverflow(tabsRef.current.scrollLeft + tabsRef.current.clientWidth <
|
|
36
|
+
tabsRef.current.scrollWidth);
|
|
37
|
+
setLeftOverflow(tabsRef.current.scrollLeft > 0);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
var handleScroll = function () {
|
|
41
|
+
checkOverflow();
|
|
42
|
+
};
|
|
43
|
+
useEffect(function () {
|
|
44
|
+
var list = tabsRef.current;
|
|
45
|
+
checkOverflow();
|
|
46
|
+
if (list) {
|
|
47
|
+
list.addEventListener("scroll", handleScroll);
|
|
48
|
+
}
|
|
49
|
+
return function () {
|
|
50
|
+
if (list) {
|
|
51
|
+
list.removeEventListener("scroll", handleScroll);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
});
|
|
55
|
+
var state = "";
|
|
56
|
+
if (type === "standard") {
|
|
57
|
+
if (leftOverflow && rightOverflow) {
|
|
58
|
+
state = "both";
|
|
59
|
+
}
|
|
60
|
+
else if (leftOverflow) {
|
|
61
|
+
state = "left";
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
state = "right";
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return (React__default.createElement("span", { className: "arc-TabsList-wrapper" },
|
|
68
|
+
React__default.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5, __assign({ className: classNames("arc-Tabs", suffixModifier("arc-TabsList--overflow", state), {
|
|
69
|
+
"arc-Tabs--contained": type === "contained",
|
|
70
|
+
"arc-Tabs--isJustified": isJustified,
|
|
71
|
+
"arc-Tabs--onDarkSurface": surface === "dark"
|
|
72
|
+
}), ref: tabsRef, "aria-label": ariaLabel }, filterDataAttrs(props)), children)));
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/** Use `Tabs` to allow users to navigate between different sections of relevant content. */
|
|
76
|
+
var Tabs = function (_a) {
|
|
77
|
+
var children = _a.children, defaultValue = _a.defaultValue, onValueChange = _a.onValueChange, activationMode = _a.activationMode, props = __rest(_a, ["children", "defaultValue", "onValueChange", "activationMode"]);
|
|
78
|
+
return (React__default.createElement($69cb30bb0017df05$export$be92b6f5f03c0fe9, __assign({ className: "arc-Tabs-root", defaultValue: defaultValue, onValueChange: onValueChange, activationMode: activationMode }, filterDataAttrs(props)), children));
|
|
79
|
+
};
|
|
80
|
+
Tabs.Tab = Tab;
|
|
81
|
+
Tabs.List = TabsList;
|
|
82
|
+
Tabs.Content = TabContent;
|
|
83
|
+
|
|
84
|
+
export { Tabs as T };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, s as suffixModifier, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
|
-
import {
|
|
5
|
-
import { C as Context } from './Surface-71d21a9e.js';
|
|
4
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Use `Text` to display text.
|
|
9
8
|
*/
|
|
10
9
|
var Text = function (_a) {
|
|
11
10
|
var _b;
|
|
12
|
-
var _c = _a.align, align = _c === void 0 ? "left" : _c, children = _a.children, id = _a.id, _d = _a.isInline, isInline = _d === void 0 ? false : _d, _e = _a.isMeasured, isMeasured = _e === void 0 ? false : _e, _f = _a.size, size = _f === void 0 ? "m" : _f, _g = _a.tone, tone = _g === void 0 ? "default" : _g, props = __rest(_a, ["align", "children", "id", "isInline", "isMeasured", "size", "tone"]);
|
|
11
|
+
var _c = _a.align, align = _c === void 0 ? "left" : _c, children = _a.children, id = _a.id, _d = _a.isInline, isInline = _d === void 0 ? false : _d, _e = _a.isMeasured, isMeasured = _e === void 0 ? false : _e, _f = _a.size, size = _f === void 0 ? "m" : _f, _g = _a.tone, tone = _g === void 0 ? "default" : _g, _h = _a.elementType, elementType = _h === void 0 ? "span" : _h, props = __rest(_a, ["align", "children", "id", "isInline", "isMeasured", "size", "tone", "elementType"]);
|
|
13
12
|
var surface = useContext(Context).surface;
|
|
14
|
-
|
|
13
|
+
var Element = elementType;
|
|
14
|
+
return (React__default.createElement(Element, __assign({ id: id, className: classNames((_b = {
|
|
15
15
|
"arc-Text": true
|
|
16
16
|
},
|
|
17
17
|
_b[suffixModifier("arc-Text--align", align)] = align !== "left",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default, { forwardRef, useContext, useState } from 'react';
|
|
4
|
-
import { u as useAriaDescribedby, F as FormControl } from './FormControl-
|
|
5
|
-
import { C as Context } from './Surface-
|
|
6
|
-
import { V as VisuallyHidden } from './VisuallyHidden-
|
|
7
|
-
import {
|
|
4
|
+
import { u as useAriaDescribedby, F as FormControl } from './FormControl-7ff0a178.js';
|
|
5
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
6
|
+
import { V as VisuallyHidden } from './VisuallyHidden-fee374a8.js';
|
|
7
|
+
import { T as ThemeIcon } from './ThemeIcon-810de4bc.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Infer the correct inputMode, pattern and type if specifying a `number` type.
|
|
@@ -77,7 +77,7 @@ var TextInputComponent = forwardRef(function (_a, ref) {
|
|
|
77
77
|
e.preventDefault();
|
|
78
78
|
iconButton.onClick();
|
|
79
79
|
} },
|
|
80
|
-
React__default.createElement(
|
|
80
|
+
React__default.createElement(ThemeIcon, { icon: iconButton.icon, size: buttonIconSize[inputSize] })))),
|
|
81
81
|
suffix && !showPassword ? (React__default.createElement("span", { className: "arc-TextInput-suffix", "aria-hidden": true }, suffix)) : null,
|
|
82
82
|
showPassword && (React__default.createElement("div", { className: "arc-TextInput-additionalControl" },
|
|
83
83
|
React__default.createElement("button", { className: "arc-TextInput-passwordToggle", onClick: function () { return setShowPasswordToggle(function (p) { return !p; }); }, type: "button" }, showPasswordToggle ? "Hide" : "Show"),
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, s as suffixModifier, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
|
-
import {
|
|
5
|
-
import { C as Context } from './Surface-71d21a9e.js';
|
|
4
|
+
import { C as Context } from './Surface-56d329b0.js';
|
|
6
5
|
|
|
7
6
|
var ThemeIcon = function (_a) {
|
|
8
7
|
var _b;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import React__default, { forwardRef, useContext, useState, useEffect, createElement, useRef, createContext, useCallback, useMemo, Fragment } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { c as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, a as $8927f6f2acc4f386$export$250ffa63cdc0d034, _ as _extends, b as $e42e1063c40fb3ef$export$b9ecd428b558ff10, e as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, h as $8927f6f2acc4f386$export$6d1a0317bde7de7f, $ as $c512c27ab02ef895$export$50c7b4e9d9f19c1, f as $9f79659886946c16$export$e5c5a5f917a5871c, d as $71cd76cc60e0454e$export$6f32135080cb4c3 } from './index-57d4cb34.js';
|
|
4
4
|
import ReactDOM__default, { createPortal } from 'react-dom';
|
|
5
|
-
import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-
|
|
6
|
-
import { $ as $addc16e1bbe58fd0$export$3a72a57244d6e765 } from './index-
|
|
7
|
-
import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-
|
|
8
|
-
import { $ as $ea1ef594cf570d83$export$439d29a4e110a164 } from './index-5113ed53.js';
|
|
5
|
+
import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-14c7f4da.js';
|
|
6
|
+
import { $ as $addc16e1bbe58fd0$export$3a72a57244d6e765, a as $ea1ef594cf570d83$export$439d29a4e110a164 } from './index-e969452b.js';
|
|
7
|
+
import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-f2ddcbe2.js';
|
|
9
8
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
10
|
-
import { T as ThemeIcon } from './ThemeIcon-
|
|
9
|
+
import { T as ThemeIcon } from './ThemeIcon-810de4bc.js';
|
|
11
10
|
|
|
12
11
|
const $5cb92bef7577960e$var$CONTEXT_UPDATE = 'dismissableLayer.update';
|
|
13
12
|
const $5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE = 'dismissableLayer.pointerDownOutside';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { S as Surface } from './Surface-
|
|
3
|
+
import { S as Surface } from './Surface-56d329b0.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Use `UniversalHeader` to display a group-level page header.
|
|
7
7
|
*/
|
|
8
8
|
var UniversalHeader = function (_a) {
|
|
9
9
|
var children = _a.children, ContentSlot = _a.ContentSlot, props = __rest(_a, ["children", "ContentSlot"]);
|
|
10
|
-
return (React__default.createElement("nav", __assign({ className: "arc-UniversalHeader" }, filterDataAttrs(props)),
|
|
10
|
+
return (React__default.createElement("nav", __assign({ className: "arc-UniversalHeader", "aria-label": "universial navigation" }, filterDataAttrs(props)),
|
|
11
11
|
React__default.createElement(Surface, { background: "light-neutral-02" },
|
|
12
12
|
React__default.createElement("ul", { className: "arc-UniversalHeader-items" },
|
|
13
13
|
children,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
2
|
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './index.es-4921e8dd.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Use `VisuallyHidden` to provide text for screen readers that is visually hidden on screen.
|
|
6
|
+
*/
|
|
7
|
+
var VisuallyHidden = function (_a) {
|
|
8
|
+
var children = _a.children, props = __rest(_a, ["children"]);
|
|
9
|
+
return (React__default.createElement("span", __assign({ "data-testid": "visually-hidden", className: "arc-VisuallyHidden" }, filterDataAttrs(props)), children));
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { VisuallyHidden as V };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState } from 'react';
|
|
3
|
-
import { a as __assign, _ as __rest } from './index-
|
|
3
|
+
import { a as __assign, _ as __rest } from './index.es-4921e8dd.js';
|
|
4
4
|
|
|
5
5
|
var useThemeElement = function () {
|
|
6
6
|
var _a = useState(undefined), themeElement = _a[0], setElement = _a[1];
|