@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.
Files changed (249) hide show
  1. package/dist/Alert/Alert.cjs.d.ts +1 -1
  2. package/dist/Alert/Alert.cjs.js +10 -89
  3. package/dist/Alert/Alert.esm.d.ts +1 -1
  4. package/dist/Alert/Alert.esm.js +3 -82
  5. package/dist/Badge/Badge.cjs.d.ts +4 -0
  6. package/dist/Badge/Badge.cjs.js +4 -4
  7. package/dist/Badge/Badge.esm.d.ts +4 -0
  8. package/dist/Badge/Badge.esm.js +5 -5
  9. package/dist/Box/Box.cjs.d.ts +40 -1
  10. package/dist/Box/Box.cjs.js +25 -6
  11. package/dist/Box/Box.esm.d.ts +40 -1
  12. package/dist/Box/Box.esm.js +24 -5
  13. package/dist/Breadcrumbs/Breadcrumbs.cjs.d.ts +1 -1
  14. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +2 -2
  15. package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +1 -1
  16. package/dist/Breadcrumbs/Breadcrumbs.esm.js +2 -2
  17. package/dist/Button/Button.cjs.d.ts +1 -1
  18. package/dist/Button/Button.cjs.js +1 -1
  19. package/dist/Button/Button.esm.d.ts +1 -1
  20. package/dist/Button/Button.esm.js +1 -1
  21. package/dist/Card/Card.cjs.d.ts +1 -1
  22. package/dist/Card/Card.cjs.js +2 -2
  23. package/dist/Card/Card.esm.d.ts +1 -1
  24. package/dist/Card/Card.esm.js +2 -2
  25. package/dist/Checkbox/Checkbox.cjs.d.ts +1 -1
  26. package/dist/Checkbox/Checkbox.cjs.js +4 -4
  27. package/dist/Checkbox/Checkbox.esm.d.ts +1 -1
  28. package/dist/Checkbox/Checkbox.esm.js +4 -4
  29. package/dist/Columns/Columns.cjs.d.ts +1 -1
  30. package/dist/Columns/Columns.esm.d.ts +1 -1
  31. package/dist/Curve/Curve.cjs.d.ts +1 -1
  32. package/dist/Curve/Curve.cjs.js +1 -1
  33. package/dist/Curve/Curve.esm.d.ts +1 -1
  34. package/dist/Curve/Curve.esm.js +1 -1
  35. package/dist/Disclosure/Disclosure.cjs.d.ts +1 -1
  36. package/dist/Disclosure/Disclosure.cjs.js +1 -1
  37. package/dist/Disclosure/Disclosure.esm.d.ts +1 -1
  38. package/dist/Disclosure/Disclosure.esm.js +1 -1
  39. package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +1 -1
  40. package/dist/DisclosureMini/DisclosureMini.cjs.js +2 -2
  41. package/dist/DisclosureMini/DisclosureMini.esm.d.ts +1 -1
  42. package/dist/DisclosureMini/DisclosureMini.esm.js +2 -2
  43. package/dist/FormControl/FormControl.cjs.d.ts +1 -1
  44. package/dist/FormControl/FormControl.cjs.js +3 -3
  45. package/dist/FormControl/FormControl.esm.d.ts +1 -1
  46. package/dist/FormControl/FormControl.esm.js +3 -3
  47. package/dist/Heading/Heading.cjs.d.ts +1 -1
  48. package/dist/Heading/Heading.cjs.js +1 -1
  49. package/dist/Heading/Heading.esm.d.ts +1 -1
  50. package/dist/Heading/Heading.esm.js +1 -1
  51. package/dist/Modal/Modal.cjs.d.ts +31 -9
  52. package/dist/Modal/Modal.cjs.js +450 -161
  53. package/dist/Modal/Modal.esm.d.ts +31 -9
  54. package/dist/Modal/Modal.esm.js +423 -134
  55. package/dist/Pagination/Pagination.cjs.js +4 -4
  56. package/dist/Pagination/Pagination.esm.js +4 -4
  57. package/dist/PaginationSimple/PaginationSimple.cjs.js +4 -4
  58. package/dist/PaginationSimple/PaginationSimple.esm.js +4 -4
  59. package/dist/ProgressBar/ProgressBar.cjs.js +5 -5
  60. package/dist/ProgressBar/ProgressBar.esm.js +6 -6
  61. package/dist/ProgressStepper/ProgressStepper.cjs.d.ts +1 -89
  62. package/dist/ProgressStepper/ProgressStepper.cjs.js +10 -144
  63. package/dist/ProgressStepper/ProgressStepper.esm.d.ts +1 -89
  64. package/dist/ProgressStepper/ProgressStepper.esm.js +9 -143
  65. package/dist/RadioGroup/RadioGroup.cjs.d.ts +1 -1
  66. package/dist/RadioGroup/RadioGroup.cjs.js +4 -4
  67. package/dist/RadioGroup/RadioGroup.esm.d.ts +1 -1
  68. package/dist/RadioGroup/RadioGroup.esm.js +4 -4
  69. package/dist/Select/Select.cjs.d.ts +1 -1
  70. package/dist/Select/Select.cjs.js +995 -60
  71. package/dist/Select/Select.esm.d.ts +1 -1
  72. package/dist/Select/Select.esm.js +948 -32
  73. package/dist/SiteFooter/SiteFooter.cjs.d.ts +1 -1
  74. package/dist/SiteFooter/SiteFooter.cjs.js +2 -2
  75. package/dist/SiteFooter/SiteFooter.esm.d.ts +1 -1
  76. package/dist/SiteFooter/SiteFooter.esm.js +3 -3
  77. package/dist/SiteHeader/SiteHeader.cjs.d.ts +1 -1
  78. package/dist/SiteHeader/SiteHeader.cjs.js +3 -3
  79. package/dist/SiteHeader/SiteHeader.esm.d.ts +1 -1
  80. package/dist/SiteHeader/SiteHeader.esm.js +3 -3
  81. package/dist/Switch/Switch.cjs.d.ts +1 -1
  82. package/dist/Switch/Switch.cjs.js +241 -18
  83. package/dist/Switch/Switch.esm.d.ts +1 -1
  84. package/dist/Switch/Switch.esm.js +234 -11
  85. package/dist/Tabs/Tabs.cjs.d.ts +1 -0
  86. package/dist/Tabs/Tabs.cjs.js +20 -0
  87. package/dist/Tabs/Tabs.esm.d.ts +1 -0
  88. package/dist/Tabs/Tabs.esm.js +12 -0
  89. package/dist/Tabs/package.json +7 -0
  90. package/dist/Text/Text.cjs.d.ts +1 -1
  91. package/dist/Text/Text.cjs.js +1 -1
  92. package/dist/Text/Text.esm.d.ts +1 -1
  93. package/dist/Text/Text.esm.js +1 -1
  94. package/dist/TextArea/TextArea.cjs.d.ts +4 -1
  95. package/dist/TextArea/TextArea.cjs.js +30 -17
  96. package/dist/TextArea/TextArea.esm.d.ts +4 -1
  97. package/dist/TextArea/TextArea.esm.js +30 -17
  98. package/dist/TextInput/TextInput.cjs.d.ts +1 -1
  99. package/dist/TextInput/TextInput.cjs.js +4 -4
  100. package/dist/TextInput/TextInput.esm.d.ts +1 -1
  101. package/dist/TextInput/TextInput.esm.js +4 -4
  102. package/dist/Toast/Toast.cjs.d.ts +1 -0
  103. package/dist/Toast/Toast.cjs.js +23 -0
  104. package/dist/Toast/Toast.esm.d.ts +1 -0
  105. package/dist/Toast/Toast.esm.js +15 -0
  106. package/dist/Toast/package.json +7 -0
  107. package/dist/Truncate/Truncate.cjs.js +3 -2
  108. package/dist/Truncate/Truncate.esm.js +3 -2
  109. package/dist/_shared/cjs/{Breadcrumbs-9f580f69.js → Breadcrumbs-0906dd10.js} +9 -9
  110. package/dist/_shared/cjs/BtIconTick-42fcc5ec.js +91 -0
  111. package/dist/_shared/{esm/Button-9c3b0b11.d.ts → cjs/Button-5aaa6776.d.ts} +4 -0
  112. package/dist/_shared/cjs/{Button-b4d6ccc8.js → Button-5aaa6776.js} +2 -2
  113. package/dist/_shared/cjs/{Card-f1108bfe.js → Card-fd189ba8.js} +1 -1
  114. package/dist/_shared/cjs/{Checkbox-c927b62f.js → Checkbox-02c546ca.js} +1 -1
  115. package/dist/_shared/cjs/Columns-e90798f8.d.ts +1 -1
  116. package/dist/_shared/cjs/{Curve-b05589d8.d.ts → Curve-781ef633.d.ts} +5 -2
  117. package/dist/_shared/cjs/{Curve-b05589d8.js → Curve-781ef633.js} +5 -2
  118. package/dist/_shared/cjs/{DisclosureMini-2a10006e.js → DisclosureMini-52706ee6.js} +1 -1
  119. package/dist/_shared/cjs/{FormControl-78b007b7.js → FormControl-1e1bf2bf.js} +1 -1
  120. package/dist/_shared/cjs/{Heading-ed1cb455.d.ts → Heading-e3332dcf.d.ts} +4 -0
  121. package/dist/_shared/cjs/{Heading-ed1cb455.js → Heading-e3332dcf.js} +2 -2
  122. package/dist/{MediaCard/MediaCard.cjs.d.ts → _shared/cjs/MediaCard-9483ad5f.d.ts} +3 -4
  123. package/dist/_shared/cjs/ProgressStepper-f740d7bb.d.ts +89 -0
  124. package/dist/_shared/cjs/ProgressStepper-f740d7bb.js +149 -0
  125. package/dist/_shared/{esm/RadioGroup-65b8c8bf.d.ts → cjs/RadioGroup-d7664b0c.d.ts} +1 -1
  126. package/dist/_shared/cjs/{RadioGroup-8e17de70.js → RadioGroup-d7664b0c.js} +1 -1
  127. package/dist/_shared/cjs/{SiteFooter-9f7f9c2d.js → SiteFooter-5da774e1.js} +1 -1
  128. package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +2 -2
  129. package/dist/_shared/cjs/{SiteHeader.rehydrator-ccbebde6.js → SiteHeader.rehydrator-acc9d8c4.js} +2 -2
  130. package/dist/_shared/cjs/Tabs-fda49692.d.ts +75 -0
  131. package/dist/_shared/cjs/Tabs-fda49692.js +510 -0
  132. package/dist/_shared/{esm/Text-14deb70e.d.ts → cjs/Text-fa447e2d.d.ts} +4 -0
  133. package/dist/_shared/cjs/{Text-555a29a4.js → Text-fa447e2d.js} +2 -2
  134. package/dist/_shared/cjs/{TextInput-7ed03a48.d.ts → TextInput-13050538.d.ts} +3 -1
  135. package/dist/_shared/{esm/TextInput-62bb7dee.d.ts → cjs/TextInput-f4549637.d.ts} +1 -1
  136. package/dist/_shared/cjs/{TextInput-b768e346.js → TextInput-f4549637.js} +1 -1
  137. package/dist/_shared/cjs/Toast-0cb23cae.d.ts +52 -0
  138. package/dist/_shared/cjs/Toast-0cb23cae.js +739 -0
  139. package/dist/_shared/cjs/extends-bb8ffacd.js +21 -0
  140. package/dist/_shared/cjs/index-27b53d49.js +174 -0
  141. package/dist/_shared/cjs/index-699086a7.d.ts +1 -1
  142. package/dist/_shared/cjs/index-74488a9f.d.ts +1 -1
  143. package/dist/_shared/cjs/{index.module-9b87a34d.js → index-952918c9.js} +141 -33
  144. package/dist/_shared/cjs/index-96c4d581.js +289 -0
  145. package/dist/_shared/cjs/index-c81c9401.d.ts +3 -3
  146. package/dist/_shared/cjs/index-e340924e.d.ts +1 -1
  147. package/dist/_shared/cjs/index-e6d20018.d.ts +1 -1
  148. package/dist/_shared/cjs/index-eb06f640.d.ts +1 -1
  149. package/dist/_shared/cjs/{index-31fbb076.js → index-ec260f5e.js} +0 -547
  150. package/dist/_shared/cjs/index-f419cf04.d.ts +1 -1
  151. package/dist/_shared/cjs/index-fb4b8fda.js +47 -0
  152. package/dist/_shared/cjs/index.module-bbcc4e18.js +126 -0
  153. package/dist/_shared/esm/{Breadcrumbs-5dc0afa7.js → Breadcrumbs-dafa8dde.js} +9 -9
  154. package/dist/_shared/esm/BtIconTick-5fe50cc7.js +83 -0
  155. package/dist/_shared/{cjs/Button-b4d6ccc8.d.ts → esm/Button-d1dbcf79.d.ts} +4 -0
  156. package/dist/_shared/esm/{Button-9c3b0b11.js → Button-d1dbcf79.js} +2 -2
  157. package/dist/_shared/esm/{Card-79b6eae0.js → Card-e62c3ff6.js} +1 -1
  158. package/dist/_shared/esm/{Checkbox-2d144384.js → Checkbox-d8891198.js} +1 -1
  159. package/dist/_shared/esm/Columns-8704515b.d.ts +1 -1
  160. package/dist/_shared/esm/{Curve-3e87b1bc.d.ts → Curve-bbc5589c.d.ts} +5 -2
  161. package/dist/_shared/esm/{Curve-3e87b1bc.js → Curve-bbc5589c.js} +5 -2
  162. package/dist/_shared/esm/{DisclosureMini-78a8f392.js → DisclosureMini-9b819941.js} +1 -1
  163. package/dist/_shared/esm/{FormControl-2fa7aae5.js → FormControl-f18e2f59.js} +1 -1
  164. package/dist/_shared/esm/{Heading-ee6bec51.d.ts → Heading-0f629151.d.ts} +4 -0
  165. package/dist/_shared/esm/{Heading-ee6bec51.js → Heading-0f629151.js} +2 -2
  166. package/dist/{MediaCard/MediaCard.esm.d.ts → _shared/esm/MediaCard-9483ad5f.d.ts} +3 -4
  167. package/dist/_shared/esm/ProgressStepper-7ab88f4c.d.ts +89 -0
  168. package/dist/_shared/esm/ProgressStepper-7ab88f4c.js +143 -0
  169. package/dist/_shared/{cjs/RadioGroup-8e17de70.d.ts → esm/RadioGroup-be16d5d3.d.ts} +1 -1
  170. package/dist/_shared/esm/{RadioGroup-65b8c8bf.js → RadioGroup-be16d5d3.js} +1 -1
  171. package/dist/_shared/esm/{SiteFooter-51bdc7df.js → SiteFooter-a182cb18.js} +1 -1
  172. package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +2 -2
  173. package/dist/_shared/esm/{SiteHeader.rehydrator-382d1c03.js → SiteHeader.rehydrator-023b7b76.js} +2 -2
  174. package/dist/_shared/esm/Tabs-5af0b940.d.ts +75 -0
  175. package/dist/_shared/esm/Tabs-5af0b940.js +504 -0
  176. package/dist/_shared/{cjs/Text-555a29a4.d.ts → esm/Text-40457811.d.ts} +4 -0
  177. package/dist/_shared/esm/{Text-14deb70e.js → Text-40457811.js} +2 -2
  178. package/dist/_shared/esm/{TextInput-7ed03a48.d.ts → TextInput-13050538.d.ts} +3 -1
  179. package/dist/_shared/{cjs/TextInput-b768e346.d.ts → esm/TextInput-4424c195.d.ts} +3 -3
  180. package/dist/_shared/esm/{TextInput-62bb7dee.js → TextInput-4424c195.js} +1 -1
  181. package/dist/_shared/esm/Toast-43795e91.d.ts +52 -0
  182. package/dist/_shared/esm/Toast-43795e91.js +733 -0
  183. package/dist/_shared/esm/extends-4575346e.js +19 -0
  184. package/dist/_shared/esm/{index.module-216016b5.js → index-22aad354.js} +138 -29
  185. package/dist/_shared/esm/{index-4fa635bd.js → index-369dce7f.js} +2 -541
  186. package/dist/_shared/esm/index-699086a7.d.ts +1 -1
  187. package/dist/_shared/esm/index-74488a9f.d.ts +1 -1
  188. package/dist/_shared/esm/index-8000d9e3.js +168 -0
  189. package/dist/_shared/esm/index-94ecc5f8.js +280 -0
  190. package/dist/_shared/esm/index-bed18a88.js +26 -0
  191. package/dist/_shared/esm/index-c81c9401.d.ts +3 -3
  192. package/dist/_shared/esm/index-e340924e.d.ts +1 -1
  193. package/dist/_shared/esm/index-e6d20018.d.ts +1 -1
  194. package/dist/_shared/esm/index-eb06f640.d.ts +1 -1
  195. package/dist/_shared/esm/index-f419cf04.d.ts +1 -1
  196. package/dist/_shared/esm/index.module-5ed90b21.js +122 -0
  197. package/dist/index.es.js +5036 -1358
  198. package/dist/index.es.js.map +1 -1
  199. package/dist/index.js +5358 -1668
  200. package/dist/index.js.map +1 -1
  201. package/dist/styles.css +1 -1
  202. package/dist/types/components/Badge/Badge.d.ts +4 -0
  203. package/dist/types/components/Button/Button.d.ts +4 -0
  204. package/dist/types/components/Columns/Columns.d.ts +1 -1
  205. package/dist/types/components/Columns/index.d.ts +1 -1
  206. package/dist/types/components/Curve/Curve.d.ts +5 -2
  207. package/dist/types/components/Heading/Heading.d.ts +4 -0
  208. package/dist/types/components/Modal/Modal.d.ts +31 -9
  209. package/dist/types/components/Tabs/Tab/Tab.d.ts +22 -0
  210. package/dist/types/components/Tabs/Tab/index.d.ts +1 -0
  211. package/dist/types/components/Tabs/TabContent/TabContent.d.ts +12 -0
  212. package/dist/types/components/Tabs/TabContent/index.d.ts +1 -0
  213. package/dist/types/components/Tabs/Tabs.d.ts +27 -0
  214. package/dist/types/components/Tabs/TabsList/TabsList.d.ts +20 -0
  215. package/dist/types/components/Tabs/TabsList/index.d.ts +1 -0
  216. package/dist/types/components/Tabs/index.d.ts +1 -0
  217. package/dist/types/components/Text/Text.d.ts +4 -0
  218. package/dist/types/components/TextArea/TextArea.d.ts +3 -0
  219. package/dist/types/components/TextInput/TextInput.d.ts +2 -0
  220. package/dist/types/components/Toast/Toast.d.ts +14 -0
  221. package/dist/types/components/Toast/ToastNotification.d.ts +39 -0
  222. package/dist/types/components/Toast/index.d.ts +1 -0
  223. package/dist/types/components/index.d.ts +18 -6
  224. package/dist/types/styles.d.ts +3 -2
  225. package/package.json +8 -6
  226. package/dist/MediaCard/MediaCard.cjs.js +0 -31
  227. package/dist/MediaCard/MediaCard.esm.js +0 -23
  228. package/dist/MediaCard/package.json +0 -7
  229. package/dist/_shared/cjs/Box-ebe2b7be.d.ts +0 -39
  230. package/dist/_shared/cjs/Box-ebe2b7be.js +0 -30
  231. package/dist/_shared/cjs/index.module-5ea728f4.js +0 -23
  232. package/dist/_shared/esm/Box-06d99d8a.d.ts +0 -39
  233. package/dist/_shared/esm/Box-06d99d8a.js +0 -24
  234. package/dist/_shared/esm/index.module-88179159.js +0 -21
  235. package/dist/types/components/Modal/Modal.stories-wip.d.ts +0 -9
  236. /package/dist/_shared/cjs/{Breadcrumbs-9f580f69.d.ts → Breadcrumbs-0906dd10.d.ts} +0 -0
  237. /package/dist/_shared/cjs/{Card-f1108bfe.d.ts → Card-fd189ba8.d.ts} +0 -0
  238. /package/dist/_shared/cjs/{Checkbox-c927b62f.d.ts → Checkbox-02c546ca.d.ts} +0 -0
  239. /package/dist/_shared/cjs/{DisclosureMini-2a10006e.d.ts → DisclosureMini-52706ee6.d.ts} +0 -0
  240. /package/dist/_shared/cjs/{FormControl-78b007b7.d.ts → FormControl-1e1bf2bf.d.ts} +0 -0
  241. /package/dist/_shared/cjs/{SiteFooter-9f7f9c2d.d.ts → SiteFooter-5da774e1.d.ts} +0 -0
  242. /package/dist/_shared/cjs/{SiteHeader.rehydrator-ccbebde6.d.ts → SiteHeader.rehydrator-acc9d8c4.d.ts} +0 -0
  243. /package/dist/_shared/esm/{Breadcrumbs-5dc0afa7.d.ts → Breadcrumbs-dafa8dde.d.ts} +0 -0
  244. /package/dist/_shared/esm/{Card-79b6eae0.d.ts → Card-e62c3ff6.d.ts} +0 -0
  245. /package/dist/_shared/esm/{Checkbox-2d144384.d.ts → Checkbox-d8891198.d.ts} +0 -0
  246. /package/dist/_shared/esm/{DisclosureMini-78a8f392.d.ts → DisclosureMini-9b819941.d.ts} +0 -0
  247. /package/dist/_shared/esm/{FormControl-2fa7aae5.d.ts → FormControl-f18e2f59.d.ts} +0 -0
  248. /package/dist/_shared/esm/{SiteFooter-51bdc7df.d.ts → SiteFooter-a182cb18.d.ts} +0 -0
  249. /package/dist/_shared/esm/{SiteHeader.rehydrator-382d1c03.d.ts → SiteHeader.rehydrator-023b7b76.d.ts} +0 -0
@@ -0,0 +1,143 @@
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from './filter-data-attrs-afdb7d32.js';
2
+ import React__default, { useContext } from 'react';
3
+ import { c as classNames } from './index-2ae58626.js';
4
+ import { B as BtIconAlert_2 } from './BtIconAlert-55a6ed5c.js';
5
+ import { I as Icon } from './Icon-c1af47bc.js';
6
+ import { C as Context } from './Surface-dde51789.js';
7
+ import { V as VerticalSpace } from './VerticalSpace-93980c9c.js';
8
+ import { V as VisuallyHidden } from './VisuallyHidden-b9eebf71.js';
9
+
10
+ const React$2 = React__default;
11
+ const BtIconTickVariant = props =>
12
+ /*#__PURE__*/ React$2.createElement(
13
+ "svg",
14
+ Object.assign(
15
+ {
16
+ xmlns: "http://www.w3.org/2000/svg",
17
+ viewBox: "0 0 32 32"
18
+ },
19
+ props
20
+ ),
21
+ /*#__PURE__*/ React$2.createElement("defs", null),
22
+ /*#__PURE__*/ React$2.createElement("path", {
23
+ d:
24
+ "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",
25
+ fill: "currentColor"
26
+ })
27
+ );
28
+ var BtIconTickVariant_2 = BtIconTickVariant;
29
+
30
+ const React$1 = React__default;
31
+ const BtIconCrossAlt = props =>
32
+ /*#__PURE__*/ React$1.createElement(
33
+ "svg",
34
+ Object.assign(
35
+ {
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ viewBox: "0 0 32 32"
38
+ },
39
+ props
40
+ ),
41
+ /*#__PURE__*/ React$1.createElement("defs", null),
42
+ /*#__PURE__*/ React$1.createElement("path", {
43
+ d:
44
+ "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",
45
+ fill: "currentColor"
46
+ })
47
+ );
48
+ var BtIconCrossAlt_2 = BtIconCrossAlt;
49
+
50
+ const React = React__default;
51
+ const BtIconCircle = props =>
52
+ /*#__PURE__*/ React.createElement(
53
+ "svg",
54
+ Object.assign(
55
+ {
56
+ viewBox: "0 0 32 32",
57
+ fill: "none",
58
+ xmlns: "http://www.w3.org/2000/svg"
59
+ },
60
+ props
61
+ ),
62
+ /*#__PURE__*/ React.createElement("path", {
63
+ fillRule: "evenodd",
64
+ clipRule: "evenodd",
65
+ d:
66
+ "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",
67
+ fill: "currentColor"
68
+ })
69
+ );
70
+ var BtIconCircle_2 = BtIconCircle;
71
+
72
+ var ProgressStepperItem = function (_a) {
73
+ var _b, _c;
74
+ 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"]);
75
+ var surface = useContext(Context).surface;
76
+ var statusIcons = {
77
+ completed: BtIconTickVariant_2,
78
+ current: BtIconCircle_2,
79
+ warning: BtIconAlert_2,
80
+ error: BtIconCrossAlt_2
81
+ };
82
+ var onClickHandler = function (event) {
83
+ event.preventDefault();
84
+ onClick && onClick();
85
+ };
86
+ var capitaliseFirstLetter = function (word) {
87
+ return word.charAt(0).toUpperCase() + word.slice(1);
88
+ };
89
+ return (React__default.createElement("div", __assign({ className: classNames("arc-ProgressStepperItem", (_b = {
90
+ "arc-ProgressStepperItem--vertical": direction === "vertical",
91
+ "arc-ProgressStepperItem--isFluid": isFluid,
92
+ "arc-ProgressStepperItem--onDarkSurface": surface === "dark",
93
+ "arc-ProgressStepperItem--previousStepCompleted": previousStep === "completed"
94
+ },
95
+ _b["arc-ProgressStepperItem--".concat(status)] = status !== "todo",
96
+ _b["arc-ProgressStepperItem--".concat(size)] = size === "small",
97
+ _b)) }, filterDataAttrs(props)),
98
+ React__default.createElement("div", { className: classNames("arc-ProgressStepperItem-iconSection", (_c = {},
99
+ _c["arc-ProgressStepperItem-iconSection--".concat(position)] = position !== "middle",
100
+ _c)) },
101
+ React__default.createElement("div", { className: "arc-ProgressStepperItem-iconSectionTrailBefore" }),
102
+ React__default.createElement("div", { className: "arc-ProgressStepperItem-iconWrapper" }, statusIcons[status] === undefined ? (React__default.createElement("div", { style: {
103
+ width: size === "small" ? "16px" : "32px",
104
+ height: size === "small" ? "16px" : "32px"
105
+ } })) : (React__default.createElement(Icon, { size: size === "small" ? 16 : 32, icon: statusIcons[status] }))),
106
+ React__default.createElement("div", { className: "arc-ProgressStepperItem-iconSectionTrailAfter" })),
107
+ React__default.createElement("div", { className: "arc-ProgressStepperItem-textSection" },
108
+ status !== "todo" && (React__default.createElement(VisuallyHidden, null,
109
+ capitaliseFirstLetter(status),
110
+ ":")),
111
+ 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)),
112
+ React__default.createElement("div", { className: "arc-ProgressStepperItem-subTitle" }, subTitle),
113
+ isExpandable && direction === "vertical" && (React__default.createElement(React__default.Fragment, null,
114
+ React__default.createElement("div", { className: "arc-ProgressStepperItem-nodeItem" },
115
+ React__default.createElement("div", { className: "arc-ProgressStepperItem-keyline" }),
116
+ stepContent && !isStepContentHidden && (React__default.createElement(React__default.Fragment, null,
117
+ React__default.createElement(VerticalSpace, { size: "8" }),
118
+ stepContent))))))));
119
+ };
120
+
121
+ /** 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. */
122
+ var ProgressStepper = function (_a) {
123
+ var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, props = __rest(_a, ["children", "size", "isFluid", "direction", "isExpandable"]);
124
+ var items = React__default.Children.toArray(children);
125
+ var getStepStatus = function (item) {
126
+ var _a;
127
+ return (_a = item === null || item === void 0 ? void 0 : item.props) === null || _a === void 0 ? void 0 : _a.status;
128
+ };
129
+ return (React__default.createElement("div", __assign({ className: classNames("arc-ProgressStepper", {
130
+ "arc-ProgressStepper--vertical": direction === "vertical"
131
+ }) }, filterDataAttrs(props)), items.map(function (item, index) {
132
+ var currentPosition = index === 0
133
+ ? "first"
134
+ : index === React__default.Children.count(children) - 1
135
+ ? "last"
136
+ : undefined;
137
+ return (React__default.createElement(React__default.Fragment, { key: "StepperItem-".concat(index) },
138
+ 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)))));
139
+ })));
140
+ };
141
+ ProgressStepper.Item = ProgressStepperItem;
142
+
143
+ export { ProgressStepper as P };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
- import { FormControlProps } from "./FormControl-78b007b7";
4
+ import { FormControlProps } from "./FormControl-f18e2f59";
5
5
  /**
6
6
  * Radio Button component.
7
7
  */
@@ -1,6 +1,6 @@
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-2fa7aae5.js';
3
+ import { F as FormControl } from './FormControl-f18e2f59.js';
4
4
  import { c as classNames } from './index-2ae58626.js';
5
5
  import { C as Context } from './Surface-dde51789.js';
6
6
 
@@ -3,7 +3,7 @@ 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
5
  import { B as BrandLogo } from './BrandLogo-9ec620e8.js';
6
- import { C as Curve } from './Curve-3e87b1bc.js';
6
+ import { C as Curve } from './Curve-bbc5589c.js';
7
7
  import { S as Section } from './Section-b8038d66.js';
8
8
  import { S as Surface } from './Surface-dde51789.js';
9
9
  import { h as handleLinkClick } from './handle-link-click-f64f55a2.js';
@@ -6,7 +6,7 @@ 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-382d1c03";
9
+ import { NodeItem } from "./SiteHeader.rehydrator-023b7b76";
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-382d1c03";
77
+ export { MenuButton } from "./SiteHeader.rehydrator-023b7b76";
78
78
  export { SiteHeader, SiteHeaderProps, Context as SiteHeaderContext };
@@ -7,9 +7,9 @@ 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
8
  import { S as Surface } from './Surface-dde51789.js';
9
9
  import { B as BrandLogo } from './BrandLogo-9ec620e8.js';
10
- import { B as Button } from './Button-9c3b0b11.js';
10
+ import { B as Button } from './Button-d1dbcf79.js';
11
11
  import { s as suffixModifier } from './suffix-modifier-7e640670.js';
12
- import { T as Text } from './Text-14deb70e.js';
12
+ import { T as Text } from './Text-40457811.js';
13
13
 
14
14
  var Item = function (_a) {
15
15
  var _b;
@@ -0,0 +1,75 @@
1
+ import { FC, ReactNode } from "react";
2
+ import { ArcIcon } from "./arc-icon-17594b2f";
3
+ declare const TabsList: FC<TabsListProps>;
4
+ interface TabsListProps {
5
+ /**
6
+ * Contents of the `Tabs` Should contain `Tab`
7
+ */
8
+ children: ReactNode;
9
+ /**
10
+ * Determine if `Tabs` should be justified
11
+ */
12
+ isJustified?: boolean;
13
+ /**
14
+ * Determine the type of `Tabs`. Default is standard
15
+ */
16
+ type?: "standard" | "contained";
17
+ /**
18
+ * Determine a accessible label for `Tabs`
19
+ */
20
+ ariaLabel?: string;
21
+ }
22
+ declare const TabContent: FC<TabContentProps>;
23
+ interface TabContentProps {
24
+ /**
25
+ * Content to display
26
+ */
27
+ children: ReactNode;
28
+ /**
29
+ * This value links the `TabContent` with `Tab`
30
+ */
31
+ value: string;
32
+ }
33
+ declare const Tab: FC<TabProps>;
34
+ interface TabProps {
35
+ /**
36
+ * Label to display on the Tab
37
+ */
38
+ label: string;
39
+ /**
40
+ * Value to link `Tab` to `TabContent`
41
+ */
42
+ value: string;
43
+ /**
44
+ * Determine what icon to display within the Tab.
45
+ */
46
+ icon?: ArcIcon;
47
+ /**
48
+ * Determine what to display when `Tab` is active
49
+ */
50
+ iconActive?: ArcIcon;
51
+ }
52
+ declare const Tabs: FC<TabsProps> & {
53
+ Tab: typeof Tab;
54
+ Content: typeof TabContent;
55
+ List: typeof TabsList;
56
+ };
57
+ interface TabsProps {
58
+ /**
59
+ * Render children
60
+ */
61
+ children: ReactNode;
62
+ /**
63
+ * Default to an inital value of a tab. If this is left blank it is possible for there to be no active tabs
64
+ */
65
+ defaultValue?: string;
66
+ /**
67
+ * Event handler called when the value changes.
68
+ */
69
+ onValueChange?: (value: string) => void;
70
+ /**
71
+ * When automatic, tabs are activated when receiving focus. When manual, tabs are activated when clicked.
72
+ */
73
+ activationMode?: "automatic" | "manual";
74
+ }
75
+ export { TabsList, TabsListProps, TabContent, TabContentProps, Tab, Tabs, TabsProps };