@arc-ui/components 11.9.0 → 11.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (491) hide show
  1. package/dist/Alert/Alert.cjs.js +16 -16
  2. package/dist/Alert/Alert.esm.js +16 -16
  3. package/dist/Alert/package.json +1 -1
  4. package/dist/Align/Align.cjs.js +3 -3
  5. package/dist/Align/Align.esm.js +3 -3
  6. package/dist/Align/package.json +1 -1
  7. package/dist/Badge/Badge.cjs.js +5 -5
  8. package/dist/Badge/Badge.esm.js +5 -5
  9. package/dist/Badge/package.json +1 -1
  10. package/dist/Base/Base.cjs.js +2 -2
  11. package/dist/Base/Base.esm.js +2 -2
  12. package/dist/Base/package.json +1 -1
  13. package/dist/Box/Box.cjs.js +3 -3
  14. package/dist/Box/Box.esm.js +3 -3
  15. package/dist/Box/package.json +1 -1
  16. package/dist/BrandLogo/BrandLogo.cjs.js +5 -5
  17. package/dist/BrandLogo/BrandLogo.esm.js +5 -5
  18. package/dist/BrandLogo/package.json +1 -1
  19. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +8 -8
  20. package/dist/Breadcrumbs/Breadcrumbs.esm.js +8 -8
  21. package/dist/Breadcrumbs/package.json +1 -1
  22. package/dist/Button/Button.cjs.js +8 -8
  23. package/dist/Button/Button.esm.js +8 -8
  24. package/dist/Button/package.json +1 -1
  25. package/dist/Card/Card.cjs.js +9 -9
  26. package/dist/Card/Card.esm.js +9 -9
  27. package/dist/Card/package.json +1 -1
  28. package/dist/Checkbox/Checkbox.cjs.js +11 -11
  29. package/dist/Checkbox/Checkbox.esm.js +11 -11
  30. package/dist/Checkbox/package.json +1 -1
  31. package/dist/Clock/Clock.cjs.js +1 -1
  32. package/dist/Clock/Clock.esm.js +1 -1
  33. package/dist/Clock/package.json +1 -1
  34. package/dist/Columns/Columns.cjs.js +4 -4
  35. package/dist/Columns/Columns.esm.js +4 -4
  36. package/dist/Columns/package.json +1 -1
  37. package/dist/Curve/Curve.cjs.js +4 -4
  38. package/dist/Curve/Curve.esm.js +4 -4
  39. package/dist/Curve/package.json +1 -1
  40. package/dist/Disclosure/Disclosure.cjs.js +7 -7
  41. package/dist/Disclosure/Disclosure.esm.js +7 -7
  42. package/dist/Disclosure/package.json +1 -1
  43. package/dist/DisclosureMini/DisclosureMini.cjs.js +7 -7
  44. package/dist/DisclosureMini/DisclosureMini.esm.js +7 -7
  45. package/dist/DisclosureMini/package.json +1 -1
  46. package/dist/Elevation/Elevation.cjs.js +2 -2
  47. package/dist/Elevation/Elevation.esm.js +2 -2
  48. package/dist/Elevation/package.json +1 -1
  49. package/dist/Filter/Filter.cjs.js +4 -4
  50. package/dist/Filter/Filter.esm.js +4 -4
  51. package/dist/Filter/package.json +1 -1
  52. package/dist/FormControl/FormControl.cjs.js +9 -9
  53. package/dist/FormControl/FormControl.esm.js +9 -9
  54. package/dist/FormControl/package.json +1 -1
  55. package/dist/Group/Group.cjs.js +4 -4
  56. package/dist/Group/Group.esm.js +4 -4
  57. package/dist/Group/package.json +1 -1
  58. package/dist/Heading/Heading.cjs.js +5 -5
  59. package/dist/Heading/Heading.esm.js +5 -5
  60. package/dist/Heading/package.json +1 -1
  61. package/dist/Icon/Icon.cjs.js +5 -5
  62. package/dist/Icon/Icon.esm.js +5 -5
  63. package/dist/Icon/package.json +1 -1
  64. package/dist/Image/Image.cjs.js +4 -4
  65. package/dist/Image/Image.esm.js +4 -4
  66. package/dist/Image/package.json +1 -1
  67. package/dist/Markup/Markup.cjs.js +3 -3
  68. package/dist/Markup/Markup.esm.js +3 -3
  69. package/dist/Markup/package.json +1 -1
  70. package/dist/Modal/Modal.cjs.js +21 -97
  71. package/dist/Modal/Modal.esm.js +21 -97
  72. package/dist/Modal/package.json +1 -1
  73. package/dist/Pagination/Pagination.cjs.js +11 -11
  74. package/dist/Pagination/Pagination.esm.js +11 -11
  75. package/dist/Pagination/package.json +1 -1
  76. package/dist/PaginationSimple/PaginationSimple.cjs.js +9 -9
  77. package/dist/PaginationSimple/PaginationSimple.esm.js +9 -9
  78. package/dist/PaginationSimple/package.json +1 -1
  79. package/dist/Poster/Poster.cjs.js +6 -6
  80. package/dist/Poster/Poster.esm.js +6 -6
  81. package/dist/Poster/package.json +1 -1
  82. package/dist/ProgressBar/ProgressBar.cjs.js +28 -32
  83. package/dist/ProgressBar/ProgressBar.esm.js +25 -29
  84. package/dist/ProgressBar/package.json +1 -1
  85. package/dist/ProgressStepper/ProgressStepper.cjs.js +8 -8
  86. package/dist/ProgressStepper/ProgressStepper.esm.js +8 -8
  87. package/dist/ProgressStepper/package.json +1 -1
  88. package/dist/RadioGroup/RadioGroup.cjs.js +10 -10
  89. package/dist/RadioGroup/RadioGroup.esm.js +10 -10
  90. package/dist/RadioGroup/package.json +1 -1
  91. package/dist/Rule/Rule.cjs.js +3 -3
  92. package/dist/Rule/Rule.esm.js +3 -3
  93. package/dist/Rule/package.json +1 -1
  94. package/dist/ScrollToTop/ScrollToTop.cjs.js +20 -23
  95. package/dist/ScrollToTop/ScrollToTop.esm.js +16 -19
  96. package/dist/ScrollToTop/package.json +1 -1
  97. package/dist/Section/Section.cjs.js +3 -3
  98. package/dist/Section/Section.esm.js +3 -3
  99. package/dist/Section/package.json +1 -1
  100. package/dist/Select/Select.cjs.js +198 -579
  101. package/dist/Select/Select.esm.js +61 -442
  102. package/dist/Select/package.json +1 -1
  103. package/dist/SiteFooter/SiteFooter.cjs.js +9 -9
  104. package/dist/SiteFooter/SiteFooter.esm.js +10 -10
  105. package/dist/SiteFooter/package.json +1 -1
  106. package/dist/SiteHeader/SiteHeader.cjs.js +13 -13
  107. package/dist/SiteHeader/SiteHeader.esm.js +13 -13
  108. package/dist/SiteHeader/package.json +1 -1
  109. package/dist/Surface/Surface.cjs.js +3 -3
  110. package/dist/Surface/Surface.esm.js +3 -3
  111. package/dist/Surface/package.json +1 -1
  112. package/dist/Switch/Switch.cjs.js +21 -244
  113. package/dist/Switch/Switch.esm.js +16 -239
  114. package/dist/Switch/package.json +1 -1
  115. package/dist/Tabs/Tabs.cjs.js +10 -10
  116. package/dist/Tabs/Tabs.esm.js +10 -10
  117. package/dist/Tabs/package.json +1 -1
  118. package/dist/Tag/Tag.cjs.js +32 -39
  119. package/dist/Tag/Tag.esm.js +28 -35
  120. package/dist/Tag/package.json +1 -1
  121. package/dist/Text/Text.cjs.js +5 -5
  122. package/dist/Text/Text.esm.js +5 -5
  123. package/dist/Text/package.json +1 -1
  124. package/dist/TextArea/TextArea.cjs.js +46 -47
  125. package/dist/TextArea/TextArea.esm.js +46 -47
  126. package/dist/TextArea/package.json +1 -1
  127. package/dist/TextInput/TextInput.cjs.js +10 -10
  128. package/dist/TextInput/TextInput.esm.js +10 -10
  129. package/dist/TextInput/package.json +1 -1
  130. package/dist/Toast/Toast.cjs.js +13 -13
  131. package/dist/Toast/Toast.esm.js +13 -13
  132. package/dist/Toast/package.json +1 -1
  133. package/dist/Truncate/Truncate.cjs.js +1 -1
  134. package/dist/Truncate/Truncate.esm.js +1 -1
  135. package/dist/Truncate/package.json +1 -1
  136. package/dist/UniversalHeader/UniversalHeader.cjs.js +4 -4
  137. package/dist/UniversalHeader/UniversalHeader.esm.js +4 -4
  138. package/dist/UniversalHeader/package.json +1 -1
  139. package/dist/VerticalSpace/VerticalSpace.cjs.js +3 -3
  140. package/dist/VerticalSpace/VerticalSpace.esm.js +3 -3
  141. package/dist/VerticalSpace/package.json +1 -1
  142. package/dist/VisuallyHidden/package.json +1 -1
  143. package/dist/_shared/cjs/{Base-569e4334.js → Base-f5a86eed.js} +1 -1
  144. package/dist/_shared/cjs/{BrandLogo-8107d59f.js → BrandLogo-aea340c8.js} +4 -4
  145. package/dist/_shared/cjs/{Breadcrumbs-0906dd10.js → Breadcrumbs-ed70e75a.js} +8 -10
  146. package/dist/_shared/cjs/BtIconAlert.esm-1a0ff9f0.js +34 -0
  147. package/dist/_shared/cjs/BtIconChevronDown2Px.esm-39030ee0.js +26 -0
  148. package/dist/_shared/cjs/BtIconChevronLeftMid.esm-0aaa6770.js +28 -0
  149. package/dist/_shared/cjs/BtIconChevronRight2Px.esm-dbf8cbee.js +44 -0
  150. package/dist/_shared/cjs/BtIconChevronRightMid.esm-d01ebbd4.js +28 -0
  151. package/dist/_shared/cjs/BtIconCrossAlt2Px.esm-1452b14b.js +26 -0
  152. package/dist/_shared/cjs/BtIconTick.esm-844eac6c.js +80 -0
  153. package/dist/_shared/cjs/BtIconTickAlt2Px.esm-57c89acc.js +26 -0
  154. package/dist/_shared/cjs/{Button-5aaa6776.js → Button-80781596.js} +8 -8
  155. package/dist/_shared/cjs/{Card-fd189ba8.js → Card-17dcc171.js} +9 -11
  156. package/dist/_shared/cjs/{Checkbox-02c546ca.js → Checkbox-b126194e.js} +8 -8
  157. package/dist/_shared/cjs/{Columns-e90798f8.js → Columns-ae4f8cef.js} +3 -4
  158. package/dist/_shared/cjs/{Curve-781ef633.js → Curve-d038052b.js} +3 -3
  159. package/dist/_shared/cjs/{DisclosureMini-52706ee6.js → DisclosureMini-d0eeb6bb.js} +6 -6
  160. package/dist/_shared/cjs/{Filter-a7574fe7.js → Filter-1bde635c.js} +3 -7
  161. package/dist/_shared/cjs/{FormControl-1e1bf2bf.js → FormControl-7daf8110.js} +7 -7
  162. package/dist/_shared/cjs/{Group-f85dd4c0.js → Group-0429741a.js} +4 -5
  163. package/dist/_shared/cjs/{Heading-e3332dcf.js → Heading-27cba320.js} +4 -5
  164. package/dist/_shared/cjs/{Icon-e1dd45eb.js → Icon-a9801f05.js} +15 -17
  165. package/dist/_shared/cjs/{Image-0e393cbf.js → Image-e873b8fc.js} +3 -4
  166. package/dist/_shared/cjs/{Poster-faea1ad3.js → Poster-9b48fd61.js} +5 -9
  167. package/dist/_shared/cjs/{ProgressStepper-f740d7bb.js → ProgressStepper-9cdc0afe.js} +44 -52
  168. package/dist/_shared/cjs/{RadioGroup-d7664b0c.js → RadioGroup-56e3b0e5.js} +4 -5
  169. package/dist/_shared/cjs/{Section-48aca5f5.js → Section-59804166.js} +2 -2
  170. package/dist/_shared/cjs/{SiteFooter-5da774e1.js → SiteFooter-6381ac4a.js} +7 -9
  171. package/dist/_shared/cjs/{SiteHeader.rehydrator-acc9d8c4.js → SiteHeader.rehydrator-0e2adbac.js} +19 -27
  172. package/dist/_shared/cjs/{Surface-b7c51b2b.js → Surface-038db6e1.js} +4 -5
  173. package/dist/_shared/cjs/{Tabs-fda49692.js → Tabs-2d2a517d.js} +72 -81
  174. package/dist/_shared/cjs/{Text-fa447e2d.js → Text-606ca3a2.js} +4 -4
  175. package/dist/_shared/cjs/{TextInput-f4549637.js → TextInput-539f9f30.js} +4 -4
  176. package/dist/_shared/cjs/{Toast-0cb23cae.js → Toast-69108261.js} +16 -25
  177. package/dist/_shared/cjs/{UniversalHeader-da622e1a.js → UniversalHeader-5e43d320.js} +2 -3
  178. package/dist/_shared/cjs/{VerticalSpace-86f697e7.js → VerticalSpace-dc53bb70.js} +2 -2
  179. package/dist/_shared/cjs/{extends-bb8ffacd.js → extends-8c5e4b48.js} +1 -4
  180. package/dist/_shared/cjs/filter-data-attrs-1c9a530c.js +227 -0
  181. package/dist/_shared/cjs/{index-ec260f5e.js → index-43458549.js} +13 -96
  182. package/dist/_shared/cjs/{index-96c4d581.js → index-6b2a9ac3.js} +2 -2
  183. package/dist/_shared/cjs/{index-45bfb67b.js → index-9947ac13.js} +11 -10
  184. package/dist/_shared/cjs/{index-fb4b8fda.js → index-adbb63da.js} +2 -9
  185. package/dist/_shared/cjs/{index-27b53d49.js → index-b2fd6338.js} +3 -80
  186. package/dist/_shared/cjs/{index-952918c9.js → index-c575a255.js} +11 -10
  187. package/dist/_shared/cjs/index.module-dd1d7d0b.js +382 -0
  188. package/dist/_shared/cjs/{suffix-modifier-1ee2da04.js → suffix-modifier-64dcd338.js} +1 -1
  189. package/dist/_shared/esm/{Base-6c01e0ec.js → Base-f200653c.js} +1 -1
  190. package/dist/_shared/esm/{BrandLogo-9ec620e8.js → BrandLogo-1af78f76.js} +4 -4
  191. package/dist/_shared/esm/{Breadcrumbs-dafa8dde.js → Breadcrumbs-87e2bd46.js} +8 -10
  192. package/dist/_shared/esm/BtIconAlert.esm-a4608d47.js +28 -0
  193. package/dist/_shared/esm/BtIconChevronDown2Px.esm-217276c2.js +20 -0
  194. package/dist/_shared/esm/BtIconChevronLeftMid.esm-1ed8330b.js +22 -0
  195. package/dist/_shared/esm/BtIconChevronRight2Px.esm-75e92636.js +37 -0
  196. package/dist/_shared/esm/BtIconChevronRightMid.esm-32268f1a.js +22 -0
  197. package/dist/_shared/esm/BtIconCrossAlt2Px.esm-7165ab1a.js +20 -0
  198. package/dist/_shared/esm/BtIconTick.esm-e265098f.js +72 -0
  199. package/dist/_shared/esm/BtIconTickAlt2Px.esm-0bc2ded0.js +20 -0
  200. package/dist/_shared/esm/{Button-d1dbcf79.js → Button-69073fb3.js} +8 -8
  201. package/dist/_shared/esm/{Card-e62c3ff6.js → Card-201e9f28.js} +9 -11
  202. package/dist/_shared/esm/{Checkbox-d8891198.js → Checkbox-d6ec5024.js} +8 -8
  203. package/dist/_shared/esm/{Columns-8704515b.js → Columns-d96b7425.js} +3 -4
  204. package/dist/_shared/esm/{Curve-bbc5589c.js → Curve-d8679dde.js} +3 -3
  205. package/dist/_shared/esm/{DisclosureMini-9b819941.js → DisclosureMini-ec17b008.js} +6 -6
  206. package/dist/_shared/esm/{Filter-a01aed11.js → Filter-58a42358.js} +3 -7
  207. package/dist/_shared/esm/{FormControl-f18e2f59.js → FormControl-351e5f1b.js} +7 -7
  208. package/dist/_shared/esm/{Group-fb26fd32.js → Group-73fdb896.js} +4 -5
  209. package/dist/_shared/esm/{Heading-0f629151.js → Heading-d16e0e53.js} +4 -5
  210. package/dist/_shared/esm/{Icon-c1af47bc.js → Icon-abd0d990.js} +12 -14
  211. package/dist/_shared/esm/{Image-3ed3863c.js → Image-12fbd327.js} +3 -4
  212. package/dist/_shared/esm/{Poster-a83ae770.js → Poster-4ec2f679.js} +5 -9
  213. package/dist/_shared/esm/{ProgressStepper-7ab88f4c.js → ProgressStepper-f51f86c3.js} +41 -49
  214. package/dist/_shared/esm/{RadioGroup-be16d5d3.js → RadioGroup-c838764c.js} +4 -5
  215. package/dist/_shared/esm/{Section-b8038d66.js → Section-73781b56.js} +2 -2
  216. package/dist/_shared/esm/{SiteFooter-a182cb18.js → SiteFooter-233bb926.js} +7 -9
  217. package/dist/_shared/esm/{SiteHeader.rehydrator-023b7b76.js → SiteHeader.rehydrator-bafcb166.js} +19 -27
  218. package/dist/_shared/esm/{Surface-dde51789.js → Surface-0ca6817d.js} +4 -5
  219. package/dist/_shared/esm/{Tabs-5af0b940.js → Tabs-f903187a.js} +28 -37
  220. package/dist/_shared/esm/{Text-40457811.js → Text-14f586ac.js} +4 -4
  221. package/dist/_shared/esm/{TextInput-4424c195.js → TextInput-ee68c88b.js} +4 -4
  222. package/dist/_shared/esm/{Toast-43795e91.js → Toast-37549e68.js} +16 -25
  223. package/dist/_shared/esm/{UniversalHeader-1c5a886d.js → UniversalHeader-b4c1577c.js} +2 -3
  224. package/dist/_shared/esm/{VerticalSpace-93980c9c.js → VerticalSpace-43cd9138.js} +2 -2
  225. package/dist/_shared/esm/{extends-4575346e.js → extends-8cc61aad.js} +1 -4
  226. package/dist/_shared/esm/filter-data-attrs-ea8f4ed4.js +220 -0
  227. package/dist/_shared/esm/{index-22aad354.js → index-13d575cc.js} +11 -11
  228. package/dist/_shared/esm/{index-2ae58626.js → index-2e73c2e9.js} +11 -10
  229. package/dist/_shared/esm/{index-94ecc5f8.js → index-3797d77e.js} +2 -2
  230. package/dist/_shared/esm/{index-369dce7f.js → index-41d7af2b.js} +9 -92
  231. package/dist/_shared/esm/{index-8000d9e3.js → index-a1d2d9b3.js} +2 -79
  232. package/dist/_shared/esm/{index-bed18a88.js → index-efd9ef1c.js} +1 -9
  233. package/dist/_shared/esm/index.module-44714d3f.js +371 -0
  234. package/dist/_shared/esm/{suffix-modifier-7e640670.js → suffix-modifier-3d548e45.js} +1 -1
  235. package/dist/index.es.js +831 -1527
  236. package/dist/index.es.js.map +1 -1
  237. package/dist/index.js +1260 -1956
  238. package/dist/index.js.map +1 -1
  239. package/dist/styles.css +11 -1
  240. package/dist/types/components/Alert/Alert.d.ts +2 -2
  241. package/dist/types/components/Box/index.d.ts +1 -1
  242. package/dist/types/components/BrandLogo/BrandLogo.d.ts +2 -2
  243. package/dist/types/components/Button/Button.d.ts +2 -2
  244. package/dist/types/components/Card/Card.d.ts +1 -1
  245. package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
  246. package/dist/types/components/Clock/Clock.d.ts +1 -1
  247. package/dist/types/components/Columns/Columns.d.ts +2 -2
  248. package/dist/types/components/Columns/index.d.ts +1 -1
  249. package/dist/types/components/Curve/Curve.d.ts +4 -4
  250. package/dist/types/components/FormControl/FormControl.d.ts +1 -1
  251. package/dist/types/components/Group/GroupItem/GroupItem.d.ts +17 -0
  252. package/dist/types/components/Heading/Heading.d.ts +4 -4
  253. package/dist/types/components/Icon/Icon.d.ts +1 -1
  254. package/dist/types/components/Image/Image.d.ts +4 -4
  255. package/dist/types/components/MediaCard/MediaCard.d.ts +1 -1
  256. package/dist/types/components/MediaCard/MediaCard.stories-wip.d.ts +15 -0
  257. package/dist/types/components/Poster/PosterImage.d.ts +2 -2
  258. package/dist/types/components/Poster/PosterVideo.d.ts +1 -1
  259. package/dist/types/components/ProgressBar/types/progress-bar-icons.d.ts +1 -1
  260. package/dist/types/components/ProgressBar/types/progress-bar-state.d.ts +1 -1
  261. package/dist/types/components/ProgressStepper/progressStatus.d.ts +1 -1
  262. package/dist/types/components/RadioGroup/RadioGroup.d.ts +1 -1
  263. package/dist/types/components/RadioGroup/context.d.ts +2 -2
  264. package/dist/types/components/SiteHeader/SiteHeader.d.ts +1 -1
  265. package/dist/types/components/Surface/Surface.d.ts +3 -3
  266. package/dist/types/components/Surface/index.d.ts +1 -1
  267. package/dist/types/components/Text/Text.d.ts +2 -2
  268. package/dist/types/components/TextArea/TextArea.d.ts +1 -1
  269. package/dist/types/components/TextInput/TextInput.d.ts +1 -1
  270. package/dist/types/components/Toast/Toast.d.ts +3 -0
  271. package/dist/types/components/Toast/ToastNotification.d.ts +1 -1
  272. package/dist/types/components/VerticalSpace/VerticalSpace.d.ts +1 -1
  273. package/dist/types/hooks/use-aria-describedby.d.ts +1 -1
  274. package/dist/types/types/arc-icon.d.ts +1 -1
  275. package/package.json +49 -19
  276. package/dist/Alert/Alert.cjs.d.ts +0 -57
  277. package/dist/Alert/Alert.esm.d.ts +0 -57
  278. package/dist/Align/Align.cjs.d.ts +0 -25
  279. package/dist/Align/Align.esm.d.ts +0 -25
  280. package/dist/Badge/Badge.cjs.d.ts +0 -30
  281. package/dist/Badge/Badge.esm.d.ts +0 -30
  282. package/dist/Base/Base.cjs.d.ts +0 -1
  283. package/dist/Base/Base.esm.d.ts +0 -1
  284. package/dist/Box/Box.cjs.d.ts +0 -40
  285. package/dist/Box/Box.esm.d.ts +0 -40
  286. package/dist/BrandLogo/BrandLogo.cjs.d.ts +0 -1
  287. package/dist/BrandLogo/BrandLogo.esm.d.ts +0 -1
  288. package/dist/Breadcrumbs/Breadcrumbs.cjs.d.ts +0 -1
  289. package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +0 -1
  290. package/dist/Button/Button.cjs.d.ts +0 -1
  291. package/dist/Button/Button.esm.d.ts +0 -1
  292. package/dist/Card/Card.cjs.d.ts +0 -1
  293. package/dist/Card/Card.esm.d.ts +0 -1
  294. package/dist/Checkbox/Checkbox.cjs.d.ts +0 -1
  295. package/dist/Checkbox/Checkbox.esm.d.ts +0 -1
  296. package/dist/Clock/Clock.cjs.d.ts +0 -15
  297. package/dist/Clock/Clock.esm.d.ts +0 -15
  298. package/dist/Columns/Columns.cjs.d.ts +0 -1
  299. package/dist/Columns/Columns.esm.d.ts +0 -1
  300. package/dist/Curve/Curve.cjs.d.ts +0 -1
  301. package/dist/Curve/Curve.esm.d.ts +0 -1
  302. package/dist/Disclosure/Disclosure.cjs.d.ts +0 -31
  303. package/dist/Disclosure/Disclosure.esm.d.ts +0 -31
  304. package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +0 -1
  305. package/dist/DisclosureMini/DisclosureMini.esm.d.ts +0 -1
  306. package/dist/Elevation/Elevation.cjs.d.ts +0 -20
  307. package/dist/Elevation/Elevation.esm.d.ts +0 -20
  308. package/dist/Filter/Filter.cjs.d.ts +0 -1
  309. package/dist/Filter/Filter.esm.d.ts +0 -1
  310. package/dist/FormControl/FormControl.cjs.d.ts +0 -1
  311. package/dist/FormControl/FormControl.esm.d.ts +0 -1
  312. package/dist/Group/Group.cjs.d.ts +0 -1
  313. package/dist/Group/Group.esm.d.ts +0 -1
  314. package/dist/Heading/Heading.cjs.d.ts +0 -1
  315. package/dist/Heading/Heading.esm.d.ts +0 -1
  316. package/dist/Icon/Icon.cjs.d.ts +0 -1
  317. package/dist/Icon/Icon.esm.d.ts +0 -1
  318. package/dist/Image/Image.cjs.d.ts +0 -1
  319. package/dist/Image/Image.esm.d.ts +0 -1
  320. package/dist/Markup/Markup.cjs.d.ts +0 -16
  321. package/dist/Markup/Markup.esm.d.ts +0 -16
  322. package/dist/Modal/Modal.cjs.d.ts +0 -53
  323. package/dist/Modal/Modal.esm.d.ts +0 -53
  324. package/dist/Pagination/Pagination.cjs.d.ts +0 -20
  325. package/dist/Pagination/Pagination.esm.d.ts +0 -20
  326. package/dist/PaginationSimple/PaginationSimple.cjs.d.ts +0 -28
  327. package/dist/PaginationSimple/PaginationSimple.esm.d.ts +0 -28
  328. package/dist/Poster/Poster.cjs.d.ts +0 -1
  329. package/dist/Poster/Poster.esm.d.ts +0 -1
  330. package/dist/ProgressBar/ProgressBar.cjs.d.ts +0 -47
  331. package/dist/ProgressBar/ProgressBar.esm.d.ts +0 -47
  332. package/dist/ProgressStepper/ProgressStepper.cjs.d.ts +0 -1
  333. package/dist/ProgressStepper/ProgressStepper.esm.d.ts +0 -1
  334. package/dist/RadioGroup/RadioGroup.cjs.d.ts +0 -1
  335. package/dist/RadioGroup/RadioGroup.esm.d.ts +0 -1
  336. package/dist/Rule/Rule.cjs.d.ts +0 -8
  337. package/dist/Rule/Rule.esm.d.ts +0 -8
  338. package/dist/ScrollToTop/ScrollToTop.cjs.d.ts +0 -25
  339. package/dist/ScrollToTop/ScrollToTop.esm.d.ts +0 -25
  340. package/dist/Section/Section.cjs.d.ts +0 -1
  341. package/dist/Section/Section.esm.d.ts +0 -1
  342. package/dist/Select/Select.cjs.d.ts +0 -25
  343. package/dist/Select/Select.esm.d.ts +0 -25
  344. package/dist/SiteFooter/SiteFooter.cjs.d.ts +0 -4
  345. package/dist/SiteFooter/SiteFooter.esm.d.ts +0 -4
  346. package/dist/SiteHeader/SiteHeader.cjs.d.ts +0 -2
  347. package/dist/SiteHeader/SiteHeader.esm.d.ts +0 -2
  348. package/dist/Surface/Surface.cjs.d.ts +0 -1
  349. package/dist/Surface/Surface.esm.d.ts +0 -1
  350. package/dist/Switch/Switch.cjs.d.ts +0 -40
  351. package/dist/Switch/Switch.esm.d.ts +0 -40
  352. package/dist/Tabs/Tabs.cjs.d.ts +0 -1
  353. package/dist/Tabs/Tabs.esm.d.ts +0 -1
  354. package/dist/Tag/Tag.cjs.d.ts +0 -33
  355. package/dist/Tag/Tag.esm.d.ts +0 -33
  356. package/dist/Text/Text.cjs.d.ts +0 -1
  357. package/dist/Text/Text.esm.d.ts +0 -1
  358. package/dist/TextArea/TextArea.cjs.d.ts +0 -64
  359. package/dist/TextArea/TextArea.esm.d.ts +0 -64
  360. package/dist/TextInput/TextInput.cjs.d.ts +0 -1
  361. package/dist/TextInput/TextInput.esm.d.ts +0 -1
  362. package/dist/Toast/Toast.cjs.d.ts +0 -1
  363. package/dist/Toast/Toast.esm.d.ts +0 -1
  364. package/dist/Truncate/Truncate.cjs.d.ts +0 -18
  365. package/dist/Truncate/Truncate.esm.d.ts +0 -18
  366. package/dist/UniversalHeader/UniversalHeader.cjs.d.ts +0 -1
  367. package/dist/UniversalHeader/UniversalHeader.esm.d.ts +0 -1
  368. package/dist/VerticalSpace/VerticalSpace.cjs.d.ts +0 -1
  369. package/dist/VerticalSpace/VerticalSpace.esm.d.ts +0 -1
  370. package/dist/VisuallyHidden/VisuallyHidden.cjs.d.ts +0 -1
  371. package/dist/VisuallyHidden/VisuallyHidden.esm.d.ts +0 -1
  372. package/dist/_shared/cjs/Base-569e4334.d.ts +0 -19
  373. package/dist/_shared/cjs/BrandLogo-8107d59f.d.ts +0 -26
  374. package/dist/_shared/cjs/Breadcrumbs-0906dd10.d.ts +0 -61
  375. package/dist/_shared/cjs/BtIconAlert-637db790.js +0 -38
  376. package/dist/_shared/cjs/BtIconChevronDown2Px-8fb4e2eb.js +0 -29
  377. package/dist/_shared/cjs/BtIconChevronLeftMid-df952a3e.js +0 -31
  378. package/dist/_shared/cjs/BtIconChevronRight2Px-a8e40136.js +0 -50
  379. package/dist/_shared/cjs/BtIconChevronRightMid-5a38d855.js +0 -31
  380. package/dist/_shared/cjs/BtIconCrossAlt2Px-30dc2688.js +0 -29
  381. package/dist/_shared/cjs/BtIconTick-42fcc5ec.js +0 -91
  382. package/dist/_shared/cjs/BtIconTickAlt2Px-bdf06f8c.js +0 -29
  383. package/dist/_shared/cjs/Button-5aaa6776.d.ts +0 -102
  384. package/dist/_shared/cjs/Card-fd189ba8.d.ts +0 -136
  385. package/dist/_shared/cjs/Checkbox-02c546ca.d.ts +0 -64
  386. package/dist/_shared/cjs/Columns-e90798f8.d.ts +0 -76
  387. package/dist/_shared/cjs/Curve-781ef633.d.ts +0 -35
  388. package/dist/_shared/cjs/DisclosureMini-52706ee6.d.ts +0 -37
  389. package/dist/_shared/cjs/Filter-a7574fe7.d.ts +0 -83
  390. package/dist/_shared/cjs/FormControl-1e1bf2bf.d.ts +0 -99
  391. package/dist/_shared/cjs/Group-f85dd4c0.d.ts +0 -46
  392. package/dist/_shared/cjs/Heading-e3332dcf.d.ts +0 -50
  393. package/dist/_shared/cjs/Icon-e1dd45eb.d.ts +0 -34
  394. package/dist/_shared/cjs/Image-0e393cbf.d.ts +0 -94
  395. package/dist/_shared/cjs/ItemGroup-5af4d600.d.ts +0 -27
  396. package/dist/_shared/cjs/MediaCard-9483ad5f.d.ts +0 -60
  397. package/dist/_shared/cjs/NavItem-df20237c.d.ts +0 -43
  398. package/dist/_shared/cjs/NavItemWithSubNav-65f21828.d.ts +0 -49
  399. package/dist/_shared/cjs/Poster-faea1ad3.d.ts +0 -81
  400. package/dist/_shared/cjs/ProgressStepper-f740d7bb.d.ts +0 -89
  401. package/dist/_shared/cjs/RadioGroup-d7664b0c.d.ts +0 -97
  402. package/dist/_shared/cjs/Section-48aca5f5.d.ts +0 -21
  403. package/dist/_shared/cjs/SiteFooter-5da774e1.d.ts +0 -62
  404. package/dist/_shared/cjs/SiteHeader-c25ee36e.d.ts +0 -78
  405. package/dist/_shared/cjs/SiteHeader.rehydrator-acc9d8c4.d.ts +0 -78
  406. package/dist/_shared/cjs/SubNavItem-a84d1bf4.d.ts +0 -48
  407. package/dist/_shared/cjs/Surface-b7c51b2b.d.ts +0 -51
  408. package/dist/_shared/cjs/Tabs-fda49692.d.ts +0 -75
  409. package/dist/_shared/cjs/Text-fa447e2d.d.ts +0 -38
  410. package/dist/_shared/cjs/TextInput-13050538.d.ts +0 -77
  411. package/dist/_shared/cjs/TextInput-f4549637.d.ts +0 -10
  412. package/dist/_shared/cjs/Toast-0cb23cae.d.ts +0 -52
  413. package/dist/_shared/cjs/UniversalHeader-da622e1a.d.ts +0 -26
  414. package/dist/_shared/cjs/VerticalSpace-86f697e7.d.ts +0 -34
  415. package/dist/_shared/cjs/VisuallyHidden-e2c8b291.d.ts +0 -12
  416. package/dist/_shared/cjs/arc-icon-17594b2f.d.ts +0 -4
  417. package/dist/_shared/cjs/filter-data-attrs-a30dcf5f.d.ts +0 -2
  418. package/dist/_shared/cjs/filter-data-attrs-a30dcf5f.js +0 -215
  419. package/dist/_shared/cjs/handle-link-click-17a44cf4.d.ts +0 -7
  420. package/dist/_shared/cjs/index-699086a7.d.ts +0 -2
  421. package/dist/_shared/cjs/index-74488a9f.d.ts +0 -2
  422. package/dist/_shared/cjs/index-9483ad5f.d.ts +0 -14
  423. package/dist/_shared/cjs/index-c81c9401.d.ts +0 -4
  424. package/dist/_shared/cjs/index-e340924e.d.ts +0 -2
  425. package/dist/_shared/cjs/index-e6d20018.d.ts +0 -3
  426. package/dist/_shared/cjs/index-eb06f640.d.ts +0 -2
  427. package/dist/_shared/cjs/index-f419cf04.d.ts +0 -2
  428. package/dist/_shared/cjs/index.es-77def0c9.d.ts +0 -19
  429. package/dist/_shared/cjs/index.module-bbcc4e18.js +0 -126
  430. package/dist/_shared/cjs/suffix-modifier-1ee2da04.d.ts +0 -10
  431. package/dist/_shared/esm/Base-6c01e0ec.d.ts +0 -19
  432. package/dist/_shared/esm/BrandLogo-9ec620e8.d.ts +0 -26
  433. package/dist/_shared/esm/Breadcrumbs-dafa8dde.d.ts +0 -61
  434. package/dist/_shared/esm/BtIconAlert-55a6ed5c.js +0 -32
  435. package/dist/_shared/esm/BtIconChevronDown2Px-782876e2.js +0 -23
  436. package/dist/_shared/esm/BtIconChevronLeftMid-9f4f3a3d.js +0 -25
  437. package/dist/_shared/esm/BtIconChevronRight2Px-b8e7b4ad.js +0 -43
  438. package/dist/_shared/esm/BtIconChevronRightMid-d9b11761.js +0 -25
  439. package/dist/_shared/esm/BtIconCrossAlt2Px-a6a9f431.js +0 -23
  440. package/dist/_shared/esm/BtIconTick-5fe50cc7.js +0 -83
  441. package/dist/_shared/esm/BtIconTickAlt2Px-da97e9ae.js +0 -23
  442. package/dist/_shared/esm/Button-d1dbcf79.d.ts +0 -102
  443. package/dist/_shared/esm/Card-e62c3ff6.d.ts +0 -136
  444. package/dist/_shared/esm/Checkbox-d8891198.d.ts +0 -64
  445. package/dist/_shared/esm/Columns-8704515b.d.ts +0 -76
  446. package/dist/_shared/esm/Curve-bbc5589c.d.ts +0 -35
  447. package/dist/_shared/esm/DisclosureMini-9b819941.d.ts +0 -37
  448. package/dist/_shared/esm/Filter-a01aed11.d.ts +0 -83
  449. package/dist/_shared/esm/FormControl-f18e2f59.d.ts +0 -99
  450. package/dist/_shared/esm/Group-fb26fd32.d.ts +0 -46
  451. package/dist/_shared/esm/Heading-0f629151.d.ts +0 -50
  452. package/dist/_shared/esm/Icon-c1af47bc.d.ts +0 -34
  453. package/dist/_shared/esm/Image-3ed3863c.d.ts +0 -94
  454. package/dist/_shared/esm/ItemGroup-5af4d600.d.ts +0 -27
  455. package/dist/_shared/esm/MediaCard-9483ad5f.d.ts +0 -60
  456. package/dist/_shared/esm/NavItem-df20237c.d.ts +0 -43
  457. package/dist/_shared/esm/NavItemWithSubNav-65f21828.d.ts +0 -49
  458. package/dist/_shared/esm/Poster-a83ae770.d.ts +0 -81
  459. package/dist/_shared/esm/ProgressStepper-7ab88f4c.d.ts +0 -89
  460. package/dist/_shared/esm/RadioGroup-be16d5d3.d.ts +0 -97
  461. package/dist/_shared/esm/Section-b8038d66.d.ts +0 -21
  462. package/dist/_shared/esm/SiteFooter-a182cb18.d.ts +0 -62
  463. package/dist/_shared/esm/SiteHeader-c25ee36e.d.ts +0 -78
  464. package/dist/_shared/esm/SiteHeader.rehydrator-023b7b76.d.ts +0 -78
  465. package/dist/_shared/esm/SubNavItem-a84d1bf4.d.ts +0 -48
  466. package/dist/_shared/esm/Surface-dde51789.d.ts +0 -51
  467. package/dist/_shared/esm/Tabs-5af0b940.d.ts +0 -75
  468. package/dist/_shared/esm/Text-40457811.d.ts +0 -38
  469. package/dist/_shared/esm/TextInput-13050538.d.ts +0 -77
  470. package/dist/_shared/esm/TextInput-4424c195.d.ts +0 -10
  471. package/dist/_shared/esm/Toast-43795e91.d.ts +0 -52
  472. package/dist/_shared/esm/UniversalHeader-1c5a886d.d.ts +0 -26
  473. package/dist/_shared/esm/VerticalSpace-93980c9c.d.ts +0 -34
  474. package/dist/_shared/esm/VisuallyHidden-b9eebf71.d.ts +0 -12
  475. package/dist/_shared/esm/arc-icon-17594b2f.d.ts +0 -4
  476. package/dist/_shared/esm/filter-data-attrs-afdb7d32.d.ts +0 -2
  477. package/dist/_shared/esm/filter-data-attrs-afdb7d32.js +0 -208
  478. package/dist/_shared/esm/handle-link-click-f64f55a2.d.ts +0 -7
  479. package/dist/_shared/esm/index-699086a7.d.ts +0 -2
  480. package/dist/_shared/esm/index-74488a9f.d.ts +0 -2
  481. package/dist/_shared/esm/index-9483ad5f.d.ts +0 -14
  482. package/dist/_shared/esm/index-c81c9401.d.ts +0 -4
  483. package/dist/_shared/esm/index-e340924e.d.ts +0 -2
  484. package/dist/_shared/esm/index-e6d20018.d.ts +0 -3
  485. package/dist/_shared/esm/index-eb06f640.d.ts +0 -2
  486. package/dist/_shared/esm/index-f419cf04.d.ts +0 -2
  487. package/dist/_shared/esm/index.es-00cb3bcb.d.ts +0 -19
  488. package/dist/_shared/esm/index.module-5ed90b21.js +0 -122
  489. package/dist/_shared/esm/suffix-modifier-7e640670.d.ts +0 -10
  490. /package/dist/_shared/cjs/{debounce-506538c5.js → debounce-123468fb.js} +0 -0
  491. /package/dist/_shared/esm/{debounce-e228705f.js → debounce-6fed6b84.js} +0 -0
@@ -1,215 +0,0 @@
1
- 'use strict';
2
-
3
- /*! *****************************************************************************
4
- Copyright (c) Microsoft Corporation.
5
-
6
- Permission to use, copy, modify, and/or distribute this software for any
7
- purpose with or without fee is hereby granted.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
- PERFORMANCE OF THIS SOFTWARE.
16
- ***************************************************************************** */
17
-
18
- exports.__assign = function() {
19
- exports.__assign = Object.assign || function __assign(t) {
20
- for (var s, i = 1, n = arguments.length; i < n; i++) {
21
- s = arguments[i];
22
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
23
- }
24
- return t;
25
- };
26
- return exports.__assign.apply(this, arguments);
27
- };
28
-
29
- function __rest(s, e) {
30
- var t = {};
31
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
32
- t[p] = s[p];
33
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
34
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
35
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
36
- t[p[i]] = s[p[i]];
37
- }
38
- return t;
39
- }
40
-
41
- function __awaiter(thisArg, _arguments, P, generator) {
42
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
- return new (P || (P = Promise))(function (resolve, reject) {
44
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
- step((generator = generator.apply(thisArg, _arguments || [])).next());
48
- });
49
- }
50
-
51
- function __generator(thisArg, body) {
52
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
53
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
54
- function verb(n) { return function (v) { return step([n, v]); }; }
55
- function step(op) {
56
- if (f) throw new TypeError("Generator is already executing.");
57
- while (_) try {
58
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
59
- if (y = 0, t) op = [op[0] & 2, t.value];
60
- switch (op[0]) {
61
- case 0: case 1: t = op; break;
62
- case 4: _.label++; return { value: op[1], done: false };
63
- case 5: _.label++; y = op[1]; op = [0]; continue;
64
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
65
- default:
66
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
67
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
68
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
69
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
70
- if (t[2]) _.ops.pop();
71
- _.trys.pop(); continue;
72
- }
73
- op = body.call(thisArg, _);
74
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
75
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
76
- }
77
- }
78
-
79
- function __spreadArray(to, from, pack) {
80
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
81
- if (ar || !(i in from)) {
82
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
83
- ar[i] = from[i];
84
- }
85
- }
86
- return to.concat(ar || Array.prototype.slice.call(from));
87
- }
88
-
89
- var camelcase = {exports: {}};
90
-
91
- const UPPERCASE = /[\p{Lu}]/u;
92
- const LOWERCASE = /[\p{Ll}]/u;
93
- const LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu;
94
- const IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u;
95
- const SEPARATORS = /[_.\- ]+/;
96
-
97
- const LEADING_SEPARATORS = new RegExp('^' + SEPARATORS.source);
98
- const SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, 'gu');
99
- const NUMBERS_AND_IDENTIFIER = new RegExp('\\d+' + IDENTIFIER.source, 'gu');
100
-
101
- const preserveCamelCase = (string, locale) => {
102
- let isLastCharLower = false;
103
- let isLastCharUpper = false;
104
- let isLastLastCharUpper = false;
105
-
106
- for (let i = 0; i < string.length; i++) {
107
- const character = string[i];
108
-
109
- if (isLastCharLower && UPPERCASE.test(character)) {
110
- string = string.slice(0, i) + '-' + string.slice(i);
111
- isLastCharLower = false;
112
- isLastLastCharUpper = isLastCharUpper;
113
- isLastCharUpper = true;
114
- i++;
115
- } else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character)) {
116
- string = string.slice(0, i - 1) + '-' + string.slice(i - 1);
117
- isLastLastCharUpper = isLastCharUpper;
118
- isLastCharUpper = false;
119
- isLastCharLower = true;
120
- } else {
121
- isLastCharLower = character.toLocaleLowerCase(locale) === character && character.toLocaleUpperCase(locale) !== character;
122
- isLastLastCharUpper = isLastCharUpper;
123
- isLastCharUpper = character.toLocaleUpperCase(locale) === character && character.toLocaleLowerCase(locale) !== character;
124
- }
125
- }
126
-
127
- return string;
128
- };
129
-
130
- const preserveConsecutiveUppercase = input => {
131
- LEADING_CAPITAL.lastIndex = 0;
132
-
133
- return input.replace(LEADING_CAPITAL, m1 => m1.toLowerCase());
134
- };
135
-
136
- const postProcess = (input, options) => {
137
- SEPARATORS_AND_IDENTIFIER.lastIndex = 0;
138
- NUMBERS_AND_IDENTIFIER.lastIndex = 0;
139
-
140
- return input.replace(SEPARATORS_AND_IDENTIFIER, (_, identifier) => identifier.toLocaleUpperCase(options.locale))
141
- .replace(NUMBERS_AND_IDENTIFIER, m => m.toLocaleUpperCase(options.locale));
142
- };
143
-
144
- const camelCase = (input, options) => {
145
- if (!(typeof input === 'string' || Array.isArray(input))) {
146
- throw new TypeError('Expected the input to be `string | string[]`');
147
- }
148
-
149
- options = {
150
- pascalCase: false,
151
- preserveConsecutiveUppercase: false,
152
- ...options
153
- };
154
-
155
- if (Array.isArray(input)) {
156
- input = input.map(x => x.trim())
157
- .filter(x => x.length)
158
- .join('-');
159
- } else {
160
- input = input.trim();
161
- }
162
-
163
- if (input.length === 0) {
164
- return '';
165
- }
166
-
167
- if (input.length === 1) {
168
- return options.pascalCase ? input.toLocaleUpperCase(options.locale) : input.toLocaleLowerCase(options.locale);
169
- }
170
-
171
- const hasUpperCase = input !== input.toLocaleLowerCase(options.locale);
172
-
173
- if (hasUpperCase) {
174
- input = preserveCamelCase(input, options.locale);
175
- }
176
-
177
- input = input.replace(LEADING_SEPARATORS, '');
178
-
179
- if (options.preserveConsecutiveUppercase) {
180
- input = preserveConsecutiveUppercase(input);
181
- } else {
182
- input = input.toLocaleLowerCase();
183
- }
184
-
185
- if (options.pascalCase) {
186
- input = input.charAt(0).toLocaleUpperCase(options.locale) + input.slice(1);
187
- }
188
-
189
- return postProcess(input, options);
190
- };
191
-
192
- camelcase.exports = camelCase;
193
- // TODO: Remove this for the next major release
194
- camelcase.exports.default = camelCase;
195
-
196
- var camelCase$1 = camelcase.exports;
197
-
198
- var dataAttrRe = /^(data-.*)$/;
199
- var filterDataAttrs = function (props) {
200
- var filteredProps = {};
201
- for (var prop in props) {
202
- if (Object.prototype.hasOwnProperty.call(props, prop) &&
203
- dataAttrRe.test(prop)) {
204
- filteredProps[prop] = props[prop];
205
- }
206
- }
207
- return filteredProps;
208
- };
209
-
210
- exports.__awaiter = __awaiter;
211
- exports.__generator = __generator;
212
- exports.__rest = __rest;
213
- exports.__spreadArray = __spreadArray;
214
- exports.camelCase = camelCase$1;
215
- exports.filterDataAttrs = filterDataAttrs;
@@ -1,7 +0,0 @@
1
- import { MouseEvent } from "react";
2
- interface IHandleLinkClick {
3
- handler?: () => void;
4
- preventDefault?: boolean;
5
- }
6
- declare const handleLinkClick: ({ handler, preventDefault }: IHandleLinkClick) => (e: MouseEvent<HTMLAnchorElement>) => void;
7
- export { handleLinkClick };
@@ -1,2 +0,0 @@
1
- export { Item } from "./SiteHeader.rehydrator-acc9d8c4";
2
- export {};
@@ -1,2 +0,0 @@
1
- export { SubNavItem } from "./SubNavItem-a84d1bf4";
2
- export { default as SubNavItemRehydrator } from "./SiteHeader.rehydrator-acc9d8c4";
@@ -1,14 +0,0 @@
1
- declare const anchorPoints: readonly [
2
- "N",
3
- "NE",
4
- "E",
5
- "SE",
6
- "S",
7
- "SW",
8
- "W",
9
- "NW",
10
- "C"
11
- ];
12
- export { anchorPoints };
13
- export * from "./filter-data-attrs-a30dcf5f";
14
- export * from "./suffix-modifier-1ee2da04";
@@ -1,4 +0,0 @@
1
- export * from "./FormControl-1e1bf2bf";
2
- export * from "./Card-fd189ba8";
3
- export * from "./index.es-77def0c9";
4
- export * from "./TextInput-f4549637";
@@ -1,2 +0,0 @@
1
- export { ItemGroup } from "./ItemGroup-5af4d600";
2
- export { default as ItemGroupRehydrator } from "./SiteHeader.rehydrator-acc9d8c4";
@@ -1,3 +0,0 @@
1
- export { NavItem } from "./NavItem-df20237c";
2
- export { default as NavItemRehydrator, default as NavItemWithSubNavRehydrator } from "./SiteHeader.rehydrator-acc9d8c4";
3
- export { NavItemWithSubNav } from "./NavItemWithSubNav-65f21828";
@@ -1,2 +0,0 @@
1
- export { Panel } from "./SiteHeader.rehydrator-acc9d8c4";
2
- export {};
@@ -1,2 +0,0 @@
1
- export { Column } from "./SiteHeader.rehydrator-acc9d8c4";
2
- export {};
@@ -1,19 +0,0 @@
1
- /**
2
- * @typedef MediaQueryOutputs
3
- * @param {boolean} matches - does the document match the media query?
4
- */
5
- /**
6
- * Handle with care!
7
- *
8
- * If you need to change something in the browser based on @media query, you
9
- * probably don’t need this hook. Use CSS media queries instead.
10
- *
11
- * Sometimes UI requirements are not achievable with CSS media queries alone. In
12
- * these rare cases, use this hook to make media query matches available
13
- * to React JavaScript code.
14
- *
15
- * @param {string} mediaQuery - the media query to parse
16
- * @returns {MediaQueryOutputs}
17
- */
18
- declare const useMediaQuery: (mediaQuery: string) => boolean;
19
- export { useMediaQuery as default };
@@ -1,126 +0,0 @@
1
- 'use strict';
2
-
3
- var _extends = require('./extends-bb8ffacd.js');
4
- var React = require('react');
5
-
6
- /**
7
- * Set a given ref to a given value
8
- * This utility takes care of different types of refs: callback refs and RefObject(s)
9
- */ function $6ed0406888f73fc4$var$setRef(ref, value) {
10
- if (typeof ref === 'function') ref(value);
11
- else if (ref !== null && ref !== undefined) ref.current = value;
12
- }
13
- /**
14
- * A utility to compose multiple refs together
15
- * Accepts callback refs and RefObject(s)
16
- */ function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
17
- return (node)=>refs.forEach((ref)=>$6ed0406888f73fc4$var$setRef(ref, node)
18
- )
19
- ;
20
- }
21
-
22
- /* -------------------------------------------------------------------------------------------------
23
- * Slot
24
- * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
25
- const { children: children , ...slotProps } = props;
26
- const childrenArray = React.Children.toArray(children);
27
- const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
28
- if (slottable) {
29
- // the new element to render is the one passed as a child of `Slottable`
30
- const newElement = slottable.props.children;
31
- const newChildren = childrenArray.map((child)=>{
32
- if (child === slottable) {
33
- // because the new element will be the one rendered, we are only interested
34
- // in grabbing its children (`newElement.props.children`)
35
- if (React.Children.count(newElement) > 1) return React.Children.only(null);
36
- return /*#__PURE__*/ React.isValidElement(newElement) ? newElement.props.children : null;
37
- } else return child;
38
- });
39
- return /*#__PURE__*/ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends._extends({}, slotProps, {
40
- ref: forwardedRef
41
- }), /*#__PURE__*/ React.isValidElement(newElement) ? /*#__PURE__*/ React.cloneElement(newElement, undefined, newChildren) : null);
42
- }
43
- return /*#__PURE__*/ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends._extends({}, slotProps, {
44
- ref: forwardedRef
45
- }), children);
46
- });
47
- $5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = 'Slot';
48
- /* -------------------------------------------------------------------------------------------------
49
- * SlotClone
50
- * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
51
- const { children: children , ...slotProps } = props;
52
- if (/*#__PURE__*/ React.isValidElement(children)) return /*#__PURE__*/ React.cloneElement(children, {
53
- ...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
54
- ref: $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref)
55
- });
56
- return React.Children.count(children) > 1 ? React.Children.only(null) : null;
57
- });
58
- $5e63c961fc1ce211$var$SlotClone.displayName = 'SlotClone';
59
- /* -------------------------------------------------------------------------------------------------
60
- * Slottable
61
- * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children: children })=>{
62
- return /*#__PURE__*/ React.createElement(React.Fragment, null, children);
63
- };
64
- /* ---------------------------------------------------------------------------------------------- */ function $5e63c961fc1ce211$var$isSlottable(child) {
65
- return /*#__PURE__*/ React.isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
66
- }
67
- function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
68
- // all child props should override
69
- const overrideProps = {
70
- ...childProps
71
- };
72
- for(const propName in childProps){
73
- const slotPropValue = slotProps[propName];
74
- const childPropValue = childProps[propName];
75
- const isHandler = /^on[A-Z]/.test(propName);
76
- if (isHandler) {
77
- // if the handler exists on both, we compose them
78
- if (slotPropValue && childPropValue) overrideProps[propName] = (...args)=>{
79
- childPropValue(...args);
80
- slotPropValue(...args);
81
- };
82
- else if (slotPropValue) overrideProps[propName] = slotPropValue;
83
- } else if (propName === 'style') overrideProps[propName] = {
84
- ...slotPropValue,
85
- ...childPropValue
86
- };
87
- else if (propName === 'className') overrideProps[propName] = [
88
- slotPropValue,
89
- childPropValue
90
- ].filter(Boolean).join(' ');
91
- }
92
- return {
93
- ...slotProps,
94
- ...overrideProps
95
- };
96
- }
97
-
98
- /**
99
- * On the server, React emits a warning when calling `useLayoutEffect`.
100
- * This is because neither `useLayoutEffect` nor `useEffect` run on the server.
101
- * We use this safe version which suppresses the warning by replacing it with a noop on the server.
102
- *
103
- * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
104
- */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React.useLayoutEffect : ()=>{};
105
-
106
- function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
107
- const ref = React.useRef({
108
- value: value,
109
- previous: value
110
- }); // We compare values before making an update to ensure that
111
- // a change has been made. This ensures the previous value is
112
- // persisted correctly between renders.
113
- return React.useMemo(()=>{
114
- if (ref.current.value !== value) {
115
- ref.current.previous = ref.current.value;
116
- ref.current.value = value;
117
- }
118
- return ref.current.previous;
119
- }, [
120
- value
121
- ]);
122
- }
123
-
124
- exports.$010c2913dbd2fe3d$export$5cae361ad82dce8b = $010c2913dbd2fe3d$export$5cae361ad82dce8b;
125
- exports.$5e63c961fc1ce211$export$8c6ed5c666ac1360 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;
126
- exports.$9f79659886946c16$export$e5c5a5f917a5871c = $9f79659886946c16$export$e5c5a5f917a5871c;
@@ -1,10 +0,0 @@
1
- /**
2
- * Suffixes a modifier value onto the end of a className, converting it to
3
- * pascal case. i.e. turns suffixModifier("MyComponent--display", display)
4
- * returns MyComponent--displayBlock.
5
- *
6
- * @param rootClassName The root className to append the suffix onto
7
- * @param suffix The suffix to convert into pascal case.
8
- */
9
- declare const suffixModifier: (rootClassName: string, suffix: string) => string;
10
- export { suffixModifier };
@@ -1,19 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { FC } from "react";
4
- declare const ArcRootElementContext: React.Context<HTMLElement | null>;
5
- /**
6
- * Use `Base` as the root component of the arc system.
7
- */
8
- declare const Base: FC<BaseProps>;
9
- interface BaseProps {
10
- /**
11
- * Brand theme to apply to Base.
12
- */
13
- brand?: "bt" | null;
14
- /**
15
- * Content to display inside Base.
16
- */
17
- children: any;
18
- }
19
- export { ArcRootElementContext, Base, BaseProps };
@@ -1,26 +0,0 @@
1
- import { FC } from "react";
2
- /**
3
- * Use `BrandLogo` to display the brand logo.
4
- */
5
- declare const BrandLogo: FC<BrandLogoProps>;
6
- declare const colors: readonly ["auto", "brand"];
7
- declare const subBrands: readonly ["redcare", "wholesale"];
8
- interface BrandLogoProps {
9
- /**
10
- * Color of the BrandLogo. The `brand` color only shows on light surfaces.
11
- */
12
- color?: typeof colors[number];
13
- /**
14
- * Accessible text for the BrandLogo.
15
- */
16
- label?: string;
17
- /**
18
- * Size of the BrandLogo, in pixels.
19
- */
20
- size?: number;
21
- /**
22
- * Optional sub-brand variant. Only applies to BT.
23
- */
24
- subBrand?: typeof subBrands[number];
25
- }
26
- export { BrandLogo, colors, subBrands, BrandLogoProps };
@@ -1,61 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { FC, ReactNode } from "react";
4
- declare const BreadcrumbsLink: FC<LinkProps>;
5
- interface LinkProps {
6
- /**
7
- * Render children of `breadcrumbs.link`
8
- */
9
- children?: ReactNode;
10
- /**
11
- * Where breadcrumb linkshould lead too
12
- */
13
- href?: string;
14
- /**
15
- * Pass a function to the breadcrumb item
16
- */
17
- onClick?: () => void;
18
- /**
19
- * Highlights item in breadcrumb (This also removes the a tag and any links)
20
- */
21
- isActive?: boolean;
22
- /**
23
- * Ref to `<a>` tag
24
- */
25
- ref?: React.Ref<HTMLAnchorElement>;
26
- /**
27
- * React router property
28
- */
29
- navigate?: () => void;
30
- }
31
- declare const BreadcrumbsItem: FC<ItemProps>;
32
- interface ItemProps {
33
- /**
34
- * Render child elements within `Breadcrumbs.Item`
35
- */
36
- children?: ReactNode;
37
- /**
38
- * Use icon as a spacer that will be positioned after `Breadcrumbs.Item`.
39
- */
40
- spacerIconAfter?: boolean;
41
- /**
42
- * Use icon as a spacer that will be positioned before `Breadcrumbs.Item`.
43
- */
44
- spacerIconBefore?: boolean;
45
- }
46
- /** Use `Breadcrumbs` to add a secondary navigation scheme that reveals the user’s location. Each item should be wrapped with `Breadcrumbs.Item` */
47
- declare const Breadcrumbs: FC<BreadcrumbsProps> & {
48
- Item: typeof BreadcrumbsItem;
49
- Link: typeof BreadcrumbsLink;
50
- };
51
- interface BreadcrumbsProps {
52
- /**
53
- * Contents of the Breadcrumbs. Should only contain `Breadcrumb.Item`.
54
- */
55
- children: ReactNode;
56
- /**
57
- * Select if you want the Nav items to be Light
58
- */
59
- isLight?: boolean;
60
- }
61
- export { BreadcrumbsLink as default, LinkProps, ItemProps, Breadcrumbs, BreadcrumbsProps };
@@ -1,32 +0,0 @@
1
- import React__default from 'react';
2
-
3
- const React = React__default;
4
- const BtIconAlert = props =>
5
- /*#__PURE__*/ React.createElement(
6
- "svg",
7
- Object.assign(
8
- {
9
- xmlns: "http://www.w3.org/2000/svg",
10
- viewBox: "0 0 32 32"
11
- },
12
- props
13
- ),
14
- /*#__PURE__*/ React.createElement("defs", null),
15
- /*#__PURE__*/ React.createElement("path", {
16
- d:
17
- "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
18
- fill: "currentColor"
19
- }),
20
- /*#__PURE__*/ React.createElement("path", {
21
- fill: "currentColor",
22
- d: "M16 20.99335A1 1 0 1 0 16 22.99335 1 1 0 1 0 16 20.99335z"
23
- }),
24
- /*#__PURE__*/ React.createElement("path", {
25
- d:
26
- "M16.00488,19.00977a.49972.49972,0,0,0,.5-.5L16.50684,9.5a.5.5,0,0,0-1,0l-.002,9.00977A.5.5,0,0,0,16.00488,19.00977Z",
27
- fill: "currentColor"
28
- })
29
- );
30
- var BtIconAlert_2 = BtIconAlert;
31
-
32
- export { BtIconAlert_2 as B };
@@ -1,23 +0,0 @@
1
- import React__default from 'react';
2
-
3
- const React = React__default;
4
- const BtIconChevronDown2Px = props =>
5
- /*#__PURE__*/ React.createElement(
6
- "svg",
7
- Object.assign(
8
- {
9
- xmlns: "http://www.w3.org/2000/svg",
10
- viewBox: "0 0 32 32"
11
- },
12
- props
13
- ),
14
- /*#__PURE__*/ React.createElement("defs", null),
15
- /*#__PURE__*/ React.createElement("path", {
16
- d:
17
- "M15.99316,23.91406,2.294,10.207A.99989.99989,0,1,1,3.708,8.793l12.28515,12.293L28.292,8.793A.99989.99989,0,1,1,29.70605,10.207Z",
18
- fill: "currentColor"
19
- })
20
- );
21
- var BtIconChevronDown2Px_2 = BtIconChevronDown2Px;
22
-
23
- export { BtIconChevronDown2Px_2 as B };
@@ -1,25 +0,0 @@
1
- import React__default from 'react';
2
-
3
- const React = React__default;
4
- const BtIconChevronLeftMid = props =>
5
- /*#__PURE__*/ React.createElement(
6
- "svg",
7
- Object.assign(
8
- {
9
- viewBox: "0 0 16 16",
10
- fill: "none",
11
- xmlns: "http://www.w3.org/2000/svg"
12
- },
13
- props
14
- ),
15
- /*#__PURE__*/ React.createElement("path", {
16
- fillRule: "evenodd",
17
- clipRule: "evenodd",
18
- d:
19
- "M7.62107 8.00023L10.4697 10.8522C10.5957 10.9785 10.6665 11.1495 10.6665 11.3279C10.6665 11.5063 10.5957 11.6773 10.4697 11.8036C10.4074 11.866 10.3335 11.9155 10.252 11.9493C10.1706 11.983 10.0833 12.0004 9.99507 12.0004C9.9069 12.0004 9.81959 11.983 9.73814 11.9493C9.65669 11.9155 9.5827 11.866 9.52041 11.8036L6.19641 8.47556C6.07061 8.34935 5.99998 8.17842 5.99998 8.00023C5.99998 7.82203 6.07061 7.6511 6.19641 7.52489L9.52041 4.19689C9.5827 4.13449 9.65669 4.08498 9.73814 4.0512C9.81959 4.01741 9.9069 4.00003 9.99507 4.00003C10.0832 4.00003 10.1706 4.01741 10.252 4.0512C10.3335 4.08498 10.4074 4.13449 10.4697 4.19689C10.5957 4.32313 10.6665 4.4942 10.6665 4.67256C10.6665 4.85092 10.5957 5.02199 10.4697 5.14823L7.62107 8.00023Z",
20
- fill: "currentColor"
21
- })
22
- );
23
- var BtIconChevronLeftMid_2 = BtIconChevronLeftMid;
24
-
25
- export { BtIconChevronLeftMid_2 as B };
@@ -1,43 +0,0 @@
1
- import React__default from 'react';
2
-
3
- const React$1 = React__default;
4
- const BtIconChevronLeft2Px = props =>
5
- /*#__PURE__*/ React$1.createElement(
6
- "svg",
7
- Object.assign(
8
- {
9
- xmlns: "http://www.w3.org/2000/svg",
10
- viewBox: "0 0 32 32"
11
- },
12
- props
13
- ),
14
- /*#__PURE__*/ React$1.createElement("defs", null),
15
- /*#__PURE__*/ React$1.createElement("path", {
16
- d:
17
- "M22.5,29.99854a.99676.99676,0,0,1-.707-.293L8.08594,15.99268,21.793,2.294A1.00023,1.00023,0,0,1,23.207,3.709l-12.293,12.28467L23.207,28.2915a1,1,0,0,1-.707,1.707Z",
18
- fill: "currentColor"
19
- })
20
- );
21
- var BtIconChevronLeft2Px_2 = BtIconChevronLeft2Px;
22
-
23
- const React = React__default;
24
- const BtIconChevronRight2Px = props =>
25
- /*#__PURE__*/ React.createElement(
26
- "svg",
27
- Object.assign(
28
- {
29
- xmlns: "http://www.w3.org/2000/svg",
30
- viewBox: "0 0 32 32"
31
- },
32
- props
33
- ),
34
- /*#__PURE__*/ React.createElement("defs", null),
35
- /*#__PURE__*/ React.createElement("path", {
36
- d:
37
- "M9.5,29.99854A1.00025,1.00025,0,0,1,8.793,28.291l12.293-12.28467L8.793,3.7085A.99989.99989,0,0,1,10.207,2.29443l13.707,13.71289L10.207,29.70605A.99827.99827,0,0,1,9.5,29.99854Z",
38
- fill: "currentColor"
39
- })
40
- );
41
- var BtIconChevronRight2Px_2 = BtIconChevronRight2Px;
42
-
43
- export { BtIconChevronLeft2Px_2 as B, BtIconChevronRight2Px_2 as a };