@arc-ui/components 11.7.0 → 11.9.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 +10 -89
- package/dist/Alert/Alert.esm.d.ts +1 -1
- package/dist/Alert/Alert.esm.js +3 -82
- package/dist/Badge/Badge.cjs.d.ts +4 -0
- package/dist/Badge/Badge.cjs.js +4 -4
- package/dist/Badge/Badge.esm.d.ts +4 -0
- package/dist/Badge/Badge.esm.js +5 -5
- package/dist/Box/Box.cjs.d.ts +40 -1
- package/dist/Box/Box.cjs.js +25 -6
- package/dist/Box/Box.esm.d.ts +40 -1
- package/dist/Box/Box.esm.js +24 -5
- package/dist/Breadcrumbs/Breadcrumbs.cjs.d.ts +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +2 -2
- package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +2 -2
- package/dist/Button/Button.cjs.d.ts +1 -1
- package/dist/Button/Button.cjs.js +1 -1
- package/dist/Button/Button.esm.d.ts +1 -1
- package/dist/Button/Button.esm.js +1 -1
- package/dist/Card/Card.cjs.d.ts +1 -1
- package/dist/Card/Card.cjs.js +2 -2
- package/dist/Card/Card.esm.d.ts +1 -1
- package/dist/Card/Card.esm.js +2 -2
- package/dist/Checkbox/Checkbox.cjs.d.ts +1 -1
- package/dist/Checkbox/Checkbox.cjs.js +4 -4
- package/dist/Checkbox/Checkbox.esm.d.ts +1 -1
- package/dist/Checkbox/Checkbox.esm.js +4 -4
- package/dist/Columns/Columns.cjs.d.ts +1 -1
- package/dist/Columns/Columns.esm.d.ts +1 -1
- package/dist/Curve/Curve.cjs.d.ts +1 -1
- package/dist/Curve/Curve.cjs.js +1 -1
- package/dist/Curve/Curve.esm.d.ts +1 -1
- package/dist/Curve/Curve.esm.js +1 -1
- package/dist/Disclosure/Disclosure.cjs.d.ts +1 -1
- package/dist/Disclosure/Disclosure.cjs.js +1 -1
- package/dist/Disclosure/Disclosure.esm.d.ts +1 -1
- package/dist/Disclosure/Disclosure.esm.js +1 -1
- package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +1 -1
- package/dist/DisclosureMini/DisclosureMini.cjs.js +2 -2
- package/dist/DisclosureMini/DisclosureMini.esm.d.ts +1 -1
- package/dist/DisclosureMini/DisclosureMini.esm.js +2 -2
- package/dist/FormControl/FormControl.cjs.d.ts +1 -1
- package/dist/FormControl/FormControl.cjs.js +3 -3
- package/dist/FormControl/FormControl.esm.d.ts +1 -1
- package/dist/FormControl/FormControl.esm.js +3 -3
- package/dist/Heading/Heading.cjs.d.ts +1 -1
- package/dist/Heading/Heading.cjs.js +1 -1
- package/dist/Heading/Heading.esm.d.ts +1 -1
- package/dist/Heading/Heading.esm.js +1 -1
- package/dist/Modal/Modal.cjs.d.ts +31 -9
- package/dist/Modal/Modal.cjs.js +450 -161
- package/dist/Modal/Modal.esm.d.ts +31 -9
- package/dist/Modal/Modal.esm.js +423 -134
- package/dist/Pagination/Pagination.cjs.js +4 -4
- package/dist/Pagination/Pagination.esm.js +4 -4
- package/dist/PaginationSimple/PaginationSimple.cjs.js +4 -4
- package/dist/PaginationSimple/PaginationSimple.esm.js +4 -4
- package/dist/ProgressBar/ProgressBar.cjs.js +5 -5
- package/dist/ProgressBar/ProgressBar.esm.js +6 -6
- package/dist/ProgressStepper/ProgressStepper.cjs.d.ts +1 -89
- package/dist/ProgressStepper/ProgressStepper.cjs.js +10 -144
- package/dist/ProgressStepper/ProgressStepper.esm.d.ts +1 -89
- package/dist/ProgressStepper/ProgressStepper.esm.js +9 -143
- package/dist/RadioGroup/RadioGroup.cjs.d.ts +1 -1
- package/dist/RadioGroup/RadioGroup.cjs.js +4 -4
- package/dist/RadioGroup/RadioGroup.esm.d.ts +1 -1
- package/dist/RadioGroup/RadioGroup.esm.js +4 -4
- package/dist/Select/Select.cjs.d.ts +1 -1
- package/dist/Select/Select.cjs.js +995 -60
- package/dist/Select/Select.esm.d.ts +1 -1
- package/dist/Select/Select.esm.js +948 -32
- package/dist/SiteFooter/SiteFooter.cjs.d.ts +1 -1
- package/dist/SiteFooter/SiteFooter.cjs.js +2 -2
- package/dist/SiteFooter/SiteFooter.esm.d.ts +1 -1
- package/dist/SiteFooter/SiteFooter.esm.js +3 -3
- package/dist/SiteHeader/SiteHeader.cjs.d.ts +1 -1
- package/dist/SiteHeader/SiteHeader.cjs.js +3 -3
- package/dist/SiteHeader/SiteHeader.esm.d.ts +1 -1
- package/dist/SiteHeader/SiteHeader.esm.js +3 -3
- package/dist/Switch/Switch.cjs.d.ts +1 -1
- package/dist/Switch/Switch.cjs.js +241 -18
- package/dist/Switch/Switch.esm.d.ts +1 -1
- package/dist/Switch/Switch.esm.js +234 -11
- package/dist/Tabs/Tabs.cjs.d.ts +1 -0
- package/dist/Tabs/Tabs.cjs.js +20 -0
- package/dist/Tabs/Tabs.esm.d.ts +1 -0
- package/dist/Tabs/Tabs.esm.js +12 -0
- package/dist/Tabs/package.json +7 -0
- package/dist/Text/Text.cjs.d.ts +1 -1
- package/dist/Text/Text.cjs.js +1 -1
- package/dist/Text/Text.esm.d.ts +1 -1
- package/dist/Text/Text.esm.js +1 -1
- package/dist/TextArea/TextArea.cjs.d.ts +4 -1
- package/dist/TextArea/TextArea.cjs.js +30 -17
- package/dist/TextArea/TextArea.esm.d.ts +4 -1
- package/dist/TextArea/TextArea.esm.js +30 -17
- package/dist/TextInput/TextInput.cjs.d.ts +1 -1
- package/dist/TextInput/TextInput.cjs.js +4 -4
- package/dist/TextInput/TextInput.esm.d.ts +1 -1
- package/dist/TextInput/TextInput.esm.js +4 -4
- package/dist/Toast/Toast.cjs.d.ts +1 -0
- package/dist/Toast/Toast.cjs.js +23 -0
- package/dist/Toast/Toast.esm.d.ts +1 -0
- package/dist/Toast/Toast.esm.js +15 -0
- package/dist/Toast/package.json +7 -0
- package/dist/Truncate/Truncate.cjs.js +3 -2
- package/dist/Truncate/Truncate.esm.js +3 -2
- package/dist/_shared/cjs/{Breadcrumbs-9f580f69.js → Breadcrumbs-0906dd10.js} +9 -9
- package/dist/_shared/cjs/BtIconTick-42fcc5ec.js +91 -0
- package/dist/_shared/{esm/Button-9c3b0b11.d.ts → cjs/Button-5aaa6776.d.ts} +4 -0
- package/dist/_shared/cjs/{Button-b4d6ccc8.js → Button-5aaa6776.js} +2 -2
- package/dist/_shared/cjs/{Card-f1108bfe.js → Card-fd189ba8.js} +1 -1
- package/dist/_shared/cjs/{Checkbox-c927b62f.js → Checkbox-02c546ca.js} +1 -1
- package/dist/_shared/cjs/Columns-e90798f8.d.ts +1 -1
- package/dist/_shared/cjs/{Curve-b05589d8.d.ts → Curve-781ef633.d.ts} +5 -2
- package/dist/_shared/cjs/{Curve-b05589d8.js → Curve-781ef633.js} +5 -2
- package/dist/_shared/cjs/{DisclosureMini-2a10006e.js → DisclosureMini-52706ee6.js} +1 -1
- package/dist/_shared/cjs/{FormControl-78b007b7.js → FormControl-1e1bf2bf.js} +1 -1
- package/dist/_shared/cjs/{Heading-ed1cb455.d.ts → Heading-e3332dcf.d.ts} +4 -0
- package/dist/_shared/cjs/{Heading-ed1cb455.js → Heading-e3332dcf.js} +2 -2
- package/dist/{MediaCard/MediaCard.cjs.d.ts → _shared/cjs/MediaCard-9483ad5f.d.ts} +3 -4
- package/dist/_shared/cjs/ProgressStepper-f740d7bb.d.ts +89 -0
- package/dist/_shared/cjs/ProgressStepper-f740d7bb.js +149 -0
- package/dist/_shared/{esm/RadioGroup-65b8c8bf.d.ts → cjs/RadioGroup-d7664b0c.d.ts} +1 -1
- package/dist/_shared/cjs/{RadioGroup-8e17de70.js → RadioGroup-d7664b0c.js} +1 -1
- package/dist/_shared/cjs/{SiteFooter-9f7f9c2d.js → SiteFooter-5da774e1.js} +1 -1
- package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +2 -2
- package/dist/_shared/cjs/{SiteHeader.rehydrator-ccbebde6.js → SiteHeader.rehydrator-acc9d8c4.js} +2 -2
- package/dist/_shared/cjs/Tabs-fda49692.d.ts +75 -0
- package/dist/_shared/cjs/Tabs-fda49692.js +510 -0
- package/dist/_shared/{esm/Text-14deb70e.d.ts → cjs/Text-fa447e2d.d.ts} +4 -0
- package/dist/_shared/cjs/{Text-555a29a4.js → Text-fa447e2d.js} +2 -2
- package/dist/_shared/cjs/{TextInput-7ed03a48.d.ts → TextInput-13050538.d.ts} +3 -1
- package/dist/_shared/{esm/TextInput-62bb7dee.d.ts → cjs/TextInput-f4549637.d.ts} +1 -1
- package/dist/_shared/cjs/{TextInput-b768e346.js → TextInput-f4549637.js} +1 -1
- package/dist/_shared/cjs/Toast-0cb23cae.d.ts +52 -0
- package/dist/_shared/cjs/Toast-0cb23cae.js +739 -0
- package/dist/_shared/cjs/extends-bb8ffacd.js +21 -0
- package/dist/_shared/cjs/index-27b53d49.js +174 -0
- package/dist/_shared/cjs/index-699086a7.d.ts +1 -1
- package/dist/_shared/cjs/index-74488a9f.d.ts +1 -1
- package/dist/_shared/cjs/{index.module-9b87a34d.js → index-952918c9.js} +141 -33
- package/dist/_shared/cjs/index-96c4d581.js +289 -0
- package/dist/_shared/cjs/index-c81c9401.d.ts +3 -3
- package/dist/_shared/cjs/index-e340924e.d.ts +1 -1
- package/dist/_shared/cjs/index-e6d20018.d.ts +1 -1
- package/dist/_shared/cjs/index-eb06f640.d.ts +1 -1
- package/dist/_shared/cjs/{index-31fbb076.js → index-ec260f5e.js} +0 -547
- package/dist/_shared/cjs/index-f419cf04.d.ts +1 -1
- package/dist/_shared/cjs/index-fb4b8fda.js +47 -0
- package/dist/_shared/cjs/index.module-bbcc4e18.js +126 -0
- package/dist/_shared/esm/{Breadcrumbs-5dc0afa7.js → Breadcrumbs-dafa8dde.js} +9 -9
- package/dist/_shared/esm/BtIconTick-5fe50cc7.js +83 -0
- package/dist/_shared/{cjs/Button-b4d6ccc8.d.ts → esm/Button-d1dbcf79.d.ts} +4 -0
- package/dist/_shared/esm/{Button-9c3b0b11.js → Button-d1dbcf79.js} +2 -2
- package/dist/_shared/esm/{Card-79b6eae0.js → Card-e62c3ff6.js} +1 -1
- package/dist/_shared/esm/{Checkbox-2d144384.js → Checkbox-d8891198.js} +1 -1
- package/dist/_shared/esm/Columns-8704515b.d.ts +1 -1
- package/dist/_shared/esm/{Curve-3e87b1bc.d.ts → Curve-bbc5589c.d.ts} +5 -2
- package/dist/_shared/esm/{Curve-3e87b1bc.js → Curve-bbc5589c.js} +5 -2
- package/dist/_shared/esm/{DisclosureMini-78a8f392.js → DisclosureMini-9b819941.js} +1 -1
- package/dist/_shared/esm/{FormControl-2fa7aae5.js → FormControl-f18e2f59.js} +1 -1
- package/dist/_shared/esm/{Heading-ee6bec51.d.ts → Heading-0f629151.d.ts} +4 -0
- package/dist/_shared/esm/{Heading-ee6bec51.js → Heading-0f629151.js} +2 -2
- package/dist/{MediaCard/MediaCard.esm.d.ts → _shared/esm/MediaCard-9483ad5f.d.ts} +3 -4
- package/dist/_shared/esm/ProgressStepper-7ab88f4c.d.ts +89 -0
- package/dist/_shared/esm/ProgressStepper-7ab88f4c.js +143 -0
- package/dist/_shared/{cjs/RadioGroup-8e17de70.d.ts → esm/RadioGroup-be16d5d3.d.ts} +1 -1
- package/dist/_shared/esm/{RadioGroup-65b8c8bf.js → RadioGroup-be16d5d3.js} +1 -1
- package/dist/_shared/esm/{SiteFooter-51bdc7df.js → SiteFooter-a182cb18.js} +1 -1
- package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +2 -2
- package/dist/_shared/esm/{SiteHeader.rehydrator-382d1c03.js → SiteHeader.rehydrator-023b7b76.js} +2 -2
- package/dist/_shared/esm/Tabs-5af0b940.d.ts +75 -0
- package/dist/_shared/esm/Tabs-5af0b940.js +504 -0
- package/dist/_shared/{cjs/Text-555a29a4.d.ts → esm/Text-40457811.d.ts} +4 -0
- package/dist/_shared/esm/{Text-14deb70e.js → Text-40457811.js} +2 -2
- package/dist/_shared/esm/{TextInput-7ed03a48.d.ts → TextInput-13050538.d.ts} +3 -1
- package/dist/_shared/{cjs/TextInput-b768e346.d.ts → esm/TextInput-4424c195.d.ts} +3 -3
- package/dist/_shared/esm/{TextInput-62bb7dee.js → TextInput-4424c195.js} +1 -1
- package/dist/_shared/esm/Toast-43795e91.d.ts +52 -0
- package/dist/_shared/esm/Toast-43795e91.js +733 -0
- package/dist/_shared/esm/extends-4575346e.js +19 -0
- package/dist/_shared/esm/{index.module-216016b5.js → index-22aad354.js} +138 -29
- package/dist/_shared/esm/{index-4fa635bd.js → index-369dce7f.js} +2 -541
- package/dist/_shared/esm/index-699086a7.d.ts +1 -1
- package/dist/_shared/esm/index-74488a9f.d.ts +1 -1
- package/dist/_shared/esm/index-8000d9e3.js +168 -0
- package/dist/_shared/esm/index-94ecc5f8.js +280 -0
- package/dist/_shared/esm/index-bed18a88.js +26 -0
- package/dist/_shared/esm/index-c81c9401.d.ts +3 -3
- package/dist/_shared/esm/index-e340924e.d.ts +1 -1
- package/dist/_shared/esm/index-e6d20018.d.ts +1 -1
- package/dist/_shared/esm/index-eb06f640.d.ts +1 -1
- package/dist/_shared/esm/index-f419cf04.d.ts +1 -1
- package/dist/_shared/esm/index.module-5ed90b21.js +122 -0
- package/dist/index.es.js +5036 -1358
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5358 -1668
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/Badge/Badge.d.ts +4 -0
- package/dist/types/components/Button/Button.d.ts +4 -0
- package/dist/types/components/Columns/Columns.d.ts +1 -1
- package/dist/types/components/Columns/index.d.ts +1 -1
- package/dist/types/components/Curve/Curve.d.ts +5 -2
- package/dist/types/components/Heading/Heading.d.ts +4 -0
- package/dist/types/components/Modal/Modal.d.ts +31 -9
- package/dist/types/components/Tabs/Tab/Tab.d.ts +22 -0
- package/dist/types/components/Tabs/Tab/index.d.ts +1 -0
- package/dist/types/components/Tabs/TabContent/TabContent.d.ts +12 -0
- package/dist/types/components/Tabs/TabContent/index.d.ts +1 -0
- package/dist/types/components/Tabs/Tabs.d.ts +27 -0
- package/dist/types/components/Tabs/TabsList/TabsList.d.ts +20 -0
- package/dist/types/components/Tabs/TabsList/index.d.ts +1 -0
- package/dist/types/components/Tabs/index.d.ts +1 -0
- package/dist/types/components/Text/Text.d.ts +4 -0
- package/dist/types/components/TextArea/TextArea.d.ts +3 -0
- package/dist/types/components/TextInput/TextInput.d.ts +2 -0
- package/dist/types/components/Toast/Toast.d.ts +14 -0
- package/dist/types/components/Toast/ToastNotification.d.ts +39 -0
- package/dist/types/components/Toast/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +18 -6
- package/dist/types/styles.d.ts +3 -2
- package/package.json +8 -6
- package/dist/MediaCard/MediaCard.cjs.js +0 -31
- package/dist/MediaCard/MediaCard.esm.js +0 -23
- package/dist/MediaCard/package.json +0 -7
- package/dist/_shared/cjs/Box-ebe2b7be.d.ts +0 -39
- package/dist/_shared/cjs/Box-ebe2b7be.js +0 -30
- package/dist/_shared/cjs/index.module-5ea728f4.js +0 -23
- package/dist/_shared/esm/Box-06d99d8a.d.ts +0 -39
- package/dist/_shared/esm/Box-06d99d8a.js +0 -24
- package/dist/_shared/esm/index.module-88179159.js +0 -21
- package/dist/types/components/Modal/Modal.stories-wip.d.ts +0 -9
- /package/dist/_shared/cjs/{Breadcrumbs-9f580f69.d.ts → Breadcrumbs-0906dd10.d.ts} +0 -0
- /package/dist/_shared/cjs/{Card-f1108bfe.d.ts → Card-fd189ba8.d.ts} +0 -0
- /package/dist/_shared/cjs/{Checkbox-c927b62f.d.ts → Checkbox-02c546ca.d.ts} +0 -0
- /package/dist/_shared/cjs/{DisclosureMini-2a10006e.d.ts → DisclosureMini-52706ee6.d.ts} +0 -0
- /package/dist/_shared/cjs/{FormControl-78b007b7.d.ts → FormControl-1e1bf2bf.d.ts} +0 -0
- /package/dist/_shared/cjs/{SiteFooter-9f7f9c2d.d.ts → SiteFooter-5da774e1.d.ts} +0 -0
- /package/dist/_shared/cjs/{SiteHeader.rehydrator-ccbebde6.d.ts → SiteHeader.rehydrator-acc9d8c4.d.ts} +0 -0
- /package/dist/_shared/esm/{Breadcrumbs-5dc0afa7.d.ts → Breadcrumbs-dafa8dde.d.ts} +0 -0
- /package/dist/_shared/esm/{Card-79b6eae0.d.ts → Card-e62c3ff6.d.ts} +0 -0
- /package/dist/_shared/esm/{Checkbox-2d144384.d.ts → Checkbox-d8891198.d.ts} +0 -0
- /package/dist/_shared/esm/{DisclosureMini-78a8f392.d.ts → DisclosureMini-9b819941.d.ts} +0 -0
- /package/dist/_shared/esm/{FormControl-2fa7aae5.d.ts → FormControl-f18e2f59.d.ts} +0 -0
- /package/dist/_shared/esm/{SiteFooter-51bdc7df.d.ts → SiteFooter-a182cb18.d.ts} +0 -0
- /package/dist/_shared/esm/{SiteHeader.rehydrator-382d1c03.d.ts → SiteHeader.rehydrator-023b7b76.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Columns } from "../_shared/esm/Columns-8704515b";
|
|
1
|
+
export { Columns, Span } from "../_shared/esm/Columns-8704515b";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Curve } from "../_shared/cjs/Curve-
|
|
1
|
+
export { Curve } from "../_shared/cjs/Curve-781ef633";
|
package/dist/Curve/Curve.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Curve = require('../_shared/cjs/Curve-
|
|
5
|
+
var Curve = require('../_shared/cjs/Curve-781ef633.js');
|
|
6
6
|
require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
|
|
7
7
|
require('../_shared/cjs/index-45bfb67b.js');
|
|
8
8
|
require('react');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Curve } from "../_shared/esm/Curve-
|
|
1
|
+
export { Curve } from "../_shared/esm/Curve-bbc5589c";
|
package/dist/Curve/Curve.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
|
-
import { HeadingLevel } from "../_shared/cjs/Heading-
|
|
2
|
+
import { HeadingLevel } from "../_shared/cjs/Heading-e3332dcf";
|
|
3
3
|
/**
|
|
4
4
|
* Use `Disclosure` to display content that is only visible when toggled into
|
|
5
5
|
* an "open" state.
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
|
|
6
6
|
var index = require('../_shared/cjs/index-45bfb67b.js');
|
|
7
7
|
var React = require('react');
|
|
8
|
-
var Heading = require('../_shared/cjs/Heading-
|
|
8
|
+
var Heading = require('../_shared/cjs/Heading-e3332dcf.js');
|
|
9
9
|
var BtIconChevronDown2Px = require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
|
|
10
10
|
var Surface = require('../_shared/cjs/Surface-b7c51b2b.js');
|
|
11
11
|
require('../_shared/cjs/suffix-modifier-1ee2da04.js');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
|
-
import { HeadingLevel } from "../_shared/esm/Heading-
|
|
2
|
+
import { HeadingLevel } from "../_shared/esm/Heading-0f629151";
|
|
3
3
|
/**
|
|
4
4
|
* Use `Disclosure` to display content that is only visible when toggled into
|
|
5
5
|
* an "open" state.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-afdb7d32.js';
|
|
2
2
|
import { c as classNames } from '../_shared/esm/index-2ae58626.js';
|
|
3
3
|
import React__default, { useContext } from 'react';
|
|
4
|
-
import { H as Heading } from '../_shared/esm/Heading-
|
|
4
|
+
import { H as Heading } from '../_shared/esm/Heading-0f629151.js';
|
|
5
5
|
import { B as BtIconChevronDown2Px_2 } from '../_shared/esm/BtIconChevronDown2Px-782876e2.js';
|
|
6
6
|
import { C as Context } from '../_shared/esm/Surface-dde51789.js';
|
|
7
7
|
import '../_shared/esm/suffix-modifier-7e640670.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DisclosureMini } from "../_shared/cjs/DisclosureMini-
|
|
1
|
+
export { DisclosureMini } from "../_shared/cjs/DisclosureMini-52706ee6";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var DisclosureMini = require('../_shared/cjs/DisclosureMini-
|
|
5
|
+
var DisclosureMini = require('../_shared/cjs/DisclosureMini-52706ee6.js');
|
|
6
6
|
require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
|
|
7
7
|
require('../_shared/cjs/index-45bfb67b.js');
|
|
8
8
|
require('react');
|
|
9
9
|
require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
|
|
10
|
-
require('../_shared/cjs/Text-
|
|
10
|
+
require('../_shared/cjs/Text-fa447e2d.js');
|
|
11
11
|
require('../_shared/cjs/suffix-modifier-1ee2da04.js');
|
|
12
12
|
require('../_shared/cjs/Surface-b7c51b2b.js');
|
|
13
13
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DisclosureMini } from "../_shared/esm/DisclosureMini-
|
|
1
|
+
export { DisclosureMini } from "../_shared/esm/DisclosureMini-9b819941";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { D as DisclosureMini } from '../_shared/esm/DisclosureMini-
|
|
1
|
+
export { D as DisclosureMini } from '../_shared/esm/DisclosureMini-9b819941.js';
|
|
2
2
|
import '../_shared/esm/filter-data-attrs-afdb7d32.js';
|
|
3
3
|
import '../_shared/esm/index-2ae58626.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../_shared/esm/BtIconChevronDown2Px-782876e2.js';
|
|
6
|
-
import '../_shared/esm/Text-
|
|
6
|
+
import '../_shared/esm/Text-40457811.js';
|
|
7
7
|
import '../_shared/esm/suffix-modifier-7e640670.js';
|
|
8
8
|
import '../_shared/esm/Surface-dde51789.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FormControl, FormControlContext } from "../_shared/cjs/FormControl-
|
|
1
|
+
export { FormControl, FormControlContext } from "../_shared/cjs/FormControl-1e1bf2bf";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var FormControl = require('../_shared/cjs/FormControl-
|
|
5
|
+
var FormControl = require('../_shared/cjs/FormControl-1e1bf2bf.js');
|
|
6
6
|
require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
|
|
7
7
|
require('../_shared/cjs/index-45bfb67b.js');
|
|
8
8
|
require('react');
|
|
9
9
|
require('../_shared/cjs/BtIconAlert-637db790.js');
|
|
10
10
|
require('../_shared/cjs/Surface-b7c51b2b.js');
|
|
11
|
-
require('../_shared/cjs/DisclosureMini-
|
|
11
|
+
require('../_shared/cjs/DisclosureMini-52706ee6.js');
|
|
12
12
|
require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
|
|
13
|
-
require('../_shared/cjs/Text-
|
|
13
|
+
require('../_shared/cjs/Text-fa447e2d.js');
|
|
14
14
|
require('../_shared/cjs/suffix-modifier-1ee2da04.js');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FormControl, FormControlContext } from "../_shared/esm/FormControl-
|
|
1
|
+
export { FormControl, FormControlContext } from "../_shared/esm/FormControl-f18e2f59";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { F as FormControl, C as FormControlContext } from '../_shared/esm/FormControl-
|
|
1
|
+
export { F as FormControl, C as FormControlContext } from '../_shared/esm/FormControl-f18e2f59.js';
|
|
2
2
|
import '../_shared/esm/filter-data-attrs-afdb7d32.js';
|
|
3
3
|
import '../_shared/esm/index-2ae58626.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../_shared/esm/BtIconAlert-55a6ed5c.js';
|
|
6
6
|
import '../_shared/esm/Surface-dde51789.js';
|
|
7
|
-
import '../_shared/esm/DisclosureMini-
|
|
7
|
+
import '../_shared/esm/DisclosureMini-9b819941.js';
|
|
8
8
|
import '../_shared/esm/BtIconChevronDown2Px-782876e2.js';
|
|
9
|
-
import '../_shared/esm/Text-
|
|
9
|
+
import '../_shared/esm/Text-40457811.js';
|
|
10
10
|
import '../_shared/esm/suffix-modifier-7e640670.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Heading } from "../_shared/cjs/Heading-
|
|
1
|
+
export { Heading } from "../_shared/cjs/Heading-e3332dcf";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Heading = require('../_shared/cjs/Heading-
|
|
5
|
+
var Heading = require('../_shared/cjs/Heading-e3332dcf.js');
|
|
6
6
|
require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
|
|
7
7
|
require('../_shared/cjs/index-45bfb67b.js');
|
|
8
8
|
require('react');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Heading } from "../_shared/esm/Heading-
|
|
1
|
+
export { Heading } from "../_shared/esm/Heading-0f629151";
|
|
@@ -1,30 +1,52 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { FC } from "react";
|
|
4
|
+
import { ButtonProps } from "../_shared/cjs/Button-5aaa6776";
|
|
5
|
+
/** Use `Modal` to focus a user's attention to an urgent or required prompt for interaction or input. */
|
|
4
6
|
declare const Modal: FC<ModalProps>;
|
|
5
7
|
interface ModalProps {
|
|
6
8
|
/**
|
|
7
|
-
*
|
|
9
|
+
* Title for the modal. This will be announced by screen readers when the modal opens.
|
|
8
10
|
*/
|
|
9
11
|
title: string;
|
|
10
12
|
/**
|
|
11
|
-
*
|
|
13
|
+
* Role for the modal. use alertdialog if explicit user input is required e.g deleting an account. role alertdialog will remove the ability to close the modal by either the esc key being pressed, clicking the cross icon or clicking outside.
|
|
12
14
|
*/
|
|
13
|
-
|
|
15
|
+
role?: "dialog" | "alertdialog";
|
|
14
16
|
/**
|
|
15
|
-
*
|
|
17
|
+
* Whether to return focus to the element that was focused before the modal opened. True by default.
|
|
16
18
|
*/
|
|
17
|
-
|
|
19
|
+
shouldReturnFocus?: boolean;
|
|
18
20
|
/**
|
|
19
|
-
*
|
|
21
|
+
* Description for the modal. This will be announced by screen readers when the modal opens.
|
|
20
22
|
*/
|
|
21
|
-
|
|
23
|
+
description?: string;
|
|
22
24
|
/**
|
|
23
|
-
*
|
|
25
|
+
* ID for the element description to be announced by screenreaders in addition to the title.
|
|
26
|
+
*/
|
|
27
|
+
ariaDescribedBy?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Configurable actions for the modal.
|
|
30
|
+
*/
|
|
31
|
+
actions?: Pick<ButtonProps, "form" | "type" | "fill" | "icon" | "iconPosition" | "href" | "id" | "label" | "onClick" | "isDisabled" | "ariaLabel" | "rel">[];
|
|
32
|
+
/**
|
|
33
|
+
* Function to be called when the modal has been requested to close by either the esc key being pressed, outside the dialog being clicked or the close button being clicked. The callback must set the open state of the modal to false. This function is ignored if the `role` prop is set to `alertdialog`. You can prevent this behavior with the `dialog` role by ommitting this prop.
|
|
34
|
+
*/
|
|
35
|
+
onRequestClose?: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* Size of the modal dialog.
|
|
38
|
+
*/
|
|
39
|
+
size?: "s" | "m" | "l";
|
|
40
|
+
/**
|
|
41
|
+
* Set modal open or closed.
|
|
24
42
|
*/
|
|
25
43
|
isOpen?: boolean;
|
|
26
44
|
/**
|
|
27
|
-
* content
|
|
45
|
+
* Enables the dialog content to be scrolled internally.
|
|
46
|
+
*/
|
|
47
|
+
isContentScrollable?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Custom content for `Modal`.
|
|
28
50
|
*/
|
|
29
51
|
children?: React.ReactNode;
|
|
30
52
|
}
|