@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,144 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { V as VerticalSpace } from '../_shared/esm/VerticalSpace-93980c9c.js';
|
|
8
|
-
import { V as VisuallyHidden } from '../_shared/esm/VisuallyHidden-b9eebf71.js';
|
|
1
|
+
export { P as ProgressStepper } from '../_shared/esm/ProgressStepper-7ab88f4c.js';
|
|
2
|
+
import '../_shared/esm/filter-data-attrs-afdb7d32.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '../_shared/esm/index-2ae58626.js';
|
|
5
|
+
import '../_shared/esm/BtIconAlert-55a6ed5c.js';
|
|
6
|
+
import '../_shared/esm/Icon-c1af47bc.js';
|
|
9
7
|
import '../_shared/esm/suffix-modifier-7e640670.js';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
/*#__PURE__*/ React$2.createElement(
|
|
14
|
-
"svg",
|
|
15
|
-
Object.assign(
|
|
16
|
-
{
|
|
17
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
-
viewBox: "0 0 32 32"
|
|
19
|
-
},
|
|
20
|
-
props
|
|
21
|
-
),
|
|
22
|
-
/*#__PURE__*/ React$2.createElement("defs", null),
|
|
23
|
-
/*#__PURE__*/ React$2.createElement("path", {
|
|
24
|
-
d:
|
|
25
|
-
"M13.5,21.207,9.14648,16.85352a.5.5,0,0,1,.707-.707L13.5,19.793l8.64648-8.64649a.5.5,0,0,1,.707.707Z",
|
|
26
|
-
fill: "currentColor"
|
|
27
|
-
})
|
|
28
|
-
);
|
|
29
|
-
var BtIconTickVariant_2 = BtIconTickVariant;
|
|
30
|
-
|
|
31
|
-
const React$1 = React__default;
|
|
32
|
-
const BtIconCrossAlt = props =>
|
|
33
|
-
/*#__PURE__*/ React$1.createElement(
|
|
34
|
-
"svg",
|
|
35
|
-
Object.assign(
|
|
36
|
-
{
|
|
37
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
38
|
-
viewBox: "0 0 32 32"
|
|
39
|
-
},
|
|
40
|
-
props
|
|
41
|
-
),
|
|
42
|
-
/*#__PURE__*/ React$1.createElement("defs", null),
|
|
43
|
-
/*#__PURE__*/ React$1.createElement("path", {
|
|
44
|
-
d:
|
|
45
|
-
"M16.70709,16.02l4.48236-4.49365a.4996.4996,0,1,0-.707-.70606l-4.481,4.49225-4.481-4.49225a.4996.4996,0,1,0-.707.70606L15.29584,16.02l-4.48236,4.49365a.4996.4996,0,1,0,.707.70606l4.481-4.49225,4.481,4.49225a.4996.4996,0,1,0,.707-.70606Z",
|
|
46
|
-
fill: "currentColor"
|
|
47
|
-
})
|
|
48
|
-
);
|
|
49
|
-
var BtIconCrossAlt_2 = BtIconCrossAlt;
|
|
50
|
-
|
|
51
|
-
const React = React__default;
|
|
52
|
-
const BtIconCircle = props =>
|
|
53
|
-
/*#__PURE__*/ React.createElement(
|
|
54
|
-
"svg",
|
|
55
|
-
Object.assign(
|
|
56
|
-
{
|
|
57
|
-
viewBox: "0 0 32 32",
|
|
58
|
-
fill: "none",
|
|
59
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
60
|
-
},
|
|
61
|
-
props
|
|
62
|
-
),
|
|
63
|
-
/*#__PURE__*/ React.createElement("path", {
|
|
64
|
-
fillRule: "evenodd",
|
|
65
|
-
clipRule: "evenodd",
|
|
66
|
-
d:
|
|
67
|
-
"M9 16C9 19.87 12.13 23 16 23C19.87 23 23 19.87 23 16C23 12.13 19.87 9 16 9C12.13 9 9 12.13 9 16ZM16 7C11.03 7 7 11.03 7 16C7 20.97 11.03 25 16 25C20.97 25 25 20.97 25 16C25 11.03 20.97 7 16 7Z",
|
|
68
|
-
fill: "currentColor"
|
|
69
|
-
})
|
|
70
|
-
);
|
|
71
|
-
var BtIconCircle_2 = BtIconCircle;
|
|
72
|
-
|
|
73
|
-
var ProgressStepperItem = function (_a) {
|
|
74
|
-
var _b, _c;
|
|
75
|
-
var title = _a.title, titleHref = _a.titleHref, subTitle = _a.subTitle, _d = _a.direction, direction = _d === void 0 ? "horizontal" : _d, _e = _a.status, status = _e === void 0 ? "todo" : _e, _f = _a.size, size = _f === void 0 ? "large" : _f, _g = _a.position, position = _g === void 0 ? "middle" : _g, isFluid = _a.isFluid, ariaLabel = _a.ariaLabel, onClick = _a.onClick, previousStep = _a.previousStep, isExpandable = _a.isExpandable, stepContent = _a.stepContent, isStepContentHidden = _a.isStepContentHidden, props = __rest(_a, ["title", "titleHref", "subTitle", "direction", "status", "size", "position", "isFluid", "ariaLabel", "onClick", "previousStep", "isExpandable", "stepContent", "isStepContentHidden"]);
|
|
76
|
-
var surface = useContext(Context).surface;
|
|
77
|
-
var statusIcons = {
|
|
78
|
-
completed: BtIconTickVariant_2,
|
|
79
|
-
current: BtIconCircle_2,
|
|
80
|
-
warning: BtIconAlert_2,
|
|
81
|
-
error: BtIconCrossAlt_2
|
|
82
|
-
};
|
|
83
|
-
var onClickHandler = function (event) {
|
|
84
|
-
event.preventDefault();
|
|
85
|
-
onClick && onClick();
|
|
86
|
-
};
|
|
87
|
-
var capitaliseFirstLetter = function (word) {
|
|
88
|
-
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
89
|
-
};
|
|
90
|
-
return (React__default.createElement("div", __assign({ className: classNames("arc-ProgressStepperItem", (_b = {
|
|
91
|
-
"arc-ProgressStepperItem--vertical": direction === "vertical",
|
|
92
|
-
"arc-ProgressStepperItem--isFluid": isFluid,
|
|
93
|
-
"arc-ProgressStepperItem--onDarkSurface": surface === "dark",
|
|
94
|
-
"arc-ProgressStepperItem--previousStepCompleted": previousStep === "completed"
|
|
95
|
-
},
|
|
96
|
-
_b["arc-ProgressStepperItem--".concat(status)] = status !== "todo",
|
|
97
|
-
_b["arc-ProgressStepperItem--".concat(size)] = size === "small",
|
|
98
|
-
_b)) }, filterDataAttrs(props)),
|
|
99
|
-
React__default.createElement("div", { className: classNames("arc-ProgressStepperItem-iconSection", (_c = {},
|
|
100
|
-
_c["arc-ProgressStepperItem-iconSection--".concat(position)] = position !== "middle",
|
|
101
|
-
_c)) },
|
|
102
|
-
React__default.createElement("div", { className: "arc-ProgressStepperItem-iconSectionTrailBefore" }),
|
|
103
|
-
React__default.createElement("div", { className: "arc-ProgressStepperItem-iconWrapper" }, statusIcons[status] === undefined ? (React__default.createElement("div", { style: {
|
|
104
|
-
width: size === "small" ? "16px" : "32px",
|
|
105
|
-
height: size === "small" ? "16px" : "32px"
|
|
106
|
-
} })) : (React__default.createElement(Icon, { size: size === "small" ? 16 : 32, icon: statusIcons[status] }))),
|
|
107
|
-
React__default.createElement("div", { className: "arc-ProgressStepperItem-iconSectionTrailAfter" })),
|
|
108
|
-
React__default.createElement("div", { className: "arc-ProgressStepperItem-textSection" },
|
|
109
|
-
status !== "todo" && (React__default.createElement(VisuallyHidden, null,
|
|
110
|
-
capitaliseFirstLetter(status),
|
|
111
|
-
":")),
|
|
112
|
-
titleHref ? (React__default.createElement("a", { href: titleHref, "aria-label": ariaLabel, className: "arc-ProgressStepperItem-title", onClick: onClickHandler }, title)) : (React__default.createElement("div", { className: "arc-ProgressStepperItem-title" }, title)),
|
|
113
|
-
React__default.createElement("div", { className: "arc-ProgressStepperItem-subTitle" }, subTitle),
|
|
114
|
-
isExpandable && direction === "vertical" && (React__default.createElement(React__default.Fragment, null,
|
|
115
|
-
React__default.createElement("div", { className: "arc-ProgressStepperItem-nodeItem" },
|
|
116
|
-
React__default.createElement("div", { className: "arc-ProgressStepperItem-keyline" }),
|
|
117
|
-
stepContent && !isStepContentHidden && (React__default.createElement(React__default.Fragment, null,
|
|
118
|
-
React__default.createElement(VerticalSpace, { size: "8" }),
|
|
119
|
-
stepContent))))))));
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
/** Use `ProgressStepper` to illustrate the progress of a specific task within a page, by displaying a step-by-step progress through the user journey. This is commonly used in multi-step processes or wizards. */
|
|
123
|
-
var ProgressStepper = function (_a) {
|
|
124
|
-
var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, props = __rest(_a, ["children", "size", "isFluid", "direction", "isExpandable"]);
|
|
125
|
-
var items = React__default.Children.toArray(children);
|
|
126
|
-
var getStepStatus = function (item) {
|
|
127
|
-
var _a;
|
|
128
|
-
return (_a = item === null || item === void 0 ? void 0 : item.props) === null || _a === void 0 ? void 0 : _a.status;
|
|
129
|
-
};
|
|
130
|
-
return (React__default.createElement("div", __assign({ className: classNames("arc-ProgressStepper", {
|
|
131
|
-
"arc-ProgressStepper--vertical": direction === "vertical"
|
|
132
|
-
}) }, filterDataAttrs(props)), items.map(function (item, index) {
|
|
133
|
-
var currentPosition = index === 0
|
|
134
|
-
? "first"
|
|
135
|
-
: index === React__default.Children.count(children) - 1
|
|
136
|
-
? "last"
|
|
137
|
-
: undefined;
|
|
138
|
-
return (React__default.createElement(React__default.Fragment, { key: "StepperItem-".concat(index) },
|
|
139
|
-
React__default.createElement(ProgressStepperItem, __assign({ title: item.props.title, titleHref: item.props.titleHref, subTitle: item.props.subTitle, status: item.props.status, stepContent: item.props.stepContent, isStepContentHidden: item.props.isStepContentHidden, onClick: item.props.onClick, isFluid: isFluid, direction: direction, isExpandable: isExpandable, size: size, position: currentPosition, previousStep: getStepStatus(items[index - 1]) }, filterDataAttrs(item.props)))));
|
|
140
|
-
})));
|
|
141
|
-
};
|
|
142
|
-
ProgressStepper.Item = ProgressStepperItem;
|
|
143
|
-
|
|
144
|
-
export { ProgressStepper };
|
|
8
|
+
import '../_shared/esm/Surface-dde51789.js';
|
|
9
|
+
import '../_shared/esm/VerticalSpace-93980c9c.js';
|
|
10
|
+
import '../_shared/esm/VisuallyHidden-b9eebf71.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { RadioGroup } from "../_shared/cjs/RadioGroup-
|
|
1
|
+
export { RadioGroup } from "../_shared/cjs/RadioGroup-d7664b0c";
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var RadioGroup = require('../_shared/cjs/RadioGroup-
|
|
5
|
+
var RadioGroup = require('../_shared/cjs/RadioGroup-d7664b0c.js');
|
|
6
6
|
require('../_shared/cjs/filter-data-attrs-a30dcf5f.js');
|
|
7
7
|
require('react');
|
|
8
|
-
require('../_shared/cjs/FormControl-
|
|
8
|
+
require('../_shared/cjs/FormControl-1e1bf2bf.js');
|
|
9
9
|
require('../_shared/cjs/index-45bfb67b.js');
|
|
10
10
|
require('../_shared/cjs/BtIconAlert-637db790.js');
|
|
11
11
|
require('../_shared/cjs/Surface-b7c51b2b.js');
|
|
12
|
-
require('../_shared/cjs/DisclosureMini-
|
|
12
|
+
require('../_shared/cjs/DisclosureMini-52706ee6.js');
|
|
13
13
|
require('../_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js');
|
|
14
|
-
require('../_shared/cjs/Text-
|
|
14
|
+
require('../_shared/cjs/Text-fa447e2d.js');
|
|
15
15
|
require('../_shared/cjs/suffix-modifier-1ee2da04.js');
|
|
16
16
|
|
|
17
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { RadioGroup } from "../_shared/esm/RadioGroup-
|
|
1
|
+
export { RadioGroup } from "../_shared/esm/RadioGroup-be16d5d3";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { R as RadioGroup } from '../_shared/esm/RadioGroup-
|
|
1
|
+
export { R as RadioGroup } from '../_shared/esm/RadioGroup-be16d5d3.js';
|
|
2
2
|
import '../_shared/esm/filter-data-attrs-afdb7d32.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../_shared/esm/FormControl-
|
|
4
|
+
import '../_shared/esm/FormControl-f18e2f59.js';
|
|
5
5
|
import '../_shared/esm/index-2ae58626.js';
|
|
6
6
|
import '../_shared/esm/BtIconAlert-55a6ed5c.js';
|
|
7
7
|
import '../_shared/esm/Surface-dde51789.js';
|
|
8
|
-
import '../_shared/esm/DisclosureMini-
|
|
8
|
+
import '../_shared/esm/DisclosureMini-9b819941.js';
|
|
9
9
|
import '../_shared/esm/BtIconChevronDown2Px-782876e2.js';
|
|
10
|
-
import '../_shared/esm/Text-
|
|
10
|
+
import '../_shared/esm/Text-40457811.js';
|
|
11
11
|
import '../_shared/esm/suffix-modifier-7e640670.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { FocusEvent } from "react";
|
|
4
|
-
import { FormControlProps } from "../_shared/cjs/FormControl-
|
|
4
|
+
import { FormControlProps } from "../_shared/cjs/FormControl-1e1bf2bf";
|
|
5
5
|
/** Use `Select` to choose from a dropdown list of options. */
|
|
6
6
|
declare const Select: React.FC<SelectProps>;
|
|
7
7
|
interface SelectProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "id" | "helperUnderLabel" | "supplementaryInfo"> {
|