@lightsparkdev/ui 1.0.2 → 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 (295) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{chunk-SGSLTG65.js → chunk-242JGEN4.js} +3 -3
  3. package/dist/{chunk-F6EVBEMN.js → chunk-2P6TCMZN.js} +2 -2
  4. package/dist/{chunk-J7SV67XL.js → chunk-3R5KJDSL.js} +1 -1
  5. package/dist/{chunk-L6S22JUU.js → chunk-4BERRPJN.js} +3 -3
  6. package/dist/{chunk-AI6DCUWK.js → chunk-4KURUJD2.js} +1 -1
  7. package/dist/{chunk-6H7PZJ2A.js → chunk-4X67A2CS.js} +2 -1
  8. package/dist/{chunk-YRYVSAWS.js → chunk-5F7IOIWL.js} +1 -1
  9. package/dist/{chunk-EMXTALIX.js → chunk-5ON3ICVC.js} +1 -1
  10. package/dist/{chunk-35WJ3PKH.js → chunk-642OXLAD.js} +2 -2
  11. package/dist/{chunk-SKXCT2FQ.js → chunk-7BSME2ZU.js} +2 -2
  12. package/dist/{chunk-GNVEN6UE.js → chunk-7COKMITX.js} +2 -2
  13. package/dist/{chunk-LL5YLPNM.js → chunk-7OJQZEVL.js} +5 -5
  14. package/dist/{chunk-GGEAODIA.js → chunk-7RLDCOUT.js} +4 -4
  15. package/dist/{chunk-S6AOKANU.js → chunk-7RMHMFS2.js} +4 -4
  16. package/dist/{chunk-CMQELZES.js → chunk-AZOVE32P.js} +2 -2
  17. package/dist/{chunk-5H32AOXL.js → chunk-BAGRU7JE.js} +1 -1
  18. package/dist/{chunk-2JYYREVX.js → chunk-BPGBJRZE.js} +1 -1
  19. package/dist/{chunk-UNULJ3P6.js → chunk-BRRDPQWW.js} +4 -4
  20. package/dist/{chunk-W3BAJ3HT.js → chunk-C3YODRA3.js} +15 -15
  21. package/dist/{chunk-HZ63YB4Y.js → chunk-C4HNAZFZ.js} +3 -3
  22. package/dist/{chunk-7NPHOJXD.js → chunk-CZFFMEAS.js} +5 -5
  23. package/dist/{chunk-HRZNVE2K.js → chunk-DIKOS5R6.js} +2 -2
  24. package/dist/{chunk-BMSSV6NX.js → chunk-DNGAINGL.js} +1 -1
  25. package/dist/{chunk-TVLELY54.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-OA3BZAST.js → chunk-GLEAWATH.js} +3 -3
  29. package/dist/{chunk-KFX7US6Y.js → chunk-GQVNE3NU.js} +1 -1
  30. package/dist/{chunk-UBYBILLK.js → chunk-HPZVUEDJ.js} +2 -2
  31. package/dist/{chunk-TM3C4LEG.js → chunk-HVDX4OZJ.js} +2 -2
  32. package/dist/{chunk-6JFJDBV2.js → chunk-JAPRGAB7.js} +1 -1
  33. package/dist/{chunk-467PLJO3.js → chunk-JH53NBOD.js} +59 -10
  34. package/dist/{chunk-2XRCGW74.js → chunk-KBLCFXNL.js} +3 -3
  35. package/dist/{chunk-NYQLPSG3.js → chunk-KJHREJHT.js} +2 -2
  36. package/dist/{chunk-CZQER3QD.js → chunk-LFD2KVAB.js} +1 -1
  37. package/dist/{chunk-DCFB5MJ7.js → chunk-LGXMGWLV.js} +17 -16
  38. package/dist/{chunk-37RRWSDE.js → chunk-LLGN3OM3.js} +2 -2
  39. package/dist/{chunk-HA4AQO3T.js → chunk-MK2JFFUG.js} +1 -1
  40. package/dist/{chunk-EV6PGQPM.js → chunk-MNMVZI7D.js} +11 -11
  41. package/dist/{chunk-HP4VPMN7.js → chunk-OMY3WTAU.js} +2 -2
  42. package/dist/{chunk-VUXU77SU.js → chunk-OUHQXQOJ.js} +1 -1
  43. package/dist/{chunk-PNSZAJL7.js → chunk-OZQ5WPLN.js} +2 -2
  44. package/dist/{chunk-2H7TBKII.js → chunk-PDQVYUEW.js} +6 -6
  45. package/dist/{chunk-DNVKN2FG.js → chunk-QCHEDM2I.js} +3 -3
  46. package/dist/{chunk-CHK5DOMV.js → chunk-RESJONBZ.js} +2 -2
  47. package/dist/{chunk-XP3BAAUO.js → chunk-SZ4KKLYJ.js} +2 -2
  48. package/dist/{chunk-VYTN6ASZ.js → chunk-THTKSZSR.js} +2 -2
  49. package/dist/{chunk-KBYU4ZQ3.js → chunk-TNDSUTUN.js} +3 -3
  50. package/dist/{chunk-SRHSJOES.js → chunk-TNISOOCF.js} +1 -1
  51. package/dist/{chunk-55M7XHBZ.js → chunk-UNFCVZ32.js} +36 -33
  52. package/dist/{chunk-56QJRFP2.js → chunk-V523QTZQ.js} +2 -2
  53. package/dist/{chunk-A4JZESAS.js → chunk-VNQE6KEX.js} +16 -3
  54. package/dist/{chunk-5XZJEYHG.js → chunk-VR2GLRXH.js} +1 -1
  55. package/dist/chunk-VWD7T5MQ.js +74 -0
  56. package/dist/{chunk-XUVCOSIE.js → chunk-VXH6GWGE.js} +2 -2
  57. package/dist/{chunk-ZNZAY47J.js → chunk-W2N5QUG6.js} +9 -6
  58. package/dist/{chunk-D73OOC3E.js → chunk-WDJMAZFO.js} +3 -3
  59. package/dist/{chunk-WV5AB4ZB.js → chunk-XS4MH3QA.js} +102 -85
  60. package/dist/{chunk-TM2NGRD2.js → chunk-YRFCWL73.js} +5 -2
  61. package/dist/{chunk-CZCPVHVB.js → chunk-YRZ3VNBI.js} +2 -2
  62. package/dist/{chunk-JOQCJPOA.js → chunk-ZCXGHQQF.js} +9 -9
  63. package/dist/{chunk-UVGBD7XM.js → chunk-ZO35RX7V.js} +21 -13
  64. package/dist/{chunk-27SFWLPS.js → chunk-ZS7G6WIG.js} +1 -1
  65. package/dist/components/Badge.cjs +7845 -7476
  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 +55 -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 +46 -28
  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 +49 -31
  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 +16 -3
  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 +21 -7
  86. package/dist/components/CodeBlock.js +8 -8
  87. package/dist/components/CodeInput/CodeInput.cjs +17 -4
  88. package/dist/components/CodeInput/CodeInput.js +6 -6
  89. package/dist/components/CodeInput/SingleCodeInput.cjs +17 -4
  90. package/dist/components/CodeInput/SingleCodeInput.js +5 -5
  91. package/dist/components/Collapsible.cjs +82 -7
  92. package/dist/components/Collapsible.js +6 -6
  93. package/dist/components/CommaNumberInput.cjs +22 -8
  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 +17 -4
  98. package/dist/components/ContentTable.js +4 -4
  99. package/dist/components/CopyToClipboardButton.cjs +21 -7
  100. package/dist/components/CopyToClipboardButton.js +6 -6
  101. package/dist/components/CurrencyAmount.cjs +17 -4
  102. package/dist/components/CurrencyAmount.js +4 -4
  103. package/dist/components/Drawer.cjs +293 -176
  104. package/dist/components/Drawer.d.cts +2 -0
  105. package/dist/components/Drawer.d.ts +2 -0
  106. package/dist/components/Drawer.js +22 -22
  107. package/dist/components/Dropdown.cjs +21 -7
  108. package/dist/components/Dropdown.d.cts +1 -1
  109. package/dist/components/Dropdown.d.ts +1 -1
  110. package/dist/components/Dropdown.js +5 -5
  111. package/dist/components/FileInput.cjs +17 -4
  112. package/dist/components/FileInput.js +10 -10
  113. package/dist/components/GradientCardHeader.js +5 -5
  114. package/dist/components/Icon/Icon.cjs +17 -4
  115. package/dist/components/Icon/Icon.d.cts +1 -1
  116. package/dist/components/Icon/Icon.d.ts +1 -1
  117. package/dist/components/Icon/Icon.js +3 -3
  118. package/dist/components/IconWithCircleBackground.cjs +7349 -7338
  119. package/dist/components/IconWithCircleBackground.js +4 -73
  120. package/dist/components/InfoIconTooltip.cjs +62 -32
  121. package/dist/components/InfoIconTooltip.d.cts +1 -1
  122. package/dist/components/InfoIconTooltip.d.ts +1 -1
  123. package/dist/components/InfoIconTooltip.js +19 -19
  124. package/dist/components/LightsparkProvider.cjs +16 -3
  125. package/dist/components/LightsparkProvider.js +4 -4
  126. package/dist/components/Loading.cjs +17 -4
  127. package/dist/components/Loading.js +4 -4
  128. package/dist/components/Modal.cjs +297 -147
  129. package/dist/components/Modal.d.cts +21 -15
  130. package/dist/components/Modal.d.ts +21 -15
  131. package/dist/components/Modal.js +27 -68
  132. package/dist/components/PageSection/PageSection.cjs +214 -100
  133. package/dist/components/PageSection/PageSection.d.cts +1 -1
  134. package/dist/components/PageSection/PageSection.d.ts +1 -1
  135. package/dist/components/PageSection/PageSection.js +27 -31
  136. package/dist/components/PageSection/PageSectionNav.cjs +50 -21
  137. package/dist/components/PageSection/PageSectionNav.js +20 -20
  138. package/dist/components/PhoneInput.cjs +22 -8
  139. package/dist/components/PhoneInput.d.cts +1 -1
  140. package/dist/components/PhoneInput.d.ts +1 -1
  141. package/dist/components/PhoneInput.js +11 -11
  142. package/dist/components/Pill.cjs +17 -4
  143. package/dist/components/Pill.js +7 -7
  144. package/dist/components/ProgressBar.cjs +16 -3
  145. package/dist/components/ProgressBar.js +3 -3
  146. package/dist/components/Radio.cjs +7410 -7334
  147. package/dist/components/Radio.js +8 -22
  148. package/dist/components/SecretContainer.cjs +21 -7
  149. package/dist/components/SecretContainer.js +7 -7
  150. package/dist/components/StatusIndicator.js +4 -4
  151. package/dist/components/TextButton.cjs +46 -17
  152. package/dist/components/TextButton.d.cts +1 -1
  153. package/dist/components/TextButton.d.ts +1 -1
  154. package/dist/components/TextButton.js +19 -19
  155. package/dist/components/TextIconAligner.cjs +40 -11
  156. package/dist/components/TextIconAligner.d.cts +1 -1
  157. package/dist/components/TextIconAligner.d.ts +1 -1
  158. package/dist/components/TextIconAligner.js +17 -17
  159. package/dist/components/TextInput.cjs +22 -8
  160. package/dist/components/TextInput.d.cts +1 -1
  161. package/dist/components/TextInput.d.ts +1 -1
  162. package/dist/components/TextInput.js +10 -10
  163. package/dist/components/Toasts.cjs +66 -37
  164. package/dist/components/Toasts.d.cts +1 -1
  165. package/dist/components/Toasts.d.ts +1 -1
  166. package/dist/components/Toasts.js +20 -20
  167. package/dist/components/Toggle.cjs +108 -97
  168. package/dist/components/Toggle.js +4 -4
  169. package/dist/components/Tooltip.cjs +20 -6
  170. package/dist/components/Tooltip.js +3 -3
  171. package/dist/components/UnstyledButton.js +3 -3
  172. package/dist/components/documentation/AnchorLinkHeader.cjs +17 -4
  173. package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
  174. package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
  175. package/dist/components/documentation/AnchorLinkHeader.js +8 -8
  176. package/dist/components/documentation/DocsBodyParagraph.cjs +16 -3
  177. package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
  178. package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
  179. package/dist/components/documentation/DocsBodyParagraph.js +6 -6
  180. package/dist/components/documentation/DocsBodyStrongParagraph.cjs +16 -3
  181. package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
  182. package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
  183. package/dist/components/documentation/DocsBodyStrongParagraph.js +6 -6
  184. package/dist/components/documentation/DocsHeadline.cjs +16 -3
  185. package/dist/components/documentation/DocsHeadline.d.cts +1 -1
  186. package/dist/components/documentation/DocsHeadline.d.ts +1 -1
  187. package/dist/components/documentation/DocsHeadline.js +7 -7
  188. package/dist/components/documentation/Video.cjs +16 -0
  189. package/dist/components/documentation/Video.d.cts +7 -1
  190. package/dist/components/documentation/Video.d.ts +7 -1
  191. package/dist/components/documentation/Video.js +18 -2
  192. package/dist/components/documentation/index.cjs +17 -4
  193. package/dist/components/documentation/index.d.cts +1 -1
  194. package/dist/components/documentation/index.d.ts +1 -1
  195. package/dist/components/documentation/index.js +8 -8
  196. package/dist/components/index.cjs +8474 -8234
  197. package/dist/components/index.d.cts +5 -5
  198. package/dist/components/index.d.ts +5 -5
  199. package/dist/components/index.js +69 -70
  200. package/dist/components/typography/Article.cjs +103 -28
  201. package/dist/components/typography/Article.js +14 -14
  202. package/dist/components/typography/Body.cjs +18 -4
  203. package/dist/components/typography/Body.d.cts +2 -2
  204. package/dist/components/typography/Body.d.ts +2 -2
  205. package/dist/components/typography/Body.js +6 -6
  206. package/dist/components/typography/BodyStrong.cjs +18 -4
  207. package/dist/components/typography/BodyStrong.d.cts +2 -2
  208. package/dist/components/typography/BodyStrong.d.ts +2 -2
  209. package/dist/components/typography/BodyStrong.js +6 -6
  210. package/dist/components/typography/Code.cjs +18 -4
  211. package/dist/components/typography/Code.d.cts +2 -2
  212. package/dist/components/typography/Code.d.ts +2 -2
  213. package/dist/components/typography/Code.js +6 -6
  214. package/dist/components/typography/Display.cjs +18 -4
  215. package/dist/components/typography/Display.d.cts +2 -2
  216. package/dist/components/typography/Display.d.ts +2 -2
  217. package/dist/components/typography/Display.js +6 -6
  218. package/dist/components/typography/Headline.cjs +18 -4
  219. package/dist/components/typography/Headline.d.cts +2 -2
  220. package/dist/components/typography/Headline.d.ts +2 -2
  221. package/dist/components/typography/Headline.js +6 -6
  222. package/dist/components/typography/Label.cjs +18 -4
  223. package/dist/components/typography/Label.d.cts +2 -2
  224. package/dist/components/typography/Label.d.ts +2 -2
  225. package/dist/components/typography/Label.js +6 -6
  226. package/dist/components/typography/LabelModerate.cjs +18 -4
  227. package/dist/components/typography/LabelModerate.d.cts +2 -2
  228. package/dist/components/typography/LabelModerate.d.ts +2 -2
  229. package/dist/components/typography/LabelModerate.js +6 -6
  230. package/dist/components/typography/LabelStrong.cjs +18 -4
  231. package/dist/components/typography/LabelStrong.d.cts +2 -2
  232. package/dist/components/typography/LabelStrong.d.ts +2 -2
  233. package/dist/components/typography/LabelStrong.js +6 -6
  234. package/dist/components/typography/Overline.cjs +18 -4
  235. package/dist/components/typography/Overline.d.cts +2 -2
  236. package/dist/components/typography/Overline.d.ts +2 -2
  237. package/dist/components/typography/Overline.js +6 -6
  238. package/dist/components/typography/Title.cjs +18 -4
  239. package/dist/components/typography/Title.d.cts +3 -3
  240. package/dist/components/typography/Title.d.ts +3 -3
  241. package/dist/components/typography/Title.js +6 -6
  242. package/dist/components/typography/index.cjs +105 -29
  243. package/dist/components/typography/index.d.cts +1 -1
  244. package/dist/components/typography/index.d.ts +1 -1
  245. package/dist/components/typography/index.js +22 -23
  246. package/dist/components/typography/renderTypography.cjs +34 -7
  247. package/dist/components/typography/renderTypography.d.cts +20 -20
  248. package/dist/components/typography/renderTypography.d.ts +20 -20
  249. package/dist/components/typography/renderTypography.js +16 -16
  250. package/dist/styles/buttons.d.cts +1 -1
  251. package/dist/styles/buttons.d.ts +1 -1
  252. package/dist/styles/common.cjs +20 -6
  253. package/dist/styles/common.d.cts +3 -2
  254. package/dist/styles/common.d.ts +3 -2
  255. package/dist/styles/common.js +2 -2
  256. package/dist/styles/fields.cjs +17 -4
  257. package/dist/styles/fields.d.cts +1 -1
  258. package/dist/styles/fields.d.ts +1 -1
  259. package/dist/styles/fields.js +4 -4
  260. package/dist/styles/global.cjs +16 -3
  261. package/dist/styles/global.d.cts +1 -1
  262. package/dist/styles/global.d.ts +1 -1
  263. package/dist/styles/global.js +3 -3
  264. package/dist/styles/themes.cjs +16 -3
  265. package/dist/styles/themes.d.cts +1 -1
  266. package/dist/styles/themes.d.ts +1 -1
  267. package/dist/styles/themes.js +1 -1
  268. package/dist/styles/tokens/spacing.cjs +60 -21
  269. package/dist/styles/tokens/spacing.d.cts +40 -20
  270. package/dist/styles/tokens/spacing.d.ts +40 -20
  271. package/dist/styles/tokens/spacing.js +1 -1
  272. package/dist/styles/type.d.cts +1 -1
  273. package/dist/styles/type.d.ts +1 -1
  274. package/dist/styles/type.js +4 -4
  275. package/dist/styles/typography.cjs +16 -3
  276. package/dist/styles/typography.d.cts +1 -1
  277. package/dist/styles/typography.d.ts +1 -1
  278. package/dist/styles/typography.js +2 -2
  279. package/dist/styles/utils.js +3 -3
  280. package/dist/{buttons-b7f56076.d.ts → themes-37e92940.d.ts} +91 -67
  281. package/dist/{buttons-e4eb84a2.d.ts → themes-832e46b2.d.ts} +91 -67
  282. package/dist/types/index.d.cts +1 -1
  283. package/dist/types/index.d.ts +1 -1
  284. package/dist/utils/toNonTypographicReactNodes.cjs +18 -4
  285. package/dist/utils/toNonTypographicReactNodes.d.cts +2 -1
  286. package/dist/utils/toNonTypographicReactNodes.d.ts +2 -1
  287. package/dist/utils/toNonTypographicReactNodes.js +4 -4
  288. package/dist/utils/toReactNodes.cjs +59 -21
  289. package/dist/utils/toReactNodes.d.cts +13 -9
  290. package/dist/utils/toReactNodes.d.ts +13 -9
  291. package/dist/utils/toReactNodes.js +19 -17
  292. package/package.json +1 -1
  293. package/dist/chunk-3XSQV5U4.js +0 -26
  294. package/dist/chunk-B2VYAIYR.js +0 -0
  295. package/dist/chunk-RSAYBOK5.js +0 -35
@@ -3577,6 +3577,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
3577
3577
  typography: getTypography("Lightspark" /* Lightspark */),
3578
3578
  hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
3579
3579
  buttons: defaultButtonsTheme,
3580
+ badge: {
3581
+ bg: "c05Neutral"
3582
+ },
3583
+ inputBackground: colors.white,
3580
3584
  loading: "LoadingSpinner"
3581
3585
  });
3582
3586
  var lightBaseTheme = baseTheme;
@@ -3613,7 +3617,11 @@ var darkBaseTheme = {
3613
3617
  vlcNeutral: colors.gray20,
3614
3618
  warning: colors.warning,
3615
3619
  buttons: defaultButtonsTheme,
3616
- loading: "LoadingSpinner"
3620
+ loading: "LoadingSpinner",
3621
+ inputBackground: colors.black,
3622
+ badge: {
3623
+ bg: "c15Neutral"
3624
+ }
3617
3625
  };
3618
3626
  var lightTheme = extend(lightBaseTheme, {
3619
3627
  header: extendBase(lightBaseTheme, {
@@ -3652,6 +3660,7 @@ var umameDocsLightTheme = extend(lightTheme, {
3652
3660
  secondary: colors.grayBlue43,
3653
3661
  text: colors.grayBlue9,
3654
3662
  link: colors.blue39,
3663
+ inputBackground: colors.white,
3655
3664
  typography: getTypography("UmameDocs" /* UmameDocs */, {
3656
3665
  main: "Manrope",
3657
3666
  code: "Monaco"
@@ -3728,7 +3737,10 @@ var bridgeBaseSettings = {
3728
3737
  defaultBorderWidth: 1
3729
3738
  }
3730
3739
  }
3731
- })
3740
+ }),
3741
+ badge: {
3742
+ bg: "grayBlue94"
3743
+ }
3732
3744
  };
3733
3745
  var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3734
3746
  type: "bridgeLight" /* BridgeLight */,
@@ -3736,7 +3748,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
3736
3748
  bg: colors.gray98,
3737
3749
  smBg: colors.gray98,
3738
3750
  text: colors.grayBlue9,
3739
- secondary: colors.grayBlue43
3751
+ secondary: colors.grayBlue43,
3752
+ inputBackground: colors.white
3740
3753
  }));
3741
3754
  var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3742
3755
  type: "bridgeDark" /* BridgeDark */
@@ -3879,11 +3892,12 @@ var overlaySurfaceBorderColor = ({
3879
3892
  `;
3880
3893
  var overlaySurface = ({
3881
3894
  theme,
3882
- important = false
3895
+ important = false,
3896
+ border = true
3883
3897
  }) => import_react4.css`
3884
- background-color: ${themeOr(colors.white, theme.c1Neutral)({ theme })}
3898
+ background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
3885
3899
  ${important ? "!important" : ""};
3886
- border: 0.5px solid ${important ? "!important" : ""};
3900
+ ${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
3887
3901
  ${overlaySurfaceBorderColor({ theme, important })};
3888
3902
  ${themeOr(
3889
3903
  `box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
@@ -3977,7 +3991,7 @@ var textInputStyle = ({
3977
3991
  var _a;
3978
3992
  return import_react5.css`
3979
3993
  border-radius: ${textInputBorderRadiusPx}px;
3980
- background-color: ${disabled ? theme.vlcNeutral : theme.bg};
3994
+ background-color: ${disabled ? theme.vlcNeutral : theme.inputBackground};
3981
3995
  cursor: ${disabled ? "not-allowed" : "auto"};
3982
3996
  box-sizing: border-box;
3983
3997
  font-weight: ${textInputFontWeight};
@@ -8031,7 +8045,7 @@ var IconContainer = import_styled4.default.span`
8031
8045
  ${({ theme, fontColor }) => {
8032
8046
  const color = getFontColor(theme, fontColor, "inherit");
8033
8047
  return `
8034
- & svg {
8048
+ svg, path {
8035
8049
  color: ${getFontColor(theme, fontColor, "inherit")};
8036
8050
 
8037
8051
  /*
@@ -5,7 +5,7 @@ import react__default, { ClipboardEvent, RefObject, RefCallback, CompositionEven
5
5
  import { SimpleTypographyProps } from '../styles/typography.cjs';
6
6
  import { IconName } from './Icon/types.cjs';
7
7
  import '@lightsparkdev/core';
8
- import '../buttons-b7f56076.js';
8
+ import '../themes-37e92940.js';
9
9
  import '../styles/tokens/typography.cjs';
10
10
  import '@emotion/css';
11
11
  import '../styles/colors.cjs';
@@ -5,7 +5,7 @@ import react__default, { ClipboardEvent, RefObject, RefCallback, CompositionEven
5
5
  import { SimpleTypographyProps } from '../styles/typography.js';
6
6
  import { IconName } from './Icon/types.js';
7
7
  import '@lightsparkdev/core';
8
- import '../buttons-e4eb84a2.js';
8
+ import '../themes-832e46b2.js';
9
9
  import '../styles/tokens/typography.js';
10
10
  import '@emotion/css';
11
11
  import '../styles/colors.js';
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  TextInput,
3
3
  TextInputHalfRow
4
- } from "../chunk-JOQCJPOA.js";
5
- import "../chunk-L6S22JUU.js";
6
- import "../chunk-S6AOKANU.js";
7
- import "../chunk-VUXU77SU.js";
8
- import "../chunk-CZQER3QD.js";
9
- import "../chunk-27SFWLPS.js";
10
- import "../chunk-6JFJDBV2.js";
4
+ } from "../chunk-ZCXGHQQF.js";
5
+ import "../chunk-4BERRPJN.js";
6
+ import "../chunk-7RMHMFS2.js";
7
+ import "../chunk-OUHQXQOJ.js";
8
+ import "../chunk-LFD2KVAB.js";
9
+ import "../chunk-ZS7G6WIG.js";
10
+ import "../chunk-JAPRGAB7.js";
11
11
  import "../chunk-55OQPFLF.js";
12
- import "../chunk-KBYU4ZQ3.js";
12
+ import "../chunk-TNDSUTUN.js";
13
13
  import "../chunk-EDN2QDCB.js";
14
14
  import "../chunk-FT62PIPN.js";
15
15
  import "../chunk-5ZDDVLS6.js";
@@ -124,8 +124,8 @@ import "../chunk-VI6WTKMV.js";
124
124
  import "../chunk-QW2INB5A.js";
125
125
  import "../chunk-JLD7MGLC.js";
126
126
  import "../chunk-DW6LFUI2.js";
127
- import "../chunk-7NPHOJXD.js";
128
- import "../chunk-A4JZESAS.js";
127
+ import "../chunk-CZFFMEAS.js";
128
+ import "../chunk-VNQE6KEX.js";
129
129
  import "../chunk-ENBUKLVT.js";
130
130
  import "../chunk-JSGRNWSB.js";
131
131
  import "../chunk-FO7I4E45.js";
@@ -22,6 +22,18 @@ var __spreadValues = (a, b) => {
22
22
  return a;
23
23
  };
24
24
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
25
37
  var __export = (target, all) => {
26
38
  for (var name in all)
27
39
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -71,8 +83,8 @@ __export(Toasts_exports, {
71
83
  });
72
84
  module.exports = __toCommonJS(Toasts_exports);
73
85
  var import_styled14 = __toESM(require("@emotion/styled"), 1);
74
- var import_lodash_es4 = require("lodash-es");
75
- var import_react23 = require("react");
86
+ var import_lodash_es5 = require("lodash-es");
87
+ var import_react24 = require("react");
76
88
  var import_react_dom = __toESM(require("react-dom"), 1);
77
89
 
78
90
  // src/styles/colors.tsx
@@ -3598,6 +3610,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
3598
3610
  typography: getTypography("Lightspark" /* Lightspark */),
3599
3611
  hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
3600
3612
  buttons: defaultButtonsTheme,
3613
+ badge: {
3614
+ bg: "c05Neutral"
3615
+ },
3616
+ inputBackground: colors.white,
3601
3617
  loading: "LoadingSpinner"
3602
3618
  });
3603
3619
  var lightBaseTheme = baseTheme;
@@ -3634,7 +3650,11 @@ var darkBaseTheme = {
3634
3650
  vlcNeutral: colors.gray20,
3635
3651
  warning: colors.warning,
3636
3652
  buttons: defaultButtonsTheme,
3637
- loading: "LoadingSpinner"
3653
+ loading: "LoadingSpinner",
3654
+ inputBackground: colors.black,
3655
+ badge: {
3656
+ bg: "c15Neutral"
3657
+ }
3638
3658
  };
3639
3659
  var lightTheme = extend(lightBaseTheme, {
3640
3660
  header: extendBase(lightBaseTheme, {
@@ -3673,6 +3693,7 @@ var umameDocsLightTheme = extend(lightTheme, {
3673
3693
  secondary: colors.grayBlue43,
3674
3694
  text: colors.grayBlue9,
3675
3695
  link: colors.blue39,
3696
+ inputBackground: colors.white,
3676
3697
  typography: getTypography("UmameDocs" /* UmameDocs */, {
3677
3698
  main: "Manrope",
3678
3699
  code: "Monaco"
@@ -3749,7 +3770,10 @@ var bridgeBaseSettings = {
3749
3770
  defaultBorderWidth: 1
3750
3771
  }
3751
3772
  }
3752
- })
3773
+ }),
3774
+ badge: {
3775
+ bg: "grayBlue94"
3776
+ }
3753
3777
  };
3754
3778
  var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3755
3779
  type: "bridgeLight" /* BridgeLight */,
@@ -3757,7 +3781,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
3757
3781
  bg: colors.gray98,
3758
3782
  smBg: colors.gray98,
3759
3783
  text: colors.grayBlue9,
3760
- secondary: colors.grayBlue43
3784
+ secondary: colors.grayBlue43,
3785
+ inputBackground: colors.white
3761
3786
  }));
3762
3787
  var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3763
3788
  type: "bridgeDark" /* BridgeDark */
@@ -3974,7 +3999,11 @@ var z = {
3974
3999
  };
3975
4000
 
3976
4001
  // src/utils/toReactNodes.tsx
3977
- var import_react22 = require("react");
4002
+ var import_lodash_es4 = require("lodash-es");
4003
+ var import_react23 = require("react");
4004
+
4005
+ // src/components/typography/renderTypography.tsx
4006
+ var import_react22 = __toESM(require("react"), 1);
3978
4007
 
3979
4008
  // src/components/typography/Body.tsx
3980
4009
  var import_styled3 = __toESM(require("@emotion/styled"), 1);
@@ -7885,7 +7914,7 @@ var IconContainer = import_styled2.default.span`
7885
7914
  ${({ theme, fontColor }) => {
7886
7915
  const color = getFontColor(theme, fontColor, "inherit");
7887
7916
  return `
7888
- & svg {
7917
+ svg, path {
7889
7918
  color: ${getFontColor(theme, fontColor, "inherit")};
7890
7919
 
7891
7920
  /*
@@ -8040,6 +8069,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
8040
8069
  Link,
8041
8070
  {
8042
8071
  to: node.to,
8072
+ newTab: !!node.newTab,
8043
8073
  children: node.text
8044
8074
  },
8045
8075
  `link-${i}-${node.text.substr(0, 10)}`
@@ -8323,7 +8353,6 @@ var StyledTitle = import_styled12.default.span`
8323
8353
  `;
8324
8354
 
8325
8355
  // src/components/typography/renderTypography.tsx
8326
- var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
8327
8356
  var typographyMap = {
8328
8357
  Display,
8329
8358
  Headline,
@@ -8335,34 +8364,34 @@ var typographyMap = {
8335
8364
  "Label Strong": LabelStrong,
8336
8365
  Overline,
8337
8366
  Code: Code2,
8338
- "Code Strong": () => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { children: "Unimplemented" })
8367
+ "Code Strong": Code2
8339
8368
  };
8340
8369
  var renderTypography = (type, props) => {
8341
8370
  const TypographyComponent = typographyMap[type];
8342
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(TypographyComponent, __spreadValues({}, props));
8371
+ const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
8372
+ return import_react22.default.createElement(TypographyComponent, rest, children);
8343
8373
  };
8344
8374
 
8345
8375
  // src/utils/toReactNodes.tsx
8346
- var import_jsx_runtime129 = require("@emotion/react/jsx-runtime");
8376
+ var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
8347
8377
  function toReactNodes(toReactNodesArg) {
8348
8378
  const toReactNodesArray = Array.isArray(toReactNodesArg) ? toReactNodesArg : [toReactNodesArg];
8349
8379
  const reactNodes = toReactNodesArray.map((node, i) => {
8350
8380
  let content;
8351
8381
  if (!node) {
8352
8382
  return null;
8353
- } else if (typeof node !== "string" && "typography" in node && node.typography.type && node.typography.props) {
8354
- content = /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_react22.Fragment, { children: renderTypography(
8383
+ } else if (typeof node !== "string" && "typography" in node && node.typography.type) {
8384
+ const props = node.typography.props || {};
8385
+ content = /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_react23.Fragment, { children: renderTypography(
8355
8386
  node.typography.type,
8356
- Object.assign(node.typography.props, {
8357
- content: node
8358
- })
8387
+ Object.assign(props, { content: node })
8359
8388
  ) }, `typography-${i}-${node.text.substr(0, 10)}`);
8360
8389
  } else {
8361
8390
  content = toNonTypographicReactNodes(node);
8362
8391
  }
8363
8392
  return content || null;
8364
8393
  });
8365
- return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_react22.Fragment, { children: reactNodes });
8394
+ return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_react23.Fragment, { children: reactNodes });
8366
8395
  }
8367
8396
 
8368
8397
  // src/components/UnstyledButton.tsx
@@ -8382,7 +8411,7 @@ var UnstyledButton = import_styled13.default.button`
8382
8411
  `;
8383
8412
 
8384
8413
  // src/components/Toasts.tsx
8385
- var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
8414
+ var import_jsx_runtime129 = require("@emotion/react/jsx-runtime");
8386
8415
  var firstDur = 0.3;
8387
8416
  function Toasts({
8388
8417
  queue,
@@ -8393,14 +8422,14 @@ function Toasts({
8393
8422
  removeExpiredAndNotVisible = true,
8394
8423
  dedupeConsecutive = true
8395
8424
  }) {
8396
- const queuedToastIds = (0, import_react23.useRef)(/* @__PURE__ */ new Set());
8397
- const prevToastQueue = (0, import_react23.useRef)([]);
8398
- const [toastQueue, setToastQueue] = (0, import_react23.useState)([]);
8399
- const autoHideTimeoutRef = (0, import_react23.useRef)(null);
8400
- const hidingTimeoutRefs = (0, import_react23.useRef)({});
8401
- const nodeRef = (0, import_react23.useRef)(null);
8402
- const [nodeReady, setNodeReady] = (0, import_react23.useState)(false);
8403
- const hideToast = (0, import_react23.useCallback)(
8425
+ const queuedToastIds = (0, import_react24.useRef)(/* @__PURE__ */ new Set());
8426
+ const prevToastQueue = (0, import_react24.useRef)([]);
8427
+ const [toastQueue, setToastQueue] = (0, import_react24.useState)([]);
8428
+ const autoHideTimeoutRef = (0, import_react24.useRef)(null);
8429
+ const hidingTimeoutRefs = (0, import_react24.useRef)({});
8430
+ const nodeRef = (0, import_react24.useRef)(null);
8431
+ const [nodeReady, setNodeReady] = (0, import_react24.useState)(false);
8432
+ const hideToast = (0, import_react24.useCallback)(
8404
8433
  (id) => {
8405
8434
  setToastQueue((currentToastQueue) => {
8406
8435
  const hideToastIndex = currentToastQueue.findIndex((t) => t.id === id);
@@ -8434,7 +8463,7 @@ function Toasts({
8434
8463
  },
8435
8464
  [onHide, setToastQueue]
8436
8465
  );
8437
- (0, import_react23.useEffect)(() => {
8466
+ (0, import_react24.useEffect)(() => {
8438
8467
  const newToastQueueArgs = queue.reduce((acc, toast) => {
8439
8468
  if (toast.expires < Date.now()) {
8440
8469
  onHide(toast.id);
@@ -8449,7 +8478,7 @@ function Toasts({
8449
8478
  const newToasts = newToastQueueArgs.reduce((acc, toast) => {
8450
8479
  if (dedupeConsecutive && acc.length) {
8451
8480
  const lastToast = acc[acc.length - 1];
8452
- if ((0, import_lodash_es4.isEqual)(toast.text, lastToast.text)) {
8481
+ if ((0, import_lodash_es5.isEqual)(toast.text, lastToast.text)) {
8453
8482
  return acc;
8454
8483
  }
8455
8484
  }
@@ -8464,14 +8493,14 @@ function Toasts({
8464
8493
  }, []);
8465
8494
  setToastQueue((currentToastQueue) => {
8466
8495
  const currentToast2 = currentToastQueue[currentToastQueue.length - 1];
8467
- if (dedupeConsecutive && currentToast2 && (0, import_lodash_es4.isEqual)(newToasts[0].text, currentToast2.text)) {
8496
+ if (dedupeConsecutive && currentToast2 && (0, import_lodash_es5.isEqual)(newToasts[0].text, currentToast2.text)) {
8468
8497
  return currentToastQueue;
8469
8498
  }
8470
8499
  return [...currentToastQueue, ...newToasts];
8471
8500
  });
8472
8501
  }
8473
8502
  }, [queue, hideToast, onHide, dedupeConsecutive]);
8474
- (0, import_react23.useEffect)(() => {
8503
+ (0, import_react24.useEffect)(() => {
8475
8504
  if (prevToastQueue.current.length !== toastQueue.length) {
8476
8505
  const currentToast2 = toastQueue[toastQueue.length - 1];
8477
8506
  if (currentToast2 && !currentToast2.isHiding) {
@@ -8488,7 +8517,7 @@ function Toasts({
8488
8517
  prevToastQueue.current = toastQueue;
8489
8518
  }
8490
8519
  }, [toastQueue, hideToast, onHide]);
8491
- (0, import_react23.useEffect)(() => {
8520
+ (0, import_react24.useEffect)(() => {
8492
8521
  if (!nodeRef.current) {
8493
8522
  nodeRef.current = document.createElement("div");
8494
8523
  document.body.appendChild(nodeRef.current);
@@ -8502,7 +8531,7 @@ function Toasts({
8502
8531
  };
8503
8532
  }, []);
8504
8533
  const currentToastIndex = toastQueue.length - 1;
8505
- (0, import_react23.useEffect)(() => {
8534
+ (0, import_react24.useEffect)(() => {
8506
8535
  if (removeExpiredAndNotVisible) {
8507
8536
  setToastQueue((currentToastQueue) => {
8508
8537
  const newToastQueue = currentToastQueue.filter((toast, i) => {
@@ -8521,9 +8550,9 @@ function Toasts({
8521
8550
  const fromCurrent = i === currentToastIndex ? 0 : currentToastIndex - i;
8522
8551
  const movingToCurrent = currentToast.isHiding && i === currentToastIndex - 1;
8523
8552
  const hidingFromCurrent = currentToast.isHiding ? fromCurrent - 1 : fromCurrent;
8524
- const textNode = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { children: toast.text ? toReactNodes(toast.text) : null });
8525
- return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_react23.Fragment, { children: import_react_dom.default.createPortal(
8526
- /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(
8553
+ const textNode = /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("span", { children: toast.text ? toReactNodes(toast.text) : null });
8554
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_react24.Fragment, { children: import_react_dom.default.createPortal(
8555
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
8527
8556
  StyledToast,
8528
8557
  {
8529
8558
  isActive: toast.isActive,
@@ -8543,7 +8572,7 @@ function Toasts({
8543
8572
  movingToCurrent,
8544
8573
  children: [
8545
8574
  textNode,
8546
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
8575
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
8547
8576
  UnstyledButton,
8548
8577
  {
8549
8578
  css: extend2(flexCenter, {
@@ -8555,7 +8584,7 @@ function Toasts({
8555
8584
  outlineColor: `${colors.white} !important`
8556
8585
  }),
8557
8586
  onClick: () => hideToast(toast.id),
8558
- children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Icon, { name: "Close", width: 9 })
8587
+ children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Icon, { name: "Close", width: 9 })
8559
8588
  }
8560
8589
  )
8561
8590
  ]
@@ -6,7 +6,7 @@ import './typography/renderTypography.cjs';
6
6
  import './typography/Code.cjs';
7
7
  import '@emotion/styled';
8
8
  import 'react';
9
- import '../buttons-b7f56076.js';
9
+ import '../themes-37e92940.js';
10
10
  import '@emotion/css';
11
11
  import '../styles/colors.cjs';
12
12
  import '../utils/toNonTypographicReactNodes.cjs';
@@ -6,7 +6,7 @@ import './typography/renderTypography.js';
6
6
  import './typography/Code.js';
7
7
  import '@emotion/styled';
8
8
  import 'react';
9
- import '../buttons-e4eb84a2.js';
9
+ import '../themes-832e46b2.js';
10
10
  import '@emotion/css';
11
11
  import '../styles/colors.js';
12
12
  import '../utils/toNonTypographicReactNodes.js';
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Toasts
3
- } from "../chunk-2H7TBKII.js";
4
- import "../chunk-UVGBD7XM.js";
5
- import "../chunk-DCFB5MJ7.js";
6
- import "../chunk-SKXCT2FQ.js";
7
- import "../chunk-56QJRFP2.js";
8
- import "../chunk-CZCPVHVB.js";
9
- import "../chunk-UBYBILLK.js";
10
- import "../chunk-GNVEN6UE.js";
11
- import "../chunk-HRZNVE2K.js";
12
- import "../chunk-CMQELZES.js";
13
- import "../chunk-TM3C4LEG.js";
14
- import "../chunk-HP4VPMN7.js";
15
- import "../chunk-PNSZAJL7.js";
3
+ } from "../chunk-PDQVYUEW.js";
4
+ import "../chunk-ZO35RX7V.js";
5
+ import "../chunk-LGXMGWLV.js";
6
+ import "../chunk-V523QTZQ.js";
7
+ import "../chunk-YRZ3VNBI.js";
8
+ import "../chunk-HPZVUEDJ.js";
9
+ import "../chunk-7COKMITX.js";
10
+ import "../chunk-DIKOS5R6.js";
11
+ import "../chunk-AZOVE32P.js";
12
+ import "../chunk-HVDX4OZJ.js";
13
+ import "../chunk-OMY3WTAU.js";
14
+ import "../chunk-OZQ5WPLN.js";
16
15
  import "../chunk-YMNSXZ5D.js";
17
- import "../chunk-6H7PZJ2A.js";
16
+ import "../chunk-7BSME2ZU.js";
17
+ import "../chunk-4X67A2CS.js";
18
18
  import "../chunk-OPV246QW.js";
19
19
  import "../chunk-AAFUVYVP.js";
20
- import "../chunk-VUXU77SU.js";
21
- import "../chunk-6JFJDBV2.js";
20
+ import "../chunk-OUHQXQOJ.js";
21
+ import "../chunk-JAPRGAB7.js";
22
22
  import "../chunk-55OQPFLF.js";
23
- import "../chunk-KFX7US6Y.js";
24
- import "../chunk-KBYU4ZQ3.js";
23
+ import "../chunk-GQVNE3NU.js";
24
+ import "../chunk-TNDSUTUN.js";
25
25
  import "../chunk-EDN2QDCB.js";
26
26
  import "../chunk-FT62PIPN.js";
27
27
  import "../chunk-5ZDDVLS6.js";
@@ -136,8 +136,8 @@ import "../chunk-VI6WTKMV.js";
136
136
  import "../chunk-QW2INB5A.js";
137
137
  import "../chunk-JLD7MGLC.js";
138
138
  import "../chunk-DW6LFUI2.js";
139
- import "../chunk-7NPHOJXD.js";
140
- import "../chunk-A4JZESAS.js";
139
+ import "../chunk-CZFFMEAS.js";
140
+ import "../chunk-VNQE6KEX.js";
141
141
  import "../chunk-ENBUKLVT.js";
142
142
  import "../chunk-JSGRNWSB.js";
143
143
  import "../chunk-FO7I4E45.js";