@arc-ui/components 12.0.0-beta.5 → 12.0.0-beta7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Alert/Alert.cjs.js +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 +4 -5
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +4 -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 +9 -10
- package/dist/Calendar/Calendar.esm.js +9 -10
- 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 +457 -0
- package/dist/Carousel/Carousel.esm.js +431 -0
- package/dist/Carousel/package.json +7 -0
- package/dist/Carousel/styles.css +1 -0
- package/dist/Checkbox/Checkbox.cjs.js +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 +18 -22
- package/dist/DatePicker/DatePicker.esm.js +18 -22
- 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/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 +16 -17
- package/dist/ImpactCard/ImpactCard.esm.js +10 -11
- 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 +11 -12
- package/dist/Link/Link.esm.js +4 -5
- 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 +14 -14
- package/dist/MediaCard/MediaCard.esm.js +14 -14
- 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 +9 -10
- package/dist/PaginationSimple/PaginationSimple.esm.js +3 -4
- 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 +8 -9
- package/dist/ScrollToTop/ScrollToTop.esm.js +3 -4
- 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 +11 -13
- package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +11 -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 +10 -11
- package/dist/Tabs/Tabs.esm.js +10 -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 +61 -57
- package/dist/TextArea/TextArea.esm.js +57 -53
- package/dist/TextArea/styles.css +1 -0
- package/dist/TextInput/TextInput.cjs.js +9 -10
- package/dist/TextInput/TextInput.esm.js +9 -10
- package/dist/TextInput/styles.css +1 -0
- package/dist/Theme/Theme.cjs.js +5 -5
- package/dist/Theme/Theme.esm.js +1 -1
- 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 +14 -15
- package/dist/TypographyCard/TypographyCard.esm.js +9 -10
- 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 +11 -12
- package/dist/VideoPlayer/VideoPlayer.esm.js +8 -9
- 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-e6ba0881.js} +11 -12
- package/dist/_shared/cjs/Badge-1f86304b.js +17 -0
- package/dist/_shared/cjs/Box-d177ee32.js +29 -0
- package/dist/_shared/cjs/{BrandLogo-1d2ca2c7.js → BrandLogo-d4a6fd05.js} +7 -8
- package/dist/_shared/cjs/{Breadcrumbs-7af0af2c.js → Breadcrumbs-ca30086e.js} +12 -12
- package/dist/_shared/cjs/{BtIconArrowRight.esm-5989f2ca.js → BtIconArrowRight.esm-6053bb79.js} +0 -8
- package/dist/_shared/cjs/{Button-7d891a89.js → Button-a2150286.js} +12 -13
- package/dist/_shared/cjs/{ButtonV2-b2db3f46.js → ButtonV2-7c437d1a.js} +21 -16
- package/dist/_shared/cjs/{Calendar-649cc139.js → Calendar-9b4b01c8.js} +912 -912
- package/dist/_shared/cjs/{CardFooter-5414bc4f.js → CardFooter-68235081.js} +5 -5
- package/dist/_shared/cjs/CardHeading-88edadd4.js +16 -0
- package/dist/_shared/cjs/{Checkbox-0e423653.js → Checkbox-f6712cc5.js} +17 -12
- package/dist/_shared/cjs/{Columns-1224bdff.js → Columns-5c6bab74.js} +9 -10
- package/dist/_shared/cjs/Combination-854a36ce.js +1203 -0
- package/dist/_shared/cjs/ContentSwitcher-88b00e11.js +98 -0
- package/dist/_shared/cjs/ContentSwitcherDropdown-ba5330ed.js +47 -0
- package/dist/_shared/cjs/DatePicker-61d66a55.js +956 -0
- package/dist/_shared/cjs/{DisclosureMini-c01ecce0.js → DisclosureMini-a46a4838.js} +10 -10
- package/dist/_shared/cjs/{Filter-3b897d92.js → Filter-b6ca2a39.js} +14 -14
- package/dist/_shared/cjs/{FormControl-88d48f42.js → FormControl-0fba93b8.js} +12 -12
- package/dist/_shared/cjs/{Grid-9e91fb3d.js → Grid-69ed0e5c.js} +10 -11
- package/dist/_shared/cjs/{Group-3d5ea240.js → Group-7e6b78c9.js} +9 -9
- package/dist/_shared/cjs/{Heading-fb63844f.js → Heading-25d11688.js} +7 -8
- package/dist/_shared/cjs/{HeroButton-0586a7c4.js → HeroButton-19814c26.js} +14 -14
- package/dist/_shared/cjs/Icon-08447959.js +47 -0
- package/dist/_shared/cjs/{Image-e9a5a326.js → Image-c8969ad9.js} +9 -10
- package/dist/_shared/cjs/{MediaCard-8f41b411.js → MediaCard-7bbe8aa0.js} +18 -18
- package/dist/_shared/cjs/{Poster-b7242b37.js → Poster-96aa286e.js} +13 -14
- package/dist/_shared/cjs/{ProgressStepper-fb8405c2.js → ProgressStepper-c59ec56c.js} +18 -42
- package/dist/_shared/cjs/{RadioGroup-a4186267.js → RadioGroup-11f4b232.js} +14 -14
- package/dist/_shared/cjs/{Section-ecfc659b.js → Section-46646353.js} +5 -5
- package/dist/_shared/cjs/{SiteFooter-7c4072b5.js → SiteFooter-d839f66a.js} +11 -11
- package/dist/_shared/cjs/{SiteHeaderV2-94687999.js → SiteHeaderV2-3793453c.js} +63 -65
- package/dist/_shared/cjs/Spinner-56122c43.js +24 -0
- package/dist/_shared/cjs/Surface-1b5c2ac8.js +175 -0
- package/dist/_shared/cjs/Tabs-30a12f1a.js +93 -0
- package/dist/_shared/cjs/{Text-1c1110a4.js → Text-c187d9ef.js} +7 -8
- package/dist/_shared/cjs/{TextInput-762e2309.js → TextInput-d39f5a80.js} +12 -12
- package/dist/_shared/cjs/{ThemeIcon-ee814862.js → ThemeIcon-7f537bd2.js} +8 -9
- package/dist/_shared/cjs/{Toast-d06a89e0.js → Toast-35c83925.js} +16 -17
- package/dist/_shared/cjs/{UniversalHeader-f6d9c63a.js → UniversalHeader-f9ef793f.js} +6 -6
- package/dist/_shared/cjs/{VerticalSpace-e128ec68.js → VerticalSpace-973deefe.js} +5 -5
- package/dist/_shared/cjs/{VisuallyHidden-b0de4c7b.js → VisuallyHidden-25393f58.js} +3 -2
- package/dist/_shared/cjs/{component-df82bc05.js → component-4e71e3d3.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-7aa7f96a.js → index-879e71ee.js} +8 -1
- package/dist/_shared/cjs/index-89c323a4.js +2204 -0
- 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-df60851b.js → index.es-c26e8978.js} +20 -6
- package/dist/_shared/cjs/{index.es-16759329.js → index.es-f23456fa.js} +2 -2
- package/dist/_shared/esm/{Avatar-38cc0595.js → Avatar-3537bca7.js} +5 -6
- package/dist/_shared/esm/Badge-7bc80706.js +11 -0
- package/dist/_shared/esm/Box-557fb3b1.js +23 -0
- package/dist/_shared/esm/{BrandLogo-7ed8aeda.js → BrandLogo-45d0d795.js} +2 -3
- package/dist/_shared/esm/{Breadcrumbs-9078b68e.js → Breadcrumbs-bcf9ca79.js} +8 -8
- package/dist/_shared/esm/BtIconArrowRight.esm-93da96bb.js +24 -0
- package/dist/_shared/esm/{Button-dde2b46a.js → Button-0506afa7.js} +4 -5
- package/dist/_shared/esm/{ButtonV2-49cd0615.js → ButtonV2-c83db10c.js} +13 -8
- package/dist/_shared/esm/{Calendar-60591442.js → Calendar-34b10bd5.js} +890 -890
- package/dist/_shared/esm/{CardFooter-c79fb2db.js → CardFooter-bf886438.js} +5 -5
- package/dist/_shared/esm/CardHeading-c65f9fb2.js +10 -0
- package/dist/_shared/esm/{Checkbox-0baca464.js → Checkbox-8195c42c.js} +12 -7
- package/dist/_shared/esm/{Columns-6a8f6fbb.js → Columns-9aa5df4a.js} +1 -2
- package/dist/_shared/esm/Combination-2af75870.js +1163 -0
- package/dist/_shared/esm/ContentSwitcher-bae1f0a7.js +92 -0
- package/dist/_shared/esm/ContentSwitcherDropdown-65291c09.js +41 -0
- package/dist/_shared/esm/DatePicker-aafbdea8.js +927 -0
- package/dist/_shared/esm/{DisclosureMini-38f4c459.js → DisclosureMini-f6d8c9bc.js} +4 -4
- package/dist/_shared/esm/{Filter-49dcf5ce.js → Filter-a5bf3fe3.js} +11 -11
- package/dist/_shared/esm/{FormControl-d873f7fa.js → FormControl-ff671eb8.js} +5 -5
- package/dist/_shared/esm/{Grid-fb9fc522.js → Grid-727d05d6.js} +1 -2
- package/dist/_shared/esm/{Group-66196f07.js → Group-c4f6c745.js} +2 -2
- package/dist/_shared/esm/{Heading-906c7c7c.js → Heading-0a8d3545.js} +2 -3
- package/dist/_shared/esm/{HeroButton-7ea692bf.js → HeroButton-a98767b7.js} +6 -6
- package/dist/_shared/esm/{Icon-512f834f.js → Icon-a5cb17de.js} +16 -6
- package/dist/_shared/esm/{Image-57d08939.js → Image-c1dc10b5.js} +1 -2
- package/dist/_shared/esm/{MediaCard-c12d89ea.js → MediaCard-fdc76670.js} +10 -10
- package/dist/_shared/esm/{Poster-e05a8b45.js → Poster-dc3d7ee8.js} +4 -5
- package/dist/_shared/esm/{ProgressStepper-189ed0f9.js → ProgressStepper-427f24e3.js} +9 -33
- package/dist/_shared/esm/{RadioGroup-8ff17cbb.js → RadioGroup-5b654bee.js} +7 -7
- package/dist/_shared/esm/{Section-1acbc06a.js → Section-c1dc6e37.js} +1 -1
- package/dist/_shared/esm/{SiteFooter-b65497e8.js → SiteFooter-1cdba967.js} +6 -6
- package/dist/_shared/esm/{SiteHeaderV2-784b3bf8.js → SiteHeaderV2-743847f6.js} +9 -11
- package/dist/_shared/esm/Spinner-6704017c.js +18 -0
- package/dist/_shared/esm/Surface-0af6a69a.js +165 -0
- package/dist/_shared/esm/Tabs-d360207d.js +87 -0
- package/dist/_shared/esm/{Text-a46fb76b.js → Text-df93be85.js} +2 -3
- package/dist/_shared/esm/{TextInput-94c7b1a4.js → TextInput-7ab39a54.js} +5 -5
- package/dist/_shared/esm/{ThemeIcon-c2dc41a6.js → ThemeIcon-e1e19266.js} +2 -3
- package/dist/_shared/esm/{Toast-de6ca2f3.js → Toast-abd517c8.js} +6 -7
- package/dist/_shared/esm/{UniversalHeader-456ad60c.js → UniversalHeader-8ebc5322.js} +3 -3
- package/dist/_shared/esm/{VerticalSpace-b07cd8e6.js → VerticalSpace-6a3533db.js} +1 -1
- package/dist/_shared/esm/VisuallyHidden-cf45ac18.js +12 -0
- package/dist/_shared/esm/{component-d0a555cf.js → component-3e60a45e.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-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-afbf540d.js +2169 -0
- 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-288c66b5.js → index.es-5496ec12.js} +20 -6
- package/dist/_shared/esm/{index.es-1b6d33c2.js → index.es-932db59a.js} +2 -2
- package/dist/index.es.js +14701 -14060
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +14703 -14059
- package/dist/index.js.map +1 -1
- package/dist/styles.css +5 -3
- package/dist/types/components/Avatar/index.d.ts +1 -1
- package/dist/types/components/Box/Box.d.ts +4 -0
- package/dist/types/components/ButtonV2/ButtonV2.d.ts +2 -2
- package/dist/types/components/CardHeading/index.d.ts +1 -0
- package/dist/types/components/Carousel/Carousel.d.ts +12 -0
- package/dist/types/components/Carousel/helpers/get-slide-config.d.ts +4 -0
- package/dist/types/components/Carousel/helpers/get-slider-position.d.ts +9 -0
- package/dist/types/components/Carousel/helpers/is-last-slide.d.ts +2 -0
- package/dist/types/components/Carousel/helpers/is-slide-hidden.d.ts +2 -0
- package/dist/types/components/Carousel/hooks/use-slides.d.ts +18 -0
- package/dist/types/components/Carousel/index.d.ts +1 -0
- package/dist/types/components/Carousel/types/breakpoints.d.ts +1 -0
- package/dist/types/components/Carousel/types/responsive.d.ts +3 -0
- package/dist/types/components/Carousel/types/screen-sizes.d.ts +2 -0
- package/dist/types/components/Carousel/types/slide-config.d.ts +5 -0
- package/dist/types/components/Carousel/types/slide.d.ts +4 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/ContentSwitcher/ContentSwitcher.d.ts +28 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherContent/ContentSwitcherContent.d.ts +12 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherContent/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherList/ContentSwitcherList.d.ts +24 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherList/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherTab/ContentSwitcherTab.d.ts +17 -0
- package/dist/types/components/ContentSwitcher/ContentSwitcherTab/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcher/index.d.ts +1 -0
- package/dist/types/components/ContentSwitcherDropdown/ContentSwitcherDropdown.d.ts +37 -0
- package/dist/types/components/ContentSwitcherDropdown/index.d.ts +1 -0
- package/dist/types/components/Disclosure/index.d.ts +1 -1
- package/dist/types/components/Heading/index.d.ts +1 -1
- package/dist/types/components/HeroBanner/HeroBanner.d.ts +52 -0
- package/dist/types/components/HeroBanner/index.d.ts +1 -0
- package/dist/types/components/Icon/Icon.d.ts +2 -2
- package/dist/types/components/ImpactCard/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/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/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/index.d.ts +3 -0
- package/dist/types/helpers/index.d.ts +0 -2
- package/dist/types/styles.d.ts +8 -4
- package/package.json +21 -16
- package/dist/_shared/cjs/ArcIconEclipse.esm-ac777a76.js +0 -28
- 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/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
package/dist/Tag/Tag.cjs.js
CHANGED
|
@@ -2,15 +2,83 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('
|
|
7
|
-
require('
|
|
8
|
-
require('../_shared/cjs/
|
|
9
|
-
require('../_shared/cjs/
|
|
10
|
-
require('../_shared/cjs/suffix-modifier-c8a34402.js');
|
|
11
|
-
require('../_shared/cjs/Surface-8599dbe4.js');
|
|
12
|
-
require('../_shared/cjs/ThemeIcon-ee814862.js');
|
|
5
|
+
var index_es = require('../_shared/cjs/index.es-c26e8978.js');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var index = require('../_shared/cjs/index-9947ac13.js');
|
|
8
|
+
var Icon = require('../_shared/cjs/Icon-08447959.js');
|
|
9
|
+
require('../_shared/cjs/Surface-1b5c2ac8.js');
|
|
13
10
|
|
|
11
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
12
|
|
|
13
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
14
|
|
|
16
|
-
|
|
15
|
+
const BtIconCross = (props) =>
|
|
16
|
+
/*#__PURE__*/ React__default["default"].createElement(
|
|
17
|
+
"svg",
|
|
18
|
+
Object.assign(
|
|
19
|
+
{
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
21
|
+
viewBox: "0 0 32 32",
|
|
22
|
+
},
|
|
23
|
+
props,
|
|
24
|
+
),
|
|
25
|
+
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
26
|
+
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
27
|
+
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",
|
|
28
|
+
fill: "currentColor",
|
|
29
|
+
}),
|
|
30
|
+
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
31
|
+
d: "M20.85352,11.14648a.49983.49983,0,0,0-.707,0L16,15.293l-4.14648-4.14649a.5.5,0,0,0-.707.707L15.293,16l-4.14649,4.14648a.5.5,0,1,0,.707.707L16,16.707l4.14648,4.14649a.5.5,0,0,0,.707-.707L16.707,16l4.14649-4.14648A.49983.49983,0,0,0,20.85352,11.14648Z",
|
|
32
|
+
fill: "currentColor",
|
|
33
|
+
}),
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
const BtIconCrossFill = (props) =>
|
|
37
|
+
/*#__PURE__*/ React__default["default"].createElement(
|
|
38
|
+
"svg",
|
|
39
|
+
Object.assign(
|
|
40
|
+
{
|
|
41
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
+
viewBox: "0 0 32 32",
|
|
43
|
+
},
|
|
44
|
+
props,
|
|
45
|
+
),
|
|
46
|
+
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
47
|
+
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
48
|
+
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm4.85352,18.14648a.5.5,0,1,1-.707.707L16,16.707l-4.14648,4.14649a.5.5,0,0,1-.707-.707L15.293,16l-4.14649-4.14648a.5.5,0,0,1,.707-.707L16,15.293l4.14648-4.14649a.5.5,0,0,1,.707.707L16.707,16Z",
|
|
49
|
+
fill: "currentColor",
|
|
50
|
+
}),
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Use `Tag` to promote features and manage filtering.
|
|
55
|
+
*/
|
|
56
|
+
var Tag = function (_a) {
|
|
57
|
+
var children = _a.children, isRemovable = _a.isRemovable, link = _a.link, icon = _a.icon, onClick = _a.onClick, onRemove = _a.onRemove, title = _a.title, props = index_es.__rest(_a, ["children", "isRemovable", "link", "icon", "onClick", "onRemove", "title"]);
|
|
58
|
+
var _b = React.useState(false), isRemoved = _b[0], setIsRemoved = _b[1];
|
|
59
|
+
var onRemoveHandler = function () {
|
|
60
|
+
setIsRemoved(function (p) { return !p; });
|
|
61
|
+
onRemove && onRemove();
|
|
62
|
+
};
|
|
63
|
+
return (React__default["default"].createElement("div", index_es.__assign({ className: index.classNames("arc-Tag", {
|
|
64
|
+
"arc-Tag--isRemovable": isRemovable,
|
|
65
|
+
"arc-Tag--hasIcon": icon,
|
|
66
|
+
"arc-Tag--hasLink": link || onClick,
|
|
67
|
+
"arc-Tag--removed": isRemoved
|
|
68
|
+
}) }, (isRemoved && { "aria-hidden": true }), index_es.filterDataAttrs(props)),
|
|
69
|
+
link ? (React__default["default"].createElement("a", { className: "arc-Tag-content", href: link, tabIndex: 0 },
|
|
70
|
+
icon && (React__default["default"].createElement("span", { className: "arc-Tag-icon" },
|
|
71
|
+
React__default["default"].createElement(Icon.Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
72
|
+
React__default["default"].createElement("div", { className: "arc-Tag-label", title: title }, children))) : (React__default["default"].createElement(React__default["default"].Fragment, null, onClick ? (React__default["default"].createElement("button", { className: "arc-Tag-content", onClick: onClick, "data-testid": "arc-Tag-content" },
|
|
73
|
+
icon && (React__default["default"].createElement("span", { className: "arc-Tag-icon" },
|
|
74
|
+
React__default["default"].createElement(Icon.Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
75
|
+
React__default["default"].createElement("div", { className: "arc-Tag-label", title: title }, children))) : (React__default["default"].createElement("div", { className: "arc-Tag-content", "data-testid": "arc-Tag-content" },
|
|
76
|
+
icon && (React__default["default"].createElement("span", { className: "arc-Tag-icon" },
|
|
77
|
+
React__default["default"].createElement(Icon.Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
78
|
+
React__default["default"].createElement("div", { className: "arc-Tag-label", title: title }, children))))),
|
|
79
|
+
isRemovable && (React__default["default"].createElement("button", { className: "arc-Tag-icon arc-Tag-icon--removable", onClick: onRemoveHandler, "data-testid": "arc-Tag-icon-removable", "aria-live": "polite", "aria-roledescription": "remove tag", "aria-label": "Remove tag" },
|
|
80
|
+
React__default["default"].createElement(Icon.Icon, { icon: BtIconCross }),
|
|
81
|
+
React__default["default"].createElement(Icon.Icon, { icon: BtIconCrossFill })))));
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
exports.Tag = Tag;
|
package/dist/Tag/Tag.esm.js
CHANGED
|
@@ -1,8 +1,76 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
4
|
-
import '../_shared/esm/
|
|
5
|
-
import '../_shared/esm/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index.es-5496ec12.js';
|
|
2
|
+
import React__default, { useState } from 'react';
|
|
3
|
+
import { c as classNames } from '../_shared/esm/index-2e73c2e9.js';
|
|
4
|
+
import { I as Icon } from '../_shared/esm/Icon-a5cb17de.js';
|
|
5
|
+
import '../_shared/esm/Surface-0af6a69a.js';
|
|
6
|
+
|
|
7
|
+
const BtIconCross = (props) =>
|
|
8
|
+
/*#__PURE__*/ React__default.createElement(
|
|
9
|
+
"svg",
|
|
10
|
+
Object.assign(
|
|
11
|
+
{
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
viewBox: "0 0 32 32",
|
|
14
|
+
},
|
|
15
|
+
props,
|
|
16
|
+
),
|
|
17
|
+
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
18
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
19
|
+
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",
|
|
20
|
+
fill: "currentColor",
|
|
21
|
+
}),
|
|
22
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
23
|
+
d: "M20.85352,11.14648a.49983.49983,0,0,0-.707,0L16,15.293l-4.14648-4.14649a.5.5,0,0,0-.707.707L15.293,16l-4.14649,4.14648a.5.5,0,1,0,.707.707L16,16.707l4.14648,4.14649a.5.5,0,0,0,.707-.707L16.707,16l4.14649-4.14648A.49983.49983,0,0,0,20.85352,11.14648Z",
|
|
24
|
+
fill: "currentColor",
|
|
25
|
+
}),
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
const BtIconCrossFill = (props) =>
|
|
29
|
+
/*#__PURE__*/ React__default.createElement(
|
|
30
|
+
"svg",
|
|
31
|
+
Object.assign(
|
|
32
|
+
{
|
|
33
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
34
|
+
viewBox: "0 0 32 32",
|
|
35
|
+
},
|
|
36
|
+
props,
|
|
37
|
+
),
|
|
38
|
+
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
39
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
40
|
+
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm4.85352,18.14648a.5.5,0,1,1-.707.707L16,16.707l-4.14648,4.14649a.5.5,0,0,1-.707-.707L15.293,16l-4.14649-4.14648a.5.5,0,0,1,.707-.707L16,15.293l4.14648-4.14649a.5.5,0,0,1,.707.707L16.707,16Z",
|
|
41
|
+
fill: "currentColor",
|
|
42
|
+
}),
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Use `Tag` to promote features and manage filtering.
|
|
47
|
+
*/
|
|
48
|
+
var Tag = function (_a) {
|
|
49
|
+
var children = _a.children, isRemovable = _a.isRemovable, link = _a.link, icon = _a.icon, onClick = _a.onClick, onRemove = _a.onRemove, title = _a.title, props = __rest(_a, ["children", "isRemovable", "link", "icon", "onClick", "onRemove", "title"]);
|
|
50
|
+
var _b = useState(false), isRemoved = _b[0], setIsRemoved = _b[1];
|
|
51
|
+
var onRemoveHandler = function () {
|
|
52
|
+
setIsRemoved(function (p) { return !p; });
|
|
53
|
+
onRemove && onRemove();
|
|
54
|
+
};
|
|
55
|
+
return (React__default.createElement("div", __assign({ className: classNames("arc-Tag", {
|
|
56
|
+
"arc-Tag--isRemovable": isRemovable,
|
|
57
|
+
"arc-Tag--hasIcon": icon,
|
|
58
|
+
"arc-Tag--hasLink": link || onClick,
|
|
59
|
+
"arc-Tag--removed": isRemoved
|
|
60
|
+
}) }, (isRemoved && { "aria-hidden": true }), filterDataAttrs(props)),
|
|
61
|
+
link ? (React__default.createElement("a", { className: "arc-Tag-content", href: link, tabIndex: 0 },
|
|
62
|
+
icon && (React__default.createElement("span", { className: "arc-Tag-icon" },
|
|
63
|
+
React__default.createElement(Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
64
|
+
React__default.createElement("div", { className: "arc-Tag-label", title: title }, children))) : (React__default.createElement(React__default.Fragment, null, onClick ? (React__default.createElement("button", { className: "arc-Tag-content", onClick: onClick, "data-testid": "arc-Tag-content" },
|
|
65
|
+
icon && (React__default.createElement("span", { className: "arc-Tag-icon" },
|
|
66
|
+
React__default.createElement(Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
67
|
+
React__default.createElement("div", { className: "arc-Tag-label", title: title }, children))) : (React__default.createElement("div", { className: "arc-Tag-content", "data-testid": "arc-Tag-content" },
|
|
68
|
+
icon && (React__default.createElement("span", { className: "arc-Tag-icon" },
|
|
69
|
+
React__default.createElement(Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
|
|
70
|
+
React__default.createElement("div", { className: "arc-Tag-label", title: title }, children))))),
|
|
71
|
+
isRemovable && (React__default.createElement("button", { className: "arc-Tag-icon arc-Tag-icon--removable", onClick: onRemoveHandler, "data-testid": "arc-Tag-icon-removable", "aria-live": "polite", "aria-roledescription": "remove tag", "aria-label": "Remove tag" },
|
|
72
|
+
React__default.createElement(Icon, { icon: BtIconCross }),
|
|
73
|
+
React__default.createElement(Icon, { icon: BtIconCrossFill })))));
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export { Tag };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc .arc-Tag{align-items:center;background-color:var(--tag-colors-light-bg-default-alt);border:var(--tag-border-weight-s) solid var(--tag-colors-light-border-default-alt);border-radius:var(--tag-border-radius-s);display:flex;height:var(--tag-size-s);white-space:nowrap;width:-moz-fit-content;width:fit-content}.arc .arc-Tag-icon{align-items:center;display:flex;height:var(--tag-size-icon-s);width:auto}.arc .arc-Tag-icon--removable{align-items:center;background-color:transparent;border:0;display:flex;height:var(--tag-size-icon-m,20px);margin-right:var(--tag-padding-xs);padding:0;position:relative;width:var(--tag-size-icon-m,20px)}.arc .arc-Tag-icon--removable .arc-Icon{position:absolute}.arc .arc-Tag-icon--removable .arc-Icon:nth-of-type(2){color:var(--sem-color-fg-primary-light-default);display:none}.arc .arc-Tag-icon--removable:hover .arc-Icon:nth-of-type(1){display:none}.arc .arc-Tag-icon--removable:hover .arc-Icon:nth-of-type(2){display:block}.arc .arc-Tag-label{font:var(--sem-type-interface-semi-xs);padding:0 var(--tag-padding-xs)}.arc .arc-Tag-content{align-items:center;background-color:transparent;border:none;border-radius:var(--tag-border-radius-s);display:flex;padding:0 calc(var(--tag-padding-s) - var(--tag-border-weight-s))}.arc .arc-Tag--hasIcon .arc-Tag-content{padding-left:calc(var(--tag-padding-s) - var(--tag-border-weight-s))}.arc .arc-Tag--isRemovable .arc-Tag-content{border-radius:var(--tag-border-radius-s) 0 0 var(--tag-border-radius-s);padding-right:var(--tag-padding-xs)}.arc .arc-Tag .arc-Tag-content{color:var(--tag-colors-light-text-default);text-decoration:none}.arc .arc-Tag-content:focus-visible{border-radius:var(--tag-border-radius-s);height:calc(var(--tag-size-s) - 2px);outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px;text-decoration:underline}.arc .arc-Tag-icon--removable:focus-visible{outline:none}.arc .arc-Tag-icon--removable:focus-visible .arc-Icon:nth-of-type(1){display:none}.arc .arc-Tag-icon--removable:focus-visible .arc-Icon:nth-of-type(2){display:block}.arc .arc-Tag-icon--removable:focus-visible::after{border-radius:100%;content:"";height:20px;outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px;position:absolute;width:20px}.arc .arc-Tag-icon--removable:hover{cursor:pointer}.arc .arc-Tag--hasLink{background:var(--tag-colors-light-bg-default);border-color:var(--tag-colors-light-border-default)}.arc .arc-Tag--haslink:hover{background:var(--tag-colors-light-border-hover);cursor:pointer}.arc .arc-Tag--hasLink .arc-Tag-content:hover{color:var(--tag-colors-light-text-hover);cursor:pointer;text-decoration:underline}.arc .arc-Tag--removed{display:none}
|
package/dist/Text/Text.cjs.js
CHANGED
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Text = require('../_shared/cjs/Text-
|
|
6
|
-
require('../_shared/cjs/index-
|
|
5
|
+
var Text = require('../_shared/cjs/Text-c187d9ef.js');
|
|
6
|
+
require('../_shared/cjs/index.es-c26e8978.js');
|
|
7
7
|
require('../_shared/cjs/index-9947ac13.js');
|
|
8
8
|
require('react');
|
|
9
|
-
require('../_shared/cjs/
|
|
10
|
-
require('../_shared/cjs/Surface-8599dbe4.js');
|
|
9
|
+
require('../_shared/cjs/Surface-1b5c2ac8.js');
|
|
11
10
|
|
|
12
11
|
|
|
13
12
|
|
package/dist/Text/Text.esm.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export { T as Text } from '../_shared/esm/Text-
|
|
2
|
-
import '../_shared/esm/index-
|
|
1
|
+
export { T as Text } from '../_shared/esm/Text-df93be85.js';
|
|
2
|
+
import '../_shared/esm/index.es-5496ec12.js';
|
|
3
3
|
import '../_shared/esm/index-2e73c2e9.js';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../_shared/esm/
|
|
6
|
-
import '../_shared/esm/Surface-71d21a9e.js';
|
|
5
|
+
import '../_shared/esm/Surface-0af6a69a.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc .arc-Text{display:block;font:var(--sem-type-body-reg-m);margin:0}.arc .arc-Text--alignCenter{text-align:center}.arc .arc-Text--alignLeft{text-align:left}.arc .arc-Text--alignRight{text-align:right}.arc .arc-Text--inline{display:inline}.arc .arc-Text--measured{max-width:32em}.arc .arc-Text--sizeXS{font:var(--sem-type-body-reg-xs)}.arc .arc-Text--sizeS{font:var(--sem-type-body-reg-s)}.arc .arc-Text--sizeL{font:var(--sem-type-body-reg-l)}/* ! semantic warning: use of muted with supporting class */.arc .arc-Text--muted{color:var(--sem-color-fg-secondary-light-strong)}/* ! semantic warning: use of muted with supporting class */.arc .arc-Text--muted.arc-Text--onDarkSurface{color:var(--sem-color-fg-secondary-dark-strong)}/* ! semantic warning: use of muted with supporting class */.arc .arc-Text--supporting{color:var(--sem-color-fg-secondary-light-muted)}/* ! semantic warning: use of muted with supporting class */.arc .arc-Text--supporting.arc-Text--onDarkSurface{color:var(--sem-color-fg-secondary-dark-muted)}
|
|
@@ -2,66 +2,70 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var index_es = require('../_shared/cjs/index.es-c26e8978.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var index
|
|
8
|
-
var Surface = require('../_shared/cjs/Surface-
|
|
9
|
-
var VisuallyHidden = require('../_shared/cjs/VisuallyHidden-
|
|
10
|
-
require('../_shared/cjs/
|
|
11
|
-
require('../_shared/cjs/
|
|
12
|
-
require('../_shared/cjs/Breadcrumbs-
|
|
13
|
-
require('../_shared/cjs/Button-
|
|
14
|
-
require('../_shared/cjs/ButtonV2-
|
|
15
|
-
require('../_shared/cjs/Calendar-
|
|
16
|
-
var Text = require('../_shared/cjs/Text-
|
|
17
|
-
require('../_shared/cjs/Checkbox-
|
|
18
|
-
require('../_shared/cjs/Columns-
|
|
19
|
-
require('../_shared/cjs/
|
|
20
|
-
require('../_shared/cjs/
|
|
21
|
-
|
|
22
|
-
require('../_shared/cjs/
|
|
23
|
-
require('../_shared/cjs/
|
|
24
|
-
require('../_shared/cjs/
|
|
25
|
-
require('../_shared/cjs/
|
|
26
|
-
require('../_shared/cjs/
|
|
27
|
-
require('../_shared/cjs/
|
|
28
|
-
require('../_shared/cjs/
|
|
7
|
+
var index = require('../_shared/cjs/index-9947ac13.js');
|
|
8
|
+
var Surface = require('../_shared/cjs/Surface-1b5c2ac8.js');
|
|
9
|
+
var VisuallyHidden = require('../_shared/cjs/VisuallyHidden-25393f58.js');
|
|
10
|
+
require('../_shared/cjs/Image-c8969ad9.js');
|
|
11
|
+
require('../_shared/cjs/Heading-25d11688.js');
|
|
12
|
+
require('../_shared/cjs/Breadcrumbs-ca30086e.js');
|
|
13
|
+
require('../_shared/cjs/Button-a2150286.js');
|
|
14
|
+
require('../_shared/cjs/ButtonV2-7c437d1a.js');
|
|
15
|
+
require('../_shared/cjs/Calendar-9b4b01c8.js');
|
|
16
|
+
var Text = require('../_shared/cjs/Text-c187d9ef.js');
|
|
17
|
+
require('../_shared/cjs/Checkbox-f6712cc5.js');
|
|
18
|
+
require('../_shared/cjs/Columns-5c6bab74.js');
|
|
19
|
+
require('../_shared/cjs/ContentSwitcher-88b00e11.js');
|
|
20
|
+
require('../_shared/cjs/ContentSwitcherDropdown-ba5330ed.js');
|
|
21
|
+
require('../_shared/cjs/DatePicker-61d66a55.js');
|
|
22
|
+
require('../_shared/cjs/Filter-b6ca2a39.js');
|
|
23
|
+
var FormControl = require('../_shared/cjs/FormControl-0fba93b8.js');
|
|
24
|
+
require('../_shared/cjs/Grid-69ed0e5c.js');
|
|
25
|
+
require('../_shared/cjs/Group-7e6b78c9.js');
|
|
26
|
+
require('../_shared/cjs/HeroButton-19814c26.js');
|
|
27
|
+
require('../_shared/cjs/MediaCard-7bbe8aa0.js');
|
|
28
|
+
require('../_shared/cjs/Poster-96aa286e.js');
|
|
29
|
+
require('../_shared/cjs/ProgressStepper-c59ec56c.js');
|
|
30
|
+
require('../_shared/cjs/RadioGroup-11f4b232.js');
|
|
29
31
|
require('../_shared/cjs/debounce-a74c28cf.js');
|
|
30
|
-
require('../_shared/cjs/SiteFooter-
|
|
31
|
-
require('../_shared/cjs/SiteHeaderV2-
|
|
32
|
-
require('../_shared/cjs/Tabs-
|
|
33
|
-
require('../_shared/cjs/TextInput-
|
|
34
|
-
require('../_shared/cjs/Toast-
|
|
35
|
-
require('../_shared/cjs/UniversalHeader-
|
|
36
|
-
require('../_shared/cjs/
|
|
37
|
-
require('../_shared/cjs/ThemeIcon-ee814862.js');
|
|
32
|
+
require('../_shared/cjs/SiteFooter-d839f66a.js');
|
|
33
|
+
require('../_shared/cjs/SiteHeaderV2-3793453c.js');
|
|
34
|
+
require('../_shared/cjs/Tabs-30a12f1a.js');
|
|
35
|
+
require('../_shared/cjs/TextInput-d39f5a80.js');
|
|
36
|
+
require('../_shared/cjs/Toast-35c83925.js');
|
|
37
|
+
require('../_shared/cjs/UniversalHeader-f9ef793f.js');
|
|
38
|
+
require('../_shared/cjs/ThemeIcon-7f537bd2.js');
|
|
38
39
|
require('../_shared/cjs/handle-link-click-17a44cf4.js');
|
|
39
|
-
require('../_shared/cjs/Icon-
|
|
40
|
-
require('../_shared/cjs/
|
|
41
|
-
require('../_shared/cjs/index-
|
|
42
|
-
require('../_shared/cjs/index.es-
|
|
40
|
+
require('../_shared/cjs/Icon-08447959.js');
|
|
41
|
+
require('../_shared/cjs/Spinner-56122c43.js');
|
|
42
|
+
require('../_shared/cjs/index-28fbfd5b.js');
|
|
43
|
+
require('../_shared/cjs/index.es-f23456fa.js');
|
|
43
44
|
require('../_shared/cjs/use-media-query-d34c83b9.js');
|
|
44
45
|
require('../_shared/cjs/BtIconChevronRightMid.esm-3e8d18a9.js');
|
|
45
|
-
require('../_shared/cjs/index-
|
|
46
|
+
require('../_shared/cjs/index-1e7a1fce.js');
|
|
47
|
+
require('../_shared/cjs/index-76f7dd53.js');
|
|
46
48
|
require('react-dom');
|
|
47
|
-
require('../_shared/cjs/
|
|
48
|
-
require('../_shared/cjs/index-
|
|
49
|
-
require('../_shared/cjs/index-
|
|
50
|
-
require('../_shared/cjs/
|
|
51
|
-
require('../_shared/cjs/index-
|
|
52
|
-
require('../_shared/cjs/
|
|
53
|
-
require('../_shared/cjs/
|
|
54
|
-
require('../_shared/cjs/
|
|
55
|
-
require('../_shared/cjs/
|
|
49
|
+
require('../_shared/cjs/index-dbc843d3.js');
|
|
50
|
+
require('../_shared/cjs/index-879e71ee.js');
|
|
51
|
+
require('../_shared/cjs/index-527f962b.js');
|
|
52
|
+
require('../_shared/cjs/index-89c323a4.js');
|
|
53
|
+
require('../_shared/cjs/index-2bf59363.js');
|
|
54
|
+
require('../_shared/cjs/floating-ui.react-dom-08b8b87c.js');
|
|
55
|
+
require('../_shared/cjs/index-ba3141f5.js');
|
|
56
|
+
require('../_shared/cjs/component-4e71e3d3.js');
|
|
57
|
+
require('../_shared/cjs/Combination-854a36ce.js');
|
|
58
|
+
require('react/jsx-runtime');
|
|
59
|
+
require('../_shared/cjs/DisclosureMini-a46a4838.js');
|
|
60
|
+
require('../_shared/cjs/VerticalSpace-973deefe.js');
|
|
61
|
+
require('../_shared/cjs/CardHeading-88edadd4.js');
|
|
62
|
+
require('../_shared/cjs/CardFooter-68235081.js');
|
|
63
|
+
require('../_shared/cjs/BtIconArrowRight.esm-6053bb79.js');
|
|
56
64
|
require('../_shared/cjs/BtIconPlayFill.esm-b8997cfc.js');
|
|
57
|
-
require('../_shared/cjs/ConditionalWrapper-
|
|
58
|
-
require('../_shared/cjs/VerticalSpace-e128ec68.js');
|
|
65
|
+
require('../_shared/cjs/ConditionalWrapper-bf944594.js');
|
|
59
66
|
require('../_shared/cjs/_commonjsHelpers-56412ec5.js');
|
|
60
|
-
require('../_shared/cjs/BrandLogo-
|
|
61
|
-
require('../_shared/cjs/Section-
|
|
62
|
-
require('../_shared/cjs/index-0c6319ec.js');
|
|
63
|
-
require('../_shared/cjs/index-dcfdd5da.js');
|
|
64
|
-
require('../_shared/cjs/index-3d629205.js');
|
|
67
|
+
require('../_shared/cjs/BrandLogo-d4a6fd05.js');
|
|
68
|
+
require('../_shared/cjs/Section-46646353.js');
|
|
65
69
|
|
|
66
70
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
67
71
|
|
|
@@ -69,7 +73,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
69
73
|
|
|
70
74
|
/** Use `TextArea` to allow custom user text entry via keyboard, for long-form and multi-line descriptions */
|
|
71
75
|
var TextArea = React.forwardRef(function (_a, ref) {
|
|
72
|
-
var _b = _a.defaultValue, defaultValue = _b === void 0 ? "" : _b, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, _c = _a.resize, resize = _c === void 0 ? "manual" : _c, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, _g = _a.showCharacterCount, showCharacterCount = _g === void 0 ? true : _g, label = _a.label, _h = _a.labelSize, labelSize = _h === void 0 ? "l" : _h, maxLength = _a.maxLength, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, onClickDisclosure = _a.onClickDisclosure, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, width = _a.width, autoComplete = _a.autoComplete, _j = _a.minHeight, minHeight = _j === void 0 ? "116px" : _j, maxHeight = _a.maxHeight, props =
|
|
76
|
+
var _b = _a.defaultValue, defaultValue = _b === void 0 ? "" : _b, errorMessage = _a.errorMessage, helper = _a.helper, hideLabel = _a.hideLabel, id = _a.id, _c = _a.resize, resize = _c === void 0 ? "manual" : _c, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, _f = _a.isRequired, isRequired = _f === void 0 ? false : _f, _g = _a.showCharacterCount, showCharacterCount = _g === void 0 ? true : _g, label = _a.label, _h = _a.labelSize, labelSize = _h === void 0 ? "l" : _h, maxLength = _a.maxLength, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, onClickDisclosure = _a.onClickDisclosure, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, width = _a.width, autoComplete = _a.autoComplete, _j = _a.minHeight, minHeight = _j === void 0 ? "116px" : _j, maxHeight = _a.maxHeight, props = index_es.__rest(_a, ["defaultValue", "errorMessage", "helper", "hideLabel", "id", "resize", "isDisabled", "isReadOnly", "isRequired", "showCharacterCount", "label", "labelSize", "maxLength", "name", "onBlur", "onChange", "onClickDisclosure", "value", "disclosureTitle", "disclosureText", "width", "autoComplete", "minHeight", "maxHeight"]);
|
|
73
77
|
var surface = React.useContext(Surface.Context).surface;
|
|
74
78
|
var ourRef = React.useRef(null);
|
|
75
79
|
var _k = React.useState((value && value.length) || (defaultValue && defaultValue.length) || 0), characterCount = _k[0], setCharacterCount = _k[1];
|
|
@@ -92,7 +96,7 @@ var TextArea = React.forwardRef(function (_a, ref) {
|
|
|
92
96
|
onChange && onChange(e);
|
|
93
97
|
setCharacterCount(e.target.value.length);
|
|
94
98
|
};
|
|
95
|
-
return (React__default["default"].createElement(FormControl.FormControl,
|
|
99
|
+
return (React__default["default"].createElement(FormControl.FormControl, index_es.__assign({ errorMessage: errorMessage, helper: helper, htmlFor: id, isDisabled: isDisabled, label: label, hideLabel: hideLabel, labelSize: labelSize, requirementStatus: isRequired ? "required" : "optional", disclosureTitle: disclosureTitle, disclosureText: disclosureText, onClickDisclosure: onClickDisclosure, supplementaryInfo: maxLength &&
|
|
96
100
|
showCharacterCount && (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
97
101
|
React__default["default"].createElement(Text.Text, { tone: isDisabled ? "muted" : "default" },
|
|
98
102
|
React__default["default"].createElement("span", { className: "arc-TextArea-characterCount", "aria-live": "polite" },
|
|
@@ -100,12 +104,12 @@ var TextArea = React.forwardRef(function (_a, ref) {
|
|
|
100
104
|
" / ",
|
|
101
105
|
maxLength,
|
|
102
106
|
" characters",
|
|
103
|
-
characterCount === maxLength && (React__default["default"].createElement(VisuallyHidden.VisuallyHidden, null, "Maximum characters reached")))))) },
|
|
104
|
-
React__default["default"].createElement("textarea", { id: id, className: index
|
|
107
|
+
characterCount === maxLength && (React__default["default"].createElement(VisuallyHidden.VisuallyHidden, null, "Maximum characters reached")))))) }, index_es.filterDataAttrs(props)),
|
|
108
|
+
React__default["default"].createElement("textarea", index_es.__assign({ id: id, className: index.classNames("arc-TextArea", {
|
|
105
109
|
"arc-TextArea--noResize": resize !== "manual",
|
|
106
110
|
"arc-TextArea--onDarkSurface": surface === "dark",
|
|
107
111
|
"arc-TextArea--invalid": errorMessage
|
|
108
|
-
}), defaultValue: typeof value !== "undefined" ? undefined : defaultValue, disabled: isDisabled, value: value, readOnly: isReadOnly, maxLength: maxLength, name: name, onChange: handleOnChange, onBlur: onBlur, ref: getTextAreaRef, style: { width: width, maxHeight: maxHeight, minHeight: minHeight }, "aria-describedby": "".concat(id, "-helper"), autoComplete: autoComplete })));
|
|
112
|
+
}), defaultValue: typeof value !== "undefined" ? undefined : defaultValue, disabled: isDisabled, value: value, readOnly: isReadOnly, maxLength: maxLength, name: name, onChange: handleOnChange, onBlur: onBlur, ref: getTextAreaRef, style: { width: width, maxHeight: maxHeight, minHeight: minHeight }, "aria-describedby": "".concat(id, "-helper"), autoComplete: autoComplete }, (helper && { "aria-describedby": "".concat(id, "-helper") })))));
|
|
109
113
|
});
|
|
110
114
|
|
|
111
115
|
exports.TextArea = TextArea;
|
|
@@ -1,63 +1,67 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index.es-5496ec12.js';
|
|
2
2
|
import React__default, { forwardRef, useContext, useRef, useState } from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-2e73c2e9.js';
|
|
4
|
-
import { C as Context } from '../_shared/esm/Surface-
|
|
5
|
-
import { V as VisuallyHidden } from '../_shared/esm/VisuallyHidden-
|
|
6
|
-
import '../_shared/esm/
|
|
7
|
-
import '../_shared/esm/
|
|
8
|
-
import '../_shared/esm/Breadcrumbs-
|
|
9
|
-
import '../_shared/esm/Button-
|
|
10
|
-
import '../_shared/esm/ButtonV2-
|
|
11
|
-
import '../_shared/esm/Calendar-
|
|
12
|
-
import { T as Text } from '../_shared/esm/Text-
|
|
13
|
-
import '../_shared/esm/Checkbox-
|
|
14
|
-
import '../_shared/esm/Columns-
|
|
15
|
-
import '../_shared/esm/
|
|
16
|
-
import '../_shared/esm/
|
|
17
|
-
import
|
|
18
|
-
import '../_shared/esm/
|
|
19
|
-
import '../_shared/esm/
|
|
20
|
-
import '../_shared/esm/
|
|
21
|
-
import '../_shared/esm/
|
|
22
|
-
import '../_shared/esm/
|
|
23
|
-
import '../_shared/esm/
|
|
24
|
-
import '../_shared/esm/
|
|
4
|
+
import { C as Context } from '../_shared/esm/Surface-0af6a69a.js';
|
|
5
|
+
import { V as VisuallyHidden } from '../_shared/esm/VisuallyHidden-cf45ac18.js';
|
|
6
|
+
import '../_shared/esm/Image-c1dc10b5.js';
|
|
7
|
+
import '../_shared/esm/Heading-0a8d3545.js';
|
|
8
|
+
import '../_shared/esm/Breadcrumbs-bcf9ca79.js';
|
|
9
|
+
import '../_shared/esm/Button-0506afa7.js';
|
|
10
|
+
import '../_shared/esm/ButtonV2-c83db10c.js';
|
|
11
|
+
import '../_shared/esm/Calendar-34b10bd5.js';
|
|
12
|
+
import { T as Text } from '../_shared/esm/Text-df93be85.js';
|
|
13
|
+
import '../_shared/esm/Checkbox-8195c42c.js';
|
|
14
|
+
import '../_shared/esm/Columns-9aa5df4a.js';
|
|
15
|
+
import '../_shared/esm/ContentSwitcher-bae1f0a7.js';
|
|
16
|
+
import '../_shared/esm/ContentSwitcherDropdown-65291c09.js';
|
|
17
|
+
import '../_shared/esm/DatePicker-aafbdea8.js';
|
|
18
|
+
import '../_shared/esm/Filter-a5bf3fe3.js';
|
|
19
|
+
import { F as FormControl } from '../_shared/esm/FormControl-ff671eb8.js';
|
|
20
|
+
import '../_shared/esm/Grid-727d05d6.js';
|
|
21
|
+
import '../_shared/esm/Group-c4f6c745.js';
|
|
22
|
+
import '../_shared/esm/HeroButton-a98767b7.js';
|
|
23
|
+
import '../_shared/esm/MediaCard-fdc76670.js';
|
|
24
|
+
import '../_shared/esm/Poster-dc3d7ee8.js';
|
|
25
|
+
import '../_shared/esm/ProgressStepper-427f24e3.js';
|
|
26
|
+
import '../_shared/esm/RadioGroup-5b654bee.js';
|
|
25
27
|
import '../_shared/esm/debounce-c8e41002.js';
|
|
26
|
-
import '../_shared/esm/SiteFooter-
|
|
27
|
-
import '../_shared/esm/SiteHeaderV2-
|
|
28
|
-
import '../_shared/esm/Tabs-
|
|
29
|
-
import '../_shared/esm/TextInput-
|
|
30
|
-
import '../_shared/esm/Toast-
|
|
31
|
-
import '../_shared/esm/UniversalHeader-
|
|
32
|
-
import '../_shared/esm/
|
|
33
|
-
import '../_shared/esm/ThemeIcon-c2dc41a6.js';
|
|
28
|
+
import '../_shared/esm/SiteFooter-1cdba967.js';
|
|
29
|
+
import '../_shared/esm/SiteHeaderV2-743847f6.js';
|
|
30
|
+
import '../_shared/esm/Tabs-d360207d.js';
|
|
31
|
+
import '../_shared/esm/TextInput-7ab39a54.js';
|
|
32
|
+
import '../_shared/esm/Toast-abd517c8.js';
|
|
33
|
+
import '../_shared/esm/UniversalHeader-8ebc5322.js';
|
|
34
|
+
import '../_shared/esm/ThemeIcon-e1e19266.js';
|
|
34
35
|
import '../_shared/esm/handle-link-click-f64f55a2.js';
|
|
35
|
-
import '../_shared/esm/Icon-
|
|
36
|
-
import '../_shared/esm/
|
|
37
|
-
import '../_shared/esm/index-
|
|
38
|
-
import '../_shared/esm/index.es-
|
|
36
|
+
import '../_shared/esm/Icon-a5cb17de.js';
|
|
37
|
+
import '../_shared/esm/Spinner-6704017c.js';
|
|
38
|
+
import '../_shared/esm/index-ce6dee84.js';
|
|
39
|
+
import '../_shared/esm/index.es-932db59a.js';
|
|
39
40
|
import '../_shared/esm/use-media-query-d3622da8.js';
|
|
40
41
|
import '../_shared/esm/BtIconChevronRightMid.esm-4764708f.js';
|
|
41
|
-
import '../_shared/esm/index-
|
|
42
|
+
import '../_shared/esm/index-89a7c31c.js';
|
|
43
|
+
import '../_shared/esm/index-57d4cb34.js';
|
|
42
44
|
import 'react-dom';
|
|
43
|
-
import '../_shared/esm/
|
|
44
|
-
import '../_shared/esm/index-
|
|
45
|
-
import '../_shared/esm/index-
|
|
46
|
-
import '../_shared/esm/
|
|
47
|
-
import '../_shared/esm/index-
|
|
48
|
-
import '../_shared/esm/
|
|
49
|
-
import '../_shared/esm/
|
|
50
|
-
import '../_shared/esm/
|
|
51
|
-
import '../_shared/esm/
|
|
45
|
+
import '../_shared/esm/index-14c7f4da.js';
|
|
46
|
+
import '../_shared/esm/index-b9923ee4.js';
|
|
47
|
+
import '../_shared/esm/index-f2ddcbe2.js';
|
|
48
|
+
import '../_shared/esm/index-afbf540d.js';
|
|
49
|
+
import '../_shared/esm/index-e969452b.js';
|
|
50
|
+
import '../_shared/esm/floating-ui.react-dom-1bb71aae.js';
|
|
51
|
+
import '../_shared/esm/index-ac50b180.js';
|
|
52
|
+
import '../_shared/esm/component-3e60a45e.js';
|
|
53
|
+
import '../_shared/esm/Combination-2af75870.js';
|
|
54
|
+
import 'react/jsx-runtime';
|
|
55
|
+
import '../_shared/esm/DisclosureMini-f6d8c9bc.js';
|
|
56
|
+
import '../_shared/esm/VerticalSpace-6a3533db.js';
|
|
57
|
+
import '../_shared/esm/CardHeading-c65f9fb2.js';
|
|
58
|
+
import '../_shared/esm/CardFooter-bf886438.js';
|
|
59
|
+
import '../_shared/esm/BtIconArrowRight.esm-93da96bb.js';
|
|
52
60
|
import '../_shared/esm/BtIconPlayFill.esm-05fc0344.js';
|
|
53
|
-
import '../_shared/esm/ConditionalWrapper-
|
|
54
|
-
import '../_shared/esm/VerticalSpace-b07cd8e6.js';
|
|
61
|
+
import '../_shared/esm/ConditionalWrapper-b85979de.js';
|
|
55
62
|
import '../_shared/esm/_commonjsHelpers-0109d574.js';
|
|
56
|
-
import '../_shared/esm/BrandLogo-
|
|
57
|
-
import '../_shared/esm/Section-
|
|
58
|
-
import '../_shared/esm/index-f97466e9.js';
|
|
59
|
-
import '../_shared/esm/index-a624de47.js';
|
|
60
|
-
import '../_shared/esm/index-5113ed53.js';
|
|
63
|
+
import '../_shared/esm/BrandLogo-45d0d795.js';
|
|
64
|
+
import '../_shared/esm/Section-c1dc6e37.js';
|
|
61
65
|
|
|
62
66
|
/** Use `TextArea` to allow custom user text entry via keyboard, for long-form and multi-line descriptions */
|
|
63
67
|
var TextArea = forwardRef(function (_a, ref) {
|
|
@@ -93,11 +97,11 @@ var TextArea = forwardRef(function (_a, ref) {
|
|
|
93
97
|
maxLength,
|
|
94
98
|
" characters",
|
|
95
99
|
characterCount === maxLength && (React__default.createElement(VisuallyHidden, null, "Maximum characters reached")))))) }, filterDataAttrs(props)),
|
|
96
|
-
React__default.createElement("textarea", { id: id, className: classNames("arc-TextArea", {
|
|
100
|
+
React__default.createElement("textarea", __assign({ id: id, className: classNames("arc-TextArea", {
|
|
97
101
|
"arc-TextArea--noResize": resize !== "manual",
|
|
98
102
|
"arc-TextArea--onDarkSurface": surface === "dark",
|
|
99
103
|
"arc-TextArea--invalid": errorMessage
|
|
100
|
-
}), defaultValue: typeof value !== "undefined" ? undefined : defaultValue, disabled: isDisabled, value: value, readOnly: isReadOnly, maxLength: maxLength, name: name, onChange: handleOnChange, onBlur: onBlur, ref: getTextAreaRef, style: { width: width, maxHeight: maxHeight, minHeight: minHeight }, "aria-describedby": "".concat(id, "-helper"), autoComplete: autoComplete })));
|
|
104
|
+
}), defaultValue: typeof value !== "undefined" ? undefined : defaultValue, disabled: isDisabled, value: value, readOnly: isReadOnly, maxLength: maxLength, name: name, onChange: handleOnChange, onBlur: onBlur, ref: getTextAreaRef, style: { width: width, maxHeight: maxHeight, minHeight: minHeight }, "aria-describedby": "".concat(id, "-helper"), autoComplete: autoComplete }, (helper && { "aria-describedby": "".concat(id, "-helper") })))));
|
|
101
105
|
});
|
|
102
106
|
|
|
103
107
|
export { TextArea };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc .arc-TextArea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--textarea-colors-light-bg-default);border:var(--textarea-border-weight-s) solid var(--textarea-colors-light-border-default);border-radius:var(--textarea-border-radius-s);color:var(--textarea-colors-light-text-default);display:block;font:var(--sem-type-body-reg-m);margin-bottom:0;margin-top:var(--textarea-gap-m);padding:var(--textarea-padding-s) var(--textarea-padding-m);resize:vertical;width:100%}.arc .arc-TextArea--resizable{resize:"vertical"}.arc .arc-TextArea--noResize{resize:none}.arc .arc-TextArea--invalid{background-color:var(--textarea-colors-light-bg-error);border-color:var(--textarea-colors-light-border-error)}.arc .arc-TextArea-characterCount{white-space:nowrap}.arc .arc-TextArea:focus{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle);outline:var(--focus-border-weight-s) solid transparent}.arc .arc-TextArea:disabled{background-color:var(--textarea-colors-light-bg-disabled);border-color:var(--textarea-colors-light-border-disabled);color:var(--textarea-colors-light-text-disabled)}.arc .arc-TextArea--onDarkSurface{background-color:var(--textarea-colors-dark-bg-default);border-color:var(--textarea-colors-dark-border-strong);color:var(--textarea-colors-dark-text-strong)}.arc .arc-TextArea--onDarkSurface.arc-TextArea--invalid{background-color:var(--textarea-colors-dark-bg-error);border-color:var(--textarea-colors-dark-border-error)}.arc .arc-TextArea--onDarkSurface:focus{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle)}.arc .arc-TextArea--onDarkSurface:disabled{background-color:var(--textarea-colors-dark-bg-disabled);border-color:var(--textarea-colors-dark-border-disabled);color:var(--textarea-colors-dark-text-disabled)}
|
|
@@ -2,18 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var TextInput = require('../_shared/cjs/TextInput-
|
|
6
|
-
require('../_shared/cjs/index-
|
|
5
|
+
var TextInput = require('../_shared/cjs/TextInput-d39f5a80.js');
|
|
6
|
+
require('../_shared/cjs/index.es-c26e8978.js');
|
|
7
7
|
require('../_shared/cjs/index-9947ac13.js');
|
|
8
8
|
require('react');
|
|
9
|
-
require('../_shared/cjs/FormControl-
|
|
10
|
-
require('../_shared/cjs/Surface-
|
|
11
|
-
require('../_shared/cjs/DisclosureMini-
|
|
12
|
-
require('../_shared/cjs/Text-
|
|
13
|
-
require('../_shared/cjs/
|
|
14
|
-
require('../_shared/cjs/
|
|
15
|
-
require('../_shared/cjs/
|
|
16
|
-
require('../_shared/cjs/Icon-0ec0c1fb.js');
|
|
9
|
+
require('../_shared/cjs/FormControl-0fba93b8.js');
|
|
10
|
+
require('../_shared/cjs/Surface-1b5c2ac8.js');
|
|
11
|
+
require('../_shared/cjs/DisclosureMini-a46a4838.js');
|
|
12
|
+
require('../_shared/cjs/Text-c187d9ef.js');
|
|
13
|
+
require('../_shared/cjs/ThemeIcon-7f537bd2.js');
|
|
14
|
+
require('../_shared/cjs/VisuallyHidden-25393f58.js');
|
|
15
|
+
require('../_shared/cjs/Icon-08447959.js');
|
|
17
16
|
|
|
18
17
|
|
|
19
18
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
export { a as TextInput } from '../_shared/esm/TextInput-
|
|
2
|
-
import '../_shared/esm/index-
|
|
1
|
+
export { a as TextInput } from '../_shared/esm/TextInput-7ab39a54.js';
|
|
2
|
+
import '../_shared/esm/index.es-5496ec12.js';
|
|
3
3
|
import '../_shared/esm/index-2e73c2e9.js';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../_shared/esm/FormControl-
|
|
6
|
-
import '../_shared/esm/Surface-
|
|
7
|
-
import '../_shared/esm/DisclosureMini-
|
|
8
|
-
import '../_shared/esm/Text-
|
|
9
|
-
import '../_shared/esm/
|
|
10
|
-
import '../_shared/esm/
|
|
11
|
-
import '../_shared/esm/
|
|
12
|
-
import '../_shared/esm/Icon-512f834f.js';
|
|
5
|
+
import '../_shared/esm/FormControl-ff671eb8.js';
|
|
6
|
+
import '../_shared/esm/Surface-0af6a69a.js';
|
|
7
|
+
import '../_shared/esm/DisclosureMini-f6d8c9bc.js';
|
|
8
|
+
import '../_shared/esm/Text-df93be85.js';
|
|
9
|
+
import '../_shared/esm/ThemeIcon-e1e19266.js';
|
|
10
|
+
import '../_shared/esm/VisuallyHidden-cf45ac18.js';
|
|
11
|
+
import '../_shared/esm/Icon-a5cb17de.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arc .arc-TextInput-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:var(--textinput-border-radius-m);font:var(--sem-type-body-reg-m);height:calc(var(--textinput-size-m) - (2 * var(--textinput-border-weight-s)));height:calc(var(--textinput-size-m) - (2 * var(--textinput-border-weight-s)));height:calc(var(--textinput-size-m) - calc(2 * var(--textinput-border-weight-s)));margin-bottom:0;padding:0 calc(var(--textinput-padding-m) - var(--textinput-border-weight-s));width:100%}.arc .arc-TextInput-inputWrapper{align-items:baseline;background-color:var(--textinput-colors-light-bg-default);border:var(--textinput-border-weight-s) solid var(--textinput-colors-light-border-default);border-radius:var(--textinput-border-radius-m);color:var(--textinput-colors-light-text-default);display:flex;height:100%;margin-top:var(--textinput-gap-m);position:relative}.arc .arc-TextInput--sizeS .arc-TextInput-input{font:var(--sem-type-body-reg-s);height:calc(var(--textinput-size-s) - (2 * var(--textinput-border-weight-s)));height:calc(var(--textinput-size-s) - (2 * var(--textinput-border-weight-s)));height:calc(var(--textinput-size-s) - calc(2 * var(--textinput-border-weight-s)));padding:calc(4px - var(--textinput-border-weight-s)) calc(var(--textinput-padding-s) - var(--textinput-border-weight-s))}.arc .arc-TextInput--sizeL .arc-TextInput-input{font:var(--sem-type-body-reg-l);height:calc(var(--textinput-size-l) - (2 * var(--textinput-border-weight-s)));height:calc(var(--textinput-size-l) - (2 * var(--textinput-border-weight-s)));height:calc(var(--textinput-size-l) - calc(2 * var(--textinput-border-weight-s)));padding:calc(18px - var(--textinput-border-weight-s)) calc(var(--textinput-padding-l) - var(--textinput-border-weight-s))}.arc .arc-TextInput-additionalControl{position:absolute;right:0;text-decoration:underline;top:50%;transform:translateY(-50%)}.arc .arc-TextInput-passwordToggle{background-color:transparent;border:none;color:var(--textinput-colors-light-text-default);cursor:pointer;flex:0 1 auto;font:var(--sem-type-body-reg-m);margin-right:7px;padding:0 4px}.arc .arc-TextInput-passwordToggle:focus{border-radius:var(--focus-border-radius-s);outline:var(--focus-border-weight-s) solid var(--focus-colors-light-border-subtle);outline-offset:2px}.arc .arc-TextInput-prefix{flex:0 1 auto;font:var(--sem-type-body-reg-m);font-weight:700;padding:0 4px 0 calc(12px - 1px)}.arc .arc-TextInput-suffix{flex:0 1 auto;font:var(--sem-type-body-reg-m);font-weight:700;padding:0 calc(12px - 1px) 0 4px}.arc .arc-TextInput--withPrefix .arc-TextInput-input{padding-left:0}.arc .arc-TextInput--withSuffix .arc-TextInput-input,.arc .arc-TextInput--withPasswordToggle .arc-TextInput-input{padding-right:0}.arc .arc-TextInput--sizeS .arc-TextInput-prefix{padding-left:calc(8px - 1px)}.arc .arc-TextInput--sizeS .arc-TextInput-suffix,.arc .arc-TextInput--sizeS .arc-TextInput-passwordToggle{padding-right:calc(8px - 1px)}.arc .arc-TextInput--sizeL .arc-TextInput-prefix{padding-left:calc(16px - 1px)}.arc .arc-TextInput--sizeL .arc-TextInput-suffix,.arc .arc-TextInput--sizeL .arc-TextInput-passwordToggle{padding-right:calc(16px - 1px)}.arc .arc-TextInput-input:focus{outline:0}.arc .arc-TextInput-input:focus-visible{border:none}.arc .arc-TextInput--alignRight .arc-TextInput-input{text-align:right}.arc .arc-TextInput--sizeS .arc-TextInput-passwordToggle,.arc .arc-TextInput--sizeS .arc-TextInput-prefix,.arc .arc-TextInput--sizeS .arc-TextInput-suffix{font:var(--sem-type-body-reg-s)}.arc .arc-TextInput--sizeL .arc-TextInput-passwordToggle,.arc .arc-TextInput--sizeL .arc-TextInput-prefix,.arc .arc-TextInput--sizeL .arc-TextInput-suffix{font:var(--sem-type-body-reg-l)}.arc .arc-TextInput-iconButton{background-color:transparent;background-origin:border-box;border:var(--textinput-border-weight-m) solid transparent;border-radius:var(--textinput-border-radius-l);cursor:pointer;display:block;margin:0;padding:0 6px;text-decoration:none}.arc .arc-TextInput-input:disabled{background-color:var(--textinput-colors-light-bg-disabled);border-color:var(--textinput-colors-light-border-disabled);color:var(--textinput-colors-light-text-disabled)}.arc .arc-TextInput-input:disabled,.arc .arc-TextInput-iconButton:disabled{cursor:not-allowed}.arc .arc-TextInput-iconButton:focus-visible{border-color:var(--focus-colors-light-border-subtle);outline:none}.arc .arc-TextInput--onDarkSurface .arc-TextInput-inputWrapper,.arc .arc-TextInput--onDarkSurface .arc-TextInput-input{background-color:var(--textinput-colors-dark-bg-default);border-color:var(--textinput-colors-dark-border-default);color:var(--textinput-colors-dark-text-default)}.arc .arc-TextInput--onDarkSurface .arc-TextInput-passwordToggle{color:var(--textinput-colors-dark-text-default)}.arc .arc-TextInput--invalid .arc-TextInput-inputWrapper,.arc .arc-TextInput--invalid .arc-TextInput-input{background-color:var(--textinput-colors-light-bg-error);border-color:var(--textinput-colors-dark-border-error)}.arc .arc-TextInput-inputWrapper[\:has\(\%0A\%20\%20\%20\%20\:not\(.arc-TextInput-iconButton\)\:focus-visible\%0A\%20\%20\)]{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle);outline:var(--focus-border-weight-s) solid transparent}.arc .arc-TextInput-inputWrapper[\:has\(\:not\(.arc-TextInput-iconButton\)\:focus-visible\)]{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle);outline:var(--focus-border-weight-s) solid transparent}.arc .arc-TextInput-inputWrapper:has(:not(.arc-TextInput-iconButton):focus-visible){box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-light-border-subtle);outline:var(--focus-border-weight-s) solid transparent}.arc .arc-TextInput--onDarkSurface.arc-TextInput--invalid .arc-TextInput-input{background-color:var(--textinput-colors-dark-bg-error);border-color:var(--textinput-colors-dark-border-error)}.arc .arc-TextInput--onDarkSurface .arc-TextInput-iconButton{color:var(--textinput-colors-dark-border-default)}.arc .arc-TextInput--onDarkSurface .arc-TextInput-iconButton:focus-visible{border-color:var(--textarea-colors-dark-border-focus)}.arc .arc-TextInput--onDarkSurface .arc-TextInput-input::-moz-placeholder{color:var(--textinput-colors-dark-border-default)}.arc .arc-TextInput--onDarkSurface .arc-TextInput-input::placeholder{color:var(--textinput-colors-dark-border-default)}.arc .arc-TextInput--onDarkSurface .arc-TextInput-inputWrapper[\:has\(\%0A\%20\%20\%20\%20\:not\(.arc-TextInput-iconButton\)\:focus-visible\%0A\%20\%20\)]{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle)}.arc .arc-TextInput--onDarkSurface .arc-TextInput-inputWrapper[\:has\(\:not\(.arc-TextInput-iconButton\)\:focus-visible\)]{box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle)}.arc .arc-TextInput--onDarkSurface .arc-TextInput-inputWrapper:has(:not(.arc-TextInput-iconButton):focus-visible){box-shadow:0 0 0 var(--focus-border-weight-s) var(--focus-colors-dark-border-subtle)}.arc .arc-TextInput--onDarkSurface .arc-TextInput-input:disabled{background-color:var(--textinput-colors-dark-bg-disabled);border-color:var(--textinput-colors-dark-border-disabled);color:var(--textinput-colors-dark-text-disabled)}.arc .arc-TextInput--onDarkSurface.arc-TextInput--invalid .arc-TextInput-inputWrapper .arc-TextInput-input,.arc .arc-TextInput--onDarkSurface.arc-TextInput--invalid .arc-TextInput-inputWrapper{background-color:var(--textinput-colors-dark-bg-error);border-color:var(--textinput-colors-dark-border-error)}.arc .arc-TextInput-input:disabled,.arc .arc-TextInput--isDisabled .arc-TextInput-inputWrapper{background-color:var(--textinput-colors-light-bg-disabled);border-color:var(--textinput-colors-light-border-disabled);color:var(--textinput-colors-light-text-disabled);cursor:not-allowed}.arc .arc-TextInput--onDarkSurface.arc-TextInput--isDisabled .arc-TextInput-inputWrapper,.arc .arc-TextInput--onDarkSurface .arc-TextInput-input:disabled{background-color:var(--textinput-colors-dark-bg-disabled);border-color:var(--textinput-colors-dark-border-disabled);color:var(--textinput-colors-dark-text-disabled)}.arc .arc-TextInput-input:-webkit-autofill, .arc .arc-TextInput-input:-webkit-autofill:hover, .arc .arc-TextInput-input:-webkit-autofill:focus{box-shadow:0 0 0 1000px #ffffff inset !important}.arc .arc-TextInput-input:autofill,.arc .arc-TextInput-input:autofill:hover,.arc .arc-TextInput-input:autofill:focus{box-shadow:0 0 0 1000px #ffffff inset !important}.arc .arc-TextInput--onDarkSurface .arc-TextInput-passwordToggle:focus{outline:var(--focus-border-weight-s) solid var(--focus-colors-dark-border-subtle)}
|