@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
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
declare const NavItem: FC<NavItemProps>;
|
|
3
|
-
interface NavItemProps {
|
|
4
|
-
/**
|
|
5
|
-
* Contents of the NavItem. Must be SiteHeader.ItemGroup or
|
|
6
|
-
* SiteHeader.Column components.
|
|
7
|
-
*/
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* A top-level URL for the NavItem to link to.
|
|
11
|
-
*
|
|
12
|
-
* When `children` are not present, the URL to link to when the NavItem is
|
|
13
|
-
* clicked or touched.
|
|
14
|
-
*
|
|
15
|
-
* When `children` are present, the URL to link to when a top-level link
|
|
16
|
-
* inside the NavItem panel is clicked or touched.
|
|
17
|
-
*/
|
|
18
|
-
href?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Should the NavItem be highlighted as the current item/page? Only applies if
|
|
21
|
-
* `children` are not present (and `href` is present).
|
|
22
|
-
*/
|
|
23
|
-
isCurrent?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Content to display in the NavItem panel promo area.
|
|
26
|
-
*/
|
|
27
|
-
promo?: ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* Top-level text to display in the NavItem.
|
|
30
|
-
*/
|
|
31
|
-
title: string;
|
|
32
|
-
/**
|
|
33
|
-
* Text to display in top-level link inside the NavItem panel. Only
|
|
34
|
-
* applies if both `children` are present and `href` is true. If not
|
|
35
|
-
* provided, top-level link text will be automatically generated from `title`.
|
|
36
|
-
*/
|
|
37
|
-
viewAllTitle?: string;
|
|
38
|
-
/**
|
|
39
|
-
* On click handler.
|
|
40
|
-
*/
|
|
41
|
-
onClick?: () => void;
|
|
42
|
-
}
|
|
43
|
-
export { NavItem, NavItemProps };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC, ReactElement, ReactNode } from "react";
|
|
4
|
-
declare const Context: React.Context<{
|
|
5
|
-
navItem: React.MutableRefObject<HTMLLIElement> | null;
|
|
6
|
-
subTitle: string | null;
|
|
7
|
-
}>;
|
|
8
|
-
declare const NavItemWithSubNav: FC<NavItemWithSubNavProps>;
|
|
9
|
-
interface NavItemWithSubNavProps {
|
|
10
|
-
/**
|
|
11
|
-
* The URL to link to when a top-level link inside the NavItemWithSubNav panel
|
|
12
|
-
* is clicked or touched.
|
|
13
|
-
*/
|
|
14
|
-
href?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Content to be displayed in the first slot of the NavItemWithSubNav. Must be
|
|
17
|
-
* a single SiteHeader.SubNavItem component.
|
|
18
|
-
*/
|
|
19
|
-
slot1: ReactElement;
|
|
20
|
-
/**
|
|
21
|
-
* Content to be displayed in the second slot of the NavItemWithSubNav. Must
|
|
22
|
-
* be a single SiteHeader.SubNavItem component.
|
|
23
|
-
*/
|
|
24
|
-
slot2: ReactNode;
|
|
25
|
-
/**
|
|
26
|
-
* Content to be displayed in the third slot of the NavItemWithSubNav. Must be
|
|
27
|
-
* a single SiteHeader.SubNavItem component.
|
|
28
|
-
*/
|
|
29
|
-
slot3?: ReactNode;
|
|
30
|
-
/**
|
|
31
|
-
* Title text to display inside the NavItemWithSubNav panel.
|
|
32
|
-
*/
|
|
33
|
-
subTitle?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Top-level text to display in the NavItemWithSubNav.
|
|
36
|
-
*/
|
|
37
|
-
title: string;
|
|
38
|
-
/**
|
|
39
|
-
* Text to display in top-level link inside the NavItemWithSubNav panel. Only
|
|
40
|
-
* applies if `href` is true. If not provided, text will be automatically
|
|
41
|
-
* generated from `title`.
|
|
42
|
-
*/
|
|
43
|
-
viewAllTitle?: string;
|
|
44
|
-
/**
|
|
45
|
-
* view all click handler.
|
|
46
|
-
*/
|
|
47
|
-
onViewAllClick?: () => void;
|
|
48
|
-
}
|
|
49
|
-
export { NavItemWithSubNav, NavItemWithSubNavProps, Context as NavItemContext };
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { FC, ReactNode } from "react";
|
|
3
|
-
import { anchorPoints } from "./index-9483ad5f";
|
|
4
|
-
import { loadingOptions } from "./Image-0e393cbf";
|
|
5
|
-
declare const PosterVideo: FC<PosterVideoProps>;
|
|
6
|
-
interface PosterVideoProps {
|
|
7
|
-
/**
|
|
8
|
-
* Anchor point for the Poster.Video,
|
|
9
|
-
*/
|
|
10
|
-
anchor?: typeof anchorPoints[number];
|
|
11
|
-
/**
|
|
12
|
-
* Should the Poster.Video autoplay?
|
|
13
|
-
*/
|
|
14
|
-
autoPlay?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* HTML video sources for the Poster.Video. [See MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video).
|
|
17
|
-
*/
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
/**
|
|
20
|
-
* Should the Poster.Video loop?
|
|
21
|
-
*/
|
|
22
|
-
loop?: boolean;
|
|
23
|
-
}
|
|
24
|
-
declare const PosterImage: FC<PosterImageProps>;
|
|
25
|
-
interface PosterImageProps {
|
|
26
|
-
/**
|
|
27
|
-
* Alternative text for the Poster.Image, shown if the image cannot be displayed. Consider avoiding this prop if the image is for decorative purposes only.
|
|
28
|
-
*/
|
|
29
|
-
alt?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Anchor point for the Poster.Image.
|
|
32
|
-
*/
|
|
33
|
-
anchor?: typeof anchorPoints[number];
|
|
34
|
-
/**
|
|
35
|
-
* Loading behaviour of the Poster.Image.
|
|
36
|
-
*/
|
|
37
|
-
loading?: typeof loadingOptions[number];
|
|
38
|
-
/**
|
|
39
|
-
* The HTML [sizes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#Example_4_Using_the_srcset_and_sizes_attributes) attribute for the Poster.Image. Required if `srcSet` is defined.
|
|
40
|
-
*/
|
|
41
|
-
sizes?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The `src` for the Poster.Image. Used if srcSet is not defined, or as a fallback.
|
|
44
|
-
*/
|
|
45
|
-
src: string;
|
|
46
|
-
/**
|
|
47
|
-
* A comma-separated list indicating a set of possible sources for the user agent to use for different screen sizes for the Poster.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`.
|
|
48
|
-
*/
|
|
49
|
-
srcSet?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Contents of the PosterImage.
|
|
52
|
-
*/
|
|
53
|
-
children?: React.ReactNode;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Use `Poster` to compose content on an image or video background.
|
|
57
|
-
*/
|
|
58
|
-
declare const Poster: FC<PosterProps> & {
|
|
59
|
-
Image: typeof PosterImage;
|
|
60
|
-
Video: typeof PosterVideo;
|
|
61
|
-
};
|
|
62
|
-
interface PosterProps {
|
|
63
|
-
/**
|
|
64
|
-
* Poster background to overlay content on top of. Must be one of Poster.Image or Poster.Video.
|
|
65
|
-
*/
|
|
66
|
-
background: ReactNode;
|
|
67
|
-
/**
|
|
68
|
-
* Contents of the Poster. Each item will be wrapped in an PosterItem component.
|
|
69
|
-
*/
|
|
70
|
-
children: ReactNode;
|
|
71
|
-
/**
|
|
72
|
-
* Apply an overlay to the Poster background, e.g. a scrim gradient for text legibility.
|
|
73
|
-
*/
|
|
74
|
-
overlay?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* The background surface colour to show behind the Poster content before it loads.
|
|
77
|
-
* If using `overlay`, the gradient will match the surface.
|
|
78
|
-
*/
|
|
79
|
-
surface?: "darker" | "lighter";
|
|
80
|
-
}
|
|
81
|
-
export { PosterVideo, PosterVideoProps, PosterImage, PosterImageProps, Poster, PosterProps };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC } from "react";
|
|
4
|
-
import { FormControlProps } from "./FormControl-1e1bf2bf";
|
|
5
|
-
/**
|
|
6
|
-
* Radio Button component.
|
|
7
|
-
*/
|
|
8
|
-
declare const RadioButton: FC<RadioButtonProps>;
|
|
9
|
-
interface RadioButtonProps {
|
|
10
|
-
/**
|
|
11
|
-
* ID for the Radio Button.
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* Should the RadioButton be disabled?
|
|
16
|
-
*/
|
|
17
|
-
isDisabled?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Helper text for the RadioButton, shown below the label.
|
|
20
|
-
*/
|
|
21
|
-
helper?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Label for the RadioButton.
|
|
24
|
-
*/
|
|
25
|
-
label: string;
|
|
26
|
-
/**
|
|
27
|
-
* Current value (controlled).
|
|
28
|
-
*/
|
|
29
|
-
value: string;
|
|
30
|
-
}
|
|
31
|
-
type EventType = React.ChangeEvent<HTMLInputElement>;
|
|
32
|
-
type ContextProps = {
|
|
33
|
-
blurEvent: (event: EventType) => void;
|
|
34
|
-
changeEvent: (event: EventType) => void;
|
|
35
|
-
groupDisabled: boolean;
|
|
36
|
-
checkedValue: string;
|
|
37
|
-
labelSize: "s" | "l";
|
|
38
|
-
name: string;
|
|
39
|
-
size: "s" | "l";
|
|
40
|
-
};
|
|
41
|
-
declare const Provider: React.Provider<ContextProps>;
|
|
42
|
-
declare const useRadioContext: () => ContextProps;
|
|
43
|
-
type EventType$0 = React.ChangeEvent<HTMLInputElement>;
|
|
44
|
-
/**
|
|
45
|
-
* Use `RadioGroup` to wrap and control radio buttons and apply default values
|
|
46
|
-
*/
|
|
47
|
-
declare const RadioGroup: FC<RadioGroupProps> & {
|
|
48
|
-
RadioButton: typeof RadioButton;
|
|
49
|
-
};
|
|
50
|
-
interface RadioGroupProps extends Omit<FormControlProps, "children" | "elementType" | "errorMessage" | "htmlFor" | "labelSize" | "requirementStatus" | "disclosureText" | "disclosureTitle" | "onClickDisclosure" | "helperUnderLabel" | "supplementaryInfo"> {
|
|
51
|
-
/**
|
|
52
|
-
* Contents of the RadioGroup. Should only contain `RadioGroup.RadioButton`
|
|
53
|
-
*/
|
|
54
|
-
children?: React.ReactNode;
|
|
55
|
-
/**
|
|
56
|
-
* Value of the RadioButton that should be checked by default.
|
|
57
|
-
*/
|
|
58
|
-
checkedValue: string;
|
|
59
|
-
/**
|
|
60
|
-
* Should all controls be disabled?
|
|
61
|
-
*/
|
|
62
|
-
isDisabled?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Helper message for the RadioGroup.
|
|
65
|
-
*/
|
|
66
|
-
helper?: string;
|
|
67
|
-
/**
|
|
68
|
-
* ID for the RadioGroup.
|
|
69
|
-
*/
|
|
70
|
-
id: string;
|
|
71
|
-
/**
|
|
72
|
-
* Label for the RadioGroup.
|
|
73
|
-
*/
|
|
74
|
-
label: string;
|
|
75
|
-
/**
|
|
76
|
-
* Label size for the RadioGroup
|
|
77
|
-
*/
|
|
78
|
-
labelSize?: "s" | "l";
|
|
79
|
-
/**
|
|
80
|
-
* Name for the RadioGroup.
|
|
81
|
-
*/
|
|
82
|
-
name: string;
|
|
83
|
-
/**
|
|
84
|
-
* Function to call when the RadioGroup loses focus.
|
|
85
|
-
*/
|
|
86
|
-
onBlur?: (e: EventType$0) => void;
|
|
87
|
-
/**
|
|
88
|
-
* Callback function to update the RadioGroup's controlled `checkedValue` prop,
|
|
89
|
-
* for example `e => setCheckedValue(e.target.value)`.
|
|
90
|
-
*/
|
|
91
|
-
onChange?: (event: EventType$0) => void;
|
|
92
|
-
/**
|
|
93
|
-
* Size of the RadioGroup.
|
|
94
|
-
*/
|
|
95
|
-
size?: "s" | "l";
|
|
96
|
-
}
|
|
97
|
-
export { RadioButton, RadioButtonProps, Provider, useRadioContext, RadioGroup, RadioGroupProps };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Use `Section` to compose content into vertical page layouts.
|
|
4
|
-
*/
|
|
5
|
-
declare const Section: FC<SectionProps>;
|
|
6
|
-
interface SectionProps {
|
|
7
|
-
/**
|
|
8
|
-
* Content to display in the Section.
|
|
9
|
-
*/
|
|
10
|
-
children: ReactNode;
|
|
11
|
-
/**
|
|
12
|
-
* Should the Section be visible for debugging and documentation
|
|
13
|
-
* purposes?
|
|
14
|
-
*/
|
|
15
|
-
isDebugVisible?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Should the width of this Section be unconstrained (filling the viewport)?
|
|
18
|
-
*/
|
|
19
|
-
isFullWidth?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export { Section, SectionProps };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Use `SiteFooter` to display information at the bottom of a page.
|
|
4
|
-
*/
|
|
5
|
-
declare const SiteFooter: FC<SiteFooterProps> & {
|
|
6
|
-
Item: typeof SiteFooterItem;
|
|
7
|
-
ItemGroup: typeof SiteFooterItemGroup;
|
|
8
|
-
};
|
|
9
|
-
declare const SiteFooterItemGroup: FC<SiteFooterItemGroupProps>;
|
|
10
|
-
declare const SiteFooterItem: FC<SiteFooterItemProps>;
|
|
11
|
-
interface SiteFooterItemGroupProps {
|
|
12
|
-
/**
|
|
13
|
-
* Contents of the SiteFooterItemGroup. Must be SiteFooter.Item components.
|
|
14
|
-
*/
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
/**
|
|
17
|
-
* Title text for the SiteFooterItemGroup.
|
|
18
|
-
*/
|
|
19
|
-
title: string;
|
|
20
|
-
}
|
|
21
|
-
interface SiteFooterItemProps {
|
|
22
|
-
/**
|
|
23
|
-
* Contents of the SiteFooterItem.
|
|
24
|
-
*/
|
|
25
|
-
children: ReactNode;
|
|
26
|
-
/**
|
|
27
|
-
* A URL to link to when the Item is clicked or touched.
|
|
28
|
-
*/
|
|
29
|
-
href: string;
|
|
30
|
-
/**
|
|
31
|
-
* On click handler.
|
|
32
|
-
*/
|
|
33
|
-
onClick?: () => void;
|
|
34
|
-
}
|
|
35
|
-
interface SiteFooterProps {
|
|
36
|
-
/**
|
|
37
|
-
* Secondary content of the SiteFooter. Must be SiteFooter.Item components.
|
|
38
|
-
*/
|
|
39
|
-
children?: ReactNode;
|
|
40
|
-
/**
|
|
41
|
-
* Copyright year.
|
|
42
|
-
*/
|
|
43
|
-
currentYear?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Should the SiteFooter include a Curve?
|
|
46
|
-
*/
|
|
47
|
-
curve?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Accessible text for the SiteFooter logo.
|
|
50
|
-
*/
|
|
51
|
-
logoLabel?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Main content of the SiteFooter. Must be SiteFooter.ItemGroup components.
|
|
54
|
-
*/
|
|
55
|
-
main?: ReactNode;
|
|
56
|
-
/**
|
|
57
|
-
* Text that appears at the top of the footer. Can be the name of the site, a
|
|
58
|
-
* brand strapline, or similar.
|
|
59
|
-
*/
|
|
60
|
-
siteName?: string;
|
|
61
|
-
}
|
|
62
|
-
export { SiteFooter, SiteFooterItemGroup, SiteFooterItem, SiteFooterItemGroupProps, SiteFooterItemProps, SiteFooterProps };
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC, ReactNode } from "react";
|
|
4
|
-
import { subBrands } from "./BrandLogo-8107d59f";
|
|
5
|
-
import { Column } from "./index-f419cf04";
|
|
6
|
-
import { Item } from "./index-699086a7";
|
|
7
|
-
import { ItemGroup } from "./index-e340924e";
|
|
8
|
-
import { NavItem, NavItemWithSubNav } from "./index-e6d20018";
|
|
9
|
-
import { NodeItem } from "./SiteHeader.rehydrator-acc9d8c4";
|
|
10
|
-
import { SubNavItem } from "./index-74488a9f";
|
|
11
|
-
declare const Context: React.Context<{
|
|
12
|
-
transparent: boolean;
|
|
13
|
-
}>;
|
|
14
|
-
/**
|
|
15
|
-
* Use `SiteHeader` to display brand logo and navigation at the top of a page.
|
|
16
|
-
*/
|
|
17
|
-
declare const SiteHeader: FC<SiteHeaderProps> & {
|
|
18
|
-
Column: typeof Column;
|
|
19
|
-
Item: typeof Item;
|
|
20
|
-
ItemGroup: typeof ItemGroup;
|
|
21
|
-
NavItem: typeof NavItem;
|
|
22
|
-
NodeItem: typeof NodeItem;
|
|
23
|
-
NavItemWithSubNav: typeof NavItemWithSubNav;
|
|
24
|
-
SubNavItem: typeof SubNavItem;
|
|
25
|
-
};
|
|
26
|
-
interface SiteHeaderProps {
|
|
27
|
-
/**
|
|
28
|
-
* Contents of the SiteHeader. Must be SiteHeader.NavItem or
|
|
29
|
-
* SiteHeader.NavItemWithSubNav components.
|
|
30
|
-
*/
|
|
31
|
-
children?: ReactNode;
|
|
32
|
-
/**
|
|
33
|
-
* Basket component for the SiteHeader.
|
|
34
|
-
*/
|
|
35
|
-
basket?: ReactNode;
|
|
36
|
-
/**
|
|
37
|
-
* Should account login links be included in the SiteHeader?
|
|
38
|
-
*/
|
|
39
|
-
hasLogin?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Should the SiteHeader have a transparent background?
|
|
42
|
-
*/
|
|
43
|
-
isTransparent?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* A URL to link to when SiteHeader logo is clicked or touched.
|
|
46
|
-
*/
|
|
47
|
-
loginHref?: string;
|
|
48
|
-
/**
|
|
49
|
-
* A Function to run to when SiteHeader logo is clicked or touched.
|
|
50
|
-
*/
|
|
51
|
-
logoOnClick?: () => void;
|
|
52
|
-
/**
|
|
53
|
-
* A Function to run to when SiteHeader login links are clicked or touched.
|
|
54
|
-
*/
|
|
55
|
-
loginOnClick?: () => void;
|
|
56
|
-
/**
|
|
57
|
-
* Text to display in SiteHeader login links.
|
|
58
|
-
*/
|
|
59
|
-
loginTitle?: string;
|
|
60
|
-
/**
|
|
61
|
-
* A URL to link to when the SiteHeader brand logo link is clicked or touched.
|
|
62
|
-
*/
|
|
63
|
-
logoHref?: string;
|
|
64
|
-
/**
|
|
65
|
-
* Accessible text for the SiteHeader brand logo link.
|
|
66
|
-
*/
|
|
67
|
-
logoLabel?: string;
|
|
68
|
-
/**
|
|
69
|
-
* Search component for the SiteHeader.
|
|
70
|
-
*/
|
|
71
|
-
search?: ReactNode;
|
|
72
|
-
/**
|
|
73
|
-
* Optional sub-brand variant. Only applies to BT.
|
|
74
|
-
*/
|
|
75
|
-
subBrand?: typeof subBrands[number];
|
|
76
|
-
}
|
|
77
|
-
export { MenuButton } from "./SiteHeader.rehydrator-acc9d8c4";
|
|
78
|
-
export { SiteHeader, SiteHeaderProps, Context as SiteHeaderContext };
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC, ReactNode, ReactElement } from "react";
|
|
4
|
-
declare const MenuButton: FC<MenuButtonProps>;
|
|
5
|
-
interface MenuButtonProps {
|
|
6
|
-
menuOpen: boolean;
|
|
7
|
-
setMenuOpen: (arg0: boolean) => any;
|
|
8
|
-
}
|
|
9
|
-
declare const NodeItem: FC<NodeItemProps>;
|
|
10
|
-
interface NodeItemProps {
|
|
11
|
-
/**
|
|
12
|
-
* Content to display with `SiteHeader.NodeItem`
|
|
13
|
-
*/
|
|
14
|
-
children?: ReactNode;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: (el: HTMLLIElement, hydrate: any) => Promise<JSX.Element>;
|
|
17
|
-
declare const _default: (el: HTMLDivElement, hydrate: any) => Promise<JSX.Element>;
|
|
18
|
-
declare const _default: (el: HTMLLIElement, hydrate: any) => Promise<JSX.Element>;
|
|
19
|
-
declare const Panel: FC<PanelProps> & {
|
|
20
|
-
ViewAll: typeof ViewAll;
|
|
21
|
-
};
|
|
22
|
-
declare const ViewAll: FC<ViewAllProps>;
|
|
23
|
-
interface ViewAllProps {
|
|
24
|
-
href: string;
|
|
25
|
-
title: string;
|
|
26
|
-
onClick?: () => void;
|
|
27
|
-
}
|
|
28
|
-
interface PanelProps {
|
|
29
|
-
children: ReactNode;
|
|
30
|
-
navItemRef: React.MutableRefObject<HTMLElement> | null;
|
|
31
|
-
open: boolean;
|
|
32
|
-
promo?: ReactNode;
|
|
33
|
-
setOpen: (arg0: boolean) => any;
|
|
34
|
-
subNavItemRef?: React.MutableRefObject<HTMLElement>;
|
|
35
|
-
subNavLink?: string;
|
|
36
|
-
title?: ReactNode;
|
|
37
|
-
viewAll?: ReactElement;
|
|
38
|
-
withSubNav?: boolean;
|
|
39
|
-
}
|
|
40
|
-
declare const BackButton: FC<BackButtonProps>;
|
|
41
|
-
interface BackButtonProps {
|
|
42
|
-
setOpen: (arg0: boolean) => any;
|
|
43
|
-
}
|
|
44
|
-
declare const Column: FC<ColumnProps>;
|
|
45
|
-
interface ColumnProps {
|
|
46
|
-
/**
|
|
47
|
-
* Contents of the Column. Must be SiteHeader.ItemGroup components.
|
|
48
|
-
*/
|
|
49
|
-
children: ReactNode;
|
|
50
|
-
}
|
|
51
|
-
declare const _default: (el: HTMLLIElement, hydrate: any) => Promise<JSX.Element>;
|
|
52
|
-
declare const Item: FC<ItemProps>;
|
|
53
|
-
interface ItemProps {
|
|
54
|
-
/**
|
|
55
|
-
* Contents of the Item. Usually text to be displayed in the Item link.
|
|
56
|
-
*/
|
|
57
|
-
children: ReactNode;
|
|
58
|
-
/**
|
|
59
|
-
* A URL to link to when the Item is clicked or touched.
|
|
60
|
-
*/
|
|
61
|
-
href: string;
|
|
62
|
-
/**
|
|
63
|
-
* Should the Item be emphasised?
|
|
64
|
-
*/
|
|
65
|
-
isEmphasised?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* On click handler.
|
|
68
|
-
*/
|
|
69
|
-
onClick?: () => void;
|
|
70
|
-
}
|
|
71
|
-
declare const SiteHeaderRehydrator: {
|
|
72
|
-
(el: HTMLDivElement, hydrate: any): Promise<JSX.Element>;
|
|
73
|
-
ItemGroupRehydrator: (el: HTMLLIElement, hydrate: any) => Promise<JSX.Element>;
|
|
74
|
-
NavItemRehydrator: (el: HTMLLIElement, hydrate: any) => Promise<JSX.Element>;
|
|
75
|
-
NavItemWithSubNavRehydrator: (el: HTMLLIElement, hydrate: any) => Promise<JSX.Element>;
|
|
76
|
-
SubNavItemRehydrator: (el: HTMLDivElement, hydrate: any) => Promise<JSX.Element>;
|
|
77
|
-
};
|
|
78
|
-
export { _default as default, MenuButton, MenuButtonProps, NodeItem, NodeItemProps, Panel, ViewAll, ViewAllProps, PanelProps, BackButton, BackButtonProps, Column, ColumnProps, Item, ItemProps };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
declare const SubNavItem: FC<SubNavItemProps>;
|
|
3
|
-
interface SubNavItemProps {
|
|
4
|
-
/**
|
|
5
|
-
* Contents of the SubNavItem. Must be SiteHeader.ItemGroup or
|
|
6
|
-
* SiteHeader.Column components.
|
|
7
|
-
*/
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Should the SubNavItem be the default open item in a
|
|
11
|
-
* SiteHeader.NavItemWithSubNav? If not specified, the default open item will
|
|
12
|
-
* be set automatically.
|
|
13
|
-
*/
|
|
14
|
-
isDefaultItem?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Optionally shift the SubNavItem-link upwards (in "desktop" viewports only)
|
|
17
|
-
* to close off any empty space between items due to content size.
|
|
18
|
-
*/
|
|
19
|
-
offsetXL?: "24" | "48";
|
|
20
|
-
/**
|
|
21
|
-
* Content to display in the SubNavItem panel promo area.
|
|
22
|
-
*/
|
|
23
|
-
promo?: ReactNode;
|
|
24
|
-
/**
|
|
25
|
-
* A URL to link to when the SubNavItem is clicked or touched. Only applies if
|
|
26
|
-
* `children` are not present.
|
|
27
|
-
*/
|
|
28
|
-
href?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Optional subtitle text for the SubNavItem.
|
|
31
|
-
*/
|
|
32
|
-
subTitle?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Title text for the SubNavItem.
|
|
35
|
-
*/
|
|
36
|
-
title: string;
|
|
37
|
-
/**
|
|
38
|
-
* Text to display in top-level link inside the SubNavItem panel. Only
|
|
39
|
-
* applies if both `children` are present and `href` is true. If not
|
|
40
|
-
* provided, top-level link text will be automatically generated from `title`.
|
|
41
|
-
*/
|
|
42
|
-
viewAllTitle?: string;
|
|
43
|
-
/**
|
|
44
|
-
* On click handler.
|
|
45
|
-
*/
|
|
46
|
-
onClick?: () => void;
|
|
47
|
-
}
|
|
48
|
-
export { SubNavItem, SubNavItemProps };
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC, HTMLAttributes } from "react";
|
|
4
|
-
type SurfaceBackground = "light" | "dark";
|
|
5
|
-
declare const Context: React.Context<{
|
|
6
|
-
surface: SurfaceBackground;
|
|
7
|
-
}>;
|
|
8
|
-
/**
|
|
9
|
-
* Use `Surface` to compose content using the Arc system.
|
|
10
|
-
*/
|
|
11
|
-
declare const Surface: FC<SurfaceProps>;
|
|
12
|
-
declare const backgrounds: readonly ["black", "brand", "brand-flat", "dark", "darker", "coral", "turquoise", "light", "lighter", "white"];
|
|
13
|
-
declare const backgroundsBT: readonly ["black", "brand", "brand-flat", "dark", "darker", "coral", "turquoise", "light", "lighter", "white"];
|
|
14
|
-
type SurfacePadding = "8" | "12" | "16" | "24" | "32" | "48" | "64";
|
|
15
|
-
type SurfaceBackgroundColor = "black" | "brand" | "brand-flat" | "dark" | "darker" | "coral" | "turquoise" | "light" | "lighter" | "white";
|
|
16
|
-
interface SurfaceProps extends HTMLAttributes<HTMLElement> {
|
|
17
|
-
/**
|
|
18
|
-
* Background colour of the Surface. Contents will change colour to meet
|
|
19
|
-
* accessibility requirements.
|
|
20
|
-
*/
|
|
21
|
-
background?: SurfaceBackgroundColor;
|
|
22
|
-
/**
|
|
23
|
-
* Content to display on the Surface.
|
|
24
|
-
*/
|
|
25
|
-
children?: any;
|
|
26
|
-
/**
|
|
27
|
-
* Should the Surface grow to take up all the available vertical space? Most
|
|
28
|
-
* of the time this should not be required, but useful to fix issues in
|
|
29
|
-
* certain layout combinations.
|
|
30
|
-
*/
|
|
31
|
-
growVertically?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* _Caution: This is an experimental property and may be removed at any time._
|
|
34
|
-
*
|
|
35
|
-
* Size of the padding applied to all sides of the Surface. Use to prevent margin collapsing issues.
|
|
36
|
-
*/
|
|
37
|
-
padding?: SurfacePadding;
|
|
38
|
-
/**
|
|
39
|
-
* _Caution: This is an experimental property and may be removed at any time._
|
|
40
|
-
*
|
|
41
|
-
* Size of the horizontal padding applied to the left and right of the Surface.
|
|
42
|
-
*/
|
|
43
|
-
paddingHorizontal?: SurfacePadding;
|
|
44
|
-
/**
|
|
45
|
-
* _Caution: This is an experimental property and may be removed at any time._
|
|
46
|
-
*
|
|
47
|
-
* Size of the vertical padding applied to the top and bottom of the Surface.
|
|
48
|
-
*/
|
|
49
|
-
paddingVertical?: SurfacePadding;
|
|
50
|
-
}
|
|
51
|
-
export { Surface, backgrounds, backgroundsBT, SurfacePadding, SurfaceBackgroundColor, SurfaceProps, Context as SurfaceContext };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Use `Text` to display text.
|
|
4
|
-
*/
|
|
5
|
-
declare const Text: FC<TextProps>;
|
|
6
|
-
type Tone = "default" | "supporting" | "muted";
|
|
7
|
-
type TextSize = "xs" | "s" | "m" | "l";
|
|
8
|
-
interface TextProps {
|
|
9
|
-
/**
|
|
10
|
-
* Alignment of the Text.
|
|
11
|
-
*/
|
|
12
|
-
align?: "left" | "center" | "right";
|
|
13
|
-
/**
|
|
14
|
-
* Text and inline markup to display.
|
|
15
|
-
*/
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
/**
|
|
18
|
-
* Should the Text component be styled as an inline element?
|
|
19
|
-
*/
|
|
20
|
-
isInline?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Should the Text width be constrained to a typographic measure?
|
|
23
|
-
*/
|
|
24
|
-
isMeasured?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Typographic Text size.
|
|
27
|
-
*/
|
|
28
|
-
size?: TextSize;
|
|
29
|
-
/**
|
|
30
|
-
* Visual emphasis of the Text.
|
|
31
|
-
*/
|
|
32
|
-
tone?: Tone;
|
|
33
|
-
/**
|
|
34
|
-
* Id for the Text.
|
|
35
|
-
*/
|
|
36
|
-
id?: string;
|
|
37
|
-
}
|
|
38
|
-
export { Text, Tone, TextSize, TextProps };
|