@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,9 +1,66 @@
1
1
  import * as _emotion_react from '@emotion/react';
2
2
  import { Theme } from '@emotion/react';
3
- import { FontFamilies, TypographyGroup, TokenSizeKey } from './styles/tokens/typography.js';
3
+ import { TokenSizeKey, FontFamilies, TypographyGroup } from './styles/tokens/typography.js';
4
4
  import { CSSInterpolation } from '@emotion/css';
5
5
  import { ColorKey } from './styles/colors.js';
6
6
 
7
+ type PaddingYKey = "short" | "regular";
8
+ type PaddingY = number | {
9
+ [key in PaddingYKey]: number;
10
+ };
11
+ declare const buttonBorderRadiuses: readonly [8, 32];
12
+ type ButtonBorderRadius = (typeof buttonBorderRadiuses)[number];
13
+ declare const allowedButtonTypographyTypes: readonly ["Body", "Body Strong", "Title", "Label", "Label Moderate", "Label Strong"];
14
+ type AllowedButtonTypographyTypes = (typeof allowedButtonTypographyTypes)[number];
15
+ type ButtonTypographyArgs = {
16
+ type?: AllowedButtonTypographyTypes;
17
+ color?: ThemeOrColorKey;
18
+ };
19
+ declare const buttonsThemeBase: {
20
+ defaultSize: TokenSizeKey;
21
+ defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
22
+ defaultColor: ThemeOrColorKey;
23
+ defaultBorderRadius: 8 | 32;
24
+ defaultBorderWidth: number;
25
+ defaultBackgroundColor: BackgroundColorKeyArg;
26
+ defaultBorderColor: BackgroundColorKeyArg;
27
+ defaultHoverBackgroundColor: BackgroundColorKeyArg;
28
+ defaultHoverBorderColor: BackgroundColorKeyArg;
29
+ defaultOutlineOffset: number;
30
+ defaultPaddingsY: {
31
+ ExtraSmall: number;
32
+ Small: PaddingY;
33
+ Schmedium: number;
34
+ Medium: number;
35
+ Mlarge: number;
36
+ Large: number;
37
+ };
38
+ kinds: {};
39
+ };
40
+ type ButtonsThemeKey = keyof typeof buttonsThemeBase;
41
+ type ButtonKindsProps = Record<string, Partial<typeof buttonsThemeBase>>;
42
+ declare const defaultButtonsTheme: {
43
+ kinds: ButtonKindsProps;
44
+ defaultSize: TokenSizeKey;
45
+ defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
46
+ defaultColor: ThemeOrColorKey;
47
+ defaultBorderRadius: 8 | 32;
48
+ defaultBorderWidth: number;
49
+ defaultBackgroundColor: BackgroundColorKeyArg;
50
+ defaultBorderColor: BackgroundColorKeyArg;
51
+ defaultHoverBackgroundColor: BackgroundColorKeyArg;
52
+ defaultHoverBorderColor: BackgroundColorKeyArg;
53
+ defaultOutlineOffset: number;
54
+ defaultPaddingsY: {
55
+ ExtraSmall: number;
56
+ Small: PaddingY;
57
+ Schmedium: number;
58
+ Medium: number;
59
+ Mlarge: number;
60
+ Large: number;
61
+ };
62
+ };
63
+
7
64
  declare enum Themes {
8
65
  Light = "light",
9
66
  Dark = "dark",
@@ -43,7 +100,6 @@ declare const baseThemeColors: {
43
100
  text: string;
44
101
  vlcNeutral: string;
45
102
  warning: string;
46
- inputBackground: string;
47
103
  };
48
104
  type ThemeColorKey = keyof typeof baseThemeColors;
49
105
  declare const themeOrColorKeyValues: readonly string[];
@@ -1751,7 +1807,11 @@ declare const baseTheme: {
1751
1807
  Large: number;
1752
1808
  };
1753
1809
  };
1754
- loading: "Code" | "LoadingSpinner" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
1810
+ badge: {
1811
+ bg: ThemeOrColorKey;
1812
+ };
1813
+ inputBackground: string;
1814
+ loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
1755
1815
  bg: string;
1756
1816
  smBg: string;
1757
1817
  c05Neutral: string;
@@ -1780,7 +1840,6 @@ declare const baseTheme: {
1780
1840
  text: string;
1781
1841
  vlcNeutral: string;
1782
1842
  warning: string;
1783
- inputBackground: string;
1784
1843
  };
1785
1844
  type BaseTheme = typeof baseTheme;
1786
1845
  type LightsparkSurfaces = {
@@ -3506,7 +3565,11 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
3506
3565
  Large: number;
3507
3566
  };
3508
3567
  };
3509
- loading: "Code" | "LoadingSpinner" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
3568
+ badge: {
3569
+ bg: ThemeOrColorKey;
3570
+ };
3571
+ inputBackground: string;
3572
+ loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
3510
3573
  bg: string;
3511
3574
  smBg: string;
3512
3575
  c05Neutral: string;
@@ -3535,7 +3598,6 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
3535
3598
  text: string;
3536
3599
  vlcNeutral: string;
3537
3600
  warning: string;
3538
- inputBackground: string;
3539
3601
  header: {
3540
3602
  type: Themes;
3541
3603
  typography: {
@@ -5238,7 +5300,11 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
5238
5300
  Large: number;
5239
5301
  };
5240
5302
  };
5241
- loading: "Code" | "LoadingSpinner" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
5303
+ badge: {
5304
+ bg: ThemeOrColorKey;
5305
+ };
5306
+ inputBackground: string;
5307
+ loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
5242
5308
  bg: string;
5243
5309
  smBg: string;
5244
5310
  c05Neutral: string;
@@ -5267,7 +5333,6 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
5267
5333
  text: string;
5268
5334
  vlcNeutral: string;
5269
5335
  warning: string;
5270
- inputBackground: string;
5271
5336
  };
5272
5337
  nav: {
5273
5338
  type: Themes;
@@ -6971,7 +7036,11 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
6971
7036
  Large: number;
6972
7037
  };
6973
7038
  };
6974
- loading: "Code" | "LoadingSpinner" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
7039
+ badge: {
7040
+ bg: ThemeOrColorKey;
7041
+ };
7042
+ inputBackground: string;
7043
+ loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
6975
7044
  bg: string;
6976
7045
  smBg: string;
6977
7046
  c05Neutral: string;
@@ -7000,7 +7069,6 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
7000
7069
  text: string;
7001
7070
  vlcNeutral: string;
7002
7071
  warning: string;
7003
- inputBackground: string;
7004
7072
  };
7005
7073
  content: {
7006
7074
  type: Themes;
@@ -8704,7 +8772,11 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
8704
8772
  Large: number;
8705
8773
  };
8706
8774
  };
8707
- loading: "Code" | "LoadingSpinner" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
8775
+ badge: {
8776
+ bg: ThemeOrColorKey;
8777
+ };
8778
+ inputBackground: string;
8779
+ loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
8708
8780
  bg: string;
8709
8781
  smBg: string;
8710
8782
  c05Neutral: string;
@@ -8733,7 +8805,6 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
8733
8805
  text: string;
8734
8806
  vlcNeutral: string;
8735
8807
  warning: string;
8736
- inputBackground: string;
8737
8808
  };
8738
8809
  controls: {
8739
8810
  type: Themes;
@@ -10437,7 +10508,11 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
10437
10508
  Large: number;
10438
10509
  };
10439
10510
  };
10440
- loading: "Code" | "LoadingSpinner" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
10511
+ badge: {
10512
+ bg: ThemeOrColorKey;
10513
+ };
10514
+ inputBackground: string;
10515
+ loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
10441
10516
  bg: string;
10442
10517
  smBg: string;
10443
10518
  c05Neutral: string;
@@ -10466,7 +10541,6 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
10466
10541
  text: string;
10467
10542
  vlcNeutral: string;
10468
10543
  warning: string;
10469
- inputBackground: string;
10470
10544
  };
10471
10545
  };
10472
10546
  declare function isThemeColorKey(key: unknown): key is ThemeColorKey;
@@ -10486,71 +10560,14 @@ declare const themeOr: (lightValue: string, darkValue: string) => ({ theme }: {
10486
10560
  }) => string;
10487
10561
  declare function ifLight(style: CSSInterpolation): ({ theme }: {
10488
10562
  theme: LightsparkTheme;
10489
- }) => _emotion_react.SerializedStyles | "";
10563
+ }) => "" | _emotion_react.SerializedStyles;
10490
10564
  declare function ifDark(style: CSSInterpolation): ({ theme }: {
10491
10565
  theme: LightsparkTheme;
10492
- }) => _emotion_react.SerializedStyles | "";
10566
+ }) => "" | _emotion_react.SerializedStyles;
10493
10567
  declare function useThemeBg(): string;
10494
10568
  type ThemeProp = {
10495
10569
  theme: Theme;
10496
10570
  };
10497
10571
  type WithTheme<T extends Record<string, unknown>> = T & ThemeProp;
10498
10572
 
10499
- type PaddingYKey = "short" | "regular";
10500
- type PaddingY = number | {
10501
- [key in PaddingYKey]: number;
10502
- };
10503
- declare const buttonBorderRadiuses: readonly [8, 32];
10504
- type ButtonBorderRadius = (typeof buttonBorderRadiuses)[number];
10505
- declare const allowedButtonTypographyTypes: readonly ["Body", "Body Strong", "Title", "Label", "Label Moderate", "Label Strong"];
10506
- type AllowedButtonTypographyTypes = (typeof allowedButtonTypographyTypes)[number];
10507
- type ButtonTypographyArgs = {
10508
- type?: AllowedButtonTypographyTypes;
10509
- color?: ThemeOrColorKey;
10510
- };
10511
- declare const buttonsThemeBase: {
10512
- defaultSize: TokenSizeKey;
10513
- defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
10514
- defaultColor: ThemeOrColorKey;
10515
- defaultBorderRadius: 8 | 32;
10516
- defaultBorderWidth: number;
10517
- defaultBackgroundColor: BackgroundColorKeyArg;
10518
- defaultBorderColor: BackgroundColorKeyArg;
10519
- defaultHoverBackgroundColor: BackgroundColorKeyArg;
10520
- defaultHoverBorderColor: BackgroundColorKeyArg;
10521
- defaultOutlineOffset: number;
10522
- defaultPaddingsY: {
10523
- ExtraSmall: number;
10524
- Small: PaddingY;
10525
- Schmedium: number;
10526
- Medium: number;
10527
- Mlarge: number;
10528
- Large: number;
10529
- };
10530
- kinds: {};
10531
- };
10532
- type ButtonsThemeKey = keyof typeof buttonsThemeBase;
10533
- type ButtonKindsProps = Record<string, Partial<typeof buttonsThemeBase>>;
10534
- declare const defaultButtonsTheme: {
10535
- kinds: ButtonKindsProps;
10536
- defaultSize: TokenSizeKey;
10537
- defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
10538
- defaultColor: ThemeOrColorKey;
10539
- defaultBorderRadius: 8 | 32;
10540
- defaultBorderWidth: number;
10541
- defaultBackgroundColor: BackgroundColorKeyArg;
10542
- defaultBorderColor: BackgroundColorKeyArg;
10543
- defaultHoverBackgroundColor: BackgroundColorKeyArg;
10544
- defaultHoverBorderColor: BackgroundColorKeyArg;
10545
- defaultOutlineOffset: number;
10546
- defaultPaddingsY: {
10547
- ExtraSmall: number;
10548
- Small: PaddingY;
10549
- Schmedium: number;
10550
- Medium: number;
10551
- Mlarge: number;
10552
- Large: number;
10553
- };
10554
- };
10555
-
10556
- export { AllowedButtonTypographyTypes as A, ButtonTypographyArgs as B, defaultButtonsTheme as C, FontColorKey as F, LightsparkTheme as L, PaddingYKey as P, SurfaceThemeColorKey as S, ThemeOrColorKey as T, WithTheme as W, ButtonBorderRadius as a, ThemeProp as b, Themes as c, themes as d, isThemeOrColorKey as e, getFontColor as f, getColor as g, BackgroundColorKey as h, isThemeColorKey as i, BackgroundColorKeyArg as j, isBackgroundColorKey as k, isBackgroundColorKeyTuple as l, getBackgroundColor as m, isDark as n, isLight as o, themeOr as p, ifLight as q, ifDark as r, setFonts as s, themeOrColorKeyValues as t, useThemeBg as u, PaddingY as v, buttonBorderRadiuses as w, allowedButtonTypographyTypes as x, buttonsThemeBase as y, ButtonsThemeKey as z };
10573
+ export { AllowedButtonTypographyTypes as A, ButtonTypographyArgs as B, useThemeBg as C, FontColorKey as F, LightsparkTheme as L, PaddingYKey as P, SurfaceThemeColorKey as S, ThemeOrColorKey as T, WithTheme as W, ButtonBorderRadius as a, ThemeProp as b, PaddingY as c, buttonBorderRadiuses as d, allowedButtonTypographyTypes as e, buttonsThemeBase as f, ButtonsThemeKey as g, defaultButtonsTheme as h, Themes as i, themes as j, isThemeColorKey as k, isThemeOrColorKey as l, getColor as m, getFontColor as n, BackgroundColorKey as o, BackgroundColorKeyArg as p, isBackgroundColorKey as q, isBackgroundColorKeyTuple as r, setFonts as s, themeOrColorKeyValues as t, getBackgroundColor as u, isDark as v, isLight as w, themeOr as x, ifLight as y, ifDark as z };
@@ -7376,8 +7376,7 @@ var baseThemeColors = {
7376
7376
  success: colors.success,
7377
7377
  text: colors.black,
7378
7378
  vlcNeutral: colors.gray95,
7379
- warning: colors.warning,
7380
- inputBackground: colors.white
7379
+ warning: colors.warning
7381
7380
  };
7382
7381
  var themeOrColorKeyValues = [
7383
7382
  ...Object.keys(baseThemeColors),
@@ -7389,6 +7388,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
7389
7388
  typography: getTypography("Lightspark" /* Lightspark */),
7390
7389
  hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
7391
7390
  buttons: defaultButtonsTheme,
7391
+ badge: {
7392
+ bg: "c05Neutral"
7393
+ },
7394
+ inputBackground: colors.white,
7392
7395
  loading: "LoadingSpinner"
7393
7396
  });
7394
7397
  var lightBaseTheme = baseTheme;
@@ -7426,7 +7429,10 @@ var darkBaseTheme = {
7426
7429
  warning: colors.warning,
7427
7430
  buttons: defaultButtonsTheme,
7428
7431
  loading: "LoadingSpinner",
7429
- inputBackground: colors.black
7432
+ inputBackground: colors.black,
7433
+ badge: {
7434
+ bg: "c15Neutral"
7435
+ }
7430
7436
  };
7431
7437
  var lightTheme = extend(lightBaseTheme, {
7432
7438
  header: extendBase(lightBaseTheme, {
@@ -7542,7 +7548,10 @@ var bridgeBaseSettings = {
7542
7548
  defaultBorderWidth: 1
7543
7549
  }
7544
7550
  }
7545
- })
7551
+ }),
7552
+ badge: {
7553
+ bg: "grayBlue94"
7554
+ }
7546
7555
  };
7547
7556
  var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
7548
7557
  type: "bridgeLight" /* BridgeLight */,
@@ -1,6 +1,6 @@
1
1
  import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
2
2
  import { IconName } from '../components/Icon/types.cjs';
3
- import { F as FontColorKey } from '../buttons-36cdd0fe.js';
3
+ import { F as FontColorKey } from '../themes-37e92940.js';
4
4
  import { NewRoutesType } from '../types/index.cjs';
5
5
  import '../index-dcf19aa7.js';
6
6
  import '../icons/AI.cjs';
@@ -1,6 +1,6 @@
1
1
  import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
2
2
  import { IconName } from '../components/Icon/types.js';
3
- import { F as FontColorKey } from '../buttons-35280bfe.js';
3
+ import { F as FontColorKey } from '../themes-832e46b2.js';
4
4
  import { NewRoutesType } from '../types/index.js';
5
5
  import '../index-71766330.js';
6
6
  import '../icons/AI.js';
@@ -5,10 +5,10 @@ import {
5
5
  isNextLinkNode,
6
6
  isTextNode,
7
7
  toNonTypographicReactNodes
8
- } from "../chunk-XDP7GCYE.js";
8
+ } from "../chunk-4X67A2CS.js";
9
9
  import "../chunk-OPV246QW.js";
10
10
  import "../chunk-AAFUVYVP.js";
11
- import "../chunk-I3FI3FNP.js";
11
+ import "../chunk-TNDSUTUN.js";
12
12
  import "../chunk-EDN2QDCB.js";
13
13
  import "../chunk-FT62PIPN.js";
14
14
  import "../chunk-5ZDDVLS6.js";
@@ -123,8 +123,8 @@ import "../chunk-VI6WTKMV.js";
123
123
  import "../chunk-QW2INB5A.js";
124
124
  import "../chunk-JLD7MGLC.js";
125
125
  import "../chunk-DW6LFUI2.js";
126
- import "../chunk-PG2W2HVB.js";
127
- import "../chunk-IBZBPQMZ.js";
126
+ import "../chunk-CZFFMEAS.js";
127
+ import "../chunk-VNQE6KEX.js";
128
128
  import "../chunk-ENBUKLVT.js";
129
129
  import "../chunk-JSGRNWSB.js";
130
130
  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 });
@@ -67,12 +79,17 @@ var __async = (__this, __arguments, generator) => {
67
79
  // src/utils/toReactNodes.tsx
68
80
  var toReactNodes_exports = {};
69
81
  __export(toReactNodes_exports, {
82
+ setDefaultReactNodesTypography: () => setDefaultReactNodesTypography,
70
83
  setReactNodesTypography: () => setReactNodesTypography,
71
84
  toReactNodes: () => toReactNodes,
72
85
  toReactNodesWithTypographyMap: () => toReactNodesWithTypographyMap
73
86
  });
74
87
  module.exports = __toCommonJS(toReactNodes_exports);
75
- var import_react21 = require("react");
88
+ var import_lodash_es4 = require("lodash-es");
89
+ var import_react22 = require("react");
90
+
91
+ // src/components/typography/renderTypography.tsx
92
+ var import_react21 = __toESM(require("react"), 1);
76
93
 
77
94
  // src/components/typography/Body.tsx
78
95
  var import_styled3 = __toESM(require("@emotion/styled"), 1);
@@ -3584,8 +3601,7 @@ var baseThemeColors = {
3584
3601
  success: colors.success,
3585
3602
  text: colors.black,
3586
3603
  vlcNeutral: colors.gray95,
3587
- warning: colors.warning,
3588
- inputBackground: colors.white
3604
+ warning: colors.warning
3589
3605
  };
3590
3606
  var themeOrColorKeyValues = [
3591
3607
  ...Object.keys(baseThemeColors),
@@ -3597,6 +3613,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
3597
3613
  typography: getTypography("Lightspark" /* Lightspark */),
3598
3614
  hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
3599
3615
  buttons: defaultButtonsTheme,
3616
+ badge: {
3617
+ bg: "c05Neutral"
3618
+ },
3619
+ inputBackground: colors.white,
3600
3620
  loading: "LoadingSpinner"
3601
3621
  });
3602
3622
  var lightBaseTheme = baseTheme;
@@ -3634,7 +3654,10 @@ var darkBaseTheme = {
3634
3654
  warning: colors.warning,
3635
3655
  buttons: defaultButtonsTheme,
3636
3656
  loading: "LoadingSpinner",
3637
- inputBackground: colors.black
3657
+ inputBackground: colors.black,
3658
+ badge: {
3659
+ bg: "c15Neutral"
3660
+ }
3638
3661
  };
3639
3662
  var lightTheme = extend(lightBaseTheme, {
3640
3663
  header: extendBase(lightBaseTheme, {
@@ -3750,7 +3773,10 @@ var bridgeBaseSettings = {
3750
3773
  defaultBorderWidth: 1
3751
3774
  }
3752
3775
  }
3753
- })
3776
+ }),
3777
+ badge: {
3778
+ bg: "grayBlue94"
3779
+ }
3754
3780
  };
3755
3781
  var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3756
3782
  type: "bridgeLight" /* BridgeLight */,
@@ -8210,7 +8236,6 @@ var StyledTitle = import_styled12.default.span`
8210
8236
  `;
8211
8237
 
8212
8238
  // src/components/typography/renderTypography.tsx
8213
- var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
8214
8239
  var typographyMap = {
8215
8240
  Display,
8216
8241
  Headline,
@@ -8222,36 +8247,36 @@ var typographyMap = {
8222
8247
  "Label Strong": LabelStrong,
8223
8248
  Overline,
8224
8249
  Code: Code2,
8225
- "Code Strong": () => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { children: "Unimplemented" })
8250
+ "Code Strong": Code2
8226
8251
  };
8227
8252
  var renderTypography = (type, props) => {
8228
8253
  const TypographyComponent = typographyMap[type];
8229
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(TypographyComponent, __spreadValues({}, props));
8254
+ const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
8255
+ return import_react21.default.createElement(TypographyComponent, rest, children);
8230
8256
  };
8231
8257
 
8232
8258
  // src/utils/toReactNodes.tsx
8233
- var import_jsx_runtime129 = require("@emotion/react/jsx-runtime");
8259
+ var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
8234
8260
  function toReactNodes(toReactNodesArg) {
8235
8261
  const toReactNodesArray = Array.isArray(toReactNodesArg) ? toReactNodesArg : [toReactNodesArg];
8236
8262
  const reactNodes = toReactNodesArray.map((node, i) => {
8237
8263
  let content;
8238
8264
  if (!node) {
8239
8265
  return null;
8240
- } else if (typeof node !== "string" && "typography" in node && node.typography.type && node.typography.props) {
8241
- content = /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_react21.Fragment, { children: renderTypography(
8266
+ } else if (typeof node !== "string" && "typography" in node && node.typography.type) {
8267
+ const props = node.typography.props || {};
8268
+ content = /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_react22.Fragment, { children: renderTypography(
8242
8269
  node.typography.type,
8243
- Object.assign(node.typography.props, {
8244
- content: node
8245
- })
8270
+ Object.assign(props, { content: node })
8246
8271
  ) }, `typography-${i}-${node.text.substr(0, 10)}`);
8247
8272
  } else {
8248
8273
  content = toNonTypographicReactNodes(node);
8249
8274
  }
8250
8275
  return content || null;
8251
8276
  });
8252
- return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_react21.Fragment, { children: reactNodes });
8277
+ return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_react22.Fragment, { children: reactNodes });
8253
8278
  }
8254
- function setReactNodesTypography(nodesArg, nodesTypographyMap) {
8279
+ function setReactNodesTypography(nodesArg, nodesTypographyMap, replaceExistingTypography = true) {
8255
8280
  const nodes = Array.isArray(nodesArg) ? nodesArg : [nodesArg];
8256
8281
  const nodesWithTypography = nodes.map((node, i) => {
8257
8282
  if (isIconNode(node)) {
@@ -8263,28 +8288,32 @@ function setReactNodesTypography(nodesArg, nodesTypographyMap) {
8263
8288
  typography: nodesTypographyMap.text
8264
8289
  };
8265
8290
  }
8266
- } else if (isLinkNode(node)) {
8291
+ } else if (!node) {
8292
+ return node;
8293
+ }
8294
+ const useExistingTypography = !replaceExistingTypography && (0, import_lodash_es4.isObject)(node) && "typography" in node ? node.typography : void 0;
8295
+ if (isLinkNode(node)) {
8267
8296
  if (nodesTypographyMap.link) {
8268
8297
  return __spreadProps(__spreadValues({}, node), {
8269
- typography: nodesTypographyMap.link
8298
+ typography: useExistingTypography || nodesTypographyMap.link
8270
8299
  });
8271
8300
  }
8272
8301
  } else if (isExternalLinkNode(node)) {
8273
8302
  if (nodesTypographyMap.externalLink) {
8274
8303
  return __spreadProps(__spreadValues({}, node), {
8275
- typography: nodesTypographyMap.externalLink
8304
+ typography: useExistingTypography || nodesTypographyMap.externalLink
8276
8305
  });
8277
8306
  }
8278
8307
  } else if (isNextLinkNode(node)) {
8279
8308
  if (nodesTypographyMap.nextLink) {
8280
8309
  return __spreadProps(__spreadValues({}, node), {
8281
- typography: nodesTypographyMap.nextLink
8310
+ typography: useExistingTypography || nodesTypographyMap.nextLink
8282
8311
  });
8283
8312
  }
8284
8313
  } else if (isTextNode(node)) {
8285
8314
  if (nodesTypographyMap.text) {
8286
8315
  return __spreadProps(__spreadValues({}, node), {
8287
- typography: nodesTypographyMap.text
8316
+ typography: useExistingTypography || nodesTypographyMap.text
8288
8317
  });
8289
8318
  }
8290
8319
  }
@@ -8303,8 +8332,12 @@ function toReactNodesWithTypographyMap(nodesArg, nodesTypographyMap) {
8303
8332
  const nodes = toReactNodes(nodesWithTypography);
8304
8333
  return nodes;
8305
8334
  }
8335
+ function setDefaultReactNodesTypography(nodesArg, nodesTypographyMap) {
8336
+ return setReactNodesTypography(nodesArg, nodesTypographyMap, false);
8337
+ }
8306
8338
  // Annotate the CommonJS export names for ESM import in node:
8307
8339
  0 && (module.exports = {
8340
+ setDefaultReactNodesTypography,
8308
8341
  setReactNodesTypography,
8309
8342
  toReactNodes,
8310
8343
  toReactNodesWithTypographyMap