@arc-ui/components 11.6.0 → 11.8.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.d.ts +1 -1
- package/dist/Alert/Alert.cjs.js +12 -91
- package/dist/Alert/Alert.esm.d.ts +1 -1
- package/dist/Alert/Alert.esm.js +5 -84
- package/dist/Badge/Badge.cjs.js +4 -4
- package/dist/Badge/Badge.esm.js +5 -5
- package/dist/Box/Box.cjs.d.ts +40 -0
- package/dist/Box/Box.cjs.js +32 -0
- package/dist/Box/Box.esm.d.ts +40 -0
- package/dist/Box/Box.esm.js +24 -0
- package/dist/Box/package.json +7 -0
- package/dist/BrandLogo/BrandLogo.cjs.d.ts +1 -1
- package/dist/BrandLogo/BrandLogo.cjs.js +2 -2
- package/dist/BrandLogo/BrandLogo.esm.d.ts +1 -1
- package/dist/BrandLogo/BrandLogo.esm.js +2 -2
- package/dist/Breadcrumbs/Breadcrumbs.cjs.d.ts +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +4 -4
- package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +4 -4
- package/dist/Button/Button.cjs.d.ts +1 -1
- package/dist/Button/Button.cjs.js +3 -3
- package/dist/Button/Button.esm.d.ts +1 -1
- package/dist/Button/Button.esm.js +3 -3
- package/dist/Card/Card.cjs.d.ts +1 -1
- package/dist/Card/Card.cjs.js +5 -5
- package/dist/Card/Card.esm.d.ts +1 -1
- package/dist/Card/Card.esm.js +5 -5
- package/dist/Checkbox/Checkbox.cjs.d.ts +1 -1
- package/dist/Checkbox/Checkbox.cjs.js +5 -5
- package/dist/Checkbox/Checkbox.esm.d.ts +1 -1
- package/dist/Checkbox/Checkbox.esm.js +5 -5
- package/dist/Columns/Columns.cjs.d.ts +1 -1
- package/dist/Columns/Columns.esm.d.ts +1 -1
- package/dist/Curve/Curve.cjs.d.ts +1 -1
- package/dist/Curve/Curve.cjs.js +1 -1
- package/dist/Curve/Curve.esm.d.ts +1 -1
- package/dist/Curve/Curve.esm.js +1 -1
- package/dist/Disclosure/Disclosure.cjs.d.ts +1 -1
- package/dist/Disclosure/Disclosure.cjs.js +2 -2
- package/dist/Disclosure/Disclosure.esm.d.ts +1 -1
- package/dist/Disclosure/Disclosure.esm.js +2 -2
- package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +1 -1
- package/dist/DisclosureMini/DisclosureMini.cjs.js +3 -3
- package/dist/DisclosureMini/DisclosureMini.esm.d.ts +1 -1
- package/dist/DisclosureMini/DisclosureMini.esm.js +3 -3
- package/dist/Filter/Filter.cjs.d.ts +1 -1
- package/dist/Filter/Filter.cjs.js +2 -2
- package/dist/Filter/Filter.esm.d.ts +1 -1
- package/dist/Filter/Filter.esm.js +2 -2
- package/dist/FormControl/FormControl.cjs.d.ts +1 -1
- package/dist/FormControl/FormControl.cjs.js +4 -4
- package/dist/FormControl/FormControl.esm.d.ts +1 -1
- package/dist/FormControl/FormControl.esm.js +4 -4
- package/dist/Group/Group.cjs.d.ts +1 -1
- package/dist/Group/Group.cjs.js +2 -2
- package/dist/Group/Group.esm.d.ts +1 -1
- package/dist/Group/Group.esm.js +2 -2
- package/dist/Heading/Heading.cjs.d.ts +1 -1
- package/dist/Heading/Heading.cjs.js +2 -2
- package/dist/Heading/Heading.esm.d.ts +1 -1
- package/dist/Heading/Heading.esm.js +2 -2
- package/dist/Icon/Icon.cjs.d.ts +1 -1
- package/dist/Icon/Icon.cjs.js +2 -2
- package/dist/Icon/Icon.esm.d.ts +1 -1
- package/dist/Icon/Icon.esm.js +2 -2
- package/dist/Image/Image.cjs.d.ts +1 -1
- package/dist/Image/Image.cjs.js +2 -1
- package/dist/Image/Image.esm.d.ts +1 -1
- package/dist/Image/Image.esm.js +1 -1
- package/dist/Markup/Markup.cjs.js +1 -1
- package/dist/Markup/Markup.esm.js +1 -1
- package/dist/Modal/Modal.cjs.d.ts +53 -0
- package/dist/Modal/Modal.cjs.js +677 -0
- package/dist/Modal/Modal.esm.d.ts +53 -0
- package/dist/Modal/Modal.esm.js +669 -0
- package/dist/Modal/package.json +7 -0
- package/dist/Pagination/Pagination.cjs.js +6 -6
- package/dist/Pagination/Pagination.esm.js +6 -6
- package/dist/PaginationSimple/PaginationSimple.cjs.js +6 -6
- package/dist/PaginationSimple/PaginationSimple.esm.js +6 -6
- package/dist/Poster/Poster.cjs.d.ts +1 -1
- package/dist/Poster/Poster.cjs.js +3 -3
- package/dist/Poster/Poster.esm.d.ts +1 -1
- package/dist/Poster/Poster.esm.js +3 -3
- package/dist/ProgressBar/ProgressBar.cjs.js +7 -7
- package/dist/ProgressBar/ProgressBar.esm.js +8 -8
- package/dist/ProgressStepper/ProgressStepper.cjs.d.ts +89 -0
- package/dist/ProgressStepper/ProgressStepper.cjs.js +152 -0
- package/dist/ProgressStepper/ProgressStepper.esm.d.ts +89 -0
- package/dist/ProgressStepper/ProgressStepper.esm.js +144 -0
- package/dist/ProgressStepper/package.json +7 -0
- package/dist/RadioGroup/RadioGroup.cjs.d.ts +1 -1
- package/dist/RadioGroup/RadioGroup.cjs.js +5 -5
- package/dist/RadioGroup/RadioGroup.esm.d.ts +1 -1
- package/dist/RadioGroup/RadioGroup.esm.js +5 -5
- package/dist/Rule/Rule.cjs.js +1 -1
- package/dist/Rule/Rule.esm.js +1 -1
- package/dist/ScrollToTop/ScrollToTop.cjs.js +2 -2
- package/dist/ScrollToTop/ScrollToTop.esm.js +2 -2
- package/dist/Select/Select.cjs.d.ts +1 -1
- package/dist/Select/Select.cjs.js +453 -916
- package/dist/Select/Select.esm.d.ts +1 -1
- package/dist/Select/Select.esm.js +419 -882
- package/dist/SiteFooter/SiteFooter.cjs.d.ts +1 -1
- package/dist/SiteFooter/SiteFooter.cjs.js +4 -4
- package/dist/SiteFooter/SiteFooter.esm.d.ts +1 -1
- package/dist/SiteFooter/SiteFooter.esm.js +5 -5
- package/dist/SiteHeader/SiteHeader.cjs.d.ts +1 -1
- package/dist/SiteHeader/SiteHeader.cjs.js +6 -6
- package/dist/SiteHeader/SiteHeader.esm.d.ts +1 -1
- package/dist/SiteHeader/SiteHeader.esm.js +6 -6
- package/dist/Surface/Surface.cjs.d.ts +1 -1
- package/dist/Surface/Surface.cjs.js +1 -1
- package/dist/Surface/Surface.esm.d.ts +1 -1
- package/dist/Surface/Surface.esm.js +1 -1
- package/dist/Switch/Switch.cjs.d.ts +1 -1
- package/dist/Switch/Switch.cjs.js +242 -18
- package/dist/Switch/Switch.esm.d.ts +1 -1
- package/dist/Switch/Switch.esm.js +236 -12
- package/dist/Tabs/Tabs.cjs.d.ts +75 -0
- package/dist/Tabs/Tabs.cjs.js +514 -0
- package/dist/Tabs/Tabs.esm.d.ts +75 -0
- package/dist/Tabs/Tabs.esm.js +506 -0
- package/dist/Tabs/package.json +7 -0
- package/dist/Tag/Tag.cjs.js +2 -2
- package/dist/Tag/Tag.esm.js +2 -2
- package/dist/Text/Text.cjs.d.ts +1 -1
- package/dist/Text/Text.cjs.js +2 -2
- package/dist/Text/Text.esm.d.ts +1 -1
- package/dist/Text/Text.esm.js +2 -2
- package/dist/TextArea/TextArea.cjs.d.ts +4 -1
- package/dist/TextArea/TextArea.cjs.js +22 -21
- package/dist/TextArea/TextArea.esm.d.ts +4 -1
- package/dist/TextArea/TextArea.esm.js +22 -21
- package/dist/TextInput/TextInput.cjs.d.ts +1 -1
- package/dist/TextInput/TextInput.cjs.js +5 -5
- package/dist/TextInput/TextInput.esm.d.ts +1 -1
- package/dist/TextInput/TextInput.esm.js +5 -5
- package/dist/Toast/Toast.cjs.d.ts +52 -0
- package/dist/Toast/Toast.cjs.js +743 -0
- package/dist/Toast/Toast.esm.d.ts +52 -0
- package/dist/Toast/Toast.esm.js +735 -0
- package/dist/Toast/package.json +7 -0
- package/dist/Truncate/Truncate.cjs.js +3 -2
- package/dist/Truncate/Truncate.esm.js +3 -2
- package/dist/UniversalHeader/UniversalHeader.cjs.d.ts +1 -1
- package/dist/UniversalHeader/UniversalHeader.cjs.js +2 -2
- package/dist/UniversalHeader/UniversalHeader.esm.d.ts +1 -1
- package/dist/UniversalHeader/UniversalHeader.esm.js +2 -2
- package/dist/_shared/cjs/{BrandLogo-8008f0c4.js → BrandLogo-8107d59f.js} +1 -1
- package/dist/_shared/cjs/{Breadcrumbs-8b554370.js → Breadcrumbs-0906dd10.js} +10 -10
- package/dist/_shared/cjs/BtIconTick-42fcc5ec.js +91 -0
- package/dist/_shared/cjs/{Button-27512fee.d.ts → Button-5aaa6776.d.ts} +4 -0
- package/dist/_shared/cjs/{Button-27512fee.js → Button-5aaa6776.js} +4 -4
- package/dist/_shared/cjs/{Card-804ab0e5.js → Card-fd189ba8.js} +4 -4
- package/dist/_shared/cjs/{Checkbox-21d3c4f6.js → Checkbox-02c546ca.js} +2 -2
- package/dist/_shared/cjs/Columns-e90798f8.d.ts +1 -1
- package/dist/_shared/cjs/{Curve-b05589d8.d.ts → Curve-781ef633.d.ts} +5 -2
- package/dist/_shared/cjs/{Curve-b05589d8.js → Curve-781ef633.js} +5 -2
- package/dist/_shared/cjs/{DisclosureMini-067e0319.js → DisclosureMini-52706ee6.js} +2 -2
- package/dist/_shared/cjs/{Filter-f7d2fbda.js → Filter-a7574fe7.js} +1 -1
- package/dist/_shared/cjs/{FormControl-9aaddd54.js → FormControl-1e1bf2bf.js} +2 -2
- package/dist/_shared/cjs/{Group-d83f8c2e.js → Group-f85dd4c0.js} +1 -1
- package/dist/_shared/cjs/{Heading-d45f6a7f.d.ts → Heading-e3332dcf.d.ts} +4 -0
- package/dist/_shared/cjs/{Heading-d45f6a7f.js → Heading-e3332dcf.js} +3 -3
- package/dist/_shared/cjs/{Icon-9ae8dbe1.js → Icon-e1dd45eb.js} +1 -1
- package/dist/_shared/cjs/{Image-3bf4b4f3.js → Image-0e393cbf.js} +2 -0
- package/dist/_shared/cjs/{Poster-e05bbe13.d.ts → Poster-faea1ad3.d.ts} +1 -1
- package/dist/_shared/cjs/{Poster-e05bbe13.js → Poster-faea1ad3.js} +2 -2
- package/dist/_shared/{esm/RadioGroup-1fd0f389.d.ts → cjs/RadioGroup-d7664b0c.d.ts} +1 -1
- package/dist/_shared/cjs/{RadioGroup-81805ef9.js → RadioGroup-d7664b0c.js} +2 -2
- package/dist/_shared/cjs/{SiteFooter-c540b5f1.js → SiteFooter-5da774e1.js} +3 -3
- package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +3 -3
- package/dist/_shared/cjs/{SiteHeader.rehydrator-f7fa2efe.js → SiteHeader.rehydrator-acc9d8c4.js} +4 -4
- package/dist/_shared/cjs/{Surface-6da0a78e.d.ts → Surface-b7c51b2b.d.ts} +3 -2
- package/dist/_shared/cjs/{Surface-6da0a78e.js → Surface-b7c51b2b.js} +1 -1
- package/dist/_shared/{esm/Text-00e9743b.d.ts → cjs/Text-fa447e2d.d.ts} +4 -0
- package/dist/_shared/cjs/{Text-6f2827e6.js → Text-fa447e2d.js} +3 -3
- package/dist/_shared/{esm/TextInput-7ed03a48.d.ts → cjs/TextInput-13050538.d.ts} +3 -1
- package/dist/_shared/{esm/TextInput-1631dbc4.d.ts → cjs/TextInput-f4549637.d.ts} +1 -1
- package/dist/_shared/cjs/{TextInput-33314fc4.js → TextInput-f4549637.js} +2 -2
- package/dist/_shared/cjs/{UniversalHeader-cc1d9e5a.js → UniversalHeader-da622e1a.js} +1 -1
- package/dist/_shared/cjs/extends-bb8ffacd.js +21 -0
- package/dist/_shared/cjs/index-27b53d49.js +174 -0
- package/dist/_shared/cjs/index-699086a7.d.ts +1 -1
- package/dist/_shared/cjs/index-74488a9f.d.ts +1 -1
- package/dist/_shared/cjs/{index.module-af7c85f2.js → index-952918c9.js} +199 -110
- package/dist/_shared/cjs/index-96c4d581.js +289 -0
- package/dist/_shared/cjs/index-c81c9401.d.ts +3 -3
- package/dist/_shared/cjs/index-e340924e.d.ts +1 -1
- package/dist/_shared/cjs/index-e6d20018.d.ts +1 -1
- package/dist/_shared/cjs/index-eb06f640.d.ts +1 -1
- package/dist/_shared/cjs/index-ec260f5e.js +869 -0
- package/dist/_shared/cjs/index-f419cf04.d.ts +1 -1
- package/dist/_shared/cjs/index-fb4b8fda.js +47 -0
- package/dist/_shared/cjs/index.module-bbcc4e18.js +126 -0
- package/dist/_shared/esm/{BrandLogo-56699561.js → BrandLogo-9ec620e8.js} +1 -1
- package/dist/_shared/esm/{Breadcrumbs-04590057.js → Breadcrumbs-dafa8dde.js} +10 -10
- package/dist/_shared/esm/BtIconTick-5fe50cc7.js +83 -0
- package/dist/_shared/esm/{Button-d319fa11.d.ts → Button-d1dbcf79.d.ts} +4 -0
- package/dist/_shared/esm/{Button-d319fa11.js → Button-d1dbcf79.js} +4 -4
- package/dist/_shared/esm/{Card-e79eb6c8.js → Card-e62c3ff6.js} +4 -4
- package/dist/_shared/esm/{Checkbox-94300d8c.js → Checkbox-d8891198.js} +2 -2
- package/dist/_shared/esm/Columns-8704515b.d.ts +1 -1
- package/dist/_shared/esm/{Curve-3e87b1bc.d.ts → Curve-bbc5589c.d.ts} +5 -2
- package/dist/_shared/esm/{Curve-3e87b1bc.js → Curve-bbc5589c.js} +5 -2
- package/dist/_shared/esm/{DisclosureMini-022beae3.js → DisclosureMini-9b819941.js} +2 -2
- package/dist/_shared/esm/{Filter-41b391e3.js → Filter-a01aed11.js} +1 -1
- package/dist/_shared/esm/{FormControl-5e3fdca3.js → FormControl-f18e2f59.js} +2 -2
- package/dist/_shared/esm/{Group-d62c3f56.js → Group-fb26fd32.js} +1 -1
- package/dist/_shared/esm/{Heading-b61432fb.d.ts → Heading-0f629151.d.ts} +4 -0
- package/dist/_shared/esm/{Heading-b61432fb.js → Heading-0f629151.js} +3 -3
- package/dist/_shared/esm/{Icon-fd247973.js → Icon-c1af47bc.js} +1 -1
- package/dist/_shared/esm/{Image-3596ce55.js → Image-3ed3863c.js} +2 -1
- package/dist/_shared/esm/{Poster-107d6954.d.ts → Poster-a83ae770.d.ts} +1 -1
- package/dist/_shared/esm/{Poster-107d6954.js → Poster-a83ae770.js} +2 -2
- package/dist/_shared/{cjs/RadioGroup-81805ef9.d.ts → esm/RadioGroup-be16d5d3.d.ts} +1 -1
- package/dist/_shared/esm/{RadioGroup-1fd0f389.js → RadioGroup-be16d5d3.js} +2 -2
- package/dist/_shared/esm/{SiteFooter-8075a9bd.js → SiteFooter-a182cb18.js} +3 -3
- package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +3 -3
- package/dist/_shared/esm/{SiteHeader.rehydrator-4da8ac64.js → SiteHeader.rehydrator-023b7b76.js} +4 -4
- package/dist/_shared/esm/{Surface-bb100ef8.d.ts → Surface-dde51789.d.ts} +3 -2
- package/dist/_shared/esm/{Surface-bb100ef8.js → Surface-dde51789.js} +1 -1
- package/dist/_shared/{cjs/Text-6f2827e6.d.ts → esm/Text-40457811.d.ts} +4 -0
- package/dist/_shared/esm/{Text-00e9743b.js → Text-40457811.js} +3 -3
- package/dist/_shared/{cjs/TextInput-7ed03a48.d.ts → esm/TextInput-13050538.d.ts} +3 -1
- package/dist/_shared/{cjs/TextInput-33314fc4.d.ts → esm/TextInput-4424c195.d.ts} +1 -1
- package/dist/_shared/esm/{TextInput-1631dbc4.js → TextInput-4424c195.js} +2 -2
- package/dist/_shared/esm/{UniversalHeader-7926abde.js → UniversalHeader-1c5a886d.js} +1 -1
- package/dist/_shared/esm/extends-4575346e.js +19 -0
- package/dist/_shared/esm/{index.module-599b86dd.js → index-22aad354.js} +196 -105
- package/dist/_shared/esm/index-369dce7f.js +847 -0
- package/dist/_shared/esm/index-699086a7.d.ts +1 -1
- package/dist/_shared/esm/index-74488a9f.d.ts +1 -1
- package/dist/_shared/esm/index-8000d9e3.js +168 -0
- package/dist/_shared/esm/index-94ecc5f8.js +280 -0
- package/dist/_shared/esm/index-bed18a88.js +26 -0
- package/dist/_shared/esm/index-c81c9401.d.ts +3 -3
- package/dist/_shared/esm/index-e340924e.d.ts +1 -1
- package/dist/_shared/esm/index-e6d20018.d.ts +1 -1
- package/dist/_shared/esm/index-eb06f640.d.ts +1 -1
- package/dist/_shared/esm/index-f419cf04.d.ts +1 -1
- package/dist/_shared/esm/index.module-5ed90b21.js +122 -0
- package/dist/index.es.js +2808 -1035
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3015 -1241
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/Box/Box.d.ts +36 -0
- package/dist/types/components/Box/index.d.ts +1 -0
- package/dist/types/components/Button/Button.d.ts +4 -0
- package/dist/types/components/Columns/Columns.d.ts +1 -1
- package/dist/types/components/Columns/index.d.ts +1 -1
- package/dist/types/components/Curve/Curve.d.ts +5 -2
- package/dist/types/components/Heading/Heading.d.ts +4 -0
- package/dist/types/components/Image/index.d.ts +1 -1
- package/dist/types/components/MediaCard/MediaCard.d.ts +57 -0
- package/dist/types/components/MediaCard/index.d.ts +1 -0
- package/dist/types/components/Modal/Modal.d.ts +31 -9
- package/dist/types/components/ProgressStepper/ProgressStepper.d.ts +28 -0
- package/dist/types/components/ProgressStepper/ProgressStepperItem/ProgressStepperItem.d.ts +62 -0
- package/dist/types/components/ProgressStepper/index.d.ts +1 -0
- package/dist/types/components/ProgressStepper/progressStatus.d.ts +1 -0
- package/dist/types/components/Surface/Surface.d.ts +2 -1
- package/dist/types/components/Surface/index.d.ts +1 -1
- package/dist/types/components/Tabs/Tab/Tab.d.ts +22 -0
- package/dist/types/components/Tabs/Tab/index.d.ts +1 -0
- package/dist/types/components/Tabs/TabContent/TabContent.d.ts +12 -0
- package/dist/types/components/Tabs/TabContent/index.d.ts +1 -0
- package/dist/types/components/Tabs/Tabs.d.ts +27 -0
- package/dist/types/components/Tabs/TabsList/TabsList.d.ts +20 -0
- package/dist/types/components/Tabs/TabsList/index.d.ts +1 -0
- package/dist/types/components/Tabs/index.d.ts +1 -0
- package/dist/types/components/Text/Text.d.ts +4 -0
- package/dist/types/components/TextArea/TextArea.d.ts +3 -0
- package/dist/types/components/TextInput/TextInput.d.ts +2 -0
- package/dist/types/components/Toast/Toast.d.ts +14 -0
- package/dist/types/components/Toast/ToastNotification.d.ts +39 -0
- package/dist/types/components/Toast/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/styles.d.ts +6 -0
- package/package.json +8 -6
- /package/dist/_shared/cjs/{BrandLogo-8008f0c4.d.ts → BrandLogo-8107d59f.d.ts} +0 -0
- /package/dist/_shared/cjs/{Breadcrumbs-8b554370.d.ts → Breadcrumbs-0906dd10.d.ts} +0 -0
- /package/dist/_shared/cjs/{Card-804ab0e5.d.ts → Card-fd189ba8.d.ts} +0 -0
- /package/dist/_shared/cjs/{Checkbox-21d3c4f6.d.ts → Checkbox-02c546ca.d.ts} +0 -0
- /package/dist/_shared/cjs/{DisclosureMini-067e0319.d.ts → DisclosureMini-52706ee6.d.ts} +0 -0
- /package/dist/_shared/cjs/{Filter-f7d2fbda.d.ts → Filter-a7574fe7.d.ts} +0 -0
- /package/dist/_shared/cjs/{FormControl-9aaddd54.d.ts → FormControl-1e1bf2bf.d.ts} +0 -0
- /package/dist/_shared/cjs/{Group-d83f8c2e.d.ts → Group-f85dd4c0.d.ts} +0 -0
- /package/dist/_shared/cjs/{Icon-9ae8dbe1.d.ts → Icon-e1dd45eb.d.ts} +0 -0
- /package/dist/_shared/cjs/{Image-3bf4b4f3.d.ts → Image-0e393cbf.d.ts} +0 -0
- /package/dist/_shared/cjs/{SiteFooter-c540b5f1.d.ts → SiteFooter-5da774e1.d.ts} +0 -0
- /package/dist/_shared/cjs/{SiteHeader.rehydrator-f7fa2efe.d.ts → SiteHeader.rehydrator-acc9d8c4.d.ts} +0 -0
- /package/dist/_shared/cjs/{UniversalHeader-cc1d9e5a.d.ts → UniversalHeader-da622e1a.d.ts} +0 -0
- /package/dist/_shared/esm/{BrandLogo-56699561.d.ts → BrandLogo-9ec620e8.d.ts} +0 -0
- /package/dist/_shared/esm/{Breadcrumbs-04590057.d.ts → Breadcrumbs-dafa8dde.d.ts} +0 -0
- /package/dist/_shared/esm/{Card-e79eb6c8.d.ts → Card-e62c3ff6.d.ts} +0 -0
- /package/dist/_shared/esm/{Checkbox-94300d8c.d.ts → Checkbox-d8891198.d.ts} +0 -0
- /package/dist/_shared/esm/{DisclosureMini-022beae3.d.ts → DisclosureMini-9b819941.d.ts} +0 -0
- /package/dist/_shared/esm/{Filter-41b391e3.d.ts → Filter-a01aed11.d.ts} +0 -0
- /package/dist/_shared/esm/{FormControl-5e3fdca3.d.ts → FormControl-f18e2f59.d.ts} +0 -0
- /package/dist/_shared/esm/{Group-d62c3f56.d.ts → Group-fb26fd32.d.ts} +0 -0
- /package/dist/_shared/esm/{Icon-fd247973.d.ts → Icon-c1af47bc.d.ts} +0 -0
- /package/dist/_shared/esm/{Image-3596ce55.d.ts → Image-3ed3863c.d.ts} +0 -0
- /package/dist/_shared/esm/{SiteFooter-8075a9bd.d.ts → SiteFooter-a182cb18.d.ts} +0 -0
- /package/dist/_shared/esm/{SiteHeader.rehydrator-4da8ac64.d.ts → SiteHeader.rehydrator-023b7b76.d.ts} +0 -0
- /package/dist/_shared/esm/{UniversalHeader-7926abde.d.ts → UniversalHeader-1c5a886d.d.ts} +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import { SurfaceBackgroundColor, SurfacePadding } from "../Surface/Surface";
|
|
3
|
+
/**
|
|
4
|
+
* Use `Box` as a simple way to group bespoke content and interactive elements together.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Box: FC<BoxProps>;
|
|
7
|
+
export interface BoxProps {
|
|
8
|
+
/**
|
|
9
|
+
* Contents of the Box.
|
|
10
|
+
*/
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Set Box to fill parent element.
|
|
14
|
+
*/
|
|
15
|
+
isFullHeight?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Add rounded corners to the box.
|
|
18
|
+
*/
|
|
19
|
+
isBorderRadius?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* The border width of the box.
|
|
22
|
+
*/
|
|
23
|
+
borderWidth?: "thin" | "medium";
|
|
24
|
+
/**
|
|
25
|
+
* Box shadow for the box.
|
|
26
|
+
*/
|
|
27
|
+
elevationLevel?: "1" | "2";
|
|
28
|
+
/**
|
|
29
|
+
* Padding for the box.
|
|
30
|
+
*/
|
|
31
|
+
padding?: SurfacePadding;
|
|
32
|
+
/**
|
|
33
|
+
* Background color for the box.
|
|
34
|
+
*/
|
|
35
|
+
surface?: SurfaceBackgroundColor;
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Box, BoxProps } from "./Box";
|
|
@@ -26,6 +26,10 @@ interface ButtonElementProps {
|
|
|
26
26
|
* be inferred. Type 'reset' deliberately excluded.
|
|
27
27
|
*/
|
|
28
28
|
type?: "button" | "submit";
|
|
29
|
+
/**
|
|
30
|
+
* Refers to the id of a form so it can be submitted if the button exists outside of it.
|
|
31
|
+
*/
|
|
32
|
+
form?: string;
|
|
29
33
|
}
|
|
30
34
|
interface LinkElementProps {
|
|
31
35
|
/**
|
|
@@ -6,7 +6,7 @@ export declare const Columns: FC<ColumnsProps> & {
|
|
|
6
6
|
Col: typeof Col;
|
|
7
7
|
};
|
|
8
8
|
export declare const Col: FC<ColProps>;
|
|
9
|
-
declare type Span = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
9
|
+
export declare type Span = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
10
10
|
declare type Offset = "0" | "24" | "48" | "72" | "96" | "120" | "144" | "168" | "192" | "216" | "240" | "264" | "288" | "312" | "336" | "360" | "384";
|
|
11
11
|
export interface ColProps {
|
|
12
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Columns } from "./Columns";
|
|
1
|
+
export { Columns, Span } from "./Columns";
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { backgroundsBT } from "../Surface";
|
|
3
3
|
/**
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
#### Deprecation Notice
|
|
5
|
+
|
|
6
|
+
The `Curve` component is an outdated brand feature and is being deprecated from Arc as a standalone component or sub-component within other components. Do not use Curve for any new work, and prepare to update any design that features it to remove it.
|
|
7
|
+
|
|
8
|
+
`Curve` will be removed from Arc in a subsequent release
|
|
6
9
|
*/
|
|
7
10
|
export declare const Curve: FC<CurveProps>;
|
|
8
11
|
export declare const sizes: readonly ["s", "m", "l"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Image } from "./Image";
|
|
1
|
+
export { Image, loadingOptions } from "./Image";
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { loadingOptions } from "../Image";
|
|
2
|
+
import React, { FC } from "react";
|
|
3
|
+
import { BoxProps } from "../Box";
|
|
4
|
+
/**
|
|
5
|
+
* Use `MediaCard` to contain content and an image about a single subject.
|
|
6
|
+
*/
|
|
7
|
+
export declare const MediaCard: FC<MediaCardProps>;
|
|
8
|
+
export interface MediaCardProps {
|
|
9
|
+
/**
|
|
10
|
+
* Content of the MediaCard.
|
|
11
|
+
*/
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Footer Content of the MediaCard.
|
|
15
|
+
*/
|
|
16
|
+
cardFooter?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Add rounded corners to the MediaCard.
|
|
19
|
+
*/
|
|
20
|
+
isBorderRadius?: BoxProps["isBorderRadius"];
|
|
21
|
+
/**
|
|
22
|
+
* The border width of the MediaCard.
|
|
23
|
+
*/
|
|
24
|
+
borderWidth?: BoxProps["borderWidth"];
|
|
25
|
+
/**
|
|
26
|
+
* Box shadow for the MediaCard.
|
|
27
|
+
*/
|
|
28
|
+
elevationLevel?: BoxProps["elevationLevel"];
|
|
29
|
+
/**
|
|
30
|
+
* Set MediaCard to fill parent element.
|
|
31
|
+
*/
|
|
32
|
+
isFullHeight?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Background color for the MediaCard.
|
|
35
|
+
*/
|
|
36
|
+
surface?: BoxProps["surface"];
|
|
37
|
+
/**
|
|
38
|
+
* image src for the MediaCard.
|
|
39
|
+
*/
|
|
40
|
+
imageSrc: string;
|
|
41
|
+
/**
|
|
42
|
+
* image alt for the MediaCard.
|
|
43
|
+
*/
|
|
44
|
+
imageAlt?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Loading behaviour of the MediaCard.
|
|
47
|
+
*/
|
|
48
|
+
imageLoading?: typeof loadingOptions[number];
|
|
49
|
+
/**
|
|
50
|
+
* 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.
|
|
51
|
+
*/
|
|
52
|
+
imageSizes?: string;
|
|
53
|
+
/**
|
|
54
|
+
* 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`.
|
|
55
|
+
*/
|
|
56
|
+
imageSrcSet?: string;
|
|
57
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MediaCard } from "./MediaCard";
|
|
@@ -1,28 +1,50 @@
|
|
|
1
1
|
import React, { FC } from "react";
|
|
2
|
+
import { ButtonProps } from "../Button/Button";
|
|
3
|
+
/** Use `Modal` to focus a user's attention to an urgent or required prompt for interaction or input. */
|
|
2
4
|
export declare const Modal: FC<ModalProps>;
|
|
3
5
|
export interface ModalProps {
|
|
4
6
|
/**
|
|
5
|
-
*
|
|
7
|
+
* Title for the modal. This will be announced by screen readers when the modal opens.
|
|
6
8
|
*/
|
|
7
9
|
title: string;
|
|
8
10
|
/**
|
|
9
|
-
*
|
|
11
|
+
* Role for the modal. use alertdialog if explicit user input is required e.g deleting an account. role alertdialog will remove the ability to close the modal by either the esc key being pressed, clicking the cross icon or clicking outside.
|
|
10
12
|
*/
|
|
11
|
-
|
|
13
|
+
role?: "dialog" | "alertdialog";
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
15
|
+
* Whether to return focus to the element that was focused before the modal opened. True by default.
|
|
14
16
|
*/
|
|
15
|
-
|
|
17
|
+
shouldReturnFocus?: boolean;
|
|
16
18
|
/**
|
|
17
|
-
*
|
|
19
|
+
* Description for the modal. This will be announced by screen readers when the modal opens.
|
|
18
20
|
*/
|
|
19
|
-
|
|
21
|
+
description?: string;
|
|
20
22
|
/**
|
|
21
|
-
*
|
|
23
|
+
* ID for the element description to be announced by screenreaders in addition to the title.
|
|
24
|
+
*/
|
|
25
|
+
ariaDescribedBy?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Configurable actions for the modal.
|
|
28
|
+
*/
|
|
29
|
+
actions?: Pick<ButtonProps, "form" | "type" | "fill" | "icon" | "iconPosition" | "href" | "id" | "label" | "onClick" | "isDisabled" | "ariaLabel" | "rel">[];
|
|
30
|
+
/**
|
|
31
|
+
* Function to be called when the modal has been requested to close by either the esc key being pressed, outside the dialog being clicked or the close button being clicked. The callback must set the open state of the modal to false. This function is ignored if the `role` prop is set to `alertdialog`. You can prevent this behavior with the `dialog` role by ommitting this prop.
|
|
32
|
+
*/
|
|
33
|
+
onRequestClose?: () => void;
|
|
34
|
+
/**
|
|
35
|
+
* Size of the modal dialog.
|
|
36
|
+
*/
|
|
37
|
+
size?: "s" | "m" | "l";
|
|
38
|
+
/**
|
|
39
|
+
* Set modal open or closed.
|
|
22
40
|
*/
|
|
23
41
|
isOpen?: boolean;
|
|
24
42
|
/**
|
|
25
|
-
* content
|
|
43
|
+
* Enables the dialog content to be scrolled internally.
|
|
44
|
+
*/
|
|
45
|
+
isContentScrollable?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Custom content for `Modal`.
|
|
26
48
|
*/
|
|
27
49
|
children?: React.ReactNode;
|
|
28
50
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
import { ProgressStepperItem } from "./ProgressStepperItem/ProgressStepperItem";
|
|
3
|
+
/** Use `ProgressStepper` to illustrate the progress of a specific task within a page, by displaying a step-by-step progress through the user journey. This is commonly used in multi-step processes or wizards. */
|
|
4
|
+
export declare const ProgressStepper: FC<ProgressStepperProps> & {
|
|
5
|
+
Item: typeof ProgressStepperItem;
|
|
6
|
+
};
|
|
7
|
+
export interface ProgressStepperProps {
|
|
8
|
+
/**
|
|
9
|
+
* Children of `<ProgressStepper />` should only contain `<ProgressStepper.Item />`
|
|
10
|
+
*/
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Determine a direction for `<ProgressStepper.Item />`
|
|
14
|
+
*/
|
|
15
|
+
direction?: "horizontal" | "vertical";
|
|
16
|
+
/**
|
|
17
|
+
* Determine the size for `<ProgressStepper.Item />`
|
|
18
|
+
*/
|
|
19
|
+
size?: "small" | "large";
|
|
20
|
+
/**
|
|
21
|
+
* Determine if `<ProgressStepper.Item />` should be Fluid. Only appliciable for `horizontal direction.`
|
|
22
|
+
*/
|
|
23
|
+
isFluid?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Determine if `<ProgressStepper.Item />` should be able to expand. This only is appliciable when direction is set to vertical
|
|
26
|
+
*/
|
|
27
|
+
isExpandable?: boolean;
|
|
28
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
import { ProgressStatus } from "../progressStatus";
|
|
3
|
+
export declare const ProgressStepperItem: FC<ProgressStepperItemProps>;
|
|
4
|
+
export interface ProgressStepperItemProps {
|
|
5
|
+
/**
|
|
6
|
+
* Determine a title for `<ProgressStepper.Item />`
|
|
7
|
+
*/
|
|
8
|
+
title: string;
|
|
9
|
+
/**
|
|
10
|
+
* Determine a title for `<ProgressStepper.Item />`
|
|
11
|
+
*/
|
|
12
|
+
titleHref?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Text to override `linkTitle` with additional, more precise information
|
|
15
|
+
* specifically for screen reader users.
|
|
16
|
+
*/
|
|
17
|
+
ariaLabel?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Execute a function on title click `<ProgressStepper.Item />`
|
|
20
|
+
*/
|
|
21
|
+
onClick?: () => void;
|
|
22
|
+
/**
|
|
23
|
+
* Determine a sub title for `<ProgressStepper.Item />`
|
|
24
|
+
*/
|
|
25
|
+
subTitle?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Determine a direction for `<ProgressStepper.Item />`
|
|
28
|
+
*/
|
|
29
|
+
direction?: "horizontal" | "vertical";
|
|
30
|
+
/**
|
|
31
|
+
* Determine the position of the step `<ProgressStepper.Item />`
|
|
32
|
+
*/
|
|
33
|
+
position?: "first" | "middle" | "last";
|
|
34
|
+
/**
|
|
35
|
+
* Determine a status for `<ProgressStepper.Item />`
|
|
36
|
+
*/
|
|
37
|
+
status?: ProgressStatus;
|
|
38
|
+
/**
|
|
39
|
+
* Determine the size for `<ProgressStepper.Item />`
|
|
40
|
+
*/
|
|
41
|
+
size?: "small" | "large";
|
|
42
|
+
/**
|
|
43
|
+
* Determine if `<ProgressStepper.Item /> should be Fluid`
|
|
44
|
+
*/
|
|
45
|
+
isFluid?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Determine the context `<ProgressStepper.Item /> should b`
|
|
48
|
+
*/
|
|
49
|
+
previousStep?: ProgressStatus;
|
|
50
|
+
/**
|
|
51
|
+
* Determine if `<ProgressStepper.Item /> should have expandable content`
|
|
52
|
+
*/
|
|
53
|
+
isExpandable?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Determine what content to display in `<ProgressStepper.Item />. To use this option isExpandable must be `true``
|
|
56
|
+
*/
|
|
57
|
+
stepContent?: ReactNode;
|
|
58
|
+
/**
|
|
59
|
+
* Determine if `stepContent` is hidden
|
|
60
|
+
*/
|
|
61
|
+
isStepContentHidden?: boolean;
|
|
62
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProgressStepper } from "./ProgressStepper";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type ProgressStatus = "completed" | "current" | "warning" | "error" | "todo";
|
|
@@ -10,12 +10,13 @@ export declare const Surface: FC<SurfaceProps>;
|
|
|
10
10
|
export declare const backgrounds: readonly ["black", "brand", "brand-flat", "dark", "darker", "coral", "turquoise", "light", "lighter", "white"];
|
|
11
11
|
export declare const backgroundsBT: readonly ["black", "brand", "brand-flat", "dark", "darker", "coral", "turquoise", "light", "lighter", "white"];
|
|
12
12
|
export declare type SurfacePadding = "8" | "12" | "16" | "24" | "32" | "48" | "64";
|
|
13
|
+
export declare type SurfaceBackgroundColor = "black" | "brand" | "brand-flat" | "dark" | "darker" | "coral" | "turquoise" | "light" | "lighter" | "white";
|
|
13
14
|
export interface SurfaceProps extends HTMLAttributes<HTMLElement> {
|
|
14
15
|
/**
|
|
15
16
|
* Background colour of the Surface. Contents will change colour to meet
|
|
16
17
|
* accessibility requirements.
|
|
17
18
|
*/
|
|
18
|
-
background?:
|
|
19
|
+
background?: SurfaceBackgroundColor;
|
|
19
20
|
/**
|
|
20
21
|
* Content to display on the Surface.
|
|
21
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Surface, SurfaceContext, backgrounds, backgroundsBT } from "./Surface";
|
|
1
|
+
export { Surface, SurfaceContext, backgrounds, backgroundsBT, SurfacePadding, SurfaceBackgroundColor } from "./Surface";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { ArcIcon } from "../../../types/arc-icon";
|
|
3
|
+
export declare const Tab: FC<TabProps>;
|
|
4
|
+
interface TabProps {
|
|
5
|
+
/**
|
|
6
|
+
* Label to display on the Tab
|
|
7
|
+
*/
|
|
8
|
+
label: string;
|
|
9
|
+
/**
|
|
10
|
+
* Value to link `Tab` to `TabContent`
|
|
11
|
+
*/
|
|
12
|
+
value: string;
|
|
13
|
+
/**
|
|
14
|
+
* Determine what icon to display within the Tab.
|
|
15
|
+
*/
|
|
16
|
+
icon?: ArcIcon;
|
|
17
|
+
/**
|
|
18
|
+
* Determine what to display when `Tab` is active
|
|
19
|
+
*/
|
|
20
|
+
iconActive?: ArcIcon;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tab } from "./Tab";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
export declare const TabContent: FC<TabContentProps>;
|
|
3
|
+
export interface TabContentProps {
|
|
4
|
+
/**
|
|
5
|
+
* Content to display
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* This value links the `TabContent` with `Tab`
|
|
10
|
+
*/
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabContent } from "./TabContent";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
import { Tab } from "./Tab/Tab";
|
|
3
|
+
import { TabContent } from "./TabContent";
|
|
4
|
+
import { TabsList } from "./TabsList";
|
|
5
|
+
export declare const Tabs: FC<TabsProps> & {
|
|
6
|
+
Tab: typeof Tab;
|
|
7
|
+
Content: typeof TabContent;
|
|
8
|
+
List: typeof TabsList;
|
|
9
|
+
};
|
|
10
|
+
export interface TabsProps {
|
|
11
|
+
/**
|
|
12
|
+
* Render children
|
|
13
|
+
*/
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Default to an inital value of a tab. If this is left blank it is possible for there to be no active tabs
|
|
17
|
+
*/
|
|
18
|
+
defaultValue?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Event handler called when the value changes.
|
|
21
|
+
*/
|
|
22
|
+
onValueChange?: (value: string) => void;
|
|
23
|
+
/**
|
|
24
|
+
* When automatic, tabs are activated when receiving focus. When manual, tabs are activated when clicked.
|
|
25
|
+
*/
|
|
26
|
+
activationMode?: "automatic" | "manual";
|
|
27
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
export declare const TabsList: FC<TabsListProps>;
|
|
3
|
+
export interface TabsListProps {
|
|
4
|
+
/**
|
|
5
|
+
* Contents of the `Tabs` Should contain `Tab`
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Determine if `Tabs` should be justified
|
|
10
|
+
*/
|
|
11
|
+
isJustified?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Determine the type of `Tabs`. Default is standard
|
|
14
|
+
*/
|
|
15
|
+
type?: "standard" | "contained";
|
|
16
|
+
/**
|
|
17
|
+
* Determine a accessible label for `Tabs`
|
|
18
|
+
*/
|
|
19
|
+
ariaLabel?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabsList } from "./TabsList";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tabs } from "./Tabs";
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { FormControlProps } from "../FormControl/FormControl";
|
|
3
3
|
declare type EventType = React.ChangeEvent<HTMLTextAreaElement>;
|
|
4
|
+
/** Use `TextArea` to allow custom user text entry via keyboard, for long-form and multi-line descriptions */
|
|
4
5
|
export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
5
6
|
export interface TextAreaProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel"> {
|
|
6
7
|
/**
|
|
7
8
|
* Uncontrolled default value of the TextArea. If the TextArea is controlled
|
|
8
9
|
* via `value`/`onChange`, `defaultValue` will be ignored.
|
|
10
|
+
*
|
|
11
|
+
* `defaultValue` is not to be used instead of helper text.
|
|
9
12
|
*/
|
|
10
13
|
defaultValue?: string;
|
|
11
14
|
/**
|
|
@@ -9,6 +9,8 @@ export interface TextInputProps extends Omit<FormControlProps, "children" | "ele
|
|
|
9
9
|
/**
|
|
10
10
|
* Uncontrolled default value of the TextInput. If the TextInput is controlled
|
|
11
11
|
* via `value`/`onChange`, `defaultValue` will be ignored.
|
|
12
|
+
*
|
|
13
|
+
* `defaultValue` is not to be used instead of helper text.
|
|
12
14
|
*/
|
|
13
15
|
defaultValue?: string;
|
|
14
16
|
/**
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import { ToastNotification } from "./ToastNotification";
|
|
3
|
+
/** Use `Toast` to display temporary messages at the bottom of the viewport. */
|
|
4
|
+
export declare const Toast: FC<ToastProps> & {
|
|
5
|
+
Notification: typeof ToastNotification;
|
|
6
|
+
};
|
|
7
|
+
interface ToastProps {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Color scheme for `<Toast />`
|
|
11
|
+
*/
|
|
12
|
+
pathway?: "dark" | "light";
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
export declare const ToastNotification: FC<ToastNotificationProps>;
|
|
3
|
+
declare type ToastStatus = "general" | "error" | "warning" | "success";
|
|
4
|
+
export interface ToastNotificationProps {
|
|
5
|
+
/**
|
|
6
|
+
* Title for `<Toast />`
|
|
7
|
+
*/
|
|
8
|
+
title: string;
|
|
9
|
+
/**
|
|
10
|
+
* Set open state for `<Toast />`
|
|
11
|
+
*/
|
|
12
|
+
isOpen: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
onOpenChange: (isOpen: boolean) => void;
|
|
17
|
+
/**
|
|
18
|
+
* Set whether close button shows
|
|
19
|
+
*/
|
|
20
|
+
isCloseButtonVisible?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Set whether to include a status icon
|
|
23
|
+
*/
|
|
24
|
+
isStatusIconVisible?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Link for `<Toast />`
|
|
27
|
+
*/
|
|
28
|
+
link?: {
|
|
29
|
+
text: string;
|
|
30
|
+
ariaLabel?: string;
|
|
31
|
+
href?: string;
|
|
32
|
+
onClick?: () => void;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Sstatus of `<Toast />`
|
|
36
|
+
*/
|
|
37
|
+
status?: ToastStatus;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Toast } from "./Toast";
|
|
@@ -17,6 +17,7 @@ export { Heading } from "./Heading";
|
|
|
17
17
|
export { Icon } from "./Icon";
|
|
18
18
|
export { Image } from "./Image";
|
|
19
19
|
export { Markup } from "./Markup";
|
|
20
|
+
export { Modal } from "./Modal";
|
|
20
21
|
export { UniversalHeader } from "./UniversalHeader";
|
|
21
22
|
export { Poster } from "./Poster";
|
|
22
23
|
export { RadioGroup } from "./RadioGroup";
|
package/dist/types/styles.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import "./components/Base/Base.css";
|
|
|
5
5
|
import "./components/BrandLogo/BrandLogo.css";
|
|
6
6
|
import "./components/Breadcrumbs/Breadcrumbs.css";
|
|
7
7
|
import "./components/Card/Card.css";
|
|
8
|
+
import "./components/Box/Box.css";
|
|
8
9
|
import "./components/Button/Button.css";
|
|
9
10
|
import "./components/Checkbox/Checkbox.css";
|
|
10
11
|
import "./components/Clock/Clock.css";
|
|
@@ -20,6 +21,7 @@ import "./components/Heading/Heading.css";
|
|
|
20
21
|
import "./components/Icon/Icon.css";
|
|
21
22
|
import "./components/Image/Image.css";
|
|
22
23
|
import "./components/Markup/Markup.css";
|
|
24
|
+
import "./components/MediaCard/MediaCard.css";
|
|
23
25
|
import "./components/Modal/Modal.css";
|
|
24
26
|
import "./components/Pagination/Pagination.css";
|
|
25
27
|
import "./components/PaginationSimple/PaginationSimple.css";
|
|
@@ -33,6 +35,7 @@ import "./components/Select/Select.css";
|
|
|
33
35
|
import "./components/SiteFooter/SiteFooter.css";
|
|
34
36
|
import "./components/SiteHeader/SiteHeader.css";
|
|
35
37
|
import "./components/Surface/Surface.css";
|
|
38
|
+
import "./components/Tabs/Tabs.css";
|
|
36
39
|
import "./components/Tag/Tag.css";
|
|
37
40
|
import "./components/Text/Text.css";
|
|
38
41
|
import "./components/TextArea/TextArea.css";
|
|
@@ -63,7 +66,10 @@ import "./components/Select/Select.bt.css";
|
|
|
63
66
|
import "./components/SiteFooter/SiteFooter.bt.css";
|
|
64
67
|
import "./components/SiteHeader/SiteHeader.bt.css";
|
|
65
68
|
import "./components/Surface/Surface.bt.css";
|
|
69
|
+
import "./components/Tabs/Tabs.css";
|
|
66
70
|
import "./components/Text/Text.bt.css";
|
|
67
71
|
import "./components/TextInput/TextInput.bt.css";
|
|
68
72
|
import "./components/UniversalHeader/UniversalHeader.bt.css";
|
|
69
73
|
import "./components/Switch/Switch.bt.css";
|
|
74
|
+
import "./components/Toast/Toast.css";
|
|
75
|
+
import "./components/ProgressStepper/ProgressStepper.css";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arc-ui/components",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.8.0",
|
|
4
4
|
"homepage": "https://ui.digital-ent-int.bt.com",
|
|
5
5
|
"author": "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,15 +26,17 @@
|
|
|
26
26
|
"react": "^18.0.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@radix-ui/react-dialog": "1.0.
|
|
29
|
+
"@radix-ui/react-dialog": "1.0.4",
|
|
30
30
|
"@radix-ui/react-label": "2.0.0",
|
|
31
31
|
"@radix-ui/react-select": "1.1.2",
|
|
32
|
-
"@radix-ui/react-switch": "
|
|
32
|
+
"@radix-ui/react-switch": "1.0.1",
|
|
33
|
+
"@radix-ui/react-tabs": "1.0.4",
|
|
34
|
+
"@radix-ui/react-toast": "1.1.4"
|
|
33
35
|
},
|
|
34
36
|
"devDependencies": {
|
|
35
|
-
"@arc-ui/fonts": "^11.
|
|
36
|
-
"@arc-ui/icons": "^11.
|
|
37
|
-
"@arc-ui/tokens": "^11.
|
|
37
|
+
"@arc-ui/fonts": "^11.8.0",
|
|
38
|
+
"@arc-ui/icons": "^11.8.0",
|
|
39
|
+
"@arc-ui/tokens": "^11.8.0",
|
|
38
40
|
"@babel/core": "^7.14.3",
|
|
39
41
|
"@babel/helper-define-map": "^7.14.3",
|
|
40
42
|
"@storybook/addon-essentials": "^6.3.6",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|