@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/Tag/Tag.esm.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
import { ArcIcon } from "../_shared/esm/arc-icon-17594b2f";
|
|
3
|
-
/**
|
|
4
|
-
* use `Tag` to promote features and manage filtering.
|
|
5
|
-
*/
|
|
6
|
-
declare const Tag: FC<TagProps>;
|
|
7
|
-
interface TagProps {
|
|
8
|
-
/**
|
|
9
|
-
* Content to render within the Tag
|
|
10
|
-
*/
|
|
11
|
-
children: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* Determine if the Tag is removable.
|
|
14
|
-
*/
|
|
15
|
-
isRemovable?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Provide a link for the tag
|
|
18
|
-
*/
|
|
19
|
-
link?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Determine a icon to display within the tag.
|
|
22
|
-
*/
|
|
23
|
-
icon?: ArcIcon;
|
|
24
|
-
/**
|
|
25
|
-
* onClick Handler for Tag
|
|
26
|
-
*/
|
|
27
|
-
onClick?: () => void;
|
|
28
|
-
/**
|
|
29
|
-
* Execute function on remove
|
|
30
|
-
*/
|
|
31
|
-
onRemove?: () => void;
|
|
32
|
-
}
|
|
33
|
-
export { Tag };
|
package/dist/Text/Text.cjs.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Text } from "../_shared/cjs/Text-fa447e2d";
|
package/dist/Text/Text.esm.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Text } from "../_shared/esm/Text-40457811";
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FormControlProps } from "../_shared/cjs/FormControl-1e1bf2bf";
|
|
4
|
-
type EventType = React.ChangeEvent<HTMLTextAreaElement>;
|
|
5
|
-
/** Use `TextArea` to allow custom user text entry via keyboard, for long-form and multi-line descriptions */
|
|
6
|
-
declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
7
|
-
interface TextAreaProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel"> {
|
|
8
|
-
/**
|
|
9
|
-
* Uncontrolled default value of the TextArea. If the TextArea is controlled
|
|
10
|
-
* via `value`/`onChange`, `defaultValue` will be ignored.
|
|
11
|
-
*
|
|
12
|
-
* `defaultValue` is not to be used instead of helper text.
|
|
13
|
-
*/
|
|
14
|
-
defaultValue?: string;
|
|
15
|
-
/**
|
|
16
|
-
* ID for the TextArea.
|
|
17
|
-
*/
|
|
18
|
-
id: string;
|
|
19
|
-
/**
|
|
20
|
-
* Should the control be disabled?
|
|
21
|
-
*/
|
|
22
|
-
isDisabled?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Should the control be read-only?
|
|
25
|
-
*/
|
|
26
|
-
isReadOnly?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Should the control be required?
|
|
29
|
-
*/
|
|
30
|
-
isRequired?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Maximum number of characters.
|
|
33
|
-
*/
|
|
34
|
-
maxLength?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Shows the current character count and maxLength. Ignored if maxLength is undefined.
|
|
37
|
-
*/
|
|
38
|
-
showCharacterCount?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Name of the input.
|
|
41
|
-
*/
|
|
42
|
-
name?: string;
|
|
43
|
-
/**
|
|
44
|
-
* `none` will prevent any resizing.
|
|
45
|
-
* `manual` will allow the user to resize the TextArea.
|
|
46
|
-
* `auto` will resize the text area as needed when the user types.
|
|
47
|
-
*/
|
|
48
|
-
resize?: "none" | "manual" | "auto";
|
|
49
|
-
/**
|
|
50
|
-
* Function to call when the TextArea loses focus.
|
|
51
|
-
*/
|
|
52
|
-
onBlur?: (e: EventType) => void;
|
|
53
|
-
/**
|
|
54
|
-
* Callback function commonly used to update the TextArea's controlled
|
|
55
|
-
* `value`, for example `e => setValue(e.target.value)`.
|
|
56
|
-
*/
|
|
57
|
-
onChange?: (e: EventType) => void;
|
|
58
|
-
/**
|
|
59
|
-
* Current value of the TextArea. Must be controlled via an
|
|
60
|
-
* `onChange` callback function. Otherwise, use `defaultValue` (or `isReadOnly`).
|
|
61
|
-
*/
|
|
62
|
-
value?: string;
|
|
63
|
-
}
|
|
64
|
-
export { TextArea };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FormControlProps } from "../_shared/esm/FormControl-f18e2f59";
|
|
4
|
-
type EventType = React.ChangeEvent<HTMLTextAreaElement>;
|
|
5
|
-
/** Use `TextArea` to allow custom user text entry via keyboard, for long-form and multi-line descriptions */
|
|
6
|
-
declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
7
|
-
interface TextAreaProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel"> {
|
|
8
|
-
/**
|
|
9
|
-
* Uncontrolled default value of the TextArea. If the TextArea is controlled
|
|
10
|
-
* via `value`/`onChange`, `defaultValue` will be ignored.
|
|
11
|
-
*
|
|
12
|
-
* `defaultValue` is not to be used instead of helper text.
|
|
13
|
-
*/
|
|
14
|
-
defaultValue?: string;
|
|
15
|
-
/**
|
|
16
|
-
* ID for the TextArea.
|
|
17
|
-
*/
|
|
18
|
-
id: string;
|
|
19
|
-
/**
|
|
20
|
-
* Should the control be disabled?
|
|
21
|
-
*/
|
|
22
|
-
isDisabled?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Should the control be read-only?
|
|
25
|
-
*/
|
|
26
|
-
isReadOnly?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Should the control be required?
|
|
29
|
-
*/
|
|
30
|
-
isRequired?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Maximum number of characters.
|
|
33
|
-
*/
|
|
34
|
-
maxLength?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Shows the current character count and maxLength. Ignored if maxLength is undefined.
|
|
37
|
-
*/
|
|
38
|
-
showCharacterCount?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Name of the input.
|
|
41
|
-
*/
|
|
42
|
-
name?: string;
|
|
43
|
-
/**
|
|
44
|
-
* `none` will prevent any resizing.
|
|
45
|
-
* `manual` will allow the user to resize the TextArea.
|
|
46
|
-
* `auto` will resize the text area as needed when the user types.
|
|
47
|
-
*/
|
|
48
|
-
resize?: "none" | "manual" | "auto";
|
|
49
|
-
/**
|
|
50
|
-
* Function to call when the TextArea loses focus.
|
|
51
|
-
*/
|
|
52
|
-
onBlur?: (e: EventType) => void;
|
|
53
|
-
/**
|
|
54
|
-
* Callback function commonly used to update the TextArea's controlled
|
|
55
|
-
* `value`, for example `e => setValue(e.target.value)`.
|
|
56
|
-
*/
|
|
57
|
-
onChange?: (e: EventType) => void;
|
|
58
|
-
/**
|
|
59
|
-
* Current value of the TextArea. Must be controlled via an
|
|
60
|
-
* `onChange` callback function. Otherwise, use `defaultValue` (or `isReadOnly`).
|
|
61
|
-
*/
|
|
62
|
-
value?: string;
|
|
63
|
-
}
|
|
64
|
-
export { TextArea };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TextInput } from "../_shared/cjs/TextInput-13050538";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TextInput } from "../_shared/esm/TextInput-13050538";
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC } from "react";
|
|
4
|
-
declare const ToastNotification: FC<ToastNotificationProps>;
|
|
5
|
-
type ToastStatus = "general" | "error" | "warning" | "success";
|
|
6
|
-
interface ToastNotificationProps {
|
|
7
|
-
/**
|
|
8
|
-
* Title for `<Toast />`
|
|
9
|
-
*/
|
|
10
|
-
title: string;
|
|
11
|
-
/**
|
|
12
|
-
* Set open state for `<Toast />`
|
|
13
|
-
*/
|
|
14
|
-
isOpen: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Function to call when the open state of `<Toast />` changes. This needs to be supplied in order for the auto dismiss and the close button to work.
|
|
17
|
-
*/
|
|
18
|
-
onOpenChange: (isOpen: boolean) => void;
|
|
19
|
-
/**
|
|
20
|
-
* Set whether close button shows
|
|
21
|
-
*/
|
|
22
|
-
isCloseButtonVisible?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Set whether to include a status icon
|
|
25
|
-
*/
|
|
26
|
-
isStatusIconVisible?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Link for `<Toast />`
|
|
29
|
-
*/
|
|
30
|
-
link?: {
|
|
31
|
-
text: string;
|
|
32
|
-
ariaLabel?: string;
|
|
33
|
-
href?: string;
|
|
34
|
-
onClick?: () => void;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Sstatus of `<Toast />`
|
|
38
|
-
*/
|
|
39
|
-
status?: ToastStatus;
|
|
40
|
-
}
|
|
41
|
-
/** Use `Toast` to display temporary messages at the bottom of the viewport. */
|
|
42
|
-
declare const Toast: FC<ToastProps> & {
|
|
43
|
-
Notification: typeof ToastNotification;
|
|
44
|
-
};
|
|
45
|
-
interface ToastProps {
|
|
46
|
-
children: React.ReactNode;
|
|
47
|
-
/**
|
|
48
|
-
* Color scheme for `<Toast />`
|
|
49
|
-
*/
|
|
50
|
-
pathway?: "dark" | "light";
|
|
51
|
-
}
|
|
52
|
-
export { Toast };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC } from "react";
|
|
4
|
-
declare const ToastNotification: FC<ToastNotificationProps>;
|
|
5
|
-
type ToastStatus = "general" | "error" | "warning" | "success";
|
|
6
|
-
interface ToastNotificationProps {
|
|
7
|
-
/**
|
|
8
|
-
* Title for `<Toast />`
|
|
9
|
-
*/
|
|
10
|
-
title: string;
|
|
11
|
-
/**
|
|
12
|
-
* Set open state for `<Toast />`
|
|
13
|
-
*/
|
|
14
|
-
isOpen: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Function to call when the open state of `<Toast />` changes. This needs to be supplied in order for the auto dismiss and the close button to work.
|
|
17
|
-
*/
|
|
18
|
-
onOpenChange: (isOpen: boolean) => void;
|
|
19
|
-
/**
|
|
20
|
-
* Set whether close button shows
|
|
21
|
-
*/
|
|
22
|
-
isCloseButtonVisible?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Set whether to include a status icon
|
|
25
|
-
*/
|
|
26
|
-
isStatusIconVisible?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Link for `<Toast />`
|
|
29
|
-
*/
|
|
30
|
-
link?: {
|
|
31
|
-
text: string;
|
|
32
|
-
ariaLabel?: string;
|
|
33
|
-
href?: string;
|
|
34
|
-
onClick?: () => void;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Sstatus of `<Toast />`
|
|
38
|
-
*/
|
|
39
|
-
status?: ToastStatus;
|
|
40
|
-
}
|
|
41
|
-
/** Use `Toast` to display temporary messages at the bottom of the viewport. */
|
|
42
|
-
declare const Toast: FC<ToastProps> & {
|
|
43
|
-
Notification: typeof ToastNotification;
|
|
44
|
-
};
|
|
45
|
-
interface ToastProps {
|
|
46
|
-
children: React.ReactNode;
|
|
47
|
-
/**
|
|
48
|
-
* Color scheme for `<Toast />`
|
|
49
|
-
*/
|
|
50
|
-
pathway?: "dark" | "light";
|
|
51
|
-
}
|
|
52
|
-
export { Toast };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
/** Use `Truncate` component to shorten text with an ellipsis. Add a `title` attribute to the truncated element so the full text remains accessible. */
|
|
3
|
-
declare const Truncate: FC<TruncateProps>;
|
|
4
|
-
interface TruncateProps {
|
|
5
|
-
/**
|
|
6
|
-
* Content to truncate.
|
|
7
|
-
*/
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Use title to provide extra information about text that is truncated.
|
|
11
|
-
*/
|
|
12
|
-
title: string;
|
|
13
|
-
/**
|
|
14
|
-
* Set max width of visible content within `Truncate`. Default is `100%`.
|
|
15
|
-
*/
|
|
16
|
-
maxWidth?: number;
|
|
17
|
-
}
|
|
18
|
-
export { Truncate };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
/** Use `Truncate` component to shorten text with an ellipsis. Add a `title` attribute to the truncated element so the full text remains accessible. */
|
|
3
|
-
declare const Truncate: FC<TruncateProps>;
|
|
4
|
-
interface TruncateProps {
|
|
5
|
-
/**
|
|
6
|
-
* Content to truncate.
|
|
7
|
-
*/
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Use title to provide extra information about text that is truncated.
|
|
11
|
-
*/
|
|
12
|
-
title: string;
|
|
13
|
-
/**
|
|
14
|
-
* Set max width of visible content within `Truncate`. Default is `100%`.
|
|
15
|
-
*/
|
|
16
|
-
maxWidth?: number;
|
|
17
|
-
}
|
|
18
|
-
export { Truncate };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UniversalHeader } from "../_shared/cjs/UniversalHeader-da622e1a";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UniversalHeader } from "../_shared/esm/UniversalHeader-1c5a886d";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { VerticalSpace } from "../_shared/cjs/VerticalSpace-86f697e7";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { VerticalSpace } from "../_shared/esm/VerticalSpace-93980c9c";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { VisuallyHidden } from "../_shared/cjs/VisuallyHidden-e2c8b291";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { VisuallyHidden } from "../_shared/esm/VisuallyHidden-b9eebf71";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC } from "react";
|
|
4
|
-
declare const ArcRootElementContext: React.Context<HTMLElement | null>;
|
|
5
|
-
/**
|
|
6
|
-
* Use `Base` as the root component of the arc system.
|
|
7
|
-
*/
|
|
8
|
-
declare const Base: FC<BaseProps>;
|
|
9
|
-
interface BaseProps {
|
|
10
|
-
/**
|
|
11
|
-
* Brand theme to apply to Base.
|
|
12
|
-
*/
|
|
13
|
-
brand?: "bt" | null;
|
|
14
|
-
/**
|
|
15
|
-
* Content to display inside Base.
|
|
16
|
-
*/
|
|
17
|
-
children: any;
|
|
18
|
-
}
|
|
19
|
-
export { ArcRootElementContext, Base, BaseProps };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Use `BrandLogo` to display the brand logo.
|
|
4
|
-
*/
|
|
5
|
-
declare const BrandLogo: FC<BrandLogoProps>;
|
|
6
|
-
declare const colors: readonly ["auto", "brand"];
|
|
7
|
-
declare const subBrands: readonly ["redcare", "wholesale"];
|
|
8
|
-
interface BrandLogoProps {
|
|
9
|
-
/**
|
|
10
|
-
* Color of the BrandLogo. The `brand` color only shows on light surfaces.
|
|
11
|
-
*/
|
|
12
|
-
color?: typeof colors[number];
|
|
13
|
-
/**
|
|
14
|
-
* Accessible text for the BrandLogo.
|
|
15
|
-
*/
|
|
16
|
-
label?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Size of the BrandLogo, in pixels.
|
|
19
|
-
*/
|
|
20
|
-
size?: number;
|
|
21
|
-
/**
|
|
22
|
-
* Optional sub-brand variant. Only applies to BT.
|
|
23
|
-
*/
|
|
24
|
-
subBrand?: typeof subBrands[number];
|
|
25
|
-
}
|
|
26
|
-
export { BrandLogo, colors, subBrands, BrandLogoProps };
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC, ReactNode } from "react";
|
|
4
|
-
declare const BreadcrumbsLink: FC<LinkProps>;
|
|
5
|
-
interface LinkProps {
|
|
6
|
-
/**
|
|
7
|
-
* Render children of `breadcrumbs.link`
|
|
8
|
-
*/
|
|
9
|
-
children?: ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
* Where breadcrumb linkshould lead too
|
|
12
|
-
*/
|
|
13
|
-
href?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Pass a function to the breadcrumb item
|
|
16
|
-
*/
|
|
17
|
-
onClick?: () => void;
|
|
18
|
-
/**
|
|
19
|
-
* Highlights item in breadcrumb (This also removes the a tag and any links)
|
|
20
|
-
*/
|
|
21
|
-
isActive?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Ref to `<a>` tag
|
|
24
|
-
*/
|
|
25
|
-
ref?: React.Ref<HTMLAnchorElement>;
|
|
26
|
-
/**
|
|
27
|
-
* React router property
|
|
28
|
-
*/
|
|
29
|
-
navigate?: () => void;
|
|
30
|
-
}
|
|
31
|
-
declare const BreadcrumbsItem: FC<ItemProps>;
|
|
32
|
-
interface ItemProps {
|
|
33
|
-
/**
|
|
34
|
-
* Render child elements within `Breadcrumbs.Item`
|
|
35
|
-
*/
|
|
36
|
-
children?: ReactNode;
|
|
37
|
-
/**
|
|
38
|
-
* Use icon as a spacer that will be positioned after `Breadcrumbs.Item`.
|
|
39
|
-
*/
|
|
40
|
-
spacerIconAfter?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Use icon as a spacer that will be positioned before `Breadcrumbs.Item`.
|
|
43
|
-
*/
|
|
44
|
-
spacerIconBefore?: boolean;
|
|
45
|
-
}
|
|
46
|
-
/** Use `Breadcrumbs` to add a secondary navigation scheme that reveals the user’s location. Each item should be wrapped with `Breadcrumbs.Item` */
|
|
47
|
-
declare const Breadcrumbs: FC<BreadcrumbsProps> & {
|
|
48
|
-
Item: typeof BreadcrumbsItem;
|
|
49
|
-
Link: typeof BreadcrumbsLink;
|
|
50
|
-
};
|
|
51
|
-
interface BreadcrumbsProps {
|
|
52
|
-
/**
|
|
53
|
-
* Contents of the Breadcrumbs. Should only contain `Breadcrumb.Item`.
|
|
54
|
-
*/
|
|
55
|
-
children: ReactNode;
|
|
56
|
-
/**
|
|
57
|
-
* Select if you want the Nav items to be Light
|
|
58
|
-
*/
|
|
59
|
-
isLight?: boolean;
|
|
60
|
-
}
|
|
61
|
-
export { BreadcrumbsLink as default, LinkProps, ItemProps, Breadcrumbs, BreadcrumbsProps };
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC } from "react";
|
|
4
|
-
import { ArcIcon } from "./arc-icon-17594b2f";
|
|
5
|
-
type ElementUnion = HTMLButtonElement | HTMLAnchorElement;
|
|
6
|
-
type Ref = React.Ref<ElementUnion> | null;
|
|
7
|
-
/**
|
|
8
|
-
* Use `Button` to allow users to take actions with clicks and taps.
|
|
9
|
-
*/
|
|
10
|
-
declare const Button: FC<ButtonProps>;
|
|
11
|
-
interface ButtonIconProps {
|
|
12
|
-
/**
|
|
13
|
-
* Icon variant.
|
|
14
|
-
*/
|
|
15
|
-
icon?: ArcIcon;
|
|
16
|
-
/**
|
|
17
|
-
* Should the icon be a default chevron?
|
|
18
|
-
*/
|
|
19
|
-
isChevron?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Should the icon be positioned before button text?
|
|
22
|
-
*/
|
|
23
|
-
isBeforeText?: boolean;
|
|
24
|
-
}
|
|
25
|
-
interface ButtonElementProps {
|
|
26
|
-
/**
|
|
27
|
-
* Default behavior of the Button element. If not provided, 'submit' will
|
|
28
|
-
* be inferred. Type 'reset' deliberately excluded.
|
|
29
|
-
*/
|
|
30
|
-
type?: "button" | "submit";
|
|
31
|
-
/**
|
|
32
|
-
* Refers to the id of a form so it can be submitted if the button exists outside of it.
|
|
33
|
-
*/
|
|
34
|
-
form?: string;
|
|
35
|
-
}
|
|
36
|
-
interface LinkElementProps {
|
|
37
|
-
/**
|
|
38
|
-
* URL to link to if Button elementType is 'a'.
|
|
39
|
-
*/
|
|
40
|
-
href?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Target window for the Button href URL.
|
|
43
|
-
*/
|
|
44
|
-
target?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Relationship between the Button href URL and the current page. See
|
|
47
|
-
* [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel).
|
|
48
|
-
*/
|
|
49
|
-
rel?: string;
|
|
50
|
-
}
|
|
51
|
-
interface ButtonProps extends ButtonElementProps, LinkElementProps {
|
|
52
|
-
/**
|
|
53
|
-
* Text to override `label` with additional, more precise information
|
|
54
|
-
* specifically for screen reader users.
|
|
55
|
-
*/
|
|
56
|
-
ariaLabel?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Button fill.
|
|
59
|
-
*/
|
|
60
|
-
fill?: "solid" | "outlined" | "flat";
|
|
61
|
-
/**
|
|
62
|
-
* Button icon variant.
|
|
63
|
-
*/
|
|
64
|
-
icon?: ArcIcon;
|
|
65
|
-
/**
|
|
66
|
-
* How should a Button icon be displayed?
|
|
67
|
-
*/
|
|
68
|
-
iconPosition?: "afterText" | "beforeText" | "iconOnly";
|
|
69
|
-
/**
|
|
70
|
-
* HTML ID for the Button
|
|
71
|
-
*/
|
|
72
|
-
id?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Should the Button be disabled?
|
|
75
|
-
*/
|
|
76
|
-
isDisabled?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Should the Button’s CSS display property be set to block?
|
|
79
|
-
*/
|
|
80
|
-
isDisplayBlock?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Should the Button take up the full width of its container?
|
|
83
|
-
*/
|
|
84
|
-
isFullWidth?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Button text.
|
|
87
|
-
*/
|
|
88
|
-
label: string;
|
|
89
|
-
/**
|
|
90
|
-
* Optional click handler for the Button.
|
|
91
|
-
*/
|
|
92
|
-
onClick?: () => void;
|
|
93
|
-
/**
|
|
94
|
-
* Optional property to provide component Ref
|
|
95
|
-
*/
|
|
96
|
-
ref?: Ref;
|
|
97
|
-
/**
|
|
98
|
-
* Optional supporting text for the Button.
|
|
99
|
-
*/
|
|
100
|
-
supportingText?: string;
|
|
101
|
-
}
|
|
102
|
-
export { ElementUnion, Ref, Button, ButtonIconProps, ButtonProps };
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC, HTMLAttributes } from "react";
|
|
4
|
-
/**
|
|
5
|
-
* Detect interaction mode
|
|
6
|
-
*/
|
|
7
|
-
declare const useInteractionMode: () => {
|
|
8
|
-
interactionMode: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Use `Card` to contain content and actions about a single subject.
|
|
12
|
-
*/
|
|
13
|
-
declare const Card: FC<CardProps> & {
|
|
14
|
-
Block: typeof CardBlock;
|
|
15
|
-
Image: typeof CardImage;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Internal `Card.Block` component to section blocks of content within a Card.
|
|
19
|
-
*/
|
|
20
|
-
declare const CardBlock: FC<{
|
|
21
|
-
/**
|
|
22
|
-
* Contents of the CardBlock.
|
|
23
|
-
*/
|
|
24
|
-
children: React.ReactNode;
|
|
25
|
-
/**
|
|
26
|
-
* How should the content of the block be aligned?
|
|
27
|
-
*/
|
|
28
|
-
align?: "left" | "center" | "right";
|
|
29
|
-
/**
|
|
30
|
-
* Should the block stretch to the width of the Card?
|
|
31
|
-
*/
|
|
32
|
-
isFullWidth?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Should the block grow to the fill the available vertical space? Used when the Card appears in a column.
|
|
35
|
-
*/
|
|
36
|
-
grow?: boolean;
|
|
37
|
-
}>;
|
|
38
|
-
/**
|
|
39
|
-
* Internal `Card.Image` component to show an image within a Card.
|
|
40
|
-
*/
|
|
41
|
-
declare const CardImage: FC<{
|
|
42
|
-
/**
|
|
43
|
-
* Alternative text for the Card.Image, shown if the image cannot be displayed.
|
|
44
|
-
*/
|
|
45
|
-
alt?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Height of the Card.Image.
|
|
48
|
-
*/
|
|
49
|
-
height?: number;
|
|
50
|
-
/**
|
|
51
|
-
* Loading behaviour of the Card.Image.
|
|
52
|
-
*/
|
|
53
|
-
loading?: "eager" | "lazy";
|
|
54
|
-
/**
|
|
55
|
-
* The HTML [sizes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#Example_4_Using_the_srcset_and_sizes_attributes) attribute. Required if srcSet is defined.
|
|
56
|
-
*/
|
|
57
|
-
sizes?: string;
|
|
58
|
-
/**
|
|
59
|
-
* HTML src for the Card.Image.
|
|
60
|
-
*/
|
|
61
|
-
src: string;
|
|
62
|
-
/**
|
|
63
|
-
* A comma-separated list indicating a set of possible image sources for the user agent to use for different screen sizes. Same format as [srcSet](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#Example_4_Using_the_srcset_and_sizes_attributes), i.e. `my-image-200.png 200w, my-image-200.png 200w`.
|
|
64
|
-
*/
|
|
65
|
-
srcSet?: string;
|
|
66
|
-
}>;
|
|
67
|
-
type TitleSize = "xs" | "s" | "m" | "l" | "xl";
|
|
68
|
-
interface CardProps extends HTMLAttributes<HTMLElement> {
|
|
69
|
-
/**
|
|
70
|
-
* The HTML ID passed to the Card Button for aria- attributes.
|
|
71
|
-
*/
|
|
72
|
-
actionId?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Label for the Card's Button. You should specify this if defining an href.
|
|
75
|
-
*/
|
|
76
|
-
actionLabel?: string;
|
|
77
|
-
/**
|
|
78
|
-
* A `Card.Image` to use for the cover image.
|
|
79
|
-
*/
|
|
80
|
-
coverImage?: React.ReactNode;
|
|
81
|
-
/**
|
|
82
|
-
* Card fill.
|
|
83
|
-
*/
|
|
84
|
-
fill?: "solid" | "outlined" | "neutral";
|
|
85
|
-
/**
|
|
86
|
-
* A URL to link to when the Card is clicked or touched.
|
|
87
|
-
*/
|
|
88
|
-
href: string;
|
|
89
|
-
/**
|
|
90
|
-
* Alternative text for the Card cover image, shown if the image cannot be displayed.
|
|
91
|
-
*/
|
|
92
|
-
imageAlt?: string;
|
|
93
|
-
/**
|
|
94
|
-
* Height of the Card cover image.
|
|
95
|
-
*/
|
|
96
|
-
imageHeight?: number;
|
|
97
|
-
/**
|
|
98
|
-
* Loading behaviour of the Card cover image.
|
|
99
|
-
*/
|
|
100
|
-
imageLoading?: "eager" | "lazy";
|
|
101
|
-
/**
|
|
102
|
-
* HTML src for the Card cover image.
|
|
103
|
-
*/
|
|
104
|
-
imageSrc?: string;
|
|
105
|
-
/**
|
|
106
|
-
* A comma-separated list indicating a set of possible image sources for the user agent to use for different screen sizes in the Card cover image. Same format as [srcSet](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#Example_4_Using_the_srcset_and_sizes_attributes), i.e. `my-image-200.png 200w, my-image-200.png 200w`.
|
|
107
|
-
*/
|
|
108
|
-
imageSrcSet?: string;
|
|
109
|
-
/**
|
|
110
|
-
* Object of `data-` attributes to render on internal anchor element, e.g.
|
|
111
|
-
* `{ data-analytics-link: "My link"}` => `<a data-analytics-link="My link">`.
|
|
112
|
-
*/
|
|
113
|
-
linkData?: {};
|
|
114
|
-
/**
|
|
115
|
-
* The minimum height of the card. Cards in a series of columns will match the
|
|
116
|
-
* height of the tallest Card.
|
|
117
|
-
*/
|
|
118
|
-
minHeight?: number;
|
|
119
|
-
/**
|
|
120
|
-
* Link target attribute for the Card link.
|
|
121
|
-
*/
|
|
122
|
-
target?: "_blank" | "_parent" | "_self" | "_top";
|
|
123
|
-
/**
|
|
124
|
-
* The title for the Card, describing the content. This is required to provide good accessibility to screen readers.
|
|
125
|
-
*/
|
|
126
|
-
title: string;
|
|
127
|
-
/**
|
|
128
|
-
* The size for the Card title.
|
|
129
|
-
*/
|
|
130
|
-
titleSize?: TitleSize;
|
|
131
|
-
/**
|
|
132
|
-
* On click handler.
|
|
133
|
-
*/
|
|
134
|
-
onClick?: () => void;
|
|
135
|
-
}
|
|
136
|
-
export { useInteractionMode, Card, TitleSize, CardProps };
|