@arc-ui/components 11.9.0 → 11.10.0
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 +15 -15
- package/dist/Alert/Alert.esm.js +15 -15
- package/dist/Alert/package.json +1 -1
- package/dist/Align/Align.cjs.js +3 -3
- package/dist/Align/Align.esm.js +3 -3
- package/dist/Align/package.json +1 -1
- package/dist/Badge/Badge.cjs.js +5 -5
- package/dist/Badge/Badge.esm.js +5 -5
- package/dist/Badge/package.json +1 -1
- package/dist/Base/Base.cjs.js +2 -2
- package/dist/Base/Base.esm.js +2 -2
- package/dist/Base/package.json +1 -1
- package/dist/Box/Box.cjs.js +3 -3
- package/dist/Box/Box.esm.js +3 -3
- package/dist/Box/package.json +1 -1
- package/dist/BrandLogo/BrandLogo.cjs.js +5 -5
- package/dist/BrandLogo/BrandLogo.esm.js +5 -5
- package/dist/BrandLogo/package.json +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +8 -8
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +8 -8
- package/dist/Breadcrumbs/package.json +1 -1
- package/dist/Button/Button.cjs.js +8 -8
- package/dist/Button/Button.esm.js +8 -8
- package/dist/Button/package.json +1 -1
- package/dist/Card/Card.cjs.js +9 -9
- package/dist/Card/Card.esm.js +9 -9
- package/dist/Card/package.json +1 -1
- package/dist/Checkbox/Checkbox.cjs.js +11 -11
- package/dist/Checkbox/Checkbox.esm.js +11 -11
- package/dist/Checkbox/package.json +1 -1
- package/dist/Clock/Clock.cjs.js +1 -1
- package/dist/Clock/Clock.esm.js +1 -1
- package/dist/Clock/package.json +1 -1
- package/dist/Columns/Columns.cjs.js +4 -4
- package/dist/Columns/Columns.esm.js +4 -4
- package/dist/Columns/package.json +1 -1
- package/dist/Curve/Curve.cjs.js +4 -4
- package/dist/Curve/Curve.esm.js +4 -4
- package/dist/Curve/package.json +1 -1
- package/dist/Disclosure/Disclosure.cjs.js +7 -7
- package/dist/Disclosure/Disclosure.esm.js +7 -7
- package/dist/Disclosure/package.json +1 -1
- package/dist/DisclosureMini/DisclosureMini.cjs.js +7 -7
- package/dist/DisclosureMini/DisclosureMini.esm.js +7 -7
- package/dist/DisclosureMini/package.json +1 -1
- package/dist/Elevation/Elevation.cjs.js +2 -2
- package/dist/Elevation/Elevation.esm.js +2 -2
- package/dist/Elevation/package.json +1 -1
- package/dist/Filter/Filter.cjs.js +4 -4
- package/dist/Filter/Filter.esm.js +4 -4
- package/dist/Filter/package.json +1 -1
- package/dist/FormControl/FormControl.cjs.js +9 -9
- package/dist/FormControl/FormControl.esm.js +9 -9
- package/dist/FormControl/package.json +1 -1
- package/dist/Group/Group.cjs.js +4 -4
- package/dist/Group/Group.esm.js +4 -4
- package/dist/Group/package.json +1 -1
- package/dist/Heading/Heading.cjs.js +5 -5
- package/dist/Heading/Heading.esm.js +5 -5
- package/dist/Heading/package.json +1 -1
- package/dist/Icon/Icon.cjs.js +5 -5
- package/dist/Icon/Icon.esm.js +5 -5
- package/dist/Icon/package.json +1 -1
- package/dist/Image/Image.cjs.js +4 -4
- package/dist/Image/Image.esm.js +4 -4
- package/dist/Image/package.json +1 -1
- package/dist/Markup/Markup.cjs.js +3 -3
- package/dist/Markup/Markup.esm.js +3 -3
- package/dist/Markup/package.json +1 -1
- package/dist/Modal/Modal.cjs.js +21 -97
- package/dist/Modal/Modal.esm.js +21 -97
- package/dist/Modal/package.json +1 -1
- package/dist/Pagination/Pagination.cjs.js +9 -9
- package/dist/Pagination/Pagination.esm.js +9 -9
- package/dist/Pagination/package.json +1 -1
- package/dist/PaginationSimple/PaginationSimple.cjs.js +9 -9
- package/dist/PaginationSimple/PaginationSimple.esm.js +9 -9
- package/dist/PaginationSimple/package.json +1 -1
- package/dist/Poster/Poster.cjs.js +6 -6
- package/dist/Poster/Poster.esm.js +6 -6
- package/dist/Poster/package.json +1 -1
- package/dist/ProgressBar/ProgressBar.cjs.js +20 -22
- package/dist/ProgressBar/ProgressBar.esm.js +17 -19
- package/dist/ProgressBar/package.json +1 -1
- package/dist/ProgressStepper/ProgressStepper.cjs.js +8 -8
- package/dist/ProgressStepper/ProgressStepper.esm.js +8 -8
- package/dist/ProgressStepper/package.json +1 -1
- package/dist/RadioGroup/RadioGroup.cjs.js +10 -10
- package/dist/RadioGroup/RadioGroup.esm.js +10 -10
- package/dist/RadioGroup/package.json +1 -1
- package/dist/Rule/Rule.cjs.js +3 -3
- package/dist/Rule/Rule.esm.js +3 -3
- package/dist/Rule/package.json +1 -1
- package/dist/ScrollToTop/ScrollToTop.cjs.js +14 -16
- package/dist/ScrollToTop/ScrollToTop.esm.js +10 -12
- package/dist/ScrollToTop/package.json +1 -1
- package/dist/Section/Section.cjs.js +3 -3
- package/dist/Section/Section.esm.js +3 -3
- package/dist/Section/package.json +1 -1
- package/dist/Select/Select.cjs.js +192 -572
- package/dist/Select/Select.esm.js +55 -435
- package/dist/Select/package.json +1 -1
- package/dist/SiteFooter/SiteFooter.cjs.js +9 -9
- package/dist/SiteFooter/SiteFooter.esm.js +10 -10
- package/dist/SiteFooter/package.json +1 -1
- package/dist/SiteHeader/SiteHeader.cjs.js +13 -13
- package/dist/SiteHeader/SiteHeader.esm.js +13 -13
- package/dist/SiteHeader/package.json +1 -1
- package/dist/Surface/Surface.cjs.js +3 -3
- package/dist/Surface/Surface.esm.js +3 -3
- package/dist/Surface/package.json +1 -1
- package/dist/Switch/Switch.cjs.js +21 -244
- package/dist/Switch/Switch.esm.js +16 -239
- package/dist/Switch/package.json +1 -1
- package/dist/Tabs/Tabs.cjs.js +10 -10
- package/dist/Tabs/Tabs.esm.js +10 -10
- package/dist/Tabs/package.json +1 -1
- package/dist/Tag/Tag.cjs.js +18 -22
- package/dist/Tag/Tag.esm.js +14 -18
- package/dist/Tag/package.json +1 -1
- package/dist/Text/Text.cjs.js +5 -5
- package/dist/Text/Text.esm.js +5 -5
- package/dist/Text/package.json +1 -1
- package/dist/TextArea/TextArea.cjs.js +45 -45
- package/dist/TextArea/TextArea.esm.js +45 -45
- package/dist/TextArea/package.json +1 -1
- package/dist/TextInput/TextInput.cjs.js +10 -10
- package/dist/TextInput/TextInput.esm.js +10 -10
- package/dist/TextInput/package.json +1 -1
- package/dist/Toast/Toast.cjs.js +13 -13
- package/dist/Toast/Toast.esm.js +13 -13
- package/dist/Toast/package.json +1 -1
- package/dist/Truncate/Truncate.cjs.js +1 -1
- package/dist/Truncate/Truncate.esm.js +1 -1
- package/dist/Truncate/package.json +1 -1
- package/dist/UniversalHeader/UniversalHeader.cjs.js +4 -4
- package/dist/UniversalHeader/UniversalHeader.esm.js +4 -4
- package/dist/UniversalHeader/package.json +1 -1
- package/dist/VerticalSpace/VerticalSpace.cjs.js +3 -3
- package/dist/VerticalSpace/VerticalSpace.esm.js +3 -3
- package/dist/VerticalSpace/package.json +1 -1
- package/dist/VisuallyHidden/package.json +1 -1
- package/dist/_shared/cjs/{Base-569e4334.js → Base-f5a86eed.js} +1 -1
- package/dist/_shared/cjs/{BrandLogo-8107d59f.js → BrandLogo-f001e0c0.js} +4 -4
- package/dist/_shared/cjs/{Breadcrumbs-0906dd10.js → Breadcrumbs-9aa1d18b.js} +7 -9
- package/dist/_shared/cjs/{BtIconAlert-637db790.js → BtIconAlert.esm-e62a75b7.js} +8 -10
- package/dist/_shared/cjs/{BtIconChevronDown2Px-8fb4e2eb.js → BtIconChevronDown2Px.esm-c6f8ced2.js} +6 -8
- package/dist/_shared/cjs/{BtIconChevronLeftMid-df952a3e.js → BtIconChevronLeftMid.esm-7c2fc822.js} +5 -7
- package/dist/_shared/cjs/{BtIconChevronRight2Px-a8e40136.js → BtIconChevronRight2Px.esm-3c438341.js} +10 -14
- package/dist/_shared/cjs/{BtIconChevronRightMid-5a38d855.js → BtIconChevronRightMid.esm-cce080c8.js} +5 -7
- package/dist/_shared/cjs/{BtIconCrossAlt2Px-30dc2688.js → BtIconCrossAlt2Px.esm-c002bf55.js} +6 -8
- package/dist/_shared/cjs/{BtIconTick-42fcc5ec.js → BtIconTick.esm-613dfd8a.js} +18 -24
- package/dist/_shared/cjs/{BtIconTickAlt2Px-bdf06f8c.js → BtIconTickAlt2Px.esm-4862184c.js} +6 -8
- package/dist/_shared/cjs/{Button-5aaa6776.js → Button-c22c9787.js} +8 -8
- package/dist/_shared/cjs/{Card-fd189ba8.js → Card-55a1c129.js} +9 -11
- package/dist/_shared/cjs/{Checkbox-02c546ca.js → Checkbox-7ce718e7.js} +8 -8
- package/dist/_shared/cjs/{Columns-e90798f8.js → Columns-ae4f8cef.js} +3 -4
- package/dist/_shared/cjs/{Curve-781ef633.js → Curve-d038052b.js} +3 -3
- package/dist/_shared/cjs/{DisclosureMini-52706ee6.js → DisclosureMini-c666cc4d.js} +6 -6
- package/dist/_shared/cjs/{Filter-a7574fe7.js → Filter-22b8b171.js} +3 -7
- package/dist/_shared/cjs/{FormControl-1e1bf2bf.js → FormControl-5541ac3a.js} +6 -6
- package/dist/_shared/cjs/{Group-f85dd4c0.js → Group-143a4578.js} +4 -5
- package/dist/_shared/cjs/{Heading-e3332dcf.js → Heading-ba2f74ad.js} +4 -5
- package/dist/_shared/cjs/{Icon-e1dd45eb.js → Icon-cf30e736.js} +10 -12
- package/dist/_shared/cjs/{Image-0e393cbf.js → Image-e873b8fc.js} +3 -4
- package/dist/_shared/cjs/{Poster-faea1ad3.js → Poster-62e2ba67.js} +5 -9
- package/dist/_shared/cjs/{ProgressStepper-f740d7bb.js → ProgressStepper-92668367.js} +26 -31
- package/dist/_shared/cjs/{RadioGroup-d7664b0c.js → RadioGroup-66c1e882.js} +4 -5
- package/dist/_shared/cjs/{Section-48aca5f5.js → Section-59804166.js} +2 -2
- package/dist/_shared/cjs/{SiteFooter-5da774e1.js → SiteFooter-d3babe07.js} +7 -9
- package/dist/_shared/cjs/{SiteHeader.rehydrator-acc9d8c4.js → SiteHeader.rehydrator-b7284004.js} +16 -24
- package/dist/_shared/cjs/{Surface-b7c51b2b.js → Surface-80c0909a.js} +2 -2
- package/dist/_shared/cjs/{Tabs-fda49692.js → Tabs-65e7af8a.js} +60 -67
- package/dist/_shared/cjs/{Text-fa447e2d.js → Text-76b7fea1.js} +4 -4
- package/dist/_shared/cjs/{TextInput-f4549637.js → TextInput-5bee337d.js} +4 -4
- package/dist/_shared/cjs/{Toast-0cb23cae.js → Toast-874d9be4.js} +16 -25
- package/dist/_shared/cjs/{UniversalHeader-da622e1a.js → UniversalHeader-f5a225b6.js} +2 -3
- package/dist/_shared/cjs/{VerticalSpace-86f697e7.js → VerticalSpace-dc53bb70.js} +2 -2
- package/dist/_shared/cjs/{extends-bb8ffacd.js → extends-8c5e4b48.js} +1 -4
- package/dist/_shared/cjs/filter-data-attrs-1c9a530c.js +227 -0
- package/dist/_shared/cjs/{index-ec260f5e.js → index-43458549.js} +13 -96
- package/dist/_shared/cjs/{index-96c4d581.js → index-6b2a9ac3.js} +2 -2
- package/dist/_shared/cjs/{index-45bfb67b.js → index-9947ac13.js} +11 -10
- package/dist/_shared/cjs/{index-fb4b8fda.js → index-adbb63da.js} +2 -9
- package/dist/_shared/cjs/{index-27b53d49.js → index-b2fd6338.js} +3 -80
- package/dist/_shared/cjs/{index-952918c9.js → index-c575a255.js} +11 -10
- package/dist/_shared/cjs/index.module-dd1d7d0b.js +382 -0
- package/dist/_shared/cjs/{suffix-modifier-1ee2da04.js → suffix-modifier-64dcd338.js} +1 -1
- package/dist/_shared/esm/{Base-6c01e0ec.js → Base-f200653c.js} +1 -1
- package/dist/_shared/esm/{BrandLogo-9ec620e8.js → BrandLogo-51fc6f15.js} +4 -4
- package/dist/_shared/esm/{Breadcrumbs-dafa8dde.js → Breadcrumbs-50d0f406.js} +7 -9
- package/dist/_shared/esm/{BtIconAlert-55a6ed5c.js → BtIconAlert.esm-09346130.js} +6 -8
- package/dist/_shared/esm/{BtIconChevronDown2Px-782876e2.js → BtIconChevronDown2Px.esm-345d78fe.js} +4 -6
- package/dist/_shared/esm/{BtIconChevronLeftMid-9f4f3a3d.js → BtIconChevronLeftMid.esm-e69276cb.js} +3 -5
- package/dist/_shared/esm/{BtIconChevronRight2Px-b8e7b4ad.js → BtIconChevronRight2Px.esm-2c693ef3.js} +7 -11
- package/dist/_shared/esm/{BtIconChevronRightMid-d9b11761.js → BtIconChevronRightMid.esm-24809a93.js} +3 -5
- package/dist/_shared/esm/{BtIconCrossAlt2Px-a6a9f431.js → BtIconCrossAlt2Px.esm-425a6beb.js} +4 -6
- package/dist/_shared/esm/{BtIconTick-5fe50cc7.js → BtIconTick.esm-673282f5.js} +14 -20
- package/dist/_shared/esm/{BtIconTickAlt2Px-da97e9ae.js → BtIconTickAlt2Px.esm-ce22224b.js} +4 -6
- package/dist/_shared/esm/{Button-d1dbcf79.js → Button-67f68b14.js} +8 -8
- package/dist/_shared/esm/{Card-e62c3ff6.js → Card-bf0c3b0b.js} +9 -11
- package/dist/_shared/esm/{Checkbox-d8891198.js → Checkbox-50e2d4ab.js} +8 -8
- package/dist/_shared/esm/{Columns-8704515b.js → Columns-d96b7425.js} +3 -4
- package/dist/_shared/esm/{Curve-bbc5589c.js → Curve-d8679dde.js} +3 -3
- package/dist/_shared/esm/{DisclosureMini-9b819941.js → DisclosureMini-376c013c.js} +6 -6
- package/dist/_shared/esm/{Filter-a01aed11.js → Filter-f7ac126b.js} +3 -7
- package/dist/_shared/esm/{FormControl-f18e2f59.js → FormControl-aad4288c.js} +6 -6
- package/dist/_shared/esm/{Group-fb26fd32.js → Group-0129c979.js} +4 -5
- package/dist/_shared/esm/{Heading-0f629151.js → Heading-8bb7b7c0.js} +4 -5
- package/dist/_shared/esm/{Icon-c1af47bc.js → Icon-3bfabb14.js} +7 -9
- package/dist/_shared/esm/{Image-3ed3863c.js → Image-12fbd327.js} +3 -4
- package/dist/_shared/esm/{Poster-a83ae770.js → Poster-046b0f77.js} +5 -9
- package/dist/_shared/esm/{ProgressStepper-7ab88f4c.js → ProgressStepper-3ffbdb73.js} +23 -28
- package/dist/_shared/esm/{RadioGroup-be16d5d3.js → RadioGroup-1273a716.js} +4 -5
- package/dist/_shared/esm/{Section-b8038d66.js → Section-73781b56.js} +2 -2
- package/dist/_shared/esm/{SiteFooter-a182cb18.js → SiteFooter-60d1b216.js} +7 -9
- package/dist/_shared/esm/{SiteHeader.rehydrator-023b7b76.js → SiteHeader.rehydrator-029f568e.js} +16 -24
- package/dist/_shared/esm/{Surface-dde51789.js → Surface-c6e817cd.js} +2 -2
- package/dist/_shared/esm/{Tabs-5af0b940.js → Tabs-ec960828.js} +16 -23
- package/dist/_shared/esm/{Text-40457811.js → Text-a3720712.js} +4 -4
- package/dist/_shared/esm/{TextInput-4424c195.js → TextInput-732f0b51.js} +4 -4
- package/dist/_shared/esm/{Toast-43795e91.js → Toast-b81384a4.js} +16 -25
- package/dist/_shared/esm/{UniversalHeader-1c5a886d.js → UniversalHeader-354a1867.js} +2 -3
- package/dist/_shared/esm/{VerticalSpace-93980c9c.js → VerticalSpace-43cd9138.js} +2 -2
- package/dist/_shared/esm/{extends-4575346e.js → extends-8cc61aad.js} +1 -4
- package/dist/_shared/esm/filter-data-attrs-ea8f4ed4.js +220 -0
- package/dist/_shared/esm/{index-22aad354.js → index-13d575cc.js} +11 -11
- package/dist/_shared/esm/{index-2ae58626.js → index-2e73c2e9.js} +11 -10
- package/dist/_shared/esm/{index-94ecc5f8.js → index-3797d77e.js} +2 -2
- package/dist/_shared/esm/{index-369dce7f.js → index-41d7af2b.js} +9 -92
- package/dist/_shared/esm/{index-8000d9e3.js → index-a1d2d9b3.js} +2 -79
- package/dist/_shared/esm/{index-bed18a88.js → index-efd9ef1c.js} +1 -9
- package/dist/_shared/esm/index.module-44714d3f.js +371 -0
- package/dist/_shared/esm/{suffix-modifier-7e640670.js → suffix-modifier-3d548e45.js} +1 -1
- package/dist/index.es.js +675 -1343
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1104 -1772
- package/dist/index.js.map +1 -1
- package/dist/styles.css +11 -1
- package/dist/types/components/Button/Button.d.ts +2 -2
- package/dist/types/components/Card/Card.d.ts +1 -1
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/Clock/Clock.d.ts +1 -1
- package/dist/types/components/Columns/Columns.d.ts +2 -2
- package/dist/types/components/FormControl/FormControl.d.ts +1 -1
- package/dist/types/components/Group/GroupItem/GroupItem.d.ts +17 -0
- package/dist/types/components/Heading/Heading.d.ts +4 -4
- package/dist/types/components/MediaCard/MediaCard.stories-wip.d.ts +15 -0
- package/dist/types/components/ProgressBar/types/progress-bar-icons.d.ts +1 -1
- package/dist/types/components/ProgressBar/types/progress-bar-state.d.ts +1 -1
- package/dist/types/components/ProgressStepper/progressStatus.d.ts +1 -1
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/components/RadioGroup/context.d.ts +2 -2
- package/dist/types/components/Surface/Surface.d.ts +3 -3
- package/dist/types/components/Text/Text.d.ts +2 -2
- package/dist/types/components/TextArea/TextArea.d.ts +1 -1
- package/dist/types/components/TextInput/TextInput.d.ts +1 -1
- package/dist/types/components/Toast/Toast.d.ts +3 -0
- package/dist/types/components/Toast/ToastNotification.d.ts +1 -1
- package/dist/types/components/VerticalSpace/VerticalSpace.d.ts +1 -1
- package/dist/types/types/arc-icon.d.ts +1 -1
- package/package.json +44 -15
- package/dist/Alert/Alert.cjs.d.ts +0 -57
- package/dist/Alert/Alert.esm.d.ts +0 -57
- package/dist/Align/Align.cjs.d.ts +0 -25
- package/dist/Align/Align.esm.d.ts +0 -25
- package/dist/Badge/Badge.cjs.d.ts +0 -30
- package/dist/Badge/Badge.esm.d.ts +0 -30
- package/dist/Base/Base.cjs.d.ts +0 -1
- package/dist/Base/Base.esm.d.ts +0 -1
- package/dist/Box/Box.cjs.d.ts +0 -40
- package/dist/Box/Box.esm.d.ts +0 -40
- package/dist/BrandLogo/BrandLogo.cjs.d.ts +0 -1
- package/dist/BrandLogo/BrandLogo.esm.d.ts +0 -1
- package/dist/Breadcrumbs/Breadcrumbs.cjs.d.ts +0 -1
- package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +0 -1
- package/dist/Button/Button.cjs.d.ts +0 -1
- package/dist/Button/Button.esm.d.ts +0 -1
- package/dist/Card/Card.cjs.d.ts +0 -1
- package/dist/Card/Card.esm.d.ts +0 -1
- package/dist/Checkbox/Checkbox.cjs.d.ts +0 -1
- package/dist/Checkbox/Checkbox.esm.d.ts +0 -1
- package/dist/Clock/Clock.cjs.d.ts +0 -15
- package/dist/Clock/Clock.esm.d.ts +0 -15
- package/dist/Columns/Columns.cjs.d.ts +0 -1
- package/dist/Columns/Columns.esm.d.ts +0 -1
- package/dist/Curve/Curve.cjs.d.ts +0 -1
- package/dist/Curve/Curve.esm.d.ts +0 -1
- package/dist/Disclosure/Disclosure.cjs.d.ts +0 -31
- package/dist/Disclosure/Disclosure.esm.d.ts +0 -31
- package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +0 -1
- package/dist/DisclosureMini/DisclosureMini.esm.d.ts +0 -1
- package/dist/Elevation/Elevation.cjs.d.ts +0 -20
- package/dist/Elevation/Elevation.esm.d.ts +0 -20
- package/dist/Filter/Filter.cjs.d.ts +0 -1
- package/dist/Filter/Filter.esm.d.ts +0 -1
- package/dist/FormControl/FormControl.cjs.d.ts +0 -1
- package/dist/FormControl/FormControl.esm.d.ts +0 -1
- package/dist/Group/Group.cjs.d.ts +0 -1
- package/dist/Group/Group.esm.d.ts +0 -1
- package/dist/Heading/Heading.cjs.d.ts +0 -1
- package/dist/Heading/Heading.esm.d.ts +0 -1
- package/dist/Icon/Icon.cjs.d.ts +0 -1
- package/dist/Icon/Icon.esm.d.ts +0 -1
- package/dist/Image/Image.cjs.d.ts +0 -1
- package/dist/Image/Image.esm.d.ts +0 -1
- package/dist/Markup/Markup.cjs.d.ts +0 -16
- package/dist/Markup/Markup.esm.d.ts +0 -16
- package/dist/Modal/Modal.cjs.d.ts +0 -53
- package/dist/Modal/Modal.esm.d.ts +0 -53
- package/dist/Pagination/Pagination.cjs.d.ts +0 -20
- package/dist/Pagination/Pagination.esm.d.ts +0 -20
- package/dist/PaginationSimple/PaginationSimple.cjs.d.ts +0 -28
- package/dist/PaginationSimple/PaginationSimple.esm.d.ts +0 -28
- package/dist/Poster/Poster.cjs.d.ts +0 -1
- package/dist/Poster/Poster.esm.d.ts +0 -1
- package/dist/ProgressBar/ProgressBar.cjs.d.ts +0 -47
- package/dist/ProgressBar/ProgressBar.esm.d.ts +0 -47
- package/dist/ProgressStepper/ProgressStepper.cjs.d.ts +0 -1
- package/dist/ProgressStepper/ProgressStepper.esm.d.ts +0 -1
- package/dist/RadioGroup/RadioGroup.cjs.d.ts +0 -1
- package/dist/RadioGroup/RadioGroup.esm.d.ts +0 -1
- package/dist/Rule/Rule.cjs.d.ts +0 -8
- package/dist/Rule/Rule.esm.d.ts +0 -8
- package/dist/ScrollToTop/ScrollToTop.cjs.d.ts +0 -25
- package/dist/ScrollToTop/ScrollToTop.esm.d.ts +0 -25
- package/dist/Section/Section.cjs.d.ts +0 -1
- package/dist/Section/Section.esm.d.ts +0 -1
- package/dist/Select/Select.cjs.d.ts +0 -25
- package/dist/Select/Select.esm.d.ts +0 -25
- package/dist/SiteFooter/SiteFooter.cjs.d.ts +0 -4
- package/dist/SiteFooter/SiteFooter.esm.d.ts +0 -4
- package/dist/SiteHeader/SiteHeader.cjs.d.ts +0 -2
- package/dist/SiteHeader/SiteHeader.esm.d.ts +0 -2
- package/dist/Surface/Surface.cjs.d.ts +0 -1
- package/dist/Surface/Surface.esm.d.ts +0 -1
- package/dist/Switch/Switch.cjs.d.ts +0 -40
- package/dist/Switch/Switch.esm.d.ts +0 -40
- package/dist/Tabs/Tabs.cjs.d.ts +0 -1
- package/dist/Tabs/Tabs.esm.d.ts +0 -1
- package/dist/Tag/Tag.cjs.d.ts +0 -33
- package/dist/Tag/Tag.esm.d.ts +0 -33
- package/dist/Text/Text.cjs.d.ts +0 -1
- package/dist/Text/Text.esm.d.ts +0 -1
- package/dist/TextArea/TextArea.cjs.d.ts +0 -64
- package/dist/TextArea/TextArea.esm.d.ts +0 -64
- package/dist/TextInput/TextInput.cjs.d.ts +0 -1
- package/dist/TextInput/TextInput.esm.d.ts +0 -1
- package/dist/Toast/Toast.cjs.d.ts +0 -1
- package/dist/Toast/Toast.esm.d.ts +0 -1
- package/dist/Truncate/Truncate.cjs.d.ts +0 -18
- package/dist/Truncate/Truncate.esm.d.ts +0 -18
- package/dist/UniversalHeader/UniversalHeader.cjs.d.ts +0 -1
- package/dist/UniversalHeader/UniversalHeader.esm.d.ts +0 -1
- package/dist/VerticalSpace/VerticalSpace.cjs.d.ts +0 -1
- package/dist/VerticalSpace/VerticalSpace.esm.d.ts +0 -1
- package/dist/VisuallyHidden/VisuallyHidden.cjs.d.ts +0 -1
- package/dist/VisuallyHidden/VisuallyHidden.esm.d.ts +0 -1
- package/dist/_shared/cjs/Base-569e4334.d.ts +0 -19
- package/dist/_shared/cjs/BrandLogo-8107d59f.d.ts +0 -26
- package/dist/_shared/cjs/Breadcrumbs-0906dd10.d.ts +0 -61
- package/dist/_shared/cjs/Button-5aaa6776.d.ts +0 -102
- package/dist/_shared/cjs/Card-fd189ba8.d.ts +0 -136
- package/dist/_shared/cjs/Checkbox-02c546ca.d.ts +0 -64
- package/dist/_shared/cjs/Columns-e90798f8.d.ts +0 -76
- package/dist/_shared/cjs/Curve-781ef633.d.ts +0 -35
- package/dist/_shared/cjs/DisclosureMini-52706ee6.d.ts +0 -37
- package/dist/_shared/cjs/Filter-a7574fe7.d.ts +0 -83
- package/dist/_shared/cjs/FormControl-1e1bf2bf.d.ts +0 -99
- package/dist/_shared/cjs/Group-f85dd4c0.d.ts +0 -46
- package/dist/_shared/cjs/Heading-e3332dcf.d.ts +0 -50
- package/dist/_shared/cjs/Icon-e1dd45eb.d.ts +0 -34
- package/dist/_shared/cjs/Image-0e393cbf.d.ts +0 -94
- package/dist/_shared/cjs/ItemGroup-5af4d600.d.ts +0 -27
- package/dist/_shared/cjs/MediaCard-9483ad5f.d.ts +0 -60
- package/dist/_shared/cjs/NavItem-df20237c.d.ts +0 -43
- package/dist/_shared/cjs/NavItemWithSubNav-65f21828.d.ts +0 -49
- package/dist/_shared/cjs/Poster-faea1ad3.d.ts +0 -81
- package/dist/_shared/cjs/ProgressStepper-f740d7bb.d.ts +0 -89
- package/dist/_shared/cjs/RadioGroup-d7664b0c.d.ts +0 -97
- package/dist/_shared/cjs/Section-48aca5f5.d.ts +0 -21
- package/dist/_shared/cjs/SiteFooter-5da774e1.d.ts +0 -62
- package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +0 -78
- package/dist/_shared/cjs/SiteHeader.rehydrator-acc9d8c4.d.ts +0 -78
- package/dist/_shared/cjs/SubNavItem-a84d1bf4.d.ts +0 -48
- package/dist/_shared/cjs/Surface-b7c51b2b.d.ts +0 -51
- package/dist/_shared/cjs/Tabs-fda49692.d.ts +0 -75
- package/dist/_shared/cjs/Text-fa447e2d.d.ts +0 -38
- package/dist/_shared/cjs/TextInput-13050538.d.ts +0 -77
- package/dist/_shared/cjs/TextInput-f4549637.d.ts +0 -10
- package/dist/_shared/cjs/Toast-0cb23cae.d.ts +0 -52
- package/dist/_shared/cjs/UniversalHeader-da622e1a.d.ts +0 -26
- package/dist/_shared/cjs/VerticalSpace-86f697e7.d.ts +0 -34
- package/dist/_shared/cjs/VisuallyHidden-e2c8b291.d.ts +0 -12
- package/dist/_shared/cjs/arc-icon-17594b2f.d.ts +0 -4
- package/dist/_shared/cjs/filter-data-attrs-a30dcf5f.d.ts +0 -2
- package/dist/_shared/cjs/filter-data-attrs-a30dcf5f.js +0 -215
- package/dist/_shared/cjs/handle-link-click-17a44cf4.d.ts +0 -7
- package/dist/_shared/cjs/index-699086a7.d.ts +0 -2
- package/dist/_shared/cjs/index-74488a9f.d.ts +0 -2
- package/dist/_shared/cjs/index-9483ad5f.d.ts +0 -14
- package/dist/_shared/cjs/index-c81c9401.d.ts +0 -4
- package/dist/_shared/cjs/index-e340924e.d.ts +0 -2
- package/dist/_shared/cjs/index-e6d20018.d.ts +0 -3
- package/dist/_shared/cjs/index-eb06f640.d.ts +0 -2
- package/dist/_shared/cjs/index-f419cf04.d.ts +0 -2
- package/dist/_shared/cjs/index.es-77def0c9.d.ts +0 -19
- package/dist/_shared/cjs/index.module-bbcc4e18.js +0 -126
- package/dist/_shared/cjs/suffix-modifier-1ee2da04.d.ts +0 -10
- package/dist/_shared/esm/Base-6c01e0ec.d.ts +0 -19
- package/dist/_shared/esm/BrandLogo-9ec620e8.d.ts +0 -26
- package/dist/_shared/esm/Breadcrumbs-dafa8dde.d.ts +0 -61
- package/dist/_shared/esm/Button-d1dbcf79.d.ts +0 -102
- package/dist/_shared/esm/Card-e62c3ff6.d.ts +0 -136
- package/dist/_shared/esm/Checkbox-d8891198.d.ts +0 -64
- package/dist/_shared/esm/Columns-8704515b.d.ts +0 -76
- package/dist/_shared/esm/Curve-bbc5589c.d.ts +0 -35
- package/dist/_shared/esm/DisclosureMini-9b819941.d.ts +0 -37
- package/dist/_shared/esm/Filter-a01aed11.d.ts +0 -83
- package/dist/_shared/esm/FormControl-f18e2f59.d.ts +0 -99
- package/dist/_shared/esm/Group-fb26fd32.d.ts +0 -46
- package/dist/_shared/esm/Heading-0f629151.d.ts +0 -50
- package/dist/_shared/esm/Icon-c1af47bc.d.ts +0 -34
- package/dist/_shared/esm/Image-3ed3863c.d.ts +0 -94
- package/dist/_shared/esm/ItemGroup-5af4d600.d.ts +0 -27
- package/dist/_shared/esm/MediaCard-9483ad5f.d.ts +0 -60
- package/dist/_shared/esm/NavItem-df20237c.d.ts +0 -43
- package/dist/_shared/esm/NavItemWithSubNav-65f21828.d.ts +0 -49
- package/dist/_shared/esm/Poster-a83ae770.d.ts +0 -81
- package/dist/_shared/esm/ProgressStepper-7ab88f4c.d.ts +0 -89
- package/dist/_shared/esm/RadioGroup-be16d5d3.d.ts +0 -97
- package/dist/_shared/esm/Section-b8038d66.d.ts +0 -21
- package/dist/_shared/esm/SiteFooter-a182cb18.d.ts +0 -62
- package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +0 -78
- package/dist/_shared/esm/SiteHeader.rehydrator-023b7b76.d.ts +0 -78
- package/dist/_shared/esm/SubNavItem-a84d1bf4.d.ts +0 -48
- package/dist/_shared/esm/Surface-dde51789.d.ts +0 -51
- package/dist/_shared/esm/Tabs-5af0b940.d.ts +0 -75
- package/dist/_shared/esm/Text-40457811.d.ts +0 -38
- package/dist/_shared/esm/TextInput-13050538.d.ts +0 -77
- package/dist/_shared/esm/TextInput-4424c195.d.ts +0 -10
- package/dist/_shared/esm/Toast-43795e91.d.ts +0 -52
- package/dist/_shared/esm/UniversalHeader-1c5a886d.d.ts +0 -26
- package/dist/_shared/esm/VerticalSpace-93980c9c.d.ts +0 -34
- package/dist/_shared/esm/VisuallyHidden-b9eebf71.d.ts +0 -12
- package/dist/_shared/esm/arc-icon-17594b2f.d.ts +0 -4
- package/dist/_shared/esm/filter-data-attrs-afdb7d32.d.ts +0 -2
- package/dist/_shared/esm/filter-data-attrs-afdb7d32.js +0 -208
- package/dist/_shared/esm/handle-link-click-f64f55a2.d.ts +0 -7
- package/dist/_shared/esm/index-699086a7.d.ts +0 -2
- package/dist/_shared/esm/index-74488a9f.d.ts +0 -2
- package/dist/_shared/esm/index-9483ad5f.d.ts +0 -14
- package/dist/_shared/esm/index-c81c9401.d.ts +0 -4
- package/dist/_shared/esm/index-e340924e.d.ts +0 -2
- package/dist/_shared/esm/index-e6d20018.d.ts +0 -3
- package/dist/_shared/esm/index-eb06f640.d.ts +0 -2
- package/dist/_shared/esm/index-f419cf04.d.ts +0 -2
- package/dist/_shared/esm/index.es-00cb3bcb.d.ts +0 -19
- package/dist/_shared/esm/index.module-5ed90b21.js +0 -122
- package/dist/_shared/esm/suffix-modifier-7e640670.d.ts +0 -10
- /package/dist/_shared/cjs/{debounce-506538c5.js → debounce-123468fb.js} +0 -0
- /package/dist/_shared/esm/{debounce-e228705f.js → debounce-6fed6b84.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-
|
|
2
|
-
import { c as classNames } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
|
|
2
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
|
|
2
2
|
import { u as useMediaQuery, A as ArcBreakpointM } from './index.es-00cb3bcb.js';
|
|
3
|
-
import { B as
|
|
3
|
+
import { B as BtIconChevronDown2Px } from './BtIconChevronDown2Px.esm-345d78fe.js';
|
|
4
4
|
import React__default, { useEffect, Fragment } from 'react';
|
|
5
|
-
import { B as BrandLogo } from './BrandLogo-
|
|
6
|
-
import { C as Curve } from './Curve-
|
|
7
|
-
import { S as Section } from './Section-
|
|
8
|
-
import { S as Surface } from './Surface-
|
|
5
|
+
import { B as BrandLogo } from './BrandLogo-51fc6f15.js';
|
|
6
|
+
import { C as Curve } from './Curve-d8679dde.js';
|
|
7
|
+
import { S as Section } from './Section-73781b56.js';
|
|
8
|
+
import { S as Surface } from './Surface-c6e817cd.js';
|
|
9
9
|
import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -50,7 +50,7 @@ var SiteFooterItemGroup = function (_a) {
|
|
|
50
50
|
return (React__default.createElement("details", { className: "arc-SiteFooter-disclosure", open: isMinWidthArcBreakpointM },
|
|
51
51
|
React__default.createElement("summary", { className: "arc-SiteFooter-summary", tabIndex: isMinWidthArcBreakpointM ? -1 : 0 },
|
|
52
52
|
React__default.createElement("span", { className: "arc-SiteFooter-icon" },
|
|
53
|
-
React__default.createElement(
|
|
53
|
+
React__default.createElement(BtIconChevronDown2Px, null)),
|
|
54
54
|
React__default.createElement("h2", { className: "arc-SiteFooter-title" }, title)),
|
|
55
55
|
React__default.createElement("ul", { className: "arc-SiteFooter-mainItems" }, children)));
|
|
56
56
|
};
|
|
@@ -59,9 +59,7 @@ var SiteFooterItem = function (_a) {
|
|
|
59
59
|
return (React__default.createElement("li", __assign({ className: "arc-SiteFooter-item" }, filterDataAttrs(props)),
|
|
60
60
|
React__default.createElement("a", { onClick: handleLinkClick({ handler: onClick }), className: "arc-SiteFooter-link", href: href }, children)));
|
|
61
61
|
};
|
|
62
|
-
SiteFooterItem.displayName = "SiteFooter.Item";
|
|
63
62
|
SiteFooter.Item = SiteFooterItem;
|
|
64
|
-
SiteFooterItemGroup.displayName = "SiteFooter.ItemGroup";
|
|
65
63
|
SiteFooter.ItemGroup = SiteFooterItemGroup;
|
|
66
64
|
|
|
67
65
|
export { SiteFooter as S };
|
package/dist/_shared/esm/{SiteHeader.rehydrator-023b7b76.js → SiteHeader.rehydrator-029f568e.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs, d as __awaiter, e as __generator } from './filter-data-attrs-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs, d as __awaiter, e as __generator } from './filter-data-attrs-ea8f4ed4.js';
|
|
2
2
|
import React__default, { useState, useEffect, Fragment, useContext, useRef, createContext } from 'react';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
4
4
|
import { u as useMediaQuery, a as ArcBreakpointL } from './index.es-00cb3bcb.js';
|
|
5
|
-
import { B as
|
|
5
|
+
import { B as BtIconChevronDown2Px } from './BtIconChevronDown2Px.esm-345d78fe.js';
|
|
6
6
|
import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
|
|
7
|
-
import { a as
|
|
8
|
-
import { S as Surface } from './Surface-
|
|
9
|
-
import { B as BrandLogo } from './BrandLogo-
|
|
10
|
-
import { B as Button } from './Button-
|
|
11
|
-
import { s as suffixModifier } from './suffix-modifier-
|
|
12
|
-
import { T as Text } from './Text-
|
|
7
|
+
import { a as BtIconChevronRight2Px, B as BtIconChevronLeft2Px } from './BtIconChevronRight2Px.esm-2c693ef3.js';
|
|
8
|
+
import { S as Surface } from './Surface-c6e817cd.js';
|
|
9
|
+
import { B as BrandLogo } from './BrandLogo-51fc6f15.js';
|
|
10
|
+
import { B as Button } from './Button-67f68b14.js';
|
|
11
|
+
import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
|
|
12
|
+
import { T as Text } from './Text-a3720712.js';
|
|
13
13
|
|
|
14
14
|
var Item = function (_a) {
|
|
15
15
|
var _b;
|
|
@@ -20,7 +20,7 @@ var Item = function (_a) {
|
|
|
20
20
|
_b)) }, filterDataAttrs(props)),
|
|
21
21
|
React__default.createElement("a", { onClick: handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderItem-link", href: href },
|
|
22
22
|
isEmphasised && (React__default.createElement("span", { className: "arc-SiteHeaderItem-linkIcon" },
|
|
23
|
-
React__default.createElement(
|
|
23
|
+
React__default.createElement(BtIconChevronRight2Px, null))),
|
|
24
24
|
children)));
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -50,7 +50,7 @@ var ItemGroup = function (_a) {
|
|
|
50
50
|
}), className: "arc-SiteHeaderItemGroup-title", href: href, tabIndex: !hasClientSideJavaScript || isMinWidthArcBreakpointL ? 0 : -1 },
|
|
51
51
|
title,
|
|
52
52
|
React__default.createElement("span", { className: "arc-SiteHeaderItemGroup-titleIcon" },
|
|
53
|
-
React__default.createElement(
|
|
53
|
+
React__default.createElement(BtIconChevronDown2Px, null)))) : (React__default.createElement("div", { className: "arc-SiteHeaderItemGroup-title" }, title)))) : null,
|
|
54
54
|
React__default.createElement("ul", { className: "arc-SiteHeaderItemGroup-items" },
|
|
55
55
|
children,
|
|
56
56
|
href && title ? (React__default.createElement("li", { className: "arc-SiteHeaderItem arc-SiteHeaderItem--viewAll" },
|
|
@@ -108,7 +108,7 @@ var BackButton = function (_a) {
|
|
|
108
108
|
setOpen(false);
|
|
109
109
|
} },
|
|
110
110
|
React__default.createElement("span", { className: "arc-SiteHeaderBackButton-icon" },
|
|
111
|
-
React__default.createElement(
|
|
111
|
+
React__default.createElement(BtIconChevronLeft2Px, null)),
|
|
112
112
|
React__default.createElement("span", { className: "arc-SiteHeaderBackButton-text" }, "Back")));
|
|
113
113
|
};
|
|
114
114
|
|
|
@@ -192,9 +192,8 @@ var ViewAll = function (_a) {
|
|
|
192
192
|
return (React__default.createElement("a", { onClick: handleLinkClick({ handler: onClick }), className: "arc-SiteHeaderPanel-viewAll", href: href },
|
|
193
193
|
title,
|
|
194
194
|
React__default.createElement("span", { className: "arc-SiteHeaderPanel-viewAllIcon" },
|
|
195
|
-
React__default.createElement(
|
|
195
|
+
React__default.createElement(BtIconChevronRight2Px, null))));
|
|
196
196
|
};
|
|
197
|
-
ViewAll.displayName = "Panel.ViewAll";
|
|
198
197
|
Panel.ViewAll = ViewAll;
|
|
199
198
|
|
|
200
199
|
var NavItem = function (_a) {
|
|
@@ -227,7 +226,7 @@ var NavItem = function (_a) {
|
|
|
227
226
|
setPanelOpen(!panelOpen);
|
|
228
227
|
} },
|
|
229
228
|
React__default.createElement("span", null, title),
|
|
230
|
-
React__default.createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" }, isMinWidthArcBreakpointL ? (React__default.createElement(
|
|
229
|
+
React__default.createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" }, isMinWidthArcBreakpointL ? (React__default.createElement(BtIconChevronDown2Px, null)) : (React__default.createElement(BtIconChevronRight2Px, null)))),
|
|
231
230
|
React__default.createElement(Panel, { navItemRef: navItem, open: panelOpen, promo: promo, setOpen: setPanelOpen, viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : (undefined) }, children)))));
|
|
232
231
|
};
|
|
233
232
|
|
|
@@ -314,7 +313,7 @@ var SubNavItem = function (_a) {
|
|
|
314
313
|
} },
|
|
315
314
|
linkTitle,
|
|
316
315
|
children && (React__default.createElement("span", { className: "arc-SiteHeaderSubNavItem-linkIcon" },
|
|
317
|
-
React__default.createElement(
|
|
316
|
+
React__default.createElement(BtIconChevronRight2Px, null)))),
|
|
318
317
|
React__default.createElement(Panel, { navItemRef: navItem, open: panelOpen, setOpen: setPanelOpen, subNavItemRef: subNavItem, subNavLink: "arc-SiteHeaderSubNavItem-link", promo: promo, title: React__default.createElement("span", null,
|
|
319
318
|
title,
|
|
320
319
|
subTitle && (React__default.createElement(Text, { size: "xs", tone: "supporting" }, subTitle))), viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : (undefined) }, children)))));
|
|
@@ -425,7 +424,7 @@ var NavItemWithSubNav = function (_a) {
|
|
|
425
424
|
setPanelOpen(!panelOpen);
|
|
426
425
|
} },
|
|
427
426
|
title,
|
|
428
|
-
React__default.createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" }, isMinWidthArcBreakpointL ? (React__default.createElement(
|
|
427
|
+
React__default.createElement("span", { className: "arc-SiteHeaderNavItem-linkIcon" }, isMinWidthArcBreakpointL ? (React__default.createElement(BtIconChevronDown2Px, null)) : (React__default.createElement(BtIconChevronRight2Px, null)))),
|
|
429
428
|
React__default.createElement(Panel, { navItemRef: navItem, open: panelOpen, setOpen: setPanelOpen, title: subTitle, viewAll: href ? (React__default.createElement(Panel.ViewAll, { href: href, onClick: onViewAllClick, title: viewAllTitle || "View all ".concat(title.toLowerCase()) })) : (undefined), withSubNav: true },
|
|
430
429
|
defaultItem
|
|
431
430
|
? React__default.cloneElement(slot1, { isDefaultItem: defaultItem })
|
|
@@ -595,13 +594,6 @@ var SiteHeader = function (_a) {
|
|
|
595
594
|
basket ? (React__default.createElement("div", { className: "arc-SiteHeader-basket" }, basket)) : null,
|
|
596
595
|
hasLogin && (React__default.createElement(React__default.Fragment, null, loginOnClick ? (React__default.createElement("div", { className: "arc-SiteHeader-loginLink arc-SiteHeader-loginLink--function", onClick: loginOnClick }, loginTitle)) : (React__default.createElement("a", { className: "arc-SiteHeader-loginLink", href: loginHref }, loginTitle)))))))))));
|
|
597
596
|
};
|
|
598
|
-
Column.displayName = "SiteHeader.Column";
|
|
599
|
-
Item.displayName = "SiteHeader.Item";
|
|
600
|
-
ItemGroup.displayName = "SiteHeader.ItemGroup";
|
|
601
|
-
NavItem.displayName = "SiteHeader.NavItem";
|
|
602
|
-
NodeItem.displayName = "SiteHeader.NodeItem";
|
|
603
|
-
NavItemWithSubNav.displayName = "SiteHeader.NavItemWithSubNav";
|
|
604
|
-
SubNavItem.displayName = "SiteHeader.SubNavItem";
|
|
605
597
|
SiteHeader.Column = Column;
|
|
606
598
|
SiteHeader.Item = Item;
|
|
607
599
|
SiteHeader.ItemGroup = ItemGroup;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as __spreadArray, _ as __rest, a as __assign, c as camelCase, f as filterDataAttrs } from './filter-data-attrs-
|
|
2
|
-
import { c as classNames } from './index-
|
|
1
|
+
import { b as __spreadArray, _ as __rest, a as __assign, c as camelCase, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
|
|
2
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default, { createContext } from 'react';
|
|
4
4
|
|
|
5
5
|
var defaultContext = { surface: "light" };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
|
|
2
2
|
import React__default, { useContext, createContext, forwardRef, createElement, useRef, useState, useEffect, useCallback } from 'react';
|
|
3
|
-
import { _ as _extends } from './extends-
|
|
4
|
-
import {
|
|
5
|
-
import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-
|
|
6
|
-
import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from './index-
|
|
7
|
-
import { I as Icon } from './Icon-
|
|
8
|
-
import { C as Context } from './Surface-
|
|
9
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { _ as _extends } from './extends-8cc61aad.js';
|
|
4
|
+
import { c as $c512c27ab02ef895$export$50c7b4e9d9f19c1, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, d as $71cd76cc60e0454e$export$6f32135080cb4c3, $ as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, b as $8927f6f2acc4f386$export$250ffa63cdc0d034, g as $e42e1063c40fb3ef$export$b9ecd428b558ff10, e as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from './index-13d575cc.js';
|
|
5
|
+
import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-a1d2d9b3.js';
|
|
6
|
+
import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from './index-efd9ef1c.js';
|
|
7
|
+
import { I as Icon } from './Icon-3bfabb14.js';
|
|
8
|
+
import { C as Context } from './Surface-c6e817cd.js';
|
|
9
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
10
10
|
|
|
11
11
|
const $f631663db3294ace$var$DirectionContext = /*#__PURE__*/ createContext(undefined);
|
|
12
12
|
/* -----------------------------------------------------------------------------------------------*/ function $f631663db3294ace$export$b39126d51d94e6f3(localDir) {
|
|
@@ -400,9 +400,8 @@ var TabContent = function (_a) {
|
|
|
400
400
|
return (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: "arc-Tab-content", value: value }, children));
|
|
401
401
|
};
|
|
402
402
|
|
|
403
|
-
const React$1 = React__default;
|
|
404
403
|
const BtIconArrowRightFill = props =>
|
|
405
|
-
/*#__PURE__*/
|
|
404
|
+
/*#__PURE__*/ React__default.createElement(
|
|
406
405
|
"svg",
|
|
407
406
|
Object.assign(
|
|
408
407
|
{
|
|
@@ -411,18 +410,16 @@ const BtIconArrowRightFill = props =>
|
|
|
411
410
|
},
|
|
412
411
|
props
|
|
413
412
|
),
|
|
414
|
-
/*#__PURE__*/
|
|
415
|
-
/*#__PURE__*/
|
|
413
|
+
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
414
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
416
415
|
d:
|
|
417
416
|
"M2,16A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm16.85352-4.35352L23.207,16l-4.35351,4.35352a.5.5,0,0,1-.707-.707L21.293,16.5H9.5a.5.5,0,0,1,0-1H21.293l-3.14649-3.14648a.5.5,0,0,1,.707-.707Z",
|
|
418
417
|
fill: "currentColor"
|
|
419
418
|
})
|
|
420
419
|
);
|
|
421
|
-
var BtIconArrowRightFill_2 = BtIconArrowRightFill;
|
|
422
420
|
|
|
423
|
-
const React = React__default;
|
|
424
421
|
const BtIconArrowLeftFill = props =>
|
|
425
|
-
/*#__PURE__*/
|
|
422
|
+
/*#__PURE__*/ React__default.createElement(
|
|
426
423
|
"svg",
|
|
427
424
|
Object.assign(
|
|
428
425
|
{
|
|
@@ -431,14 +428,13 @@ const BtIconArrowLeftFill = props =>
|
|
|
431
428
|
},
|
|
432
429
|
props
|
|
433
430
|
),
|
|
434
|
-
/*#__PURE__*/
|
|
435
|
-
/*#__PURE__*/
|
|
431
|
+
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
432
|
+
/*#__PURE__*/ React__default.createElement("path", {
|
|
436
433
|
d:
|
|
437
434
|
"M30,16A14,14,0,1,0,16,30,14,14,0,0,0,30,16ZM13.14648,20.35352,8.793,16l4.35351-4.35352a.5.5,0,0,1,.707.707L10.707,15.5H22.5a.5.5,0,0,1,0,1H10.707l3.14649,3.14648a.5.5,0,0,1-.707.707Z",
|
|
438
435
|
fill: "currentColor"
|
|
439
436
|
})
|
|
440
437
|
);
|
|
441
|
-
var BtIconArrowLeftFill_2 = BtIconArrowLeftFill;
|
|
442
438
|
|
|
443
439
|
var TabsList = function (_a) {
|
|
444
440
|
var children = _a.children, type = _a.type, isJustified = _a.isJustified, ariaLabel = _a.ariaLabel, props = __rest(_a, ["children", "type", "isJustified", "ariaLabel"]);
|
|
@@ -483,20 +479,17 @@ var TabsList = function (_a) {
|
|
|
483
479
|
leftOverflow && (React__default.createElement("button", { className: classNames("arc-Tabs-overflowIcon arc-Tabs-overflowIcon--left", {
|
|
484
480
|
"arc-Tabs-overflowIcon--onDarkSurface": surface === "dark"
|
|
485
481
|
}), onClick: function () { return scrollTabs(-300); }, "aria-label": "Scroll Tabs Left", "data-testid": "arc-Tabs-overflowIconLeft" },
|
|
486
|
-
React__default.createElement(Icon, { icon:
|
|
482
|
+
React__default.createElement(Icon, { icon: BtIconArrowLeftFill, size: 40, color: "brand" }))),
|
|
487
483
|
rightOverflow && (React__default.createElement("button", { className: classNames("arc-Tabs-overflowIcon", {
|
|
488
484
|
"arc-Tabs-overflowIcon--onDarkSurface": surface === "dark"
|
|
489
485
|
}), onClick: function () { return scrollTabs(300); }, "aria-label": "Scroll Tabs Right", "data-testid": "arc-Tabs-overflowIconRight" },
|
|
490
|
-
React__default.createElement(Icon, { icon:
|
|
486
|
+
React__default.createElement(Icon, { icon: BtIconArrowRightFill, size: 40, color: "brand" })))));
|
|
491
487
|
};
|
|
492
488
|
|
|
493
489
|
var Tabs = function (_a) {
|
|
494
490
|
var children = _a.children, defaultValue = _a.defaultValue, onValueChange = _a.onValueChange, activationMode = _a.activationMode, props = __rest(_a, ["children", "defaultValue", "onValueChange", "activationMode"]);
|
|
495
491
|
return (React__default.createElement($69cb30bb0017df05$export$be92b6f5f03c0fe9, __assign({ className: "arc-Tabs-root", defaultValue: defaultValue, onValueChange: onValueChange, activationMode: activationMode }, filterDataAttrs(props)), children));
|
|
496
492
|
};
|
|
497
|
-
Tab.displayName = "Tabs.Tab";
|
|
498
|
-
TabsList.displayName = "Tabs.List";
|
|
499
|
-
TabContent.displayName = "Tabs.Content";
|
|
500
493
|
Tabs.Tab = Tab;
|
|
501
494
|
Tabs.List = TabsList;
|
|
502
495
|
Tabs.Content = TabContent;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-
|
|
2
|
-
import { c as classNames } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
|
|
2
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
|
-
import { s as suffixModifier } from './suffix-modifier-
|
|
5
|
-
import { C as Context } from './Surface-
|
|
4
|
+
import { s as suffixModifier } from './suffix-modifier-3d548e45.js';
|
|
5
|
+
import { C as Context } from './Surface-c6e817cd.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Use `Text` to display text.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-
|
|
2
|
-
import { c as classNames } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
|
|
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-
|
|
4
|
+
import { u as useAriaDescribedby, F as FormControl } from './FormControl-aad4288c.js';
|
|
5
|
+
import { C as Context } from './Surface-c6e817cd.js';
|
|
6
6
|
import { V as VisuallyHidden } from './VisuallyHidden-b9eebf71.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,23 +1,15 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-
|
|
2
|
-
import React__default, {
|
|
3
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
|
|
2
|
+
import React__default, { forwardRef, createElement, useState, useRef, useCallback, useEffect, useMemo, Fragment } from 'react';
|
|
3
|
+
import { _ as _extends } from './extends-8cc61aad.js';
|
|
4
4
|
import { createPortal } from 'react-dom';
|
|
5
|
-
import { b as $8927f6f2acc4f386$export$250ffa63cdc0d034,
|
|
6
|
-
import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-
|
|
7
|
-
import { b as $5cb92bef7577960e$export$aecb2ddcb55c95be, c as $5cb92bef7577960e$export$be92b6f5f03c0fe9, $ as $f1701beae083dbae$export$602eac185826482c } from './index-
|
|
8
|
-
import { c as classNames } from './index-
|
|
9
|
-
import { B as
|
|
10
|
-
import { B as
|
|
11
|
-
import { B as
|
|
12
|
-
import { I as Icon } from './Icon-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* On the server, React emits a warning when calling `useLayoutEffect`.
|
|
16
|
-
* This is because neither `useLayoutEffect` nor `useEffect` run on the server.
|
|
17
|
-
* We use this safe version which suppresses the warning by replacing it with a noop on the server.
|
|
18
|
-
*
|
|
19
|
-
* See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
|
|
20
|
-
*/ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? useLayoutEffect : ()=>{};
|
|
5
|
+
import { b as $8927f6f2acc4f386$export$250ffa63cdc0d034, c as $c512c27ab02ef895$export$50c7b4e9d9f19c1, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, $ as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, g as $e42e1063c40fb3ef$export$b9ecd428b558ff10, h as $9f79659886946c16$export$e5c5a5f917a5871c, d as $71cd76cc60e0454e$export$6f32135080cb4c3, e as $921a889cee6df7e8$export$99c2b779aa4e8b8b, i as $8927f6f2acc4f386$export$6d1a0317bde7de7f } from './index-13d575cc.js';
|
|
6
|
+
import { $ as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from './index-a1d2d9b3.js';
|
|
7
|
+
import { b as $5cb92bef7577960e$export$aecb2ddcb55c95be, c as $5cb92bef7577960e$export$be92b6f5f03c0fe9, $ as $f1701beae083dbae$export$602eac185826482c } from './index-3797d77e.js';
|
|
8
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
9
|
+
import { B as BtIconCrossAlt2Px } from './BtIconCrossAlt2Px.esm-425a6beb.js';
|
|
10
|
+
import { B as BtIconNotification, a as BtIconAlertTriangle, b as BtIconTick } from './BtIconTick.esm-673282f5.js';
|
|
11
|
+
import { B as BtIconAlert } from './BtIconAlert.esm-09346130.js';
|
|
12
|
+
import { I as Icon } from './Icon-3bfabb14.js';
|
|
21
13
|
|
|
22
14
|
const $ea1ef594cf570d83$export$439d29a4e110a164 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
23
15
|
return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, props, {
|
|
@@ -699,10 +691,10 @@ const $054eb8030ebde76e$export$f39c2d165cd861fe = $054eb8030ebde76e$export$811e7
|
|
|
699
691
|
var ToastNotification = function (_a) {
|
|
700
692
|
var link = _a.link, title = _a.title, isOpen = _a.isOpen, onOpenChange = _a.onOpenChange, _b = _a.isStatusIconVisible, isStatusIconVisible = _b === void 0 ? true : _b, _c = _a.isCloseButtonVisible, isCloseButtonVisible = _c === void 0 ? true : _c, _d = _a.status, status = _d === void 0 ? "general" : _d, props = __rest(_a, ["link", "title", "isOpen", "onOpenChange", "isStatusIconVisible", "isCloseButtonVisible", "status"]);
|
|
701
693
|
var statusIcons = {
|
|
702
|
-
general:
|
|
703
|
-
error:
|
|
704
|
-
warning:
|
|
705
|
-
success:
|
|
694
|
+
general: BtIconNotification,
|
|
695
|
+
error: BtIconAlertTriangle,
|
|
696
|
+
warning: BtIconAlert,
|
|
697
|
+
success: BtIconTick
|
|
706
698
|
};
|
|
707
699
|
var handleLinkClick = function (handler) { return function (event) {
|
|
708
700
|
event.preventDefault();
|
|
@@ -717,7 +709,7 @@ var ToastNotification = function (_a) {
|
|
|
717
709
|
link && (React__default.createElement($054eb8030ebde76e$export$e19cd5f9376f8cee, { className: "arc-Toast-action", asChild: true, altText: link.text },
|
|
718
710
|
React__default.createElement("a", __assign({ className: "arc-Toast-link", href: link.href, "aria-label": link.ariaLabel }, (link.onClick && { onClick: handleLinkClick(link.onClick) })), link.text))),
|
|
719
711
|
isCloseButtonVisible && !link && (React__default.createElement($054eb8030ebde76e$export$f39c2d165cd861fe, { className: "arc-Toast-dismiss", "aria-label": "Close" },
|
|
720
|
-
React__default.createElement(Icon, { icon:
|
|
712
|
+
React__default.createElement(Icon, { icon: BtIconCrossAlt2Px, size: 24 }))))));
|
|
721
713
|
};
|
|
722
714
|
|
|
723
715
|
/** Use `Toast` to display temporary messages at the bottom of the viewport. */
|
|
@@ -728,6 +720,5 @@ var Toast = function (_a) {
|
|
|
728
720
|
React__default.createElement("div", __assign({ className: "arc-Toast-pathway--".concat(colorScheme) }, filterDataAttrs(props)), children))));
|
|
729
721
|
};
|
|
730
722
|
Toast.Notification = ToastNotification;
|
|
731
|
-
ToastNotification.displayName = "Toast.Notification";
|
|
732
723
|
|
|
733
724
|
export { Toast as T };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
|
|
2
2
|
import React__default, { useEffect } from 'react';
|
|
3
|
-
import { S as Surface } from './Surface-
|
|
3
|
+
import { S as Surface } from './Surface-c6e817cd.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Use `UniversalHeader` to display a group-level page header.
|
|
@@ -23,7 +23,6 @@ var UniversalHeaderItem = function (_a) {
|
|
|
23
23
|
return (React__default.createElement("li", __assign({}, filterDataAttrs(props)),
|
|
24
24
|
React__default.createElement("a", { className: "arc-UniversalHeader-link", href: href }, children)));
|
|
25
25
|
};
|
|
26
|
-
UniversalHeaderItem.displayName = "UniversalHeader.Item";
|
|
27
26
|
UniversalHeader.Item = UniversalHeaderItem;
|
|
28
27
|
|
|
29
28
|
export { UniversalHeader as U };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-
|
|
2
|
-
import { c as classNames } from './index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-ea8f4ed4.js';
|
|
2
|
+
import { c as classNames } from './index-2e73c2e9.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
function _extends() {
|
|
2
|
-
_extends = Object.assign
|
|
2
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
3
3
|
for (var i = 1; i < arguments.length; i++) {
|
|
4
4
|
var source = arguments[i];
|
|
5
|
-
|
|
6
5
|
for (var key in source) {
|
|
7
6
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
8
7
|
target[key] = source[key];
|
|
9
8
|
}
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
|
-
|
|
13
11
|
return target;
|
|
14
12
|
};
|
|
15
|
-
|
|
16
13
|
return _extends.apply(this, arguments);
|
|
17
14
|
}
|
|
18
15
|
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
/******************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
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 __awaiter(thisArg, _arguments, P, generator) {
|
|
40
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
41
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
42
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
43
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
44
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
45
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function __generator(thisArg, body) {
|
|
50
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
51
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
52
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
53
|
+
function step(op) {
|
|
54
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
55
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
56
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
57
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
58
|
+
switch (op[0]) {
|
|
59
|
+
case 0: case 1: t = op; break;
|
|
60
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
61
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
62
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
63
|
+
default:
|
|
64
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
65
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
66
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
67
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
68
|
+
if (t[2]) _.ops.pop();
|
|
69
|
+
_.trys.pop(); continue;
|
|
70
|
+
}
|
|
71
|
+
op = body.call(thisArg, _);
|
|
72
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
73
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function __spreadArray(to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
88
|
+
var e = new Error(message);
|
|
89
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
var camelcase = {exports: {}};
|
|
93
|
+
|
|
94
|
+
const UPPERCASE = /[\p{Lu}]/u;
|
|
95
|
+
const LOWERCASE = /[\p{Ll}]/u;
|
|
96
|
+
const LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu;
|
|
97
|
+
const IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u;
|
|
98
|
+
const SEPARATORS = /[_.\- ]+/;
|
|
99
|
+
|
|
100
|
+
const LEADING_SEPARATORS = new RegExp('^' + SEPARATORS.source);
|
|
101
|
+
const SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, 'gu');
|
|
102
|
+
const NUMBERS_AND_IDENTIFIER = new RegExp('\\d+' + IDENTIFIER.source, 'gu');
|
|
103
|
+
|
|
104
|
+
const preserveCamelCase = (string, toLowerCase, toUpperCase) => {
|
|
105
|
+
let isLastCharLower = false;
|
|
106
|
+
let isLastCharUpper = false;
|
|
107
|
+
let isLastLastCharUpper = false;
|
|
108
|
+
|
|
109
|
+
for (let i = 0; i < string.length; i++) {
|
|
110
|
+
const character = string[i];
|
|
111
|
+
|
|
112
|
+
if (isLastCharLower && UPPERCASE.test(character)) {
|
|
113
|
+
string = string.slice(0, i) + '-' + string.slice(i);
|
|
114
|
+
isLastCharLower = false;
|
|
115
|
+
isLastLastCharUpper = isLastCharUpper;
|
|
116
|
+
isLastCharUpper = true;
|
|
117
|
+
i++;
|
|
118
|
+
} else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character)) {
|
|
119
|
+
string = string.slice(0, i - 1) + '-' + string.slice(i - 1);
|
|
120
|
+
isLastLastCharUpper = isLastCharUpper;
|
|
121
|
+
isLastCharUpper = false;
|
|
122
|
+
isLastCharLower = true;
|
|
123
|
+
} else {
|
|
124
|
+
isLastCharLower = toLowerCase(character) === character && toUpperCase(character) !== character;
|
|
125
|
+
isLastLastCharUpper = isLastCharUpper;
|
|
126
|
+
isLastCharUpper = toUpperCase(character) === character && toLowerCase(character) !== character;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
return string;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
const preserveConsecutiveUppercase = (input, toLowerCase) => {
|
|
134
|
+
LEADING_CAPITAL.lastIndex = 0;
|
|
135
|
+
|
|
136
|
+
return input.replace(LEADING_CAPITAL, m1 => toLowerCase(m1));
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
const postProcess = (input, toUpperCase) => {
|
|
140
|
+
SEPARATORS_AND_IDENTIFIER.lastIndex = 0;
|
|
141
|
+
NUMBERS_AND_IDENTIFIER.lastIndex = 0;
|
|
142
|
+
|
|
143
|
+
return input.replace(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier))
|
|
144
|
+
.replace(NUMBERS_AND_IDENTIFIER, m => toUpperCase(m));
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
const camelCase = (input, options) => {
|
|
148
|
+
if (!(typeof input === 'string' || Array.isArray(input))) {
|
|
149
|
+
throw new TypeError('Expected the input to be `string | string[]`');
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
options = {
|
|
153
|
+
pascalCase: false,
|
|
154
|
+
preserveConsecutiveUppercase: false,
|
|
155
|
+
...options
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
if (Array.isArray(input)) {
|
|
159
|
+
input = input.map(x => x.trim())
|
|
160
|
+
.filter(x => x.length)
|
|
161
|
+
.join('-');
|
|
162
|
+
} else {
|
|
163
|
+
input = input.trim();
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (input.length === 0) {
|
|
167
|
+
return '';
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
const toLowerCase = options.locale === false ?
|
|
171
|
+
string => string.toLowerCase() :
|
|
172
|
+
string => string.toLocaleLowerCase(options.locale);
|
|
173
|
+
const toUpperCase = options.locale === false ?
|
|
174
|
+
string => string.toUpperCase() :
|
|
175
|
+
string => string.toLocaleUpperCase(options.locale);
|
|
176
|
+
|
|
177
|
+
if (input.length === 1) {
|
|
178
|
+
return options.pascalCase ? toUpperCase(input) : toLowerCase(input);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
const hasUpperCase = input !== toLowerCase(input);
|
|
182
|
+
|
|
183
|
+
if (hasUpperCase) {
|
|
184
|
+
input = preserveCamelCase(input, toLowerCase, toUpperCase);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
input = input.replace(LEADING_SEPARATORS, '');
|
|
188
|
+
|
|
189
|
+
if (options.preserveConsecutiveUppercase) {
|
|
190
|
+
input = preserveConsecutiveUppercase(input, toLowerCase);
|
|
191
|
+
} else {
|
|
192
|
+
input = toLowerCase(input);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
if (options.pascalCase) {
|
|
196
|
+
input = toUpperCase(input.charAt(0)) + input.slice(1);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
return postProcess(input, toUpperCase);
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
camelcase.exports = camelCase;
|
|
203
|
+
// TODO: Remove this for the next major release
|
|
204
|
+
camelcase.exports.default = camelCase;
|
|
205
|
+
|
|
206
|
+
var camelCase$1 = camelcase.exports;
|
|
207
|
+
|
|
208
|
+
var dataAttrRe = /^(data-.*)$/;
|
|
209
|
+
var filterDataAttrs = function (props) {
|
|
210
|
+
var filteredProps = {};
|
|
211
|
+
for (var prop in props) {
|
|
212
|
+
if (Object.prototype.hasOwnProperty.call(props, prop) &&
|
|
213
|
+
dataAttrRe.test(prop)) {
|
|
214
|
+
filteredProps[prop] = props[prop];
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return filteredProps;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
export { __rest as _, __assign as a, __spreadArray as b, camelCase$1 as c, __awaiter as d, __generator as e, filterDataAttrs as f };
|