@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,13 +1,13 @@
1
1
  import {
2
2
  Pill
3
- } from "./chunk-J3YVJWRG.js";
3
+ } from "./chunk-DWUP3RDU.js";
4
4
  import {
5
5
  InputSubtext,
6
6
  inputBlockStyle
7
- } from "./chunk-6CNJ5ZCC.js";
7
+ } from "./chunk-7RMHMFS2.js";
8
8
  import {
9
9
  Icon
10
- } from "./chunk-I3FI3FNP.js";
10
+ } from "./chunk-TNDSUTUN.js";
11
11
 
12
12
  // src/components/FileInput.tsx
13
13
  import styled from "@emotion/styled";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-JJC2AUQ3.js";
4
4
  import {
5
5
  TextButton
6
- } from "./chunk-2XUHQWCJ.js";
6
+ } from "./chunk-C4HNAZFZ.js";
7
7
  import {
8
8
  IconContainer
9
- } from "./chunk-I3FI3FNP.js";
9
+ } from "./chunk-TNDSUTUN.js";
10
10
  import {
11
11
  bp
12
12
  } from "./chunk-JSGRNWSB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  standardLineHeightEms
3
- } from "./chunk-PG2W2HVB.js";
3
+ } from "./chunk-CZFFMEAS.js";
4
4
 
5
5
  // src/components/Checkbox.tsx
6
6
  import styled from "@emotion/styled";
@@ -1,39 +1,39 @@
1
- import {
2
- Label
3
- } from "./chunk-BDZ46Z2I.js";
4
1
  import {
5
2
  LabelModerate
6
- } from "./chunk-B6S7Y4K7.js";
3
+ } from "./chunk-V523QTZQ.js";
7
4
  import {
8
5
  LabelStrong
9
- } from "./chunk-GSKTHUQJ.js";
6
+ } from "./chunk-YRZ3VNBI.js";
10
7
  import {
11
8
  Overline
12
- } from "./chunk-WGKUDRZ7.js";
9
+ } from "./chunk-HPZVUEDJ.js";
13
10
  import {
14
11
  Code
15
- } from "./chunk-2AGBCGOW.js";
12
+ } from "./chunk-7COKMITX.js";
16
13
  import {
17
14
  Display
18
- } from "./chunk-MRGHRTKA.js";
15
+ } from "./chunk-DIKOS5R6.js";
19
16
  import {
20
17
  Title
21
- } from "./chunk-35PJW7RT.js";
18
+ } from "./chunk-AZOVE32P.js";
22
19
  import {
23
20
  Body
24
- } from "./chunk-GWHKALYQ.js";
21
+ } from "./chunk-HVDX4OZJ.js";
25
22
  import {
26
23
  BodyStrong
27
- } from "./chunk-WTMJTGW4.js";
24
+ } from "./chunk-OMY3WTAU.js";
28
25
  import {
29
26
  Headline
30
- } from "./chunk-CRTTTIAD.js";
27
+ } from "./chunk-OZQ5WPLN.js";
28
+ import {
29
+ Label
30
+ } from "./chunk-7BSME2ZU.js";
31
31
  import {
32
- __spreadValues
32
+ __objRest
33
33
  } from "./chunk-LOPKRCGI.js";
34
34
 
35
35
  // src/components/typography/renderTypography.tsx
36
- import { jsx } from "@emotion/react/jsx-runtime";
36
+ import React from "react";
37
37
  var typographyMap = {
38
38
  Display,
39
39
  Headline,
@@ -45,11 +45,12 @@ var typographyMap = {
45
45
  "Label Strong": LabelStrong,
46
46
  Overline,
47
47
  Code,
48
- "Code Strong": () => /* @__PURE__ */ jsx("div", { children: "Unimplemented" })
48
+ "Code Strong": Code
49
49
  };
50
50
  var renderTypography = (type, props) => {
51
51
  const TypographyComponent = typographyMap[type];
52
- return /* @__PURE__ */ jsx(TypographyComponent, __spreadValues({}, props));
52
+ const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
53
+ return React.createElement(TypographyComponent, rest, children);
53
54
  };
54
55
 
55
56
  export {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  DocsHeadline
3
- } from "./chunk-BENSR2YW.js";
3
+ } from "./chunk-5ON3ICVC.js";
4
4
  import {
5
5
  select
6
6
  } from "./chunk-YMNSXZ5D.js";
7
7
  import {
8
8
  Icon
9
- } from "./chunk-I3FI3FNP.js";
9
+ } from "./chunk-TNDSUTUN.js";
10
10
  import {
11
11
  __spreadProps,
12
12
  __spreadValues
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pxToRems
3
- } from "./chunk-7WDAN3OC.js";
3
+ } from "./chunk-GQVNE3NU.js";
4
4
 
5
5
  // src/components/StatusIndicator.tsx
6
6
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
- import {
2
- renderTypography
3
- } from "./chunk-VXKNN4SF.js";
4
1
  import {
5
2
  Loading
6
- } from "./chunk-5TTLUOJ5.js";
3
+ } from "./chunk-DNGAINGL.js";
4
+ import {
5
+ renderTypography
6
+ } from "./chunk-LGXMGWLV.js";
7
7
  import {
8
8
  select
9
9
  } from "./chunk-YMNSXZ5D.js";
@@ -12,23 +12,23 @@ import {
12
12
  } from "./chunk-AAFUVYVP.js";
13
13
  import {
14
14
  applyTypography
15
- } from "./chunk-4C2TISN7.js";
15
+ } from "./chunk-OUHQXQOJ.js";
16
16
  import {
17
17
  Tooltip
18
- } from "./chunk-RPNTFEXE.js";
18
+ } from "./chunk-ZS7G6WIG.js";
19
19
  import {
20
20
  UnstyledButton
21
- } from "./chunk-LTCJ6LNO.js";
21
+ } from "./chunk-JAPRGAB7.js";
22
22
  import {
23
23
  Icon
24
- } from "./chunk-I3FI3FNP.js";
24
+ } from "./chunk-TNDSUTUN.js";
25
25
  import {
26
26
  getFocusOutline
27
- } from "./chunk-PG2W2HVB.js";
27
+ } from "./chunk-CZFFMEAS.js";
28
28
  import {
29
29
  getBackgroundColor,
30
30
  isThemeOrColorKey
31
- } from "./chunk-IBZBPQMZ.js";
31
+ } from "./chunk-VNQE6KEX.js";
32
32
  import {
33
33
  TokenSize
34
34
  } from "./chunk-ENBUKLVT.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toNonTypographicReactNodes
3
- } from "./chunk-XDP7GCYE.js";
3
+ } from "./chunk-4X67A2CS.js";
4
4
  import {
5
5
  applyTypography
6
- } from "./chunk-4C2TISN7.js";
6
+ } from "./chunk-OUHQXQOJ.js";
7
7
 
8
8
  // src/components/typography/BodyStrong.tsx
9
9
  import styled from "@emotion/styled";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getFontColor
3
- } from "./chunk-IBZBPQMZ.js";
3
+ } from "./chunk-VNQE6KEX.js";
4
4
  import {
5
5
  getTypographyString
6
6
  } from "./chunk-ENBUKLVT.js";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-YMNSXZ5D.js";
4
4
  import {
5
5
  toNonTypographicReactNodes
6
- } from "./chunk-XDP7GCYE.js";
6
+ } from "./chunk-4X67A2CS.js";
7
7
  import {
8
8
  applyTypography
9
- } from "./chunk-4C2TISN7.js";
9
+ } from "./chunk-OUHQXQOJ.js";
10
10
 
11
11
  // src/components/typography/Headline.tsx
12
12
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toReactNodes
3
- } from "./chunk-LIQSJ5R7.js";
3
+ } from "./chunk-ZO35RX7V.js";
4
4
  import {
5
5
  UnstyledButton
6
- } from "./chunk-LTCJ6LNO.js";
6
+ } from "./chunk-JAPRGAB7.js";
7
7
  import {
8
8
  z
9
9
  } from "./chunk-55OQPFLF.js";
@@ -11,16 +11,16 @@ import {
11
11
  extend,
12
12
  flexCenter,
13
13
  pxToRems
14
- } from "./chunk-7WDAN3OC.js";
14
+ } from "./chunk-GQVNE3NU.js";
15
15
  import {
16
16
  Icon
17
- } from "./chunk-I3FI3FNP.js";
17
+ } from "./chunk-TNDSUTUN.js";
18
18
  import {
19
19
  standardContentInset
20
- } from "./chunk-PG2W2HVB.js";
20
+ } from "./chunk-CZFFMEAS.js";
21
21
  import {
22
22
  themeOr
23
- } from "./chunk-IBZBPQMZ.js";
23
+ } from "./chunk-VNQE6KEX.js";
24
24
  import {
25
25
  colors
26
26
  } from "./chunk-XUWFUTR4.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-E3FGOYEJ.js";
7
7
  import {
8
8
  toReactNodes
9
- } from "./chunk-LIQSJ5R7.js";
9
+ } from "./chunk-ZO35RX7V.js";
10
10
  import {
11
11
  Link
12
12
  } from "./chunk-AAFUVYVP.js";
@@ -15,10 +15,10 @@ import {
15
15
  } from "./chunk-55OQPFLF.js";
16
16
  import {
17
17
  Icon
18
- } from "./chunk-I3FI3FNP.js";
18
+ } from "./chunk-TNDSUTUN.js";
19
19
  import {
20
20
  getColor
21
- } from "./chunk-IBZBPQMZ.js";
21
+ } from "./chunk-VNQE6KEX.js";
22
22
  import {
23
23
  bp
24
24
  } from "./chunk-JSGRNWSB.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CopyToClipboardButton
3
- } from "./chunk-X4TGLNCH.js";
3
+ } from "./chunk-242JGEN4.js";
4
4
  import {
5
5
  standardBorderRadius
6
- } from "./chunk-PG2W2HVB.js";
6
+ } from "./chunk-CZFFMEAS.js";
7
7
 
8
8
  // src/components/SecretContainer.tsx
9
9
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  renderTypography
3
- } from "./chunk-VXKNN4SF.js";
3
+ } from "./chunk-LGXMGWLV.js";
4
4
  import {
5
5
  Icon
6
- } from "./chunk-I3FI3FNP.js";
6
+ } from "./chunk-TNDSUTUN.js";
7
7
 
8
8
  // src/components/TextIconAligner.tsx
9
9
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  rootFontSizeRems,
6
6
  standardLineHeightEms
7
- } from "./chunk-PG2W2HVB.js";
7
+ } from "./chunk-CZFFMEAS.js";
8
8
  import {
9
9
  useThemeBg
10
- } from "./chunk-IBZBPQMZ.js";
10
+ } from "./chunk-VNQE6KEX.js";
11
11
  import {
12
12
  bp
13
13
  } from "./chunk-JSGRNWSB.js";
@@ -10,10 +10,10 @@ import {
10
10
  } from "./chunk-VI6WTKMV.js";
11
11
  import {
12
12
  rootFontSizePx
13
- } from "./chunk-PG2W2HVB.js";
13
+ } from "./chunk-CZFFMEAS.js";
14
14
  import {
15
15
  getFontColor
16
- } from "./chunk-IBZBPQMZ.js";
16
+ } from "./chunk-VNQE6KEX.js";
17
17
 
18
18
  // src/components/Icon/Icon.tsx
19
19
  import styled from "@emotion/styled";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  textInputStyle
3
- } from "./chunk-6CNJ5ZCC.js";
3
+ } from "./chunk-7RMHMFS2.js";
4
4
 
5
5
  // src/components/CodeInput/SingleCodeInput.tsx
6
6
  import { css, useTheme } from "@emotion/react";
@@ -1,31 +1,34 @@
1
1
  import {
2
2
  StyledContentTable
3
- } from "./chunk-K7FYXGOI.js";
3
+ } from "./chunk-3R5KJDSL.js";
4
4
  import {
5
5
  StyledCode
6
- } from "./chunk-2AGBCGOW.js";
6
+ } from "./chunk-7COKMITX.js";
7
7
  import {
8
8
  displaySelector
9
- } from "./chunk-MRGHRTKA.js";
9
+ } from "./chunk-DIKOS5R6.js";
10
10
  import {
11
11
  StyledTitle
12
- } from "./chunk-35PJW7RT.js";
12
+ } from "./chunk-AZOVE32P.js";
13
13
  import {
14
14
  StyledBody
15
- } from "./chunk-GWHKALYQ.js";
15
+ } from "./chunk-HVDX4OZJ.js";
16
16
  import {
17
17
  ALL_HEADLINE_SELECTORS,
18
18
  headlineSelector
19
- } from "./chunk-CRTTTIAD.js";
19
+ } from "./chunk-OZQ5WPLN.js";
20
20
  import {
21
21
  select
22
22
  } from "./chunk-YMNSXZ5D.js";
23
+ import {
24
+ Spacing
25
+ } from "./chunk-E5DUKMCU.js";
23
26
  import {
24
27
  overflowAutoWithoutScrollbars
25
- } from "./chunk-7WDAN3OC.js";
28
+ } from "./chunk-GQVNE3NU.js";
26
29
  import {
27
30
  standardBorderRadius
28
- } from "./chunk-PG2W2HVB.js";
31
+ } from "./chunk-CZFFMEAS.js";
29
32
  import {
30
33
  getTypographyString
31
34
  } from "./chunk-ENBUKLVT.js";
@@ -55,52 +58,52 @@ var StyledArticle = styled.article`
55
58
 
56
59
  ${headlineSelector("h1")} {
57
60
  margin: 0;
58
- padding-bottom: ${"8px" /* xs */};
61
+ padding-bottom: ${Spacing.px.xs};
59
62
  }
60
63
 
61
64
  ${headlineSelector("h2")} {
62
- padding-top: ${"40px" /* 2xl */};
63
- padding-bottom: ${"8px" /* xs */};
65
+ padding-top: ${Spacing.px["2xl"]};
66
+ padding-bottom: ${Spacing.px.xs};
64
67
  margin: 0;
65
68
  }
66
69
 
67
70
  ${headlineSelector("h3")} {
68
- padding-top: ${"40px" /* 2xl */};
69
- padding-bottom: ${"8px" /* xs */};
71
+ padding-top: ${Spacing.px["2xl"]};
72
+ padding-bottom: ${Spacing.px.xs};
70
73
  margin: 0;
71
74
  }
72
75
 
73
76
  ${headlineSelector("h4")} {
74
- padding-top: ${"40px" /* 2xl */};
75
- padding-bottom: ${"8px" /* xs */};
77
+ padding-top: ${Spacing.px["2xl"]};
78
+ padding-bottom: ${Spacing.px.xs};
76
79
  margin: 0;
77
80
  }
78
81
 
79
82
  ${headlineSelector("h5")} {
80
- padding-top: ${"40px" /* 2xl */};
81
- padding-bottom: ${"8px" /* xs */};
83
+ padding-top: ${Spacing.px["2xl"]};
84
+ padding-bottom: ${Spacing.px.xs};
82
85
  margin: 0;
83
86
  }
84
87
 
85
88
  ${headlineSelector("h6")} {
86
- padding-top: ${"40px" /* 2xl */};
87
- padding-bottom: ${"8px" /* xs */};
89
+ padding-top: ${Spacing.px["2xl"]};
90
+ padding-bottom: ${Spacing.px.xs};
88
91
  margin: 0;
89
92
  }
90
93
 
91
94
  ${select(StyledBody)} {
92
- margin-top: ${"8px" /* xs */};
93
- margin-bottom: ${"8px" /* xs */};
95
+ margin-top: ${Spacing.px.xs};
96
+ margin-bottom: ${Spacing.px.xs};
94
97
  }
95
98
 
96
99
  ${select(StyledContentTable)} {
97
- margin: ${"40px" /* 2xl */} 0;
100
+ margin: ${Spacing.px["2xl"]} 0;
98
101
  }
99
102
 
100
103
  img,
101
104
  video {
102
- margin-top: ${"16px" /* md */};
103
- margin-bottom: ${"16px" /* md */};
105
+ margin-top: ${Spacing.px.md};
106
+ margin-bottom: ${Spacing.px.md};
104
107
  }
105
108
 
106
109
  strong {
@@ -116,9 +119,9 @@ var StyledArticle = styled.article`
116
119
 
117
120
  ul,
118
121
  ol {
119
- padding-left: ${"24px" /* lg */};
120
- margin-top: ${"8px" /* xs */};
121
- margin-bottom: ${"8px" /* xs */};
122
+ padding-left: ${Spacing.px.lg};
123
+ margin-top: ${Spacing.px.xs};
124
+ margin-bottom: ${Spacing.px.xs};
122
125
  *:not(a) {
123
126
  color: ${({ theme }) => theme.text};
124
127
  }
@@ -127,23 +130,23 @@ var StyledArticle = styled.article`
127
130
  li {
128
131
  ${({ theme }) => getTypographyString(theme, "Body", "Medium")}
129
132
  :not(:last-child) {
130
- margin-bottom: ${"4px" /* 3xs */};
133
+ margin-bottom: ${Spacing.px["3xs"]};
131
134
  }
132
135
  }
133
136
 
134
137
  code:not([class|="language"]) {
135
138
  ${({ theme }) => getTypographyString(theme, "Code", "Medium")}
136
139
  background: ${colors.grayBlue94};
137
- padding: ${"2px" /* 4xs */} ${"6px" /* 2xs */};
138
- margin: ${"2px" /* 4xs */};
140
+ padding: ${Spacing.px["4xs"]} ${Spacing.px["2xs"]};
141
+ margin: ${Spacing.px["4xs"]};
139
142
  border-radius: 4px;
140
143
  }
141
144
 
142
145
  pre[class|="language"] {
143
146
  ${standardBorderRadius(8)}
144
147
  width: 100%;
145
- padding: ${"16px" /* md */} ${"24px" /* lg */};
146
- margin: ${"16px" /* md */} 0;
148
+ padding: ${Spacing.px.md} ${Spacing.px.lg};
149
+ margin: ${Spacing.px.md} 0;
147
150
  }
148
151
 
149
152
  // Must match specificity of prismjs to get proper line height!
@@ -155,7 +158,7 @@ var StyledArticle = styled.article`
155
158
  }
156
159
 
157
160
  blockquote {
158
- margin: ${"8px" /* xs */} 0;
161
+ margin: ${Spacing.px.xs} 0;
159
162
  }
160
163
  `;
161
164
 
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toNonTypographicReactNodes
3
- } from "./chunk-XDP7GCYE.js";
3
+ } from "./chunk-4X67A2CS.js";
4
4
  import {
5
5
  applyTypography
6
- } from "./chunk-4C2TISN7.js";
6
+ } from "./chunk-OUHQXQOJ.js";
7
7
 
8
8
  // src/components/typography/LabelModerate.tsx
9
9
  import styled from "@emotion/styled";
@@ -61,8 +61,7 @@ var baseThemeColors = {
61
61
  success: colors.success,
62
62
  text: colors.black,
63
63
  vlcNeutral: colors.gray95,
64
- warning: colors.warning,
65
- inputBackground: colors.white
64
+ warning: colors.warning
66
65
  };
67
66
  var themeOrColorKeyValues = [
68
67
  ...Object.keys(baseThemeColors),
@@ -74,6 +73,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
74
73
  typography: getTypography("Lightspark" /* Lightspark */),
75
74
  hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
76
75
  buttons: defaultButtonsTheme,
76
+ badge: {
77
+ bg: "c05Neutral"
78
+ },
79
+ inputBackground: colors.white,
77
80
  loading: "LoadingSpinner"
78
81
  });
79
82
  var lightBaseTheme = baseTheme;
@@ -111,7 +114,10 @@ var darkBaseTheme = {
111
114
  warning: colors.warning,
112
115
  buttons: defaultButtonsTheme,
113
116
  loading: "LoadingSpinner",
114
- inputBackground: colors.black
117
+ inputBackground: colors.black,
118
+ badge: {
119
+ bg: "c15Neutral"
120
+ }
115
121
  };
116
122
  var lightTheme = extend(lightBaseTheme, {
117
123
  header: extendBase(lightBaseTheme, {
@@ -227,7 +233,10 @@ var bridgeBaseSettings = {
227
233
  defaultBorderWidth: 1
228
234
  }
229
235
  }
230
- })
236
+ }),
237
+ badge: {
238
+ bg: "grayBlue94"
239
+ }
231
240
  };
232
241
  var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
233
242
  type: "bridgeLight" /* BridgeLight */,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TextInput
3
- } from "./chunk-N2NPIZCV.js";
3
+ } from "./chunk-ZCXGHQQF.js";
4
4
  import {
5
5
  addCommasToDigits,
6
6
  removeChars,
@@ -0,0 +1,74 @@
1
+ import {
2
+ setDefaultReactNodesTypography,
3
+ toReactNodes
4
+ } from "./chunk-ZO35RX7V.js";
5
+ import {
6
+ Icon
7
+ } from "./chunk-TNDSUTUN.js";
8
+ import {
9
+ standardBorderRadius
10
+ } from "./chunk-CZFFMEAS.js";
11
+ import {
12
+ getColor
13
+ } from "./chunk-VNQE6KEX.js";
14
+
15
+ // src/components/Badge.tsx
16
+ import styled from "@emotion/styled";
17
+ import { jsx, jsxs } from "@emotion/react/jsx-runtime";
18
+ function Badge({
19
+ content: contentProp,
20
+ kind,
21
+ icon,
22
+ ml = 0,
23
+ mr = 0,
24
+ size = "sm",
25
+ block = false,
26
+ typography: typographyProp
27
+ }) {
28
+ const typography = {
29
+ type: (typographyProp == null ? void 0 : typographyProp.type) || "Label Moderate",
30
+ props: {
31
+ size: (typographyProp == null ? void 0 : typographyProp.size) || "Small",
32
+ color: (typographyProp == null ? void 0 : typographyProp.color) || (kind === "danger" ? "danger" : "text")
33
+ }
34
+ };
35
+ const typographyMap = {
36
+ link: typography,
37
+ externalLink: typography,
38
+ text: typography,
39
+ nextLink: typography
40
+ };
41
+ let content = setDefaultReactNodesTypography(
42
+ contentProp,
43
+ typographyMap
44
+ );
45
+ content = toReactNodes(content);
46
+ return contentProp ? /* @__PURE__ */ jsxs(StyledBadge, { kind, ml, size, block, children: [
47
+ icon ? /* @__PURE__ */ jsx(Icon, { name: icon.name, width: 20, color: icon.color }) : null,
48
+ /* @__PURE__ */ jsx(BadgeContent, { children: content })
49
+ ] }) : null;
50
+ }
51
+ var badgeSmVPadding = 2;
52
+ var badgeSmHPadding = 6;
53
+ var StyledBadge = styled.div`
54
+ ${({ size }) => standardBorderRadius(size === "sm" ? 4 : 12)}
55
+ ${({ ml }) => ml === 0 ? "" : `margin-left: ${ml}px;`}
56
+
57
+ display: ${({ block }) => block ? "flex" : "inline-flex"};
58
+ gap: ${({ size }) => size === "sm" ? badgeSmHPadding : 12}px;
59
+ align-items: center;
60
+ padding: ${({ size }) => size === "sm" ? `${badgeSmVPadding}px ${badgeSmHPadding}px` : "12px 16px"};
61
+ background-color: ${({ theme, kind }) => {
62
+ if (kind === "danger") {
63
+ return getColor(theme, "red42a10");
64
+ } else {
65
+ return getColor(theme, theme.badge.bg);
66
+ }
67
+ }};
68
+ `;
69
+ var BadgeContent = styled.div``;
70
+
71
+ export {
72
+ Badge,
73
+ badgeSmVPadding
74
+ };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  standardBorderRadius
3
- } from "./chunk-PG2W2HVB.js";
3
+ } from "./chunk-CZFFMEAS.js";
4
4
  import {
5
5
  themeOr
6
- } from "./chunk-IBZBPQMZ.js";
6
+ } from "./chunk-VNQE6KEX.js";
7
7
 
8
8
  // src/components/ProgressBar.tsx
9
9
  import styled from "@emotion/styled";