@lightsparkdev/ui 1.0.3 → 1.0.4

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 (288) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{chunk-X4TGLNCH.js → chunk-242JGEN4.js} +3 -3
  3. package/dist/{chunk-7N2PFDYE.js → chunk-2P6TCMZN.js} +2 -2
  4. package/dist/{chunk-K7FYXGOI.js → chunk-3R5KJDSL.js} +1 -1
  5. package/dist/{chunk-SNFRMD6Z.js → chunk-4BERRPJN.js} +3 -3
  6. package/dist/{chunk-LH7GLNMY.js → chunk-4KURUJD2.js} +1 -1
  7. package/dist/{chunk-XDP7GCYE.js → chunk-4X67A2CS.js} +1 -1
  8. package/dist/{chunk-QQSV7XJX.js → chunk-5F7IOIWL.js} +1 -1
  9. package/dist/{chunk-BENSR2YW.js → chunk-5ON3ICVC.js} +1 -1
  10. package/dist/{chunk-XB4KQFK2.js → chunk-642OXLAD.js} +2 -2
  11. package/dist/{chunk-BDZ46Z2I.js → chunk-7BSME2ZU.js} +2 -2
  12. package/dist/{chunk-2AGBCGOW.js → chunk-7COKMITX.js} +2 -2
  13. package/dist/{chunk-Y7RQUJUS.js → chunk-7OJQZEVL.js} +5 -5
  14. package/dist/{chunk-XM2HQVUK.js → chunk-7RLDCOUT.js} +4 -4
  15. package/dist/{chunk-6CNJ5ZCC.js → chunk-7RMHMFS2.js} +3 -3
  16. package/dist/{chunk-35PJW7RT.js → chunk-AZOVE32P.js} +2 -2
  17. package/dist/{chunk-BHP5YL2N.js → chunk-BAGRU7JE.js} +1 -1
  18. package/dist/{chunk-KX5QZXCD.js → chunk-BPGBJRZE.js} +1 -1
  19. package/dist/{chunk-YRNEIRHM.js → chunk-BRRDPQWW.js} +4 -4
  20. package/dist/{chunk-LOL5TJ3H.js → chunk-C3YODRA3.js} +15 -15
  21. package/dist/{chunk-2XUHQWCJ.js → chunk-C4HNAZFZ.js} +3 -3
  22. package/dist/{chunk-PG2W2HVB.js → chunk-CZFFMEAS.js} +1 -1
  23. package/dist/{chunk-MRGHRTKA.js → chunk-DIKOS5R6.js} +2 -2
  24. package/dist/{chunk-5TTLUOJ5.js → chunk-DNGAINGL.js} +1 -1
  25. package/dist/{chunk-J3YVJWRG.js → chunk-DWUP3RDU.js} +4 -4
  26. package/dist/chunk-E5DUKMCU.js +65 -0
  27. package/dist/chunk-EIFK352Q.js +27 -0
  28. package/dist/{chunk-UH5F35II.js → chunk-GLEAWATH.js} +3 -3
  29. package/dist/{chunk-7WDAN3OC.js → chunk-GQVNE3NU.js} +1 -1
  30. package/dist/{chunk-WGKUDRZ7.js → chunk-HPZVUEDJ.js} +2 -2
  31. package/dist/{chunk-GWHKALYQ.js → chunk-HVDX4OZJ.js} +2 -2
  32. package/dist/{chunk-LTCJ6LNO.js → chunk-JAPRGAB7.js} +1 -1
  33. package/dist/{chunk-JNNJVBHF.js → chunk-JH53NBOD.js} +13 -9
  34. package/dist/{chunk-BSH6WRUZ.js → chunk-KBLCFXNL.js} +3 -3
  35. package/dist/{chunk-LGKXPUSI.js → chunk-KJHREJHT.js} +2 -2
  36. package/dist/{chunk-E4DUADXU.js → chunk-LFD2KVAB.js} +1 -1
  37. package/dist/{chunk-VXKNN4SF.js → chunk-LGXMGWLV.js} +17 -16
  38. package/dist/{chunk-435FPPZK.js → chunk-LLGN3OM3.js} +2 -2
  39. package/dist/{chunk-MWDDIXIP.js → chunk-MK2JFFUG.js} +1 -1
  40. package/dist/{chunk-SLKPLSJU.js → chunk-MNMVZI7D.js} +10 -10
  41. package/dist/{chunk-WTMJTGW4.js → chunk-OMY3WTAU.js} +2 -2
  42. package/dist/{chunk-4C2TISN7.js → chunk-OUHQXQOJ.js} +1 -1
  43. package/dist/{chunk-CRTTTIAD.js → chunk-OZQ5WPLN.js} +2 -2
  44. package/dist/{chunk-7FHOKVKJ.js → chunk-PDQVYUEW.js} +6 -6
  45. package/dist/{chunk-ILEZ6AWT.js → chunk-QCHEDM2I.js} +3 -3
  46. package/dist/{chunk-DXA3WUSX.js → chunk-RESJONBZ.js} +2 -2
  47. package/dist/{chunk-7YY6BH5O.js → chunk-SZ4KKLYJ.js} +2 -2
  48. package/dist/{chunk-7IHNYMFQ.js → chunk-THTKSZSR.js} +2 -2
  49. package/dist/{chunk-I3FI3FNP.js → chunk-TNDSUTUN.js} +2 -2
  50. package/dist/{chunk-PQKVR2BR.js → chunk-TNISOOCF.js} +1 -1
  51. package/dist/{chunk-4BFBANKF.js → chunk-UNFCVZ32.js} +36 -33
  52. package/dist/{chunk-B6S7Y4K7.js → chunk-V523QTZQ.js} +2 -2
  53. package/dist/{chunk-IBZBPQMZ.js → chunk-VNQE6KEX.js} +13 -4
  54. package/dist/{chunk-HGOGF6I7.js → chunk-VR2GLRXH.js} +1 -1
  55. package/dist/chunk-VWD7T5MQ.js +74 -0
  56. package/dist/{chunk-54EOEIEN.js → chunk-VXH6GWGE.js} +2 -2
  57. package/dist/{chunk-4JHXRPRB.js → chunk-W2N5QUG6.js} +9 -6
  58. package/dist/{chunk-YIHC25WB.js → chunk-WDJMAZFO.js} +3 -3
  59. package/dist/{chunk-C4KZC45Y.js → chunk-XS4MH3QA.js} +54 -71
  60. package/dist/{chunk-OKXC33OU.js → chunk-YRFCWL73.js} +5 -2
  61. package/dist/{chunk-GSKTHUQJ.js → chunk-YRZ3VNBI.js} +2 -2
  62. package/dist/{chunk-N2NPIZCV.js → chunk-ZCXGHQQF.js} +9 -9
  63. package/dist/{chunk-LIQSJ5R7.js → chunk-ZO35RX7V.js} +21 -13
  64. package/dist/{chunk-RPNTFEXE.js → chunk-ZS7G6WIG.js} +1 -1
  65. package/dist/components/Badge.cjs +7781 -7417
  66. package/dist/components/Badge.d.cts +146 -7
  67. package/dist/components/Badge.d.ts +146 -7
  68. package/dist/components/Badge.js +20 -23
  69. package/dist/components/Banner/Banner.cjs +50 -26
  70. package/dist/components/Banner/Banner.d.cts +1 -1
  71. package/dist/components/Banner/Banner.d.ts +1 -1
  72. package/dist/components/Banner/Banner.js +18 -18
  73. package/dist/components/Button.cjs +36 -24
  74. package/dist/components/Button.d.cts +1 -1
  75. package/dist/components/Button.d.ts +1 -1
  76. package/dist/components/Button.js +20 -20
  77. package/dist/components/ButtonRow.cjs +39 -27
  78. package/dist/components/ButtonRow.d.cts +1 -1
  79. package/dist/components/ButtonRow.d.ts +1 -1
  80. package/dist/components/ButtonRow.js +22 -22
  81. package/dist/components/CardPage.cjs +13 -4
  82. package/dist/components/CardPage.js +24 -24
  83. package/dist/components/Checkbox.cjs +3 -3
  84. package/dist/components/Checkbox.js +3 -3
  85. package/dist/components/CodeBlock.cjs +13 -4
  86. package/dist/components/CodeBlock.js +8 -8
  87. package/dist/components/CodeInput/CodeInput.cjs +13 -4
  88. package/dist/components/CodeInput/CodeInput.js +6 -6
  89. package/dist/components/CodeInput/SingleCodeInput.cjs +13 -4
  90. package/dist/components/CodeInput/SingleCodeInput.js +5 -5
  91. package/dist/components/Collapsible.cjs +78 -7
  92. package/dist/components/Collapsible.js +6 -6
  93. package/dist/components/CommaNumberInput.cjs +13 -4
  94. package/dist/components/CommaNumberInput.d.cts +1 -1
  95. package/dist/components/CommaNumberInput.d.ts +1 -1
  96. package/dist/components/CommaNumberInput.js +11 -11
  97. package/dist/components/ContentTable.cjs +13 -4
  98. package/dist/components/ContentTable.js +4 -4
  99. package/dist/components/CopyToClipboardButton.cjs +13 -4
  100. package/dist/components/CopyToClipboardButton.js +6 -6
  101. package/dist/components/CurrencyAmount.cjs +13 -4
  102. package/dist/components/CurrencyAmount.js +4 -4
  103. package/dist/components/Drawer.cjs +118 -43
  104. package/dist/components/Drawer.js +22 -22
  105. package/dist/components/Dropdown.cjs +13 -4
  106. package/dist/components/Dropdown.d.cts +1 -1
  107. package/dist/components/Dropdown.d.ts +1 -1
  108. package/dist/components/Dropdown.js +5 -5
  109. package/dist/components/FileInput.cjs +13 -4
  110. package/dist/components/FileInput.js +10 -10
  111. package/dist/components/GradientCardHeader.js +5 -5
  112. package/dist/components/Icon/Icon.cjs +13 -4
  113. package/dist/components/Icon/Icon.d.cts +1 -1
  114. package/dist/components/Icon/Icon.d.ts +1 -1
  115. package/dist/components/Icon/Icon.js +3 -3
  116. package/dist/components/IconWithCircleBackground.cjs +7347 -7340
  117. package/dist/components/IconWithCircleBackground.js +4 -73
  118. package/dist/components/InfoIconTooltip.cjs +53 -29
  119. package/dist/components/InfoIconTooltip.d.cts +1 -1
  120. package/dist/components/InfoIconTooltip.d.ts +1 -1
  121. package/dist/components/InfoIconTooltip.js +19 -19
  122. package/dist/components/LightsparkProvider.cjs +13 -4
  123. package/dist/components/LightsparkProvider.js +4 -4
  124. package/dist/components/Loading.cjs +13 -4
  125. package/dist/components/Loading.js +4 -4
  126. package/dist/components/Modal.cjs +202 -127
  127. package/dist/components/Modal.d.cts +9 -9
  128. package/dist/components/Modal.d.ts +9 -9
  129. package/dist/components/Modal.js +27 -68
  130. package/dist/components/PageSection/PageSection.cjs +205 -97
  131. package/dist/components/PageSection/PageSection.d.cts +1 -1
  132. package/dist/components/PageSection/PageSection.d.ts +1 -1
  133. package/dist/components/PageSection/PageSection.js +27 -31
  134. package/dist/components/PageSection/PageSectionNav.cjs +45 -21
  135. package/dist/components/PageSection/PageSectionNav.js +20 -20
  136. package/dist/components/PhoneInput.cjs +13 -4
  137. package/dist/components/PhoneInput.d.cts +1 -1
  138. package/dist/components/PhoneInput.d.ts +1 -1
  139. package/dist/components/PhoneInput.js +11 -11
  140. package/dist/components/Pill.cjs +13 -4
  141. package/dist/components/Pill.js +7 -7
  142. package/dist/components/ProgressBar.cjs +13 -4
  143. package/dist/components/ProgressBar.js +3 -3
  144. package/dist/components/Radio.cjs +7406 -7335
  145. package/dist/components/Radio.js +8 -22
  146. package/dist/components/SecretContainer.cjs +13 -4
  147. package/dist/components/SecretContainer.js +7 -7
  148. package/dist/components/StatusIndicator.js +4 -4
  149. package/dist/components/TextButton.cjs +41 -17
  150. package/dist/components/TextButton.d.cts +1 -1
  151. package/dist/components/TextButton.d.ts +1 -1
  152. package/dist/components/TextButton.js +19 -19
  153. package/dist/components/TextIconAligner.cjs +35 -11
  154. package/dist/components/TextIconAligner.d.cts +1 -1
  155. package/dist/components/TextIconAligner.d.ts +1 -1
  156. package/dist/components/TextIconAligner.js +17 -17
  157. package/dist/components/TextInput.cjs +13 -4
  158. package/dist/components/TextInput.d.cts +1 -1
  159. package/dist/components/TextInput.d.ts +1 -1
  160. package/dist/components/TextInput.js +10 -10
  161. package/dist/components/Toasts.cjs +61 -37
  162. package/dist/components/Toasts.d.cts +1 -1
  163. package/dist/components/Toasts.d.ts +1 -1
  164. package/dist/components/Toasts.js +20 -20
  165. package/dist/components/Toggle.cjs +105 -98
  166. package/dist/components/Toggle.js +4 -4
  167. package/dist/components/Tooltip.cjs +13 -4
  168. package/dist/components/Tooltip.js +3 -3
  169. package/dist/components/UnstyledButton.js +3 -3
  170. package/dist/components/documentation/AnchorLinkHeader.cjs +13 -4
  171. package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
  172. package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
  173. package/dist/components/documentation/AnchorLinkHeader.js +8 -8
  174. package/dist/components/documentation/DocsBodyParagraph.cjs +13 -4
  175. package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
  176. package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
  177. package/dist/components/documentation/DocsBodyParagraph.js +6 -6
  178. package/dist/components/documentation/DocsBodyStrongParagraph.cjs +13 -4
  179. package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
  180. package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
  181. package/dist/components/documentation/DocsBodyStrongParagraph.js +6 -6
  182. package/dist/components/documentation/DocsHeadline.cjs +13 -4
  183. package/dist/components/documentation/DocsHeadline.d.cts +1 -1
  184. package/dist/components/documentation/DocsHeadline.d.ts +1 -1
  185. package/dist/components/documentation/DocsHeadline.js +7 -7
  186. package/dist/components/documentation/Video.js +2 -2
  187. package/dist/components/documentation/index.cjs +13 -4
  188. package/dist/components/documentation/index.d.cts +1 -1
  189. package/dist/components/documentation/index.d.ts +1 -1
  190. package/dist/components/documentation/index.js +8 -8
  191. package/dist/components/index.cjs +8341 -8176
  192. package/dist/components/index.d.cts +5 -5
  193. package/dist/components/index.d.ts +5 -5
  194. package/dist/components/index.js +69 -70
  195. package/dist/components/typography/Article.cjs +100 -29
  196. package/dist/components/typography/Article.js +14 -14
  197. package/dist/components/typography/Body.cjs +13 -4
  198. package/dist/components/typography/Body.d.cts +2 -2
  199. package/dist/components/typography/Body.d.ts +2 -2
  200. package/dist/components/typography/Body.js +6 -6
  201. package/dist/components/typography/BodyStrong.cjs +13 -4
  202. package/dist/components/typography/BodyStrong.d.cts +2 -2
  203. package/dist/components/typography/BodyStrong.d.ts +2 -2
  204. package/dist/components/typography/BodyStrong.js +6 -6
  205. package/dist/components/typography/Code.cjs +13 -4
  206. package/dist/components/typography/Code.d.cts +2 -2
  207. package/dist/components/typography/Code.d.ts +2 -2
  208. package/dist/components/typography/Code.js +6 -6
  209. package/dist/components/typography/Display.cjs +13 -4
  210. package/dist/components/typography/Display.d.cts +2 -2
  211. package/dist/components/typography/Display.d.ts +2 -2
  212. package/dist/components/typography/Display.js +6 -6
  213. package/dist/components/typography/Headline.cjs +13 -4
  214. package/dist/components/typography/Headline.d.cts +2 -2
  215. package/dist/components/typography/Headline.d.ts +2 -2
  216. package/dist/components/typography/Headline.js +6 -6
  217. package/dist/components/typography/Label.cjs +13 -4
  218. package/dist/components/typography/Label.d.cts +2 -2
  219. package/dist/components/typography/Label.d.ts +2 -2
  220. package/dist/components/typography/Label.js +6 -6
  221. package/dist/components/typography/LabelModerate.cjs +13 -4
  222. package/dist/components/typography/LabelModerate.d.cts +2 -2
  223. package/dist/components/typography/LabelModerate.d.ts +2 -2
  224. package/dist/components/typography/LabelModerate.js +6 -6
  225. package/dist/components/typography/LabelStrong.cjs +13 -4
  226. package/dist/components/typography/LabelStrong.d.cts +2 -2
  227. package/dist/components/typography/LabelStrong.d.ts +2 -2
  228. package/dist/components/typography/LabelStrong.js +6 -6
  229. package/dist/components/typography/Overline.cjs +13 -4
  230. package/dist/components/typography/Overline.d.cts +2 -2
  231. package/dist/components/typography/Overline.d.ts +2 -2
  232. package/dist/components/typography/Overline.js +6 -6
  233. package/dist/components/typography/Title.cjs +13 -4
  234. package/dist/components/typography/Title.d.cts +3 -3
  235. package/dist/components/typography/Title.d.ts +3 -3
  236. package/dist/components/typography/Title.js +6 -6
  237. package/dist/components/typography/index.cjs +100 -29
  238. package/dist/components/typography/index.d.cts +1 -1
  239. package/dist/components/typography/index.d.ts +1 -1
  240. package/dist/components/typography/index.js +22 -23
  241. package/dist/components/typography/renderTypography.cjs +29 -7
  242. package/dist/components/typography/renderTypography.d.cts +20 -20
  243. package/dist/components/typography/renderTypography.d.ts +20 -20
  244. package/dist/components/typography/renderTypography.js +16 -16
  245. package/dist/styles/buttons.d.cts +1 -1
  246. package/dist/styles/buttons.d.ts +1 -1
  247. package/dist/styles/common.cjs +13 -4
  248. package/dist/styles/common.d.cts +1 -1
  249. package/dist/styles/common.d.ts +1 -1
  250. package/dist/styles/common.js +2 -2
  251. package/dist/styles/fields.cjs +13 -4
  252. package/dist/styles/fields.d.cts +1 -1
  253. package/dist/styles/fields.d.ts +1 -1
  254. package/dist/styles/fields.js +4 -4
  255. package/dist/styles/global.cjs +13 -4
  256. package/dist/styles/global.d.cts +1 -1
  257. package/dist/styles/global.d.ts +1 -1
  258. package/dist/styles/global.js +3 -3
  259. package/dist/styles/themes.cjs +13 -4
  260. package/dist/styles/themes.d.cts +1 -1
  261. package/dist/styles/themes.d.ts +1 -1
  262. package/dist/styles/themes.js +1 -1
  263. package/dist/styles/tokens/spacing.cjs +60 -21
  264. package/dist/styles/tokens/spacing.d.cts +40 -20
  265. package/dist/styles/tokens/spacing.d.ts +40 -20
  266. package/dist/styles/tokens/spacing.js +1 -1
  267. package/dist/styles/type.d.cts +1 -1
  268. package/dist/styles/type.d.ts +1 -1
  269. package/dist/styles/type.js +4 -4
  270. package/dist/styles/typography.cjs +13 -4
  271. package/dist/styles/typography.d.cts +1 -1
  272. package/dist/styles/typography.d.ts +1 -1
  273. package/dist/styles/typography.js +2 -2
  274. package/dist/styles/utils.js +3 -3
  275. package/dist/{buttons-36cdd0fe.d.ts → themes-37e92940.d.ts} +91 -74
  276. package/dist/{buttons-35280bfe.d.ts → themes-832e46b2.d.ts} +91 -74
  277. package/dist/utils/toNonTypographicReactNodes.cjs +13 -4
  278. package/dist/utils/toNonTypographicReactNodes.d.cts +1 -1
  279. package/dist/utils/toNonTypographicReactNodes.d.ts +1 -1
  280. package/dist/utils/toNonTypographicReactNodes.js +4 -4
  281. package/dist/utils/toReactNodes.cjs +54 -21
  282. package/dist/utils/toReactNodes.d.cts +13 -9
  283. package/dist/utils/toReactNodes.d.ts +13 -9
  284. package/dist/utils/toReactNodes.js +19 -17
  285. package/package.json +1 -1
  286. package/dist/chunk-3XSQV5U4.js +0 -26
  287. package/dist/chunk-B2VYAIYR.js +0 -0
  288. package/dist/chunk-SEZEDINC.js +0 -35
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  TextInput,
3
3
  TextInputHalfRow
4
- } from "../chunk-N2NPIZCV.js";
5
- import "../chunk-SNFRMD6Z.js";
6
- import "../chunk-6CNJ5ZCC.js";
7
- import "../chunk-4C2TISN7.js";
8
- import "../chunk-E4DUADXU.js";
9
- import "../chunk-RPNTFEXE.js";
10
- import "../chunk-LTCJ6LNO.js";
4
+ } from "../chunk-ZCXGHQQF.js";
5
+ import "../chunk-4BERRPJN.js";
6
+ import "../chunk-7RMHMFS2.js";
7
+ import "../chunk-OUHQXQOJ.js";
8
+ import "../chunk-LFD2KVAB.js";
9
+ import "../chunk-ZS7G6WIG.js";
10
+ import "../chunk-JAPRGAB7.js";
11
11
  import "../chunk-55OQPFLF.js";
12
- import "../chunk-I3FI3FNP.js";
12
+ import "../chunk-TNDSUTUN.js";
13
13
  import "../chunk-EDN2QDCB.js";
14
14
  import "../chunk-FT62PIPN.js";
15
15
  import "../chunk-5ZDDVLS6.js";
@@ -124,8 +124,8 @@ import "../chunk-VI6WTKMV.js";
124
124
  import "../chunk-QW2INB5A.js";
125
125
  import "../chunk-JLD7MGLC.js";
126
126
  import "../chunk-DW6LFUI2.js";
127
- import "../chunk-PG2W2HVB.js";
128
- import "../chunk-IBZBPQMZ.js";
127
+ import "../chunk-CZFFMEAS.js";
128
+ import "../chunk-VNQE6KEX.js";
129
129
  import "../chunk-ENBUKLVT.js";
130
130
  import "../chunk-JSGRNWSB.js";
131
131
  import "../chunk-FO7I4E45.js";
@@ -22,6 +22,18 @@ var __spreadValues = (a, b) => {
22
22
  return a;
23
23
  };
24
24
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
25
37
  var __export = (target, all) => {
26
38
  for (var name in all)
27
39
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -71,8 +83,8 @@ __export(Toasts_exports, {
71
83
  });
72
84
  module.exports = __toCommonJS(Toasts_exports);
73
85
  var import_styled14 = __toESM(require("@emotion/styled"), 1);
74
- var import_lodash_es4 = require("lodash-es");
75
- var import_react23 = require("react");
86
+ var import_lodash_es5 = require("lodash-es");
87
+ var import_react24 = require("react");
76
88
  var import_react_dom = __toESM(require("react-dom"), 1);
77
89
 
78
90
  // src/styles/colors.tsx
@@ -3586,8 +3598,7 @@ var baseThemeColors = {
3586
3598
  success: colors.success,
3587
3599
  text: colors.black,
3588
3600
  vlcNeutral: colors.gray95,
3589
- warning: colors.warning,
3590
- inputBackground: colors.white
3601
+ warning: colors.warning
3591
3602
  };
3592
3603
  var themeOrColorKeyValues = [
3593
3604
  ...Object.keys(baseThemeColors),
@@ -3599,6 +3610,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
3599
3610
  typography: getTypography("Lightspark" /* Lightspark */),
3600
3611
  hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
3601
3612
  buttons: defaultButtonsTheme,
3613
+ badge: {
3614
+ bg: "c05Neutral"
3615
+ },
3616
+ inputBackground: colors.white,
3602
3617
  loading: "LoadingSpinner"
3603
3618
  });
3604
3619
  var lightBaseTheme = baseTheme;
@@ -3636,7 +3651,10 @@ var darkBaseTheme = {
3636
3651
  warning: colors.warning,
3637
3652
  buttons: defaultButtonsTheme,
3638
3653
  loading: "LoadingSpinner",
3639
- inputBackground: colors.black
3654
+ inputBackground: colors.black,
3655
+ badge: {
3656
+ bg: "c15Neutral"
3657
+ }
3640
3658
  };
3641
3659
  var lightTheme = extend(lightBaseTheme, {
3642
3660
  header: extendBase(lightBaseTheme, {
@@ -3752,7 +3770,10 @@ var bridgeBaseSettings = {
3752
3770
  defaultBorderWidth: 1
3753
3771
  }
3754
3772
  }
3755
- })
3773
+ }),
3774
+ badge: {
3775
+ bg: "grayBlue94"
3776
+ }
3756
3777
  };
3757
3778
  var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3758
3779
  type: "bridgeLight" /* BridgeLight */,
@@ -3978,7 +3999,11 @@ var z = {
3978
3999
  };
3979
4000
 
3980
4001
  // src/utils/toReactNodes.tsx
3981
- var import_react22 = require("react");
4002
+ var import_lodash_es4 = require("lodash-es");
4003
+ var import_react23 = require("react");
4004
+
4005
+ // src/components/typography/renderTypography.tsx
4006
+ var import_react22 = __toESM(require("react"), 1);
3982
4007
 
3983
4008
  // src/components/typography/Body.tsx
3984
4009
  var import_styled3 = __toESM(require("@emotion/styled"), 1);
@@ -8328,7 +8353,6 @@ var StyledTitle = import_styled12.default.span`
8328
8353
  `;
8329
8354
 
8330
8355
  // src/components/typography/renderTypography.tsx
8331
- var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
8332
8356
  var typographyMap = {
8333
8357
  Display,
8334
8358
  Headline,
@@ -8340,34 +8364,34 @@ var typographyMap = {
8340
8364
  "Label Strong": LabelStrong,
8341
8365
  Overline,
8342
8366
  Code: Code2,
8343
- "Code Strong": () => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { children: "Unimplemented" })
8367
+ "Code Strong": Code2
8344
8368
  };
8345
8369
  var renderTypography = (type, props) => {
8346
8370
  const TypographyComponent = typographyMap[type];
8347
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(TypographyComponent, __spreadValues({}, props));
8371
+ const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
8372
+ return import_react22.default.createElement(TypographyComponent, rest, children);
8348
8373
  };
8349
8374
 
8350
8375
  // src/utils/toReactNodes.tsx
8351
- var import_jsx_runtime129 = require("@emotion/react/jsx-runtime");
8376
+ var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
8352
8377
  function toReactNodes(toReactNodesArg) {
8353
8378
  const toReactNodesArray = Array.isArray(toReactNodesArg) ? toReactNodesArg : [toReactNodesArg];
8354
8379
  const reactNodes = toReactNodesArray.map((node, i) => {
8355
8380
  let content;
8356
8381
  if (!node) {
8357
8382
  return null;
8358
- } else if (typeof node !== "string" && "typography" in node && node.typography.type && node.typography.props) {
8359
- content = /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_react22.Fragment, { children: renderTypography(
8383
+ } else if (typeof node !== "string" && "typography" in node && node.typography.type) {
8384
+ const props = node.typography.props || {};
8385
+ content = /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_react23.Fragment, { children: renderTypography(
8360
8386
  node.typography.type,
8361
- Object.assign(node.typography.props, {
8362
- content: node
8363
- })
8387
+ Object.assign(props, { content: node })
8364
8388
  ) }, `typography-${i}-${node.text.substr(0, 10)}`);
8365
8389
  } else {
8366
8390
  content = toNonTypographicReactNodes(node);
8367
8391
  }
8368
8392
  return content || null;
8369
8393
  });
8370
- return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_react22.Fragment, { children: reactNodes });
8394
+ return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_react23.Fragment, { children: reactNodes });
8371
8395
  }
8372
8396
 
8373
8397
  // src/components/UnstyledButton.tsx
@@ -8387,7 +8411,7 @@ var UnstyledButton = import_styled13.default.button`
8387
8411
  `;
8388
8412
 
8389
8413
  // src/components/Toasts.tsx
8390
- var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
8414
+ var import_jsx_runtime129 = require("@emotion/react/jsx-runtime");
8391
8415
  var firstDur = 0.3;
8392
8416
  function Toasts({
8393
8417
  queue,
@@ -8398,14 +8422,14 @@ function Toasts({
8398
8422
  removeExpiredAndNotVisible = true,
8399
8423
  dedupeConsecutive = true
8400
8424
  }) {
8401
- const queuedToastIds = (0, import_react23.useRef)(/* @__PURE__ */ new Set());
8402
- const prevToastQueue = (0, import_react23.useRef)([]);
8403
- const [toastQueue, setToastQueue] = (0, import_react23.useState)([]);
8404
- const autoHideTimeoutRef = (0, import_react23.useRef)(null);
8405
- const hidingTimeoutRefs = (0, import_react23.useRef)({});
8406
- const nodeRef = (0, import_react23.useRef)(null);
8407
- const [nodeReady, setNodeReady] = (0, import_react23.useState)(false);
8408
- const hideToast = (0, import_react23.useCallback)(
8425
+ const queuedToastIds = (0, import_react24.useRef)(/* @__PURE__ */ new Set());
8426
+ const prevToastQueue = (0, import_react24.useRef)([]);
8427
+ const [toastQueue, setToastQueue] = (0, import_react24.useState)([]);
8428
+ const autoHideTimeoutRef = (0, import_react24.useRef)(null);
8429
+ const hidingTimeoutRefs = (0, import_react24.useRef)({});
8430
+ const nodeRef = (0, import_react24.useRef)(null);
8431
+ const [nodeReady, setNodeReady] = (0, import_react24.useState)(false);
8432
+ const hideToast = (0, import_react24.useCallback)(
8409
8433
  (id) => {
8410
8434
  setToastQueue((currentToastQueue) => {
8411
8435
  const hideToastIndex = currentToastQueue.findIndex((t) => t.id === id);
@@ -8439,7 +8463,7 @@ function Toasts({
8439
8463
  },
8440
8464
  [onHide, setToastQueue]
8441
8465
  );
8442
- (0, import_react23.useEffect)(() => {
8466
+ (0, import_react24.useEffect)(() => {
8443
8467
  const newToastQueueArgs = queue.reduce((acc, toast) => {
8444
8468
  if (toast.expires < Date.now()) {
8445
8469
  onHide(toast.id);
@@ -8454,7 +8478,7 @@ function Toasts({
8454
8478
  const newToasts = newToastQueueArgs.reduce((acc, toast) => {
8455
8479
  if (dedupeConsecutive && acc.length) {
8456
8480
  const lastToast = acc[acc.length - 1];
8457
- if ((0, import_lodash_es4.isEqual)(toast.text, lastToast.text)) {
8481
+ if ((0, import_lodash_es5.isEqual)(toast.text, lastToast.text)) {
8458
8482
  return acc;
8459
8483
  }
8460
8484
  }
@@ -8469,14 +8493,14 @@ function Toasts({
8469
8493
  }, []);
8470
8494
  setToastQueue((currentToastQueue) => {
8471
8495
  const currentToast2 = currentToastQueue[currentToastQueue.length - 1];
8472
- if (dedupeConsecutive && currentToast2 && (0, import_lodash_es4.isEqual)(newToasts[0].text, currentToast2.text)) {
8496
+ if (dedupeConsecutive && currentToast2 && (0, import_lodash_es5.isEqual)(newToasts[0].text, currentToast2.text)) {
8473
8497
  return currentToastQueue;
8474
8498
  }
8475
8499
  return [...currentToastQueue, ...newToasts];
8476
8500
  });
8477
8501
  }
8478
8502
  }, [queue, hideToast, onHide, dedupeConsecutive]);
8479
- (0, import_react23.useEffect)(() => {
8503
+ (0, import_react24.useEffect)(() => {
8480
8504
  if (prevToastQueue.current.length !== toastQueue.length) {
8481
8505
  const currentToast2 = toastQueue[toastQueue.length - 1];
8482
8506
  if (currentToast2 && !currentToast2.isHiding) {
@@ -8493,7 +8517,7 @@ function Toasts({
8493
8517
  prevToastQueue.current = toastQueue;
8494
8518
  }
8495
8519
  }, [toastQueue, hideToast, onHide]);
8496
- (0, import_react23.useEffect)(() => {
8520
+ (0, import_react24.useEffect)(() => {
8497
8521
  if (!nodeRef.current) {
8498
8522
  nodeRef.current = document.createElement("div");
8499
8523
  document.body.appendChild(nodeRef.current);
@@ -8507,7 +8531,7 @@ function Toasts({
8507
8531
  };
8508
8532
  }, []);
8509
8533
  const currentToastIndex = toastQueue.length - 1;
8510
- (0, import_react23.useEffect)(() => {
8534
+ (0, import_react24.useEffect)(() => {
8511
8535
  if (removeExpiredAndNotVisible) {
8512
8536
  setToastQueue((currentToastQueue) => {
8513
8537
  const newToastQueue = currentToastQueue.filter((toast, i) => {
@@ -8526,9 +8550,9 @@ function Toasts({
8526
8550
  const fromCurrent = i === currentToastIndex ? 0 : currentToastIndex - i;
8527
8551
  const movingToCurrent = currentToast.isHiding && i === currentToastIndex - 1;
8528
8552
  const hidingFromCurrent = currentToast.isHiding ? fromCurrent - 1 : fromCurrent;
8529
- const textNode = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { children: toast.text ? toReactNodes(toast.text) : null });
8530
- return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_react23.Fragment, { children: import_react_dom.default.createPortal(
8531
- /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(
8553
+ const textNode = /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("span", { children: toast.text ? toReactNodes(toast.text) : null });
8554
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_react24.Fragment, { children: import_react_dom.default.createPortal(
8555
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
8532
8556
  StyledToast,
8533
8557
  {
8534
8558
  isActive: toast.isActive,
@@ -8548,7 +8572,7 @@ function Toasts({
8548
8572
  movingToCurrent,
8549
8573
  children: [
8550
8574
  textNode,
8551
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
8575
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
8552
8576
  UnstyledButton,
8553
8577
  {
8554
8578
  css: extend2(flexCenter, {
@@ -8560,7 +8584,7 @@ function Toasts({
8560
8584
  outlineColor: `${colors.white} !important`
8561
8585
  }),
8562
8586
  onClick: () => hideToast(toast.id),
8563
- children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Icon, { name: "Close", width: 9 })
8587
+ children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Icon, { name: "Close", width: 9 })
8564
8588
  }
8565
8589
  )
8566
8590
  ]
@@ -6,7 +6,7 @@ import './typography/renderTypography.cjs';
6
6
  import './typography/Code.cjs';
7
7
  import '@emotion/styled';
8
8
  import 'react';
9
- import '../buttons-36cdd0fe.js';
9
+ import '../themes-37e92940.js';
10
10
  import '@emotion/css';
11
11
  import '../styles/colors.cjs';
12
12
  import '../utils/toNonTypographicReactNodes.cjs';
@@ -6,7 +6,7 @@ import './typography/renderTypography.js';
6
6
  import './typography/Code.js';
7
7
  import '@emotion/styled';
8
8
  import 'react';
9
- import '../buttons-35280bfe.js';
9
+ import '../themes-832e46b2.js';
10
10
  import '@emotion/css';
11
11
  import '../styles/colors.js';
12
12
  import '../utils/toNonTypographicReactNodes.js';
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Toasts
3
- } from "../chunk-7FHOKVKJ.js";
4
- import "../chunk-LIQSJ5R7.js";
5
- import "../chunk-VXKNN4SF.js";
6
- import "../chunk-BDZ46Z2I.js";
7
- import "../chunk-B6S7Y4K7.js";
8
- import "../chunk-GSKTHUQJ.js";
9
- import "../chunk-WGKUDRZ7.js";
10
- import "../chunk-2AGBCGOW.js";
11
- import "../chunk-MRGHRTKA.js";
12
- import "../chunk-35PJW7RT.js";
13
- import "../chunk-GWHKALYQ.js";
14
- import "../chunk-WTMJTGW4.js";
15
- import "../chunk-CRTTTIAD.js";
3
+ } from "../chunk-PDQVYUEW.js";
4
+ import "../chunk-ZO35RX7V.js";
5
+ import "../chunk-LGXMGWLV.js";
6
+ import "../chunk-V523QTZQ.js";
7
+ import "../chunk-YRZ3VNBI.js";
8
+ import "../chunk-HPZVUEDJ.js";
9
+ import "../chunk-7COKMITX.js";
10
+ import "../chunk-DIKOS5R6.js";
11
+ import "../chunk-AZOVE32P.js";
12
+ import "../chunk-HVDX4OZJ.js";
13
+ import "../chunk-OMY3WTAU.js";
14
+ import "../chunk-OZQ5WPLN.js";
16
15
  import "../chunk-YMNSXZ5D.js";
17
- import "../chunk-XDP7GCYE.js";
16
+ import "../chunk-7BSME2ZU.js";
17
+ import "../chunk-4X67A2CS.js";
18
18
  import "../chunk-OPV246QW.js";
19
19
  import "../chunk-AAFUVYVP.js";
20
- import "../chunk-4C2TISN7.js";
21
- import "../chunk-LTCJ6LNO.js";
20
+ import "../chunk-OUHQXQOJ.js";
21
+ import "../chunk-JAPRGAB7.js";
22
22
  import "../chunk-55OQPFLF.js";
23
- import "../chunk-7WDAN3OC.js";
24
- import "../chunk-I3FI3FNP.js";
23
+ import "../chunk-GQVNE3NU.js";
24
+ import "../chunk-TNDSUTUN.js";
25
25
  import "../chunk-EDN2QDCB.js";
26
26
  import "../chunk-FT62PIPN.js";
27
27
  import "../chunk-5ZDDVLS6.js";
@@ -136,8 +136,8 @@ import "../chunk-VI6WTKMV.js";
136
136
  import "../chunk-QW2INB5A.js";
137
137
  import "../chunk-JLD7MGLC.js";
138
138
  import "../chunk-DW6LFUI2.js";
139
- import "../chunk-PG2W2HVB.js";
140
- import "../chunk-IBZBPQMZ.js";
139
+ import "../chunk-CZFFMEAS.js";
140
+ import "../chunk-VNQE6KEX.js";
141
141
  import "../chunk-ENBUKLVT.js";
142
142
  import "../chunk-JSGRNWSB.js";
143
143
  import "../chunk-FO7I4E45.js";
@@ -53,8 +53,97 @@ __export(Toggle_exports, {
53
53
  module.exports = __toCommonJS(Toggle_exports);
54
54
  var import_styled3 = __toESM(require("@emotion/styled"), 1);
55
55
 
56
- // src/components/UnstyledButton.tsx
57
- var import_styled2 = __toESM(require("@emotion/styled"), 1);
56
+ // src/styles/colors.tsx
57
+ var neutral = {
58
+ black: "#000000",
59
+ gray5: "#0D0D0D",
60
+ gray10: "#1A1A1A",
61
+ gray15: "#262626",
62
+ gray20: "#333333",
63
+ gray25: "#404040",
64
+ gray30: "#4D4D4D",
65
+ gray40: "#666666",
66
+ gray50: "#808080",
67
+ gray57: "#8B8E98",
68
+ gray60: "#999999",
69
+ gray70: "#B3B3B3",
70
+ gray80: "#CCCCCC",
71
+ gray85: "#D9D9D9",
72
+ gray90: "#E6E6E6",
73
+ gray91: "#171717",
74
+ gray95: "#F2F2F2",
75
+ gray98: "#F9F9F9",
76
+ white: "#FFFFFF"
77
+ };
78
+ var darkGradient = "#1d1d1d linear-gradient(180deg, #090909 63.08%, #1d1d1d 100.52%)";
79
+ var primary = "#FFF14E";
80
+ var baseColors = __spreadProps(__spreadValues({}, neutral), {
81
+ // green
82
+ success: "#17C27C",
83
+ green33: "#179257",
84
+ // blue
85
+ blue43: "#145BC6",
86
+ blue22: "#0E2E60",
87
+ blue39: "#0068C9",
88
+ blue37: "#21529c",
89
+ blue58: "#28BFFF",
90
+ // less than 50% saturated blue
91
+ grayBlue9: "#16171A",
92
+ grayBlue32: "#4F5156",
93
+ grayBlue43: "#686A72",
94
+ grayBlue45: "#676F80",
95
+ grayBlue67: "#9BA7B9",
96
+ grayBlue80: "#C0C9D6",
97
+ grayBlue88: "#DEDFE4",
98
+ grayBlue94: "#EBEEF2",
99
+ grayBlue96: "#F2F5F7",
100
+ // purple
101
+ purple43: "#820AD1",
102
+ purple55: "#8B38DE",
103
+ // red
104
+ red42a10: "#D800271A",
105
+ // yellow
106
+ primary,
107
+ warning: primary,
108
+ // orange
109
+ danger: "#FD2C0F",
110
+ // neutral
111
+ secondary: neutral.black
112
+ });
113
+ var colors = baseColors;
114
+ function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
115
+ const bgRGB = hexToRGB(bgHex);
116
+ const hcRGB = hexToRGB(defaultHex);
117
+ if (!bgRGB || !hcRGB)
118
+ return defaultHex;
119
+ const c = contrast(bgRGB, hcRGB);
120
+ if (c < 4.5) {
121
+ return altHex;
122
+ }
123
+ return defaultHex;
124
+ }
125
+ function luminance(r, g, b) {
126
+ const a = [r, g, b].map(function(v) {
127
+ v /= 255;
128
+ return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
129
+ });
130
+ return a[0] * 0.2126 + a[1] * 0.7152 + a[2] * 0.0722;
131
+ }
132
+ function contrast(rgb1, rgb2) {
133
+ const lum1 = luminance(rgb1[0], rgb1[1], rgb1[2]);
134
+ const lum2 = luminance(rgb2[0], rgb2[1], rgb2[2]);
135
+ const brightest = Math.max(lum1, lum2);
136
+ const darkest = Math.min(lum1, lum2);
137
+ return (brightest + 0.05) / (darkest + 0.05);
138
+ }
139
+ function hexToRGB(hex) {
140
+ const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
141
+ return result ? [
142
+ parseInt(result[1], 16),
143
+ parseInt(result[2], 16),
144
+ parseInt(result[3], 16)
145
+ ] : [0, 0, 0];
146
+ }
58
147
 
59
148
  // src/styles/common.tsx
60
149
  var import_react4 = require("@emotion/react");
@@ -156,98 +245,6 @@ function inRange(currentBp, assertBp) {
156
245
  return false;
157
246
  }
158
247
 
159
- // src/styles/colors.tsx
160
- var neutral = {
161
- black: "#000000",
162
- gray5: "#0D0D0D",
163
- gray10: "#1A1A1A",
164
- gray15: "#262626",
165
- gray20: "#333333",
166
- gray25: "#404040",
167
- gray30: "#4D4D4D",
168
- gray40: "#666666",
169
- gray50: "#808080",
170
- gray57: "#8B8E98",
171
- gray60: "#999999",
172
- gray70: "#B3B3B3",
173
- gray80: "#CCCCCC",
174
- gray85: "#D9D9D9",
175
- gray90: "#E6E6E6",
176
- gray91: "#171717",
177
- gray95: "#F2F2F2",
178
- gray98: "#F9F9F9",
179
- white: "#FFFFFF"
180
- };
181
- var darkGradient = "#1d1d1d linear-gradient(180deg, #090909 63.08%, #1d1d1d 100.52%)";
182
- var primary = "#FFF14E";
183
- var baseColors = __spreadProps(__spreadValues({}, neutral), {
184
- // green
185
- success: "#17C27C",
186
- green33: "#179257",
187
- // blue
188
- blue43: "#145BC6",
189
- blue22: "#0E2E60",
190
- blue39: "#0068C9",
191
- blue37: "#21529c",
192
- blue58: "#28BFFF",
193
- // less than 50% saturated blue
194
- grayBlue9: "#16171A",
195
- grayBlue32: "#4F5156",
196
- grayBlue43: "#686A72",
197
- grayBlue45: "#676F80",
198
- grayBlue67: "#9BA7B9",
199
- grayBlue80: "#C0C9D6",
200
- grayBlue88: "#DEDFE4",
201
- grayBlue94: "#EBEEF2",
202
- grayBlue96: "#F2F5F7",
203
- // purple
204
- purple43: "#820AD1",
205
- purple55: "#8B38DE",
206
- // red
207
- red42a10: "#D800271A",
208
- // yellow
209
- primary,
210
- warning: primary,
211
- // orange
212
- danger: "#FD2C0F",
213
- // neutral
214
- secondary: neutral.black
215
- });
216
- var colors = baseColors;
217
- function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
218
- const bgRGB = hexToRGB(bgHex);
219
- const hcRGB = hexToRGB(defaultHex);
220
- if (!bgRGB || !hcRGB)
221
- return defaultHex;
222
- const c = contrast(bgRGB, hcRGB);
223
- if (c < 4.5) {
224
- return altHex;
225
- }
226
- return defaultHex;
227
- }
228
- function luminance(r, g, b) {
229
- const a = [r, g, b].map(function(v) {
230
- v /= 255;
231
- return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
232
- });
233
- return a[0] * 0.2126 + a[1] * 0.7152 + a[2] * 0.0722;
234
- }
235
- function contrast(rgb1, rgb2) {
236
- const lum1 = luminance(rgb1[0], rgb1[1], rgb1[2]);
237
- const lum2 = luminance(rgb2[0], rgb2[1], rgb2[2]);
238
- const brightest = Math.max(lum1, lum2);
239
- const darkest = Math.min(lum1, lum2);
240
- return (brightest + 0.05) / (darkest + 0.05);
241
- }
242
- function hexToRGB(hex) {
243
- const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
244
- return result ? [
245
- parseInt(result[1], 16),
246
- parseInt(result[2], 16),
247
- parseInt(result[3], 16)
248
- ] : [0, 0, 0];
249
- }
250
-
251
248
  // src/styles/themes.tsx
252
249
  var import_react3 = require("@emotion/react");
253
250
  var import_deepmerge = __toESM(require("deepmerge"), 1);
@@ -3512,8 +3509,7 @@ var baseThemeColors = {
3512
3509
  success: colors.success,
3513
3510
  text: colors.black,
3514
3511
  vlcNeutral: colors.gray95,
3515
- warning: colors.warning,
3516
- inputBackground: colors.white
3512
+ warning: colors.warning
3517
3513
  };
3518
3514
  var themeOrColorKeyValues = [
3519
3515
  ...Object.keys(baseThemeColors),
@@ -3525,6 +3521,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
3525
3521
  typography: getTypography("Lightspark" /* Lightspark */),
3526
3522
  hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
3527
3523
  buttons: defaultButtonsTheme,
3524
+ badge: {
3525
+ bg: "c05Neutral"
3526
+ },
3527
+ inputBackground: colors.white,
3528
3528
  loading: "LoadingSpinner"
3529
3529
  });
3530
3530
  var lightBaseTheme = baseTheme;
@@ -3562,7 +3562,10 @@ var darkBaseTheme = {
3562
3562
  warning: colors.warning,
3563
3563
  buttons: defaultButtonsTheme,
3564
3564
  loading: "LoadingSpinner",
3565
- inputBackground: colors.black
3565
+ inputBackground: colors.black,
3566
+ badge: {
3567
+ bg: "c15Neutral"
3568
+ }
3566
3569
  };
3567
3570
  var lightTheme = extend(lightBaseTheme, {
3568
3571
  header: extendBase(lightBaseTheme, {
@@ -3678,7 +3681,10 @@ var bridgeBaseSettings = {
3678
3681
  defaultBorderWidth: 1
3679
3682
  }
3680
3683
  }
3681
- })
3684
+ }),
3685
+ badge: {
3686
+ bg: "grayBlue94"
3687
+ }
3682
3688
  };
3683
3689
  var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3684
3690
  type: "bridgeLight" /* BridgeLight */,
@@ -3795,6 +3801,7 @@ var darkGradientBg = import_react4.css`
3795
3801
  `;
3796
3802
 
3797
3803
  // src/components/UnstyledButton.tsx
3804
+ var import_styled2 = __toESM(require("@emotion/styled"), 1);
3798
3805
  var UnstyledButton = import_styled2.default.button`
3799
3806
  ${standardFocusOutline}
3800
3807
  font-family: ${({ theme }) => theme.typography.fontFamilies.main};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Toggle,
3
3
  ToggleContainer
4
- } from "../chunk-SNFRMD6Z.js";
5
- import "../chunk-LTCJ6LNO.js";
6
- import "../chunk-PG2W2HVB.js";
7
- import "../chunk-IBZBPQMZ.js";
4
+ } from "../chunk-4BERRPJN.js";
5
+ import "../chunk-JAPRGAB7.js";
6
+ import "../chunk-CZFFMEAS.js";
7
+ import "../chunk-VNQE6KEX.js";
8
8
  import "../chunk-ENBUKLVT.js";
9
9
  import "../chunk-JSGRNWSB.js";
10
10
  import "../chunk-FO7I4E45.js";
@@ -3512,8 +3512,7 @@ var baseThemeColors = {
3512
3512
  success: colors.success,
3513
3513
  text: colors.black,
3514
3514
  vlcNeutral: colors.gray95,
3515
- warning: colors.warning,
3516
- inputBackground: colors.white
3515
+ warning: colors.warning
3517
3516
  };
3518
3517
  var themeOrColorKeyValues = [
3519
3518
  ...Object.keys(baseThemeColors),
@@ -3525,6 +3524,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
3525
3524
  typography: getTypography("Lightspark" /* Lightspark */),
3526
3525
  hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
3527
3526
  buttons: defaultButtonsTheme,
3527
+ badge: {
3528
+ bg: "c05Neutral"
3529
+ },
3530
+ inputBackground: colors.white,
3528
3531
  loading: "LoadingSpinner"
3529
3532
  });
3530
3533
  var lightBaseTheme = baseTheme;
@@ -3562,7 +3565,10 @@ var darkBaseTheme = {
3562
3565
  warning: colors.warning,
3563
3566
  buttons: defaultButtonsTheme,
3564
3567
  loading: "LoadingSpinner",
3565
- inputBackground: colors.black
3568
+ inputBackground: colors.black,
3569
+ badge: {
3570
+ bg: "c15Neutral"
3571
+ }
3566
3572
  };
3567
3573
  var lightTheme = extend(lightBaseTheme, {
3568
3574
  header: extendBase(lightBaseTheme, {
@@ -3678,7 +3684,10 @@ var bridgeBaseSettings = {
3678
3684
  defaultBorderWidth: 1
3679
3685
  }
3680
3686
  }
3681
- })
3687
+ }),
3688
+ badge: {
3689
+ bg: "grayBlue94"
3690
+ }
3682
3691
  };
3683
3692
  var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3684
3693
  type: "bridgeLight" /* BridgeLight */,