@arc-ui/components 11.8.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 +8 -8
- package/dist/Badge/Badge.esm.js +8 -8
- 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 +11 -145
- package/dist/ProgressStepper/ProgressStepper.esm.js +10 -144
- 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 +12 -506
- package/dist/Tabs/Tabs.esm.js +11 -505
- 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 +47 -35
- package/dist/TextArea/TextArea.esm.js +47 -35
- 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 +19 -739
- package/dist/Toast/Toast.esm.js +15 -735
- 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-92668367.js +144 -0
- 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-65e7af8a.js +503 -0
- 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-874d9be4.js +730 -0
- 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-3ffbdb73.js +138 -0
- 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-ec960828.js +497 -0
- 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-b81384a4.js +724 -0
- 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 +2541 -1304
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2865 -1617
- package/dist/index.js.map +1 -1
- package/dist/styles.css +11 -1
- package/dist/types/components/Badge/Badge.d.ts +4 -0
- 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 +5 -2
- package/dist/types/components/Toast/ToastNotification.d.ts +2 -2
- package/dist/types/components/VerticalSpace/VerticalSpace.d.ts +1 -1
- package/dist/types/components/index.d.ts +17 -6
- 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 -26
- package/dist/Badge/Badge.esm.d.ts +0 -26
- 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 -89
- package/dist/ProgressStepper/ProgressStepper.esm.d.ts +0 -89
- 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 -75
- package/dist/Tabs/Tabs.esm.d.ts +0 -75
- 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 -52
- package/dist/Toast/Toast.esm.d.ts +0 -52
- 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/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/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/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/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/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/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/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/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
package/dist/Modal/Modal.cjs.js
CHANGED
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-
|
|
5
|
+
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var index$4 = require('../_shared/cjs/index-
|
|
8
|
-
var
|
|
9
|
-
var _extends = require('../_shared/cjs/extends-
|
|
10
|
-
var index = require('../_shared/cjs/index-
|
|
11
|
-
var index$1 = require('../_shared/cjs/index-
|
|
12
|
-
var index$2 = require('../_shared/cjs/index-
|
|
13
|
-
var index$3 = require('../_shared/cjs/index-
|
|
14
|
-
var Icon = require('../_shared/cjs/Icon-
|
|
15
|
-
var Base = require('../_shared/cjs/Base-
|
|
16
|
-
var Heading = require('../_shared/cjs/Heading-
|
|
17
|
-
var Button = require('../_shared/cjs/Button-
|
|
18
|
-
var Text = require('../_shared/cjs/Text-
|
|
19
|
-
var VerticalSpace = require('../_shared/cjs/VerticalSpace-
|
|
7
|
+
var index$4 = require('../_shared/cjs/index-9947ac13.js');
|
|
8
|
+
var BtIconCrossAlt2Px_esm = require('../_shared/cjs/BtIconCrossAlt2Px.esm-c002bf55.js');
|
|
9
|
+
var _extends = require('../_shared/cjs/extends-8c5e4b48.js');
|
|
10
|
+
var index = require('../_shared/cjs/index-c575a255.js');
|
|
11
|
+
var index$1 = require('../_shared/cjs/index-adbb63da.js');
|
|
12
|
+
var index$2 = require('../_shared/cjs/index-6b2a9ac3.js');
|
|
13
|
+
var index$3 = require('../_shared/cjs/index-43458549.js');
|
|
14
|
+
var Icon = require('../_shared/cjs/Icon-cf30e736.js');
|
|
15
|
+
var Base = require('../_shared/cjs/Base-f5a86eed.js');
|
|
16
|
+
var Heading = require('../_shared/cjs/Heading-ba2f74ad.js');
|
|
17
|
+
var Button = require('../_shared/cjs/Button-c22c9787.js');
|
|
18
|
+
var Text = require('../_shared/cjs/Text-76b7fea1.js');
|
|
19
|
+
var VerticalSpace = require('../_shared/cjs/VerticalSpace-dc53bb70.js');
|
|
20
20
|
require('react-dom');
|
|
21
|
-
require('../_shared/cjs/suffix-modifier-
|
|
22
|
-
require('../_shared/cjs/Surface-
|
|
23
|
-
require('../_shared/cjs/BtIconChevronLeftMid-
|
|
24
|
-
require('../_shared/cjs/BtIconChevronRightMid-
|
|
21
|
+
require('../_shared/cjs/suffix-modifier-64dcd338.js');
|
|
22
|
+
require('../_shared/cjs/Surface-80c0909a.js');
|
|
23
|
+
require('../_shared/cjs/BtIconChevronLeftMid.esm-7c2fc822.js');
|
|
24
|
+
require('../_shared/cjs/BtIconChevronRightMid.esm-cce080c8.js');
|
|
25
25
|
|
|
26
26
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
27
27
|
|
|
@@ -325,82 +325,6 @@ function $3db38b7d1fb3fe6a$var$createFocusGuard() {
|
|
|
325
325
|
return element;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
/* -------------------------------------------------------------------------------------------------
|
|
329
|
-
* Slot
|
|
330
|
-
* -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
331
|
-
const { children: children , ...slotProps } = props;
|
|
332
|
-
const childrenArray = React.Children.toArray(children);
|
|
333
|
-
const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
|
|
334
|
-
if (slottable) {
|
|
335
|
-
// the new element to render is the one passed as a child of `Slottable`
|
|
336
|
-
const newElement = slottable.props.children;
|
|
337
|
-
const newChildren = childrenArray.map((child)=>{
|
|
338
|
-
if (child === slottable) {
|
|
339
|
-
// because the new element will be the one rendered, we are only interested
|
|
340
|
-
// in grabbing its children (`newElement.props.children`)
|
|
341
|
-
if (React.Children.count(newElement) > 1) return React.Children.only(null);
|
|
342
|
-
return /*#__PURE__*/ React.isValidElement(newElement) ? newElement.props.children : null;
|
|
343
|
-
} else return child;
|
|
344
|
-
});
|
|
345
|
-
return /*#__PURE__*/ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends._extends({}, slotProps, {
|
|
346
|
-
ref: forwardedRef
|
|
347
|
-
}), /*#__PURE__*/ React.isValidElement(newElement) ? /*#__PURE__*/ React.cloneElement(newElement, undefined, newChildren) : null);
|
|
348
|
-
}
|
|
349
|
-
return /*#__PURE__*/ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends._extends({}, slotProps, {
|
|
350
|
-
ref: forwardedRef
|
|
351
|
-
}), children);
|
|
352
|
-
});
|
|
353
|
-
$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = 'Slot';
|
|
354
|
-
/* -------------------------------------------------------------------------------------------------
|
|
355
|
-
* SlotClone
|
|
356
|
-
* -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
357
|
-
const { children: children , ...slotProps } = props;
|
|
358
|
-
if (/*#__PURE__*/ React.isValidElement(children)) return /*#__PURE__*/ React.cloneElement(children, {
|
|
359
|
-
...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
|
|
360
|
-
ref: forwardedRef ? index.$6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref) : children.ref
|
|
361
|
-
});
|
|
362
|
-
return React.Children.count(children) > 1 ? React.Children.only(null) : null;
|
|
363
|
-
});
|
|
364
|
-
$5e63c961fc1ce211$var$SlotClone.displayName = 'SlotClone';
|
|
365
|
-
/* -------------------------------------------------------------------------------------------------
|
|
366
|
-
* Slottable
|
|
367
|
-
* -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children: children })=>{
|
|
368
|
-
return /*#__PURE__*/ React.createElement(React.Fragment, null, children);
|
|
369
|
-
};
|
|
370
|
-
/* ---------------------------------------------------------------------------------------------- */ function $5e63c961fc1ce211$var$isSlottable(child) {
|
|
371
|
-
return /*#__PURE__*/ React.isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
|
|
372
|
-
}
|
|
373
|
-
function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
|
|
374
|
-
// all child props should override
|
|
375
|
-
const overrideProps = {
|
|
376
|
-
...childProps
|
|
377
|
-
};
|
|
378
|
-
for(const propName in childProps){
|
|
379
|
-
const slotPropValue = slotProps[propName];
|
|
380
|
-
const childPropValue = childProps[propName];
|
|
381
|
-
const isHandler = /^on[A-Z]/.test(propName);
|
|
382
|
-
if (isHandler) {
|
|
383
|
-
// if the handler exists on both, we compose them
|
|
384
|
-
if (slotPropValue && childPropValue) overrideProps[propName] = (...args)=>{
|
|
385
|
-
childPropValue(...args);
|
|
386
|
-
slotPropValue(...args);
|
|
387
|
-
};
|
|
388
|
-
else if (slotPropValue) overrideProps[propName] = slotPropValue;
|
|
389
|
-
} else if (propName === 'style') overrideProps[propName] = {
|
|
390
|
-
...slotPropValue,
|
|
391
|
-
...childPropValue
|
|
392
|
-
};
|
|
393
|
-
else if (propName === 'className') overrideProps[propName] = [
|
|
394
|
-
slotPropValue,
|
|
395
|
-
childPropValue
|
|
396
|
-
].filter(Boolean).join(' ');
|
|
397
|
-
}
|
|
398
|
-
return {
|
|
399
|
-
...slotProps,
|
|
400
|
-
...overrideProps
|
|
401
|
-
};
|
|
402
|
-
}
|
|
403
|
-
|
|
404
328
|
/* -------------------------------------------------------------------------------------------------
|
|
405
329
|
* Dialog
|
|
406
330
|
* -----------------------------------------------------------------------------------------------*/ const $5d3850c4d0b4e6c7$var$DIALOG_NAME = 'Dialog';
|
|
@@ -471,7 +395,7 @@ const $5d3850c4d0b4e6c7$var$DialogOverlayImpl = /*#__PURE__*/ React.forwardRef((
|
|
|
471
395
|
return(/*#__PURE__*/ // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
472
396
|
// ie. when `Overlay` and `Content` are siblings
|
|
473
397
|
React.createElement(index$3.$01b9c$RemoveScroll, {
|
|
474
|
-
as:
|
|
398
|
+
as: index.$5e63c961fc1ce211$export$8c6ed5c666ac1360,
|
|
475
399
|
allowPinchZoom: true,
|
|
476
400
|
shards: [
|
|
477
401
|
context.contentRef
|
|
@@ -651,7 +575,7 @@ var Modal = function (_a) {
|
|
|
651
575
|
}
|
|
652
576
|
};
|
|
653
577
|
return (React__default["default"].createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, { open: isOpen },
|
|
654
|
-
React__default["default"].createElement($5d3850c4d0b4e6c7$export$602eac185826482c, { container: arcRootElement },
|
|
578
|
+
React__default["default"].createElement($5d3850c4d0b4e6c7$export$602eac185826482c, { container: arcRootElement || undefined },
|
|
655
579
|
React__default["default"].createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { className: "arc-Modal-overlay" },
|
|
656
580
|
React__default["default"].createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, filterDataAttrs.__assign({}, ariaProps, { role: role, onOpenAutoFocus: setTriggerElement, onCloseAutoFocus: focusTriggerElement, onEscapeKeyDown: closeModal, onInteractOutside: closeModal, className: index$4.classNames("arc-Modal-dialog", "arc-Modal-dialog--".concat(size), {
|
|
657
581
|
"arc-Modal-dialog--maxHeightWindow": isContentScrollable
|
|
@@ -671,7 +595,7 @@ var Modal = function (_a) {
|
|
|
671
595
|
React__default["default"].createElement(Button.Button, filterDataAttrs.__assign({ isFullWidth: true }, props)))); })))),
|
|
672
596
|
canShowClose && (React__default["default"].createElement("div", { className: "arc-Modal-iconContainer" },
|
|
673
597
|
React__default["default"].createElement("button", { "aria-label": "close", onClick: closeModal, className: "arc-Modal-closeButton" },
|
|
674
|
-
React__default["default"].createElement(Icon.Icon, { size: 32, icon: BtIconCrossAlt2Px
|
|
598
|
+
React__default["default"].createElement(Icon.Icon, { size: 32, icon: BtIconCrossAlt2Px_esm.BtIconCrossAlt2Px })))))))));
|
|
675
599
|
};
|
|
676
600
|
|
|
677
601
|
exports.Modal = Modal;
|
package/dist/Modal/Modal.esm.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-
|
|
2
|
-
import React__default, { forwardRef, useState, useRef, useEffect, useCallback, createElement, Children,
|
|
3
|
-
import { c as classNames } from '../_shared/esm/index-
|
|
4
|
-
import { B as
|
|
5
|
-
import { _ as _extends } from '../_shared/esm/extends-
|
|
6
|
-
import { $ as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, b as $8927f6f2acc4f386$export$250ffa63cdc0d034, c as $
|
|
7
|
-
import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from '../_shared/esm/index-
|
|
8
|
-
import { $ as $f1701beae083dbae$export$602eac185826482c, a as $5cb92bef7577960e$export$177fb62ff3ec1f22 } from '../_shared/esm/index-
|
|
9
|
-
import { $ as $01b9c$RemoveScroll, h as hideOthers } from '../_shared/esm/index-
|
|
10
|
-
import { I as Icon } from '../_shared/esm/Icon-
|
|
11
|
-
import { A as ArcRootElementContext } from '../_shared/esm/Base-
|
|
12
|
-
import { H as Heading } from '../_shared/esm/Heading-
|
|
13
|
-
import { B as Button } from '../_shared/esm/Button-
|
|
14
|
-
import { T as Text } from '../_shared/esm/Text-
|
|
15
|
-
import { V as VerticalSpace } from '../_shared/esm/VerticalSpace-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
2
|
+
import React__default, { forwardRef, useState, useRef, useEffect, useCallback, createElement, Children, Fragment, useContext } from 'react';
|
|
3
|
+
import { c as classNames } from '../_shared/esm/index-2e73c2e9.js';
|
|
4
|
+
import { B as BtIconCrossAlt2Px } from '../_shared/esm/BtIconCrossAlt2Px.esm-425a6beb.js';
|
|
5
|
+
import { _ as _extends } from '../_shared/esm/extends-8cc61aad.js';
|
|
6
|
+
import { $ as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, b as $8927f6f2acc4f386$export$250ffa63cdc0d034, c as $c512c27ab02ef895$export$50c7b4e9d9f19c1, d as $71cd76cc60e0454e$export$6f32135080cb4c3, e as $921a889cee6df7e8$export$99c2b779aa4e8b8b, f as $5e63c961fc1ce211$export$8c6ed5c666ac1360, g as $e42e1063c40fb3ef$export$b9ecd428b558ff10 } from '../_shared/esm/index-13d575cc.js';
|
|
7
|
+
import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from '../_shared/esm/index-efd9ef1c.js';
|
|
8
|
+
import { $ as $f1701beae083dbae$export$602eac185826482c, a as $5cb92bef7577960e$export$177fb62ff3ec1f22 } from '../_shared/esm/index-3797d77e.js';
|
|
9
|
+
import { $ as $01b9c$RemoveScroll, h as hideOthers } from '../_shared/esm/index-41d7af2b.js';
|
|
10
|
+
import { I as Icon } from '../_shared/esm/Icon-3bfabb14.js';
|
|
11
|
+
import { A as ArcRootElementContext } from '../_shared/esm/Base-f200653c.js';
|
|
12
|
+
import { H as Heading } from '../_shared/esm/Heading-8bb7b7c0.js';
|
|
13
|
+
import { B as Button } from '../_shared/esm/Button-67f68b14.js';
|
|
14
|
+
import { T as Text } from '../_shared/esm/Text-a3720712.js';
|
|
15
|
+
import { V as VerticalSpace } from '../_shared/esm/VerticalSpace-43cd9138.js';
|
|
16
16
|
import 'react-dom';
|
|
17
|
-
import '../_shared/esm/suffix-modifier-
|
|
18
|
-
import '../_shared/esm/Surface-
|
|
19
|
-
import '../_shared/esm/BtIconChevronLeftMid-
|
|
20
|
-
import '../_shared/esm/BtIconChevronRightMid-
|
|
17
|
+
import '../_shared/esm/suffix-modifier-3d548e45.js';
|
|
18
|
+
import '../_shared/esm/Surface-c6e817cd.js';
|
|
19
|
+
import '../_shared/esm/BtIconChevronLeftMid.esm-e69276cb.js';
|
|
20
|
+
import '../_shared/esm/BtIconChevronRightMid.esm-24809a93.js';
|
|
21
21
|
|
|
22
22
|
const $d3863c46a17e8a28$var$AUTOFOCUS_ON_MOUNT = 'focusScope.autoFocusOnMount';
|
|
23
23
|
const $d3863c46a17e8a28$var$AUTOFOCUS_ON_UNMOUNT = 'focusScope.autoFocusOnUnmount';
|
|
@@ -317,82 +317,6 @@ function $3db38b7d1fb3fe6a$var$createFocusGuard() {
|
|
|
317
317
|
return element;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
/* -------------------------------------------------------------------------------------------------
|
|
321
|
-
* Slot
|
|
322
|
-
* -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
323
|
-
const { children: children , ...slotProps } = props;
|
|
324
|
-
const childrenArray = Children.toArray(children);
|
|
325
|
-
const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
|
|
326
|
-
if (slottable) {
|
|
327
|
-
// the new element to render is the one passed as a child of `Slottable`
|
|
328
|
-
const newElement = slottable.props.children;
|
|
329
|
-
const newChildren = childrenArray.map((child)=>{
|
|
330
|
-
if (child === slottable) {
|
|
331
|
-
// because the new element will be the one rendered, we are only interested
|
|
332
|
-
// in grabbing its children (`newElement.props.children`)
|
|
333
|
-
if (Children.count(newElement) > 1) return Children.only(null);
|
|
334
|
-
return /*#__PURE__*/ isValidElement(newElement) ? newElement.props.children : null;
|
|
335
|
-
} else return child;
|
|
336
|
-
});
|
|
337
|
-
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
338
|
-
ref: forwardedRef
|
|
339
|
-
}), /*#__PURE__*/ isValidElement(newElement) ? /*#__PURE__*/ cloneElement(newElement, undefined, newChildren) : null);
|
|
340
|
-
}
|
|
341
|
-
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
342
|
-
ref: forwardedRef
|
|
343
|
-
}), children);
|
|
344
|
-
});
|
|
345
|
-
$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = 'Slot';
|
|
346
|
-
/* -------------------------------------------------------------------------------------------------
|
|
347
|
-
* SlotClone
|
|
348
|
-
* -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
349
|
-
const { children: children , ...slotProps } = props;
|
|
350
|
-
if (/*#__PURE__*/ isValidElement(children)) return /*#__PURE__*/ cloneElement(children, {
|
|
351
|
-
...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
|
|
352
|
-
ref: forwardedRef ? $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref) : children.ref
|
|
353
|
-
});
|
|
354
|
-
return Children.count(children) > 1 ? Children.only(null) : null;
|
|
355
|
-
});
|
|
356
|
-
$5e63c961fc1ce211$var$SlotClone.displayName = 'SlotClone';
|
|
357
|
-
/* -------------------------------------------------------------------------------------------------
|
|
358
|
-
* Slottable
|
|
359
|
-
* -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children: children })=>{
|
|
360
|
-
return /*#__PURE__*/ createElement(Fragment, null, children);
|
|
361
|
-
};
|
|
362
|
-
/* ---------------------------------------------------------------------------------------------- */ function $5e63c961fc1ce211$var$isSlottable(child) {
|
|
363
|
-
return /*#__PURE__*/ isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
|
|
364
|
-
}
|
|
365
|
-
function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
|
|
366
|
-
// all child props should override
|
|
367
|
-
const overrideProps = {
|
|
368
|
-
...childProps
|
|
369
|
-
};
|
|
370
|
-
for(const propName in childProps){
|
|
371
|
-
const slotPropValue = slotProps[propName];
|
|
372
|
-
const childPropValue = childProps[propName];
|
|
373
|
-
const isHandler = /^on[A-Z]/.test(propName);
|
|
374
|
-
if (isHandler) {
|
|
375
|
-
// if the handler exists on both, we compose them
|
|
376
|
-
if (slotPropValue && childPropValue) overrideProps[propName] = (...args)=>{
|
|
377
|
-
childPropValue(...args);
|
|
378
|
-
slotPropValue(...args);
|
|
379
|
-
};
|
|
380
|
-
else if (slotPropValue) overrideProps[propName] = slotPropValue;
|
|
381
|
-
} else if (propName === 'style') overrideProps[propName] = {
|
|
382
|
-
...slotPropValue,
|
|
383
|
-
...childPropValue
|
|
384
|
-
};
|
|
385
|
-
else if (propName === 'className') overrideProps[propName] = [
|
|
386
|
-
slotPropValue,
|
|
387
|
-
childPropValue
|
|
388
|
-
].filter(Boolean).join(' ');
|
|
389
|
-
}
|
|
390
|
-
return {
|
|
391
|
-
...slotProps,
|
|
392
|
-
...overrideProps
|
|
393
|
-
};
|
|
394
|
-
}
|
|
395
|
-
|
|
396
320
|
/* -------------------------------------------------------------------------------------------------
|
|
397
321
|
* Dialog
|
|
398
322
|
* -----------------------------------------------------------------------------------------------*/ const $5d3850c4d0b4e6c7$var$DIALOG_NAME = 'Dialog';
|
|
@@ -643,7 +567,7 @@ var Modal = function (_a) {
|
|
|
643
567
|
}
|
|
644
568
|
};
|
|
645
569
|
return (React__default.createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, { open: isOpen },
|
|
646
|
-
React__default.createElement($5d3850c4d0b4e6c7$export$602eac185826482c, { container: arcRootElement },
|
|
570
|
+
React__default.createElement($5d3850c4d0b4e6c7$export$602eac185826482c, { container: arcRootElement || undefined },
|
|
647
571
|
React__default.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { className: "arc-Modal-overlay" },
|
|
648
572
|
React__default.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, __assign({}, ariaProps, { role: role, onOpenAutoFocus: setTriggerElement, onCloseAutoFocus: focusTriggerElement, onEscapeKeyDown: closeModal, onInteractOutside: closeModal, className: classNames("arc-Modal-dialog", "arc-Modal-dialog--".concat(size), {
|
|
649
573
|
"arc-Modal-dialog--maxHeightWindow": isContentScrollable
|
|
@@ -663,7 +587,7 @@ var Modal = function (_a) {
|
|
|
663
587
|
React__default.createElement(Button, __assign({ isFullWidth: true }, props)))); })))),
|
|
664
588
|
canShowClose && (React__default.createElement("div", { className: "arc-Modal-iconContainer" },
|
|
665
589
|
React__default.createElement("button", { "aria-label": "close", onClick: closeModal, className: "arc-Modal-closeButton" },
|
|
666
|
-
React__default.createElement(Icon, { size: 32, icon:
|
|
590
|
+
React__default.createElement(Icon, { size: 32, icon: BtIconCrossAlt2Px })))))))));
|
|
667
591
|
};
|
|
668
592
|
|
|
669
593
|
export { Modal };
|
package/dist/Modal/package.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-
|
|
6
|
-
var index = require('../_shared/cjs/index-
|
|
5
|
+
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
6
|
+
var index = require('../_shared/cjs/index-9947ac13.js');
|
|
7
7
|
var React = require('react');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var Icon = require('../_shared/cjs/Icon-
|
|
11
|
-
var Surface = require('../_shared/cjs/Surface-
|
|
12
|
-
require('../_shared/cjs/suffix-modifier-
|
|
8
|
+
var BtIconChevronRightMid_esm = require('../_shared/cjs/BtIconChevronRightMid.esm-cce080c8.js');
|
|
9
|
+
var BtIconChevronLeftMid_esm = require('../_shared/cjs/BtIconChevronLeftMid.esm-7c2fc822.js');
|
|
10
|
+
var Icon = require('../_shared/cjs/Icon-cf30e736.js');
|
|
11
|
+
var Surface = require('../_shared/cjs/Surface-80c0909a.js');
|
|
12
|
+
require('../_shared/cjs/suffix-modifier-64dcd338.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
15
15
|
|
|
@@ -71,7 +71,7 @@ var Pagination = function (_a) {
|
|
|
71
71
|
"arc-Pagination-navigationButton--hidden": selectedPage === 1
|
|
72
72
|
}), onClick: handlePagechange(selectedPage - 1) },
|
|
73
73
|
React__default["default"].createElement("div", { className: "arc-Pagination-navigationButtonIcon arc-Pagination-navigationButtonIcon--left" },
|
|
74
|
-
React__default["default"].createElement(Icon.Icon, { color: "brand", size: 32, icon: BtIconChevronLeftMid
|
|
74
|
+
React__default["default"].createElement(Icon.Icon, { color: "brand", size: 32, icon: BtIconChevronLeftMid_esm.BtIconChevronLeftMid }))),
|
|
75
75
|
React__default["default"].createElement("div", { className: "arc-Pagination-pageNumberContainer" }, pageRange.map(function (rangeValue, i) {
|
|
76
76
|
return isPageNumber(rangeValue) ? (React__default["default"].createElement("button", { "aria-current": parseInt(rangeValue) === selectedPage, key: "pagination-range-value-".concat(rangeValue), "aria-label": "Go to page ".concat(rangeValue), className: index.classNames("arc-Pagination-value arc-Pagination-value--number", {
|
|
77
77
|
"arc-Pagination-value--selected": parseInt(rangeValue) === selectedPage
|
|
@@ -81,7 +81,7 @@ var Pagination = function (_a) {
|
|
|
81
81
|
"arc-Pagination-navigationButton--hidden": selectedPage === pageCount
|
|
82
82
|
}), onClick: handlePagechange(selectedPage + 1) },
|
|
83
83
|
React__default["default"].createElement("div", { className: "arc-Pagination-navigationButtonIcon arc-Pagination-navigationButtonIcon--right" },
|
|
84
|
-
React__default["default"].createElement(Icon.Icon, { color: "brand", size: 32, icon: BtIconChevronRightMid
|
|
84
|
+
React__default["default"].createElement(Icon.Icon, { color: "brand", size: 32, icon: BtIconChevronRightMid_esm.BtIconChevronRightMid })))));
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
exports.Pagination = Pagination;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as __spreadArray, _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-
|
|
2
|
-
import { c as classNames } from '../_shared/esm/index-
|
|
1
|
+
import { b as __spreadArray, _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
2
|
+
import { c as classNames } from '../_shared/esm/index-2e73c2e9.js';
|
|
3
3
|
import React__default, { useMemo, useContext, useState } from 'react';
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
6
|
-
import { I as Icon } from '../_shared/esm/Icon-
|
|
7
|
-
import { C as Context } from '../_shared/esm/Surface-
|
|
8
|
-
import '../_shared/esm/suffix-modifier-
|
|
4
|
+
import { B as BtIconChevronRightMid } from '../_shared/esm/BtIconChevronRightMid.esm-24809a93.js';
|
|
5
|
+
import { B as BtIconChevronLeftMid } from '../_shared/esm/BtIconChevronLeftMid.esm-e69276cb.js';
|
|
6
|
+
import { I as Icon } from '../_shared/esm/Icon-3bfabb14.js';
|
|
7
|
+
import { C as Context } from '../_shared/esm/Surface-c6e817cd.js';
|
|
8
|
+
import '../_shared/esm/suffix-modifier-3d548e45.js';
|
|
9
9
|
|
|
10
10
|
var usePagination = function (pageCount, selectedPage) {
|
|
11
11
|
var formatValues = function (range) {
|
|
@@ -63,7 +63,7 @@ var Pagination = function (_a) {
|
|
|
63
63
|
"arc-Pagination-navigationButton--hidden": selectedPage === 1
|
|
64
64
|
}), onClick: handlePagechange(selectedPage - 1) },
|
|
65
65
|
React__default.createElement("div", { className: "arc-Pagination-navigationButtonIcon arc-Pagination-navigationButtonIcon--left" },
|
|
66
|
-
React__default.createElement(Icon, { color: "brand", size: 32, icon:
|
|
66
|
+
React__default.createElement(Icon, { color: "brand", size: 32, icon: BtIconChevronLeftMid }))),
|
|
67
67
|
React__default.createElement("div", { className: "arc-Pagination-pageNumberContainer" }, pageRange.map(function (rangeValue, i) {
|
|
68
68
|
return isPageNumber(rangeValue) ? (React__default.createElement("button", { "aria-current": parseInt(rangeValue) === selectedPage, key: "pagination-range-value-".concat(rangeValue), "aria-label": "Go to page ".concat(rangeValue), className: classNames("arc-Pagination-value arc-Pagination-value--number", {
|
|
69
69
|
"arc-Pagination-value--selected": parseInt(rangeValue) === selectedPage
|
|
@@ -73,7 +73,7 @@ var Pagination = function (_a) {
|
|
|
73
73
|
"arc-Pagination-navigationButton--hidden": selectedPage === pageCount
|
|
74
74
|
}), onClick: handlePagechange(selectedPage + 1) },
|
|
75
75
|
React__default.createElement("div", { className: "arc-Pagination-navigationButtonIcon arc-Pagination-navigationButtonIcon--right" },
|
|
76
|
-
React__default.createElement(Icon, { color: "brand", size: 32, icon:
|
|
76
|
+
React__default.createElement(Icon, { color: "brand", size: 32, icon: BtIconChevronRightMid })))));
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
export { Pagination };
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-
|
|
6
|
-
var index = require('../_shared/cjs/index-
|
|
5
|
+
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
6
|
+
var index = require('../_shared/cjs/index-9947ac13.js');
|
|
7
7
|
var React = require('react');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var Icon = require('../_shared/cjs/Icon-
|
|
11
|
-
var Surface = require('../_shared/cjs/Surface-
|
|
12
|
-
require('../_shared/cjs/suffix-modifier-
|
|
8
|
+
var BtIconChevronRightMid_esm = require('../_shared/cjs/BtIconChevronRightMid.esm-cce080c8.js');
|
|
9
|
+
var BtIconChevronLeftMid_esm = require('../_shared/cjs/BtIconChevronLeftMid.esm-7c2fc822.js');
|
|
10
|
+
var Icon = require('../_shared/cjs/Icon-cf30e736.js');
|
|
11
|
+
var Surface = require('../_shared/cjs/Surface-80c0909a.js');
|
|
12
|
+
require('../_shared/cjs/suffix-modifier-64dcd338.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
15
15
|
|
|
@@ -32,7 +32,7 @@ var PaginationSimple = function (_a) {
|
|
|
32
32
|
onPrevPage();
|
|
33
33
|
} },
|
|
34
34
|
React__default["default"].createElement("div", { className: "arc-PaginationSimple-iconContainer arc-PaginationSimple-iconContainer--left" },
|
|
35
|
-
React__default["default"].createElement(Icon.Icon, { color: "brand", size: 32, icon: BtIconChevronLeftMid
|
|
35
|
+
React__default["default"].createElement(Icon.Icon, { color: "brand", size: 32, icon: BtIconChevronLeftMid_esm.BtIconChevronLeftMid })),
|
|
36
36
|
React__default["default"].createElement("span", { className: "arc-PaginationSimple-prevText" }, "Prev")),
|
|
37
37
|
React__default["default"].createElement("button", { className: index.classNames("arc-PaginationSimple-navigationButton", {
|
|
38
38
|
"arc-PaginationSimple-navigationButton--hidden": hideNext
|
|
@@ -41,7 +41,7 @@ var PaginationSimple = function (_a) {
|
|
|
41
41
|
} },
|
|
42
42
|
React__default["default"].createElement("span", { className: "arc-PaginationSimple-nextText" }, "Next"),
|
|
43
43
|
React__default["default"].createElement("div", { className: "arc-PaginationSimple-iconContainer arc-PaginationSimple-iconContainer--right" },
|
|
44
|
-
React__default["default"].createElement(Icon.Icon, { color: "brand", size: 32, icon: BtIconChevronRightMid
|
|
44
|
+
React__default["default"].createElement(Icon.Icon, { color: "brand", size: 32, icon: BtIconChevronRightMid_esm.BtIconChevronRightMid })))));
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
exports.PaginationSimple = PaginationSimple;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-
|
|
2
|
-
import { c as classNames } from '../_shared/esm/index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
2
|
+
import { c as classNames } from '../_shared/esm/index-2e73c2e9.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
6
|
-
import { I as Icon } from '../_shared/esm/Icon-
|
|
7
|
-
import { C as Context } from '../_shared/esm/Surface-
|
|
8
|
-
import '../_shared/esm/suffix-modifier-
|
|
4
|
+
import { B as BtIconChevronRightMid } from '../_shared/esm/BtIconChevronRightMid.esm-24809a93.js';
|
|
5
|
+
import { B as BtIconChevronLeftMid } from '../_shared/esm/BtIconChevronLeftMid.esm-e69276cb.js';
|
|
6
|
+
import { I as Icon } from '../_shared/esm/Icon-3bfabb14.js';
|
|
7
|
+
import { C as Context } from '../_shared/esm/Surface-c6e817cd.js';
|
|
8
|
+
import '../_shared/esm/suffix-modifier-3d548e45.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Use `PaginationSimple` to navigate multiple pages.
|
|
@@ -24,7 +24,7 @@ var PaginationSimple = function (_a) {
|
|
|
24
24
|
onPrevPage();
|
|
25
25
|
} },
|
|
26
26
|
React__default.createElement("div", { className: "arc-PaginationSimple-iconContainer arc-PaginationSimple-iconContainer--left" },
|
|
27
|
-
React__default.createElement(Icon, { color: "brand", size: 32, icon:
|
|
27
|
+
React__default.createElement(Icon, { color: "brand", size: 32, icon: BtIconChevronLeftMid })),
|
|
28
28
|
React__default.createElement("span", { className: "arc-PaginationSimple-prevText" }, "Prev")),
|
|
29
29
|
React__default.createElement("button", { className: classNames("arc-PaginationSimple-navigationButton", {
|
|
30
30
|
"arc-PaginationSimple-navigationButton--hidden": hideNext
|
|
@@ -33,7 +33,7 @@ var PaginationSimple = function (_a) {
|
|
|
33
33
|
} },
|
|
34
34
|
React__default.createElement("span", { className: "arc-PaginationSimple-nextText" }, "Next"),
|
|
35
35
|
React__default.createElement("div", { className: "arc-PaginationSimple-iconContainer arc-PaginationSimple-iconContainer--right" },
|
|
36
|
-
React__default.createElement(Icon, { color: "brand", size: 32, icon:
|
|
36
|
+
React__default.createElement(Icon, { color: "brand", size: 32, icon: BtIconChevronRightMid })))));
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export { PaginationSimple };
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Poster = require('../_shared/cjs/Poster-
|
|
6
|
-
require('../_shared/cjs/filter-data-attrs-
|
|
7
|
-
require('../_shared/cjs/index-
|
|
5
|
+
var Poster = require('../_shared/cjs/Poster-62e2ba67.js');
|
|
6
|
+
require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
7
|
+
require('../_shared/cjs/index-9947ac13.js');
|
|
8
8
|
require('react');
|
|
9
|
-
require('../_shared/cjs/Surface-
|
|
10
|
-
require('../_shared/cjs/Image-
|
|
11
|
-
require('../_shared/cjs/suffix-modifier-
|
|
9
|
+
require('../_shared/cjs/Surface-80c0909a.js');
|
|
10
|
+
require('../_shared/cjs/Image-e873b8fc.js');
|
|
11
|
+
require('../_shared/cjs/suffix-modifier-64dcd338.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { P as Poster } from '../_shared/esm/Poster-
|
|
2
|
-
import '../_shared/esm/filter-data-attrs-
|
|
3
|
-
import '../_shared/esm/index-
|
|
1
|
+
export { P as Poster } from '../_shared/esm/Poster-046b0f77.js';
|
|
2
|
+
import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
3
|
+
import '../_shared/esm/index-2e73c2e9.js';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../_shared/esm/Surface-
|
|
6
|
-
import '../_shared/esm/Image-
|
|
7
|
-
import '../_shared/esm/suffix-modifier-
|
|
5
|
+
import '../_shared/esm/Surface-c6e817cd.js';
|
|
6
|
+
import '../_shared/esm/Image-12fbd327.js';
|
|
7
|
+
import '../_shared/esm/suffix-modifier-3d548e45.js';
|
package/dist/Poster/package.json
CHANGED
|
@@ -2,25 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-
|
|
6
|
-
var index = require('../_shared/cjs/index-
|
|
7
|
-
var React
|
|
8
|
-
var Text = require('../_shared/cjs/Text-
|
|
9
|
-
var Heading = require('../_shared/cjs/Heading-
|
|
10
|
-
var VerticalSpace = require('../_shared/cjs/VerticalSpace-
|
|
11
|
-
var Icon = require('../_shared/cjs/Icon-
|
|
12
|
-
var Surface = require('../_shared/cjs/Surface-
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
require('../_shared/cjs/suffix-modifier-
|
|
5
|
+
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
6
|
+
var index = require('../_shared/cjs/index-9947ac13.js');
|
|
7
|
+
var React = require('react');
|
|
8
|
+
var Text = require('../_shared/cjs/Text-76b7fea1.js');
|
|
9
|
+
var Heading = require('../_shared/cjs/Heading-ba2f74ad.js');
|
|
10
|
+
var VerticalSpace = require('../_shared/cjs/VerticalSpace-dc53bb70.js');
|
|
11
|
+
var Icon = require('../_shared/cjs/Icon-cf30e736.js');
|
|
12
|
+
var Surface = require('../_shared/cjs/Surface-80c0909a.js');
|
|
13
|
+
var BtIconTickAlt2Px_esm = require('../_shared/cjs/BtIconTickAlt2Px.esm-4862184c.js');
|
|
14
|
+
var BtIconCrossAlt2Px_esm = require('../_shared/cjs/BtIconCrossAlt2Px.esm-c002bf55.js');
|
|
15
|
+
require('../_shared/cjs/suffix-modifier-64dcd338.js');
|
|
16
16
|
|
|
17
17
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
18
18
|
|
|
19
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React
|
|
19
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
20
20
|
|
|
21
|
-
const React = React__default["default"];
|
|
22
21
|
const BtIconRefresh = props =>
|
|
23
|
-
/*#__PURE__*/
|
|
22
|
+
/*#__PURE__*/ React__default["default"].createElement(
|
|
24
23
|
"svg",
|
|
25
24
|
Object.assign(
|
|
26
25
|
{
|
|
@@ -29,24 +28,23 @@ const BtIconRefresh = props =>
|
|
|
29
28
|
},
|
|
30
29
|
props
|
|
31
30
|
),
|
|
32
|
-
/*#__PURE__*/
|
|
33
|
-
/*#__PURE__*/
|
|
31
|
+
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
32
|
+
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
34
33
|
d:
|
|
35
34
|
"M13.41077,21.99951a.5005.5005,0,0,0-.35743.8501l2.04609,2.08716A8.98732,8.98732,0,0,1,13.15332,7.46631a.50028.50028,0,1,0-.31641-.94922A9.98437,9.98437,0,0,0,15.127,25.93823l.00159.02881c.0011.01.02008.00128.03015.002L13.026,28.16846a.50036.50036,0,0,0,.71875.69629l3.28418-3.38819-3.26074-3.32715A.50106.50106,0,0,0,13.41077,21.99951Z",
|
|
36
35
|
fill: "currentColor"
|
|
37
36
|
}),
|
|
38
|
-
/*#__PURE__*/
|
|
37
|
+
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
39
38
|
d:
|
|
40
39
|
"M16.79028,6.04633,16.79,6.04077c-.0011-.01-.02008-.00128-.03015-.00195l2.13275-2.19946a.50036.50036,0,0,0-.71875-.69629L14.88965,6.53125,18.15039,9.8584a.50106.50106,0,0,0,.35742.1499.5005.5005,0,0,0,.35742-.8501L16.7951,7.04657a8.98484,8.98484,0,0,1,2.05646,17.47589.49982.49982,0,1,0,.31641.94824A9.98244,9.98244,0,0,0,16.79028,6.04633Z",
|
|
41
40
|
fill: "currentColor"
|
|
42
41
|
})
|
|
43
42
|
);
|
|
44
|
-
var BtIconRefresh_2 = BtIconRefresh;
|
|
45
43
|
|
|
46
44
|
var PROGRESS_BAR_ICON_MAP = {
|
|
47
|
-
refresh:
|
|
48
|
-
tick: BtIconTickAlt2Px
|
|
49
|
-
cross: BtIconCrossAlt2Px
|
|
45
|
+
refresh: BtIconRefresh,
|
|
46
|
+
tick: BtIconTickAlt2Px_esm.BtIconTickAlt2Px,
|
|
47
|
+
cross: BtIconCrossAlt2Px_esm.BtIconCrossAlt2Px
|
|
50
48
|
};
|
|
51
49
|
|
|
52
50
|
var getProgressBarProps = function (isIndeterminate, progressValue, ariaLabel) {
|
|
@@ -65,7 +63,7 @@ var getProgressBarProps = function (isIndeterminate, progressValue, ariaLabel) {
|
|
|
65
63
|
|
|
66
64
|
var ProgressBar = function (_a) {
|
|
67
65
|
var _b = _a.state, state = _b === void 0 ? "loading" : _b, _c = _a.value, value = _c === void 0 ? 0 : _c, _d = _a.isIndeterminate, isIndeterminate = _d === void 0 ? false : _d, headline = _a.headline, ariaLabel = _a.ariaLabel, action = _a.action, title = _a.title, description = _a.description, displayValue = _a.displayValue, props = filterDataAttrs.__rest(_a, ["state", "value", "isIndeterminate", "headline", "ariaLabel", "action", "title", "description", "displayValue"]);
|
|
68
|
-
var surface = React
|
|
66
|
+
var surface = React.useContext(Surface.Context).surface;
|
|
69
67
|
var progressValue = Math.min(100, Math.max(0, value));
|
|
70
68
|
return (React__default["default"].createElement("div", filterDataAttrs.__assign({ "data-testid": "progress", className: index.classNames("arc-ProgressBar", "arc-ProgressBar--".concat(state), {
|
|
71
69
|
"arc-ProgressBar--onDarkSurface": surface === "dark"
|