@arc-ui/components 11.4.2 → 11.6.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 +57 -0
- package/dist/Alert/Alert.cjs.js +142 -0
- package/dist/Alert/Alert.esm.d.ts +57 -0
- package/dist/Alert/Alert.esm.js +134 -0
- package/dist/Alert/package.json +7 -0
- package/dist/Align/Align.cjs.js +6 -6
- package/dist/Align/Align.esm.js +2 -2
- package/dist/Badge/Badge.cjs.js +7 -7
- package/dist/Badge/Badge.esm.js +4 -4
- package/dist/Base/Base.cjs.d.ts +1 -1
- package/dist/Base/Base.cjs.js +2 -2
- package/dist/Base/Base.esm.d.ts +1 -1
- package/dist/Base/Base.esm.js +2 -2
- package/dist/BrandLogo/BrandLogo.cjs.d.ts +1 -1
- package/dist/BrandLogo/BrandLogo.cjs.js +4 -4
- package/dist/BrandLogo/BrandLogo.esm.d.ts +1 -1
- package/dist/BrandLogo/BrandLogo.esm.js +4 -4
- package/dist/Breadcrumbs/Breadcrumbs.cjs.d.ts +1 -61
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +11 -643
- package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +1 -61
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +10 -642
- package/dist/Button/Button.cjs.d.ts +1 -1
- package/dist/Button/Button.cjs.js +6 -5
- package/dist/Button/Button.esm.d.ts +1 -1
- package/dist/Button/Button.esm.js +6 -5
- package/dist/Card/Card.cjs.d.ts +1 -130
- package/dist/Card/Card.cjs.js +12 -119
- package/dist/Card/Card.esm.d.ts +1 -130
- package/dist/Card/Card.esm.js +11 -118
- package/dist/Checkbox/Checkbox.cjs.d.ts +1 -59
- package/dist/Checkbox/Checkbox.cjs.js +13 -55
- package/dist/Checkbox/Checkbox.esm.d.ts +1 -59
- package/dist/Checkbox/Checkbox.esm.js +12 -54
- package/dist/Clock/Clock.cjs.js +6 -6
- package/dist/Clock/Clock.esm.js +1 -1
- package/dist/Columns/Columns.cjs.d.ts +1 -76
- package/dist/Columns/Columns.cjs.js +6 -52
- package/dist/Columns/Columns.esm.d.ts +1 -76
- package/dist/Columns/Columns.esm.js +5 -51
- package/dist/Curve/Curve.cjs.d.ts +1 -1
- package/dist/Curve/Curve.cjs.js +3 -3
- package/dist/Curve/Curve.esm.d.ts +1 -1
- package/dist/Curve/Curve.esm.js +3 -3
- package/dist/Disclosure/Disclosure.cjs.d.ts +1 -1
- package/dist/Disclosure/Disclosure.cjs.js +8 -8
- package/dist/Disclosure/Disclosure.esm.d.ts +1 -1
- package/dist/Disclosure/Disclosure.esm.js +4 -4
- package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +1 -0
- package/dist/DisclosureMini/DisclosureMini.cjs.js +16 -0
- package/dist/DisclosureMini/DisclosureMini.esm.d.ts +1 -0
- package/dist/DisclosureMini/DisclosureMini.esm.js +8 -0
- package/dist/DisclosureMini/package.json +7 -0
- package/dist/Elevation/Elevation.cjs.d.ts +4 -0
- package/dist/Elevation/Elevation.cjs.js +7 -5
- package/dist/Elevation/Elevation.esm.d.ts +4 -0
- package/dist/Elevation/Elevation.esm.js +4 -2
- package/dist/Filter/Filter.cjs.d.ts +1 -0
- package/dist/Filter/Filter.cjs.js +13 -0
- package/dist/Filter/Filter.esm.d.ts +1 -0
- package/dist/Filter/Filter.esm.js +5 -0
- package/dist/Filter/package.json +7 -0
- package/dist/FormControl/FormControl.cjs.d.ts +1 -1
- package/dist/FormControl/FormControl.cjs.js +8 -6
- package/dist/FormControl/FormControl.esm.d.ts +1 -1
- package/dist/FormControl/FormControl.esm.js +8 -6
- package/dist/Group/Group.cjs.d.ts +1 -46
- package/dist/Group/Group.cjs.js +6 -43
- package/dist/Group/Group.esm.d.ts +1 -46
- package/dist/Group/Group.esm.js +5 -42
- package/dist/Heading/Heading.cjs.d.ts +1 -1
- package/dist/Heading/Heading.cjs.js +4 -4
- package/dist/Heading/Heading.esm.d.ts +1 -1
- package/dist/Heading/Heading.esm.js +4 -4
- package/dist/Icon/Icon.cjs.d.ts +1 -1
- package/dist/Icon/Icon.cjs.js +4 -4
- package/dist/Icon/Icon.esm.d.ts +1 -1
- package/dist/Icon/Icon.esm.js +4 -4
- package/dist/Image/Image.cjs.d.ts +1 -1
- package/dist/Image/Image.cjs.js +3 -3
- package/dist/Image/Image.esm.d.ts +1 -1
- package/dist/Image/Image.esm.js +3 -3
- package/dist/Markup/Markup.cjs.js +6 -6
- package/dist/Markup/Markup.esm.js +2 -2
- package/dist/Pagination/Pagination.cjs.d.ts +20 -0
- package/dist/Pagination/Pagination.cjs.js +87 -0
- package/dist/Pagination/Pagination.esm.d.ts +20 -0
- package/dist/Pagination/Pagination.esm.js +79 -0
- package/dist/Pagination/package.json +7 -0
- package/dist/PaginationSimple/PaginationSimple.cjs.d.ts +28 -0
- package/dist/PaginationSimple/PaginationSimple.cjs.js +47 -0
- package/dist/PaginationSimple/PaginationSimple.esm.d.ts +28 -0
- package/dist/PaginationSimple/PaginationSimple.esm.js +39 -0
- package/dist/PaginationSimple/package.json +7 -0
- package/dist/Poster/Poster.cjs.d.ts +1 -81
- package/dist/Poster/Poster.cjs.js +8 -45
- package/dist/Poster/Poster.esm.d.ts +1 -81
- package/dist/Poster/Poster.esm.js +7 -44
- package/dist/ProgressBar/ProgressBar.cjs.js +22 -41
- package/dist/ProgressBar/ProgressBar.esm.js +13 -32
- package/dist/RadioGroup/RadioGroup.cjs.d.ts +1 -85
- package/dist/RadioGroup/RadioGroup.cjs.js +12 -68
- package/dist/RadioGroup/RadioGroup.esm.d.ts +1 -85
- package/dist/RadioGroup/RadioGroup.esm.js +11 -67
- package/dist/Rule/Rule.cjs.js +5 -5
- package/dist/Rule/Rule.esm.js +2 -2
- package/dist/ScrollToTop/ScrollToTop.cjs.d.ts +25 -0
- package/dist/ScrollToTop/ScrollToTop.cjs.js +68 -0
- package/dist/ScrollToTop/ScrollToTop.esm.d.ts +25 -0
- package/dist/ScrollToTop/ScrollToTop.esm.js +60 -0
- package/dist/ScrollToTop/package.json +7 -0
- package/dist/Section/Section.cjs.d.ts +1 -1
- package/dist/Section/Section.cjs.js +2 -2
- package/dist/Section/Section.esm.d.ts +1 -1
- package/dist/Section/Section.esm.js +2 -2
- package/dist/Select/Select.cjs.d.ts +2 -2
- package/dist/Select/Select.cjs.js +9 -8
- package/dist/Select/Select.esm.d.ts +2 -2
- package/dist/Select/Select.esm.js +9 -8
- package/dist/SiteFooter/SiteFooter.cjs.d.ts +2 -62
- package/dist/SiteFooter/SiteFooter.cjs.js +14 -69
- package/dist/SiteFooter/SiteFooter.esm.d.ts +2 -62
- package/dist/SiteFooter/SiteFooter.esm.js +13 -67
- package/dist/SiteHeader/SiteHeader.cjs.d.ts +2 -252
- package/dist/SiteHeader/SiteHeader.cjs.js +17 -661
- package/dist/SiteHeader/SiteHeader.esm.d.ts +2 -252
- package/dist/SiteHeader/SiteHeader.esm.js +15 -659
- package/dist/Surface/Surface.cjs.d.ts +1 -1
- package/dist/Surface/Surface.cjs.js +2 -2
- package/dist/Surface/Surface.esm.d.ts +1 -1
- package/dist/Surface/Surface.esm.js +2 -2
- package/dist/Switch/Switch.cjs.d.ts +2 -2
- package/dist/Switch/Switch.cjs.js +10 -8
- package/dist/Switch/Switch.esm.d.ts +2 -2
- package/dist/Switch/Switch.esm.js +10 -8
- package/dist/Tag/Tag.cjs.js +39 -18
- package/dist/Tag/Tag.esm.js +31 -10
- package/dist/Text/Text.cjs.d.ts +1 -1
- package/dist/Text/Text.cjs.js +4 -4
- package/dist/Text/Text.esm.d.ts +1 -1
- package/dist/Text/Text.esm.js +4 -4
- package/dist/TextArea/TextArea.cjs.d.ts +61 -0
- package/dist/TextArea/TextArea.cjs.js +87 -0
- package/dist/TextArea/TextArea.esm.d.ts +61 -0
- package/dist/TextArea/TextArea.esm.js +79 -0
- package/dist/TextArea/package.json +7 -0
- package/dist/TextInput/TextInput.cjs.d.ts +1 -75
- package/dist/TextInput/TextInput.cjs.js +13 -76
- package/dist/TextInput/TextInput.esm.d.ts +1 -75
- package/dist/TextInput/TextInput.esm.js +12 -75
- package/dist/UniversalHeader/UniversalHeader.cjs.d.ts +1 -26
- package/dist/UniversalHeader/UniversalHeader.cjs.js +5 -30
- package/dist/UniversalHeader/UniversalHeader.esm.d.ts +1 -26
- package/dist/UniversalHeader/UniversalHeader.esm.js +4 -29
- package/dist/VerticalSpace/VerticalSpace.cjs.d.ts +1 -1
- package/dist/VerticalSpace/VerticalSpace.cjs.js +2 -2
- package/dist/VerticalSpace/VerticalSpace.esm.d.ts +1 -1
- package/dist/VerticalSpace/VerticalSpace.esm.js +2 -2
- package/dist/_shared/cjs/{Base-e2b846fe.js → Base-569e4334.js} +3 -3
- package/dist/_shared/cjs/{BrandLogo-3c6102ef.js → BrandLogo-8008f0c4.js} +7 -7
- package/dist/_shared/cjs/Breadcrumbs-8b554370.d.ts +61 -0
- package/dist/_shared/cjs/Breadcrumbs-8b554370.js +106 -0
- package/dist/_shared/cjs/BtIconAlert-637db790.js +38 -0
- package/dist/_shared/cjs/BtIconChevronLeftMid-df952a3e.js +31 -0
- package/dist/_shared/cjs/BtIconCrossAlt2Px-30dc2688.js +29 -0
- package/dist/_shared/cjs/{Button-1af6868c.js → Button-27512fee.js} +16 -37
- package/dist/_shared/cjs/Card-804ab0e5.d.ts +136 -0
- package/dist/_shared/cjs/Card-804ab0e5.js +124 -0
- package/dist/_shared/cjs/Checkbox-21d3c4f6.d.ts +64 -0
- package/dist/_shared/cjs/Checkbox-21d3c4f6.js +62 -0
- package/dist/_shared/cjs/Columns-e90798f8.d.ts +76 -0
- package/dist/_shared/cjs/Columns-e90798f8.js +57 -0
- package/dist/_shared/cjs/{Curve-e72ce25b.js → Curve-b05589d8.js} +6 -6
- package/dist/_shared/cjs/DisclosureMini-067e0319.d.ts +37 -0
- package/dist/_shared/cjs/DisclosureMini-067e0319.js +44 -0
- package/dist/_shared/cjs/Filter-f7d2fbda.d.ts +83 -0
- package/dist/_shared/cjs/Filter-f7d2fbda.js +121 -0
- package/dist/_shared/cjs/{FormControl-d4d9c665.d.ts → FormControl-9aaddd54.d.ts} +6 -29
- package/dist/_shared/cjs/FormControl-9aaddd54.js +96 -0
- package/dist/_shared/cjs/Group-d83f8c2e.d.ts +46 -0
- package/dist/_shared/cjs/Group-d83f8c2e.js +48 -0
- package/dist/_shared/cjs/{Heading-cc38c3ec.js → Heading-d45f6a7f.js} +7 -7
- package/dist/_shared/cjs/{Icon-719d13d4.js → Icon-9ae8dbe1.js} +7 -7
- package/dist/_shared/cjs/{Image-fe760a06.js → Image-3bf4b4f3.js} +8 -8
- package/dist/_shared/cjs/ItemGroup-5af4d600.d.ts +27 -0
- package/dist/_shared/cjs/NavItem-df20237c.d.ts +43 -0
- package/dist/_shared/cjs/NavItemWithSubNav-65f21828.d.ts +49 -0
- package/dist/_shared/cjs/Poster-e05bbe13.d.ts +81 -0
- package/dist/_shared/cjs/Poster-e05bbe13.js +50 -0
- package/dist/_shared/cjs/RadioGroup-81805ef9.d.ts +97 -0
- package/dist/_shared/cjs/RadioGroup-81805ef9.js +70 -0
- package/dist/_shared/cjs/{Section-780f2377.js → Section-48aca5f5.js} +5 -5
- package/dist/_shared/cjs/SiteFooter-c540b5f1.d.ts +62 -0
- package/dist/_shared/cjs/SiteFooter-c540b5f1.js +73 -0
- package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +78 -0
- package/dist/_shared/cjs/SiteHeader.rehydrator-f7fa2efe.d.ts +78 -0
- package/dist/_shared/cjs/SiteHeader.rehydrator-f7fa2efe.js +673 -0
- package/dist/_shared/cjs/SubNavItem-a84d1bf4.d.ts +48 -0
- package/dist/_shared/cjs/{Surface-d6b8010e.js → Surface-6da0a78e.js} +8 -8
- package/dist/_shared/cjs/{Text-1d3844be.js → Text-6f2827e6.js} +7 -7
- package/dist/_shared/cjs/TextInput-33314fc4.d.ts +10 -0
- package/dist/_shared/cjs/TextInput-33314fc4.js +78 -0
- package/dist/_shared/cjs/TextInput-7ed03a48.d.ts +75 -0
- package/dist/_shared/cjs/UniversalHeader-cc1d9e5a.d.ts +26 -0
- package/dist/_shared/cjs/UniversalHeader-cc1d9e5a.js +35 -0
- package/dist/_shared/cjs/{VerticalSpace-7aed88ab.js → VerticalSpace-86f697e7.js} +5 -5
- package/dist/_shared/cjs/debounce-506538c5.js +544 -0
- package/dist/_shared/cjs/{index-78b35bc1.js → filter-data-attrs-a30dcf5f.js} +12 -12
- package/dist/_shared/cjs/index-699086a7.d.ts +2 -0
- package/dist/_shared/cjs/index-74488a9f.d.ts +2 -0
- package/dist/_shared/cjs/index-9483ad5f.d.ts +2 -2
- package/dist/_shared/cjs/index-c81c9401.d.ts +3 -3
- package/dist/_shared/cjs/index-e340924e.d.ts +2 -0
- package/dist/_shared/cjs/index-e6d20018.d.ts +3 -0
- package/dist/_shared/cjs/index-eb06f640.d.ts +2 -0
- package/dist/_shared/cjs/index-f419cf04.d.ts +2 -0
- package/dist/_shared/cjs/{suffix-modifier-edf7851e.js → suffix-modifier-1ee2da04.js} +2 -2
- package/dist/_shared/esm/{Base-c235dc45.js → Base-6c01e0ec.js} +1 -1
- package/dist/_shared/esm/{BrandLogo-4f13fe85.js → BrandLogo-56699561.js} +3 -3
- package/dist/_shared/esm/Breadcrumbs-04590057.d.ts +61 -0
- package/dist/_shared/esm/Breadcrumbs-04590057.js +100 -0
- package/dist/_shared/esm/BtIconAlert-55a6ed5c.js +32 -0
- package/dist/_shared/esm/BtIconChevronLeftMid-9f4f3a3d.js +25 -0
- package/dist/_shared/esm/BtIconCrossAlt2Px-a6a9f431.js +23 -0
- package/dist/_shared/esm/{Button-10700df4.js → Button-d319fa11.js} +6 -27
- package/dist/_shared/esm/Card-e79eb6c8.d.ts +136 -0
- package/dist/_shared/esm/Card-e79eb6c8.js +118 -0
- package/dist/_shared/esm/Checkbox-94300d8c.d.ts +64 -0
- package/dist/_shared/esm/Checkbox-94300d8c.js +56 -0
- package/dist/_shared/esm/Columns-8704515b.d.ts +76 -0
- package/dist/_shared/esm/Columns-8704515b.js +51 -0
- package/dist/_shared/esm/{Curve-50697f7e.js → Curve-3e87b1bc.js} +2 -2
- package/dist/_shared/esm/DisclosureMini-022beae3.d.ts +37 -0
- package/dist/_shared/esm/DisclosureMini-022beae3.js +38 -0
- package/dist/_shared/esm/Filter-41b391e3.d.ts +83 -0
- package/dist/_shared/esm/Filter-41b391e3.js +115 -0
- package/dist/_shared/esm/{FormControl-2cb96de7.d.ts → FormControl-5e3fdca3.d.ts} +6 -29
- package/dist/_shared/esm/FormControl-5e3fdca3.js +88 -0
- package/dist/_shared/esm/Group-d62c3f56.d.ts +46 -0
- package/dist/_shared/esm/Group-d62c3f56.js +42 -0
- package/dist/_shared/esm/{Heading-eb1e42db.js → Heading-b61432fb.js} +3 -3
- package/dist/_shared/esm/{Icon-61f7237a.js → Icon-fd247973.js} +3 -3
- package/dist/_shared/esm/{Image-c0f3d42f.js → Image-3596ce55.js} +2 -2
- package/dist/_shared/esm/ItemGroup-5af4d600.d.ts +27 -0
- package/dist/_shared/esm/NavItem-df20237c.d.ts +43 -0
- package/dist/_shared/esm/NavItemWithSubNav-65f21828.d.ts +49 -0
- package/dist/_shared/esm/Poster-107d6954.d.ts +81 -0
- package/dist/_shared/esm/Poster-107d6954.js +44 -0
- package/dist/_shared/esm/RadioGroup-1fd0f389.d.ts +97 -0
- package/dist/_shared/esm/RadioGroup-1fd0f389.js +64 -0
- package/dist/_shared/esm/{Section-7bc71e26.js → Section-b8038d66.js} +1 -1
- package/dist/_shared/esm/SiteFooter-8075a9bd.d.ts +62 -0
- package/dist/_shared/esm/SiteFooter-8075a9bd.js +67 -0
- package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +78 -0
- package/dist/_shared/esm/SiteHeader.rehydrator-4da8ac64.d.ts +78 -0
- package/dist/_shared/esm/SiteHeader.rehydrator-4da8ac64.js +666 -0
- package/dist/_shared/esm/SubNavItem-a84d1bf4.d.ts +48 -0
- package/dist/_shared/esm/{Surface-bf201530.js → Surface-bb100ef8.js} +1 -1
- package/dist/_shared/esm/{Text-6b958ad8.js → Text-00e9743b.js} +3 -3
- package/dist/_shared/esm/TextInput-1631dbc4.d.ts +10 -0
- package/dist/_shared/esm/TextInput-1631dbc4.js +72 -0
- package/dist/_shared/esm/TextInput-7ed03a48.d.ts +75 -0
- package/dist/_shared/esm/UniversalHeader-7926abde.d.ts +26 -0
- package/dist/_shared/esm/UniversalHeader-7926abde.js +29 -0
- package/dist/_shared/esm/{VerticalSpace-3579b20e.js → VerticalSpace-93980c9c.js} +1 -1
- package/dist/_shared/esm/debounce-e228705f.js +542 -0
- package/dist/_shared/esm/{index-229fc864.js → filter-data-attrs-afdb7d32.js} +12 -12
- package/dist/_shared/esm/index-699086a7.d.ts +2 -0
- package/dist/_shared/esm/index-74488a9f.d.ts +2 -0
- package/dist/_shared/esm/index-9483ad5f.d.ts +2 -2
- package/dist/_shared/esm/index-c81c9401.d.ts +3 -3
- package/dist/_shared/esm/index-e340924e.d.ts +2 -0
- package/dist/_shared/esm/index-e6d20018.d.ts +3 -0
- package/dist/_shared/esm/index-eb06f640.d.ts +2 -0
- package/dist/_shared/esm/index-f419cf04.d.ts +2 -0
- package/dist/_shared/esm/{suffix-modifier-f5e28822.js → suffix-modifier-7e640670.js} +1 -1
- package/dist/index.es.js +304 -113
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +534 -341
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/Alert/Alert.d.ts +56 -0
- package/dist/types/components/Alert/index.d.ts +1 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +6 -1
- package/dist/types/components/DisclosureMini/DisclosureMini.d.ts +36 -0
- package/dist/types/components/DisclosureMini/index.d.ts +1 -0
- package/dist/types/components/Elevation/Elevation.d.ts +4 -0
- package/dist/types/components/Filter/Filter.d.ts +38 -0
- package/dist/types/components/Filter/FilterControls/FilterControl/FilterControl.d.ts +16 -0
- package/dist/types/components/Filter/FilterControls/FilterControls.d.ts +12 -0
- package/dist/types/components/Filter/FilterItems/FilterItem/FilterItem.d.ts +12 -0
- package/dist/types/components/Filter/FilterItems/FilterItems.d.ts +12 -0
- package/dist/types/components/Filter/index.d.ts +1 -0
- package/dist/types/components/FormControl/FormControl.d.ts +4 -0
- package/dist/types/components/Pagination/Pagination.d.ts +19 -0
- package/dist/types/components/Pagination/index.d.ts +1 -0
- package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +27 -0
- package/dist/types/components/PaginationSimple/index.d.ts +1 -0
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/components/ScrollToTop/ScrollToTop.d.ts +24 -0
- package/dist/types/components/ScrollToTop/index.d.ts +1 -0
- package/dist/types/components/Select/Select.d.ts +1 -1
- package/dist/types/components/SiteHeader/SiteHeader.d.ts +2 -0
- package/dist/types/components/SiteHeader/components/NodeItem/NodeItem.d.ts +8 -0
- package/dist/types/components/Switch/Switch.d.ts +1 -1
- package/dist/types/components/TextArea/TextArea.d.ts +60 -0
- package/dist/types/components/TextArea/index.d.ts +1 -0
- package/dist/types/components/TextInput/TextInput.d.ts +1 -1
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/hooks/use-pagination.d.ts +1 -0
- package/dist/types/styles.d.ts +10 -4
- package/package.json +4 -4
- package/dist/_shared/cjs/FormControl-d4d9c665.js +0 -148
- package/dist/_shared/esm/FormControl-2cb96de7.js +0 -139
- package/dist/types/components/FormControl/FormControlDisclosure/FormControlDisclosure.d.ts +0 -28
- package/dist/types/components/FormControl/FormControlDisclosure/index.d.ts +0 -1
- /package/dist/_shared/cjs/{Base-e2b846fe.d.ts → Base-569e4334.d.ts} +0 -0
- /package/dist/_shared/cjs/{BrandLogo-3c6102ef.d.ts → BrandLogo-8008f0c4.d.ts} +0 -0
- /package/dist/_shared/cjs/{Button-1af6868c.d.ts → Button-27512fee.d.ts} +0 -0
- /package/dist/_shared/cjs/{Curve-e72ce25b.d.ts → Curve-b05589d8.d.ts} +0 -0
- /package/dist/_shared/cjs/{Heading-cc38c3ec.d.ts → Heading-d45f6a7f.d.ts} +0 -0
- /package/dist/_shared/cjs/{Icon-719d13d4.d.ts → Icon-9ae8dbe1.d.ts} +0 -0
- /package/dist/_shared/cjs/{Image-fe760a06.d.ts → Image-3bf4b4f3.d.ts} +0 -0
- /package/dist/_shared/cjs/{Section-780f2377.d.ts → Section-48aca5f5.d.ts} +0 -0
- /package/dist/_shared/cjs/{Surface-d6b8010e.d.ts → Surface-6da0a78e.d.ts} +0 -0
- /package/dist/_shared/cjs/{Text-1d3844be.d.ts → Text-6f2827e6.d.ts} +0 -0
- /package/dist/_shared/cjs/{VerticalSpace-7aed88ab.d.ts → VerticalSpace-86f697e7.d.ts} +0 -0
- /package/dist/_shared/cjs/{index-78b35bc1.d.ts → filter-data-attrs-a30dcf5f.d.ts} +0 -0
- /package/dist/_shared/cjs/{suffix-modifier-edf7851e.d.ts → suffix-modifier-1ee2da04.d.ts} +0 -0
- /package/dist/_shared/esm/{Base-c235dc45.d.ts → Base-6c01e0ec.d.ts} +0 -0
- /package/dist/_shared/esm/{BrandLogo-4f13fe85.d.ts → BrandLogo-56699561.d.ts} +0 -0
- /package/dist/_shared/esm/{Button-10700df4.d.ts → Button-d319fa11.d.ts} +0 -0
- /package/dist/_shared/esm/{Curve-50697f7e.d.ts → Curve-3e87b1bc.d.ts} +0 -0
- /package/dist/_shared/esm/{Heading-eb1e42db.d.ts → Heading-b61432fb.d.ts} +0 -0
- /package/dist/_shared/esm/{Icon-61f7237a.d.ts → Icon-fd247973.d.ts} +0 -0
- /package/dist/_shared/esm/{Image-c0f3d42f.d.ts → Image-3596ce55.d.ts} +0 -0
- /package/dist/_shared/esm/{Section-7bc71e26.d.ts → Section-b8038d66.d.ts} +0 -0
- /package/dist/_shared/esm/{Surface-bf201530.d.ts → Surface-bb100ef8.d.ts} +0 -0
- /package/dist/_shared/esm/{Text-6b958ad8.d.ts → Text-00e9743b.d.ts} +0 -0
- /package/dist/_shared/esm/{VerticalSpace-3579b20e.d.ts → VerticalSpace-93980c9c.d.ts} +0 -0
- /package/dist/_shared/esm/{index-229fc864.d.ts → filter-data-attrs-afdb7d32.d.ts} +0 -0
- /package/dist/_shared/esm/{suffix-modifier-f5e28822.d.ts → suffix-modifier-7e640670.d.ts} +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { HeadingProps } from "../Heading/Heading";
|
|
3
|
+
import { ArcIcon } from "../../types/arc-icon";
|
|
4
|
+
/** use `Alert` to display persistent messages, either permanent or dismissible. */
|
|
5
|
+
export declare const Alert: FC<AlertProps>;
|
|
6
|
+
export interface AlertProps {
|
|
7
|
+
/**
|
|
8
|
+
* Determine a heading for `<Alert />`
|
|
9
|
+
*/
|
|
10
|
+
heading: string;
|
|
11
|
+
/**
|
|
12
|
+
* Determine a heading for `<Alert />`
|
|
13
|
+
*/
|
|
14
|
+
headingLevel?: HeadingProps["level"];
|
|
15
|
+
/**
|
|
16
|
+
* Determine a description for `<Alert />`
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Determine a link for `<Alert />`
|
|
21
|
+
*/
|
|
22
|
+
link?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Determine the text to link
|
|
25
|
+
*/
|
|
26
|
+
linkText?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Determine a icon to display within `<Alert />`. This overrides the default icons.
|
|
29
|
+
*/
|
|
30
|
+
icon?: ArcIcon;
|
|
31
|
+
/**
|
|
32
|
+
* Determine the type of alert
|
|
33
|
+
*/
|
|
34
|
+
type?: "primary" | "secondary";
|
|
35
|
+
/**
|
|
36
|
+
* Determine the type of alert
|
|
37
|
+
*/
|
|
38
|
+
status?: "general" | "error" | "warning" | "success";
|
|
39
|
+
/**
|
|
40
|
+
* Determine showing a dismiss icon within `<Alert />`
|
|
41
|
+
*/
|
|
42
|
+
isDismissable?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Execute a function when dismiss is envoked
|
|
45
|
+
*/
|
|
46
|
+
onDismiss?: () => void;
|
|
47
|
+
/**
|
|
48
|
+
* Execute a function when link is envoked. This prevents the default behaviour for `<a >` Tag
|
|
49
|
+
*/
|
|
50
|
+
onLinkClick?: () => void;
|
|
51
|
+
/**
|
|
52
|
+
* Text to override `linkText` with additional, more precise information
|
|
53
|
+
* specifically for screen reader users.
|
|
54
|
+
*/
|
|
55
|
+
linkAriaLabel?: string;
|
|
56
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Alert } from "./Alert";
|
|
@@ -13,6 +13,11 @@ export interface CheckboxProps {
|
|
|
13
13
|
* Helper text for the Checkbox, shown below the label.
|
|
14
14
|
*/
|
|
15
15
|
helper?: React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Determine the alignment the Checkbox.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
checkboxAlignment?: "top" | "center";
|
|
16
21
|
/**
|
|
17
22
|
* ID for the Checkbox.
|
|
18
23
|
*/
|
|
@@ -22,7 +27,7 @@ export interface CheckboxProps {
|
|
|
22
27
|
*/
|
|
23
28
|
checked?: boolean;
|
|
24
29
|
/**
|
|
25
|
-
*
|
|
30
|
+
* `isDisabled` is a legacy property and not recommended from a UX usability best practice perspective.
|
|
26
31
|
*/
|
|
27
32
|
isDisabled?: boolean;
|
|
28
33
|
/**
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Use `DisclosureMini` to display content that is only visible when toggled into
|
|
4
|
+
* an "open" state.
|
|
5
|
+
*/
|
|
6
|
+
export declare const DisclosureMini: FC<DisclosureMiniProps>;
|
|
7
|
+
export interface DisclosureMiniProps {
|
|
8
|
+
/**
|
|
9
|
+
* Content to display in the DisclosureMini.
|
|
10
|
+
*/
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* DisclosureMini ID.
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The DisclosureMini summary text.
|
|
18
|
+
*/
|
|
19
|
+
summary: string;
|
|
20
|
+
/**
|
|
21
|
+
* Should the Disclosure content be open by default?
|
|
22
|
+
*/
|
|
23
|
+
isOpen?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Position of the DisclosureMini icon?
|
|
26
|
+
*/
|
|
27
|
+
iconPosition?: "left" | "right";
|
|
28
|
+
/**
|
|
29
|
+
* On Click handler for DisclosureMini summary disclosure.
|
|
30
|
+
*/
|
|
31
|
+
onClick?: () => void;
|
|
32
|
+
/**
|
|
33
|
+
* Disclosure size.
|
|
34
|
+
*/
|
|
35
|
+
size?: "s" | "l";
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DisclosureMini } from "./DisclosureMini";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
import { FilterControl } from "./FilterControls/FilterControl/FilterControl";
|
|
3
|
+
import { FilterControls, FilterControlsProps } from "./FilterControls/FilterControls";
|
|
4
|
+
import { FilterItem } from "./FilterItems/FilterItem/FilterItem";
|
|
5
|
+
import { FilterItems, FilterItemsProps } from "./FilterItems/FilterItems";
|
|
6
|
+
/** use `Filter` for interactive elements that filter and categorise page content. */
|
|
7
|
+
export declare const Filter: FC<FilterProps> & {
|
|
8
|
+
Item: typeof FilterItem;
|
|
9
|
+
Items: typeof FilterItems;
|
|
10
|
+
Control: typeof FilterControl;
|
|
11
|
+
Controls: typeof FilterControls;
|
|
12
|
+
};
|
|
13
|
+
export interface FilterProps {
|
|
14
|
+
/**
|
|
15
|
+
* Contents of the `<Filter />` Should contain `<Filter.Item />`
|
|
16
|
+
*/
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* onChange handler called everytime `<FilterControl />` is pressed
|
|
20
|
+
*/
|
|
21
|
+
onChange?: (selectedControls: string[]) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Detmine how to display the content within `<Filter.Items />`. Default is `grid`
|
|
24
|
+
*/
|
|
25
|
+
displayType?: FilterItemsProps["displayType"];
|
|
26
|
+
/**
|
|
27
|
+
* Detmine how to align <Filter.Controls />. Default `center`
|
|
28
|
+
*/
|
|
29
|
+
controlsAlignment?: FilterControlsProps["controlsAlignment"];
|
|
30
|
+
/**
|
|
31
|
+
* Detmine if the `<Filter.Control />` have to partially match or match all
|
|
32
|
+
*/
|
|
33
|
+
logicType?: "AND" | "OR";
|
|
34
|
+
/**
|
|
35
|
+
* Detmine what is display when no items match the filtering criteria
|
|
36
|
+
*/
|
|
37
|
+
error?: ReactNode;
|
|
38
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
export declare const FilterControl: FC<FilterControlProps>;
|
|
3
|
+
export interface FilterControlProps {
|
|
4
|
+
/**
|
|
5
|
+
* Name of the `<FilterControl />`
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Determine if the `<FilterControl />` is selected
|
|
10
|
+
*/
|
|
11
|
+
isSelected?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* onClick handler
|
|
14
|
+
*/
|
|
15
|
+
onClick?: () => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
export declare const FilterControls: FC<FilterControlsProps>;
|
|
3
|
+
export interface FilterControlsProps {
|
|
4
|
+
/**
|
|
5
|
+
* Contents of the `<FilterControls />` Should contain `<FilterControl />`
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Detmine how to align <FilterControl /> with in <FilterControls />. Default `center`
|
|
10
|
+
*/
|
|
11
|
+
controlsAlignment?: "left" | "right" | "center";
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
export declare const FilterItem: FC<FilterItemProps>;
|
|
3
|
+
export interface FilterItemProps {
|
|
4
|
+
/**
|
|
5
|
+
* Content to display within `Filter.Item`
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Attach Tags to content provided within `Filter.Item`
|
|
10
|
+
*/
|
|
11
|
+
tags: string[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
export declare const FilterItems: FC<FilterItemsProps>;
|
|
3
|
+
export interface FilterItemsProps {
|
|
4
|
+
/**
|
|
5
|
+
* Render children of `<Filter.Items />`. This should only use `<Filter.Item />`
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Determine the display style of `<Filter.Item />`
|
|
10
|
+
*/
|
|
11
|
+
displayType?: "grid" | "list";
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Filter } from "./Filter";
|
|
@@ -63,6 +63,10 @@ export interface FormControlProps {
|
|
|
63
63
|
* onClick handler for FormControlDisclosure
|
|
64
64
|
*/
|
|
65
65
|
onClickDisclosure?: () => void;
|
|
66
|
+
/**
|
|
67
|
+
* Optional additional information for the FormControl.
|
|
68
|
+
*/
|
|
69
|
+
supplementaryInfo?: React.ReactNode;
|
|
66
70
|
/**
|
|
67
71
|
* Position helper text under label. This is set to `false` by default.
|
|
68
72
|
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Use `Pagination` to navigate multiple pages.
|
|
4
|
+
*/
|
|
5
|
+
export declare const Pagination: FC<PaginationProps>;
|
|
6
|
+
export interface PaginationProps {
|
|
7
|
+
/**
|
|
8
|
+
* Number of pages for the pagination
|
|
9
|
+
*/
|
|
10
|
+
pageCount: number;
|
|
11
|
+
/**
|
|
12
|
+
* Default page to be selected on render. If not provided defaults to 1.
|
|
13
|
+
*/
|
|
14
|
+
defaultSelectedPage?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Function to call when the page changes
|
|
17
|
+
*/
|
|
18
|
+
onPageChange: (selectedPage: number) => void;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Pagination } from "./Pagination";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Use `PaginationSimple` to navigate multiple pages.
|
|
4
|
+
*/
|
|
5
|
+
export declare const PaginationSimple: FC<PaginationSimpleProps>;
|
|
6
|
+
export interface PaginationSimpleProps {
|
|
7
|
+
/**
|
|
8
|
+
* hides prev button if true.
|
|
9
|
+
*/
|
|
10
|
+
hidePrev?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* hides next button if true.
|
|
13
|
+
*/
|
|
14
|
+
hideNext?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* if true buttons will hug either edge of the parent element
|
|
17
|
+
*/
|
|
18
|
+
isFluid?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Function to call when previous page is selected
|
|
21
|
+
*/
|
|
22
|
+
onPrevPage: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* Function to call when next page is selected
|
|
25
|
+
*/
|
|
26
|
+
onNextPage: () => void;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PaginationSimple } from "./PaginationSimple";
|
|
@@ -8,7 +8,7 @@ declare type EventType = React.ChangeEvent<HTMLInputElement>;
|
|
|
8
8
|
export declare const RadioGroup: FC<RadioGroupProps> & {
|
|
9
9
|
RadioButton: typeof RadioButton;
|
|
10
10
|
};
|
|
11
|
-
export interface RadioGroupProps extends Omit<FormControlProps, "children" | "elementType" | "errorMessage" | "htmlFor" | "labelSize" | "requirementStatus" | "disclosureText" | "disclosureTitle" | "onClickDisclosure" | "helperUnderLabel"> {
|
|
11
|
+
export interface RadioGroupProps extends Omit<FormControlProps, "children" | "elementType" | "errorMessage" | "htmlFor" | "labelSize" | "requirementStatus" | "disclosureText" | "disclosureTitle" | "onClickDisclosure" | "helperUnderLabel" | "supplementaryInfo"> {
|
|
12
12
|
/**
|
|
13
13
|
* Contents of the RadioGroup. Should only contain `RadioGroup.RadioButton`
|
|
14
14
|
*/
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Use `ScrollToTop` to allow the user to scroll to the top of the page by clicking a button.
|
|
4
|
+
*/
|
|
5
|
+
export declare const ScrollToTop: FC<ScrollToTopProps>;
|
|
6
|
+
export interface ScrollToTopProps {
|
|
7
|
+
/**
|
|
8
|
+
* If true, the button will stick to the bottom right corner of the screen.
|
|
9
|
+
*/
|
|
10
|
+
isFixed?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Sets when the scroll button should appear. `always` will show the button all the time.
|
|
13
|
+
* `afterScroll` will show the button when the user has stopped scrolling and have passed the fold.
|
|
14
|
+
*/
|
|
15
|
+
appear?: "always" | "afterScroll";
|
|
16
|
+
/**
|
|
17
|
+
* Z-index for the button. Used to fine tune the overlapping of other page elements.
|
|
18
|
+
*/
|
|
19
|
+
zIndex?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Button fill.
|
|
22
|
+
*/
|
|
23
|
+
fill?: "solid" | "outlined";
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ScrollToTop } from "./ScrollToTop";
|
|
@@ -2,7 +2,7 @@ import React, { FocusEvent } from "react";
|
|
|
2
2
|
import { FormControlProps } from "../FormControl/FormControl";
|
|
3
3
|
/** Use `Select` to choose from a dropdown list of options. */
|
|
4
4
|
export declare const Select: React.FC<SelectProps>;
|
|
5
|
-
export interface SelectProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "id" | "helperUnderLabel"> {
|
|
5
|
+
export interface SelectProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "id" | "helperUnderLabel" | "supplementaryInfo"> {
|
|
6
6
|
name: string;
|
|
7
7
|
label: string;
|
|
8
8
|
placeholder: string;
|
|
@@ -4,6 +4,7 @@ import { Column } from "./components/Column";
|
|
|
4
4
|
import { Item } from "./components/Item";
|
|
5
5
|
import { ItemGroup } from "./components/ItemGroup";
|
|
6
6
|
import { NavItem, NavItemWithSubNav } from "./components/NavItem";
|
|
7
|
+
import { NodeItem } from "./components/NodeItem/NodeItem";
|
|
7
8
|
import { SubNavItem } from "./components/SubNavItem";
|
|
8
9
|
declare const Context: React.Context<{
|
|
9
10
|
transparent: boolean;
|
|
@@ -16,6 +17,7 @@ export declare const SiteHeader: FC<SiteHeaderProps> & {
|
|
|
16
17
|
Item: typeof Item;
|
|
17
18
|
ItemGroup: typeof ItemGroup;
|
|
18
19
|
NavItem: typeof NavItem;
|
|
20
|
+
NodeItem: typeof NodeItem;
|
|
19
21
|
NavItemWithSubNav: typeof NavItemWithSubNav;
|
|
20
22
|
SubNavItem: typeof SubNavItem;
|
|
21
23
|
};
|
|
@@ -3,7 +3,7 @@ import { SwitchProps as RadixSwitchProps } from "@radix-ui/react-switch";
|
|
|
3
3
|
import { FormControlProps } from "../FormControl/FormControl";
|
|
4
4
|
/** Use `Switch` to toggle between checked and not checked. */
|
|
5
5
|
export declare const Switch: FC<SwitchProps>;
|
|
6
|
-
export interface SwitchProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "disclosureText" | "disclosureTitle" | "onClickDisclosure" | "helper"> {
|
|
6
|
+
export interface SwitchProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "disclosureText" | "disclosureTitle" | "onClickDisclosure" | "helper" | "supplementaryInfo"> {
|
|
7
7
|
/**
|
|
8
8
|
* Hide Label above toggle?
|
|
9
9
|
*/
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FormControlProps } from "../FormControl/FormControl";
|
|
3
|
+
declare type EventType = React.ChangeEvent<HTMLTextAreaElement>;
|
|
4
|
+
export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
5
|
+
export interface TextAreaProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel"> {
|
|
6
|
+
/**
|
|
7
|
+
* Uncontrolled default value of the TextArea. If the TextArea is controlled
|
|
8
|
+
* via `value`/`onChange`, `defaultValue` will be ignored.
|
|
9
|
+
*/
|
|
10
|
+
defaultValue?: string;
|
|
11
|
+
/**
|
|
12
|
+
* ID for the TextArea.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
/**
|
|
16
|
+
* Should the control be disabled?
|
|
17
|
+
*/
|
|
18
|
+
isDisabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Should the control be read-only?
|
|
21
|
+
*/
|
|
22
|
+
isReadOnly?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Should the control be required?
|
|
25
|
+
*/
|
|
26
|
+
isRequired?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Maximum number of characters.
|
|
29
|
+
*/
|
|
30
|
+
maxLength?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Shows the current character count and maxLength. Ignored if maxLength is undefined.
|
|
33
|
+
*/
|
|
34
|
+
showCharacterCount?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Name of the input.
|
|
37
|
+
*/
|
|
38
|
+
name?: string;
|
|
39
|
+
/**
|
|
40
|
+
* `none` will prevent any resizing.
|
|
41
|
+
* `manual` will allow the user to resize the TextArea.
|
|
42
|
+
* `auto` will resize the text area as needed when the user types.
|
|
43
|
+
*/
|
|
44
|
+
resize?: "none" | "manual" | "auto";
|
|
45
|
+
/**
|
|
46
|
+
* Function to call when the TextArea loses focus.
|
|
47
|
+
*/
|
|
48
|
+
onBlur?: (e: EventType) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Callback function commonly used to update the TextArea's controlled
|
|
51
|
+
* `value`, for example `e => setValue(e.target.value)`.
|
|
52
|
+
*/
|
|
53
|
+
onChange?: (e: EventType) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Current value of the TextArea. Must be controlled via an
|
|
56
|
+
* `onChange` callback function. Otherwise, use `defaultValue` (or `isReadOnly`).
|
|
57
|
+
*/
|
|
58
|
+
value?: string;
|
|
59
|
+
}
|
|
60
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TextArea } from "./TextArea";
|
|
@@ -5,7 +5,7 @@ declare type EventType = React.ChangeEvent<HTMLInputElement>;
|
|
|
5
5
|
* Use `TextInput` to allow custom user text entry with a keyboard.
|
|
6
6
|
*/
|
|
7
7
|
export declare const TextInput: FC<TextInputProps>;
|
|
8
|
-
export interface TextInputProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel"> {
|
|
8
|
+
export interface TextInputProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "supplementaryInfo"> {
|
|
9
9
|
/**
|
|
10
10
|
* Uncontrolled default value of the TextInput. If the TextInput is controlled
|
|
11
11
|
* via `value`/`onChange`, `defaultValue` will be ignored.
|
|
@@ -11,6 +11,7 @@ export { Curve } from "./Curve";
|
|
|
11
11
|
export { Disclosure } from "./Disclosure";
|
|
12
12
|
export { Elevation } from "./Elevation";
|
|
13
13
|
export { FormControl } from "./FormControl";
|
|
14
|
+
export { Filter } from "./Filter";
|
|
14
15
|
export { Group } from "./Group";
|
|
15
16
|
export { Heading } from "./Heading";
|
|
16
17
|
export { Icon } from "./Icon";
|
|
@@ -30,6 +31,7 @@ export { Badge } from "./Badge";
|
|
|
30
31
|
export { Tag } from "./Tag";
|
|
31
32
|
export { Text } from "./Text";
|
|
32
33
|
export { TextInput } from "./TextInput";
|
|
34
|
+
export { TextArea } from "./TextArea";
|
|
33
35
|
export { Truncate } from "./Truncate";
|
|
34
36
|
export { VerticalSpace } from "./VerticalSpace";
|
|
35
37
|
export { VisuallyHidden } from "./VisuallyHidden";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const usePagination: (pageCount: number, selectedPage: number) => string[];
|
package/dist/types/styles.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./components/Alert/Alert.css";
|
|
1
2
|
import "./components/Align/Align.css";
|
|
2
3
|
import "./components/Badge/Badge.css";
|
|
3
4
|
import "./components/Base/Base.css";
|
|
@@ -10,17 +11,23 @@ import "./components/Clock/Clock.css";
|
|
|
10
11
|
import "./components/Columns/Columns.css";
|
|
11
12
|
import "./components/Columns/Columns.offsets.css";
|
|
12
13
|
import "./components/Disclosure/Disclosure.css";
|
|
14
|
+
import "./components/DisclosureMini/DisclosureMini.css";
|
|
13
15
|
import "./components/Elevation/Elevation.css";
|
|
16
|
+
import "./components/Filter/Filter.css";
|
|
14
17
|
import "./components/FormControl/FormControl.css";
|
|
15
|
-
import "./components/FormControl/FormControlDisclosure/FormControlDisclosure.css";
|
|
16
18
|
import "./components/Group/Group.css";
|
|
17
19
|
import "./components/Heading/Heading.css";
|
|
18
20
|
import "./components/Icon/Icon.css";
|
|
19
21
|
import "./components/Image/Image.css";
|
|
20
22
|
import "./components/Markup/Markup.css";
|
|
23
|
+
import "./components/Modal/Modal.css";
|
|
24
|
+
import "./components/Pagination/Pagination.css";
|
|
25
|
+
import "./components/PaginationSimple/PaginationSimple.css";
|
|
21
26
|
import "./components/Poster/Poster.css";
|
|
27
|
+
import "./components/ProgressBar/ProgressBar.css";
|
|
22
28
|
import "./components/RadioGroup/RadioGroup.css";
|
|
23
29
|
import "./components/Rule/Rule.css";
|
|
30
|
+
import "./components/ScrollToTop/ScrollToTop.css";
|
|
24
31
|
import "./components/Section/Section.css";
|
|
25
32
|
import "./components/Select/Select.css";
|
|
26
33
|
import "./components/SiteFooter/SiteFooter.css";
|
|
@@ -28,6 +35,7 @@ import "./components/SiteHeader/SiteHeader.css";
|
|
|
28
35
|
import "./components/Surface/Surface.css";
|
|
29
36
|
import "./components/Tag/Tag.css";
|
|
30
37
|
import "./components/Text/Text.css";
|
|
38
|
+
import "./components/TextArea/TextArea.css";
|
|
31
39
|
import "./components/TextInput/TextInput.css";
|
|
32
40
|
import "./components/Truncate/Truncate.css";
|
|
33
41
|
import "./components/UniversalHeader/UniversalHeader.css";
|
|
@@ -41,9 +49,9 @@ import "./components/Card/Card.bt.css";
|
|
|
41
49
|
import "./components/Checkbox/Checkbox.bt.css";
|
|
42
50
|
import "./components/Curve/Curve.bt.css";
|
|
43
51
|
import "./components/Disclosure/Disclosure.bt.css";
|
|
52
|
+
import "./components/DisclosureMini/DisclosureMini.bt.css";
|
|
44
53
|
import "./components/Elevation/Elevation.bt.css";
|
|
45
54
|
import "./components/FormControl/FormControl.bt.css";
|
|
46
|
-
import "./components/FormControl/FormControlDisclosure/FormControlDisclosure.bt.css";
|
|
47
55
|
import "./components/Group/Group.bt.css";
|
|
48
56
|
import "./components/Heading/Heading.bt.css";
|
|
49
57
|
import "./components/Icon/Icon.bt.css";
|
|
@@ -59,5 +67,3 @@ import "./components/Text/Text.bt.css";
|
|
|
59
67
|
import "./components/TextInput/TextInput.bt.css";
|
|
60
68
|
import "./components/UniversalHeader/UniversalHeader.bt.css";
|
|
61
69
|
import "./components/Switch/Switch.bt.css";
|
|
62
|
-
import "./components/Modal/Modal.css";
|
|
63
|
-
import "./components/ProgressBar/ProgressBar.css";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arc-ui/components",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.6.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",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"@radix-ui/react-switch": "^1.0.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@arc-ui/fonts": "^11.
|
|
36
|
-
"@arc-ui/icons": "^11.
|
|
37
|
-
"@arc-ui/tokens": "^11.
|
|
35
|
+
"@arc-ui/fonts": "^11.6.0",
|
|
36
|
+
"@arc-ui/icons": "^11.6.0",
|
|
37
|
+
"@arc-ui/tokens": "^11.6.0",
|
|
38
38
|
"@babel/core": "^7.14.3",
|
|
39
39
|
"@babel/helper-define-map": "^7.14.3",
|
|
40
40
|
"@storybook/addon-essentials": "^6.3.6",
|