@arc-ui/components 11.9.0 → 11.11.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 +16 -16
- package/dist/Alert/Alert.esm.js +16 -16
- 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 +5 -5
- package/dist/Badge/Badge.esm.js +5 -5
- 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 +11 -11
- package/dist/Pagination/Pagination.esm.js +11 -11
- 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 +28 -32
- package/dist/ProgressBar/ProgressBar.esm.js +25 -29
- package/dist/ProgressBar/package.json +1 -1
- package/dist/ProgressStepper/ProgressStepper.cjs.js +8 -8
- package/dist/ProgressStepper/ProgressStepper.esm.js +8 -8
- 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 +20 -23
- package/dist/ScrollToTop/ScrollToTop.esm.js +16 -19
- 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 +198 -579
- package/dist/Select/Select.esm.js +61 -442
- 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 +10 -10
- package/dist/Tabs/Tabs.esm.js +10 -10
- package/dist/Tabs/package.json +1 -1
- package/dist/Tag/Tag.cjs.js +32 -39
- package/dist/Tag/Tag.esm.js +28 -35
- 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 +46 -47
- package/dist/TextArea/TextArea.esm.js +46 -47
- 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 +13 -13
- package/dist/Toast/Toast.esm.js +13 -13
- 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-aea340c8.js} +4 -4
- package/dist/_shared/cjs/{Breadcrumbs-0906dd10.js → Breadcrumbs-ed70e75a.js} +8 -10
- package/dist/_shared/cjs/BtIconAlert.esm-1a0ff9f0.js +34 -0
- package/dist/_shared/cjs/BtIconChevronDown2Px.esm-39030ee0.js +26 -0
- package/dist/_shared/cjs/BtIconChevronLeftMid.esm-0aaa6770.js +28 -0
- package/dist/_shared/cjs/BtIconChevronRight2Px.esm-dbf8cbee.js +44 -0
- package/dist/_shared/cjs/BtIconChevronRightMid.esm-d01ebbd4.js +28 -0
- package/dist/_shared/cjs/BtIconCrossAlt2Px.esm-1452b14b.js +26 -0
- package/dist/_shared/cjs/BtIconTick.esm-844eac6c.js +80 -0
- package/dist/_shared/cjs/BtIconTickAlt2Px.esm-57c89acc.js +26 -0
- package/dist/_shared/cjs/{Button-5aaa6776.js → Button-80781596.js} +8 -8
- package/dist/_shared/cjs/{Card-fd189ba8.js → Card-17dcc171.js} +9 -11
- package/dist/_shared/cjs/{Checkbox-02c546ca.js → Checkbox-b126194e.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-d0eeb6bb.js} +6 -6
- package/dist/_shared/cjs/{Filter-a7574fe7.js → Filter-1bde635c.js} +3 -7
- package/dist/_shared/cjs/{FormControl-1e1bf2bf.js → FormControl-7daf8110.js} +7 -7
- package/dist/_shared/cjs/{Group-f85dd4c0.js → Group-0429741a.js} +4 -5
- package/dist/_shared/cjs/{Heading-e3332dcf.js → Heading-27cba320.js} +4 -5
- package/dist/_shared/cjs/{Icon-e1dd45eb.js → Icon-a9801f05.js} +15 -17
- package/dist/_shared/cjs/{Image-0e393cbf.js → Image-e873b8fc.js} +3 -4
- package/dist/_shared/cjs/{Poster-faea1ad3.js → Poster-9b48fd61.js} +5 -9
- package/dist/_shared/cjs/{ProgressStepper-f740d7bb.js → ProgressStepper-9cdc0afe.js} +44 -52
- package/dist/_shared/cjs/{RadioGroup-d7664b0c.js → RadioGroup-56e3b0e5.js} +4 -5
- package/dist/_shared/cjs/{Section-48aca5f5.js → Section-59804166.js} +2 -2
- package/dist/_shared/cjs/{SiteFooter-5da774e1.js → SiteFooter-6381ac4a.js} +7 -9
- package/dist/_shared/cjs/{SiteHeader.rehydrator-acc9d8c4.js → SiteHeader.rehydrator-0e2adbac.js} +19 -27
- package/dist/_shared/cjs/{Surface-b7c51b2b.js → Surface-038db6e1.js} +4 -5
- package/dist/_shared/cjs/{Tabs-fda49692.js → Tabs-2d2a517d.js} +72 -81
- package/dist/_shared/cjs/{Text-fa447e2d.js → Text-606ca3a2.js} +4 -4
- package/dist/_shared/cjs/{TextInput-f4549637.js → TextInput-539f9f30.js} +4 -4
- package/dist/_shared/cjs/{Toast-0cb23cae.js → Toast-69108261.js} +16 -25
- package/dist/_shared/cjs/{UniversalHeader-da622e1a.js → UniversalHeader-5e43d320.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-1af78f76.js} +4 -4
- package/dist/_shared/esm/{Breadcrumbs-dafa8dde.js → Breadcrumbs-87e2bd46.js} +8 -10
- package/dist/_shared/esm/BtIconAlert.esm-a4608d47.js +28 -0
- package/dist/_shared/esm/BtIconChevronDown2Px.esm-217276c2.js +20 -0
- package/dist/_shared/esm/BtIconChevronLeftMid.esm-1ed8330b.js +22 -0
- package/dist/_shared/esm/BtIconChevronRight2Px.esm-75e92636.js +37 -0
- package/dist/_shared/esm/BtIconChevronRightMid.esm-32268f1a.js +22 -0
- package/dist/_shared/esm/BtIconCrossAlt2Px.esm-7165ab1a.js +20 -0
- package/dist/_shared/esm/BtIconTick.esm-e265098f.js +72 -0
- package/dist/_shared/esm/BtIconTickAlt2Px.esm-0bc2ded0.js +20 -0
- package/dist/_shared/esm/{Button-d1dbcf79.js → Button-69073fb3.js} +8 -8
- package/dist/_shared/esm/{Card-e62c3ff6.js → Card-201e9f28.js} +9 -11
- package/dist/_shared/esm/{Checkbox-d8891198.js → Checkbox-d6ec5024.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-ec17b008.js} +6 -6
- package/dist/_shared/esm/{Filter-a01aed11.js → Filter-58a42358.js} +3 -7
- package/dist/_shared/esm/{FormControl-f18e2f59.js → FormControl-351e5f1b.js} +7 -7
- package/dist/_shared/esm/{Group-fb26fd32.js → Group-73fdb896.js} +4 -5
- package/dist/_shared/esm/{Heading-0f629151.js → Heading-d16e0e53.js} +4 -5
- package/dist/_shared/esm/{Icon-c1af47bc.js → Icon-abd0d990.js} +12 -14
- package/dist/_shared/esm/{Image-3ed3863c.js → Image-12fbd327.js} +3 -4
- package/dist/_shared/esm/{Poster-a83ae770.js → Poster-4ec2f679.js} +5 -9
- package/dist/_shared/esm/{ProgressStepper-7ab88f4c.js → ProgressStepper-f51f86c3.js} +41 -49
- package/dist/_shared/esm/{RadioGroup-be16d5d3.js → RadioGroup-c838764c.js} +4 -5
- package/dist/_shared/esm/{Section-b8038d66.js → Section-73781b56.js} +2 -2
- package/dist/_shared/esm/{SiteFooter-a182cb18.js → SiteFooter-233bb926.js} +7 -9
- package/dist/_shared/esm/{SiteHeader.rehydrator-023b7b76.js → SiteHeader.rehydrator-bafcb166.js} +19 -27
- package/dist/_shared/esm/{Surface-dde51789.js → Surface-0ca6817d.js} +4 -5
- package/dist/_shared/esm/{Tabs-5af0b940.js → Tabs-f903187a.js} +28 -37
- package/dist/_shared/esm/{Text-40457811.js → Text-14f586ac.js} +4 -4
- package/dist/_shared/esm/{TextInput-4424c195.js → TextInput-ee68c88b.js} +4 -4
- package/dist/_shared/esm/{Toast-43795e91.js → Toast-37549e68.js} +16 -25
- package/dist/_shared/esm/{UniversalHeader-1c5a886d.js → UniversalHeader-b4c1577c.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 +831 -1527
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1260 -1956
- package/dist/index.js.map +1 -1
- package/dist/styles.css +11 -1
- package/dist/types/components/Alert/Alert.d.ts +2 -2
- package/dist/types/components/Box/index.d.ts +1 -1
- package/dist/types/components/BrandLogo/BrandLogo.d.ts +2 -2
- 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/Columns/index.d.ts +1 -1
- package/dist/types/components/Curve/Curve.d.ts +4 -4
- 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/Icon/Icon.d.ts +1 -1
- package/dist/types/components/Image/Image.d.ts +4 -4
- package/dist/types/components/MediaCard/MediaCard.d.ts +1 -1
- package/dist/types/components/MediaCard/MediaCard.stories-wip.d.ts +15 -0
- package/dist/types/components/Poster/PosterImage.d.ts +2 -2
- package/dist/types/components/Poster/PosterVideo.d.ts +1 -1
- 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/SiteHeader/SiteHeader.d.ts +1 -1
- package/dist/types/components/Surface/Surface.d.ts +3 -3
- package/dist/types/components/Surface/index.d.ts +1 -1
- 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 +3 -0
- package/dist/types/components/Toast/ToastNotification.d.ts +1 -1
- package/dist/types/components/VerticalSpace/VerticalSpace.d.ts +1 -1
- package/dist/types/hooks/use-aria-describedby.d.ts +1 -1
- package/dist/types/types/arc-icon.d.ts +1 -1
- package/package.json +49 -19
- 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 -30
- package/dist/Badge/Badge.esm.d.ts +0 -30
- 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 -1
- package/dist/ProgressStepper/ProgressStepper.esm.d.ts +0 -1
- 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 -1
- package/dist/Tabs/Tabs.esm.d.ts +0 -1
- 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 -1
- package/dist/Toast/Toast.esm.d.ts +0 -1
- 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/BtIconAlert-637db790.js +0 -38
- package/dist/_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js +0 -29
- package/dist/_shared/cjs/BtIconChevronLeftMid-df952a3e.js +0 -31
- package/dist/_shared/cjs/BtIconChevronRight2Px-a8e40136.js +0 -50
- package/dist/_shared/cjs/BtIconChevronRightMid-5a38d855.js +0 -31
- package/dist/_shared/cjs/BtIconCrossAlt2Px-30dc2688.js +0 -29
- package/dist/_shared/cjs/BtIconTick-42fcc5ec.js +0 -91
- package/dist/_shared/cjs/BtIconTickAlt2Px-bdf06f8c.js +0 -29
- 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/MediaCard-9483ad5f.d.ts +0 -60
- 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/ProgressStepper-f740d7bb.d.ts +0 -89
- 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/Tabs-fda49692.d.ts +0 -75
- 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/Toast-0cb23cae.d.ts +0 -52
- 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/BtIconAlert-55a6ed5c.js +0 -32
- package/dist/_shared/esm/BtIconChevronDown2Px-782876e2.js +0 -23
- package/dist/_shared/esm/BtIconChevronLeftMid-9f4f3a3d.js +0 -25
- package/dist/_shared/esm/BtIconChevronRight2Px-b8e7b4ad.js +0 -43
- package/dist/_shared/esm/BtIconChevronRightMid-d9b11761.js +0 -25
- package/dist/_shared/esm/BtIconCrossAlt2Px-a6a9f431.js +0 -23
- package/dist/_shared/esm/BtIconTick-5fe50cc7.js +0 -83
- package/dist/_shared/esm/BtIconTickAlt2Px-da97e9ae.js +0 -23
- 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/MediaCard-9483ad5f.d.ts +0 -60
- 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/ProgressStepper-7ab88f4c.d.ts +0 -89
- 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/Tabs-5af0b940.d.ts +0 -75
- 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/Toast-43795e91.d.ts +0 -52
- 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,26 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Use `UniversalHeader` to display a group-level page header.
|
|
4
|
-
*/
|
|
5
|
-
declare const UniversalHeader: FC<UniversalHeaderProps> & {
|
|
6
|
-
Item: typeof UniversalHeaderItem;
|
|
7
|
-
};
|
|
8
|
-
declare const UniversalHeaderItem: FC<UniversalHeaderItemProps>;
|
|
9
|
-
interface UniversalHeaderItemProps {
|
|
10
|
-
/**
|
|
11
|
-
* Contents of the UniversalHeaderItem.
|
|
12
|
-
*/
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* A URL to link to when the Item is clicked or touched.
|
|
16
|
-
*/
|
|
17
|
-
href: string;
|
|
18
|
-
}
|
|
19
|
-
interface UniversalHeaderProps {
|
|
20
|
-
/**
|
|
21
|
-
* Contents of the UniversalHeader. Must be
|
|
22
|
-
* UniversalHeader.Item components.
|
|
23
|
-
*/
|
|
24
|
-
children: ReactNode;
|
|
25
|
-
}
|
|
26
|
-
export { UniversalHeader, UniversalHeaderItem, UniversalHeaderItemProps, UniversalHeaderProps };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Use `VerticalSpace` to create vertical space between components.
|
|
4
|
-
*/
|
|
5
|
-
declare const VerticalSpace: FC<VerticalSpaceProps>;
|
|
6
|
-
type VerticalSpaceSize = "4" | "8" | "12" | "16" | "20" | "24" | "28" | "32" | "40" | "48" | "64" | "96" | "128";
|
|
7
|
-
interface VerticalSpaceProps {
|
|
8
|
-
/**
|
|
9
|
-
* Should the VerticalSpace be visible for debugging and documentation
|
|
10
|
-
* purposes?
|
|
11
|
-
*/
|
|
12
|
-
isDebugVisible?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Size of the VerticalSpace.
|
|
15
|
-
*/
|
|
16
|
-
size?: VerticalSpaceSize;
|
|
17
|
-
/**
|
|
18
|
-
* Size of the VerticalSpace from the small breakpoint upwards.
|
|
19
|
-
*/
|
|
20
|
-
sizeS?: VerticalSpaceSize;
|
|
21
|
-
/**
|
|
22
|
-
* Size of the VerticalSpace from the medium breakpoint upwards.
|
|
23
|
-
*/
|
|
24
|
-
sizeM?: VerticalSpaceSize;
|
|
25
|
-
/**
|
|
26
|
-
* Size of the VerticalSpace from the large breakpoint upwards.
|
|
27
|
-
*/
|
|
28
|
-
sizeL?: VerticalSpaceSize;
|
|
29
|
-
/**
|
|
30
|
-
* Size of the VerticalSpace from the extra large breakpoint upwards.
|
|
31
|
-
*/
|
|
32
|
-
sizeXL?: VerticalSpaceSize;
|
|
33
|
-
}
|
|
34
|
-
export { VerticalSpace, VerticalSpaceSize, VerticalSpaceProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Provides text for screen readers that is visually hidden.
|
|
4
|
-
*/
|
|
5
|
-
declare const VisuallyHidden: FC<VisuallyHiddenProps>;
|
|
6
|
-
interface VisuallyHiddenProps {
|
|
7
|
-
/**
|
|
8
|
-
* Content to be Visually Hidden.
|
|
9
|
-
*/
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export { VisuallyHidden, VisuallyHiddenProps };
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
/*! *****************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */
|
|
15
|
-
|
|
16
|
-
var __assign = function() {
|
|
17
|
-
__assign = Object.assign || function __assign(t) {
|
|
18
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
19
|
-
s = arguments[i];
|
|
20
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
return __assign.apply(this, arguments);
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
function __rest(s, e) {
|
|
28
|
-
var t = {};
|
|
29
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
30
|
-
t[p] = s[p];
|
|
31
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
32
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
33
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
34
|
-
t[p[i]] = s[p[i]];
|
|
35
|
-
}
|
|
36
|
-
return t;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
40
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
41
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
42
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
43
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
44
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
45
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function __generator(thisArg, body) {
|
|
50
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
51
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
52
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
53
|
-
function step(op) {
|
|
54
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
55
|
-
while (_) try {
|
|
56
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
57
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
58
|
-
switch (op[0]) {
|
|
59
|
-
case 0: case 1: t = op; break;
|
|
60
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
61
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
62
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
63
|
-
default:
|
|
64
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
65
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
66
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
67
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
68
|
-
if (t[2]) _.ops.pop();
|
|
69
|
-
_.trys.pop(); continue;
|
|
70
|
-
}
|
|
71
|
-
op = body.call(thisArg, _);
|
|
72
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
73
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
function __spreadArray(to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
var camelcase = {exports: {}};
|
|
88
|
-
|
|
89
|
-
const UPPERCASE = /[\p{Lu}]/u;
|
|
90
|
-
const LOWERCASE = /[\p{Ll}]/u;
|
|
91
|
-
const LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu;
|
|
92
|
-
const IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u;
|
|
93
|
-
const SEPARATORS = /[_.\- ]+/;
|
|
94
|
-
|
|
95
|
-
const LEADING_SEPARATORS = new RegExp('^' + SEPARATORS.source);
|
|
96
|
-
const SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, 'gu');
|
|
97
|
-
const NUMBERS_AND_IDENTIFIER = new RegExp('\\d+' + IDENTIFIER.source, 'gu');
|
|
98
|
-
|
|
99
|
-
const preserveCamelCase = (string, locale) => {
|
|
100
|
-
let isLastCharLower = false;
|
|
101
|
-
let isLastCharUpper = false;
|
|
102
|
-
let isLastLastCharUpper = false;
|
|
103
|
-
|
|
104
|
-
for (let i = 0; i < string.length; i++) {
|
|
105
|
-
const character = string[i];
|
|
106
|
-
|
|
107
|
-
if (isLastCharLower && UPPERCASE.test(character)) {
|
|
108
|
-
string = string.slice(0, i) + '-' + string.slice(i);
|
|
109
|
-
isLastCharLower = false;
|
|
110
|
-
isLastLastCharUpper = isLastCharUpper;
|
|
111
|
-
isLastCharUpper = true;
|
|
112
|
-
i++;
|
|
113
|
-
} else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character)) {
|
|
114
|
-
string = string.slice(0, i - 1) + '-' + string.slice(i - 1);
|
|
115
|
-
isLastLastCharUpper = isLastCharUpper;
|
|
116
|
-
isLastCharUpper = false;
|
|
117
|
-
isLastCharLower = true;
|
|
118
|
-
} else {
|
|
119
|
-
isLastCharLower = character.toLocaleLowerCase(locale) === character && character.toLocaleUpperCase(locale) !== character;
|
|
120
|
-
isLastLastCharUpper = isLastCharUpper;
|
|
121
|
-
isLastCharUpper = character.toLocaleUpperCase(locale) === character && character.toLocaleLowerCase(locale) !== character;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
return string;
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
const preserveConsecutiveUppercase = input => {
|
|
129
|
-
LEADING_CAPITAL.lastIndex = 0;
|
|
130
|
-
|
|
131
|
-
return input.replace(LEADING_CAPITAL, m1 => m1.toLowerCase());
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
const postProcess = (input, options) => {
|
|
135
|
-
SEPARATORS_AND_IDENTIFIER.lastIndex = 0;
|
|
136
|
-
NUMBERS_AND_IDENTIFIER.lastIndex = 0;
|
|
137
|
-
|
|
138
|
-
return input.replace(SEPARATORS_AND_IDENTIFIER, (_, identifier) => identifier.toLocaleUpperCase(options.locale))
|
|
139
|
-
.replace(NUMBERS_AND_IDENTIFIER, m => m.toLocaleUpperCase(options.locale));
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
const camelCase = (input, options) => {
|
|
143
|
-
if (!(typeof input === 'string' || Array.isArray(input))) {
|
|
144
|
-
throw new TypeError('Expected the input to be `string | string[]`');
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
options = {
|
|
148
|
-
pascalCase: false,
|
|
149
|
-
preserveConsecutiveUppercase: false,
|
|
150
|
-
...options
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
if (Array.isArray(input)) {
|
|
154
|
-
input = input.map(x => x.trim())
|
|
155
|
-
.filter(x => x.length)
|
|
156
|
-
.join('-');
|
|
157
|
-
} else {
|
|
158
|
-
input = input.trim();
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
if (input.length === 0) {
|
|
162
|
-
return '';
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
if (input.length === 1) {
|
|
166
|
-
return options.pascalCase ? input.toLocaleUpperCase(options.locale) : input.toLocaleLowerCase(options.locale);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
const hasUpperCase = input !== input.toLocaleLowerCase(options.locale);
|
|
170
|
-
|
|
171
|
-
if (hasUpperCase) {
|
|
172
|
-
input = preserveCamelCase(input, options.locale);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
input = input.replace(LEADING_SEPARATORS, '');
|
|
176
|
-
|
|
177
|
-
if (options.preserveConsecutiveUppercase) {
|
|
178
|
-
input = preserveConsecutiveUppercase(input);
|
|
179
|
-
} else {
|
|
180
|
-
input = input.toLocaleLowerCase();
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
if (options.pascalCase) {
|
|
184
|
-
input = input.charAt(0).toLocaleUpperCase(options.locale) + input.slice(1);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
return postProcess(input, options);
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
camelcase.exports = camelCase;
|
|
191
|
-
// TODO: Remove this for the next major release
|
|
192
|
-
camelcase.exports.default = camelCase;
|
|
193
|
-
|
|
194
|
-
var camelCase$1 = camelcase.exports;
|
|
195
|
-
|
|
196
|
-
var dataAttrRe = /^(data-.*)$/;
|
|
197
|
-
var filterDataAttrs = function (props) {
|
|
198
|
-
var filteredProps = {};
|
|
199
|
-
for (var prop in props) {
|
|
200
|
-
if (Object.prototype.hasOwnProperty.call(props, prop) &&
|
|
201
|
-
dataAttrRe.test(prop)) {
|
|
202
|
-
filteredProps[prop] = props[prop];
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
return filteredProps;
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
export { __rest as _, __assign as a, __spreadArray as b, camelCase$1 as c, __awaiter as d, __generator as e, filterDataAttrs as f };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { MouseEvent } from "react";
|
|
2
|
-
interface IHandleLinkClick {
|
|
3
|
-
handler?: () => void;
|
|
4
|
-
preventDefault?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const handleLinkClick: ({ handler, preventDefault }: IHandleLinkClick) => (e: MouseEvent<HTMLAnchorElement>) => void;
|
|
7
|
-
export { handleLinkClick };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @typedef MediaQueryOutputs
|
|
3
|
-
* @param {boolean} matches - does the document match the media query?
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Handle with care!
|
|
7
|
-
*
|
|
8
|
-
* If you need to change something in the browser based on @media query, you
|
|
9
|
-
* probably don’t need this hook. Use CSS media queries instead.
|
|
10
|
-
*
|
|
11
|
-
* Sometimes UI requirements are not achievable with CSS media queries alone. In
|
|
12
|
-
* these rare cases, use this hook to make media query matches available
|
|
13
|
-
* to React JavaScript code.
|
|
14
|
-
*
|
|
15
|
-
* @param {string} mediaQuery - the media query to parse
|
|
16
|
-
* @returns {MediaQueryOutputs}
|
|
17
|
-
*/
|
|
18
|
-
declare const useMediaQuery: (mediaQuery: string) => boolean;
|
|
19
|
-
export { useMediaQuery as default };
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-4575346e.js';
|
|
2
|
-
import { forwardRef, Children, isValidElement, createElement, cloneElement, Fragment, useLayoutEffect, useMemo, useRef } from 'react';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Set a given ref to a given value
|
|
6
|
-
* This utility takes care of different types of refs: callback refs and RefObject(s)
|
|
7
|
-
*/ function $6ed0406888f73fc4$var$setRef(ref, value) {
|
|
8
|
-
if (typeof ref === 'function') ref(value);
|
|
9
|
-
else if (ref !== null && ref !== undefined) ref.current = value;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* A utility to compose multiple refs together
|
|
13
|
-
* Accepts callback refs and RefObject(s)
|
|
14
|
-
*/ function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
|
|
15
|
-
return (node)=>refs.forEach((ref)=>$6ed0406888f73fc4$var$setRef(ref, node)
|
|
16
|
-
)
|
|
17
|
-
;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* -------------------------------------------------------------------------------------------------
|
|
21
|
-
* Slot
|
|
22
|
-
* -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
23
|
-
const { children: children , ...slotProps } = props;
|
|
24
|
-
const childrenArray = Children.toArray(children);
|
|
25
|
-
const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
|
|
26
|
-
if (slottable) {
|
|
27
|
-
// the new element to render is the one passed as a child of `Slottable`
|
|
28
|
-
const newElement = slottable.props.children;
|
|
29
|
-
const newChildren = childrenArray.map((child)=>{
|
|
30
|
-
if (child === slottable) {
|
|
31
|
-
// because the new element will be the one rendered, we are only interested
|
|
32
|
-
// in grabbing its children (`newElement.props.children`)
|
|
33
|
-
if (Children.count(newElement) > 1) return Children.only(null);
|
|
34
|
-
return /*#__PURE__*/ isValidElement(newElement) ? newElement.props.children : null;
|
|
35
|
-
} else return child;
|
|
36
|
-
});
|
|
37
|
-
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
38
|
-
ref: forwardedRef
|
|
39
|
-
}), /*#__PURE__*/ isValidElement(newElement) ? /*#__PURE__*/ cloneElement(newElement, undefined, newChildren) : null);
|
|
40
|
-
}
|
|
41
|
-
return /*#__PURE__*/ createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
42
|
-
ref: forwardedRef
|
|
43
|
-
}), children);
|
|
44
|
-
});
|
|
45
|
-
$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = 'Slot';
|
|
46
|
-
/* -------------------------------------------------------------------------------------------------
|
|
47
|
-
* SlotClone
|
|
48
|
-
* -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
49
|
-
const { children: children , ...slotProps } = props;
|
|
50
|
-
if (/*#__PURE__*/ isValidElement(children)) return /*#__PURE__*/ cloneElement(children, {
|
|
51
|
-
...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
|
|
52
|
-
ref: $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref)
|
|
53
|
-
});
|
|
54
|
-
return Children.count(children) > 1 ? Children.only(null) : null;
|
|
55
|
-
});
|
|
56
|
-
$5e63c961fc1ce211$var$SlotClone.displayName = 'SlotClone';
|
|
57
|
-
/* -------------------------------------------------------------------------------------------------
|
|
58
|
-
* Slottable
|
|
59
|
-
* -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children: children })=>{
|
|
60
|
-
return /*#__PURE__*/ createElement(Fragment, null, children);
|
|
61
|
-
};
|
|
62
|
-
/* ---------------------------------------------------------------------------------------------- */ function $5e63c961fc1ce211$var$isSlottable(child) {
|
|
63
|
-
return /*#__PURE__*/ isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
|
|
64
|
-
}
|
|
65
|
-
function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
|
|
66
|
-
// all child props should override
|
|
67
|
-
const overrideProps = {
|
|
68
|
-
...childProps
|
|
69
|
-
};
|
|
70
|
-
for(const propName in childProps){
|
|
71
|
-
const slotPropValue = slotProps[propName];
|
|
72
|
-
const childPropValue = childProps[propName];
|
|
73
|
-
const isHandler = /^on[A-Z]/.test(propName);
|
|
74
|
-
if (isHandler) {
|
|
75
|
-
// if the handler exists on both, we compose them
|
|
76
|
-
if (slotPropValue && childPropValue) overrideProps[propName] = (...args)=>{
|
|
77
|
-
childPropValue(...args);
|
|
78
|
-
slotPropValue(...args);
|
|
79
|
-
};
|
|
80
|
-
else if (slotPropValue) overrideProps[propName] = slotPropValue;
|
|
81
|
-
} else if (propName === 'style') overrideProps[propName] = {
|
|
82
|
-
...slotPropValue,
|
|
83
|
-
...childPropValue
|
|
84
|
-
};
|
|
85
|
-
else if (propName === 'className') overrideProps[propName] = [
|
|
86
|
-
slotPropValue,
|
|
87
|
-
childPropValue
|
|
88
|
-
].filter(Boolean).join(' ');
|
|
89
|
-
}
|
|
90
|
-
return {
|
|
91
|
-
...slotProps,
|
|
92
|
-
...overrideProps
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* On the server, React emits a warning when calling `useLayoutEffect`.
|
|
98
|
-
* This is because neither `useLayoutEffect` nor `useEffect` run on the server.
|
|
99
|
-
* We use this safe version which suppresses the warning by replacing it with a noop on the server.
|
|
100
|
-
*
|
|
101
|
-
* See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
|
|
102
|
-
*/ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? useLayoutEffect : ()=>{};
|
|
103
|
-
|
|
104
|
-
function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
|
|
105
|
-
const ref = useRef({
|
|
106
|
-
value: value,
|
|
107
|
-
previous: value
|
|
108
|
-
}); // We compare values before making an update to ensure that
|
|
109
|
-
// a change has been made. This ensures the previous value is
|
|
110
|
-
// persisted correctly between renders.
|
|
111
|
-
return useMemo(()=>{
|
|
112
|
-
if (ref.current.value !== value) {
|
|
113
|
-
ref.current.previous = ref.current.value;
|
|
114
|
-
ref.current.value = value;
|
|
115
|
-
}
|
|
116
|
-
return ref.current.previous;
|
|
117
|
-
}, [
|
|
118
|
-
value
|
|
119
|
-
]);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export { $5e63c961fc1ce211$export$8c6ed5c666ac1360 as $, $9f79659886946c16$export$e5c5a5f917a5871c as a, $010c2913dbd2fe3d$export$5cae361ad82dce8b as b };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Suffixes a modifier value onto the end of a className, converting it to
|
|
3
|
-
* pascal case. i.e. turns suffixModifier("MyComponent--display", display)
|
|
4
|
-
* returns MyComponent--displayBlock.
|
|
5
|
-
*
|
|
6
|
-
* @param rootClassName The root className to append the suffix onto
|
|
7
|
-
* @param suffix The suffix to convert into pascal case.
|
|
8
|
-
*/
|
|
9
|
-
declare const suffixModifier: (rootClassName: string, suffix: string) => string;
|
|
10
|
-
export { suffixModifier };
|
|
File without changes
|
|
File without changes
|