@arc-ui/components 11.6.0 → 11.7.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 +4 -4
- package/dist/Alert/Alert.esm.d.ts +1 -1
- package/dist/Alert/Alert.esm.js +4 -4
- package/dist/Badge/Badge.cjs.js +2 -2
- package/dist/Badge/Badge.esm.js +2 -2
- package/dist/Box/Box.cjs.d.ts +1 -0
- package/dist/Box/Box.cjs.js +13 -0
- package/dist/Box/Box.esm.d.ts +1 -0
- package/dist/Box/Box.esm.js +5 -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 +3 -3
- package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +3 -3
- 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/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/MediaCard/MediaCard.cjs.d.ts +61 -0
- package/dist/MediaCard/MediaCard.cjs.js +31 -0
- package/dist/MediaCard/MediaCard.esm.d.ts +61 -0
- package/dist/MediaCard/MediaCard.esm.js +23 -0
- package/dist/MediaCard/package.json +7 -0
- package/dist/Modal/Modal.cjs.d.ts +31 -0
- package/dist/Modal/Modal.cjs.js +388 -0
- package/dist/Modal/Modal.esm.d.ts +31 -0
- package/dist/Modal/Modal.esm.js +380 -0
- package/dist/Modal/package.json +7 -0
- package/dist/Pagination/Pagination.cjs.js +2 -2
- package/dist/Pagination/Pagination.esm.js +2 -2
- package/dist/PaginationSimple/PaginationSimple.cjs.js +2 -2
- package/dist/PaginationSimple/PaginationSimple.esm.js +2 -2
- 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 +4 -4
- package/dist/ProgressBar/ProgressBar.esm.js +4 -4
- 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 +20 -1418
- package/dist/Select/Select.esm.d.ts +1 -1
- package/dist/Select/Select.esm.js +10 -1389
- package/dist/SiteFooter/SiteFooter.cjs.d.ts +1 -1
- package/dist/SiteFooter/SiteFooter.cjs.js +3 -3
- package/dist/SiteFooter/SiteFooter.esm.d.ts +1 -1
- package/dist/SiteFooter/SiteFooter.esm.js +4 -4
- 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 +8 -7
- package/dist/Switch/Switch.esm.d.ts +1 -1
- package/dist/Switch/Switch.esm.js +7 -6
- 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 +1 -1
- package/dist/TextArea/TextArea.cjs.js +20 -20
- package/dist/TextArea/TextArea.esm.d.ts +1 -1
- package/dist/TextArea/TextArea.esm.js +20 -20
- package/dist/TextInput/TextInput.cjs.js +5 -5
- package/dist/TextInput/TextInput.esm.js +5 -5
- 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/Box-ebe2b7be.d.ts +39 -0
- package/dist/_shared/cjs/Box-ebe2b7be.js +30 -0
- package/dist/_shared/cjs/{BrandLogo-8008f0c4.js → BrandLogo-8107d59f.js} +1 -1
- package/dist/_shared/cjs/{Breadcrumbs-8b554370.js → Breadcrumbs-9f580f69.js} +1 -1
- package/dist/_shared/cjs/{Button-27512fee.js → Button-b4d6ccc8.js} +2 -2
- package/dist/_shared/cjs/{Card-804ab0e5.js → Card-f1108bfe.js} +4 -4
- package/dist/_shared/cjs/{Checkbox-21d3c4f6.js → Checkbox-c927b62f.js} +2 -2
- package/dist/_shared/cjs/{DisclosureMini-067e0319.js → DisclosureMini-2a10006e.js} +2 -2
- package/dist/_shared/cjs/{Filter-f7d2fbda.js → Filter-a7574fe7.js} +1 -1
- package/dist/_shared/cjs/{FormControl-9aaddd54.js → FormControl-78b007b7.js} +2 -2
- package/dist/_shared/cjs/{Group-d83f8c2e.js → Group-f85dd4c0.js} +1 -1
- package/dist/_shared/cjs/{Heading-d45f6a7f.js → Heading-ed1cb455.js} +1 -1
- 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-8e17de70.d.ts} +1 -1
- package/dist/_shared/cjs/{RadioGroup-81805ef9.js → RadioGroup-8e17de70.js} +2 -2
- package/dist/_shared/cjs/{SiteFooter-c540b5f1.js → SiteFooter-9f7f9c2d.js} +2 -2
- package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +3 -3
- package/dist/_shared/cjs/{SiteHeader.rehydrator-f7fa2efe.js → SiteHeader.rehydrator-ccbebde6.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/cjs/{Text-6f2827e6.js → Text-555a29a4.js} +1 -1
- package/dist/_shared/cjs/TextInput-7ed03a48.d.ts +1 -1
- package/dist/_shared/{esm/TextInput-1631dbc4.d.ts → cjs/TextInput-b768e346.d.ts} +2 -2
- package/dist/_shared/cjs/{TextInput-33314fc4.js → TextInput-b768e346.js} +2 -2
- package/dist/_shared/cjs/{UniversalHeader-cc1d9e5a.js → UniversalHeader-da622e1a.js} +1 -1
- package/dist/_shared/cjs/index-31fbb076.js +1416 -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-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-f419cf04.d.ts +1 -1
- package/dist/_shared/cjs/index.module-5ea728f4.js +23 -0
- package/dist/_shared/cjs/{index.module-af7c85f2.js → index.module-9b87a34d.js} +84 -103
- package/dist/_shared/esm/Box-06d99d8a.d.ts +39 -0
- package/dist/_shared/esm/Box-06d99d8a.js +24 -0
- package/dist/_shared/esm/{BrandLogo-56699561.js → BrandLogo-9ec620e8.js} +1 -1
- package/dist/_shared/esm/{Breadcrumbs-04590057.js → Breadcrumbs-5dc0afa7.js} +1 -1
- package/dist/_shared/esm/{Button-d319fa11.js → Button-9c3b0b11.js} +2 -2
- package/dist/_shared/esm/{Card-e79eb6c8.js → Card-79b6eae0.js} +4 -4
- package/dist/_shared/esm/{Checkbox-94300d8c.js → Checkbox-2d144384.js} +2 -2
- package/dist/_shared/esm/{DisclosureMini-022beae3.js → DisclosureMini-78a8f392.js} +2 -2
- package/dist/_shared/esm/{Filter-41b391e3.js → Filter-a01aed11.js} +1 -1
- package/dist/_shared/esm/{FormControl-5e3fdca3.js → FormControl-2fa7aae5.js} +2 -2
- package/dist/_shared/esm/{Group-d62c3f56.js → Group-fb26fd32.js} +1 -1
- package/dist/_shared/esm/{Heading-b61432fb.js → Heading-ee6bec51.js} +1 -1
- 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-65b8c8bf.d.ts} +1 -1
- package/dist/_shared/esm/{RadioGroup-1fd0f389.js → RadioGroup-65b8c8bf.js} +2 -2
- package/dist/_shared/esm/{SiteFooter-8075a9bd.js → SiteFooter-51bdc7df.js} +2 -2
- package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +3 -3
- package/dist/_shared/esm/{SiteHeader.rehydrator-4da8ac64.js → SiteHeader.rehydrator-382d1c03.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/esm/{Text-00e9743b.js → Text-14deb70e.js} +1 -1
- package/dist/_shared/esm/{TextInput-1631dbc4.js → TextInput-62bb7dee.js} +2 -2
- package/dist/_shared/esm/TextInput-7ed03a48.d.ts +1 -1
- package/dist/_shared/esm/{UniversalHeader-7926abde.js → UniversalHeader-1c5a886d.js} +1 -1
- package/dist/_shared/esm/index-4fa635bd.js +1386 -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-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-599b86dd.js → index.module-216016b5.js} +86 -104
- package/dist/_shared/esm/index.module-88179159.js +21 -0
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- 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/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.stories-wip.d.ts +9 -0
- 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/styles.d.ts +5 -0
- package/package.json +4 -4
- /package/dist/_shared/cjs/{BrandLogo-8008f0c4.d.ts → BrandLogo-8107d59f.d.ts} +0 -0
- /package/dist/_shared/cjs/{Breadcrumbs-8b554370.d.ts → Breadcrumbs-9f580f69.d.ts} +0 -0
- /package/dist/_shared/cjs/{Button-27512fee.d.ts → Button-b4d6ccc8.d.ts} +0 -0
- /package/dist/_shared/cjs/{Card-804ab0e5.d.ts → Card-f1108bfe.d.ts} +0 -0
- /package/dist/_shared/cjs/{Checkbox-21d3c4f6.d.ts → Checkbox-c927b62f.d.ts} +0 -0
- /package/dist/_shared/cjs/{DisclosureMini-067e0319.d.ts → DisclosureMini-2a10006e.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-78b007b7.d.ts} +0 -0
- /package/dist/_shared/cjs/{Group-d83f8c2e.d.ts → Group-f85dd4c0.d.ts} +0 -0
- /package/dist/_shared/cjs/{Heading-d45f6a7f.d.ts → Heading-ed1cb455.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-9f7f9c2d.d.ts} +0 -0
- /package/dist/_shared/cjs/{SiteHeader.rehydrator-f7fa2efe.d.ts → SiteHeader.rehydrator-ccbebde6.d.ts} +0 -0
- /package/dist/_shared/cjs/{Text-6f2827e6.d.ts → Text-555a29a4.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-5dc0afa7.d.ts} +0 -0
- /package/dist/_shared/esm/{Button-d319fa11.d.ts → Button-9c3b0b11.d.ts} +0 -0
- /package/dist/_shared/esm/{Card-e79eb6c8.d.ts → Card-79b6eae0.d.ts} +0 -0
- /package/dist/_shared/esm/{Checkbox-94300d8c.d.ts → Checkbox-2d144384.d.ts} +0 -0
- /package/dist/_shared/esm/{DisclosureMini-022beae3.d.ts → DisclosureMini-78a8f392.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-2fa7aae5.d.ts} +0 -0
- /package/dist/_shared/esm/{Group-d62c3f56.d.ts → Group-fb26fd32.d.ts} +0 -0
- /package/dist/_shared/esm/{Heading-b61432fb.d.ts → Heading-ee6bec51.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-51bdc7df.d.ts} +0 -0
- /package/dist/_shared/esm/{SiteHeader.rehydrator-4da8ac64.d.ts → SiteHeader.rehydrator-382d1c03.d.ts} +0 -0
- /package/dist/_shared/esm/{Text-00e9743b.d.ts → Text-14deb70e.d.ts} +0 -0
- /package/dist/_shared/{cjs/TextInput-33314fc4.d.ts → esm/TextInput-62bb7dee.d.ts} +0 -0
- /package/dist/_shared/esm/{UniversalHeader-7926abde.d.ts → UniversalHeader-1c5a886d.d.ts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Item } from "./SiteHeader.rehydrator-
|
|
1
|
+
export { Item } from "./SiteHeader.rehydrator-ccbebde6";
|
|
2
2
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { SubNavItem } from "./SubNavItem-a84d1bf4";
|
|
2
|
-
export { default as SubNavItemRehydrator } from "./SiteHeader.rehydrator-
|
|
2
|
+
export { default as SubNavItemRehydrator } from "./SiteHeader.rehydrator-ccbebde6";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./FormControl-
|
|
2
|
-
export * from "./Card-
|
|
1
|
+
export * from "./FormControl-78b007b7";
|
|
2
|
+
export * from "./Card-f1108bfe";
|
|
3
3
|
export * from "./index.es-77def0c9";
|
|
4
|
-
export * from "./TextInput-
|
|
4
|
+
export * from "./TextInput-b768e346";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { ItemGroup } from "./ItemGroup-5af4d600";
|
|
2
|
-
export { default as ItemGroupRehydrator } from "./SiteHeader.rehydrator-
|
|
2
|
+
export { default as ItemGroupRehydrator } from "./SiteHeader.rehydrator-ccbebde6";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { NavItem } from "./NavItem-df20237c";
|
|
2
|
-
export { default as NavItemRehydrator, default as NavItemWithSubNavRehydrator } from "./SiteHeader.rehydrator-
|
|
2
|
+
export { default as NavItemRehydrator, default as NavItemWithSubNavRehydrator } from "./SiteHeader.rehydrator-ccbebde6";
|
|
3
3
|
export { NavItemWithSubNav } from "./NavItemWithSubNav-65f21828";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Panel } from "./SiteHeader.rehydrator-
|
|
1
|
+
export { Panel } from "./SiteHeader.rehydrator-ccbebde6";
|
|
2
2
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Column } from "./SiteHeader.rehydrator-
|
|
1
|
+
export { Column } from "./SiteHeader.rehydrator-ccbebde6";
|
|
2
2
|
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
|
|
5
|
+
function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
|
|
6
|
+
const ref = React.useRef({
|
|
7
|
+
value: value,
|
|
8
|
+
previous: value
|
|
9
|
+
}); // We compare values before making an update to ensure that
|
|
10
|
+
// a change has been made. This ensures the previous value is
|
|
11
|
+
// persisted correctly between renders.
|
|
12
|
+
return React.useMemo(()=>{
|
|
13
|
+
if (ref.current.value !== value) {
|
|
14
|
+
ref.current.previous = ref.current.value;
|
|
15
|
+
ref.current.value = value;
|
|
16
|
+
}
|
|
17
|
+
return ref.current.previous;
|
|
18
|
+
}, [
|
|
19
|
+
value
|
|
20
|
+
]);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.$010c2913dbd2fe3d$export$5cae361ad82dce8b = $010c2913dbd2fe3d$export$5cae361ad82dce8b;
|
|
@@ -28,6 +28,29 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* Set a given ref to a given value
|
|
33
|
+
* This utility takes care of different types of refs: callback refs and RefObject(s)
|
|
34
|
+
*/ function $6ed0406888f73fc4$var$setRef(ref, value) {
|
|
35
|
+
if (typeof ref === 'function') ref(value);
|
|
36
|
+
else if (ref !== null && ref !== undefined) ref.current = value;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A utility to compose multiple refs together
|
|
40
|
+
* Accepts callback refs and RefObject(s)
|
|
41
|
+
*/ function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
|
|
42
|
+
return (node)=>refs.forEach((ref)=>$6ed0406888f73fc4$var$setRef(ref, node)
|
|
43
|
+
)
|
|
44
|
+
;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A custom hook that composes multiple refs
|
|
48
|
+
* Accepts callback refs and RefObject(s)
|
|
49
|
+
*/ function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
|
|
50
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
51
|
+
return React.useCallback($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
|
|
52
|
+
}
|
|
53
|
+
|
|
31
54
|
/* -------------------------------------------------------------------------------------------------
|
|
32
55
|
* createContextScope
|
|
33
56
|
* -----------------------------------------------------------------------------------------------*/ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeDeps = []) {
|
|
@@ -126,26 +149,69 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
|
|
|
126
149
|
}
|
|
127
150
|
|
|
128
151
|
/**
|
|
129
|
-
*
|
|
130
|
-
* This
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
152
|
+
* On the server, React emits a warning when calling `useLayoutEffect`.
|
|
153
|
+
* This is because neither `useLayoutEffect` nor `useEffect` run on the server.
|
|
154
|
+
* We use this safe version which suppresses the warning by replacing it with a noop on the server.
|
|
155
|
+
*
|
|
156
|
+
* See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
|
|
157
|
+
*/ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React.useLayoutEffect : ()=>{};
|
|
158
|
+
|
|
135
159
|
/**
|
|
136
|
-
* A
|
|
137
|
-
*
|
|
138
|
-
*/ function $
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
160
|
+
* A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
|
|
161
|
+
* prop or avoid re-executing effects when passed as a dependency
|
|
162
|
+
*/ function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
|
|
163
|
+
const callbackRef = React.useRef(callback);
|
|
164
|
+
React.useEffect(()=>{
|
|
165
|
+
callbackRef.current = callback;
|
|
166
|
+
}); // https://github.com/facebook/react/issues/19240
|
|
167
|
+
return React.useMemo(()=>(...args)=>{
|
|
168
|
+
var _callbackRef$current;
|
|
169
|
+
return (_callbackRef$current = callbackRef.current) === null || _callbackRef$current === void 0 ? void 0 : _callbackRef$current.call(callbackRef, ...args);
|
|
170
|
+
}
|
|
171
|
+
, []);
|
|
142
172
|
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
173
|
+
|
|
174
|
+
function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop: prop , defaultProp: defaultProp , onChange: onChange = ()=>{} }) {
|
|
175
|
+
const [uncontrolledProp, setUncontrolledProp] = $71cd76cc60e0454e$var$useUncontrolledState({
|
|
176
|
+
defaultProp: defaultProp,
|
|
177
|
+
onChange: onChange
|
|
178
|
+
});
|
|
179
|
+
const isControlled = prop !== undefined;
|
|
180
|
+
const value1 = isControlled ? prop : uncontrolledProp;
|
|
181
|
+
const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
|
|
182
|
+
const setValue = React.useCallback((nextValue)=>{
|
|
183
|
+
if (isControlled) {
|
|
184
|
+
const setter = nextValue;
|
|
185
|
+
const value = typeof nextValue === 'function' ? setter(prop) : nextValue;
|
|
186
|
+
if (value !== prop) handleChange(value);
|
|
187
|
+
} else setUncontrolledProp(nextValue);
|
|
188
|
+
}, [
|
|
189
|
+
isControlled,
|
|
190
|
+
prop,
|
|
191
|
+
setUncontrolledProp,
|
|
192
|
+
handleChange
|
|
193
|
+
]);
|
|
194
|
+
return [
|
|
195
|
+
value1,
|
|
196
|
+
setValue
|
|
197
|
+
];
|
|
198
|
+
}
|
|
199
|
+
function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp: defaultProp , onChange: onChange }) {
|
|
200
|
+
const uncontrolledState = React.useState(defaultProp);
|
|
201
|
+
const [value] = uncontrolledState;
|
|
202
|
+
const prevValueRef = React.useRef(value);
|
|
203
|
+
const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
|
|
204
|
+
React.useEffect(()=>{
|
|
205
|
+
if (prevValueRef.current !== value) {
|
|
206
|
+
handleChange(value);
|
|
207
|
+
prevValueRef.current = value;
|
|
208
|
+
}
|
|
209
|
+
}, [
|
|
210
|
+
value,
|
|
211
|
+
prevValueRef,
|
|
212
|
+
handleChange
|
|
213
|
+
]);
|
|
214
|
+
return uncontrolledState;
|
|
149
215
|
}
|
|
150
216
|
|
|
151
217
|
/* -------------------------------------------------------------------------------------------------
|
|
@@ -303,91 +369,6 @@ const $8927f6f2acc4f386$var$NODES = [
|
|
|
303
369
|
);
|
|
304
370
|
}
|
|
305
371
|
|
|
306
|
-
/**
|
|
307
|
-
* A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
|
|
308
|
-
* prop or avoid re-executing effects when passed as a dependency
|
|
309
|
-
*/ function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
|
|
310
|
-
const callbackRef = React.useRef(callback);
|
|
311
|
-
React.useEffect(()=>{
|
|
312
|
-
callbackRef.current = callback;
|
|
313
|
-
}); // https://github.com/facebook/react/issues/19240
|
|
314
|
-
return React.useMemo(()=>(...args)=>{
|
|
315
|
-
var _callbackRef$current;
|
|
316
|
-
return (_callbackRef$current = callbackRef.current) === null || _callbackRef$current === void 0 ? void 0 : _callbackRef$current.call(callbackRef, ...args);
|
|
317
|
-
}
|
|
318
|
-
, []);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* On the server, React emits a warning when calling `useLayoutEffect`.
|
|
323
|
-
* This is because neither `useLayoutEffect` nor `useEffect` run on the server.
|
|
324
|
-
* We use this safe version which suppresses the warning by replacing it with a noop on the server.
|
|
325
|
-
*
|
|
326
|
-
* See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
|
|
327
|
-
*/ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React.useLayoutEffect : ()=>{};
|
|
328
|
-
|
|
329
|
-
function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop: prop , defaultProp: defaultProp , onChange: onChange = ()=>{} }) {
|
|
330
|
-
const [uncontrolledProp, setUncontrolledProp] = $71cd76cc60e0454e$var$useUncontrolledState({
|
|
331
|
-
defaultProp: defaultProp,
|
|
332
|
-
onChange: onChange
|
|
333
|
-
});
|
|
334
|
-
const isControlled = prop !== undefined;
|
|
335
|
-
const value1 = isControlled ? prop : uncontrolledProp;
|
|
336
|
-
const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
|
|
337
|
-
const setValue = React.useCallback((nextValue)=>{
|
|
338
|
-
if (isControlled) {
|
|
339
|
-
const setter = nextValue;
|
|
340
|
-
const value = typeof nextValue === 'function' ? setter(prop) : nextValue;
|
|
341
|
-
if (value !== prop) handleChange(value);
|
|
342
|
-
} else setUncontrolledProp(nextValue);
|
|
343
|
-
}, [
|
|
344
|
-
isControlled,
|
|
345
|
-
prop,
|
|
346
|
-
setUncontrolledProp,
|
|
347
|
-
handleChange
|
|
348
|
-
]);
|
|
349
|
-
return [
|
|
350
|
-
value1,
|
|
351
|
-
setValue
|
|
352
|
-
];
|
|
353
|
-
}
|
|
354
|
-
function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp: defaultProp , onChange: onChange }) {
|
|
355
|
-
const uncontrolledState = React.useState(defaultProp);
|
|
356
|
-
const [value] = uncontrolledState;
|
|
357
|
-
const prevValueRef = React.useRef(value);
|
|
358
|
-
const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
|
|
359
|
-
React.useEffect(()=>{
|
|
360
|
-
if (prevValueRef.current !== value) {
|
|
361
|
-
handleChange(value);
|
|
362
|
-
prevValueRef.current = value;
|
|
363
|
-
}
|
|
364
|
-
}, [
|
|
365
|
-
value,
|
|
366
|
-
prevValueRef,
|
|
367
|
-
handleChange
|
|
368
|
-
]);
|
|
369
|
-
return uncontrolledState;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
|
|
373
|
-
const ref = React.useRef({
|
|
374
|
-
value: value,
|
|
375
|
-
previous: value
|
|
376
|
-
}); // We compare values before making an update to ensure that
|
|
377
|
-
// a change has been made. This ensures the previous value is
|
|
378
|
-
// persisted correctly between renders.
|
|
379
|
-
return React.useMemo(()=>{
|
|
380
|
-
if (ref.current.value !== value) {
|
|
381
|
-
ref.current.previous = ref.current.value;
|
|
382
|
-
ref.current.value = value;
|
|
383
|
-
}
|
|
384
|
-
return ref.current.previous;
|
|
385
|
-
}, [
|
|
386
|
-
value
|
|
387
|
-
]);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
exports.$010c2913dbd2fe3d$export$5cae361ad82dce8b = $010c2913dbd2fe3d$export$5cae361ad82dce8b;
|
|
391
372
|
exports.$5e63c961fc1ce211$export$8c6ed5c666ac1360 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;
|
|
392
373
|
exports.$6ed0406888f73fc4$export$c7b2cbe3552a0d05 = $6ed0406888f73fc4$export$c7b2cbe3552a0d05;
|
|
393
374
|
exports.$71cd76cc60e0454e$export$6f32135080cb4c3 = $71cd76cc60e0454e$export$6f32135080cb4c3;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FC } from "react";
|
|
4
|
+
import { SurfaceBackgroundColor, SurfacePadding } from "./Surface-dde51789";
|
|
5
|
+
/**
|
|
6
|
+
* Use `Box` as a simple way to group bespoke content and interactive elements together.
|
|
7
|
+
*/
|
|
8
|
+
declare const Box: FC<BoxProps>;
|
|
9
|
+
interface BoxProps {
|
|
10
|
+
/**
|
|
11
|
+
* Contents of the Box.
|
|
12
|
+
*/
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Set Box to fill parent element.
|
|
16
|
+
*/
|
|
17
|
+
isFullHeight?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Add rounded corners to the box.
|
|
20
|
+
*/
|
|
21
|
+
isBorderRadius?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The border width of the box.
|
|
24
|
+
*/
|
|
25
|
+
borderWidth?: "thin" | "medium";
|
|
26
|
+
/**
|
|
27
|
+
* Box shadow for the box.
|
|
28
|
+
*/
|
|
29
|
+
elevationLevel?: "1" | "2";
|
|
30
|
+
/**
|
|
31
|
+
* Padding for the box.
|
|
32
|
+
*/
|
|
33
|
+
padding?: SurfacePadding;
|
|
34
|
+
/**
|
|
35
|
+
* Background color for the box.
|
|
36
|
+
*/
|
|
37
|
+
surface?: SurfaceBackgroundColor;
|
|
38
|
+
}
|
|
39
|
+
export { Box, BoxProps };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { c as classNames } from './index-2ae58626.js';
|
|
4
|
+
import { S as Surface } from './Surface-dde51789.js';
|
|
5
|
+
|
|
6
|
+
// Do equal height boxes story
|
|
7
|
+
/**
|
|
8
|
+
* Use `Box` as a simple way to group bespoke content and interactive elements together.
|
|
9
|
+
*/
|
|
10
|
+
var Box = function (_a) {
|
|
11
|
+
var _b;
|
|
12
|
+
var children = _a.children, borderWidth = _a.borderWidth, elevationLevel = _a.elevationLevel, padding = _a.padding, _c = _a.isFullHeight, isFullHeight = _c === void 0 ? false : _c, _d = _a.isBorderRadius, isBorderRadius = _d === void 0 ? false : _d, _e = _a.surface, surface = _e === void 0 ? "white" : _e, props = __rest(_a, ["children", "borderWidth", "elevationLevel", "padding", "isFullHeight", "isBorderRadius", "surface"]);
|
|
13
|
+
return (React__default.createElement("div", __assign({ className: classNames("arc-Box", (_b = {},
|
|
14
|
+
_b["arc-Box--fullHeight"] = isFullHeight,
|
|
15
|
+
_b["arc-Box--borderRadius"] = isBorderRadius,
|
|
16
|
+
_b["arc-Box--borderThin"] = borderWidth === "thin",
|
|
17
|
+
_b["arc-Box--borderMedium"] = borderWidth === "medium",
|
|
18
|
+
_b["arc-Box--elevation1"] = elevationLevel === "1",
|
|
19
|
+
_b["arc-Box--elevation2"] = elevationLevel === "2",
|
|
20
|
+
_b)) }, filterDataAttrs(props)),
|
|
21
|
+
React__default.createElement(Surface, { padding: padding, background: surface }, children)));
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { Box as B };
|
|
@@ -2,7 +2,7 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
|
|
|
2
2
|
import { c as classNames } from './index-2ae58626.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
4
|
import { s as suffixModifier } from './suffix-modifier-7e640670.js';
|
|
5
|
-
import { C as Context } from './Surface-
|
|
5
|
+
import { C as Context } from './Surface-dde51789.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Use `BrandLogo` to display the brand logo.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
2
2
|
import { d as debounce_1 } from './debounce-e228705f.js';
|
|
3
3
|
import { B as BtIconChevronLeft2Px_2, a as BtIconChevronRight2Px_2 } from './BtIconChevronRight2Px-b8e7b4ad.js';
|
|
4
|
-
import { I as Icon } from './Icon-
|
|
4
|
+
import { I as Icon } from './Icon-c1af47bc.js';
|
|
5
5
|
import { a as __assign } from './filter-data-attrs-afdb7d32.js';
|
|
6
6
|
import { c as classNames } from './index-2ae58626.js';
|
|
7
7
|
import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
|
|
@@ -4,8 +4,8 @@ import { B as BtIconChevronRightMid_2 } from './BtIconChevronRightMid-d9b11761.j
|
|
|
4
4
|
import { c as classNames } from './index-2ae58626.js';
|
|
5
5
|
import React__default, { forwardRef, useContext } from 'react';
|
|
6
6
|
import { s as suffixModifier } from './suffix-modifier-7e640670.js';
|
|
7
|
-
import { I as Icon } from './Icon-
|
|
8
|
-
import { C as Context } from './Surface-
|
|
7
|
+
import { I as Icon } from './Icon-c1af47bc.js';
|
|
8
|
+
import { C as Context } from './Surface-dde51789.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Use `Button` to allow users to take actions with clicks and taps.
|
|
@@ -2,11 +2,11 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
|
|
|
2
2
|
import { c as classNames } from './index-2ae58626.js';
|
|
3
3
|
import React__default, { useState, useEffect, useContext } from 'react';
|
|
4
4
|
import { B as BtIconChevronRightMid_2 } from './BtIconChevronRightMid-d9b11761.js';
|
|
5
|
-
import { I as Icon } from './Icon-
|
|
6
|
-
import { I as Image } from './Image-
|
|
7
|
-
import { H as Heading } from './Heading-
|
|
5
|
+
import { I as Icon } from './Icon-c1af47bc.js';
|
|
6
|
+
import { I as Image } from './Image-3ed3863c.js';
|
|
7
|
+
import { H as Heading } from './Heading-ee6bec51.js';
|
|
8
8
|
import { s as suffixModifier } from './suffix-modifier-7e640670.js';
|
|
9
|
-
import { C as Context, S as Surface } from './Surface-
|
|
9
|
+
import { C as Context, S as Surface } from './Surface-dde51789.js';
|
|
10
10
|
import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -3,8 +3,8 @@ import React__default, { forwardRef, useContext } from 'react';
|
|
|
3
3
|
import { B as BtIconTickAlt2Px_2 } from './BtIconTickAlt2Px-da97e9ae.js';
|
|
4
4
|
import { B as BtIconAlert_2 } from './BtIconAlert-55a6ed5c.js';
|
|
5
5
|
import { c as classNames } from './index-2ae58626.js';
|
|
6
|
-
import { C as Context, u as useAriaDescribedby } from './FormControl-
|
|
7
|
-
import { C as Context$1 } from './Surface-
|
|
6
|
+
import { C as Context, u as useAriaDescribedby } from './FormControl-2fa7aae5.js';
|
|
7
|
+
import { C as Context$1 } from './Surface-dde51789.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Use `Checkbox` to allow users to select individual options.
|
|
@@ -2,8 +2,8 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
|
|
|
2
2
|
import { c as classNames } from './index-2ae58626.js';
|
|
3
3
|
import React__default, { useContext, useState } from 'react';
|
|
4
4
|
import { B as BtIconChevronDown2Px_2 } from './BtIconChevronDown2Px-782876e2.js';
|
|
5
|
-
import { T as Text } from './Text-
|
|
6
|
-
import { C as Context } from './Surface-
|
|
5
|
+
import { T as Text } from './Text-14deb70e.js';
|
|
6
|
+
import { C as Context } from './Surface-dde51789.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Use `DisclosureMini` to display content that is only visible when toggled into
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign, f as filterDataAttrs, b as __spreadArray } from './filter-data-attrs-afdb7d32.js';
|
|
2
2
|
import React__default, { useContext, useState, useEffect } from 'react';
|
|
3
|
-
import { C as Context } from './Surface-
|
|
3
|
+
import { C as Context } from './Surface-dde51789.js';
|
|
4
4
|
import { c as classNames } from './index-2ae58626.js';
|
|
5
5
|
|
|
6
6
|
var FilterControl = function (_a) {
|
|
@@ -2,8 +2,8 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
|
|
|
2
2
|
import { c as classNames } from './index-2ae58626.js';
|
|
3
3
|
import React__default, { createContext, useContext } from 'react';
|
|
4
4
|
import { B as BtIconAlert_2 } from './BtIconAlert-55a6ed5c.js';
|
|
5
|
-
import { C as Context$1 } from './Surface-
|
|
6
|
-
import { D as DisclosureMini } from './DisclosureMini-
|
|
5
|
+
import { C as Context$1 } from './Surface-dde51789.js';
|
|
6
|
+
import { D as DisclosureMini } from './DisclosureMini-78a8f392.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Optionally define ariaDescribedBy if errorMessage or helper exist.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
|
|
2
2
|
import { c as classNames } from './index-2ae58626.js';
|
|
3
3
|
import React__default, { useContext, useEffect } from 'react';
|
|
4
|
-
import { C as Context } from './Surface-
|
|
4
|
+
import { C as Context } from './Surface-dde51789.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Use `Group` to arrange flexible items in a row.
|
|
@@ -2,7 +2,7 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
|
|
|
2
2
|
import { c as classNames } from './index-2ae58626.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
4
|
import { s as suffixModifier } from './suffix-modifier-7e640670.js';
|
|
5
|
-
import { C as Context } from './Surface-
|
|
5
|
+
import { C as Context } from './Surface-dde51789.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Use `Heading` to display heading text.
|
|
@@ -2,7 +2,7 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
|
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
3
|
import { c as classNames } from './index-2ae58626.js';
|
|
4
4
|
import { s as suffixModifier } from './suffix-modifier-7e640670.js';
|
|
5
|
-
import { C as Context } from './Surface-
|
|
5
|
+
import { C as Context } from './Surface-dde51789.js';
|
|
6
6
|
|
|
7
7
|
const React = React__default;
|
|
8
8
|
const ArcIconArc = props =>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { FC, ReactNode } from "react";
|
|
3
3
|
import { anchorPoints } from "./index-9483ad5f";
|
|
4
|
-
import { loadingOptions } from "./Image-
|
|
4
|
+
import { loadingOptions } from "./Image-3ed3863c";
|
|
5
5
|
declare const PosterVideo: FC<PosterVideoProps>;
|
|
6
6
|
interface PosterVideoProps {
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
|
|
2
2
|
import { c as classNames } from './index-2ae58626.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { S as Surface } from './Surface-
|
|
5
|
-
import { I as Image } from './Image-
|
|
4
|
+
import { S as Surface } from './Surface-dde51789.js';
|
|
5
|
+
import { I as Image } from './Image-3ed3863c.js';
|
|
6
6
|
import { s as suffixModifier } from './suffix-modifier-7e640670.js';
|
|
7
7
|
|
|
8
8
|
var PosterImage = function (_a) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
|
|
2
2
|
import React__default, { createContext, useContext, forwardRef, useEffect } from 'react';
|
|
3
|
-
import { F as FormControl } from './FormControl-
|
|
3
|
+
import { F as FormControl } from './FormControl-2fa7aae5.js';
|
|
4
4
|
import { c as classNames } from './index-2ae58626.js';
|
|
5
|
-
import { C as Context } from './Surface-
|
|
5
|
+
import { C as Context } from './Surface-dde51789.js';
|
|
6
6
|
|
|
7
7
|
var RadioContext = createContext({});
|
|
8
8
|
var Provider = RadioContext.Provider;
|
|
@@ -2,10 +2,10 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
|
|
|
2
2
|
import { u as useMediaQuery, A as ArcBreakpointM } from './index.es-00cb3bcb.js';
|
|
3
3
|
import { B as BtIconChevronDown2Px_2 } from './BtIconChevronDown2Px-782876e2.js';
|
|
4
4
|
import React__default, { useEffect, Fragment } from 'react';
|
|
5
|
-
import { B as BrandLogo } from './BrandLogo-
|
|
5
|
+
import { B as BrandLogo } from './BrandLogo-9ec620e8.js';
|
|
6
6
|
import { C as Curve } from './Curve-3e87b1bc.js';
|
|
7
7
|
import { S as Section } from './Section-b8038d66.js';
|
|
8
|
-
import { S as Surface } from './Surface-
|
|
8
|
+
import { S as Surface } from './Surface-dde51789.js';
|
|
9
9
|
import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { FC, ReactNode } from "react";
|
|
4
|
-
import { subBrands } from "./BrandLogo-
|
|
4
|
+
import { subBrands } from "./BrandLogo-9ec620e8";
|
|
5
5
|
import { Column } from "./index-f419cf04";
|
|
6
6
|
import { Item } from "./index-699086a7";
|
|
7
7
|
import { ItemGroup } from "./index-e340924e";
|
|
8
8
|
import { NavItem, NavItemWithSubNav } from "./index-e6d20018";
|
|
9
|
-
import { NodeItem } from "./SiteHeader.rehydrator-
|
|
9
|
+
import { NodeItem } from "./SiteHeader.rehydrator-382d1c03";
|
|
10
10
|
import { SubNavItem } from "./index-74488a9f";
|
|
11
11
|
declare const Context: React.Context<{
|
|
12
12
|
transparent: boolean;
|
|
@@ -74,5 +74,5 @@ interface SiteHeaderProps {
|
|
|
74
74
|
*/
|
|
75
75
|
subBrand?: typeof subBrands[number];
|
|
76
76
|
}
|
|
77
|
-
export { MenuButton } from "./SiteHeader.rehydrator-
|
|
77
|
+
export { MenuButton } from "./SiteHeader.rehydrator-382d1c03";
|
|
78
78
|
export { SiteHeader, SiteHeaderProps, Context as SiteHeaderContext };
|
package/dist/_shared/esm/{SiteHeader.rehydrator-4da8ac64.js → SiteHeader.rehydrator-382d1c03.js}
RENAMED
|
@@ -5,11 +5,11 @@ import { u as useMediaQuery, a as ArcBreakpointL } from './index.es-00cb3bcb.js'
|
|
|
5
5
|
import { B as BtIconChevronDown2Px_2 } from './BtIconChevronDown2Px-782876e2.js';
|
|
6
6
|
import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
|
|
7
7
|
import { a as BtIconChevronRight2Px_2, B as BtIconChevronLeft2Px_2 } from './BtIconChevronRight2Px-b8e7b4ad.js';
|
|
8
|
-
import { S as Surface } from './Surface-
|
|
9
|
-
import { B as BrandLogo } from './BrandLogo-
|
|
10
|
-
import { B as Button } from './Button-
|
|
8
|
+
import { S as Surface } from './Surface-dde51789.js';
|
|
9
|
+
import { B as BrandLogo } from './BrandLogo-9ec620e8.js';
|
|
10
|
+
import { B as Button } from './Button-9c3b0b11.js';
|
|
11
11
|
import { s as suffixModifier } from './suffix-modifier-7e640670.js';
|
|
12
|
-
import { T as Text } from './Text-
|
|
12
|
+
import { T as Text } from './Text-14deb70e.js';
|
|
13
13
|
|
|
14
14
|
var Item = function (_a) {
|
|
15
15
|
var _b;
|
|
@@ -12,12 +12,13 @@ declare const Surface: FC<SurfaceProps>;
|
|
|
12
12
|
declare const backgrounds: readonly ["black", "brand", "brand-flat", "dark", "darker", "coral", "turquoise", "light", "lighter", "white"];
|
|
13
13
|
declare const backgroundsBT: readonly ["black", "brand", "brand-flat", "dark", "darker", "coral", "turquoise", "light", "lighter", "white"];
|
|
14
14
|
type SurfacePadding = "8" | "12" | "16" | "24" | "32" | "48" | "64";
|
|
15
|
+
type SurfaceBackgroundColor = "black" | "brand" | "brand-flat" | "dark" | "darker" | "coral" | "turquoise" | "light" | "lighter" | "white";
|
|
15
16
|
interface SurfaceProps extends HTMLAttributes<HTMLElement> {
|
|
16
17
|
/**
|
|
17
18
|
* Background colour of the Surface. Contents will change colour to meet
|
|
18
19
|
* accessibility requirements.
|
|
19
20
|
*/
|
|
20
|
-
background?:
|
|
21
|
+
background?: SurfaceBackgroundColor;
|
|
21
22
|
/**
|
|
22
23
|
* Content to display on the Surface.
|
|
23
24
|
*/
|
|
@@ -47,4 +48,4 @@ interface SurfaceProps extends HTMLAttributes<HTMLElement> {
|
|
|
47
48
|
*/
|
|
48
49
|
paddingVertical?: SurfacePadding;
|
|
49
50
|
}
|
|
50
|
-
export { Surface, backgrounds, backgroundsBT, SurfacePadding, SurfaceProps, Context as SurfaceContext };
|
|
51
|
+
export { Surface, backgrounds, backgroundsBT, SurfacePadding, SurfaceBackgroundColor, SurfaceProps, Context as SurfaceContext };
|
|
@@ -20,7 +20,7 @@ var Surface = function (_a) {
|
|
|
20
20
|
surface = "dark";
|
|
21
21
|
}
|
|
22
22
|
return (React__default.createElement(Provider, { value: { surface: surface } },
|
|
23
|
-
React__default.createElement("div", __assign({ className: classNames((_b = {
|
|
23
|
+
React__default.createElement("div", __assign({ "data-testid": "arc-surface", className: classNames((_b = {
|
|
24
24
|
"arc-Surface": true
|
|
25
25
|
},
|
|
26
26
|
_b["arc-Surface--".concat(background &&
|
|
@@ -2,7 +2,7 @@ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-
|
|
|
2
2
|
import { c as classNames } from './index-2ae58626.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
4
|
import { s as suffixModifier } from './suffix-modifier-7e640670.js';
|
|
5
|
-
import { C as Context } from './Surface-
|
|
5
|
+
import { C as Context } from './Surface-dde51789.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Use `Text` to display text.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
|
|
2
2
|
import { c as classNames } from './index-2ae58626.js';
|
|
3
3
|
import React__default, { forwardRef, useContext, useState } from 'react';
|
|
4
|
-
import { u as useAriaDescribedby, F as FormControl } from './FormControl-
|
|
5
|
-
import { C as Context } from './Surface-
|
|
4
|
+
import { u as useAriaDescribedby, F as FormControl } from './FormControl-2fa7aae5.js';
|
|
5
|
+
import { C as Context } from './Surface-dde51789.js';
|
|
6
6
|
import { V as VisuallyHidden } from './VisuallyHidden-b9eebf71.js';
|
|
7
7
|
|
|
8
8
|
/**
|